@zonos/elements 1.3.36 → 1.3.37
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-0cac4ec9.js} +280 -199
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{submitGtag-bc6af393.js → submitGtag-2c66e270.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 +3 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +35 -14
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -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/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 +8 -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 +57 -9
- package/dist/esm/{cart-f29968a8.js → cart-f4204129.js} +280 -199
- package/dist/esm/index.js +4 -4
- package/dist/esm/{submitGtag-fcfd5cf4.js → submitGtag-1df655bc.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 +3 -3
- package/dist/esm/zonos-hello-dialog.entry.js +36 -15
- package/dist/esm/zonos-hello.entry.js +1 -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-f4204129.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{submitGtag-fcfd5cf4.js → submitGtag-1df655bc.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-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.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +1 -0
- package/dist/types/components/store/hello/localization.d.ts +1 -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/types/generated/graphql.customer.types.d.ts +74 -10
- package/dist/types/types/generated/graphql.customer.types.ts +98 -12
- package/dist/zonos-elements/assets/inclusivePricingIcon.svg +8 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-d410ef50.system.entry.js → p-0ce1e237.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-38f882ea.system.entry.js → p-0d029fb3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4d95b4f4.system.entry.js → p-19241859.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e4ef71bd.entry.js → p-1f350060.entry.js} +1 -1
- package/dist/zonos-elements/{p-1fbf0527.system.js → p-22a4f8a9.system.js} +1 -1
- package/dist/zonos-elements/p-2aac5bc8.js +1 -0
- package/dist/zonos-elements/p-4d8ad8e2.system.js +1 -0
- package/dist/zonos-elements/{p-f9931ad1.system.entry.js → p-57cbbf1e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5e46d19e.system.entry.js +1 -0
- package/dist/zonos-elements/p-720e9236.entry.js +1 -0
- package/dist/zonos-elements/{p-60f7bcee.entry.js → p-74c85d7f.entry.js} +1 -1
- package/dist/zonos-elements/{p-891d2c76.system.entry.js → p-8de3cf00.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2cee5f3a.system.entry.js → p-9a27550a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1c2de5da.system.js → p-ab117c05.system.js} +1 -1
- package/dist/zonos-elements/{p-5ce19bce.system.entry.js → p-ab43d893.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8363436f.entry.js → p-acb75c06.entry.js} +1 -1
- package/dist/zonos-elements/{p-eea3ec17.entry.js → p-af996985.entry.js} +1 -1
- package/dist/zonos-elements/{p-62e21e2b.system.entry.js → p-c2a9555c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b723a1d.js → p-c7b07f80.js} +1 -1
- package/dist/zonos-elements/{p-c9062536.system.entry.js → p-c993d267.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e0709be2.entry.js → p-de71eaea.entry.js} +1 -1
- package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
- package/dist/zonos-elements/{p-6b06ac3d.entry.js → p-e3631ac5.entry.js} +1 -1
- package/dist/zonos-elements/{p-6ec40c8f.entry.js → p-e3c43972.entry.js} +1 -1
- package/dist/zonos-elements/{p-cfe9c940.entry.js → p-e4888976.entry.js} +1 -1
- package/dist/zonos-elements/{p-bf9578d3.entry.js → p-ee4e6e08.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-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
|
@@ -68,13 +68,13 @@ export declare const stringsSwedish: {
|
|
|
68
68
|
"Don't close": {
|
|
69
69
|
value: string;
|
|
70
70
|
};
|
|
71
|
-
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
71
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
|
|
72
72
|
value: string;
|
|
73
73
|
};
|
|
74
74
|
'Duties and taxes will be applied to items and shipping.': {
|
|
75
75
|
value: string;
|
|
76
76
|
};
|
|
77
|
-
'Duties will apply to all orders': {
|
|
77
|
+
'Duties will apply to all orders.': {
|
|
78
78
|
value: string;
|
|
79
79
|
};
|
|
80
80
|
'Duties, taxes, and fees': {
|
|
@@ -182,6 +182,9 @@ export declare const stringsSwedish: {
|
|
|
182
182
|
'Prepay duties and taxes at checkout': {
|
|
183
183
|
value: string;
|
|
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: string;
|
|
187
|
+
};
|
|
185
188
|
Reload: {
|
|
186
189
|
value: string;
|
|
187
190
|
};
|
|
@@ -224,10 +227,10 @@ export declare const stringsSwedish: {
|
|
|
224
227
|
'Something went wrong.': {
|
|
225
228
|
value: string;
|
|
226
229
|
};
|
|
227
|
-
'Spend [threshold] duty free': {
|
|
230
|
+
'Spend [threshold] duty free.': {
|
|
228
231
|
value: string;
|
|
229
232
|
};
|
|
230
|
-
'Spend [threshold] tax free': {
|
|
233
|
+
'Spend [threshold] tax free.': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
233
236
|
State: {
|
|
@@ -239,7 +242,7 @@ export declare const stringsSwedish: {
|
|
|
239
242
|
Success: {
|
|
240
243
|
value: string;
|
|
241
244
|
};
|
|
242
|
-
'Taxes will apply to all orders': {
|
|
245
|
+
'Taxes will apply to all orders.': {
|
|
243
246
|
value: string;
|
|
244
247
|
};
|
|
245
248
|
'Test cards': {
|
|
@@ -68,13 +68,13 @@ export declare const stringsTurkish: {
|
|
|
68
68
|
"Don't close": {
|
|
69
69
|
value: string;
|
|
70
70
|
};
|
|
71
|
-
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
71
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
|
|
72
72
|
value: string;
|
|
73
73
|
};
|
|
74
74
|
'Duties and taxes will be applied to items and shipping.': {
|
|
75
75
|
value: string;
|
|
76
76
|
};
|
|
77
|
-
'Duties will apply to all orders': {
|
|
77
|
+
'Duties will apply to all orders.': {
|
|
78
78
|
value: string;
|
|
79
79
|
};
|
|
80
80
|
'Duties, taxes, and fees': {
|
|
@@ -182,6 +182,9 @@ export declare const stringsTurkish: {
|
|
|
182
182
|
'Prepay duties and taxes at checkout': {
|
|
183
183
|
value: string;
|
|
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: string;
|
|
187
|
+
};
|
|
185
188
|
Reload: {
|
|
186
189
|
value: string;
|
|
187
190
|
};
|
|
@@ -224,10 +227,10 @@ export declare const stringsTurkish: {
|
|
|
224
227
|
'Something went wrong.': {
|
|
225
228
|
value: string;
|
|
226
229
|
};
|
|
227
|
-
'Spend [threshold] duty free': {
|
|
230
|
+
'Spend [threshold] duty free.': {
|
|
228
231
|
value: string;
|
|
229
232
|
};
|
|
230
|
-
'Spend [threshold] tax free': {
|
|
233
|
+
'Spend [threshold] tax free.': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
233
236
|
State: {
|
|
@@ -239,7 +242,7 @@ export declare const stringsTurkish: {
|
|
|
239
242
|
Success: {
|
|
240
243
|
value: string;
|
|
241
244
|
};
|
|
242
|
-
'Taxes will apply to all orders': {
|
|
245
|
+
'Taxes will apply to all orders.': {
|
|
243
246
|
value: string;
|
|
244
247
|
};
|
|
245
248
|
'Test cards': {
|
|
@@ -68,13 +68,13 @@ export declare const stringsVietnamese: {
|
|
|
68
68
|
"Don't close": {
|
|
69
69
|
value: string;
|
|
70
70
|
};
|
|
71
|
-
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
71
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
|
|
72
72
|
value: string;
|
|
73
73
|
};
|
|
74
74
|
'Duties and taxes will be applied to items and shipping.': {
|
|
75
75
|
value: string;
|
|
76
76
|
};
|
|
77
|
-
'Duties will apply to all orders': {
|
|
77
|
+
'Duties will apply to all orders.': {
|
|
78
78
|
value: string;
|
|
79
79
|
};
|
|
80
80
|
'Duties, taxes, and fees': {
|
|
@@ -182,6 +182,9 @@ export declare const stringsVietnamese: {
|
|
|
182
182
|
'Prepay duties and taxes at checkout': {
|
|
183
183
|
value: string;
|
|
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: string;
|
|
187
|
+
};
|
|
185
188
|
Reload: {
|
|
186
189
|
value: string;
|
|
187
190
|
};
|
|
@@ -224,10 +227,10 @@ export declare const stringsVietnamese: {
|
|
|
224
227
|
'Something went wrong.': {
|
|
225
228
|
value: string;
|
|
226
229
|
};
|
|
227
|
-
'Spend [threshold] duty free': {
|
|
230
|
+
'Spend [threshold] duty free.': {
|
|
228
231
|
value: string;
|
|
229
232
|
};
|
|
230
|
-
'Spend [threshold] tax free': {
|
|
233
|
+
'Spend [threshold] tax free.': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
233
236
|
State: {
|
|
@@ -239,7 +242,7 @@ export declare const stringsVietnamese: {
|
|
|
239
242
|
Success: {
|
|
240
243
|
value: string;
|
|
241
244
|
};
|
|
242
|
-
'Taxes will apply to all orders': {
|
|
245
|
+
'Taxes will apply to all orders.': {
|
|
243
246
|
value: string;
|
|
244
247
|
};
|
|
245
248
|
'Test cards': {
|
|
@@ -30,5 +30,5 @@ type TranslateParams<T extends string> = ExtractVariables<T> extends never ? [T,
|
|
|
30
30
|
* // No variables:
|
|
31
31
|
* translate('Above de minimis threshold for')
|
|
32
32
|
*/
|
|
33
|
-
declare const translate: <T extends "Shipping" | "Email" | "Name" | "Guaranteed" | "
|
|
33
|
+
declare const translate: <T extends "Shipping" | "Email" | "Name" | "Guaranteed" | "Customer" | "Country" | "Failure" | "Success" | "Hide" | "Delivery" | "Payment" | "Above de minimis threshold for" | "Address" | "Address line 1" | "Address line 2" | "Are you sure?" | "Back" | "Billing" | "Billing address" | "Cancel" | "Card number copied to clipboard" | "Cart subtotal" | "City" | "Click to copy the card number. Use any future expiration date and three number CVC." | "Close" | "Contact" | "Continue to shipping" | "Couldn't place order" | "Customer information" | "Delivery options" | "Don't close" | "Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders." | "Duties and taxes will be applied to items and shipping." | "Duties will apply to all orders." | "Duties, taxes, and fees" | "Error creating Checkout" | "Error updating Checkout" | "Expected delivery" | "First name" | "Go to payment" | "Keep shopping" | "Know about duties and taxes before you buy. Shop with confidence!" | "Last name" | "Learn more." | "Missing required fields. Make sure all fields are completed." | "No shipping method selected" | "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." | "No shipping methods found - try editing your address or contacting support if the error persists" | "Nothing due at the door" | "Order is over the de minimis threshold for both duty and tax" | "Order total" | "Orders to [countryName] must be over [threshold] to ship." | "Pay [orderTotal]" | "Pay [organizationName]" | "Payment failed" | "Payment failed. Please try another payment method." | "Payment method" | "Payment processing. We'll update you when payment is received." | "Phone number" | "Please ensure your text uses the Latin alphabet only (A-Z, a-z)." | "Postal code" | "Powered by" | "Prepay duties and taxes at checkout" | "Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions." | "Reload" | "Restricted item" | "Restricted items found" | "Return to cart" | "Search countries" | "See duty and tax thresholds" | "Select a country" | "Select a language" | "Session timed out" | "Shipping address same as billing" | "Shipping method" | "Show" | "Something went wrong." | "Spend [threshold] duty free." | "Spend [threshold] tax free." | "State" | "State/Province" | "Taxes will apply to all orders." | "Test cards" | "Test mode" | "The following items are unable to be shipped to your country and are not included in your cart total." | "The low-value GST law passed July 1st, 2018 applies to this retailer." | "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists" | "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists" | "To ensure delivery all address details must be in Latin characters." | "Translated address" | "Unable to check inventory. Please try again." | "Update address" | "Update your address" | "We couldn't complete your payment. Please verify the payment details and try again." | "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time." | "Welcome to [storeName]" | "Welcome!" | "What you entered" | "Would you like to close checkout and return to the site?" | "You're all set!" | "Your checkout session has expired. Please reload the page to continue." | "Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us." | "[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy." | "[percentage] GST due on any order above [threshold]." | "business days" | "click to learn more" | "restricted items">(...[key, replacement]: TranslateParams<T>) => string;
|
|
34
34
|
export { translate, translationStore, translationStoreUpdateLanguage };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CountryCode } from "../../../types/index";
|
|
2
|
+
export type ZonosInclusivePriceSetting = {
|
|
3
|
+
/**
|
|
4
|
+
* Has enabled inclusive prices for this country
|
|
5
|
+
*/
|
|
6
|
+
hasEnabledInclusivePrices: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const getInclusivePricing: (countryCode: CountryCode | null) => Promise<ZonosInclusivePriceSetting | null>;
|
|
@@ -324,6 +324,7 @@ export declare const catalogItemExportJobAction: {
|
|
|
324
324
|
export type CatalogItemExportJobAction = (typeof catalogItemExportJobAction)[keyof typeof catalogItemExportJobAction];
|
|
325
325
|
export declare const catalogItemInclusivePriceStatus: {
|
|
326
326
|
readonly Active: "ACTIVE";
|
|
327
|
+
readonly Archived: "ARCHIVED";
|
|
327
328
|
readonly Failed: "FAILED";
|
|
328
329
|
readonly Ignored: "IGNORED";
|
|
329
330
|
readonly Pending: "PENDING";
|
|
@@ -335,6 +336,11 @@ export declare const catalogItemSource: {
|
|
|
335
336
|
readonly UserProvided: "USER_PROVIDED";
|
|
336
337
|
};
|
|
337
338
|
export type CatalogItemSource = (typeof catalogItemSource)[keyof typeof catalogItemSource];
|
|
339
|
+
export declare const catalogItemUpdateMethod: {
|
|
340
|
+
readonly All: "ALL";
|
|
341
|
+
readonly NonNull: "NON_NULL";
|
|
342
|
+
};
|
|
343
|
+
export type CatalogItemUpdateMethod = (typeof catalogItemUpdateMethod)[keyof typeof catalogItemUpdateMethod];
|
|
338
344
|
export declare const catalogSettingMigrationAction: {
|
|
339
345
|
readonly Evaluate: "EVALUATE";
|
|
340
346
|
readonly Migrate: "MIGRATE";
|
|
@@ -375,6 +381,12 @@ export declare const classificationBulkJobStatus: {
|
|
|
375
381
|
readonly Processing: "PROCESSING";
|
|
376
382
|
};
|
|
377
383
|
export type ClassificationBulkJobStatus = (typeof classificationBulkJobStatus)[keyof typeof classificationBulkJobStatus];
|
|
384
|
+
export declare const classificationCalculateOrigin: {
|
|
385
|
+
readonly All: "ALL";
|
|
386
|
+
readonly Bulk: "BULK";
|
|
387
|
+
readonly Single: "SINGLE";
|
|
388
|
+
};
|
|
389
|
+
export type ClassificationCalculateOrigin = (typeof classificationCalculateOrigin)[keyof typeof classificationCalculateOrigin];
|
|
378
390
|
export declare const classificationCalculateSource: {
|
|
379
391
|
readonly External: "EXTERNAL";
|
|
380
392
|
readonly Internal: "INTERNAL";
|
|
@@ -1427,16 +1439,11 @@ export type ImageSlot = (typeof imageSlot)[keyof typeof imageSlot];
|
|
|
1427
1439
|
export declare const inclusivePriceCalculateJobStatus: {
|
|
1428
1440
|
readonly Cancelled: "CANCELLED";
|
|
1429
1441
|
readonly Completed: "COMPLETED";
|
|
1442
|
+
readonly CompletedWithErrors: "COMPLETED_WITH_ERRORS";
|
|
1430
1443
|
readonly Failed: "FAILED";
|
|
1431
1444
|
readonly InProgress: "IN_PROGRESS";
|
|
1432
1445
|
};
|
|
1433
1446
|
export type InclusivePriceCalculateJobStatus = (typeof inclusivePriceCalculateJobStatus)[keyof typeof inclusivePriceCalculateJobStatus];
|
|
1434
|
-
export declare const inclusivePriceCalculateJobType: {
|
|
1435
|
-
readonly All: "ALL";
|
|
1436
|
-
readonly CatalogItem: "CATALOG_ITEM";
|
|
1437
|
-
readonly Country: "COUNTRY";
|
|
1438
|
-
};
|
|
1439
|
-
export type InclusivePriceCalculateJobType = (typeof inclusivePriceCalculateJobType)[keyof typeof inclusivePriceCalculateJobType];
|
|
1440
1447
|
export declare const inclusivePriceCatalogValidationJobCompletionStatus: {
|
|
1441
1448
|
readonly Archived: "ARCHIVED";
|
|
1442
1449
|
readonly Completed: "COMPLETED";
|
|
@@ -1451,11 +1458,10 @@ export declare const inclusivePriceCatalogValidationJobComplianceStatus: {
|
|
|
1451
1458
|
};
|
|
1452
1459
|
export type InclusivePriceCatalogValidationJobComplianceStatus = (typeof inclusivePriceCatalogValidationJobComplianceStatus)[keyof typeof inclusivePriceCatalogValidationJobComplianceStatus];
|
|
1453
1460
|
export declare const inclusivePriceHistoryCsvJobStatus: {
|
|
1461
|
+
readonly Completed: "COMPLETED";
|
|
1454
1462
|
readonly Error: "ERROR";
|
|
1455
|
-
readonly
|
|
1456
|
-
readonly
|
|
1457
|
-
readonly ReadyForUpload: "READY_FOR_UPLOAD";
|
|
1458
|
-
readonly Uploading: "UPLOADING";
|
|
1463
|
+
readonly Initialized: "INITIALIZED";
|
|
1464
|
+
readonly Processing: "PROCESSING";
|
|
1459
1465
|
};
|
|
1460
1466
|
export type InclusivePriceHistoryCsvJobStatus = (typeof inclusivePriceHistoryCsvJobStatus)[keyof typeof inclusivePriceHistoryCsvJobStatus];
|
|
1461
1467
|
export declare const inclusivePriceHistorySource: {
|
|
@@ -1470,6 +1476,7 @@ export declare const inclusivePriceSettingAdjustmentStatus: {
|
|
|
1470
1476
|
};
|
|
1471
1477
|
export type InclusivePriceSettingAdjustmentStatus = (typeof inclusivePriceSettingAdjustmentStatus)[keyof typeof inclusivePriceSettingAdjustmentStatus];
|
|
1472
1478
|
export declare const inclusivePriceSettingStatus: {
|
|
1479
|
+
readonly Archived: "ARCHIVED";
|
|
1473
1480
|
readonly Disabled: "DISABLED";
|
|
1474
1481
|
readonly Enabled: "ENABLED";
|
|
1475
1482
|
};
|
|
@@ -1480,7 +1487,9 @@ export declare const inclusivePriceStatus: {
|
|
|
1480
1487
|
};
|
|
1481
1488
|
export type InclusivePriceStatus = (typeof inclusivePriceStatus)[keyof typeof inclusivePriceStatus];
|
|
1482
1489
|
export declare const inclusivePriceSyncJobStatus: {
|
|
1490
|
+
readonly Cancelled: "CANCELLED";
|
|
1483
1491
|
readonly Completed: "COMPLETED";
|
|
1492
|
+
readonly CompletedWithErrors: "COMPLETED_WITH_ERRORS";
|
|
1484
1493
|
readonly Failed: "FAILED";
|
|
1485
1494
|
readonly InProgress: "IN_PROGRESS";
|
|
1486
1495
|
readonly Initialized: "INITIALIZED";
|
|
@@ -1609,7 +1618,11 @@ export type ItemUnitOfMeasure = (typeof itemUnitOfMeasure)[keyof typeof itemUnit
|
|
|
1609
1618
|
export declare const itemValueSource: {
|
|
1610
1619
|
readonly ApiRequest: "API_REQUEST";
|
|
1611
1620
|
readonly Catalog: "CATALOG";
|
|
1621
|
+
readonly Classify: "CLASSIFY";
|
|
1622
|
+
readonly Fallback: "FALLBACK";
|
|
1623
|
+
readonly Hybrid: "HYBRID";
|
|
1612
1624
|
readonly OrganizationSetting: "ORGANIZATION_SETTING";
|
|
1625
|
+
readonly UserProvided: "USER_PROVIDED";
|
|
1613
1626
|
};
|
|
1614
1627
|
export type ItemValueSource = (typeof itemValueSource)[keyof typeof itemValueSource];
|
|
1615
1628
|
export declare const labelAmountType: {
|
|
@@ -1933,6 +1946,14 @@ export declare const orderCompleteBillingMethod: {
|
|
|
1933
1946
|
readonly Legacy: "LEGACY";
|
|
1934
1947
|
};
|
|
1935
1948
|
export type OrderCompleteBillingMethod = (typeof orderCompleteBillingMethod)[keyof typeof orderCompleteBillingMethod];
|
|
1949
|
+
export declare const orderNoteType: {
|
|
1950
|
+
readonly Comment: "COMMENT";
|
|
1951
|
+
readonly NotificationSent: "NOTIFICATION_SENT";
|
|
1952
|
+
readonly OrderChange: "ORDER_CHANGE";
|
|
1953
|
+
readonly Shipment: "SHIPMENT";
|
|
1954
|
+
readonly Status: "STATUS";
|
|
1955
|
+
};
|
|
1956
|
+
export type OrderNoteType = (typeof orderNoteType)[keyof typeof orderNoteType];
|
|
1936
1957
|
export declare const orderRefundSubtotalType: {
|
|
1937
1958
|
readonly DutyTaxFee: "DUTY_TAX_FEE";
|
|
1938
1959
|
readonly Item: "ITEM";
|
|
@@ -2062,6 +2083,11 @@ export declare const pddpStatus: {
|
|
|
2062
2083
|
readonly Disabled: "DISABLED";
|
|
2063
2084
|
};
|
|
2064
2085
|
export type PddpStatus = (typeof pddpStatus)[keyof typeof pddpStatus];
|
|
2086
|
+
export declare const pddpType: {
|
|
2087
|
+
readonly CanadaPost: "CANADA_POST";
|
|
2088
|
+
readonly Ipc: "IPC";
|
|
2089
|
+
};
|
|
2090
|
+
export type PddpType = (typeof pddpType)[keyof typeof pddpType];
|
|
2065
2091
|
export declare const pickupBuildingType: {
|
|
2066
2092
|
readonly Apartment: "APARTMENT";
|
|
2067
2093
|
readonly Building: "BUILDING";
|
|
@@ -2123,6 +2149,13 @@ export declare const roundingType: {
|
|
|
2123
2149
|
readonly None: "NONE";
|
|
2124
2150
|
};
|
|
2125
2151
|
export type RoundingType = (typeof roundingType)[keyof typeof roundingType];
|
|
2152
|
+
export declare const searchIndex: {
|
|
2153
|
+
readonly Catalog: "CATALOG";
|
|
2154
|
+
readonly Orders: "ORDERS";
|
|
2155
|
+
readonly Quotes: "QUOTES";
|
|
2156
|
+
readonly Shipments: "SHIPMENTS";
|
|
2157
|
+
};
|
|
2158
|
+
export type SearchIndex = (typeof searchIndex)[keyof typeof searchIndex];
|
|
2126
2159
|
export declare const serviceLevelAvailability: {
|
|
2127
2160
|
readonly Contracted: "CONTRACTED";
|
|
2128
2161
|
readonly Disabled: "DISABLED";
|
|
@@ -2169,6 +2202,11 @@ export declare const shipmentRatingBatteryPackingType: {
|
|
|
2169
2202
|
readonly BatteryPackagedWithEquipment: "BATTERY_PACKAGED_WITH_EQUIPMENT";
|
|
2170
2203
|
};
|
|
2171
2204
|
export type ShipmentRatingBatteryPackingType = (typeof shipmentRatingBatteryPackingType)[keyof typeof shipmentRatingBatteryPackingType];
|
|
2205
|
+
export declare const shipmentRatingRateType: {
|
|
2206
|
+
readonly LabelEnabled: "LABEL_ENABLED";
|
|
2207
|
+
readonly Zone: "ZONE";
|
|
2208
|
+
};
|
|
2209
|
+
export type ShipmentRatingRateType = (typeof shipmentRatingRateType)[keyof typeof shipmentRatingRateType];
|
|
2172
2210
|
export declare const shipmentRatingSignatureOptionType: {
|
|
2173
2211
|
readonly Adult: "ADULT";
|
|
2174
2212
|
readonly Default: "DEFAULT";
|
|
@@ -2206,6 +2244,10 @@ export declare const shipmentSpecialService: {
|
|
|
2206
2244
|
export type ShipmentSpecialService = (typeof shipmentSpecialService)[keyof typeof shipmentSpecialService];
|
|
2207
2245
|
export declare const shipmentStatusType: {
|
|
2208
2246
|
readonly Created: "CREATED";
|
|
2247
|
+
readonly Delivered: "DELIVERED";
|
|
2248
|
+
readonly DeliveredToConsolidationCenter: "DELIVERED_TO_CONSOLIDATION_CENTER";
|
|
2249
|
+
readonly InTransit: "IN_TRANSIT";
|
|
2250
|
+
readonly InTransitToConsolidationCenter: "IN_TRANSIT_TO_CONSOLIDATION_CENTER";
|
|
2209
2251
|
readonly Voided: "VOIDED";
|
|
2210
2252
|
};
|
|
2211
2253
|
export type ShipmentStatusType = (typeof shipmentStatusType)[keyof typeof shipmentStatusType];
|
|
@@ -2337,8 +2379,16 @@ export declare const taxMethodType: {
|
|
|
2337
2379
|
readonly Consignment: "CONSIGNMENT";
|
|
2338
2380
|
readonly Default: "DEFAULT";
|
|
2339
2381
|
readonly Domestic: "DOMESTIC";
|
|
2382
|
+
readonly SellerOfRecord: "SELLER_OF_RECORD";
|
|
2340
2383
|
};
|
|
2341
2384
|
export type TaxMethodType = (typeof taxMethodType)[keyof typeof taxMethodType];
|
|
2385
|
+
export declare const thirdPartyAccountType: {
|
|
2386
|
+
readonly Dhl: "DHL";
|
|
2387
|
+
readonly Fedex: "FEDEX";
|
|
2388
|
+
readonly Ups: "UPS";
|
|
2389
|
+
readonly Usps: "USPS";
|
|
2390
|
+
};
|
|
2391
|
+
export type ThirdPartyAccountType = (typeof thirdPartyAccountType)[keyof typeof thirdPartyAccountType];
|
|
2342
2392
|
export declare const tokenTypeCategory: {
|
|
2343
2393
|
readonly Auxiliary: "AUXILIARY";
|
|
2344
2394
|
readonly Functional: "FUNCTIONAL";
|
|
@@ -2444,6 +2494,7 @@ export declare const webhookType: {
|
|
|
2444
2494
|
readonly OrderCanceled: "ORDER_CANCELED";
|
|
2445
2495
|
readonly OrderCreated: "ORDER_CREATED";
|
|
2446
2496
|
readonly OrderStatusChanged: "ORDER_STATUS_CHANGED";
|
|
2497
|
+
readonly OrderUpdated: "ORDER_UPDATED";
|
|
2447
2498
|
readonly ShipmentCanceled: "SHIPMENT_CANCELED";
|
|
2448
2499
|
readonly ShipmentCreated: "SHIPMENT_CREATED";
|
|
2449
2500
|
};
|
|
@@ -2806,6 +2857,16 @@ export type GetCheckoutSessionQuery = {
|
|
|
2806
2857
|
} | null;
|
|
2807
2858
|
};
|
|
2808
2859
|
};
|
|
2860
|
+
export type GetInclusivePriceSettingEnabledByCountryQuery = {
|
|
2861
|
+
inclusivePriceSettings: {
|
|
2862
|
+
edges: Array<{
|
|
2863
|
+
node: {
|
|
2864
|
+
id: string;
|
|
2865
|
+
status: InclusivePriceSettingStatus;
|
|
2866
|
+
};
|
|
2867
|
+
}>;
|
|
2868
|
+
} | null;
|
|
2869
|
+
};
|
|
2809
2870
|
export type ShippingZonesQuery = {
|
|
2810
2871
|
shippingZones: Array<{
|
|
2811
2872
|
countryCodes: Array<CountryCode> | null;
|
|
@@ -3329,6 +3390,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
3329
3390
|
getCheckoutSession(variables?: {
|
|
3330
3391
|
[x: string]: never;
|
|
3331
3392
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetCheckoutSessionQuery>;
|
|
3393
|
+
getInclusivePriceSettingEnabledByCountry(variables?: {
|
|
3394
|
+
[x: string]: never;
|
|
3395
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetInclusivePriceSettingEnabledByCountryQuery>;
|
|
3332
3396
|
getOrder(variables?: {
|
|
3333
3397
|
[x: string]: never;
|
|
3334
3398
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetOrderQuery>;
|
|
@@ -394,6 +394,7 @@ export type CatalogItemExportJobAction =
|
|
|
394
394
|
|
|
395
395
|
export const catalogItemInclusivePriceStatus = {
|
|
396
396
|
Active: 'ACTIVE',
|
|
397
|
+
Archived: 'ARCHIVED',
|
|
397
398
|
Failed: 'FAILED',
|
|
398
399
|
Ignored: 'IGNORED',
|
|
399
400
|
Pending: 'PENDING',
|
|
@@ -411,6 +412,14 @@ export const catalogItemSource = {
|
|
|
411
412
|
export type CatalogItemSource =
|
|
412
413
|
(typeof catalogItemSource)[keyof typeof catalogItemSource];
|
|
413
414
|
|
|
415
|
+
export const catalogItemUpdateMethod = {
|
|
416
|
+
All: 'ALL',
|
|
417
|
+
NonNull: 'NON_NULL',
|
|
418
|
+
} as const;
|
|
419
|
+
|
|
420
|
+
export type CatalogItemUpdateMethod =
|
|
421
|
+
(typeof catalogItemUpdateMethod)[keyof typeof catalogItemUpdateMethod];
|
|
422
|
+
|
|
414
423
|
export const catalogSettingMigrationAction = {
|
|
415
424
|
Evaluate: 'EVALUATE',
|
|
416
425
|
Migrate: 'MIGRATE',
|
|
@@ -467,6 +476,14 @@ export const classificationBulkJobStatus = {
|
|
|
467
476
|
export type ClassificationBulkJobStatus =
|
|
468
477
|
(typeof classificationBulkJobStatus)[keyof typeof classificationBulkJobStatus];
|
|
469
478
|
|
|
479
|
+
export const classificationCalculateOrigin = {
|
|
480
|
+
All: 'ALL',
|
|
481
|
+
Bulk: 'BULK',
|
|
482
|
+
Single: 'SINGLE',
|
|
483
|
+
} as const;
|
|
484
|
+
|
|
485
|
+
export type ClassificationCalculateOrigin =
|
|
486
|
+
(typeof classificationCalculateOrigin)[keyof typeof classificationCalculateOrigin];
|
|
470
487
|
export const classificationCalculateSource = {
|
|
471
488
|
External: 'EXTERNAL',
|
|
472
489
|
Internal: 'INTERNAL',
|
|
@@ -1664,20 +1681,13 @@ export type ImageSlot = (typeof imageSlot)[keyof typeof imageSlot];
|
|
|
1664
1681
|
export const inclusivePriceCalculateJobStatus = {
|
|
1665
1682
|
Cancelled: 'CANCELLED',
|
|
1666
1683
|
Completed: 'COMPLETED',
|
|
1684
|
+
CompletedWithErrors: 'COMPLETED_WITH_ERRORS',
|
|
1667
1685
|
Failed: 'FAILED',
|
|
1668
1686
|
InProgress: 'IN_PROGRESS',
|
|
1669
1687
|
} as const;
|
|
1670
1688
|
|
|
1671
1689
|
export type InclusivePriceCalculateJobStatus =
|
|
1672
1690
|
(typeof inclusivePriceCalculateJobStatus)[keyof typeof inclusivePriceCalculateJobStatus];
|
|
1673
|
-
export const inclusivePriceCalculateJobType = {
|
|
1674
|
-
All: 'ALL',
|
|
1675
|
-
CatalogItem: 'CATALOG_ITEM',
|
|
1676
|
-
Country: 'COUNTRY',
|
|
1677
|
-
} as const;
|
|
1678
|
-
|
|
1679
|
-
export type InclusivePriceCalculateJobType =
|
|
1680
|
-
(typeof inclusivePriceCalculateJobType)[keyof typeof inclusivePriceCalculateJobType];
|
|
1681
1691
|
|
|
1682
1692
|
export const inclusivePriceCatalogValidationJobCompletionStatus = {
|
|
1683
1693
|
Archived: 'ARCHIVED',
|
|
@@ -1698,11 +1708,10 @@ export type InclusivePriceCatalogValidationJobComplianceStatus =
|
|
|
1698
1708
|
(typeof inclusivePriceCatalogValidationJobComplianceStatus)[keyof typeof inclusivePriceCatalogValidationJobComplianceStatus];
|
|
1699
1709
|
|
|
1700
1710
|
export const inclusivePriceHistoryCsvJobStatus = {
|
|
1711
|
+
Completed: 'COMPLETED',
|
|
1701
1712
|
Error: 'ERROR',
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
ReadyForUpload: 'READY_FOR_UPLOAD',
|
|
1705
|
-
Uploading: 'UPLOADING',
|
|
1713
|
+
Initialized: 'INITIALIZED',
|
|
1714
|
+
Processing: 'PROCESSING',
|
|
1706
1715
|
} as const;
|
|
1707
1716
|
|
|
1708
1717
|
export type InclusivePriceHistoryCsvJobStatus =
|
|
@@ -1726,6 +1735,7 @@ export type InclusivePriceSettingAdjustmentStatus =
|
|
|
1726
1735
|
(typeof inclusivePriceSettingAdjustmentStatus)[keyof typeof inclusivePriceSettingAdjustmentStatus];
|
|
1727
1736
|
|
|
1728
1737
|
export const inclusivePriceSettingStatus = {
|
|
1738
|
+
Archived: 'ARCHIVED',
|
|
1729
1739
|
Disabled: 'DISABLED',
|
|
1730
1740
|
Enabled: 'ENABLED',
|
|
1731
1741
|
} as const;
|
|
@@ -1742,7 +1752,9 @@ export type InclusivePriceStatus =
|
|
|
1742
1752
|
(typeof inclusivePriceStatus)[keyof typeof inclusivePriceStatus];
|
|
1743
1753
|
|
|
1744
1754
|
export const inclusivePriceSyncJobStatus = {
|
|
1755
|
+
Cancelled: 'CANCELLED',
|
|
1745
1756
|
Completed: 'COMPLETED',
|
|
1757
|
+
CompletedWithErrors: 'COMPLETED_WITH_ERRORS',
|
|
1746
1758
|
Failed: 'FAILED',
|
|
1747
1759
|
InProgress: 'IN_PROGRESS',
|
|
1748
1760
|
Initialized: 'INITIALIZED',
|
|
@@ -1900,7 +1912,11 @@ export type ItemUnitOfMeasure =
|
|
|
1900
1912
|
export const itemValueSource = {
|
|
1901
1913
|
ApiRequest: 'API_REQUEST',
|
|
1902
1914
|
Catalog: 'CATALOG',
|
|
1915
|
+
Classify: 'CLASSIFY',
|
|
1916
|
+
Fallback: 'FALLBACK',
|
|
1917
|
+
Hybrid: 'HYBRID',
|
|
1903
1918
|
OrganizationSetting: 'ORGANIZATION_SETTING',
|
|
1919
|
+
UserProvided: 'USER_PROVIDED',
|
|
1904
1920
|
} as const;
|
|
1905
1921
|
|
|
1906
1922
|
export type ItemValueSource =
|
|
@@ -2300,6 +2316,16 @@ export const orderCompleteBillingMethod = {
|
|
|
2300
2316
|
export type OrderCompleteBillingMethod =
|
|
2301
2317
|
(typeof orderCompleteBillingMethod)[keyof typeof orderCompleteBillingMethod];
|
|
2302
2318
|
|
|
2319
|
+
export const orderNoteType = {
|
|
2320
|
+
Comment: 'COMMENT',
|
|
2321
|
+
NotificationSent: 'NOTIFICATION_SENT',
|
|
2322
|
+
OrderChange: 'ORDER_CHANGE',
|
|
2323
|
+
Shipment: 'SHIPMENT',
|
|
2324
|
+
Status: 'STATUS',
|
|
2325
|
+
} as const;
|
|
2326
|
+
|
|
2327
|
+
export type OrderNoteType = (typeof orderNoteType)[keyof typeof orderNoteType];
|
|
2328
|
+
|
|
2303
2329
|
export const orderRefundSubtotalType = {
|
|
2304
2330
|
DutyTaxFee: 'DUTY_TAX_FEE',
|
|
2305
2331
|
Item: 'ITEM',
|
|
@@ -2473,6 +2499,13 @@ export const pddpStatus = {
|
|
|
2473
2499
|
|
|
2474
2500
|
export type PddpStatus = (typeof pddpStatus)[keyof typeof pddpStatus];
|
|
2475
2501
|
|
|
2502
|
+
export const pddpType = {
|
|
2503
|
+
CanadaPost: 'CANADA_POST',
|
|
2504
|
+
Ipc: 'IPC',
|
|
2505
|
+
} as const;
|
|
2506
|
+
|
|
2507
|
+
export type PddpType = (typeof pddpType)[keyof typeof pddpType];
|
|
2508
|
+
|
|
2476
2509
|
export const pickupBuildingType = {
|
|
2477
2510
|
Apartment: 'APARTMENT',
|
|
2478
2511
|
Building: 'BUILDING',
|
|
@@ -2552,6 +2585,15 @@ export const roundingType = {
|
|
|
2552
2585
|
|
|
2553
2586
|
export type RoundingType = (typeof roundingType)[keyof typeof roundingType];
|
|
2554
2587
|
|
|
2588
|
+
export const searchIndex = {
|
|
2589
|
+
Catalog: 'CATALOG',
|
|
2590
|
+
Orders: 'ORDERS',
|
|
2591
|
+
Quotes: 'QUOTES',
|
|
2592
|
+
Shipments: 'SHIPMENTS',
|
|
2593
|
+
} as const;
|
|
2594
|
+
|
|
2595
|
+
export type SearchIndex = (typeof searchIndex)[keyof typeof searchIndex];
|
|
2596
|
+
|
|
2555
2597
|
export const serviceLevelAvailability = {
|
|
2556
2598
|
Contracted: 'CONTRACTED',
|
|
2557
2599
|
Disabled: 'DISABLED',
|
|
@@ -2616,6 +2658,13 @@ export const shipmentRatingBatteryPackingType = {
|
|
|
2616
2658
|
export type ShipmentRatingBatteryPackingType =
|
|
2617
2659
|
(typeof shipmentRatingBatteryPackingType)[keyof typeof shipmentRatingBatteryPackingType];
|
|
2618
2660
|
|
|
2661
|
+
export const shipmentRatingRateType = {
|
|
2662
|
+
LabelEnabled: 'LABEL_ENABLED',
|
|
2663
|
+
Zone: 'ZONE',
|
|
2664
|
+
} as const;
|
|
2665
|
+
|
|
2666
|
+
export type ShipmentRatingRateType =
|
|
2667
|
+
(typeof shipmentRatingRateType)[keyof typeof shipmentRatingRateType];
|
|
2619
2668
|
export const shipmentRatingSignatureOptionType = {
|
|
2620
2669
|
Adult: 'ADULT',
|
|
2621
2670
|
Default: 'DEFAULT',
|
|
@@ -2661,6 +2710,10 @@ export type ShipmentSpecialService =
|
|
|
2661
2710
|
(typeof shipmentSpecialService)[keyof typeof shipmentSpecialService];
|
|
2662
2711
|
export const shipmentStatusType = {
|
|
2663
2712
|
Created: 'CREATED',
|
|
2713
|
+
Delivered: 'DELIVERED',
|
|
2714
|
+
DeliveredToConsolidationCenter: 'DELIVERED_TO_CONSOLIDATION_CENTER',
|
|
2715
|
+
InTransit: 'IN_TRANSIT',
|
|
2716
|
+
InTransitToConsolidationCenter: 'IN_TRANSIT_TO_CONSOLIDATION_CENTER',
|
|
2664
2717
|
Voided: 'VOIDED',
|
|
2665
2718
|
} as const;
|
|
2666
2719
|
|
|
@@ -2673,6 +2726,7 @@ export const shipmentType = {
|
|
|
2673
2726
|
} as const;
|
|
2674
2727
|
|
|
2675
2728
|
export type ShipmentType = (typeof shipmentType)[keyof typeof shipmentType];
|
|
2729
|
+
|
|
2676
2730
|
export const shippingPaymentType = {
|
|
2677
2731
|
Sender: 'SENDER',
|
|
2678
2732
|
ThirdParty: 'THIRD_PARTY',
|
|
@@ -2834,9 +2888,19 @@ export const taxMethodType = {
|
|
|
2834
2888
|
Consignment: 'CONSIGNMENT',
|
|
2835
2889
|
Default: 'DEFAULT',
|
|
2836
2890
|
Domestic: 'DOMESTIC',
|
|
2891
|
+
SellerOfRecord: 'SELLER_OF_RECORD',
|
|
2837
2892
|
} as const;
|
|
2838
2893
|
|
|
2839
2894
|
export type TaxMethodType = (typeof taxMethodType)[keyof typeof taxMethodType];
|
|
2895
|
+
export const thirdPartyAccountType = {
|
|
2896
|
+
Dhl: 'DHL',
|
|
2897
|
+
Fedex: 'FEDEX',
|
|
2898
|
+
Ups: 'UPS',
|
|
2899
|
+
Usps: 'USPS',
|
|
2900
|
+
} as const;
|
|
2901
|
+
|
|
2902
|
+
export type ThirdPartyAccountType =
|
|
2903
|
+
(typeof thirdPartyAccountType)[keyof typeof thirdPartyAccountType];
|
|
2840
2904
|
export const tokenTypeCategory = {
|
|
2841
2905
|
Auxiliary: 'AUXILIARY',
|
|
2842
2906
|
Functional: 'FUNCTIONAL',
|
|
@@ -2962,6 +3026,7 @@ export const webhookType = {
|
|
|
2962
3026
|
OrderCanceled: 'ORDER_CANCELED',
|
|
2963
3027
|
OrderCreated: 'ORDER_CREATED',
|
|
2964
3028
|
OrderStatusChanged: 'ORDER_STATUS_CHANGED',
|
|
3029
|
+
OrderUpdated: 'ORDER_UPDATED',
|
|
2965
3030
|
ShipmentCanceled: 'SHIPMENT_CANCELED',
|
|
2966
3031
|
ShipmentCreated: 'SHIPMENT_CREATED',
|
|
2967
3032
|
} as const;
|
|
@@ -3296,6 +3361,12 @@ export type GetCheckoutSessionQuery = {
|
|
|
3296
3361
|
checkoutSession: { order: { id: string } | null };
|
|
3297
3362
|
};
|
|
3298
3363
|
|
|
3364
|
+
export type GetInclusivePriceSettingEnabledByCountryQuery = {
|
|
3365
|
+
inclusivePriceSettings: {
|
|
3366
|
+
edges: Array<{ node: { id: string; status: InclusivePriceSettingStatus } }>;
|
|
3367
|
+
} | null;
|
|
3368
|
+
};
|
|
3369
|
+
|
|
3299
3370
|
export type ShippingZonesQuery = {
|
|
3300
3371
|
shippingZones: Array<{
|
|
3301
3372
|
countryCodes: Array<CountryCode> | null;
|
|
@@ -3960,6 +4031,21 @@ export function getSdk(
|
|
|
3960
4031
|
'query',
|
|
3961
4032
|
);
|
|
3962
4033
|
},
|
|
4034
|
+
getInclusivePriceSettingEnabledByCountry(
|
|
4035
|
+
variables?: { [x: string]: never },
|
|
4036
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
4037
|
+
): Promise<GetInclusivePriceSettingEnabledByCountryQuery> {
|
|
4038
|
+
return withWrapper(
|
|
4039
|
+
wrappedRequestHeaders =>
|
|
4040
|
+
client.request<GetInclusivePriceSettingEnabledByCountryQuery>(
|
|
4041
|
+
'',
|
|
4042
|
+
variables,
|
|
4043
|
+
{ ...requestHeaders, ...wrappedRequestHeaders },
|
|
4044
|
+
),
|
|
4045
|
+
'getInclusivePriceSettingEnabledByCountry',
|
|
4046
|
+
'query',
|
|
4047
|
+
);
|
|
4048
|
+
},
|
|
3963
4049
|
getOrder(
|
|
3964
4050
|
variables?: { [x: string]: never },
|
|
3965
4051
|
requestHeaders?: GraphQLClientRequestHeaders,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
3
|
+
d="M4.04505 6.64123C2.19006 8.49622 2.19006 11.5038 4.04505 13.3587L11.2929 20.6066C11.6834 20.9971 12.3166 20.9971 12.7071 20.6066L19.955 13.3587C21.8099 11.5038 21.8099 8.49622 19.955 6.64123L17.8336 4.51991C17.4431 4.12939 16.8099 4.12939 16.4194 4.51991L13.5241 7.41527C12.5864 6.86157 11.4136 6.86157 10.4759 7.41527L7.58059 4.51991C7.19006 4.12939 6.5569 4.12939 6.16637 4.51991L4.04505 6.64123ZM5.10571 12.2981C3.83651 11.0289 3.83651 8.9711 5.10571 7.70189L6.87348 5.93413L9.70191 8.76255C10.1056 9.16622 10.6991 9.12 11.0641 8.82749C11.6091 8.39083 12.3909 8.39082 12.9359 8.82749C13.301 9.12 13.8944 9.16622 14.2981 8.76255L17.1265 5.93413L18.8943 7.70189C20.1635 8.9711 20.1635 11.0289 18.8943 12.2981L12 19.1924L5.10571 12.2981Z"
|
|
4
|
+
fill="#0F1015" />
|
|
5
|
+
<path
|
|
6
|
+
d="M10.0333 3.28075C9.63566 3.39679 9.40739 3.8132 9.52343 4.21083C9.63947 4.60846 10.0559 4.83673 10.4535 4.72069C11.4618 4.42644 12.5383 4.42644 13.5466 4.72069C13.9442 4.83673 14.3606 4.60846 14.4766 4.21083C14.5927 3.81321 14.3644 3.39679 13.9668 3.28075C12.6841 2.90642 11.316 2.90642 10.0333 3.28075Z"
|
|
7
|
+
fill="#0F1015" />
|
|
8
|
+
</svg>
|