diff --git a/src/types/settings.d.ts b/src/types/settings.d.ts index afcbf55..84a210b 100644 --- a/src/types/settings.d.ts +++ b/src/types/settings.d.ts @@ -39,6 +39,12 @@ export interface Settings { address_mandatory_fields: string[] include_organization_resources: boolean + + /** + * Shopper Address Limit + * Description: This defines the maximum number of addresses a shopper can have. + */ + shopper_address_limit: number } export interface TtlSettings { diff --git a/test/unit/settings.ts b/test/unit/settings.ts index b863b97..d923bec 100644 --- a/test/unit/settings.ts +++ b/test/unit/settings.ts @@ -34,7 +34,8 @@ describe('ElasticPath settings', () => { 'country', 'instructions' ], - include_organization_resources: false + include_organization_resources: false, + shopper_address_limit: 10 } }) @@ -56,7 +57,8 @@ describe('ElasticPath settings', () => { 'country', 'instructions' ], - include_organization_resources: false + include_organization_resources: false, + shopper_address_limit: 10 } }) }) @@ -92,7 +94,8 @@ describe('ElasticPath settings', () => { 'country', 'instructions' ], - include_organization_resources: false + include_organization_resources: false, + shopper_address_limit: 10 } }) @@ -114,7 +117,8 @@ describe('ElasticPath settings', () => { 'country', 'instructions' ], - include_organization_resources: false + include_organization_resources: false, + shopper_address_limit: 10 } }) })