@zonos/elements 1.3.36 → 1.3.38
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/README.md +6 -6
- package/dist/cjs/{cart-401b6d32.js → cart-c7212410.js} +309 -199
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{submitGtag-bc6af393.js → submitGtag-7a679d92.js} +1 -1
- package/dist/cjs/zonos-address_8.cjs.entry.js +3 -3
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +2 -2
- package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +7 -9
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +35 -14
- package/dist/cjs/zonos-hello.cjs.entry.js +7 -1
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-notification_2.cjs.entry.js +2 -2
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +4 -6
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +23 -0
- package/dist/collection/components/hello/zonos-hello-dialog/assets/inclusivePricingIcon.svg +8 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +28 -14
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/store/hello/localization.js +37 -0
- package/dist/collection/components/store/translationStore/strings.arabic.js +13 -10
- package/dist/collection/components/store/translationStore/strings.base.js +13 -10
- package/dist/collection/components/store/translationStore/strings.chinese.js +13 -10
- package/dist/collection/components/store/translationStore/strings.danish.js +13 -10
- package/dist/collection/components/store/translationStore/strings.dutch.js +13 -10
- package/dist/collection/components/store/translationStore/strings.french.js +13 -10
- package/dist/collection/components/store/translationStore/strings.german.js +13 -10
- package/dist/collection/components/store/translationStore/strings.hebrew.js +13 -10
- package/dist/collection/components/store/translationStore/strings.indonesian.js +13 -10
- package/dist/collection/components/store/translationStore/strings.italian.js +13 -10
- package/dist/collection/components/store/translationStore/strings.japanese.js +12 -9
- package/dist/collection/components/store/translationStore/strings.korean.js +13 -10
- package/dist/collection/components/store/translationStore/strings.norwegian.js +13 -10
- package/dist/collection/components/store/translationStore/strings.polish.js +13 -10
- package/dist/collection/components/store/translationStore/strings.portuguese.js +13 -10
- package/dist/collection/components/store/translationStore/strings.russian.js +13 -10
- package/dist/collection/components/store/translationStore/strings.spanish.js +13 -10
- package/dist/collection/components/store/translationStore/strings.swedish.js +13 -10
- package/dist/collection/components/store/translationStore/strings.turkish.js +13 -10
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +13 -10
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/api/getInclusivePricing.js +15 -0
- package/dist/collection/types/generated/graphql.customer.types.js +65 -9
- package/dist/collection/types/generated/graphql.frontend.types.js +4 -0
- package/dist/esm/{cart-f29968a8.js → cart-eb75b113.js} +309 -199
- package/dist/esm/index.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{submitGtag-fcfd5cf4.js → submitGtag-0bc0baa0.js} +1 -1
- package/dist/esm/zonos-address_8.entry.js +3 -3
- package/dist/esm/zonos-cart-items_12.entry.js +2 -2
- package/dist/esm/zonos-checkout.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +2 -2
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_3.entry.js +7 -9
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +36 -15
- package/dist/esm/zonos-hello.entry.js +7 -1
- package/dist/esm/zonos-language-select_2.entry.js +1 -1
- package/dist/esm/zonos-notification_2.entry.js +2 -2
- package/dist/esm-es5/cart-eb75b113.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{submitGtag-fcfd5cf4.js → submitGtag-0bc0baa0.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.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-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_2.entry.js +1 -1
- package/dist/scripts/index.d.ts +62 -7
- 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/hello/zonos-hello/zonos-hello.d.ts +4 -0
- package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +1 -0
- package/dist/types/components/store/hello/localization.d.ts +2 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.base.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.danish.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.french.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.german.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.italian.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.korean.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.polish.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.russian.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +8 -5
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +8 -5
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/utils/api/getInclusivePricing.d.ts +8 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components.d.ts +4 -0
- package/dist/types/types/generated/graphql.customer.types.d.ts +85 -12
- package/dist/types/types/generated/graphql.customer.types.ts +111 -14
- package/dist/types/types/generated/graphql.frontend.types.d.ts +5 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +7 -1
- package/dist/types/types/hello/HelloConfig.d.ts +6 -0
- package/dist/zonos-elements/assets/inclusivePricingIcon.svg +8 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-4d95b4f4.system.entry.js → p-02405211.system.entry.js} +1 -1
- package/dist/zonos-elements/p-085548f2.entry.js +1 -0
- package/dist/zonos-elements/{p-eea3ec17.entry.js → p-18b28104.entry.js} +1 -1
- package/dist/zonos-elements/{p-2cee5f3a.system.entry.js → p-357322ea.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c9062536.system.entry.js → p-3f5e2e5c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-38f882ea.system.entry.js → p-467f934c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b723a1d.js → p-53acc999.js} +1 -1
- package/dist/zonos-elements/{p-6b06ac3d.entry.js → p-548ac127.entry.js} +1 -1
- package/dist/zonos-elements/{p-f9931ad1.system.entry.js → p-5609876a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6ec40c8f.entry.js → p-57617755.entry.js} +1 -1
- package/dist/zonos-elements/{p-bf9578d3.entry.js → p-59f37de3.entry.js} +1 -1
- package/dist/zonos-elements/{p-e0709be2.entry.js → p-62ed4236.entry.js} +1 -1
- package/dist/zonos-elements/{p-8363436f.entry.js → p-6f9448bb.entry.js} +1 -1
- package/dist/zonos-elements/{p-1fbf0527.system.js → p-70262120.system.js} +1 -1
- package/dist/zonos-elements/p-878293fe.js +1 -0
- package/dist/zonos-elements/{p-62e21e2b.system.entry.js → p-8acdf43b.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9d29f3f4.system.entry.js +1 -0
- package/dist/zonos-elements/{p-d410ef50.system.entry.js → p-a21ec316.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a8b934c2.entry.js +1 -0
- package/dist/zonos-elements/p-abe8ea12.system.js +1 -0
- package/dist/zonos-elements/{p-1c2de5da.system.js → p-ad37d20e.system.js} +1 -1
- package/dist/zonos-elements/{p-e4ef71bd.entry.js → p-ae04d3ff.entry.js} +1 -1
- package/dist/zonos-elements/{p-891d2c76.system.entry.js → p-b684f8aa.system.entry.js} +1 -1
- package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
- package/dist/zonos-elements/p-e1db1bc9.entry.js +1 -0
- package/dist/zonos-elements/{p-5ce19bce.system.entry.js → p-f06bb776.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +5 -3
- package/dist/esm-es5/cart-f29968a8.js +0 -1
- package/dist/zonos-elements/p-2947c138.js +0 -1
- package/dist/zonos-elements/p-60f7bcee.entry.js +0 -1
- package/dist/zonos-elements/p-91635589.system.js +0 -1
- package/dist/zonos-elements/p-952e331c.entry.js +0 -1
- package/dist/zonos-elements/p-c0efa3a3.system.entry.js +0 -1
- package/dist/zonos-elements/p-cfe9c940.entry.js +0 -1
|
@@ -68,14 +68,14 @@ export const stringsTurkish = {
|
|
|
68
68
|
"Don't close": {
|
|
69
69
|
value: 'Kapatma',
|
|
70
70
|
},
|
|
71
|
-
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
72
|
-
value: "Avustralya'da gümrük vergileri ve vergiler, KDV veya GST [percentage] olup tüm siparişlerde
|
|
71
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
|
|
72
|
+
value: "Avustralya'da gümrük vergileri ve vergiler, KDV veya GST [percentage] olup tüm siparişlerde ödenir.",
|
|
73
73
|
},
|
|
74
74
|
'Duties and taxes will be applied to items and shipping.': {
|
|
75
75
|
value: 'Ürünlere ve kargoya vergi ve gümrük vergisi uygulanacak.',
|
|
76
76
|
},
|
|
77
|
-
'Duties will apply to all orders': {
|
|
78
|
-
value: '
|
|
77
|
+
'Duties will apply to all orders.': {
|
|
78
|
+
value: 'Tüm siparişlere gümrük vergisi uygulanacaktır.',
|
|
79
79
|
},
|
|
80
80
|
'Duties, taxes, and fees': {
|
|
81
81
|
value: 'Gümrük vergisi, vergiler ve ücretler',
|
|
@@ -182,6 +182,9 @@ export const stringsTurkish = {
|
|
|
182
182
|
'Prepay duties and taxes at checkout': {
|
|
183
183
|
value: 'Ödemede vergi ve gümrük vergisini önceden öde',
|
|
184
184
|
},
|
|
185
|
+
'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
|
|
186
|
+
value: 'Ürün fiyatları zaten gümrük vergileri, vergiler ve ücretleri içermektedir. Nadir istisnalar dışında, ödeme sırasında ek gümrük vergisi veya vergi eklenmeyecektir.',
|
|
187
|
+
},
|
|
185
188
|
Reload: {
|
|
186
189
|
value: 'Yeniden yükle',
|
|
187
190
|
},
|
|
@@ -224,11 +227,11 @@ export const stringsTurkish = {
|
|
|
224
227
|
'Something went wrong.': {
|
|
225
228
|
value: 'Bir şeyler yanlış gitti.',
|
|
226
229
|
},
|
|
227
|
-
'Spend [threshold] duty free': {
|
|
228
|
-
value: '[threshold] gümrüksüz
|
|
230
|
+
'Spend [threshold] duty free.': {
|
|
231
|
+
value: '[threshold] gümrüksüz harcayın.',
|
|
229
232
|
},
|
|
230
|
-
'Spend [threshold] tax free': {
|
|
231
|
-
value: '[threshold]
|
|
233
|
+
'Spend [threshold] tax free.': {
|
|
234
|
+
value: '[threshold] vergi ödemeden harcayın.',
|
|
232
235
|
},
|
|
233
236
|
State: {
|
|
234
237
|
value: 'Eyalet',
|
|
@@ -239,8 +242,8 @@ export const stringsTurkish = {
|
|
|
239
242
|
Success: {
|
|
240
243
|
value: 'Başarı',
|
|
241
244
|
},
|
|
242
|
-
'Taxes will apply to all orders': {
|
|
243
|
-
value: '
|
|
245
|
+
'Taxes will apply to all orders.': {
|
|
246
|
+
value: 'Tüm siparişlere vergi uygulanacaktır.',
|
|
244
247
|
},
|
|
245
248
|
'Test cards': {
|
|
246
249
|
value: 'Test kartları',
|
|
@@ -68,14 +68,14 @@ export const stringsVietnamese = {
|
|
|
68
68
|
"Don't close": {
|
|
69
69
|
value: 'Đừng đóng',
|
|
70
70
|
},
|
|
71
|
-
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
72
|
-
value: 'Thuế và phí
|
|
71
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
|
|
72
|
+
value: 'Thuế và phí tại Úc, VAT hoặc GST là [percentage] và phải trả cho tất cả các đơn hàng.',
|
|
73
73
|
},
|
|
74
74
|
'Duties and taxes will be applied to items and shipping.': {
|
|
75
75
|
value: 'Thuế và phí sẽ được áp dụng cho hàng hóa và vận chuyển.',
|
|
76
76
|
},
|
|
77
|
-
'Duties will apply to all orders': {
|
|
78
|
-
value: 'Thuế
|
|
77
|
+
'Duties will apply to all orders.': {
|
|
78
|
+
value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
|
|
79
79
|
},
|
|
80
80
|
'Duties, taxes, and fees': {
|
|
81
81
|
value: 'Thuế, phí và lệ phí',
|
|
@@ -182,6 +182,9 @@ export const stringsVietnamese = {
|
|
|
182
182
|
'Prepay duties and taxes at checkout': {
|
|
183
183
|
value: 'Thanh toán trước thuế và phí khi thanh toán',
|
|
184
184
|
},
|
|
185
|
+
'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
|
|
186
|
+
value: 'Giá sản phẩm đã bao gồm thuế, phí và lệ phí. Không có thuế hoặc phí bổ sung nào sẽ được thêm vào khi thanh toán, ngoại trừ một số trường hợp hiếm hoi.',
|
|
187
|
+
},
|
|
185
188
|
Reload: {
|
|
186
189
|
value: 'Tải lại',
|
|
187
190
|
},
|
|
@@ -224,11 +227,11 @@ export const stringsVietnamese = {
|
|
|
224
227
|
'Something went wrong.': {
|
|
225
228
|
value: 'Đã xảy ra lỗi.',
|
|
226
229
|
},
|
|
227
|
-
'Spend [threshold] duty free': {
|
|
228
|
-
value: 'Chi tiêu [threshold] miễn
|
|
230
|
+
'Spend [threshold] duty free.': {
|
|
231
|
+
value: 'Chi tiêu [threshold] miễn thuế.',
|
|
229
232
|
},
|
|
230
|
-
'Spend [threshold] tax free': {
|
|
231
|
-
value: 'Chi tiêu [threshold] miễn
|
|
233
|
+
'Spend [threshold] tax free.': {
|
|
234
|
+
value: 'Chi tiêu [threshold] miễn thuế.',
|
|
232
235
|
},
|
|
233
236
|
State: {
|
|
234
237
|
value: 'Bang',
|
|
@@ -239,8 +242,8 @@ export const stringsVietnamese = {
|
|
|
239
242
|
Success: {
|
|
240
243
|
value: 'Thành công',
|
|
241
244
|
},
|
|
242
|
-
'Taxes will apply to all orders': {
|
|
243
|
-
value: 'Thuế sẽ áp dụng cho tất cả đơn hàng',
|
|
245
|
+
'Taxes will apply to all orders.': {
|
|
246
|
+
value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
|
|
244
247
|
},
|
|
245
248
|
'Test cards': {
|
|
246
249
|
value: 'Thẻ kiểm tra',
|
|
@@ -135,7 +135,7 @@ export class ZonosAddress {
|
|
|
135
135
|
}
|
|
136
136
|
render() {
|
|
137
137
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
138
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: 'f5729bb12351fedbb82e0fa80a7f094faad3a526', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'b2c50846e6da81a598ba670b14d01861703e5c78', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'bb401f27626d88d883aaaab71bc0907a28bf35d3', class: "zonos--address-component" })));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "zonos-address"; }
|
|
141
141
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js
CHANGED
|
@@ -42,7 +42,7 @@ export class ZonosLinkAuthentication {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '5dfff9d2fcadfebdea65359e7b2bfdb525c3b242', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'fb080d667fdfc1a3f41e9cc128d2177af8dc7195', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'b79693e8082c7c341895c81ad0787bb2bf152ca9', class: "zonos--link-authentication-component" })));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "zonos-link-authentication"; }
|
|
48
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -37,7 +37,7 @@ export class ZonosPayment {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'c940b38c3bb7e8a7856ce28e62ee40d60eb445a1', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '7625e3865a13cdf4fc6c05d7a2e0c7b84ae5ebd4', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '92cde315378611a675b19cdce46b1bf6ac2221a1', class: "zonos--payment-component" })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "zonos-payment"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { handleFetch } from "../handleFetch";
|
|
2
|
+
import { logError } from "../logging/logError";
|
|
3
|
+
export const getInclusivePricing = async (countryCode) => {
|
|
4
|
+
var _a;
|
|
5
|
+
if (!countryCode) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
const url = `${process.env.NEXT_PUBLIC_ZONOS_ROUTE_URL}/api/zonos-elements/inclusive-prices/${countryCode}`;
|
|
9
|
+
const { errors, json } = await handleFetch(url);
|
|
10
|
+
if (errors.length || !json) {
|
|
11
|
+
logError(`Error fetching country inclusive price setting: ${(_a = errors.find(Boolean)) === null || _a === void 0 ? void 0 : _a.message}`);
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
return json || null;
|
|
15
|
+
};
|
|
@@ -211,6 +211,7 @@ export const catalogItemExportJobAction = {
|
|
|
211
211
|
};
|
|
212
212
|
export const catalogItemInclusivePriceStatus = {
|
|
213
213
|
Active: 'ACTIVE',
|
|
214
|
+
Archived: 'ARCHIVED',
|
|
214
215
|
Failed: 'FAILED',
|
|
215
216
|
Ignored: 'IGNORED',
|
|
216
217
|
Pending: 'PENDING',
|
|
@@ -220,6 +221,10 @@ export const catalogItemSource = {
|
|
|
220
221
|
LegacyMigration: 'LEGACY_MIGRATION',
|
|
221
222
|
UserProvided: 'USER_PROVIDED',
|
|
222
223
|
};
|
|
224
|
+
export const catalogItemUpdateMethod = {
|
|
225
|
+
All: 'ALL',
|
|
226
|
+
NonNull: 'NON_NULL',
|
|
227
|
+
};
|
|
223
228
|
export const catalogSettingMigrationAction = {
|
|
224
229
|
Evaluate: 'EVALUATE',
|
|
225
230
|
Migrate: 'MIGRATE',
|
|
@@ -253,6 +258,11 @@ export const classificationBulkJobStatus = {
|
|
|
253
258
|
Initialized: 'INITIALIZED',
|
|
254
259
|
Processing: 'PROCESSING',
|
|
255
260
|
};
|
|
261
|
+
export const classificationCalculateOrigin = {
|
|
262
|
+
All: 'ALL',
|
|
263
|
+
Bulk: 'BULK',
|
|
264
|
+
Single: 'SINGLE',
|
|
265
|
+
};
|
|
256
266
|
export const classificationCalculateSource = {
|
|
257
267
|
External: 'EXTERNAL',
|
|
258
268
|
Internal: 'INTERNAL',
|
|
@@ -1108,6 +1118,7 @@ export const emailTemplateStatus = {
|
|
|
1108
1118
|
export const emailTemplateType = {
|
|
1109
1119
|
AbandonedCart: 'ABANDONED_CART',
|
|
1110
1120
|
CatalogExport: 'CATALOG_EXPORT',
|
|
1121
|
+
ClassificationExport: 'CLASSIFICATION_EXPORT',
|
|
1111
1122
|
ManualClassificationExport: 'MANUAL_CLASSIFICATION_EXPORT',
|
|
1112
1123
|
OrderCanceled: 'ORDER_CANCELED',
|
|
1113
1124
|
OrderConfirmation: 'ORDER_CONFIRMATION',
|
|
@@ -1160,6 +1171,7 @@ export const fedExCategoryCode = {
|
|
|
1160
1171
|
Shipping: 'SHIPPING',
|
|
1161
1172
|
};
|
|
1162
1173
|
export const fulfillmentCenterType = {
|
|
1174
|
+
ConsolidationCenter: 'CONSOLIDATION_CENTER',
|
|
1163
1175
|
Primary: 'PRIMARY',
|
|
1164
1176
|
Standard: 'STANDARD',
|
|
1165
1177
|
};
|
|
@@ -1203,6 +1215,12 @@ export const hsCodeProvidedTreatment = {
|
|
|
1203
1215
|
Ignore: 'IGNORE',
|
|
1204
1216
|
ValidateOnly: 'VALIDATE_ONLY',
|
|
1205
1217
|
};
|
|
1218
|
+
export const hsCodeSource = {
|
|
1219
|
+
Classify: 'CLASSIFY',
|
|
1220
|
+
Fallback: 'FALLBACK',
|
|
1221
|
+
Hybrid: 'HYBRID',
|
|
1222
|
+
UserProvided: 'USER_PROVIDED',
|
|
1223
|
+
};
|
|
1206
1224
|
export const hsCodeType = {
|
|
1207
1225
|
Chapter: 'CHAPTER',
|
|
1208
1226
|
Export: 'EXPORT',
|
|
@@ -1233,14 +1251,10 @@ export const imageSlot = {
|
|
|
1233
1251
|
export const inclusivePriceCalculateJobStatus = {
|
|
1234
1252
|
Cancelled: 'CANCELLED',
|
|
1235
1253
|
Completed: 'COMPLETED',
|
|
1254
|
+
CompletedWithErrors: 'COMPLETED_WITH_ERRORS',
|
|
1236
1255
|
Failed: 'FAILED',
|
|
1237
1256
|
InProgress: 'IN_PROGRESS',
|
|
1238
1257
|
};
|
|
1239
|
-
export const inclusivePriceCalculateJobType = {
|
|
1240
|
-
All: 'ALL',
|
|
1241
|
-
CatalogItem: 'CATALOG_ITEM',
|
|
1242
|
-
Country: 'COUNTRY',
|
|
1243
|
-
};
|
|
1244
1258
|
export const inclusivePriceCatalogValidationJobCompletionStatus = {
|
|
1245
1259
|
Archived: 'ARCHIVED',
|
|
1246
1260
|
Completed: 'COMPLETED',
|
|
@@ -1253,11 +1267,10 @@ export const inclusivePriceCatalogValidationJobComplianceStatus = {
|
|
|
1253
1267
|
Pending: 'PENDING',
|
|
1254
1268
|
};
|
|
1255
1269
|
export const inclusivePriceHistoryCsvJobStatus = {
|
|
1270
|
+
Completed: 'COMPLETED',
|
|
1256
1271
|
Error: 'ERROR',
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
ReadyForUpload: 'READY_FOR_UPLOAD',
|
|
1260
|
-
Uploading: 'UPLOADING',
|
|
1272
|
+
Initialized: 'INITIALIZED',
|
|
1273
|
+
Processing: 'PROCESSING',
|
|
1261
1274
|
};
|
|
1262
1275
|
export const inclusivePriceHistorySource = {
|
|
1263
1276
|
Platform: 'PLATFORM',
|
|
@@ -1269,6 +1282,7 @@ export const inclusivePriceSettingAdjustmentStatus = {
|
|
|
1269
1282
|
Included: 'INCLUDED',
|
|
1270
1283
|
};
|
|
1271
1284
|
export const inclusivePriceSettingStatus = {
|
|
1285
|
+
Archived: 'ARCHIVED',
|
|
1272
1286
|
Disabled: 'DISABLED',
|
|
1273
1287
|
Enabled: 'ENABLED',
|
|
1274
1288
|
};
|
|
@@ -1277,7 +1291,9 @@ export const inclusivePriceStatus = {
|
|
|
1277
1291
|
Inactive: 'INACTIVE',
|
|
1278
1292
|
};
|
|
1279
1293
|
export const inclusivePriceSyncJobStatus = {
|
|
1294
|
+
Cancelled: 'CANCELLED',
|
|
1280
1295
|
Completed: 'COMPLETED',
|
|
1296
|
+
CompletedWithErrors: 'COMPLETED_WITH_ERRORS',
|
|
1281
1297
|
Failed: 'FAILED',
|
|
1282
1298
|
InProgress: 'IN_PROGRESS',
|
|
1283
1299
|
Initialized: 'INITIALIZED',
|
|
@@ -1394,7 +1410,11 @@ export const itemUnitOfMeasure = {
|
|
|
1394
1410
|
export const itemValueSource = {
|
|
1395
1411
|
ApiRequest: 'API_REQUEST',
|
|
1396
1412
|
Catalog: 'CATALOG',
|
|
1413
|
+
Classify: 'CLASSIFY',
|
|
1414
|
+
Fallback: 'FALLBACK',
|
|
1415
|
+
Hybrid: 'HYBRID',
|
|
1397
1416
|
OrganizationSetting: 'ORGANIZATION_SETTING',
|
|
1417
|
+
UserProvided: 'USER_PROVIDED',
|
|
1398
1418
|
};
|
|
1399
1419
|
export const labelAmountType = {
|
|
1400
1420
|
Fee: 'FEE',
|
|
@@ -1688,6 +1708,13 @@ export const orderCompleteBillingMethod = {
|
|
|
1688
1708
|
BillingDgs: 'BILLING_DGS',
|
|
1689
1709
|
Legacy: 'LEGACY',
|
|
1690
1710
|
};
|
|
1711
|
+
export const orderNoteType = {
|
|
1712
|
+
Comment: 'COMMENT',
|
|
1713
|
+
NotificationSent: 'NOTIFICATION_SENT',
|
|
1714
|
+
OrderChange: 'ORDER_CHANGE',
|
|
1715
|
+
Shipment: 'SHIPMENT',
|
|
1716
|
+
Status: 'STATUS',
|
|
1717
|
+
};
|
|
1691
1718
|
export const orderRefundSubtotalType = {
|
|
1692
1719
|
DutyTaxFee: 'DUTY_TAX_FEE',
|
|
1693
1720
|
Item: 'ITEM',
|
|
@@ -1798,6 +1825,10 @@ export const pddpStatus = {
|
|
|
1798
1825
|
Active: 'ACTIVE',
|
|
1799
1826
|
Disabled: 'DISABLED',
|
|
1800
1827
|
};
|
|
1828
|
+
export const pddpType = {
|
|
1829
|
+
CanadaPost: 'CANADA_POST',
|
|
1830
|
+
Ipc: 'IPC',
|
|
1831
|
+
};
|
|
1801
1832
|
export const pickupBuildingType = {
|
|
1802
1833
|
Apartment: 'APARTMENT',
|
|
1803
1834
|
Building: 'BUILDING',
|
|
@@ -1850,6 +1881,12 @@ export const roundingType = {
|
|
|
1850
1881
|
Default: 'DEFAULT',
|
|
1851
1882
|
None: 'NONE',
|
|
1852
1883
|
};
|
|
1884
|
+
export const searchIndex = {
|
|
1885
|
+
Catalog: 'CATALOG',
|
|
1886
|
+
Orders: 'ORDERS',
|
|
1887
|
+
Quotes: 'QUOTES',
|
|
1888
|
+
Shipments: 'SHIPMENTS',
|
|
1889
|
+
};
|
|
1853
1890
|
export const serviceLevelAvailability = {
|
|
1854
1891
|
Contracted: 'CONTRACTED',
|
|
1855
1892
|
Disabled: 'DISABLED',
|
|
@@ -1886,6 +1923,10 @@ export const shipmentRatingBatteryPackingType = {
|
|
|
1886
1923
|
BatteryOnly: 'BATTERY_ONLY',
|
|
1887
1924
|
BatteryPackagedWithEquipment: 'BATTERY_PACKAGED_WITH_EQUIPMENT',
|
|
1888
1925
|
};
|
|
1926
|
+
export const shipmentRatingRateType = {
|
|
1927
|
+
LabelEnabled: 'LABEL_ENABLED',
|
|
1928
|
+
Zone: 'ZONE',
|
|
1929
|
+
};
|
|
1889
1930
|
export const shipmentRatingSignatureOptionType = {
|
|
1890
1931
|
Adult: 'ADULT',
|
|
1891
1932
|
Default: 'DEFAULT',
|
|
@@ -1915,6 +1956,10 @@ export const shipmentSpecialService = {
|
|
|
1915
1956
|
};
|
|
1916
1957
|
export const shipmentStatusType = {
|
|
1917
1958
|
Created: 'CREATED',
|
|
1959
|
+
Delivered: 'DELIVERED',
|
|
1960
|
+
DeliveredToConsolidationCenter: 'DELIVERED_TO_CONSOLIDATION_CENTER',
|
|
1961
|
+
InTransit: 'IN_TRANSIT',
|
|
1962
|
+
InTransitToConsolidationCenter: 'IN_TRANSIT_TO_CONSOLIDATION_CENTER',
|
|
1918
1963
|
Voided: 'VOIDED',
|
|
1919
1964
|
};
|
|
1920
1965
|
export const shipmentType = {
|
|
@@ -2028,6 +2073,13 @@ export const taxMethodType = {
|
|
|
2028
2073
|
Consignment: 'CONSIGNMENT',
|
|
2029
2074
|
Default: 'DEFAULT',
|
|
2030
2075
|
Domestic: 'DOMESTIC',
|
|
2076
|
+
SellerOfRecord: 'SELLER_OF_RECORD',
|
|
2077
|
+
};
|
|
2078
|
+
export const thirdPartyAccountType = {
|
|
2079
|
+
Dhl: 'DHL',
|
|
2080
|
+
Fedex: 'FEDEX',
|
|
2081
|
+
Ups: 'UPS',
|
|
2082
|
+
Usps: 'USPS',
|
|
2031
2083
|
};
|
|
2032
2084
|
export const tokenTypeCategory = {
|
|
2033
2085
|
Auxiliary: 'AUXILIARY',
|
|
@@ -2125,6 +2177,7 @@ export const webhookType = {
|
|
|
2125
2177
|
OrderCanceled: 'ORDER_CANCELED',
|
|
2126
2178
|
OrderCreated: 'ORDER_CREATED',
|
|
2127
2179
|
OrderStatusChanged: 'ORDER_STATUS_CHANGED',
|
|
2180
|
+
OrderUpdated: 'ORDER_UPDATED',
|
|
2128
2181
|
ShipmentCanceled: 'SHIPMENT_CANCELED',
|
|
2129
2182
|
ShipmentCreated: 'SHIPMENT_CREATED',
|
|
2130
2183
|
};
|
|
@@ -2184,6 +2237,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2184
2237
|
getCheckoutSession(variables, requestHeaders) {
|
|
2185
2238
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCheckoutSession', 'query');
|
|
2186
2239
|
},
|
|
2240
|
+
getInclusivePriceSettingEnabledByCountry(variables, requestHeaders) {
|
|
2241
|
+
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getInclusivePriceSettingEnabledByCountry', 'query');
|
|
2242
|
+
},
|
|
2187
2243
|
getOrder(variables, requestHeaders) {
|
|
2188
2244
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getOrder', 'query');
|
|
2189
2245
|
},
|
|
@@ -9,6 +9,8 @@ export const errorProjectNameEnum = {
|
|
|
9
9
|
};
|
|
10
10
|
export const featureAspectKeyEnum = {
|
|
11
11
|
Checkout_2_0: 'checkout_2_0',
|
|
12
|
+
ClassifyBulk: 'classify_bulk',
|
|
13
|
+
ClassifyBulkExportViewConfidenceScore: 'classify_bulk_export_view_confidence_score',
|
|
12
14
|
ClassifySingleRequest: 'classify_single_request',
|
|
13
15
|
ComConsolidation: 'com_consolidation',
|
|
14
16
|
DashboardCheckout_2Settings: 'dashboard_checkout_2_settings',
|
|
@@ -31,6 +33,8 @@ export const featureAspectKeyEnum = {
|
|
|
31
33
|
export const featureAudienceNameEnum = {
|
|
32
34
|
AccountsReceivable: 'accounts_receivable',
|
|
33
35
|
CheckoutSales: 'checkout_sales',
|
|
36
|
+
ClassifyBulkMerchant: 'classify_bulk_merchant',
|
|
37
|
+
ClassifyBulkMerchantExportConfidenceScore: 'classify_bulk_merchant_export_confidence_score',
|
|
34
38
|
CustomerSuccess: 'customer_success',
|
|
35
39
|
DashboardLabelBetaMerchant: 'dashboard_label_beta_merchant',
|
|
36
40
|
Designer: 'designer',
|