@zonos/elements 1.3.157 → 1.3.158
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-79deb872.js → cart-c6b42ee3.js} +284 -4
- package/dist/cjs/{getBorderRadius-d3032bda.js → getBorderRadius-c4fed939.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{isDarkColor-9f6c3601.js → isDarkColor-cd98fcb7.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{paypal-e79ca280.js → paypal-bc98bcd3.js} +3 -3
- package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
- package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +9 -7
- package/dist/cjs/zonos-card.cjs.entry.js +2 -2
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +33 -15
- package/dist/cjs/zonos-checkout.cjs.entry.js +56 -6
- package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +12 -7
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +4 -4
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
- package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-toggle.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-0b1d27df.js → zonosStore-188d96be.js} +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +24 -5
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +54 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +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.css +3 -9
- package/dist/collection/components/common/zonos-button/zonos-button.js +25 -3
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +2 -2
- package/dist/collection/components/main/zonos-controller.js +8 -3
- package/dist/collection/components/store/checkout/cart.js +10 -1
- package/dist/collection/components/store/checkout/stripe.js +32 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
- package/dist/collection/components/store/translationStore/strings.base.js +12 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
- package/dist/collection/components/store/translationStore/strings.french.js +12 -0
- package/dist/collection/components/store/translationStore/strings.german.js +12 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
- package/dist/collection/components/store/zonosStore.js +1 -0
- package/dist/collection/types/generated/graphql.internal.types.js +70 -4
- package/dist/esm/{cart-aee97bf4.js → cart-74d92be2.js} +284 -5
- package/dist/esm/{getBorderRadius-9e3ea1de.js → getBorderRadius-d2e68013.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isDarkColor-95f3ef90.js → isDarkColor-16e586a1.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{paypal-4ed46f2f.js → paypal-459383ae.js} +3 -3
- package/dist/esm/zonos-address_8.entry.js +4 -4
- package/dist/esm/zonos-badge.entry.js +1 -1
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +9 -7
- package/dist/esm/zonos-card.entry.js +2 -2
- package/dist/esm/zonos-cart-items_13.entry.js +33 -15
- package/dist/esm/zonos-checkout.entry.js +56 -6
- package/dist/esm/zonos-collapse.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +12 -7
- package/dist/esm/zonos-country-flag.entry.js +4 -4
- package/dist/esm/zonos-country-select_4.entry.js +4 -4
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-empty-state-payment_4.entry.js +5 -5
- package/dist/esm/zonos-hello-dialog.entry.js +4 -4
- package/dist/esm/zonos-hello.entry.js +4 -4
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-language-select_2.entry.js +4 -4
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-toggle.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm/{zonosStore-82bb17e6.js → zonosStore-4b574fcc.js} +1 -0
- package/dist/esm-es5/cart-74d92be2.js +1 -0
- package/dist/esm-es5/{getBorderRadius-9e3ea1de.js → getBorderRadius-d2e68013.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-95f3ef90.js → isDarkColor-16e586a1.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-4ed46f2f.js → paypal-459383ae.js} +1 -1
- package/dist/esm-es5/zonos-address_8.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_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.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_4.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-empty-state-payment_4.entry.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-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.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/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-82bb17e6.js → zonosStore-4b574fcc.js} +1 -1
- package/dist/scripts/index.d.ts +21 -0
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +5 -0
- package/dist/types/components/common/zonos-button/zonos-button.d.ts +4 -0
- package/dist/types/components/store/checkout/stripe.d.ts +9 -2
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -1
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +6 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +109 -16
- package/dist/types/types/generated/graphql.internal.types.ts +147 -21
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-5b6c5d04.js → p-000a41ab.js} +2 -2
- package/dist/zonos-elements/{p-9fcf4d8c.js → p-05a4d995.js} +1 -1
- package/dist/zonos-elements/p-08b4bd71.entry.js +1 -0
- package/dist/zonos-elements/{p-673d24f9.system.entry.js → p-0d30b20e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-972261dc.system.js → p-0e436c9d.system.js} +1 -1
- package/dist/zonos-elements/{p-88fc9989.entry.js → p-107bcbf5.entry.js} +1 -1
- package/dist/zonos-elements/p-13070bc0.system.js +1 -0
- package/dist/zonos-elements/{p-9c845327.system.entry.js → p-1448b57a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-84b2efef.entry.js → p-25f0a3d0.entry.js} +1 -1
- package/dist/zonos-elements/{p-2297c165.system.js → p-28325d38.system.js} +1 -1
- package/dist/zonos-elements/{p-84f71520.system.entry.js → p-290845c4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d3be144d.entry.js → p-2cfad1a2.entry.js} +1 -1
- package/dist/zonos-elements/{p-3a3a2f51.system.entry.js → p-2f17dd0a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-77026d4a.entry.js → p-34cd2879.entry.js} +1 -1
- package/dist/zonos-elements/{p-78ea3d1e.system.entry.js → p-3a4f77dd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-30852c16.system.entry.js → p-3a5348d9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-75b44616.entry.js → p-40fc4f98.entry.js} +1 -1
- package/dist/zonos-elements/{p-c901ef48.system.entry.js → p-423a25ee.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5892ce43.system.js → p-42e46be2.system.js} +1 -1
- package/dist/zonos-elements/p-43cb3e80.entry.js +1 -0
- package/dist/zonos-elements/p-46f6e5e9.system.js +1 -1
- package/dist/zonos-elements/{p-eefadc0d.system.entry.js → p-4fb44ae1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e1e17979.entry.js → p-536c5a47.entry.js} +1 -1
- package/dist/zonos-elements/{p-c8fa08b8.entry.js → p-61272f94.entry.js} +1 -1
- package/dist/zonos-elements/{p-75311708.system.entry.js → p-62a790cb.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3cbac6c3.system.entry.js → p-6b67039a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b4d04d26.system.entry.js → p-7534ed11.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2c45f733.system.entry.js → p-767527f6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-532afee0.system.js → p-82d5803d.system.js} +1 -1
- package/dist/zonos-elements/p-83c9aae7.js +1 -0
- package/dist/zonos-elements/{p-38967d3a.system.entry.js → p-89b50f7d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c071a4ca.entry.js → p-9308d8ad.entry.js} +1 -1
- package/dist/zonos-elements/p-98fbd95f.js +1 -0
- package/dist/zonos-elements/{p-5e867a64.system.entry.js → p-a25e15a0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-194bb37a.system.entry.js → p-ac6816b3.system.entry.js} +1 -1
- package/dist/zonos-elements/p-b0b4afdb.system.entry.js +1 -0
- package/dist/zonos-elements/{p-bd1a2003.entry.js → p-b1424255.entry.js} +1 -1
- package/dist/zonos-elements/{p-e47ed595.entry.js → p-b2f71850.entry.js} +1 -1
- package/dist/zonos-elements/p-b4dcb658.system.js +1 -0
- package/dist/zonos-elements/{p-5f761f09.system.entry.js → p-c6efea31.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c725a571.entry.js +1 -0
- package/dist/zonos-elements/{p-d3a452d4.system.entry.js → p-c84eb1e5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-822600bd.entry.js → p-ca216e7b.entry.js} +1 -1
- package/dist/zonos-elements/{p-c285d20c.js → p-d29e8aaa.js} +1 -1
- package/dist/zonos-elements/{p-28c3f736.system.entry.js → p-d68dd730.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-683d1598.entry.js → p-d705a5fb.entry.js} +1 -1
- package/dist/zonos-elements/p-dd3201f2.entry.js +1 -0
- package/dist/zonos-elements/{p-0160281f.entry.js → p-dd7a2d62.entry.js} +1 -1
- package/dist/zonos-elements/p-dfc11974.system.entry.js +1 -0
- package/dist/zonos-elements/{p-1262ad56.entry.js → p-e295baac.entry.js} +1 -1
- package/dist/zonos-elements/{p-7448f4a6.system.entry.js → p-e7def9ea.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7fe8c97d.entry.js → p-e9d7f9e7.entry.js} +1 -1
- package/dist/zonos-elements/{p-baa22bb3.entry.js → p-ed553eb2.entry.js} +1 -1
- package/dist/zonos-elements/{p-da404f8f.entry.js → p-f674d15a.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-aee97bf4.js +0 -1
- package/dist/zonos-elements/p-130a047c.entry.js +0 -1
- package/dist/zonos-elements/p-13579dba.entry.js +0 -1
- package/dist/zonos-elements/p-43b922bf.js +0 -1
- package/dist/zonos-elements/p-4bbf8931.entry.js +0 -1
- package/dist/zonos-elements/p-6d7dc2a2.system.entry.js +0 -1
- package/dist/zonos-elements/p-86da894d.js +0 -1
- package/dist/zonos-elements/p-bba01622.system.js +0 -1
- package/dist/zonos-elements/p-d1a57d82.system.entry.js +0 -1
- package/dist/zonos-elements/p-e477f1b1.entry.js +0 -1
- package/dist/zonos-elements/p-fb2a884f.system.js +0 -1
|
@@ -38,6 +38,9 @@ export declare const stringsSpanish: {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: string;
|
|
40
40
|
};
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: string;
|
|
43
46
|
};
|
|
@@ -56,6 +59,9 @@ export declare const stringsSpanish: {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: string;
|
|
58
61
|
};
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
59
65
|
Close: {
|
|
60
66
|
value: string;
|
|
61
67
|
};
|
|
@@ -212,6 +218,9 @@ export declare const stringsSpanish: {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: string;
|
|
214
220
|
};
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: string;
|
|
223
|
+
};
|
|
215
224
|
Payment: {
|
|
216
225
|
value: string;
|
|
217
226
|
};
|
|
@@ -389,6 +398,9 @@ export declare const stringsSpanish: {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: string;
|
|
391
400
|
};
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: string;
|
|
403
|
+
};
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: string;
|
|
394
406
|
};
|
|
@@ -38,6 +38,9 @@ export declare const stringsSwedish: {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: string;
|
|
40
40
|
};
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: string;
|
|
43
46
|
};
|
|
@@ -56,6 +59,9 @@ export declare const stringsSwedish: {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: string;
|
|
58
61
|
};
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
59
65
|
Close: {
|
|
60
66
|
value: string;
|
|
61
67
|
};
|
|
@@ -212,6 +218,9 @@ export declare const stringsSwedish: {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: string;
|
|
214
220
|
};
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: string;
|
|
223
|
+
};
|
|
215
224
|
Payment: {
|
|
216
225
|
value: string;
|
|
217
226
|
};
|
|
@@ -389,6 +398,9 @@ export declare const stringsSwedish: {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: string;
|
|
391
400
|
};
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: string;
|
|
403
|
+
};
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: string;
|
|
394
406
|
};
|
|
@@ -38,6 +38,9 @@ export declare const stringsTurkish: {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: string;
|
|
40
40
|
};
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: string;
|
|
43
46
|
};
|
|
@@ -56,6 +59,9 @@ export declare const stringsTurkish: {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: string;
|
|
58
61
|
};
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
59
65
|
Close: {
|
|
60
66
|
value: string;
|
|
61
67
|
};
|
|
@@ -212,6 +218,9 @@ export declare const stringsTurkish: {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: string;
|
|
214
220
|
};
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: string;
|
|
223
|
+
};
|
|
215
224
|
Payment: {
|
|
216
225
|
value: string;
|
|
217
226
|
};
|
|
@@ -389,6 +398,9 @@ export declare const stringsTurkish: {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: string;
|
|
391
400
|
};
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: string;
|
|
403
|
+
};
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: string;
|
|
394
406
|
};
|
|
@@ -38,6 +38,9 @@ export declare const stringsVietnamese: {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: string;
|
|
40
40
|
};
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: string;
|
|
43
46
|
};
|
|
@@ -56,6 +59,9 @@ export declare const stringsVietnamese: {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: string;
|
|
58
61
|
};
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
59
65
|
Close: {
|
|
60
66
|
value: string;
|
|
61
67
|
};
|
|
@@ -212,6 +218,9 @@ export declare const stringsVietnamese: {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: string;
|
|
214
220
|
};
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: string;
|
|
223
|
+
};
|
|
215
224
|
Payment: {
|
|
216
225
|
value: string;
|
|
217
226
|
};
|
|
@@ -389,6 +398,9 @@ export declare const stringsVietnamese: {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: string;
|
|
391
400
|
};
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: string;
|
|
403
|
+
};
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: string;
|
|
394
406
|
};
|
|
@@ -184,6 +184,10 @@ export namespace Components {
|
|
|
184
184
|
* The color of the button **NOTE**: If the button `variant` is set to 'standard', backgroundColor will be disregarded
|
|
185
185
|
*/
|
|
186
186
|
"backgroundColor"?: Color | (string & { _placeholder?: never });
|
|
187
|
+
/**
|
|
188
|
+
* Whether or not the button text color is bold
|
|
189
|
+
*/
|
|
190
|
+
"bold": boolean;
|
|
187
191
|
/**
|
|
188
192
|
* The border style of the button
|
|
189
193
|
* @default ROUNDED
|
|
@@ -1901,6 +1905,10 @@ declare namespace LocalJSX {
|
|
|
1901
1905
|
* The color of the button **NOTE**: If the button `variant` is set to 'standard', backgroundColor will be disregarded
|
|
1902
1906
|
*/
|
|
1903
1907
|
"backgroundColor"?: Color | (string & { _placeholder?: never });
|
|
1908
|
+
/**
|
|
1909
|
+
* Whether or not the button text color is bold
|
|
1910
|
+
*/
|
|
1911
|
+
"bold"?: boolean;
|
|
1904
1912
|
/**
|
|
1905
1913
|
* The border style of the button
|
|
1906
1914
|
* @default ROUNDED
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CartItem } from "../../components/store/checkout/cart";
|
|
2
2
|
import type { BuildLandedCostParams, BuildLandedCostResponse } from "../../components/utils/api/triggerBuildLandedCost";
|
|
3
|
-
import type { AnalyticsProviderStatus, AnalyticsProviderType, CheckoutSubscriptionStatus, CheckoutSuccessBehavior, CheckoutVisibilityStatus, CountryCode, CurrencyCode, ExternalPaymentMethodStatus, ExternalPaymentMethodType, ExternalServiceTokenType, GetOrderQuery, Mode, NotificationActiveStatus } from "../generated/graphql.internal.types";
|
|
3
|
+
import type { AllowedSettlementCurrencies, AnalyticsProviderStatus, AnalyticsProviderType, CheckoutSubscriptionStatus, CheckoutSuccessBehavior, CheckoutVisibilityStatus, CountryCode, CurrencyCode, ExternalPaymentMethodStatus, ExternalPaymentMethodType, ExternalServiceTokenType, GetOrderQuery, Mode, NotificationActiveStatus } from "../generated/graphql.internal.types";
|
|
4
4
|
export declare const checkoutHiddenBtnSelector = "zonos--checkout-hidden-button";
|
|
5
5
|
export declare const domesticRedirectedBtnSelector = "zonos--domestic-redirected-checkout-button";
|
|
6
6
|
export type ZonosOrder = GetOrderQuery['order'];
|
|
@@ -34,6 +34,11 @@ export type CheckoutConfig = {
|
|
|
34
34
|
* @default ALL
|
|
35
35
|
*/
|
|
36
36
|
allowedCharacterSets?: 'ALL' | 'LATIN';
|
|
37
|
+
/**
|
|
38
|
+
* Enable settlement currencies to pay in USD
|
|
39
|
+
* @default LOCAL
|
|
40
|
+
*/
|
|
41
|
+
allowedSettlementCurrencies: AllowedSettlementCurrencies;
|
|
37
42
|
analyticsProviders: Array<{
|
|
38
43
|
status: AnalyticsProviderStatus;
|
|
39
44
|
type: AnalyticsProviderType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CheckoutSessionPaymentIntentCreateMutation, CountryCode, GetCheckoutSessionQuery } from "../../generated/graphql.internal.types";
|
|
1
|
+
import type { CheckoutSessionBaseCurrencyUpdateMutation, CheckoutSessionPaymentIntentCreateMutation, CountryCode, CurrencyCode, GetCheckoutSessionQuery } from "../../generated/graphql.internal.types";
|
|
2
2
|
export type GetCheckoutSessionRequest = {
|
|
3
3
|
checkoutSessionId: string;
|
|
4
4
|
};
|
|
@@ -38,3 +38,8 @@ export type PaymentIntentCreateRequest = {
|
|
|
38
38
|
checkoutSessionId: string;
|
|
39
39
|
};
|
|
40
40
|
export type PaymentIntentCreateResponse = CheckoutSessionPaymentIntentCreateMutation;
|
|
41
|
+
export type CheckoutSessionBaseCurrencyUpdatePayload = {
|
|
42
|
+
checkoutSessionId: string;
|
|
43
|
+
currencyCode: CurrencyCode;
|
|
44
|
+
};
|
|
45
|
+
export type CheckoutSessionBaseCurrencyUpdateResponse = CheckoutSessionBaseCurrencyUpdateMutation;
|
|
@@ -1257,11 +1257,6 @@ export declare const currencySymbolLocation: {
|
|
|
1257
1257
|
readonly Before: "BEFORE";
|
|
1258
1258
|
};
|
|
1259
1259
|
export type CurrencySymbolLocation = (typeof currencySymbolLocation)[keyof typeof currencySymbolLocation];
|
|
1260
|
-
export declare const currencyVisibilityStatus: {
|
|
1261
|
-
readonly All: "ALL";
|
|
1262
|
-
readonly Destination: "DESTINATION";
|
|
1263
|
-
};
|
|
1264
|
-
export type CurrencyVisibilityStatus = (typeof currencyVisibilityStatus)[keyof typeof currencyVisibilityStatus];
|
|
1265
1260
|
export declare const customsDocumentCarrier: {
|
|
1266
1261
|
readonly Dhl: "DHL";
|
|
1267
1262
|
readonly Fedex: "FEDEX";
|
|
@@ -1858,28 +1853,101 @@ export declare const itemValueSource: {
|
|
|
1858
1853
|
readonly UserProvided: "USER_PROVIDED";
|
|
1859
1854
|
};
|
|
1860
1855
|
export type ItemValueSource = (typeof itemValueSource)[keyof typeof itemValueSource];
|
|
1856
|
+
export declare const labelAlcoholRecipientType: {
|
|
1857
|
+
readonly Consumer: "CONSUMER";
|
|
1858
|
+
readonly Licensee: "LICENSEE";
|
|
1859
|
+
};
|
|
1860
|
+
export type LabelAlcoholRecipientType = (typeof labelAlcoholRecipientType)[keyof typeof labelAlcoholRecipientType];
|
|
1861
1861
|
export declare const labelAmountType: {
|
|
1862
|
+
readonly Discount: "DISCOUNT";
|
|
1862
1863
|
readonly Fee: "FEE";
|
|
1863
1864
|
readonly Insurance: "INSURANCE";
|
|
1864
1865
|
readonly Quote: "QUOTE";
|
|
1865
1866
|
};
|
|
1866
1867
|
export type LabelAmountType = (typeof labelAmountType)[keyof typeof labelAmountType];
|
|
1868
|
+
export declare const labelBatteryMaterialType: {
|
|
1869
|
+
readonly LithiumIon: "LITHIUM_ION";
|
|
1870
|
+
readonly LithiumMetal: "LITHIUM_METAL";
|
|
1871
|
+
};
|
|
1872
|
+
export type LabelBatteryMaterialType = (typeof labelBatteryMaterialType)[keyof typeof labelBatteryMaterialType];
|
|
1873
|
+
export declare const labelBatteryPackingType: {
|
|
1874
|
+
readonly BatteryInsideEquipment: "BATTERY_INSIDE_EQUIPMENT";
|
|
1875
|
+
readonly BatteryOnly: "BATTERY_ONLY";
|
|
1876
|
+
readonly BatteryPackagedWithEquipment: "BATTERY_PACKAGED_WITH_EQUIPMENT";
|
|
1877
|
+
};
|
|
1878
|
+
export type LabelBatteryPackingType = (typeof labelBatteryPackingType)[keyof typeof labelBatteryPackingType];
|
|
1879
|
+
export declare const labelCarrierCode: {
|
|
1880
|
+
readonly Apc: "APC";
|
|
1881
|
+
readonly Dhl: "DHL";
|
|
1882
|
+
readonly DirectLink: "DIRECT_LINK";
|
|
1883
|
+
readonly Fedex: "FEDEX";
|
|
1884
|
+
readonly Fedexxb: "FEDEXXB";
|
|
1885
|
+
readonly Ups: "UPS";
|
|
1886
|
+
readonly Usps: "USPS";
|
|
1887
|
+
};
|
|
1888
|
+
export type LabelCarrierCode = (typeof labelCarrierCode)[keyof typeof labelCarrierCode];
|
|
1867
1889
|
export declare const labelFileType: {
|
|
1868
1890
|
readonly Pdf: "PDF";
|
|
1869
1891
|
readonly Zpl: "ZPL";
|
|
1870
1892
|
};
|
|
1871
1893
|
export type LabelFileType = (typeof labelFileType)[keyof typeof labelFileType];
|
|
1894
|
+
export declare const labelGuaranteeCode: {
|
|
1895
|
+
readonly Lcg: "LCG";
|
|
1896
|
+
readonly NotApplicable: "NOT_APPLICABLE";
|
|
1897
|
+
};
|
|
1898
|
+
export type LabelGuaranteeCode = (typeof labelGuaranteeCode)[keyof typeof labelGuaranteeCode];
|
|
1899
|
+
export declare const labelSignatureOptionType: {
|
|
1900
|
+
readonly Adult: "ADULT";
|
|
1901
|
+
readonly Default: "DEFAULT";
|
|
1902
|
+
readonly Direct: "DIRECT";
|
|
1903
|
+
readonly Indirect: "INDIRECT";
|
|
1904
|
+
readonly None: "NONE";
|
|
1905
|
+
};
|
|
1906
|
+
export type LabelSignatureOptionType = (typeof labelSignatureOptionType)[keyof typeof labelSignatureOptionType];
|
|
1872
1907
|
export declare const labelSize: {
|
|
1873
1908
|
readonly EightByEleven: "EIGHT_BY_ELEVEN";
|
|
1874
1909
|
readonly FourByEight: "FOUR_BY_EIGHT";
|
|
1875
1910
|
readonly FourBySix: "FOUR_BY_SIX";
|
|
1876
1911
|
};
|
|
1877
1912
|
export type LabelSize = (typeof labelSize)[keyof typeof labelSize];
|
|
1913
|
+
export declare const labelSpecialServiceType: {
|
|
1914
|
+
readonly Alcohol: "ALCOHOL";
|
|
1915
|
+
readonly Battery: "BATTERY";
|
|
1916
|
+
readonly DangerousGoods: "DANGEROUS_GOODS";
|
|
1917
|
+
readonly DryIce: "DRY_ICE";
|
|
1918
|
+
readonly SignatureOption: "SIGNATURE_OPTION";
|
|
1919
|
+
};
|
|
1920
|
+
export type LabelSpecialServiceType = (typeof labelSpecialServiceType)[keyof typeof labelSpecialServiceType];
|
|
1878
1921
|
export declare const labelStatusType: {
|
|
1879
1922
|
readonly Created: "CREATED";
|
|
1880
1923
|
readonly Voided: "VOIDED";
|
|
1881
1924
|
};
|
|
1882
1925
|
export type LabelStatusType = (typeof labelStatusType)[keyof typeof labelStatusType];
|
|
1926
|
+
export declare const labelTaxIdType: {
|
|
1927
|
+
readonly Cnp: "CNP";
|
|
1928
|
+
readonly Dan: "DAN";
|
|
1929
|
+
readonly Dtf: "DTF";
|
|
1930
|
+
readonly Dun: "DUN";
|
|
1931
|
+
readonly Ein: "EIN";
|
|
1932
|
+
readonly Eori: "EORI";
|
|
1933
|
+
readonly Fed: "FED";
|
|
1934
|
+
readonly Ftz: "FTZ";
|
|
1935
|
+
readonly Gst: "GST";
|
|
1936
|
+
readonly Hmrc: "HMRC";
|
|
1937
|
+
readonly Ioss: "IOSS";
|
|
1938
|
+
readonly Lvg: "LVG";
|
|
1939
|
+
readonly Osr: "OSR";
|
|
1940
|
+
readonly Ssn: "SSN";
|
|
1941
|
+
readonly Sta: "STA";
|
|
1942
|
+
readonly Tan: "TAN";
|
|
1943
|
+
readonly Voec: "VOEC";
|
|
1944
|
+
};
|
|
1945
|
+
export type LabelTaxIdType = (typeof labelTaxIdType)[keyof typeof labelTaxIdType];
|
|
1946
|
+
export declare const labelTermType: {
|
|
1947
|
+
readonly Dap: "DAP";
|
|
1948
|
+
readonly Ddp: "DDP";
|
|
1949
|
+
};
|
|
1950
|
+
export type LabelTermType = (typeof labelTermType)[keyof typeof labelTermType];
|
|
1883
1951
|
export declare const landedCostAdjustmentType: {
|
|
1884
1952
|
readonly CartTotal: "CART_TOTAL";
|
|
1885
1953
|
readonly Item: "ITEM";
|
|
@@ -2181,7 +2249,9 @@ export declare const orderBillingAdjustmentFeeType: {
|
|
|
2181
2249
|
readonly Country: "COUNTRY";
|
|
2182
2250
|
readonly CurrencyConversionFee: "CURRENCY_CONVERSION_FEE";
|
|
2183
2251
|
readonly DdpServiceFee: "DDP_SERVICE_FEE";
|
|
2252
|
+
readonly Discount: "DISCOUNT";
|
|
2184
2253
|
readonly Duty: "DUTY";
|
|
2254
|
+
readonly DutyTaxFee: "DUTY_TAX_FEE";
|
|
2185
2255
|
readonly FxFee: "FX_FEE";
|
|
2186
2256
|
readonly FxFeeNonRefundedAmounts: "FX_FEE_NON_REFUNDED_AMOUNTS";
|
|
2187
2257
|
readonly InclusivePriceAdjustment: "INCLUSIVE_PRICE_ADJUSTMENT";
|
|
@@ -2326,6 +2396,7 @@ export type PartyType = (typeof partyType)[keyof typeof partyType];
|
|
|
2326
2396
|
export declare const paymentProcessorCode: {
|
|
2327
2397
|
readonly Paypal: "PAYPAL";
|
|
2328
2398
|
readonly Stripe: "STRIPE";
|
|
2399
|
+
readonly StripeTransfer: "STRIPE_TRANSFER";
|
|
2329
2400
|
};
|
|
2330
2401
|
export type PaymentProcessorCode = (typeof paymentProcessorCode)[keyof typeof paymentProcessorCode];
|
|
2331
2402
|
export declare const paymentType: {
|
|
@@ -2977,7 +3048,10 @@ export type CartCalculateLandedCostMutation = {
|
|
|
2977
3048
|
}> | null;
|
|
2978
3049
|
landedCostCalculateWorkflow: Array<{
|
|
2979
3050
|
amountSubtotals: {
|
|
3051
|
+
discounts: number | null;
|
|
3052
|
+
items: number;
|
|
2980
3053
|
landedCostTotal: number;
|
|
3054
|
+
shipping: number;
|
|
2981
3055
|
} | null;
|
|
2982
3056
|
landedCostGuaranteeCode: LandedCostGuaranteeCode;
|
|
2983
3057
|
deMinimis: Array<{
|
|
@@ -3087,7 +3161,10 @@ export type CalculateLandedCostMutation = {
|
|
|
3087
3161
|
}>;
|
|
3088
3162
|
landedCostCalculateWorkflow: Array<{
|
|
3089
3163
|
amountSubtotals: {
|
|
3164
|
+
discounts: number | null;
|
|
3165
|
+
items: number;
|
|
3090
3166
|
landedCostTotal: number;
|
|
3167
|
+
shipping: number;
|
|
3091
3168
|
} | null;
|
|
3092
3169
|
appliedAdjustments: Array<{
|
|
3093
3170
|
adjustment: {
|
|
@@ -3187,7 +3264,10 @@ export type CheckoutPresentmentFragment = {
|
|
|
3187
3264
|
};
|
|
3188
3265
|
export type LandedCostFragment = {
|
|
3189
3266
|
amountSubtotals: {
|
|
3267
|
+
discounts: number | null;
|
|
3268
|
+
items: number;
|
|
3190
3269
|
landedCostTotal: number;
|
|
3270
|
+
shipping: number;
|
|
3191
3271
|
} | null;
|
|
3192
3272
|
appliedAdjustments: Array<{
|
|
3193
3273
|
adjustment: {
|
|
@@ -3511,6 +3591,14 @@ export type ShippingZonesQuery = {
|
|
|
3511
3591
|
countryCodes: Array<CountryCode> | null;
|
|
3512
3592
|
} | null> | null;
|
|
3513
3593
|
};
|
|
3594
|
+
export type CheckoutSessionBaseCurrencyUpdateMutation = {
|
|
3595
|
+
checkoutSessionBaseCurrencyUpdate: {
|
|
3596
|
+
subtotals: {
|
|
3597
|
+
presentmentCurrencyCode: CurrencyCode;
|
|
3598
|
+
total: number;
|
|
3599
|
+
};
|
|
3600
|
+
};
|
|
3601
|
+
};
|
|
3514
3602
|
export type CheckoutSessionUpdateMetadataMutation = {
|
|
3515
3603
|
checkoutSessionUpdate: {
|
|
3516
3604
|
id: string;
|
|
@@ -3631,6 +3719,7 @@ export type ZonosSettingsQuery = {
|
|
|
3631
3719
|
} | null;
|
|
3632
3720
|
checkoutSettings: {
|
|
3633
3721
|
allowedCharacterSets: AllowedCharacterSets;
|
|
3722
|
+
allowedSettlementCurrencies: AllowedSettlementCurrencies;
|
|
3634
3723
|
analyticsProviders: Array<{
|
|
3635
3724
|
status: AnalyticsProviderStatus;
|
|
3636
3725
|
type: AnalyticsProviderType;
|
|
@@ -3640,13 +3729,16 @@ export type ZonosSettingsQuery = {
|
|
|
3640
3729
|
customHTML: string;
|
|
3641
3730
|
defaultCartExpiration: number;
|
|
3642
3731
|
disabledCountries: Array<CountryCode> | null;
|
|
3732
|
+
externalPaymentMethods: Array<{
|
|
3733
|
+
status: ExternalPaymentMethodStatus;
|
|
3734
|
+
type: ExternalPaymentMethodType;
|
|
3735
|
+
}> | null;
|
|
3643
3736
|
externalServiceTokens: Array<{
|
|
3644
3737
|
token: string;
|
|
3645
3738
|
type: ExternalServiceTokenType;
|
|
3646
3739
|
}>;
|
|
3647
|
-
mode: Mode;
|
|
3648
3740
|
id: string;
|
|
3649
|
-
|
|
3741
|
+
mode: Mode;
|
|
3650
3742
|
orderNotifications: {
|
|
3651
3743
|
abandonedCart: {
|
|
3652
3744
|
delay: number;
|
|
@@ -3670,10 +3762,7 @@ export type ZonosSettingsQuery = {
|
|
|
3670
3762
|
subscriptionStatus: CheckoutSubscriptionStatus;
|
|
3671
3763
|
successBehavior: CheckoutSuccessBehavior;
|
|
3672
3764
|
successRedirectUrl: string;
|
|
3673
|
-
|
|
3674
|
-
status: ExternalPaymentMethodStatus;
|
|
3675
|
-
type: ExternalPaymentMethodType;
|
|
3676
|
-
}> | null;
|
|
3765
|
+
updatedAt: string;
|
|
3677
3766
|
updatedBy: string;
|
|
3678
3767
|
visibilityStatus: CheckoutVisibilityStatus;
|
|
3679
3768
|
} | null;
|
|
@@ -3718,6 +3807,7 @@ export type ZonosSettingsQuery = {
|
|
|
3718
3807
|
};
|
|
3719
3808
|
export type CheckoutSettingFragment = {
|
|
3720
3809
|
allowedCharacterSets: AllowedCharacterSets;
|
|
3810
|
+
allowedSettlementCurrencies: AllowedSettlementCurrencies;
|
|
3721
3811
|
analyticsProviders: Array<{
|
|
3722
3812
|
status: AnalyticsProviderStatus;
|
|
3723
3813
|
type: AnalyticsProviderType;
|
|
@@ -3727,16 +3817,16 @@ export type CheckoutSettingFragment = {
|
|
|
3727
3817
|
customHTML: string;
|
|
3728
3818
|
defaultCartExpiration: number;
|
|
3729
3819
|
disabledCountries: Array<CountryCode> | null;
|
|
3730
|
-
|
|
3820
|
+
externalPaymentMethods: Array<{
|
|
3821
|
+
status: ExternalPaymentMethodStatus;
|
|
3822
|
+
type: ExternalPaymentMethodType;
|
|
3823
|
+
}> | null;
|
|
3731
3824
|
externalServiceTokens: Array<{
|
|
3732
3825
|
token: string;
|
|
3733
3826
|
type: ExternalServiceTokenType;
|
|
3734
3827
|
}>;
|
|
3735
3828
|
id: string;
|
|
3736
|
-
|
|
3737
|
-
status: ExternalPaymentMethodStatus;
|
|
3738
|
-
type: ExternalPaymentMethodType;
|
|
3739
|
-
}> | null;
|
|
3829
|
+
mode: Mode;
|
|
3740
3830
|
orderNotifications: {
|
|
3741
3831
|
abandonedCart: {
|
|
3742
3832
|
delay: number;
|
|
@@ -4115,6 +4205,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4115
4205
|
checkItemRestrictions(variables?: {
|
|
4116
4206
|
[x: string]: never;
|
|
4117
4207
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckItemRestrictionsMutation>;
|
|
4208
|
+
checkoutSessionBaseCurrencyUpdate(variables?: {
|
|
4209
|
+
[x: string]: never;
|
|
4210
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionBaseCurrencyUpdateMutation>;
|
|
4118
4211
|
checkoutSessionCreate(variables?: {
|
|
4119
4212
|
[x: string]: never;
|
|
4120
4213
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionCreateMutation>;
|