@zonos/elements 1.3.11-alpha.1 → 1.3.11-alpha.3
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-d9e9ecfc.js → cart-fcddc0e6.js} +71 -8
- package/dist/cjs/{getBorderRadius-9d619bf6.js → getBorderRadius-4fa738c3.js} +1 -1
- package/dist/cjs/{getContrastColor-af2386af.js → getContrastColor-c72796c6.js} +1 -1
- package/dist/cjs/{isDarkColor-a68274cf.js → isDarkColor-7faf0a82.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{submitGtag-b7ef5d5b.js → submitGtag-ec6ead54.js} +15 -2
- package/dist/cjs/zonos-address_4.cjs.entry.js +12 -9
- package/dist/cjs/zonos-badge_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-card_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js +19 -21
- package/dist/cjs/zonos-checkout.cjs.entry.js +238 -13
- package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello.cjs.entry.js +16 -4
- package/dist/cjs/zonos-icon.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
- package/dist/cjs/zonos-payment.cjs.entry.js +4 -4
- package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-21334303.js → zonosStore-bd2a0c59.js} +19 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -5
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +91 -9
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
- package/dist/collection/components/common/zonos-button/zonos-button.js +1 -1
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +5 -5
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +1 -0
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +5 -4
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +5 -5
- package/dist/collection/components/common/zonos-icon/zonos-icon.js +2 -2
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +7 -7
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +17 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +5 -5
- package/dist/collection/components/store/checkout/stripe.js +8 -2
- package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
- package/dist/collection/components/store/translationStore/strings.base.js +3 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
- package/dist/collection/components/store/translationStore/strings.french.js +3 -0
- package/dist/collection/components/store/translationStore/strings.german.js +3 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
- package/dist/collection/components/store/zonosStore.js +19 -2
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +5 -2
- package/dist/collection/components/utils/api/buildCartItemsByTempCart.js +24 -0
- package/dist/collection/components/utils/api/tempCartItem/getAttributes.js +66 -0
- package/dist/collection/components/utils/api/tempCartItem/getMeasurements.js +58 -0
- package/dist/collection/components/utils/api/trackConversionEvent.js +2 -0
- package/dist/collection/components/utils/checkout/isShippableCountry.js +2 -0
- package/dist/collection/components/utils/createCustomEvent.js +9 -0
- package/dist/collection/scripts/zonosBase.js +1 -0
- package/dist/collection/styles/stripe/addressRuleStyle.js +0 -3
- package/dist/collection/types/checkout/api/TempCart.js +1 -0
- package/dist/collection/types/generated/graphql.customer.types.js +73 -0
- package/dist/components/stripe.js +68 -5
- package/dist/components/trackConversionEvent.js +2 -0
- package/dist/components/zonos-address2.js +5 -2
- package/dist/components/zonos-button2.js +1 -1
- package/dist/components/zonos-checkbox2.js +3 -3
- package/dist/components/zonos-checkout-finish2.js +14 -6
- package/dist/components/zonos-checkout-progress-tabs2.js +6 -6
- package/dist/components/zonos-checkout.js +238 -11
- package/dist/components/zonos-dialog2.js +3 -3
- package/dist/components/zonos-hello-dialog2.js +1 -1
- package/dist/components/zonos-hello.js +16 -2
- package/dist/components/zonos-review2.js +1 -1
- package/dist/components/zonos-shipping-rich-radio2.js +1 -1
- package/dist/components/zonos-shipping2.js +1 -1
- package/dist/components/zonosStore.js +19 -2
- package/dist/esm/{cart-6cfd7560.js → cart-228e1ef7.js} +71 -8
- package/dist/esm/{getBorderRadius-c5fb7746.js → getBorderRadius-a89e45fb.js} +1 -1
- package/dist/esm/{getContrastColor-a1a6f6aa.js → getContrastColor-5fbc4746.js} +1 -1
- package/dist/esm/{isDarkColor-810fcaa5.js → isDarkColor-6bf71e51.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{submitGtag-acca574d.js → submitGtag-c3727595.js} +15 -3
- package/dist/esm/zonos-address_4.entry.js +12 -9
- package/dist/esm/zonos-badge_2.entry.js +1 -1
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_2.entry.js +5 -5
- package/dist/esm/zonos-card_2.entry.js +4 -4
- package/dist/esm/zonos-cart-items_10.entry.js +19 -21
- package/dist/esm/zonos-checkout.entry.js +238 -13
- package/dist/esm/zonos-controller.entry.js +4 -4
- package/dist/esm/zonos-country-flag.entry.js +4 -4
- package/dist/esm/zonos-country-select_3.entry.js +4 -4
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +5 -5
- package/dist/esm/zonos-hello.entry.js +16 -4
- package/dist/esm/zonos-icon.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-notification.entry.js +1 -1
- package/dist/esm/zonos-payment.entry.js +4 -4
- package/dist/esm/zonos-select-dialog-header_2.entry.js +1 -1
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/{zonosStore-e5f3d4da.js → zonosStore-c4c45591.js} +19 -2
- package/dist/esm-es5/cart-228e1ef7.js +1 -0
- package/dist/esm-es5/{getBorderRadius-c5fb7746.js → getBorderRadius-a89e45fb.js} +1 -1
- package/dist/esm-es5/getContrastColor-5fbc4746.js +1 -0
- package/dist/esm-es5/{isDarkColor-810fcaa5.js → isDarkColor-6bf71e51.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/submitGtag-c3727595.js +1 -0
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.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-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_3.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-logo.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-select-dialog-header_2.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-e5f3d4da.js → zonosStore-c4c45591.js} +1 -1
- package/dist/scripts/getTempCartById.js +1 -0
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/scripts/zonosBase.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +7 -0
- package/dist/types/components/common/zonos-checkbox/zonos-checkbox.d.ts +1 -1
- package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +1 -1
- package/dist/types/components/common/zonos-icon/zonos-icon.d.ts +1 -1
- package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +2 -1
- package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +1 -0
- package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +2 -1
- package/dist/types/components/store/checkout/cart.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
- package/dist/types/components/store/zonosStore.d.ts +11 -2
- package/dist/types/components/utils/api/buildCartItemsByTempCart.d.ts +7 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/api/tempCartItem/getAttributes.d.ts +11 -0
- package/dist/types/components/utils/api/tempCartItem/getMeasurements.d.ts +7 -0
- package/dist/types/components/utils/changeDeepProperty.d.ts +1 -1
- package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +1 -1
- package/dist/types/components/utils/createCustomEvent.d.ts +12 -0
- package/dist/types/components/utils/getBorderRadius.d.ts +1 -1
- package/dist/types/components/utils/handleFetch.d.ts +2 -1
- package/dist/types/components.d.ts +2 -4
- package/dist/types/scripts/zonosBase.d.ts +10 -1
- package/dist/types/styles/stripe/addressRuleStyle.d.ts +2 -1
- package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -1
- package/dist/types/types/checkout/api/TempCart.d.ts +80 -0
- package/dist/types/types/generated/graphql.customer.types.d.ts +97 -0
- package/dist/types/types/generated/graphql.customer.types.ts +135 -1
- package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
- package/dist/types/types/global.d.ts +10 -0
- package/dist/types/types/utils/deep/IDeepKeyofAtIndex.d.ts +1 -1
- package/dist/zonos-elements/{p-7e00a5dc.system.entry.js → p-001518eb.system.entry.js} +1 -1
- package/dist/zonos-elements/p-0082c5be.system.entry.js +1 -0
- package/dist/zonos-elements/p-07022f11.js +1 -0
- package/dist/zonos-elements/{p-ff17c03b.entry.js → p-11f1b5fb.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b51de7b.system.entry.js → p-145dd34a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-65a877e2.entry.js → p-14a2824f.entry.js} +1 -1
- package/dist/zonos-elements/{p-f8b03017.system.entry.js → p-15cd4a76.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c4862aab.system.entry.js → p-160cdf4e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b1ee44c6.system.js → p-167b3369.system.js} +1 -1
- package/dist/zonos-elements/{p-59595553.entry.js → p-171eb334.entry.js} +1 -1
- package/dist/zonos-elements/{p-e74f27da.js → p-1bbdfae5.js} +1 -1
- package/dist/zonos-elements/{p-22db99c9.system.entry.js → p-1d833f22.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b9cde0c3.entry.js → p-215cd7ec.entry.js} +1 -1
- package/dist/zonos-elements/{p-6a80f7f5.entry.js → p-223d72d8.entry.js} +1 -1
- package/dist/zonos-elements/{p-817e7f8e.entry.js → p-30cd191f.entry.js} +1 -1
- package/dist/zonos-elements/{p-824b8708.system.entry.js → p-35c328ba.system.entry.js} +1 -1
- package/dist/zonos-elements/p-397d8268.entry.js +1 -0
- package/dist/zonos-elements/{p-6db032ee.system.js → p-41c2b1c5.system.js} +1 -1
- package/dist/zonos-elements/{p-6dc606c6.entry.js → p-4515ec7b.entry.js} +1 -1
- package/dist/zonos-elements/{p-ac7155d7.entry.js → p-470284a3.entry.js} +1 -1
- package/dist/zonos-elements/{p-fd8c50e8.system.entry.js → p-499d7f5d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b76909ab.entry.js → p-4c9367f1.entry.js} +1 -1
- package/dist/zonos-elements/{p-9a2c3874.system.entry.js → p-4d7b27af.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-60ac5342.system.entry.js → p-55940b5a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a641dfcd.entry.js → p-5d5c0fbf.entry.js} +1 -1
- package/dist/zonos-elements/{p-fac20c60.system.entry.js → p-5f6f0581.system.entry.js} +1 -1
- package/dist/zonos-elements/p-6484bf31.system.js +1 -0
- package/dist/zonos-elements/{p-b2c48954.system.entry.js → p-67ff446b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-212992ec.system.entry.js → p-6c5c5377.system.entry.js} +1 -1
- package/dist/zonos-elements/p-6e81adba.system.js +1 -1
- package/dist/zonos-elements/{p-ff962844.entry.js → p-72c6bf0f.entry.js} +1 -1
- package/dist/zonos-elements/p-7575a42a.js +1 -0
- package/dist/zonos-elements/p-770e5b9e.js +1 -0
- package/dist/zonos-elements/{p-a398bc59.system.entry.js → p-7ff3a533.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0f414d6a.system.js → p-86034f1e.system.js} +1 -1
- package/dist/zonos-elements/{p-6daa64bf.entry.js → p-925ae524.entry.js} +1 -1
- package/dist/zonos-elements/p-93dafeea.system.entry.js +1 -0
- package/dist/zonos-elements/{p-ed4d8d71.system.js → p-94bbf247.system.js} +1 -1
- package/dist/zonos-elements/p-960e4021.system.js +1 -0
- package/dist/zonos-elements/{p-a1a477c9.js → p-9a90fb56.js} +1 -1
- package/dist/zonos-elements/{p-d96f8d89.system.entry.js → p-a144d26a.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ac5aecca.entry.js +1 -0
- package/dist/zonos-elements/p-c815e8b4.system.entry.js +1 -0
- package/dist/zonos-elements/p-d11b2449.js +1 -0
- package/dist/zonos-elements/{p-26aee7a0.entry.js → p-d31e5fcc.entry.js} +1 -1
- package/dist/zonos-elements/p-db1adc42.entry.js +1 -0
- package/dist/zonos-elements/{p-b0e9226a.entry.js → p-e3de496a.entry.js} +1 -1
- package/dist/zonos-elements/p-e5b5cbfd.system.entry.js +1 -0
- package/dist/zonos-elements/{p-51c32b3d.entry.js → p-f1037168.entry.js} +1 -1
- package/dist/zonos-elements/{p-2d5a6a7f.system.entry.js → p-f42bffad.system.entry.js} +1 -1
- package/dist/zonos-elements/p-fe8de89b.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-6cfd7560.js +0 -1
- package/dist/esm-es5/getContrastColor-a1a6f6aa.js +0 -1
- package/dist/esm-es5/submitGtag-acca574d.js +0 -1
- package/dist/zonos-elements/p-0dfd549e.system.entry.js +0 -1
- package/dist/zonos-elements/p-0f8acb62.js +0 -1
- package/dist/zonos-elements/p-2fdec8bc.system.entry.js +0 -1
- package/dist/zonos-elements/p-352ba771.system.js +0 -1
- package/dist/zonos-elements/p-4051a42d.js +0 -1
- package/dist/zonos-elements/p-5162f4cc.system.entry.js +0 -1
- package/dist/zonos-elements/p-55b8b98b.js +0 -1
- package/dist/zonos-elements/p-5a40684c.entry.js +0 -1
- package/dist/zonos-elements/p-61e08de7.system.entry.js +0 -1
- package/dist/zonos-elements/p-66cc1554.system.js +0 -1
- package/dist/zonos-elements/p-a7bfe188.entry.js +0 -1
- package/dist/zonos-elements/p-c6e44a9b.entry.js +0 -1
- package/dist/zonos-elements/p-cde25873.js +0 -1
- package/dist/zonos-elements/p-e2131057.entry.js +0 -1
|
@@ -62,6 +62,9 @@ export declare const stringsChinese: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsDanish: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsDutch: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsFrench: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsGerman: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsHebrew: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsIndonesian: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsItalian: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsJapanese: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsKorean: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsNorwegian: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsPolish: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsPortuguese: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsRussian: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsSpanish: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsSwedish: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsTurkish: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -62,6 +62,9 @@ export declare const stringsVietnamese: {
|
|
|
62
62
|
'No shipping method selected': {
|
|
63
63
|
value: string;
|
|
64
64
|
};
|
|
65
|
+
'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
65
68
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
66
69
|
value: string;
|
|
67
70
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { CurrencyConverter, LoadZonosParamsConfig } from "../../scripts/zonosBase";
|
|
2
|
-
import type { CheckoutConfig
|
|
2
|
+
import type { CheckoutConfig } from "../../types/checkout/CheckoutConfig";
|
|
3
3
|
import type { ElementsUiStyle, ElementsUiTheme, ZonosAttribution, ZonosSettingsQuery } from "../../types/generated/graphql.customer.types";
|
|
4
|
+
import type { HelloConfig } from "../../types/hello/HelloConfig";
|
|
4
5
|
export type AppearanceConfig = {
|
|
5
6
|
colorPrimary?: string;
|
|
6
7
|
colorSecondary?: string;
|
|
@@ -25,9 +26,17 @@ export type ZonosConfig = {
|
|
|
25
26
|
type ZonosStore = ZonosConfig & {
|
|
26
27
|
loadedConfig: boolean;
|
|
27
28
|
stripeApiKey?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Zonos API Key
|
|
31
|
+
* @note optional if tempCartData is available as we can pull the zonosApiKey from the tempCartData
|
|
32
|
+
*/
|
|
28
33
|
zonosApiKey: string;
|
|
29
34
|
};
|
|
30
35
|
declare const zonosStore: ZonosStore;
|
|
36
|
+
/**
|
|
37
|
+
* Get theme from media query if theme is SYSTEM, otherwise return the theme
|
|
38
|
+
*/
|
|
39
|
+
declare const getZonosStoreTheme: (theme: ElementsUiTheme) => Exclude<ElementsUiTheme, 'SYSTEM'>;
|
|
31
40
|
/**
|
|
32
41
|
* Init setting from zonos setting
|
|
33
42
|
*/
|
|
@@ -36,4 +45,4 @@ declare const zonosStoreInitSetting: ({ overrideSettings, zonosSettings, }: {
|
|
|
36
45
|
zonosSettings: ZonosSettingsQuery | null;
|
|
37
46
|
}) => void;
|
|
38
47
|
declare const zonosStoreFontFamily: () => string;
|
|
39
|
-
export { zonosStore, zonosStoreFontFamily, zonosStoreInitSetting };
|
|
48
|
+
export { getZonosStoreTheme, zonosStore, zonosStoreFontFamily, zonosStoreInitSetting, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CartItem } from "../../store/checkout/cart";
|
|
2
|
+
import type { TempCart } from "../../../types/checkout/api/TempCart";
|
|
3
|
+
/**
|
|
4
|
+
* Map the items from tempCart like how we do it in dgs
|
|
5
|
+
* @ref https://github.com/Zonos/ShippingQuoteService/blob/f8bd4f1ff41cb34b49b9f3f435576ec28dedf906/src/main/java/com/iglobal/services/shippingquote/dto/ShippingQuoteRequestDto.java#L393
|
|
6
|
+
*/
|
|
7
|
+
export declare const buildCartItemsByTempCart: (tempCartData: TempCart) => CartItem[];
|
|
@@ -4,7 +4,7 @@ export declare const getLocaleMessages: ({ countryCode, localeTo, storeId, }: {
|
|
|
4
4
|
localeTo?: string | undefined;
|
|
5
5
|
storeId: number;
|
|
6
6
|
}) => Promise<{
|
|
7
|
-
countryCodes: string[]
|
|
7
|
+
countryCodes: string[];
|
|
8
8
|
countryCodesPageMessageLinks: {
|
|
9
9
|
id: number;
|
|
10
10
|
message: {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TempCartItem } from "../../../../types/checkout/api/TempCart";
|
|
2
|
+
type AttributeKey = 'brand' | 'category' | 'color' | 'customization' | 'descriptionDetailed' | 'fabricContent' | 'ltlClass' | 'pickingLocation' | 'shipFromLocation' | 'size' | 'material' | 'status';
|
|
3
|
+
/**
|
|
4
|
+
* Map legacy item attribute to dgs item attributes
|
|
5
|
+
* @ref https://github.com/Zonos/ShippingQuoteService/blob/f8bd4f1ff41cb34b49b9f3f435576ec28dedf906/src/main/java/com/iglobal/services/shippingquote/dto/ShippingQuoteRequestDto.java#L412
|
|
6
|
+
*/
|
|
7
|
+
export declare const getAttributes: (item: TempCartItem) => {
|
|
8
|
+
key: AttributeKey;
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ItemMeasurement } from "../../../store/checkout/cart";
|
|
2
|
+
import type { TempCartItem } from "../../../../types/checkout/api/TempCart";
|
|
3
|
+
/**
|
|
4
|
+
* Mapping legacy measurement with dgs
|
|
5
|
+
* @ref https://github.com/Zonos/ShippingQuoteService/blob/f8bd4f1ff41cb34b49b9f3f435576ec28dedf906/src/main/java/com/iglobal/services/shippingquote/dto/ShippingQuoteRequestDto.java#L441
|
|
6
|
+
*/
|
|
7
|
+
export declare const getMeasurements: (item: TempCartItem) => ItemMeasurement[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IDeepKeyof, IDeepPropertyType } from "../../types/
|
|
1
|
+
import type { IDeepKeyof, IDeepPropertyType } from "../../types/utils/deep/IDeepKeyof";
|
|
2
2
|
/**
|
|
3
3
|
* Will change a nested property on an object, and return a copy of the object with only that property changed.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IDeepKeyofAtIndex, IDeepPropertyTypeAtIndex } from "../../types/
|
|
1
|
+
import type { IDeepKeyofAtIndex, IDeepPropertyTypeAtIndex } from "../../types/utils/deep/IDeepKeyofAtIndex";
|
|
2
2
|
/**
|
|
3
3
|
* Will change a nested property on an object (with array), and return a copy of the object with only that property changed.
|
|
4
4
|
*
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type CustomEventMap = {
|
|
2
|
+
legacyCheckoutError: string;
|
|
3
|
+
'zonos-checkout-success': {
|
|
4
|
+
message: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Strongly typed custom event creation for all available events in zonos-checkout project
|
|
9
|
+
*/
|
|
10
|
+
export declare const createCustomEvent: <T extends (string & {
|
|
11
|
+
_placeholder?: undefined;
|
|
12
|
+
}) | keyof CustomEventMap>(eventName: T, detail?: (T extends keyof CustomEventMap ? CustomEventMap[T] : unknown) | undefined) => CustomEvent<T extends keyof CustomEventMap ? CustomEventMap[T] : unknown>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { JsonError
|
|
1
|
+
import type { JsonError } from "../../types/JsonError";
|
|
2
|
+
import type { NoInfer } from "../../types/NoInfer";
|
|
2
3
|
export type HandleFetchReturn<ResponseBody extends unknown> = {
|
|
3
4
|
errors: JsonError[];
|
|
4
5
|
json: NoInfer<ResponseBody> | null;
|
|
@@ -10,14 +10,13 @@ import { CheckboxColorPrefix, Color, ColorPrefix } from "./types/styles/Color";
|
|
|
10
10
|
import { BannerIntent } from "./components/common/zonos-banner/zonos-banner";
|
|
11
11
|
import { CountryCode, ElementsUiStyle, ElementsUiTheme, HelloMobileLocation } from "./types/generated/graphql.customer.types";
|
|
12
12
|
import { FontWeight, Size, Type } from "./types/styles/Text";
|
|
13
|
-
import { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
|
|
14
13
|
import { AppearanceConfig } from "./components/store/zonosStore";
|
|
15
14
|
import { ContactOption as ContactOption1 } from "./components/store/checkout/stripe";
|
|
16
15
|
import { TabItem, TabItems } from "./components/store/checkout/cart";
|
|
17
16
|
import { LoadZonosParamsConfig } from "./scripts/zonosBase";
|
|
18
17
|
import { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
|
|
19
18
|
import { RestrictedItem } from "./types/hello/RestrictedItem";
|
|
20
|
-
import { AppearanceConfig as
|
|
19
|
+
import { AppearanceConfig as AppearanceConfig1 } from "./components.d";
|
|
21
20
|
import { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
|
|
22
21
|
import { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
|
|
23
22
|
import { GridSpacing } from "./types/styles/GridSpacing";
|
|
@@ -26,14 +25,13 @@ export { CheckboxColorPrefix, Color, ColorPrefix } from "./types/styles/Color";
|
|
|
26
25
|
export { BannerIntent } from "./components/common/zonos-banner/zonos-banner";
|
|
27
26
|
export { CountryCode, ElementsUiStyle, ElementsUiTheme, HelloMobileLocation } from "./types/generated/graphql.customer.types";
|
|
28
27
|
export { FontWeight, Size, Type } from "./types/styles/Text";
|
|
29
|
-
export { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
|
|
30
28
|
export { AppearanceConfig } from "./components/store/zonosStore";
|
|
31
29
|
export { ContactOption as ContactOption1 } from "./components/store/checkout/stripe";
|
|
32
30
|
export { TabItem, TabItems } from "./components/store/checkout/cart";
|
|
33
31
|
export { LoadZonosParamsConfig } from "./scripts/zonosBase";
|
|
34
32
|
export { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
|
|
35
33
|
export { RestrictedItem } from "./types/hello/RestrictedItem";
|
|
36
|
-
export { AppearanceConfig as
|
|
34
|
+
export { AppearanceConfig as AppearanceConfig1 } from "./components.d";
|
|
37
35
|
export { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
|
|
38
36
|
export { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
|
|
39
37
|
export { GridSpacing } from "./types/styles/GridSpacing";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { Stripe } from '@stripe/stripe-js';
|
|
2
2
|
import type { AppearanceConfig } from "../components/store/zonosStore";
|
|
3
|
-
import type {
|
|
3
|
+
import type { NotificationInit } from "../types/index";
|
|
4
|
+
import type { TempCart } from "../types/checkout/api/TempCart";
|
|
5
|
+
import type { CheckoutConfig } from "../types/checkout/CheckoutConfig";
|
|
6
|
+
import type { HelloConfig } from "../types/hello/HelloConfig";
|
|
4
7
|
export type CurrencyConverter = (convertAndFormat: (amount: number) => string, convert: (amount: number) => number, format: (amount: number) => string, selector?: string) => void;
|
|
5
8
|
export type LoadZonosParamsConfig = {
|
|
6
9
|
appearance?: Partial<AppearanceConfig>;
|
|
@@ -10,6 +13,10 @@ export type LoadZonosParamsConfig = {
|
|
|
10
13
|
};
|
|
11
14
|
export type LoadZonosParams = LoadZonosParamsConfig & {
|
|
12
15
|
storeId: number;
|
|
16
|
+
/**
|
|
17
|
+
* Temporary cart UUID to be used for zonos checkout, if this is provided, no need to configure `buildCartDetail`, `buildLandedCost` callback, zonosApiKey or storeId
|
|
18
|
+
*/
|
|
19
|
+
tempCartUUID?: string;
|
|
13
20
|
zonosApiKey: string;
|
|
14
21
|
};
|
|
15
22
|
export interface Zonos {
|
|
@@ -26,6 +33,7 @@ export interface Zonos {
|
|
|
26
33
|
storeId: number;
|
|
27
34
|
/** Stripe instance */
|
|
28
35
|
stripe: Stripe;
|
|
36
|
+
tempCartData: TempCart | null;
|
|
29
37
|
version: string;
|
|
30
38
|
zonosApiKey: string;
|
|
31
39
|
zonosQaUrl: string | null;
|
|
@@ -49,6 +57,7 @@ export declare abstract class Zonos {
|
|
|
49
57
|
static zonosQaUrl: string | null;
|
|
50
58
|
static version: string;
|
|
51
59
|
static modeAlerted: boolean;
|
|
60
|
+
static tempCartData: TempCart | null;
|
|
52
61
|
static getCurrentTimestamp: () => number;
|
|
53
62
|
private static zonosController;
|
|
54
63
|
static init: ({ appearance, checkoutSettings, currencyConverter, helloSettings, storeId, zonosApiKey, }: LoadZonosParams) => Promise<void>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ElementsUiTheme
|
|
1
|
+
import type { ElementsUiTheme } from "../../types/generated/graphql.customer.types";
|
|
2
|
+
import type { StripeRuleType } from "../../types/stripe/Apperance";
|
|
2
3
|
export declare const addressRuleStyle: ({ theme, }: {
|
|
3
4
|
theme: ElementsUiTheme;
|
|
4
5
|
}) => StripeRuleType;
|
|
@@ -41,7 +41,8 @@ export type CheckoutConfig = {
|
|
|
41
41
|
successRedirectUrl: string;
|
|
42
42
|
visibilityStatus: CheckoutVisibilityStatus;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Cart info callback for checkout (optional)
|
|
45
|
+
* @note will use temp cart data if available
|
|
45
46
|
* User can dispatch an event 'zonos--init-cart-info' to update the cart
|
|
46
47
|
* @example
|
|
47
48
|
* const initEvent = new CustomEvent<CartItem[]>('zonos--init-cart-info', {
|
|
@@ -60,6 +61,10 @@ export type CheckoutConfig = {
|
|
|
60
61
|
* - quantity: number;
|
|
61
62
|
*/
|
|
62
63
|
buildCartDetail?: () => Promise<CartItem[]>;
|
|
64
|
+
/**
|
|
65
|
+
* Calculate landed cost callback for checkout (optional)
|
|
66
|
+
* @note will use temp cart data if available
|
|
67
|
+
*/
|
|
63
68
|
buildLandedCost?: (params: BuildLandedCostParams) => BuildLandedCostResponse;
|
|
64
69
|
onOrderSuccess?: (zonosOrder: ZonosOrder) => Promise<void>;
|
|
65
70
|
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export type TempCartItem = {
|
|
2
|
+
additionalCharge: boolean;
|
|
3
|
+
boxNumber: number | null;
|
|
4
|
+
countryOfOrigin: string | null;
|
|
5
|
+
description: string | null;
|
|
6
|
+
discount: boolean;
|
|
7
|
+
foreignUnitPrice: number | null;
|
|
8
|
+
giftCard: boolean;
|
|
9
|
+
height: number | null;
|
|
10
|
+
id: number | null;
|
|
11
|
+
imageURL: string | null;
|
|
12
|
+
itemBrand: string | null;
|
|
13
|
+
itemCategory: string | null;
|
|
14
|
+
itemColor: string | null;
|
|
15
|
+
itemCustomization: string | null;
|
|
16
|
+
itemDescriptionDetailed: string | null;
|
|
17
|
+
itemDescriptionLong: string | null;
|
|
18
|
+
itemDiscountAmount: number | null;
|
|
19
|
+
itemDoSell: boolean;
|
|
20
|
+
itemFabricContent: string | null;
|
|
21
|
+
itemForwarded: boolean;
|
|
22
|
+
itemHSCode: string | null;
|
|
23
|
+
itemLtlClass: string | null;
|
|
24
|
+
itemMaterial: string | null;
|
|
25
|
+
itemPickingLocation: string | null;
|
|
26
|
+
itemShipFromLocation: string | null;
|
|
27
|
+
itemShippingAmount: number | null;
|
|
28
|
+
itemSize: string | null;
|
|
29
|
+
itemURL: string | null;
|
|
30
|
+
itemUnitPriceHide: boolean;
|
|
31
|
+
length: number | null;
|
|
32
|
+
nonShippable: boolean;
|
|
33
|
+
productId: string | null;
|
|
34
|
+
quantity: number | null;
|
|
35
|
+
sku: string | null;
|
|
36
|
+
status: string | null;
|
|
37
|
+
unitPrice: number | null;
|
|
38
|
+
weight: number | null;
|
|
39
|
+
weightUnits: string | null;
|
|
40
|
+
width: number | null;
|
|
41
|
+
};
|
|
42
|
+
export type TempCart = {
|
|
43
|
+
additionalHandling: boolean;
|
|
44
|
+
boxCount: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* @param contShopingUrl should always be set, backend will ensure this. If not set, backend will fallback to the store vendor url
|
|
47
|
+
*/
|
|
48
|
+
contShoppingURL: string;
|
|
49
|
+
createdInMillis: number | null;
|
|
50
|
+
customerId: string | null;
|
|
51
|
+
customerNote: string | null;
|
|
52
|
+
discountAmount: number | null;
|
|
53
|
+
domesticShippingCharge: number | null;
|
|
54
|
+
exchangeRate: number | null;
|
|
55
|
+
externalConfirmationPageURL: string | null;
|
|
56
|
+
footerHtml: string | null;
|
|
57
|
+
giftCardDescription: string | null;
|
|
58
|
+
giftCardForeignTotal: number | null;
|
|
59
|
+
giftCardTotal: number | null;
|
|
60
|
+
guid: string;
|
|
61
|
+
iGlobalId: string | null;
|
|
62
|
+
id: number;
|
|
63
|
+
iglobalCheckoutFlags: string | null;
|
|
64
|
+
interpayRateOfferId: string | null;
|
|
65
|
+
items: TempCartItem[] | null;
|
|
66
|
+
message: string | null;
|
|
67
|
+
misc1: string | null;
|
|
68
|
+
misc2: string | null;
|
|
69
|
+
misc3: string | null;
|
|
70
|
+
misc4: string | null;
|
|
71
|
+
misc5: string | null;
|
|
72
|
+
misc6: string | null;
|
|
73
|
+
poAllowed: boolean;
|
|
74
|
+
referenceId: string | null;
|
|
75
|
+
shippingAmountOverride: number | null;
|
|
76
|
+
showForeignCurrency: boolean;
|
|
77
|
+
storeId: number;
|
|
78
|
+
usedInMillis: number | null;
|
|
79
|
+
vendorPassedCurrencyCode: string | null;
|
|
80
|
+
};
|