@zonos/elements 1.2.4-alpha.6 → 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.
- package/dist/cjs/{cart-7ad04cdb.js → cart-90f7c8c0.js} +36 -8
- package/dist/cjs/{getBorderRadius-a97a5f75.js → getBorderRadius-bf4a4276.js} +1 -1
- package/dist/cjs/{index-20cb112f.js → index-0dcccc22.js} +27 -16
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/{isDarkColor-261fcf3d.js → isDarkColor-ff6ff183.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{localization-5069ab0b.js → localization-9caf3397.js} +7 -7
- package/dist/cjs/{submitGtag-44e938ff.js → submitGtag-b141b45d.js} +2 -2
- package/dist/cjs/zonos-address_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
- package/dist/cjs/zonos-button_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-card_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js +50 -8
- package/dist/cjs/zonos-checkout.cjs.entry.js +9 -7
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +8 -8
- package/dist/cjs/zonos-country-flag_4.cjs.entry.js +4 -4
- package/dist/cjs/zonos-elements.cjs.js +3 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
- package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
- package/dist/cjs/zonos-icon.cjs.entry.js +2 -2
- package/dist/cjs/zonos-notification.cjs.entry.js +2 -2
- package/dist/cjs/zonos-payment.cjs.entry.js +6 -6
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +2 -2
- package/dist/cjs/{zonosStore-a0fa5b77.js → zonosStore-b43ef5db.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +48 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +5 -2
- package/dist/collection/components/common/zonos-notification/zonos-notification.js +3 -2
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +9 -6
- package/dist/collection/components/main/zonos-controller.js +16 -14
- package/dist/collection/components/store/checkout/cart.js +1 -1
- package/dist/collection/components/store/checkout/stripe.js +3 -2
- package/dist/collection/components/utils/api/calculateLandedCost.js +9 -1
- package/dist/collection/components/utils/api/checkItemRestrictions.js +1 -1
- package/dist/collection/components/utils/api/getCountries.js +1 -1
- package/dist/collection/components/utils/api/getCountryLandedCost.js +1 -1
- package/dist/collection/components/utils/api/getExchangeRate.js +1 -1
- package/dist/collection/components/utils/api/getLocaleMessages.js +1 -1
- package/dist/collection/components/utils/api/getLocalization.js +1 -1
- package/dist/collection/components/utils/api/getShippingZones.js +1 -1
- package/dist/collection/components/utils/api/getZonosSetting.js +1 -1
- package/dist/collection/components/utils/api/triggerBuildLandedCost.js +22 -0
- package/dist/collection/types/generated/graphql.customer.types.js +72 -0
- package/dist/collection/types/generated/graphql.frontend.types.js +83 -6
- package/dist/components/cart.js +33 -5
- package/dist/components/localization.js +6 -6
- package/dist/components/zonos-checkout-finish2.js +47 -4
- package/dist/components/zonos-checkout.js +2 -0
- package/dist/components/zonos-controller.js +2 -2
- package/dist/components/zonos-hello.js +1 -1
- package/dist/esm/{cart-face98c8.js → cart-b439be00.js} +36 -8
- package/dist/esm/{getBorderRadius-35e8acce.js → getBorderRadius-178a0a05.js} +1 -1
- package/dist/esm/{index-3617e24c.js → index-36ff6342.js} +27 -16
- package/dist/esm/index.js +6 -6
- package/dist/esm/{isDarkColor-44e9e451.js → isDarkColor-416d6047.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{localization-ed07b7f0.js → localization-a51ccbc2.js} +7 -7
- package/dist/esm/{submitGtag-5b553683.js → submitGtag-521826a2.js} +2 -2
- package/dist/esm/zonos-address_2.entry.js +6 -6
- package/dist/esm/zonos-badge.entry.js +2 -2
- package/dist/esm/zonos-banner.entry.js +2 -2
- package/dist/esm/zonos-button_2.entry.js +4 -4
- package/dist/esm/zonos-card_2.entry.js +2 -2
- package/dist/esm/zonos-cart-items_10.entry.js +50 -8
- package/dist/esm/zonos-checkout.entry.js +9 -7
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +8 -8
- package/dist/esm/zonos-country-flag_4.entry.js +4 -4
- package/dist/esm/zonos-elements.js +4 -4
- package/dist/esm/zonos-hello-dialog.entry.js +3 -3
- package/dist/esm/zonos-hello.entry.js +4 -4
- package/dist/esm/zonos-icon.entry.js +2 -2
- package/dist/esm/zonos-notification.entry.js +2 -2
- package/dist/esm/zonos-payment.entry.js +6 -6
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/{zonosStore-e0b7a5cf.js → zonosStore-61e74f58.js} +1 -1
- package/dist/esm-es5/cart-b439be00.js +1 -0
- package/dist/esm-es5/{getBorderRadius-35e8acce.js → getBorderRadius-178a0a05.js} +1 -1
- package/dist/esm-es5/index-36ff6342.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-44e9e451.js → isDarkColor-416d6047.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{localization-ed07b7f0.js → localization-a51ccbc2.js} +1 -1
- package/dist/esm-es5/{submitGtag-5b553683.js → submitGtag-521826a2.js} +1 -1
- package/dist/esm-es5/zonos-address_2.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_2.entry.js +1 -1
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag_4.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-icon.entry.js +1 -1
- package/dist/esm-es5/zonos-notification.entry.js +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-e0b7a5cf.js → zonosStore-61e74f58.js} +1 -1
- package/dist/scripts/loadZonos.js +3 -3
- package/dist/scripts/zonos.js +3 -3
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +5 -1
- package/dist/types/components/store/checkout/stripe.d.ts +1 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/api/triggerBuildLandedCost.d.ts +5 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +3 -1
- package/dist/types/types/generated/graphql.customer.types.d.ts +230 -7
- package/dist/types/types/generated/graphql.customer.types.ts +281 -7
- package/dist/types/types/generated/graphql.frontend.types.d.ts +222 -11
- package/dist/types/types/generated/graphql.frontend.types.ts +377 -11
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-d8daeec4.system.entry.js → p-06fb9d1f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-77a7929b.js → p-089ba905.js} +1 -1
- package/dist/zonos-elements/{p-f0f9c43a.js → p-1685c8df.js} +1 -1
- package/dist/zonos-elements/p-18904b7c.system.js +2 -0
- package/dist/zonos-elements/{p-b8d11094.entry.js → p-1d4a970b.entry.js} +1 -1
- package/dist/zonos-elements/{p-80ba24a8.system.js → p-24eed2a8.system.js} +1 -1
- package/dist/zonos-elements/{p-bec21999.system.js → p-24fbe845.system.js} +1 -1
- package/dist/zonos-elements/{p-55f1da18.entry.js → p-2801d868.entry.js} +1 -1
- package/dist/zonos-elements/{p-1dbaf24b.system.entry.js → p-2f43da39.system.entry.js} +1 -1
- package/dist/zonos-elements/p-33137e7d.system.entry.js +1 -0
- package/dist/zonos-elements/{p-99c9bd01.js → p-3c6988d7.js} +1 -1
- package/dist/zonos-elements/p-3cea383b.system.entry.js +1 -0
- package/dist/zonos-elements/{p-86580e70.system.entry.js → p-47390db7.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4846796a.js +1 -0
- package/dist/zonos-elements/p-494c77a7.entry.js +1 -0
- package/dist/zonos-elements/{p-00c99619.entry.js → p-49f09b91.entry.js} +1 -1
- package/dist/zonos-elements/{p-9e396855.system.entry.js → p-4a15c5c7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-507e1954.system.entry.js → p-4bee0bff.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3eb33ba6.entry.js → p-4d93275c.entry.js} +1 -1
- package/dist/zonos-elements/{p-f09eb5c5.entry.js → p-4ed71bd7.entry.js} +1 -1
- package/dist/zonos-elements/{p-8bbad467.js → p-55f49f1e.js} +1 -1
- package/dist/zonos-elements/{p-114d8a14.system.entry.js → p-560aa686.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-03df1466.entry.js → p-639396bb.entry.js} +1 -1
- package/dist/zonos-elements/{p-3c64448f.system.entry.js → p-67154df2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9dbbacd9.entry.js → p-684ed483.entry.js} +1 -1
- package/dist/zonos-elements/{p-c743e43f.entry.js → p-89c210d6.entry.js} +1 -1
- package/dist/zonos-elements/{p-5aefdcdc.system.js → p-8c48b75e.system.js} +1 -1
- package/dist/zonos-elements/{p-4138e220.system.entry.js → p-8c5595d9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-263c1639.entry.js → p-938803f4.entry.js} +1 -1
- package/dist/zonos-elements/p-956efa27.js +2 -0
- package/dist/zonos-elements/{p-bca3d02f.entry.js → p-a0e36ed3.entry.js} +1 -1
- package/dist/zonos-elements/{p-b5bc4851.entry.js → p-a376a37f.entry.js} +1 -1
- package/dist/zonos-elements/{p-94f03799.system.js → p-a504f64f.system.js} +1 -1
- package/dist/zonos-elements/p-afe26069.entry.js +1 -0
- package/dist/zonos-elements/{p-f2ed98bb.system.entry.js → p-b4601210.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4db8bd2e.system.js → p-b51de536.system.js} +1 -1
- package/dist/zonos-elements/{p-9fa111f1.entry.js → p-b6148206.entry.js} +1 -1
- package/dist/zonos-elements/{p-643eeb24.system.js → p-b85be1ab.system.js} +1 -1
- package/dist/zonos-elements/{p-06ec9556.system.entry.js → p-c9348bb0.system.entry.js} +1 -1
- package/dist/zonos-elements/p-d2217f09.system.js +1 -0
- package/dist/zonos-elements/{p-7bd0ab43.system.entry.js → p-d856a200.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-754bdfdb.system.js → p-da060b1c.system.js} +1 -1
- package/dist/zonos-elements/{p-6f6d24da.entry.js → p-e1f6ab97.entry.js} +1 -1
- package/dist/zonos-elements/{p-3a7546f0.system.entry.js → p-e5ae22a9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4c0f4461.system.entry.js → p-e98be2d0.system.entry.js} +1 -1
- package/dist/zonos-elements/p-e9b832c5.entry.js +1 -0
- package/dist/zonos-elements/p-eb392924.entry.js +1 -0
- package/dist/zonos-elements/{p-b2984730.system.entry.js → p-f141519c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-39ae023c.system.entry.js → p-f367f2fe.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ff95f098.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +7 -6
- package/dist/esm-es5/cart-face98c8.js +0 -1
- package/dist/esm-es5/index-3617e24c.js +0 -2
- package/dist/zonos-elements/p-39dfc72b.entry.js +0 -1
- package/dist/zonos-elements/p-3c40bb08.entry.js +0 -1
- package/dist/zonos-elements/p-47c110a4.system.js +0 -1
- package/dist/zonos-elements/p-5e6be2a3.entry.js +0 -1
- package/dist/zonos-elements/p-aeeaaa7a.system.entry.js +0 -1
- package/dist/zonos-elements/p-b944303a.system.entry.js +0 -1
- package/dist/zonos-elements/p-bec05c21.system.js +0 -2
- package/dist/zonos-elements/p-c6ed3777.js +0 -1
- package/dist/zonos-elements/p-cf8aaa17.js +0 -2
- package/dist/zonos-elements/p-d9ed23ec.entry.js +0 -1
- 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
|
|
2154
|
-
|
|
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
|
|
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
|
|
2260
|
-
|
|
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
|
|
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>;
|