@dropins/storefront-account 4.1.0 → 4.2.0-alpha-20260807093634

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/api/createCompanyAddress/createCompanyAddress.d.ts +19 -0
  3. package/api/createCompanyAddress/graphql/createCompanyAddress.graphql.d.ts +17 -0
  4. package/api/createCompanyAddress/index.d.ts +17 -0
  5. package/api/deleteCompanyAddress/deleteCompanyAddress.d.ts +18 -0
  6. package/api/deleteCompanyAddress/graphql/deleteCompanyAddress.graphql.d.ts +17 -0
  7. package/api/deleteCompanyAddress/index.d.ts +17 -0
  8. package/api/fragments.d.ts +1 -0
  9. package/api/getCompanyAddressBook/getCompanyAddressBook.d.ts +18 -0
  10. package/api/getCompanyAddressBook/graphql/getCompanyAddressBook.graphql.d.ts +17 -0
  11. package/api/getCompanyAddressBook/index.d.ts +17 -0
  12. package/api/getCustomerCompanyContext/getCustomerCompanyContext.d.ts +28 -0
  13. package/api/getCustomerCompanyContext/graphql/getCustomerCompanyContext.graphql.d.ts +17 -0
  14. package/api/getCustomerCompanyContext/index.d.ts +17 -0
  15. package/api/getCustomerRolePermissions/getCustomerRolePermissions.d.ts +18 -0
  16. package/api/getCustomerRolePermissions/graphql/getCustomerRolePermissions.graphql.d.ts +17 -0
  17. package/api/getCustomerRolePermissions/index.d.ts +17 -0
  18. package/api/graphql/CompanyAddressFragment.graphql.d.ts +17 -0
  19. package/api/index.d.ts +7 -0
  20. package/api/setDefaultCompanyAddress/graphql/setDefaultCompanyAddress.graphql.d.ts +17 -0
  21. package/api/setDefaultCompanyAddress/index.d.ts +17 -0
  22. package/api/setDefaultCompanyAddress/setDefaultCompanyAddress.d.ts +18 -0
  23. package/api/updateCompanyAddress/graphql/updateCompanyAddress.graphql.d.ts +17 -0
  24. package/api/updateCompanyAddress/index.d.ts +17 -0
  25. package/api/updateCompanyAddress/updateCompanyAddress.d.ts +19 -0
  26. package/api.js +112 -22
  27. package/api.js.map +1 -1
  28. package/configs/addressField.config.d.ts +72 -0
  29. package/containers/AddressForm.js +1 -1
  30. package/containers/AddressForm.js.map +1 -1
  31. package/containers/Addresses.js +1 -1
  32. package/containers/Addresses.js.map +1 -1
  33. package/data/models/company-address-book.d.ts +31 -0
  34. package/data/models/company-address.d.ts +19 -0
  35. package/data/models/customer-address.d.ts +10 -0
  36. package/data/models/index.d.ts +2 -0
  37. package/data/models/store-config.d.ts +1 -0
  38. package/data/transforms/index.d.ts +2 -0
  39. package/data/transforms/transform-company-address-book.d.ts +19 -0
  40. package/data/transforms/transform-company-address.d.ts +19 -0
  41. package/fragments.js +39 -2
  42. package/fragments.js.map +1 -1
  43. package/hooks/containers/useAddressForm.d.ts +1 -1
  44. package/hooks/containers/useAddresses.d.ts +5 -1
  45. package/hooks/containers/useGetStoreConfigs.d.ts +3 -0
  46. package/hooks/useCompanyAddressPermissions.d.ts +32 -0
  47. package/hooks/useCustomerType.d.ts +23 -0
  48. package/lib/addressFlowRules.d.ts +65 -0
  49. package/lib/addressFormRules.d.ts +77 -0
  50. package/lib/addressSelectionPayloadRules.d.ts +28 -0
  51. package/lib/addressesContext.d.ts +17 -0
  52. package/lib/buildCompanyAddressInput.d.ts +42 -0
  53. package/lib/companyAddressPermissionsResolver.d.ts +51 -0
  54. package/lib/filterB2BCheckoutAddressesByType.d.ts +26 -0
  55. package/lib/prepareNormalizedData.d.ts +2 -1
  56. package/package.json +1 -1
  57. package/render.js +2 -2
  58. package/render.js.map +1 -1
  59. package/types/addressForm.types.d.ts +6 -0
  60. package/types/addresses.types.d.ts +9 -0
  61. package/types/api/companyAddress.types.d.ts +55 -0
  62. package/types/api/createCompanyAddress.types.d.ts +27 -0
  63. package/types/api/createCustomerAddress.types.d.ts +34 -44
  64. package/types/api/deleteCompanyAddress.types.d.ts +25 -0
  65. package/types/api/getCompanyAddressBook.types.d.ts +48 -0
  66. package/types/api/setDefaultCompanyAddress.types.d.ts +27 -0
  67. package/types/api/storeConfig.types.d.ts +1 -0
  68. package/types/api/updateCompanyAddress.types.d.ts +27 -0
  69. package/types/form.types.d.ts +1 -0
  70. package/types/index.d.ts +6 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @dropins/storefront-account
2
2
 
3
+ ## 4.2.0-alpha-20260807093634
4
+
5
+ ### Minor Changes
6
+
7
+ - ff8b34c: The Addresses and AddressForm containers now support company address books. When B2B is enabled, the customer belongs to a company, and the company's address book is enabled, both containers switch from the personal customer address flow to company address operations. B2C behavior is unchanged, and any failure to resolve company context or company endpoints falls back to the personal address flow.
8
+
9
+ - Full company address CRUD from the account address book: list, create, edit, delete, and set default.
10
+ - Role-based permission gating. The customer's company role ACL is resolved into six capabilities (access address book, view, create, edit, delete, set default) and enforced throughout the UI: no view access hides the list, missing create/edit rights replace the form with a no-permission notice, and unavailable card actions and modal confirmations are hidden or disabled.
11
+ - B2B address semantics. A company address is either shipping or billing and carries a single "default" flag, rather than B2C's separate default shipping and billing flags. The form exposes mutually exclusive B2B checkboxes, freezes the address type when editing, and blocks setting one address as default for both types.
12
+ - New contextMode prop (addressBook or checkout) separates the two usages. In checkout, permissions are not enforced, addresses are filtered to the requested type, and selecting "new address" is locked when the company disallows custom shipping addresses.
13
+ - Address nicknames are now supported in the form, data transforms, and address cards — for B2C addresses as well.
14
+ - New API methods: getCompanyAddressBook, createCompanyAddress, updateCompanyAddress, deleteCompanyAddress, setDefaultCompanyAddress, getCustomerCompanyContext, and getCustomerRolePermissions.
15
+ - New i18n keys under Account.AddressForm for the B2B checkbox labels and the permission/default-address notifications.
16
+
17
+ No breaking changes. All new container props are optional, and containers behave exactly as before when B2B is not enabled.
18
+
19
+ ### Patch Changes
20
+
21
+ - 73ee059: Fix broken border-radius selector for "Use a different address" button
22
+
3
23
  ## 4.1.0
4
24
 
5
25
  ### Minor Changes
@@ -0,0 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ import { CustomerAddressesModel } from '../../data/models';
18
+ import { CreateCompanyAddressResult } from '../../types';
19
+ export declare const createCompanyAddress: (address: CustomerAddressesModel) => Promise<CreateCompanyAddressResult>;
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const CREATE_COMPANY_ADDRESS = "\n mutation CREATE_COMPANY_ADDRESS($input: CompanyAddressInput!) {\n createCompanyAddress(input: $input) {\n ...COMPANY_ADDRESS_FRAGMENT\n }\n }\n \n fragment COMPANY_ADDRESS_FRAGMENT on CompanyAddress {\n id\n company_id\n address_type\n is_default\n company\n city\n country_code\n street\n telephone\n postcode\n firstname\n lastname\n middlename\n nickname\n prefix\n suffix\n fax\n vat_id\n region_id\n region {\n region\n region_code\n region_id\n }\n custom_attributes {\n ... on AttributeValue {\n code\n value\n }\n }\n extension_attributes {\n attribute_code\n value\n }\n }\n\n";
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './createCompanyAddress';
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ import { DeleteCompanyAddressResult } from '../../types';
18
+ export declare const deleteCompanyAddress: (id: string) => Promise<DeleteCompanyAddressResult>;
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const DELETE_COMPANY_ADDRESS = "\n mutation DELETE_COMPANY_ADDRESS($id: ID!) {\n deleteCompanyAddress(id: $id)\n }\n";
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './deleteCompanyAddress';
@@ -16,5 +16,6 @@
16
16
  *******************************************************************/
17
17
  export { BASIC_CUSTOMER_INFO_FRAGMENT } from './graphql/CustomerFragment.graphql';
18
18
  export { ADDRESS_FRAGMENT } from './graphql/CustomerAddressFragment.graphql';
19
+ export { COMPANY_ADDRESS_FRAGMENT } from './graphql/CompanyAddressFragment.graphql';
19
20
  export { ORDER_SUMMARY_FRAGMENT } from './graphql/OrderSummaryFragment.graphql';
20
21
  export { CUSTOMER_ORDER_FRAGMENT } from './graphql/CustomerOrderFragment.graphql';
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ import { CompanyAddressBookModel } from '../../data/models/company-address-book';
18
+ export declare const getCompanyAddressBook: () => Promise<CompanyAddressBookModel>;
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_COMPANY_ADDRESS_BOOK = "\n query GET_COMPANY_ADDRESS_BOOK {\n company {\n config {\n address_book_enabled\n address_book_custom_shipping_address_enabled\n __typename\n }\n default_billing_address {\n ...COMPANY_ADDRESS_FRAGMENT\n }\n default_shipping_address {\n ...COMPANY_ADDRESS_FRAGMENT\n }\n addresses {\n items {\n ...COMPANY_ADDRESS_FRAGMENT\n }\n page_info {\n current_page\n page_size\n total_pages\n }\n total_count\n }\n }\n }\n \n fragment COMPANY_ADDRESS_FRAGMENT on CompanyAddress {\n id\n company_id\n address_type\n is_default\n company\n city\n country_code\n street\n telephone\n postcode\n firstname\n lastname\n middlename\n nickname\n prefix\n suffix\n fax\n vat_id\n region_id\n region {\n region\n region_code\n region_id\n }\n custom_attributes {\n ... on AttributeValue {\n code\n value\n }\n }\n extension_attributes {\n attribute_code\n value\n }\n }\n\n";
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './getCompanyAddressBook';
@@ -0,0 +1,28 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export interface GetCustomerCompanyContextResponse {
18
+ data?: {
19
+ company?: {
20
+ id?: string;
21
+ name?: string;
22
+ } | null;
23
+ };
24
+ errors?: Array<{
25
+ message: string;
26
+ }>;
27
+ }
28
+ export declare const getCustomerCompanyContext: () => Promise<boolean>;
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_CUSTOMER_COMPANY_CONTEXT = "\n query GET_CUSTOMER_COMPANY_CONTEXT {\n company {\n id\n name\n }\n }\n";
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './getCustomerCompanyContext';
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ import { ResolvedCompanyAddressPermissions } from '../../lib/companyAddressPermissionsResolver';
18
+ export declare const getCustomerRolePermissions: () => Promise<ResolvedCompanyAddressPermissions>;
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_CUSTOMER_ROLE_PERMISSIONS = "\n query GET_CUSTOMER_ROLE_PERMISSIONS {\n customer {\n role {\n id\n name\n permissions {\n id\n text\n children {\n id\n text\n children {\n id\n text\n children {\n id\n text\n children {\n id\n text\n }\n }\n }\n }\n }\n }\n status\n }\n }\n";
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './getCustomerRolePermissions';
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const COMPANY_ADDRESS_FRAGMENT = "\n fragment COMPANY_ADDRESS_FRAGMENT on CompanyAddress {\n id\n company_id\n address_type\n is_default\n company\n city\n country_code\n street\n telephone\n postcode\n firstname\n lastname\n middlename\n nickname\n prefix\n suffix\n fax\n vat_id\n region_id\n region {\n region\n region_code\n region_id\n }\n custom_attributes {\n ... on AttributeValue {\n code\n value\n }\n }\n extension_attributes {\n attribute_code\n value\n }\n }\n";
package/api/index.d.ts CHANGED
@@ -18,7 +18,14 @@ export * from './initialize';
18
18
  export * from './fetch-graphql';
19
19
  export * from './getAttributesForm';
20
20
  export * from './createCustomerAddress';
21
+ export * from './createCompanyAddress';
22
+ export * from './updateCompanyAddress';
23
+ export * from './deleteCompanyAddress';
24
+ export * from './setDefaultCompanyAddress';
25
+ export * from './getCompanyAddressBook';
21
26
  export * from './getCustomerAddress';
27
+ export * from './getCustomerCompanyContext';
28
+ export * from './getCustomerRolePermissions';
22
29
  export * from './getCountries';
23
30
  export * from './getRegions';
24
31
  export * from './updateCustomerAddress';
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const SET_DEFAULT_COMPANY_ADDRESS = "\n mutation SET_DEFAULT_COMPANY_ADDRESS($id: ID!) {\n setDefaultCompanyAddress(id: $id) {\n ...COMPANY_ADDRESS_FRAGMENT\n }\n }\n \n fragment COMPANY_ADDRESS_FRAGMENT on CompanyAddress {\n id\n company_id\n address_type\n is_default\n company\n city\n country_code\n street\n telephone\n postcode\n firstname\n lastname\n middlename\n nickname\n prefix\n suffix\n fax\n vat_id\n region_id\n region {\n region\n region_code\n region_id\n }\n custom_attributes {\n ... on AttributeValue {\n code\n value\n }\n }\n extension_attributes {\n attribute_code\n value\n }\n }\n\n";
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './setDefaultCompanyAddress';
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ import { SetDefaultCompanyAddressResult } from '../../types';
18
+ export declare const setDefaultCompanyAddress: (id: string) => Promise<SetDefaultCompanyAddressResult>;
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const UPDATE_COMPANY_ADDRESS = "\n mutation UPDATE_COMPANY_ADDRESS($id: ID!, $input: CompanyAddressUpdateInput!) {\n updateCompanyAddress(id: $id, input: $input) {\n ...COMPANY_ADDRESS_FRAGMENT\n }\n }\n \n fragment COMPANY_ADDRESS_FRAGMENT on CompanyAddress {\n id\n company_id\n address_type\n is_default\n company\n city\n country_code\n street\n telephone\n postcode\n firstname\n lastname\n middlename\n nickname\n prefix\n suffix\n fax\n vat_id\n region_id\n region {\n region\n region_code\n region_id\n }\n custom_attributes {\n ... on AttributeValue {\n code\n value\n }\n }\n extension_attributes {\n attribute_code\n value\n }\n }\n\n";
@@ -0,0 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './updateCompanyAddress';
@@ -0,0 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2026 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ import { CustomerAddressesModel } from '../../data/models';
18
+ import { UpdateCompanyAddressResult } from '../../types';
19
+ export declare const updateCompanyAddress: (id: string, input: CustomerAddressesModel) => Promise<UpdateCompanyAddressResult>;