@zonos/elements 1.2.4-alpha.5 → 1.2.4-alpha.7

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 (189) hide show
  1. package/dist/cjs/{cart-3ff38a09.js → cart-90f7c8c0.js} +36 -8
  2. package/dist/cjs/{getBorderRadius-a97a5f75.js → getBorderRadius-bf4a4276.js} +1 -1
  3. package/dist/cjs/{index-20cb112f.js → index-0dcccc22.js} +27 -16
  4. package/dist/cjs/index.cjs.js +6 -6
  5. package/dist/cjs/{isDarkColor-261fcf3d.js → isDarkColor-ff6ff183.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/{localization-dcd11e9d.js → localization-9caf3397.js} +27 -7
  8. package/dist/cjs/{submitGtag-08527ddb.js → submitGtag-b141b45d.js} +2 -2
  9. package/dist/cjs/zonos-address_2.cjs.entry.js +6 -6
  10. package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-button_2.cjs.entry.js +4 -4
  13. package/dist/cjs/zonos-card_2.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-cart-items_10.cjs.entry.js +50 -8
  15. package/dist/cjs/zonos-checkout.cjs.entry.js +9 -7
  16. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  17. package/dist/cjs/zonos-controller.cjs.entry.js +8 -8
  18. package/dist/cjs/zonos-country-flag_4.cjs.entry.js +4 -4
  19. package/dist/cjs/zonos-elements.cjs.js +3 -3
  20. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
  21. package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-icon.cjs.entry.js +2 -2
  23. package/dist/cjs/zonos-notification.cjs.entry.js +2 -2
  24. package/dist/cjs/zonos-payment.cjs.entry.js +6 -6
  25. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  26. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  27. package/dist/cjs/{zonosStore-a0fa5b77.js → zonosStore-b43ef5db.js} +1 -1
  28. package/dist/collection/collection-manifest.json +1 -1
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +48 -2
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +5 -2
  31. package/dist/collection/components/common/zonos-notification/zonos-notification.js +3 -2
  32. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +9 -6
  33. package/dist/collection/components/main/zonos-controller.js +16 -14
  34. package/dist/collection/components/store/checkout/cart.js +1 -1
  35. package/dist/collection/components/store/checkout/stripe.js +3 -2
  36. package/dist/collection/components/utils/api/calculateLandedCost.js +9 -1
  37. package/dist/collection/components/utils/api/checkItemRestrictions.js +1 -1
  38. package/dist/collection/components/utils/api/getCountries.js +1 -1
  39. package/dist/collection/components/utils/api/getCountryLandedCost.js +1 -1
  40. package/dist/collection/components/utils/api/getExchangeRate.js +1 -1
  41. package/dist/collection/components/utils/api/getLocaleMessages.js +1 -1
  42. package/dist/collection/components/utils/api/getLocalization.js +1 -1
  43. package/dist/collection/components/utils/api/getShippingZones.js +1 -1
  44. package/dist/collection/components/utils/api/getZonosSetting.js +1 -1
  45. package/dist/collection/components/utils/api/triggerBuildLandedCost.js +22 -0
  46. package/dist/collection/components/utils/logging/log.js +20 -0
  47. package/dist/collection/types/generated/graphql.customer.types.js +72 -0
  48. package/dist/collection/types/generated/graphql.frontend.types.js +83 -6
  49. package/dist/components/cart.js +33 -5
  50. package/dist/components/localization.js +26 -6
  51. package/dist/components/zonos-checkout-finish2.js +47 -4
  52. package/dist/components/zonos-checkout.js +2 -0
  53. package/dist/components/zonos-controller.js +2 -2
  54. package/dist/components/zonos-hello.js +1 -1
  55. package/dist/esm/{cart-54eab7ab.js → cart-b439be00.js} +36 -8
  56. package/dist/esm/{getBorderRadius-35e8acce.js → getBorderRadius-178a0a05.js} +1 -1
  57. package/dist/esm/{index-3617e24c.js → index-36ff6342.js} +27 -16
  58. package/dist/esm/index.js +6 -6
  59. package/dist/esm/{isDarkColor-44e9e451.js → isDarkColor-416d6047.js} +1 -1
  60. package/dist/esm/loader.js +3 -3
  61. package/dist/esm/{localization-9c80f0f5.js → localization-a51ccbc2.js} +27 -7
  62. package/dist/esm/{submitGtag-7affec95.js → submitGtag-521826a2.js} +2 -2
  63. package/dist/esm/zonos-address_2.entry.js +6 -6
  64. package/dist/esm/zonos-badge.entry.js +2 -2
  65. package/dist/esm/zonos-banner.entry.js +2 -2
  66. package/dist/esm/zonos-button_2.entry.js +4 -4
  67. package/dist/esm/zonos-card_2.entry.js +2 -2
  68. package/dist/esm/zonos-cart-items_10.entry.js +50 -8
  69. package/dist/esm/zonos-checkout.entry.js +9 -7
  70. package/dist/esm/zonos-component.entry.js +1 -1
  71. package/dist/esm/zonos-controller.entry.js +8 -8
  72. package/dist/esm/zonos-country-flag_4.entry.js +4 -4
  73. package/dist/esm/zonos-elements.js +4 -4
  74. package/dist/esm/zonos-hello-dialog.entry.js +3 -3
  75. package/dist/esm/zonos-hello.entry.js +4 -4
  76. package/dist/esm/zonos-icon.entry.js +2 -2
  77. package/dist/esm/zonos-notification.entry.js +2 -2
  78. package/dist/esm/zonos-payment.entry.js +6 -6
  79. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  80. package/dist/esm/zonos-text.entry.js +2 -2
  81. package/dist/esm/{zonosStore-e0b7a5cf.js → zonosStore-61e74f58.js} +1 -1
  82. package/dist/esm-es5/cart-b439be00.js +1 -0
  83. package/dist/esm-es5/{getBorderRadius-35e8acce.js → getBorderRadius-178a0a05.js} +1 -1
  84. package/dist/esm-es5/index-36ff6342.js +2 -0
  85. package/dist/esm-es5/index.js +1 -1
  86. package/dist/esm-es5/{isDarkColor-44e9e451.js → isDarkColor-416d6047.js} +1 -1
  87. package/dist/esm-es5/loader.js +1 -1
  88. package/dist/esm-es5/{localization-9c80f0f5.js → localization-a51ccbc2.js} +1 -1
  89. package/dist/esm-es5/{submitGtag-7affec95.js → submitGtag-521826a2.js} +1 -1
  90. package/dist/esm-es5/zonos-address_2.entry.js +1 -1
  91. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  92. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  93. package/dist/esm-es5/zonos-button_2.entry.js +1 -1
  94. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  95. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
  96. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  97. package/dist/esm-es5/zonos-component.entry.js +1 -1
  98. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  99. package/dist/esm-es5/zonos-country-flag_4.entry.js +1 -1
  100. package/dist/esm-es5/zonos-elements.js +1 -1
  101. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  102. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  103. package/dist/esm-es5/zonos-icon.entry.js +1 -1
  104. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  105. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  106. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  107. package/dist/esm-es5/zonos-text.entry.js +1 -1
  108. package/dist/esm-es5/{zonosStore-e0b7a5cf.js → zonosStore-61e74f58.js} +1 -1
  109. package/dist/scripts/loadZonos.js +23 -3
  110. package/dist/scripts/zonos.js +23 -3
  111. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +5 -1
  112. package/dist/types/components/store/checkout/stripe.d.ts +1 -0
  113. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  114. package/dist/types/components/utils/api/triggerBuildLandedCost.d.ts +5 -0
  115. package/dist/types/components/utils/changeDeepProperty.d.ts +1 -1
  116. package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +1 -1
  117. package/dist/types/types/checkout/CheckoutConfig.d.ts +3 -1
  118. package/dist/types/types/generated/graphql.customer.types.d.ts +230 -7
  119. package/dist/types/types/generated/graphql.customer.types.ts +281 -7
  120. package/dist/types/types/generated/graphql.frontend.types.d.ts +222 -11
  121. package/dist/types/types/generated/graphql.frontend.types.ts +377 -11
  122. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  123. package/dist/zonos-elements/index.esm.js +1 -1
  124. package/dist/zonos-elements/{p-426a5999.system.entry.js → p-06fb9d1f.system.entry.js} +1 -1
  125. package/dist/zonos-elements/{p-77a7929b.js → p-089ba905.js} +1 -1
  126. package/dist/zonos-elements/{p-17bc1266.js → p-1685c8df.js} +1 -1
  127. package/dist/zonos-elements/p-18904b7c.system.js +2 -0
  128. package/dist/zonos-elements/{p-b8d11094.entry.js → p-1d4a970b.entry.js} +1 -1
  129. package/dist/zonos-elements/{p-80ba24a8.system.js → p-24eed2a8.system.js} +1 -1
  130. package/dist/zonos-elements/{p-bec21999.system.js → p-24fbe845.system.js} +1 -1
  131. package/dist/zonos-elements/{p-55f1da18.entry.js → p-2801d868.entry.js} +1 -1
  132. package/dist/zonos-elements/{p-1dbaf24b.system.entry.js → p-2f43da39.system.entry.js} +1 -1
  133. package/dist/zonos-elements/p-33137e7d.system.entry.js +1 -0
  134. package/dist/zonos-elements/{p-e3c617a4.js → p-3c6988d7.js} +1 -1
  135. package/dist/zonos-elements/p-3cea383b.system.entry.js +1 -0
  136. package/dist/zonos-elements/{p-86580e70.system.entry.js → p-47390db7.system.entry.js} +1 -1
  137. package/dist/zonos-elements/p-4846796a.js +1 -0
  138. package/dist/zonos-elements/p-494c77a7.entry.js +1 -0
  139. package/dist/zonos-elements/{p-00c99619.entry.js → p-49f09b91.entry.js} +1 -1
  140. package/dist/zonos-elements/{p-7c3ea8c6.system.entry.js → p-4a15c5c7.system.entry.js} +1 -1
  141. package/dist/zonos-elements/{p-c8fcaddc.system.entry.js → p-4bee0bff.system.entry.js} +1 -1
  142. package/dist/zonos-elements/{p-3eb33ba6.entry.js → p-4d93275c.entry.js} +1 -1
  143. package/dist/zonos-elements/{p-472c97b6.entry.js → p-4ed71bd7.entry.js} +1 -1
  144. package/dist/zonos-elements/{p-8bbad467.js → p-55f49f1e.js} +1 -1
  145. package/dist/zonos-elements/{p-114d8a14.system.entry.js → p-560aa686.system.entry.js} +1 -1
  146. package/dist/zonos-elements/{p-0362c416.entry.js → p-639396bb.entry.js} +1 -1
  147. package/dist/zonos-elements/{p-3c64448f.system.entry.js → p-67154df2.system.entry.js} +1 -1
  148. package/dist/zonos-elements/{p-9dbbacd9.entry.js → p-684ed483.entry.js} +1 -1
  149. package/dist/zonos-elements/{p-c743e43f.entry.js → p-89c210d6.entry.js} +1 -1
  150. package/dist/zonos-elements/{p-9232db22.system.js → p-8c48b75e.system.js} +1 -1
  151. package/dist/zonos-elements/{p-40e68452.system.entry.js → p-8c5595d9.system.entry.js} +1 -1
  152. package/dist/zonos-elements/{p-263c1639.entry.js → p-938803f4.entry.js} +1 -1
  153. package/dist/zonos-elements/p-956efa27.js +2 -0
  154. package/dist/zonos-elements/{p-8858537d.entry.js → p-a0e36ed3.entry.js} +1 -1
  155. package/dist/zonos-elements/{p-b5bc4851.entry.js → p-a376a37f.entry.js} +1 -1
  156. package/dist/zonos-elements/{p-1d4b6d59.system.js → p-a504f64f.system.js} +1 -1
  157. package/dist/zonos-elements/p-afe26069.entry.js +1 -0
  158. package/dist/zonos-elements/{p-81da740f.system.entry.js → p-b4601210.system.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-46d935ea.system.js → p-b51de536.system.js} +1 -1
  160. package/dist/zonos-elements/{p-84447396.entry.js → p-b6148206.entry.js} +1 -1
  161. package/dist/zonos-elements/{p-643eeb24.system.js → p-b85be1ab.system.js} +1 -1
  162. package/dist/zonos-elements/{p-06ec9556.system.entry.js → p-c9348bb0.system.entry.js} +1 -1
  163. package/dist/zonos-elements/p-d2217f09.system.js +1 -0
  164. package/dist/zonos-elements/{p-7bd0ab43.system.entry.js → p-d856a200.system.entry.js} +1 -1
  165. package/dist/zonos-elements/{p-754bdfdb.system.js → p-da060b1c.system.js} +1 -1
  166. package/dist/zonos-elements/{p-6f6d24da.entry.js → p-e1f6ab97.entry.js} +1 -1
  167. package/dist/zonos-elements/{p-3a7546f0.system.entry.js → p-e5ae22a9.system.entry.js} +1 -1
  168. package/dist/zonos-elements/{p-4c0f4461.system.entry.js → p-e98be2d0.system.entry.js} +1 -1
  169. package/dist/zonos-elements/p-e9b832c5.entry.js +1 -0
  170. package/dist/zonos-elements/p-eb392924.entry.js +1 -0
  171. package/dist/zonos-elements/{p-de3db699.system.entry.js → p-f141519c.system.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-39ae023c.system.entry.js → p-f367f2fe.system.entry.js} +1 -1
  173. package/dist/zonos-elements/p-ff95f098.js +1 -0
  174. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  175. package/dist/zonos-elements/zonos-elements.js +1 -1
  176. package/package.json +7 -6
  177. package/dist/esm-es5/cart-54eab7ab.js +0 -1
  178. package/dist/esm-es5/index-3617e24c.js +0 -2
  179. package/dist/zonos-elements/p-07c900e2.entry.js +0 -1
  180. package/dist/zonos-elements/p-197e4528.entry.js +0 -1
  181. package/dist/zonos-elements/p-3379ee13.js +0 -1
  182. package/dist/zonos-elements/p-35035961.entry.js +0 -1
  183. package/dist/zonos-elements/p-3ab985c6.entry.js +0 -1
  184. package/dist/zonos-elements/p-7aab4cf0.system.js +0 -1
  185. package/dist/zonos-elements/p-887e2f9a.system.entry.js +0 -1
  186. package/dist/zonos-elements/p-bec05c21.system.js +0 -2
  187. package/dist/zonos-elements/p-c1f4349c.system.entry.js +0 -1
  188. package/dist/zonos-elements/p-cf8aaa17.js +0 -2
  189. package/dist/zonos-elements/p-e1de2a1f.js +0 -1
@@ -132,6 +132,11 @@ export declare const carrierAccountUsageCategoryCode: {
132
132
  readonly Shipping: "SHIPPING";
133
133
  };
134
134
  export type CarrierAccountUsageCategoryCode = (typeof carrierAccountUsageCategoryCode)[keyof typeof carrierAccountUsageCategoryCode];
135
+ export declare const carrierApiAccountProvider: {
136
+ readonly General: "GENERAL";
137
+ readonly Organization: "ORGANIZATION";
138
+ };
139
+ export type CarrierApiAccountProvider = (typeof carrierApiAccountProvider)[keyof typeof carrierApiAccountProvider];
135
140
  export declare const carrierApiRateTypeCode: {
136
141
  readonly Negotiated: "NEGOTIATED";
137
142
  readonly Retail: "RETAIL";
@@ -227,6 +232,12 @@ export declare const classificationBulkJobStatus: {
227
232
  readonly Processing: "PROCESSING";
228
233
  };
229
234
  export type ClassificationBulkJobStatus = (typeof classificationBulkJobStatus)[keyof typeof classificationBulkJobStatus];
235
+ export declare const classificationCalculateSource: {
236
+ readonly External: "EXTERNAL";
237
+ readonly Internal: "INTERNAL";
238
+ readonly Legacy: "LEGACY";
239
+ };
240
+ export type ClassificationCalculateSource = (typeof classificationCalculateSource)[keyof typeof classificationCalculateSource];
230
241
  export declare const clearanceType: {
231
242
  readonly Commercial: "COMMERCIAL";
232
243
  readonly Postal: "POSTAL";
@@ -966,6 +977,17 @@ export declare const currencySymbolLocation: {
966
977
  readonly Before: "BEFORE";
967
978
  };
968
979
  export type CurrencySymbolLocation = (typeof currencySymbolLocation)[keyof typeof currencySymbolLocation];
980
+ export declare const customsDocumentFileType: {
981
+ readonly Pdf: "PDF";
982
+ readonly Txt: "TXT";
983
+ };
984
+ export type CustomsDocumentFileType = (typeof customsDocumentFileType)[keyof typeof customsDocumentFileType];
985
+ export declare const customsDocumentType: {
986
+ readonly CertificateOfOrigin: "CERTIFICATE_OF_ORIGIN";
987
+ readonly CommercialInvoice: "COMMERCIAL_INVOICE";
988
+ readonly Other: "OTHER";
989
+ };
990
+ export type CustomsDocumentType = (typeof customsDocumentType)[keyof typeof customsDocumentType];
969
991
  export declare const customsSpecAttributeType: {
970
992
  readonly AccountNumber: "ACCOUNT_NUMBER";
971
993
  readonly B13A: "B13A";
@@ -1369,6 +1391,12 @@ export declare const labelStatusType: {
1369
1391
  readonly Voided: "VOIDED";
1370
1392
  };
1371
1393
  export type LabelStatusType = (typeof labelStatusType)[keyof typeof labelStatusType];
1394
+ export declare const landedCostAdjustmentType: {
1395
+ readonly CartTotal: "CART_TOTAL";
1396
+ readonly Item: "ITEM";
1397
+ readonly Shipping: "SHIPPING";
1398
+ };
1399
+ export type LandedCostAdjustmentType = (typeof landedCostAdjustmentType)[keyof typeof landedCostAdjustmentType];
1372
1400
  export declare const landedCostCalculationMethod: {
1373
1401
  readonly Dap: "DAP";
1374
1402
  readonly Ddp: "DDP";
@@ -1400,6 +1428,7 @@ export declare const landedCostFeeType: {
1400
1428
  };
1401
1429
  export type LandedCostFeeType = (typeof landedCostFeeType)[keyof typeof landedCostFeeType];
1402
1430
  export declare const landedCostGuaranteeCode: {
1431
+ readonly InclusivePrice: "INCLUSIVE_PRICE";
1403
1432
  readonly NotApplicable: "NOT_APPLICABLE";
1404
1433
  readonly Zonos: "ZONOS";
1405
1434
  };
@@ -1416,6 +1445,12 @@ export declare const landedCostMethod: {
1416
1445
  readonly DdpPreferred: "DDP_PREFERRED";
1417
1446
  };
1418
1447
  export type LandedCostMethod = (typeof landedCostMethod)[keyof typeof landedCostMethod];
1448
+ export declare const landedCostQuoteType: {
1449
+ readonly Auditing: "AUDITING";
1450
+ readonly Checkout: "CHECKOUT";
1451
+ readonly InclusivePrice: "INCLUSIVE_PRICE";
1452
+ };
1453
+ export type LandedCostQuoteType = (typeof landedCostQuoteType)[keyof typeof landedCostQuoteType];
1419
1454
  export declare const landedCostTariffRate: {
1420
1455
  readonly Exact: "EXACT";
1421
1456
  readonly Maximum: "MAXIMUM";
@@ -1573,6 +1608,11 @@ export declare const notificationActiveStatus: {
1573
1608
  readonly Enabled: "ENABLED";
1574
1609
  };
1575
1610
  export type NotificationActiveStatus = (typeof notificationActiveStatus)[keyof typeof notificationActiveStatus];
1611
+ export declare const orderCompleteBillingMethod: {
1612
+ readonly BillingDgs: "BILLING_DGS";
1613
+ readonly Legacy: "LEGACY";
1614
+ };
1615
+ export type OrderCompleteBillingMethod = (typeof orderCompleteBillingMethod)[keyof typeof orderCompleteBillingMethod];
1576
1616
  export declare const orderStatus: {
1577
1617
  readonly Canceled: "CANCELED";
1578
1618
  readonly Completed: "COMPLETED";
@@ -1587,6 +1627,11 @@ export declare const orderTransactionBillingMethod: {
1587
1627
  readonly Legacy: "LEGACY";
1588
1628
  };
1589
1629
  export type OrderTransactionBillingMethod = (typeof orderTransactionBillingMethod)[keyof typeof orderTransactionBillingMethod];
1630
+ export declare const organizationBusinessUnit: {
1631
+ readonly Ecommerce: "ECOMMERCE";
1632
+ readonly SupplyChain: "SUPPLY_CHAIN";
1633
+ };
1634
+ export type OrganizationBusinessUnit = (typeof organizationBusinessUnit)[keyof typeof organizationBusinessUnit];
1590
1635
  export declare const organizationStatus: {
1591
1636
  readonly Active: "ACTIVE";
1592
1637
  readonly Churned: "CHURNED";
@@ -1617,6 +1662,11 @@ export declare const packageLocation: {
1617
1662
  readonly Side: "SIDE";
1618
1663
  };
1619
1664
  export type PackageLocation = (typeof packageLocation)[keyof typeof packageLocation];
1665
+ export declare const packagingOptionDeleteAction: {
1666
+ readonly Delete: "DELETE";
1667
+ readonly Disable: "DISABLE";
1668
+ };
1669
+ export type PackagingOptionDeleteAction = (typeof packagingOptionDeleteAction)[keyof typeof packagingOptionDeleteAction];
1620
1670
  export declare const packagingOptionSource: {
1621
1671
  readonly Default: "DEFAULT";
1622
1672
  readonly Dynamic: "DYNAMIC";
@@ -1723,6 +1773,11 @@ export declare const shipmentAmountType: {
1723
1773
  readonly Surcharge: "SURCHARGE";
1724
1774
  };
1725
1775
  export type ShipmentAmountType = (typeof shipmentAmountType)[keyof typeof shipmentAmountType];
1776
+ export declare const shipmentBatchStatus: {
1777
+ readonly Closed: "CLOSED";
1778
+ readonly Open: "OPEN";
1779
+ };
1780
+ export type ShipmentBatchStatus = (typeof shipmentBatchStatus)[keyof typeof shipmentBatchStatus];
1726
1781
  export declare const shipmentCartonSpecialService: {
1727
1782
  readonly Alcohol: "ALCOHOL";
1728
1783
  readonly BatteryInsideEquipment: "BATTERY_INSIDE_EQUIPMENT";
@@ -1772,6 +1827,22 @@ export declare const stripeBillingFrequency: {
1772
1827
  readonly Year: "YEAR";
1773
1828
  };
1774
1829
  export type StripeBillingFrequency = (typeof stripeBillingFrequency)[keyof typeof stripeBillingFrequency];
1830
+ export declare const stripeChargeStatus: {
1831
+ readonly Failed: "FAILED";
1832
+ readonly Pending: "PENDING";
1833
+ readonly Succeeded: "SUCCEEDED";
1834
+ };
1835
+ export type StripeChargeStatus = (typeof stripeChargeStatus)[keyof typeof stripeChargeStatus];
1836
+ export declare const stripePaymentIntentStatus: {
1837
+ readonly Canceled: "CANCELED";
1838
+ readonly Processing: "PROCESSING";
1839
+ readonly RequiresAction: "REQUIRES_ACTION";
1840
+ readonly RequiresCapture: "REQUIRES_CAPTURE";
1841
+ readonly RequiresConfirmation: "REQUIRES_CONFIRMATION";
1842
+ readonly RequiresPaymentMethod: "REQUIRES_PAYMENT_METHOD";
1843
+ readonly Succeeded: "SUCCEEDED";
1844
+ };
1845
+ export type StripePaymentIntentStatus = (typeof stripePaymentIntentStatus)[keyof typeof stripePaymentIntentStatus];
1775
1846
  export declare const stripePriceBillingScheme: {
1776
1847
  readonly PerUnit: "PER_UNIT";
1777
1848
  readonly Tiered: "TIERED";
@@ -1894,8 +1965,12 @@ export declare const volumeUnitCode: {
1894
1965
  };
1895
1966
  export type VolumeUnitCode = (typeof volumeUnitCode)[keyof typeof volumeUnitCode];
1896
1967
  export declare const wcoVersion: {
1968
+ readonly Wco_1997: "WCO_1997";
1969
+ readonly Wco_2002: "WCO_2002";
1970
+ readonly Wco_2007: "WCO_2007";
1897
1971
  readonly Wco_2017: "WCO_2017";
1898
1972
  readonly Wco_2022: "WCO_2022";
1973
+ readonly Wco_2027: "WCO_2027";
1899
1974
  };
1900
1975
  export type WcoVersion = (typeof wcoVersion)[keyof typeof wcoVersion];
1901
1976
  export declare const weightUnitCode: {
@@ -1976,6 +2051,13 @@ export type CalculateLandedCostMutation = {
1976
2051
  id: string;
1977
2052
  }>;
1978
2053
  landedCostCalculateWorkflow: Array<{
2054
+ appliedAdjustments: Array<{
2055
+ amount: number;
2056
+ item: {
2057
+ amount: number;
2058
+ } | null;
2059
+ type: LandedCostAdjustmentType | null;
2060
+ } | null> | null;
1979
2061
  deMinimis: Array<{
1980
2062
  threshold: DeMinimisThreshold;
1981
2063
  type: DeMinimisType;
@@ -1993,8 +2075,8 @@ export type CalculateLandedCostMutation = {
1993
2075
  method: IncotermCode;
1994
2076
  shipmentRating: {
1995
2077
  amount: number;
1996
- currencyCode: CurrencyCode;
1997
2078
  displayName: string;
2079
+ currencyCode: CurrencyCode;
1998
2080
  id: string;
1999
2081
  maxTransitAt: string | null;
2000
2082
  minTransitAt: string | null;
@@ -2065,6 +2147,13 @@ export type CheckoutPresentmentFragment = {
2065
2147
  };
2066
2148
  };
2067
2149
  export type LandedCostFragment = {
2150
+ appliedAdjustments: Array<{
2151
+ amount: number;
2152
+ item: {
2153
+ amount: number;
2154
+ } | null;
2155
+ type: LandedCostAdjustmentType | null;
2156
+ } | null> | null;
2068
2157
  deMinimis: Array<{
2069
2158
  threshold: DeMinimisThreshold;
2070
2159
  type: DeMinimisType;
@@ -2150,8 +2239,8 @@ export type BulkClassifyMutation = {
2150
2239
  name: string;
2151
2240
  }>;
2152
2241
  };
2153
- export type CheckoutSessionUpdateMutation = {
2154
- checkoutSessionUpdate: {
2242
+ export type CheckoutSessionCreateMutation = {
2243
+ checkoutSessionCreate: {
2155
2244
  clientSecret: string;
2156
2245
  id: string;
2157
2246
  landedCost: {
@@ -2194,7 +2283,7 @@ export type CheckoutSessionUpdateMutation = {
2194
2283
  };
2195
2284
  };
2196
2285
  };
2197
- export type CheckoutSessionUpdateDetailsFragment = {
2286
+ export type CheckoutDetailsFragment = {
2198
2287
  clientSecret: string;
2199
2288
  id: string;
2200
2289
  landedCost: {
@@ -2251,13 +2340,20 @@ export type ExchangeRateCreateMutation = {
2251
2340
  type: ExchangeRateType;
2252
2341
  } | null;
2253
2342
  };
2343
+ export type GetCheckoutSessionQuery = {
2344
+ checkoutSession: {
2345
+ order: {
2346
+ id: string;
2347
+ } | null;
2348
+ };
2349
+ };
2254
2350
  export type ShippingZonesQuery = {
2255
2351
  shippingZones: Array<{
2256
2352
  countryCodes: Array<CountryCode> | null;
2257
2353
  } | null> | null;
2258
2354
  };
2259
- export type CheckoutSessionCreateMutation = {
2260
- checkoutSessionCreate: {
2355
+ export type CheckoutSessionUpdateMutation = {
2356
+ checkoutSessionUpdate: {
2261
2357
  clientSecret: string;
2262
2358
  id: string;
2263
2359
  landedCost: {
@@ -2300,7 +2396,7 @@ export type CheckoutSessionCreateMutation = {
2300
2396
  };
2301
2397
  };
2302
2398
  };
2303
- export type CheckoutDetailsFragment = {
2399
+ export type CheckoutSessionUpdateDetailsFragment = {
2304
2400
  clientSecret: string;
2305
2401
  id: string;
2306
2402
  landedCost: {
@@ -2536,6 +2632,124 @@ export type OnlineStoreSettingsQuery = {
2536
2632
  allowedDomains: Array<string>;
2537
2633
  };
2538
2634
  };
2635
+ export type GetOrderQuery = {
2636
+ order: {
2637
+ accountOrderNumber: string | null;
2638
+ amountSubtotals: {
2639
+ duties: number;
2640
+ fees: number;
2641
+ items: number;
2642
+ shipping: number;
2643
+ taxes: number;
2644
+ variance: number;
2645
+ };
2646
+ createdAt: string;
2647
+ currencyCode: CurrencyCode;
2648
+ id: string;
2649
+ items: Array<{
2650
+ amount: number;
2651
+ attributes: Array<{
2652
+ key: string | null;
2653
+ value: string | null;
2654
+ } | null> | null;
2655
+ countryOfOrigin: CountryCode | null;
2656
+ description: string | null;
2657
+ hsCode: string | null;
2658
+ metadata: Array<{
2659
+ key: string | null;
2660
+ value: string | null;
2661
+ } | null> | null;
2662
+ name: string | null;
2663
+ productId: string;
2664
+ quantity: number;
2665
+ sku: string | null;
2666
+ }> | null;
2667
+ landedCosts: Array<{
2668
+ amountSubtotals: {
2669
+ duties: number;
2670
+ fees: number;
2671
+ items: number;
2672
+ landedCostTotal: number;
2673
+ shipping: number;
2674
+ taxes: number;
2675
+ } | null;
2676
+ appliedAdjustments: Array<{
2677
+ Adjustment: {
2678
+ amount: number;
2679
+ } | null;
2680
+ amount: number;
2681
+ item: {
2682
+ amount: number;
2683
+ name: string | null;
2684
+ } | null;
2685
+ } | null> | null;
2686
+ duties: Array<{
2687
+ exchangeRate: {
2688
+ rate: number;
2689
+ sourceCurrencyCode: CurrencyCode;
2690
+ targetCurrencyCode: CurrencyCode;
2691
+ } | null;
2692
+ }>;
2693
+ shipmentRating: {
2694
+ amount: number;
2695
+ currencyCode: CurrencyCode;
2696
+ details: Array<{
2697
+ amount: number;
2698
+ carrierCode: string;
2699
+ type: ShipmentAmountType;
2700
+ }> | null;
2701
+ displayName: string;
2702
+ id: string;
2703
+ serviceLevelCode: string;
2704
+ };
2705
+ taxId: {
2706
+ administrativeAreaCode: string | null;
2707
+ taxIdNumber: string;
2708
+ } | null;
2709
+ }> | null;
2710
+ metadata: Array<{
2711
+ key: string;
2712
+ value: string;
2713
+ } | null> | null;
2714
+ mode: Mode;
2715
+ parties: Array<{
2716
+ location: {
2717
+ administrativeArea: string | null;
2718
+ administrativeAreaCode: string | null;
2719
+ countryCode: CountryCode;
2720
+ line1: string | null;
2721
+ line2: string | null;
2722
+ line3: string | null;
2723
+ line4: string | null;
2724
+ locality: string | null;
2725
+ longitude: number | null;
2726
+ postalCode: string | null;
2727
+ } | null;
2728
+ person: {
2729
+ companyName: string | null;
2730
+ email: string | null;
2731
+ firstName: string | null;
2732
+ lastName: string | null;
2733
+ phone: string | null;
2734
+ } | null;
2735
+ type: PartyType | null;
2736
+ }> | null;
2737
+ root: {
2738
+ exchangeRates: Array<{
2739
+ rate: number;
2740
+ sourceCurrencyCode: CurrencyCode;
2741
+ targetCurrencyCode: CurrencyCode;
2742
+ type: ExchangeRateType;
2743
+ }>;
2744
+ } | null;
2745
+ status: OrderStatus;
2746
+ } | null;
2747
+ };
2748
+ export type OrderUpdateAccountOrderNumberMutation = {
2749
+ orderUpdateAccountOrderNumber: {
2750
+ accountOrderNumber: string | null;
2751
+ };
2752
+ };
2539
2753
  export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
2540
2754
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
2541
2755
  BulkClassify(variables?: {
@@ -2559,9 +2773,18 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
2559
2773
  FulfillmentCenter(variables?: {
2560
2774
  [x: string]: never;
2561
2775
  } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<FulfillmentCenterQuery>;
2776
+ GetCheckoutSession(variables?: {
2777
+ [x: string]: never;
2778
+ } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetCheckoutSessionQuery>;
2779
+ GetOrder(variables?: {
2780
+ [x: string]: never;
2781
+ } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetOrderQuery>;
2562
2782
  OnlineStoreSettings(variables?: {
2563
2783
  [x: string]: never;
2564
2784
  } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<OnlineStoreSettingsQuery>;
2785
+ OrderUpdateAccountOrderNumber(variables?: {
2786
+ [x: string]: never;
2787
+ } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<OrderUpdateAccountOrderNumberMutation>;
2565
2788
  ShippingZones(variables?: {
2566
2789
  [x: string]: never;
2567
2790
  } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<ShippingZonesQuery>;