@dropins/storefront-checkout 0.1.0-alpha46 → 0.1.0-alpha48

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 (221) hide show
  1. package/__generated__/types.d.ts +22 -20
  2. package/api/errors/index.d.ts +16 -0
  3. package/api/estimateShippingMethods/graphql/estimateShippingMethods.graphql.d.ts +16 -0
  4. package/api/estimateShippingMethods/graphql/index.d.ts +16 -0
  5. package/api/estimateShippingMethods/index.d.ts +16 -0
  6. package/api/fetch-graphql/fetch-graphql.d.ts +16 -0
  7. package/api/fetch-graphql/index.d.ts +16 -0
  8. package/api/fetchAddressFormFields/fetchAddressFormFields.d.ts +16 -0
  9. package/api/fetchAddressFormFields/graphql/fetchAddressFormFields.graphql.d.ts +16 -0
  10. package/api/fetchAddressFormFields/index.d.ts +16 -0
  11. package/api/getCart/getCart.d.ts +16 -0
  12. package/api/getCart/graphql/getCart.graphql.d.ts +16 -0
  13. package/api/getCart/graphql/index.d.ts +16 -0
  14. package/api/getCart/index.d.ts +16 -0
  15. package/api/getCheckoutData/getCheckoutData.d.ts +16 -0
  16. package/api/getCheckoutData/index.d.ts +16 -0
  17. package/api/getCountries/getCountries.d.ts +16 -0
  18. package/api/getCountries/graphql/getCountries.graphql.d.ts +16 -0
  19. package/api/getCountries/index.d.ts +16 -0
  20. package/api/getCustomer/graphql/getCustomer.graphql.d.ts +16 -0
  21. package/api/getCustomer/graphql/index.d.ts +16 -0
  22. package/api/getCustomer/index.d.ts +16 -0
  23. package/api/getRegions/graphql/getRegions.graphql.d.ts +16 -0
  24. package/api/getRegions/index.d.ts +16 -0
  25. package/api/getStoreConfig/graphql/getStoreConfig.graphql.d.ts +16 -0
  26. package/api/getStoreConfig/index.d.ts +16 -0
  27. package/api/index.d.ts +16 -0
  28. package/api/initialize/index.d.ts +16 -0
  29. package/api/initialize/listeners.d.ts +16 -0
  30. package/api/initializeCheckout/index.d.ts +16 -0
  31. package/api/initializeCheckout/initializeCheckout.d.ts +16 -0
  32. package/api/isEmailAvailable/graphql/isEmailAvailable.graphql.d.ts +16 -0
  33. package/api/isEmailAvailable/index.d.ts +16 -0
  34. package/api/placeOrder/graphql/index.d.ts +16 -0
  35. package/api/placeOrder/graphql/placeOrder.graphql.d.ts +17 -1
  36. package/api/placeOrder/index.d.ts +16 -0
  37. package/api/placeOrder/placeOrder.d.ts +16 -0
  38. package/api/redirect/index.d.ts +16 -0
  39. package/api/redirect/redirect.d.ts +16 -0
  40. package/api/resetCheckout/index.d.ts +16 -0
  41. package/api/resetCheckout/resetCheckout.d.ts +16 -0
  42. package/api/resetCustomer/index.d.ts +16 -0
  43. package/api/resetCustomer/resetCustomer.d.ts +16 -0
  44. package/api/setBillingAddress/graphql/setBillingAddress.graphql.d.ts +16 -0
  45. package/api/setBillingAddress/index.d.ts +16 -0
  46. package/api/setGuestEmailOnCart/graphql/setGuestEmailOnCart.graphql.d.ts +16 -0
  47. package/api/setGuestEmailOnCart/index.d.ts +16 -0
  48. package/api/setGuestEmailOnCart/setGuestEmailOnCart.d.ts +16 -0
  49. package/api/setPaymentMethod/graphql/setPaymentMethod.graphql.d.ts +16 -0
  50. package/api/setPaymentMethod/index.d.ts +16 -0
  51. package/api/setPaymentMethod/setPaymentMethod.d.ts +16 -0
  52. package/api/setShippingAddress/graphql/setShippingAddress.graphql.d.ts +16 -0
  53. package/api/setShippingAddress/index.d.ts +16 -0
  54. package/api/setShippingAddress/setShippingAddress.d.ts +17 -1
  55. package/api/setShippingMethods/graphql/setShippingMethodsOnCart.graphql.d.ts +16 -0
  56. package/api/setShippingMethods/index.d.ts +16 -0
  57. package/api/setShippingMethods/setShippingMethods.d.ts +16 -0
  58. package/api/utils/enqueueRequest.d.ts +16 -0
  59. package/api.js +1 -1
  60. package/chunks/BillToShippingAddress.js +1 -1
  61. package/chunks/OrderError.js +1 -0
  62. package/chunks/ShippingMethods.js +1 -1
  63. package/chunks/fixtures.js +15 -0
  64. package/chunks/getCart.graphql.js +6 -20
  65. package/chunks/getCustomer.js +1 -1
  66. package/chunks/getMultilineValues.js +43 -0
  67. package/chunks/placeOrder.js +6 -2
  68. package/chunks/resetCustomer.js +1 -1
  69. package/chunks/setBillingAddress.js +3 -3
  70. package/chunks/setGuestEmailOnCart.js +17 -0
  71. package/chunks/setPaymentMethod.js +13 -0
  72. package/chunks/setShippingAddress.js +16 -0
  73. package/chunks/setShippingMethods.js +3 -85
  74. package/chunks/transform-shipping-methods.js +1 -0
  75. package/chunks/withConditionalRendering.js +1 -0
  76. package/components/AddressForm/constants.d.ts +16 -0
  77. package/components/AddressForm/index.d.ts +16 -0
  78. package/components/BillToShippingAddress/index.d.ts +16 -0
  79. package/components/EstimateShipping/index.d.ts +16 -0
  80. package/components/FieldsForm/index.d.ts +16 -0
  81. package/components/Heading/index.d.ts +16 -0
  82. package/components/LoginForm/index.d.ts +16 -0
  83. package/components/OutOfStock/index.d.ts +16 -0
  84. package/components/OverlayLoader/index.d.ts +16 -0
  85. package/components/PaymentMethods/index.d.ts +16 -0
  86. package/components/PlaceOrder/PlaceOrder.d.ts +1 -1
  87. package/components/PlaceOrder/index.d.ts +16 -0
  88. package/components/ServerError/index.d.ts +16 -0
  89. package/components/ShippingMethods/index.d.ts +16 -0
  90. package/components/index.d.ts +16 -3
  91. package/containers/BillToShippingAddress/BillToShippingAddress.d.ts +1 -1
  92. package/containers/BillToShippingAddress/constants.d.ts +16 -0
  93. package/containers/BillToShippingAddress/index.d.ts +16 -0
  94. package/containers/BillToShippingAddress.js +1 -1
  95. package/containers/BillingForm/BillingForm.d.ts +1 -1
  96. package/containers/BillingForm/constants.d.ts +16 -0
  97. package/containers/BillingForm/index.d.ts +16 -0
  98. package/containers/BillingForm.js +1 -1
  99. package/containers/ErrorBanner/index.d.ts +16 -0
  100. package/containers/ErrorBanner.js +1 -1
  101. package/containers/EstimateShipping/index.d.ts +16 -0
  102. package/containers/EstimateShipping.js +1 -1
  103. package/containers/LoginForm/LoginForm.d.ts +1 -1
  104. package/containers/LoginForm/constants.d.ts +16 -0
  105. package/containers/LoginForm/index.d.ts +16 -0
  106. package/containers/LoginForm.js +1 -1
  107. package/containers/MergedCartBanner/index.d.ts +16 -0
  108. package/containers/MergedCartBanner.js +1 -1
  109. package/containers/OutOfStock/index.d.ts +16 -0
  110. package/containers/OutOfStock.js +1 -1
  111. package/containers/PaymentMethods/PaymentMethods.d.ts +10 -11
  112. package/containers/PaymentMethods/defaultHandlers.d.ts +2 -9
  113. package/containers/PaymentMethods/index.d.ts +16 -0
  114. package/containers/PaymentMethods.js +1 -1
  115. package/containers/PlaceOrder/PlaceOrder.d.ts +10 -3
  116. package/containers/PlaceOrder/index.d.ts +16 -0
  117. package/containers/PlaceOrder.js +1 -1
  118. package/containers/ServerError/ServerError.d.ts +8 -0
  119. package/containers/ServerError/index.d.ts +19 -0
  120. package/containers/ServerError.d.ts +3 -0
  121. package/containers/ServerError.js +1 -0
  122. package/containers/ShippingForm/ShippingForm.d.ts +1 -1
  123. package/containers/ShippingForm/constants.d.ts +16 -0
  124. package/containers/ShippingForm/index.d.ts +17 -1
  125. package/containers/ShippingForm.js +1 -1
  126. package/containers/ShippingMethods/ShippingMethods.d.ts +7 -3
  127. package/containers/ShippingMethods/hooks/useShippingEstimateEventEmitter.d.ts +16 -0
  128. package/containers/ShippingMethods/index.d.ts +16 -0
  129. package/containers/ShippingMethods.js +1 -1
  130. package/containers/index.d.ts +17 -2
  131. package/data/models/acdl.d.ts +16 -0
  132. package/data/models/country.d.ts +16 -0
  133. package/data/models/custom-attribute.d.ts +16 -0
  134. package/data/models/email-availability.d.ts +16 -0
  135. package/data/models/index.d.ts +16 -0
  136. package/data/models/payment-method.d.ts +16 -0
  137. package/data/models/price.d.ts +16 -0
  138. package/data/models/region.d.ts +16 -0
  139. package/data/models/store-config.d.ts +16 -0
  140. package/data/transforms/index.d.ts +16 -0
  141. package/hocs/index.d.ts +16 -0
  142. package/hocs/withConditionalRendering.d.ts +1 -1
  143. package/hooks/index.d.ts +16 -0
  144. package/hooks/useBreakpoint/index.d.ts +16 -0
  145. package/hooks/useBreakpoint/useBreakpoint.d.ts +16 -0
  146. package/hooks/useLockScroll/index.d.ts +16 -0
  147. package/hooks/useLockScroll/useLockScroll.d.ts +16 -0
  148. package/hooks/useValidity/index.d.ts +16 -0
  149. package/hooks/useValidity/useValidity.d.ts +16 -0
  150. package/i18n/en_US.json.d.ts +0 -8
  151. package/lib/backup-data.d.ts +16 -0
  152. package/lib/fetch-error.d.ts +16 -0
  153. package/lib/index.d.ts +16 -0
  154. package/lib/network-error.d.ts +16 -0
  155. package/lib/redirect.d.ts +16 -0
  156. package/lib/state.d.ts +16 -0
  157. package/msw/browser.d.ts +16 -0
  158. package/msw/fixtures/fragments/billing-address.d.ts +16 -0
  159. package/msw/fixtures/fragments/cart.d.ts +16 -0
  160. package/msw/fixtures/fragments/index.d.ts +16 -0
  161. package/msw/fixtures/fragments/shipping-address.d.ts +16 -0
  162. package/msw/fixtures/index.d.ts +16 -0
  163. package/msw/fixtures/mutations/index.d.ts +16 -0
  164. package/msw/fixtures/queries/index.d.ts +16 -0
  165. package/msw/server.d.ts +16 -0
  166. package/package.json +1 -1
  167. package/render/index.d.ts +16 -0
  168. package/render.js +4 -3
  169. package/signals/IsBillToShippingSignal.d.ts +16 -0
  170. package/signals/ServerErrorSignal.d.ts +18 -0
  171. package/signals/index.d.ts +17 -0
  172. package/tests/constants.d.ts +16 -0
  173. package/tests/integration/utils/index.d.ts +16 -0
  174. package/tests/integration/utils/setup.d.ts +6 -4
  175. package/tests/integration/utils/user-actions.d.ts +16 -0
  176. package/tests/mocks/svg.d.ts +16 -0
  177. package/tests/utils/expectError.d.ts +16 -0
  178. package/tests/utils/index.d.ts +16 -0
  179. package/tests/utils/mockEvents.d.ts +16 -0
  180. package/utils/autocompleteFieldCodes/autocompleteFieldCodes.d.ts +16 -0
  181. package/utils/autocompleteFieldCodes/index.d.ts +16 -0
  182. package/utils/getDisplayName/index.d.ts +16 -0
  183. package/utils/getMultilineValues/getMultilineValues.d.ts +16 -0
  184. package/utils/getMultilineValues/index.d.ts +16 -0
  185. package/utils/index.d.ts +19 -0
  186. package/utils/isEmpty/index.d.ts +16 -0
  187. package/utils/isEmpty/isEmpty.d.ts +16 -0
  188. package/utils/isNullish/index.d.ts +16 -0
  189. package/utils/isNullish/isNullish.d.ts +16 -0
  190. package/utils/isUnexpectedError/index.d.ts +18 -0
  191. package/utils/isUnexpectedError/isUnexpectedError.d.ts +18 -0
  192. package/utils/parseRegionId/index.d.ts +16 -0
  193. package/utils/parseRegionId/parseRegionId.d.ts +16 -0
  194. package/utils/processFormFields/index.d.ts +16 -0
  195. package/utils/refetchEstimatedShippingMethods/index.d.ts +16 -0
  196. package/utils/scrollToElement/index.d.ts +18 -0
  197. package/utils/scrollToElement/scrollToElement.d.ts +18 -0
  198. package/utils/shippingMethods/index.d.ts +16 -0
  199. package/utils/validateForms/index.d.ts +18 -0
  200. package/utils/validateForms/validateForms.d.ts +18 -0
  201. package/chunks/EmptyCart.js +0 -1
  202. package/chunks/ErrorBanner.js +0 -1
  203. package/chunks/MergedCartBanner.js +0 -1
  204. package/chunks/OutOfStock.js +0 -1
  205. package/components/Checkout/Checkout.d.ts +0 -28
  206. package/components/Checkout/index.d.ts +0 -3
  207. package/components/EmptyCart/EmptyCart.d.ts +0 -9
  208. package/components/EmptyCart/index.d.ts +0 -3
  209. package/components/ToggleButton/ToggleButton.d.ts +0 -14
  210. package/components/ToggleButton/assets/icons/index.d.ts +0 -2
  211. package/components/ToggleButton/assets/images/index.d.ts +0 -2
  212. package/components/ToggleButton/index.d.ts +0 -3
  213. package/containers/Checkout/Checkout.d.ts +0 -35
  214. package/containers/Checkout/constants.d.ts +0 -2
  215. package/containers/Checkout/index.d.ts +0 -4
  216. package/containers/Checkout.d.ts +0 -3
  217. package/containers/Checkout.js +0 -1
  218. package/containers/EmptyCart/EmptyCart.d.ts +0 -8
  219. package/containers/EmptyCart/index.d.ts +0 -3
  220. package/containers/EmptyCart.d.ts +0 -3
  221. package/containers/EmptyCart.js +0 -1
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export type Maybe<T> = T | null;
2
18
  export type InputMaybe<T> = Maybe<T>;
3
19
  export type Exact<T extends {
@@ -13772,6 +13788,11 @@ export type PlaceOrderMutation = {
13772
13788
  __typename?: 'Mutation';
13773
13789
  placeOrder?: {
13774
13790
  __typename?: 'PlaceOrderOutput';
13791
+ errors: Array<{
13792
+ __typename?: 'PlaceOrderError';
13793
+ code: PlaceOrderErrorCodes;
13794
+ message: string;
13795
+ } | null>;
13775
13796
  orderV2?: {
13776
13797
  __typename?: 'CustomerOrder';
13777
13798
  number: string;
@@ -13860,12 +13881,7 @@ export type PlaceOrderMutation = {
13860
13881
  items?: Array<{
13861
13882
  __typename: 'BundleOrderItem';
13862
13883
  id: string;
13863
- quantity_canceled?: number | null;
13864
- quantity_invoiced?: number | null;
13865
13884
  quantity_ordered?: number | null;
13866
- quantity_refunded?: number | null;
13867
- quantity_returned?: number | null;
13868
- quantity_shipped?: number | null;
13869
13885
  discounts?: Array<{
13870
13886
  __typename?: 'Discount';
13871
13887
  amount: {
@@ -14069,12 +14085,7 @@ export type PlaceOrderMutation = {
14069
14085
  } | {
14070
14086
  __typename: 'DownloadableOrderItem';
14071
14087
  id: string;
14072
- quantity_canceled?: number | null;
14073
- quantity_invoiced?: number | null;
14074
14088
  quantity_ordered?: number | null;
14075
- quantity_refunded?: number | null;
14076
- quantity_returned?: number | null;
14077
- quantity_shipped?: number | null;
14078
14089
  discounts?: Array<{
14079
14090
  __typename?: 'Discount';
14080
14091
  amount: {
@@ -14278,12 +14289,7 @@ export type PlaceOrderMutation = {
14278
14289
  } | {
14279
14290
  __typename: 'GiftCardOrderItem';
14280
14291
  id: string;
14281
- quantity_canceled?: number | null;
14282
- quantity_invoiced?: number | null;
14283
14292
  quantity_ordered?: number | null;
14284
- quantity_refunded?: number | null;
14285
- quantity_returned?: number | null;
14286
- quantity_shipped?: number | null;
14287
14293
  gift_card?: {
14288
14294
  __typename?: 'GiftCardItem';
14289
14295
  recipient_name?: string | null;
@@ -14495,12 +14501,7 @@ export type PlaceOrderMutation = {
14495
14501
  } | {
14496
14502
  __typename: 'OrderItem';
14497
14503
  id: string;
14498
- quantity_canceled?: number | null;
14499
- quantity_invoiced?: number | null;
14500
14504
  quantity_ordered?: number | null;
14501
- quantity_refunded?: number | null;
14502
- quantity_returned?: number | null;
14503
- quantity_shipped?: number | null;
14504
14505
  discounts?: Array<{
14505
14506
  __typename?: 'Discount';
14506
14507
  amount: {
@@ -15101,6 +15102,7 @@ export type SetPaymentMethodMutation = {
15101
15102
  export type SetShippingAddressMutationVariables = Exact<{
15102
15103
  cartId: Scalars['String']['input'];
15103
15104
  address: CartAddressInput;
15105
+ pickup_location_code?: InputMaybe<Scalars['String']['input']>;
15104
15106
  }>;
15105
15107
  export type SetShippingAddressMutation = {
15106
15108
  __typename?: 'Mutation';
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './errors';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const estimateShippingMethodsMutation = "\nmutation estimateShippingMethods(\n\t$cartId: String!\n $address: EstimateAddressInput!\n) {\n\testimateShippingMethods(\n\t\tinput: {\n\t\t\tcart_id: $cartId\n\t\t\taddress: $address\n\t\t}\n\t) {\n\t\tcarrier_title\n\t\tcarrier_code\n\t\tmethod_title\n\t\tmethod_code\n\t\tavailable\n\t\tamount {\n\t\t\tcurrency\n\t\t\tvalue\n\t\t}\n\t\tprice_excl_tax {\n\t\t\tcurrency\n\t\t\tvalue\n\t\t}\n\t\tprice_incl_tax {\n\t\t\tcurrency\n\t\t\tvalue\n\t\t}\n\t\terror_message\n\t}\n}\n";
2
18
  //# sourceMappingURL=estimateShippingMethods.graphql.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './estimateShippingMethods.graphql';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './estimateShippingMethods';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const setEndpoint: (endpoint: string) => void, setFetchGraphQlHeader: (key: string, value: string | null) => void, removeFetchGraphQlHeader: (key: string) => void, setFetchGraphQlHeaders: (header: import('@adobe/fetch-graphql').Header) => void, fetchGraphQl: <T = any>(query: string, options?: import('@adobe/fetch-graphql').FetchOptions | undefined) => Promise<{
2
18
  errors?: import('@adobe/fetch-graphql').FetchQueryError | undefined;
3
19
  data: T;
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './fetch-graphql';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const fetchAddressFormFields: () => Promise<import('../../data/models/address-form-fields').AddressFormField[] | undefined>;
2
18
  //# sourceMappingURL=fetchAddressFormFields.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const fetchAddressFormFieldsQuery = "\n query fetchAddressFormFields {\n attributesForm(formCode: \"customer_register_address\") {\n items {\n frontend_input\n code\n label\n default_value\n is_required\n options {\n label\n value\n is_default\n }\n ... on CustomerAttributeMetadata {\n multiline_count\n sort_order\n validate_rules {\n name\n value\n }\n }\n }\n errors {\n message\n type\n }\n }\n }\n";
2
18
  //# sourceMappingURL=fetchAddressFormFields.graphql.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './fetchAddressFormFields';
2
18
  export * from './fixtures';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const getCart: () => Promise<import('../../data/models/cart').Cart | null | undefined>;
2
18
  //# sourceMappingURL=getCart.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const CHECKOUT_DATA_FRAGMENT = "\n fragment CheckoutData on Cart {\n is_virtual\n email\n total_quantity\n billing_address {\n city\n country {\n code\n label\n }\n firstname\n lastname\n company\n postcode\n vat_id\n region {\n region_id\n code\n label\n }\n street\n telephone\n custom_attributes {\n ... on AttributeValue {\n code\n value\n }\n }\n }\n shipping_addresses {\n firstname\n lastname\n company\n street\n city\n postcode\n vat_id\n region {\n region_id\n code\n label\n }\n country {\n code\n label\n }\n telephone\n custom_attributes {\n ... on AttributeValue {\n code\n value\n }\n }\n available_shipping_methods {\n amount {\n currency\n value\n }\n available\n carrier_code\n carrier_title\n error_message\n method_code\n method_title\n price_excl_tax {\n value\n currency\n }\n price_incl_tax {\n value\n currency\n }\n }\n selected_shipping_method {\n amount {\n value\n currency\n }\n carrier_code\n carrier_title\n method_code\n method_title\n price_excl_tax {\n value\n currency\n }\n price_incl_tax {\n value\n currency\n }\n }\n }\n available_payment_methods {\n code\n title\n }\n selected_payment_method {\n code\n title\n }\n }\n";
2
18
  export declare const getCartQuery: string;
3
19
  export declare const getCustomerCartQuery: string;
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './getCart.graphql';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './getCart';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const getCheckoutData: () => Promise<void>;
2
18
  //# sourceMappingURL=getCheckoutData.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './getCheckoutData';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const getCountries: () => Promise<import('../../data/models/country').Country[] | undefined>;
2
18
  //# sourceMappingURL=getCountries.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const getCountriesQuery = "\nquery getCountries {\n countries {\n two_letter_abbreviation\n full_name_locale\n }\n}";
2
18
  //# sourceMappingURL=getCountries.graphql.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './getCountries';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const getCustomerQuery = "\n query getCustomer {\n customer {\n firstname\n lastname\n email\n addresses {\n id\n default_shipping\n default_billing\n city\n country_code\n firstname\n lastname\n company\n postcode\n vat_id\n region {\n region\n region_id\n region_code\n }\n street\n telephone\n custom_attributesV2 {\n ... on AttributeValue {\n code\n value\n }\n }\n }\n }\n }\n";
2
18
  //# sourceMappingURL=getCustomer.graphql.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './getCustomer.graphql';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './getCustomer';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const getRegionsQuery = "\nquery getRegions($countryCode: String!) {\n country(id: $countryCode) {\n id\n available_regions {\n id\n code\n name\n }\n }\n}";
2
18
  //# sourceMappingURL=getRegions.graphql.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './getRegions';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const getStoreConfigQuery = "\n query getStoreConfig {\n storeConfig {\n countries_with_required_region\n default_country\n display_state_if_optional\n is_guest_checkout_enabled\n is_one_page_checkout_enabled\n locale\n optional_zip_countries\n shopping_cart_display_shipping\n store_code\n }\n }\n";
2
18
  //# sourceMappingURL=getStoreConfig.graphql.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './getStoreConfig';
2
18
  //# sourceMappingURL=index.d.ts.map
package/api/index.d.ts CHANGED
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './errors';
2
18
  export * from './estimateShippingMethods';
3
19
  export * from './fetch-graphql';
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export * from './initialize';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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
+ *******************************************************************/
1
17
  export declare const addCheckoutEventListeners: () => ({
2
18
  off(): void;
3
19
  } | undefined)[];