@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
|
@@ -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',
|
|
@@ -1233,14 +1243,10 @@ export const imageSlot = {
|
|
|
1233
1243
|
export const inclusivePriceCalculateJobStatus = {
|
|
1234
1244
|
Cancelled: 'CANCELLED',
|
|
1235
1245
|
Completed: 'COMPLETED',
|
|
1246
|
+
CompletedWithErrors: 'COMPLETED_WITH_ERRORS',
|
|
1236
1247
|
Failed: 'FAILED',
|
|
1237
1248
|
InProgress: 'IN_PROGRESS',
|
|
1238
1249
|
};
|
|
1239
|
-
export const inclusivePriceCalculateJobType = {
|
|
1240
|
-
All: 'ALL',
|
|
1241
|
-
CatalogItem: 'CATALOG_ITEM',
|
|
1242
|
-
Country: 'COUNTRY',
|
|
1243
|
-
};
|
|
1244
1250
|
export const inclusivePriceCatalogValidationJobCompletionStatus = {
|
|
1245
1251
|
Archived: 'ARCHIVED',
|
|
1246
1252
|
Completed: 'COMPLETED',
|
|
@@ -1253,11 +1259,10 @@ export const inclusivePriceCatalogValidationJobComplianceStatus = {
|
|
|
1253
1259
|
Pending: 'PENDING',
|
|
1254
1260
|
};
|
|
1255
1261
|
export const inclusivePriceHistoryCsvJobStatus = {
|
|
1262
|
+
Completed: 'COMPLETED',
|
|
1256
1263
|
Error: 'ERROR',
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
ReadyForUpload: 'READY_FOR_UPLOAD',
|
|
1260
|
-
Uploading: 'UPLOADING',
|
|
1264
|
+
Initialized: 'INITIALIZED',
|
|
1265
|
+
Processing: 'PROCESSING',
|
|
1261
1266
|
};
|
|
1262
1267
|
export const inclusivePriceHistorySource = {
|
|
1263
1268
|
Platform: 'PLATFORM',
|
|
@@ -1269,6 +1274,7 @@ export const inclusivePriceSettingAdjustmentStatus = {
|
|
|
1269
1274
|
Included: 'INCLUDED',
|
|
1270
1275
|
};
|
|
1271
1276
|
export const inclusivePriceSettingStatus = {
|
|
1277
|
+
Archived: 'ARCHIVED',
|
|
1272
1278
|
Disabled: 'DISABLED',
|
|
1273
1279
|
Enabled: 'ENABLED',
|
|
1274
1280
|
};
|
|
@@ -1277,7 +1283,9 @@ export const inclusivePriceStatus = {
|
|
|
1277
1283
|
Inactive: 'INACTIVE',
|
|
1278
1284
|
};
|
|
1279
1285
|
export const inclusivePriceSyncJobStatus = {
|
|
1286
|
+
Cancelled: 'CANCELLED',
|
|
1280
1287
|
Completed: 'COMPLETED',
|
|
1288
|
+
CompletedWithErrors: 'COMPLETED_WITH_ERRORS',
|
|
1281
1289
|
Failed: 'FAILED',
|
|
1282
1290
|
InProgress: 'IN_PROGRESS',
|
|
1283
1291
|
Initialized: 'INITIALIZED',
|
|
@@ -1394,7 +1402,11 @@ export const itemUnitOfMeasure = {
|
|
|
1394
1402
|
export const itemValueSource = {
|
|
1395
1403
|
ApiRequest: 'API_REQUEST',
|
|
1396
1404
|
Catalog: 'CATALOG',
|
|
1405
|
+
Classify: 'CLASSIFY',
|
|
1406
|
+
Fallback: 'FALLBACK',
|
|
1407
|
+
Hybrid: 'HYBRID',
|
|
1397
1408
|
OrganizationSetting: 'ORGANIZATION_SETTING',
|
|
1409
|
+
UserProvided: 'USER_PROVIDED',
|
|
1398
1410
|
};
|
|
1399
1411
|
export const labelAmountType = {
|
|
1400
1412
|
Fee: 'FEE',
|
|
@@ -1688,6 +1700,13 @@ export const orderCompleteBillingMethod = {
|
|
|
1688
1700
|
BillingDgs: 'BILLING_DGS',
|
|
1689
1701
|
Legacy: 'LEGACY',
|
|
1690
1702
|
};
|
|
1703
|
+
export const orderNoteType = {
|
|
1704
|
+
Comment: 'COMMENT',
|
|
1705
|
+
NotificationSent: 'NOTIFICATION_SENT',
|
|
1706
|
+
OrderChange: 'ORDER_CHANGE',
|
|
1707
|
+
Shipment: 'SHIPMENT',
|
|
1708
|
+
Status: 'STATUS',
|
|
1709
|
+
};
|
|
1691
1710
|
export const orderRefundSubtotalType = {
|
|
1692
1711
|
DutyTaxFee: 'DUTY_TAX_FEE',
|
|
1693
1712
|
Item: 'ITEM',
|
|
@@ -1798,6 +1817,10 @@ export const pddpStatus = {
|
|
|
1798
1817
|
Active: 'ACTIVE',
|
|
1799
1818
|
Disabled: 'DISABLED',
|
|
1800
1819
|
};
|
|
1820
|
+
export const pddpType = {
|
|
1821
|
+
CanadaPost: 'CANADA_POST',
|
|
1822
|
+
Ipc: 'IPC',
|
|
1823
|
+
};
|
|
1801
1824
|
export const pickupBuildingType = {
|
|
1802
1825
|
Apartment: 'APARTMENT',
|
|
1803
1826
|
Building: 'BUILDING',
|
|
@@ -1850,6 +1873,12 @@ export const roundingType = {
|
|
|
1850
1873
|
Default: 'DEFAULT',
|
|
1851
1874
|
None: 'NONE',
|
|
1852
1875
|
};
|
|
1876
|
+
export const searchIndex = {
|
|
1877
|
+
Catalog: 'CATALOG',
|
|
1878
|
+
Orders: 'ORDERS',
|
|
1879
|
+
Quotes: 'QUOTES',
|
|
1880
|
+
Shipments: 'SHIPMENTS',
|
|
1881
|
+
};
|
|
1853
1882
|
export const serviceLevelAvailability = {
|
|
1854
1883
|
Contracted: 'CONTRACTED',
|
|
1855
1884
|
Disabled: 'DISABLED',
|
|
@@ -1886,6 +1915,10 @@ export const shipmentRatingBatteryPackingType = {
|
|
|
1886
1915
|
BatteryOnly: 'BATTERY_ONLY',
|
|
1887
1916
|
BatteryPackagedWithEquipment: 'BATTERY_PACKAGED_WITH_EQUIPMENT',
|
|
1888
1917
|
};
|
|
1918
|
+
export const shipmentRatingRateType = {
|
|
1919
|
+
LabelEnabled: 'LABEL_ENABLED',
|
|
1920
|
+
Zone: 'ZONE',
|
|
1921
|
+
};
|
|
1889
1922
|
export const shipmentRatingSignatureOptionType = {
|
|
1890
1923
|
Adult: 'ADULT',
|
|
1891
1924
|
Default: 'DEFAULT',
|
|
@@ -1915,6 +1948,10 @@ export const shipmentSpecialService = {
|
|
|
1915
1948
|
};
|
|
1916
1949
|
export const shipmentStatusType = {
|
|
1917
1950
|
Created: 'CREATED',
|
|
1951
|
+
Delivered: 'DELIVERED',
|
|
1952
|
+
DeliveredToConsolidationCenter: 'DELIVERED_TO_CONSOLIDATION_CENTER',
|
|
1953
|
+
InTransit: 'IN_TRANSIT',
|
|
1954
|
+
InTransitToConsolidationCenter: 'IN_TRANSIT_TO_CONSOLIDATION_CENTER',
|
|
1918
1955
|
Voided: 'VOIDED',
|
|
1919
1956
|
};
|
|
1920
1957
|
export const shipmentType = {
|
|
@@ -2028,6 +2065,13 @@ export const taxMethodType = {
|
|
|
2028
2065
|
Consignment: 'CONSIGNMENT',
|
|
2029
2066
|
Default: 'DEFAULT',
|
|
2030
2067
|
Domestic: 'DOMESTIC',
|
|
2068
|
+
SellerOfRecord: 'SELLER_OF_RECORD',
|
|
2069
|
+
};
|
|
2070
|
+
export const thirdPartyAccountType = {
|
|
2071
|
+
Dhl: 'DHL',
|
|
2072
|
+
Fedex: 'FEDEX',
|
|
2073
|
+
Ups: 'UPS',
|
|
2074
|
+
Usps: 'USPS',
|
|
2031
2075
|
};
|
|
2032
2076
|
export const tokenTypeCategory = {
|
|
2033
2077
|
Auxiliary: 'AUXILIARY',
|
|
@@ -2125,6 +2169,7 @@ export const webhookType = {
|
|
|
2125
2169
|
OrderCanceled: 'ORDER_CANCELED',
|
|
2126
2170
|
OrderCreated: 'ORDER_CREATED',
|
|
2127
2171
|
OrderStatusChanged: 'ORDER_STATUS_CHANGED',
|
|
2172
|
+
OrderUpdated: 'ORDER_UPDATED',
|
|
2128
2173
|
ShipmentCanceled: 'SHIPMENT_CANCELED',
|
|
2129
2174
|
ShipmentCreated: 'SHIPMENT_CREATED',
|
|
2130
2175
|
};
|
|
@@ -2184,6 +2229,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2184
2229
|
getCheckoutSession(variables, requestHeaders) {
|
|
2185
2230
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCheckoutSession', 'query');
|
|
2186
2231
|
},
|
|
2232
|
+
getInclusivePriceSettingEnabledByCountry(variables, requestHeaders) {
|
|
2233
|
+
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getInclusivePriceSettingEnabledByCountry', 'query');
|
|
2234
|
+
},
|
|
2187
2235
|
getOrder(variables, requestHeaders) {
|
|
2188
2236
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getOrder', 'query');
|
|
2189
2237
|
},
|