@zonos/elements 1.3.12-alpha.0 → 1.3.12-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{cart-fcddc0e6.js → cart-37e23be9.js} +739 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sendErrorLog-7b3d82e4.js +29 -0
- package/dist/cjs/{submitGtag-ec6ead54.js → submitGtag-d0718b63.js} +1 -20
- package/dist/cjs/zonos-address_4.cjs.entry.js +46 -18
- package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js +8 -8
- package/dist/cjs/zonos-checkout.cjs.entry.js +7 -7
- package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +1 -1
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +90 -26
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-payment.cjs.entry.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/assets/importIcon.svg +4 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +85 -25
- package/dist/collection/components/store/translationStore/strings.arabic.js +36 -0
- package/dist/collection/components/store/translationStore/strings.base.js +36 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +36 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +36 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +36 -0
- package/dist/collection/components/store/translationStore/strings.french.js +36 -0
- package/dist/collection/components/store/translationStore/strings.german.js +36 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +36 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +36 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +36 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +36 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +36 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +36 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +36 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +36 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +36 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +36 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +36 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +36 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +36 -0
- package/dist/collection/components/store/translationStore.js +19 -3
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +41 -15
- package/dist/collection/components/utils/containsNonLatinChars.js +5 -1
- package/dist/collection/components/utils/logging/getNavigatorConnection.js +16 -0
- package/dist/collection/components/utils/logging/sendLoadScriptLog.js +16 -0
- package/dist/collection/types/LogLoadScriptRequestBody.js +1 -0
- package/dist/collection/types/generated/graphql.customer.types.js +64 -14
- package/dist/collection/types/generated/graphql.frontend.types.js +4 -0
- package/dist/components/sendErrorLog.js +21 -0
- package/dist/components/stripe.js +740 -4
- package/dist/components/trackConversionEvent.js +1 -1
- package/dist/components/zonos-address2.js +46 -16
- package/dist/components/zonos-checkout-finish2.js +3 -20
- package/dist/components/zonos-checkout.js +3 -2
- package/dist/components/zonos-controller.js +1 -1
- package/dist/components/zonos-hello-dialog2.js +89 -25
- package/dist/components/zonos-hello.js +1 -1
- package/dist/components/zonos-link-authentication2.js +1 -1
- package/dist/esm/{cart-228e1ef7.js → cart-7961927b.js} +739 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sendErrorLog-4d9581da.js +26 -0
- package/dist/esm/{submitGtag-c3727595.js → submitGtag-4c1f09dc.js} +2 -20
- package/dist/esm/zonos-address_4.entry.js +45 -17
- package/dist/esm/zonos-card_2.entry.js +1 -1
- package/dist/esm/zonos-cart-items_10.entry.js +3 -3
- package/dist/esm/zonos-checkout.entry.js +3 -3
- package/dist/esm/zonos-controller.entry.js +1 -1
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_3.entry.js +1 -1
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +90 -26
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/cart-7961927b.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/sendErrorLog-4d9581da.js +1 -0
- package/dist/esm-es5/submitGtag-4c1f09dc.js +1 -0
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/scripts/zonosBase.js +1 -1
- package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +36 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +36 -0
- package/dist/types/components/store/translationStore.d.ts +24 -1
- package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +7 -1
- package/dist/types/components/utils/api/getCountryLandedCost.d.ts +10 -1
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/logging/getNavigatorConnection.d.ts +8 -0
- package/dist/types/components/utils/logging/sendLoadScriptLog.d.ts +4 -0
- package/dist/types/types/LogLoadScriptRequestBody.d.ts +12 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +1 -1
- package/dist/types/types/generated/graphql.customer.types.d.ts +91 -18
- package/dist/types/types/generated/graphql.customer.types.ts +132 -22
- package/dist/types/types/generated/graphql.frontend.types.d.ts +13 -3
- package/dist/types/types/generated/graphql.frontend.types.ts +23 -3
- package/dist/types/types/global.d.ts +1 -2
- package/dist/zonos-elements/assets/importIcon.svg +4 -0
- package/dist/zonos-elements/p-0bdac452.system.js +1 -0
- package/dist/zonos-elements/p-0c5d3595.js +1 -0
- package/dist/zonos-elements/{p-5d5c0fbf.entry.js → p-2191b884.entry.js} +1 -1
- package/dist/zonos-elements/{p-0082c5be.system.entry.js → p-2da8e12a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-67ff446b.system.entry.js → p-339c505b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ac5aecca.entry.js → p-33f5634a.entry.js} +1 -1
- package/dist/zonos-elements/{p-5f662cf2.entry.js → p-3eb402c8.entry.js} +1 -1
- package/dist/zonos-elements/p-431648d8.system.entry.js +1 -0
- package/dist/zonos-elements/p-44842b39.system.entry.js +1 -0
- package/dist/zonos-elements/{p-14a2824f.entry.js → p-44f4dd4b.entry.js} +1 -1
- package/dist/zonos-elements/{p-35c328ba.system.entry.js → p-4b3923d2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-30cd191f.entry.js → p-4eba3abe.entry.js} +1 -1
- package/dist/zonos-elements/p-5a3ceb49.entry.js +1 -0
- package/dist/zonos-elements/p-63775f6d.js +1 -0
- package/dist/zonos-elements/p-6e81adba.system.js +1 -1
- package/dist/zonos-elements/{p-5f6f0581.system.entry.js → p-7efb9c12.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5dbb80df.system.entry.js → p-8eb876e8.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a6c9c505.system.js +1 -0
- package/dist/zonos-elements/{p-c815e8b4.system.entry.js → p-bdb72353.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-499d7f5d.system.entry.js → p-d6aa3011.system.entry.js} +1 -1
- package/dist/zonos-elements/p-dd4f3724.system.js +1 -0
- package/dist/zonos-elements/{p-925ae524.entry.js → p-e1796e2a.entry.js} +1 -1
- package/dist/zonos-elements/{p-db1adc42.entry.js → p-e4919505.entry.js} +1 -1
- package/dist/zonos-elements/p-e4be7bd8.js +1 -0
- package/dist/zonos-elements/{p-7ff3a533.system.entry.js → p-e5fd850c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-e90e2126.entry.js +1 -0
- package/dist/zonos-elements/{p-11f1b5fb.entry.js → p-f0b5d2fb.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/isCheckoutMobile-f491ca7c.js +0 -8
- package/dist/esm/isCheckoutMobile-8846dccb.js +0 -6
- package/dist/esm-es5/cart-228e1ef7.js +0 -1
- package/dist/esm-es5/isCheckoutMobile-8846dccb.js +0 -1
- package/dist/esm-es5/submitGtag-c3727595.js +0 -1
- package/dist/zonos-elements/p-397d8268.entry.js +0 -1
- package/dist/zonos-elements/p-55940b5a.system.entry.js +0 -1
- package/dist/zonos-elements/p-770e5b9e.js +0 -1
- package/dist/zonos-elements/p-81a54668.js +0 -1
- package/dist/zonos-elements/p-93dafeea.system.entry.js +0 -1
- package/dist/zonos-elements/p-94bbf247.system.js +0 -1
- package/dist/zonos-elements/p-960e4021.system.js +0 -1
- package/dist/zonos-elements/p-aed0098c.system.js +0 -1
- package/dist/zonos-elements/p-d11b2449.js +0 -1
- package/dist/zonos-elements/p-d31e5fcc.entry.js +0 -1
|
@@ -65,6 +65,17 @@ export declare const accountHolderType: {
|
|
|
65
65
|
readonly Individual: "INDIVIDUAL";
|
|
66
66
|
};
|
|
67
67
|
export type AccountHolderType = (typeof accountHolderType)[keyof typeof accountHolderType];
|
|
68
|
+
export declare const accountingFeeType: {
|
|
69
|
+
readonly BugFix: "BUG_FIX";
|
|
70
|
+
readonly DutyTaxFee: "DUTY_TAX_FEE";
|
|
71
|
+
readonly General: "GENERAL";
|
|
72
|
+
readonly Item: "ITEM";
|
|
73
|
+
readonly LandedCostGuarantee: "LANDED_COST_GUARANTEE";
|
|
74
|
+
readonly MerchantProcessing: "MERCHANT_PROCESSING";
|
|
75
|
+
readonly Shipping: "SHIPPING";
|
|
76
|
+
readonly Transaction: "TRANSACTION";
|
|
77
|
+
};
|
|
78
|
+
export type AccountingFeeType = (typeof accountingFeeType)[keyof typeof accountingFeeType];
|
|
68
79
|
export declare const addressMatchThreshold: {
|
|
69
80
|
readonly ExactAdministrativeArea: "EXACT_ADMINISTRATIVE_AREA";
|
|
70
81
|
readonly ExactCountry: "EXACT_COUNTRY";
|
|
@@ -82,11 +93,27 @@ export declare const addressResult: {
|
|
|
82
93
|
readonly Valid: "VALID";
|
|
83
94
|
};
|
|
84
95
|
export type AddressResult = (typeof addressResult)[keyof typeof addressResult];
|
|
96
|
+
export declare const adjustmentRecordType: {
|
|
97
|
+
readonly ConnectAccountAdjustment: "CONNECT_ACCOUNT_ADJUSTMENT";
|
|
98
|
+
readonly CreditNote: "CREDIT_NOTE";
|
|
99
|
+
readonly InvoiceLineRecord: "INVOICE_LINE_RECORD";
|
|
100
|
+
};
|
|
101
|
+
export type AdjustmentRecordType = (typeof adjustmentRecordType)[keyof typeof adjustmentRecordType];
|
|
102
|
+
export declare const adjustmentType: {
|
|
103
|
+
readonly Charge: "CHARGE";
|
|
104
|
+
readonly Credit: "CREDIT";
|
|
105
|
+
};
|
|
106
|
+
export type AdjustmentType = (typeof adjustmentType)[keyof typeof adjustmentType];
|
|
85
107
|
export declare const alcoholRecipientType: {
|
|
86
108
|
readonly Consumer: "CONSUMER";
|
|
87
109
|
readonly Licensee: "LICENSEE";
|
|
88
110
|
};
|
|
89
111
|
export type AlcoholRecipientType = (typeof alcoholRecipientType)[keyof typeof alcoholRecipientType];
|
|
112
|
+
export declare const allowedCharacterSets: {
|
|
113
|
+
readonly All: "ALL";
|
|
114
|
+
readonly Latin: "LATIN";
|
|
115
|
+
};
|
|
116
|
+
export type AllowedCharacterSets = (typeof allowedCharacterSets)[keyof typeof allowedCharacterSets];
|
|
90
117
|
export type AmountRange = {
|
|
91
118
|
max?: InputMaybe<Scalars['Decimal']['input']>;
|
|
92
119
|
min?: InputMaybe<Scalars['Decimal']['input']>;
|
|
@@ -275,6 +302,11 @@ export declare const catalogItemSource: {
|
|
|
275
302
|
readonly UserProvided: "USER_PROVIDED";
|
|
276
303
|
};
|
|
277
304
|
export type CatalogItemSource = (typeof catalogItemSource)[keyof typeof catalogItemSource];
|
|
305
|
+
export declare const catalogSettingMigrationAction: {
|
|
306
|
+
readonly Evaluate: "EVALUATE";
|
|
307
|
+
readonly Migrate: "MIGRATE";
|
|
308
|
+
};
|
|
309
|
+
export type CatalogSettingMigrationAction = (typeof catalogSettingMigrationAction)[keyof typeof catalogSettingMigrationAction];
|
|
278
310
|
export declare const catalogStatus: {
|
|
279
311
|
readonly Disabled: "DISABLED";
|
|
280
312
|
readonly Enabled: "ENABLED";
|
|
@@ -870,18 +902,9 @@ export declare const credentialProvider: {
|
|
|
870
902
|
export type CredentialProvider = (typeof credentialProvider)[keyof typeof credentialProvider];
|
|
871
903
|
export declare const creditBehaviorTypeCode: {
|
|
872
904
|
readonly CreditAccount: "CREDIT_ACCOUNT";
|
|
873
|
-
readonly CreditInvoice: "CREDIT_INVOICE";
|
|
874
905
|
readonly RefundPayment: "REFUND_PAYMENT";
|
|
875
906
|
};
|
|
876
907
|
export type CreditBehaviorTypeCode = (typeof creditBehaviorTypeCode)[keyof typeof creditBehaviorTypeCode];
|
|
877
|
-
export declare const creditNoteStatusCode: {
|
|
878
|
-
readonly Failed: "FAILED";
|
|
879
|
-
readonly Issued: "ISSUED";
|
|
880
|
-
readonly Pending: "PENDING";
|
|
881
|
-
readonly Processed: "PROCESSED";
|
|
882
|
-
readonly Voided: "VOIDED";
|
|
883
|
-
};
|
|
884
|
-
export type CreditNoteStatusCode = (typeof creditNoteStatusCode)[keyof typeof creditNoteStatusCode];
|
|
885
908
|
export declare const creditReasonTypeCode: {
|
|
886
909
|
readonly Duplicate: "DUPLICATE";
|
|
887
910
|
readonly Fraudulent: "FRAUDULENT";
|
|
@@ -1377,6 +1400,11 @@ export declare const inclusivePriceSettingStatus: {
|
|
|
1377
1400
|
readonly Enabled: "ENABLED";
|
|
1378
1401
|
};
|
|
1379
1402
|
export type InclusivePriceSettingStatus = (typeof inclusivePriceSettingStatus)[keyof typeof inclusivePriceSettingStatus];
|
|
1403
|
+
export declare const inclusivePriceStatus: {
|
|
1404
|
+
readonly Active: "ACTIVE";
|
|
1405
|
+
readonly Inactive: "INACTIVE";
|
|
1406
|
+
};
|
|
1407
|
+
export type InclusivePriceStatus = (typeof inclusivePriceStatus)[keyof typeof inclusivePriceStatus];
|
|
1380
1408
|
export declare const incotermCode: {
|
|
1381
1409
|
readonly Cif: "CIF";
|
|
1382
1410
|
readonly Custom: "CUSTOM";
|
|
@@ -1438,19 +1466,18 @@ export declare const invoiceLanguageCode: {
|
|
|
1438
1466
|
readonly ZhTw: "ZH_TW";
|
|
1439
1467
|
};
|
|
1440
1468
|
export type InvoiceLanguageCode = (typeof invoiceLanguageCode)[keyof typeof invoiceLanguageCode];
|
|
1441
|
-
export declare const invoiceLineRecordStatusCode: {
|
|
1442
|
-
readonly Failed: "FAILED";
|
|
1443
|
-
readonly Pending: "PENDING";
|
|
1444
|
-
readonly Processed: "PROCESSED";
|
|
1445
|
-
readonly Voided: "VOIDED";
|
|
1446
|
-
};
|
|
1447
|
-
export type InvoiceLineRecordStatusCode = (typeof invoiceLineRecordStatusCode)[keyof typeof invoiceLineRecordStatusCode];
|
|
1448
1469
|
export declare const invoiceStatus: {
|
|
1449
1470
|
readonly Received: "RECEIVED";
|
|
1450
1471
|
readonly Reconciled: "RECONCILED";
|
|
1451
1472
|
readonly Voided: "VOIDED";
|
|
1452
1473
|
};
|
|
1453
1474
|
export type InvoiceStatus = (typeof invoiceStatus)[keyof typeof invoiceStatus];
|
|
1475
|
+
export declare const itemKeyPreference: {
|
|
1476
|
+
readonly None: "NONE";
|
|
1477
|
+
readonly ProductId: "PRODUCT_ID";
|
|
1478
|
+
readonly Sku: "SKU";
|
|
1479
|
+
};
|
|
1480
|
+
export type ItemKeyPreference = (typeof itemKeyPreference)[keyof typeof itemKeyPreference];
|
|
1454
1481
|
export declare const itemMeasurementType: {
|
|
1455
1482
|
readonly Height: "HEIGHT";
|
|
1456
1483
|
readonly Length: "LENGTH";
|
|
@@ -1732,6 +1759,14 @@ export declare const lcgBillingMethod: {
|
|
|
1732
1759
|
readonly Legacy: "LEGACY";
|
|
1733
1760
|
};
|
|
1734
1761
|
export type LcgBillingMethod = (typeof lcgBillingMethod)[keyof typeof lcgBillingMethod];
|
|
1762
|
+
export declare const manualClassificationBulkJobStatus: {
|
|
1763
|
+
readonly Completed: "COMPLETED";
|
|
1764
|
+
readonly Error: "ERROR";
|
|
1765
|
+
readonly Initialized: "INITIALIZED";
|
|
1766
|
+
readonly ManuallyClassified: "MANUALLY_CLASSIFIED";
|
|
1767
|
+
readonly Processing: "PROCESSING";
|
|
1768
|
+
};
|
|
1769
|
+
export type ManualClassificationBulkJobStatus = (typeof manualClassificationBulkJobStatus)[keyof typeof manualClassificationBulkJobStatus];
|
|
1735
1770
|
export declare const manualClassificationRequestCreateStatus: {
|
|
1736
1771
|
readonly Created: "CREATED";
|
|
1737
1772
|
readonly Existing: "EXISTING";
|
|
@@ -1892,6 +1927,16 @@ export declare const pddpAmountType: {
|
|
|
1892
1927
|
readonly SurchargeValue: "SURCHARGE_VALUE";
|
|
1893
1928
|
};
|
|
1894
1929
|
export type PddpAmountType = (typeof pddpAmountType)[keyof typeof pddpAmountType];
|
|
1930
|
+
export declare const pddpCountrySpecStatus: {
|
|
1931
|
+
readonly Active: "ACTIVE";
|
|
1932
|
+
readonly Disabled: "DISABLED";
|
|
1933
|
+
};
|
|
1934
|
+
export type PddpCountrySpecStatus = (typeof pddpCountrySpecStatus)[keyof typeof pddpCountrySpecStatus];
|
|
1935
|
+
export declare const pddpStatus: {
|
|
1936
|
+
readonly Active: "ACTIVE";
|
|
1937
|
+
readonly Disabled: "DISABLED";
|
|
1938
|
+
};
|
|
1939
|
+
export type PddpStatus = (typeof pddpStatus)[keyof typeof pddpStatus];
|
|
1895
1940
|
export declare const pickupBuildingType: {
|
|
1896
1941
|
readonly Apartment: "APARTMENT";
|
|
1897
1942
|
readonly Building: "BUILDING";
|
|
@@ -1913,6 +1958,13 @@ export declare const pickupCategory: {
|
|
|
1913
1958
|
readonly SameDayCity: "SAME_DAY_CITY";
|
|
1914
1959
|
};
|
|
1915
1960
|
export type PickupCategory = (typeof pickupCategory)[keyof typeof pickupCategory];
|
|
1961
|
+
export declare const processingStatusCode: {
|
|
1962
|
+
readonly Failed: "FAILED";
|
|
1963
|
+
readonly Pending: "PENDING";
|
|
1964
|
+
readonly Processed: "PROCESSED";
|
|
1965
|
+
readonly Voided: "VOIDED";
|
|
1966
|
+
};
|
|
1967
|
+
export type ProcessingStatusCode = (typeof processingStatusCode)[keyof typeof processingStatusCode];
|
|
1916
1968
|
export declare const propertyType: {
|
|
1917
1969
|
readonly Commercial: "COMMERCIAL";
|
|
1918
1970
|
readonly Residental: "RESIDENTAL";
|
|
@@ -2109,6 +2161,11 @@ export declare const stripePriceBillingScheme: {
|
|
|
2109
2161
|
readonly Tiered: "TIERED";
|
|
2110
2162
|
};
|
|
2111
2163
|
export type StripePriceBillingScheme = (typeof stripePriceBillingScheme)[keyof typeof stripePriceBillingScheme];
|
|
2164
|
+
export declare const stripePriceType: {
|
|
2165
|
+
readonly OneTime: "ONE_TIME";
|
|
2166
|
+
readonly Recurring: "RECURRING";
|
|
2167
|
+
};
|
|
2168
|
+
export type StripePriceType = (typeof stripePriceType)[keyof typeof stripePriceType];
|
|
2112
2169
|
export declare const stripeSubscriptionStatus: {
|
|
2113
2170
|
readonly Active: "ACTIVE";
|
|
2114
2171
|
readonly Canceled: "CANCELED";
|
|
@@ -2483,6 +2540,19 @@ export type BulkClassifyMutation = {
|
|
|
2483
2540
|
name: string;
|
|
2484
2541
|
}>;
|
|
2485
2542
|
};
|
|
2543
|
+
export type GetTaxIdByCountryQuery = {
|
|
2544
|
+
taxIds: Array<{
|
|
2545
|
+
administrativeAreaCode: string | null;
|
|
2546
|
+
allowLowValueOrders: boolean | null;
|
|
2547
|
+
countryCode: CountryCode;
|
|
2548
|
+
id: string | null;
|
|
2549
|
+
method: TaxMethodType;
|
|
2550
|
+
mode: Mode | null;
|
|
2551
|
+
sendEmails: boolean | null;
|
|
2552
|
+
taxIdNumber: string;
|
|
2553
|
+
type: TaxIdType;
|
|
2554
|
+
} | null> | null;
|
|
2555
|
+
};
|
|
2486
2556
|
export type CheckoutSessionCreateMutation = {
|
|
2487
2557
|
checkoutSessionCreate: {
|
|
2488
2558
|
clientSecret: string;
|
|
@@ -2735,7 +2805,7 @@ export type ZonosSettingsQuery = {
|
|
|
2735
2805
|
orderConfirmation: {
|
|
2736
2806
|
active: NotificationActiveStatus;
|
|
2737
2807
|
sendCopiesTo: Array<string>;
|
|
2738
|
-
};
|
|
2808
|
+
} | null;
|
|
2739
2809
|
orderShipped: {
|
|
2740
2810
|
active: NotificationActiveStatus;
|
|
2741
2811
|
sendCopiesTo: Array<string>;
|
|
@@ -2819,7 +2889,7 @@ export type CheckoutSettingFragment = {
|
|
|
2819
2889
|
orderConfirmation: {
|
|
2820
2890
|
active: NotificationActiveStatus;
|
|
2821
2891
|
sendCopiesTo: Array<string>;
|
|
2822
|
-
};
|
|
2892
|
+
} | null;
|
|
2823
2893
|
orderShipped: {
|
|
2824
2894
|
active: NotificationActiveStatus;
|
|
2825
2895
|
sendCopiesTo: Array<string>;
|
|
@@ -3059,6 +3129,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
3059
3129
|
GetOrders(variables?: {
|
|
3060
3130
|
[x: string]: never;
|
|
3061
3131
|
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetOrdersQuery>;
|
|
3132
|
+
GetTaxIdByCountry(variables?: {
|
|
3133
|
+
[x: string]: never;
|
|
3134
|
+
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetTaxIdByCountryQuery>;
|
|
3062
3135
|
OnlineStoreSettings(variables?: {
|
|
3063
3136
|
[x: string]: never;
|
|
3064
3137
|
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<OnlineStoreSettingsQuery>;
|
|
@@ -41,6 +41,19 @@ export const accountHolderType = {
|
|
|
41
41
|
|
|
42
42
|
export type AccountHolderType =
|
|
43
43
|
(typeof accountHolderType)[keyof typeof accountHolderType];
|
|
44
|
+
export const accountingFeeType = {
|
|
45
|
+
BugFix: 'BUG_FIX',
|
|
46
|
+
DutyTaxFee: 'DUTY_TAX_FEE',
|
|
47
|
+
General: 'GENERAL',
|
|
48
|
+
Item: 'ITEM',
|
|
49
|
+
LandedCostGuarantee: 'LANDED_COST_GUARANTEE',
|
|
50
|
+
MerchantProcessing: 'MERCHANT_PROCESSING',
|
|
51
|
+
Shipping: 'SHIPPING',
|
|
52
|
+
Transaction: 'TRANSACTION',
|
|
53
|
+
} as const;
|
|
54
|
+
|
|
55
|
+
export type AccountingFeeType =
|
|
56
|
+
(typeof accountingFeeType)[keyof typeof accountingFeeType];
|
|
44
57
|
|
|
45
58
|
export const addressMatchThreshold = {
|
|
46
59
|
ExactAdministrativeArea: 'EXACT_ADMINISTRATIVE_AREA',
|
|
@@ -62,6 +75,21 @@ export const addressResult = {
|
|
|
62
75
|
} as const;
|
|
63
76
|
|
|
64
77
|
export type AddressResult = (typeof addressResult)[keyof typeof addressResult];
|
|
78
|
+
export const adjustmentRecordType = {
|
|
79
|
+
ConnectAccountAdjustment: 'CONNECT_ACCOUNT_ADJUSTMENT',
|
|
80
|
+
CreditNote: 'CREDIT_NOTE',
|
|
81
|
+
InvoiceLineRecord: 'INVOICE_LINE_RECORD',
|
|
82
|
+
} as const;
|
|
83
|
+
|
|
84
|
+
export type AdjustmentRecordType =
|
|
85
|
+
(typeof adjustmentRecordType)[keyof typeof adjustmentRecordType];
|
|
86
|
+
export const adjustmentType = {
|
|
87
|
+
Charge: 'CHARGE',
|
|
88
|
+
Credit: 'CREDIT',
|
|
89
|
+
} as const;
|
|
90
|
+
|
|
91
|
+
export type AdjustmentType =
|
|
92
|
+
(typeof adjustmentType)[keyof typeof adjustmentType];
|
|
65
93
|
export const alcoholRecipientType = {
|
|
66
94
|
Consumer: 'CONSUMER',
|
|
67
95
|
Licensee: 'LICENSEE',
|
|
@@ -69,6 +97,13 @@ export const alcoholRecipientType = {
|
|
|
69
97
|
|
|
70
98
|
export type AlcoholRecipientType =
|
|
71
99
|
(typeof alcoholRecipientType)[keyof typeof alcoholRecipientType];
|
|
100
|
+
export const allowedCharacterSets = {
|
|
101
|
+
All: 'ALL',
|
|
102
|
+
Latin: 'LATIN',
|
|
103
|
+
} as const;
|
|
104
|
+
|
|
105
|
+
export type AllowedCharacterSets =
|
|
106
|
+
(typeof allowedCharacterSets)[keyof typeof allowedCharacterSets];
|
|
72
107
|
export type AmountRange = {
|
|
73
108
|
max?: InputMaybe<Scalars['Decimal']['input']>;
|
|
74
109
|
min?: InputMaybe<Scalars['Decimal']['input']>;
|
|
@@ -330,6 +365,14 @@ export const catalogItemSource = {
|
|
|
330
365
|
export type CatalogItemSource =
|
|
331
366
|
(typeof catalogItemSource)[keyof typeof catalogItemSource];
|
|
332
367
|
|
|
368
|
+
export const catalogSettingMigrationAction = {
|
|
369
|
+
Evaluate: 'EVALUATE',
|
|
370
|
+
Migrate: 'MIGRATE',
|
|
371
|
+
} as const;
|
|
372
|
+
|
|
373
|
+
export type CatalogSettingMigrationAction =
|
|
374
|
+
(typeof catalogSettingMigrationAction)[keyof typeof catalogSettingMigrationAction];
|
|
375
|
+
|
|
333
376
|
export const catalogStatus = {
|
|
334
377
|
Disabled: 'DISABLED',
|
|
335
378
|
Enabled: 'ENABLED',
|
|
@@ -455,6 +498,7 @@ export const collectUploadStatus = {
|
|
|
455
498
|
|
|
456
499
|
export type CollectUploadStatus =
|
|
457
500
|
(typeof collectUploadStatus)[keyof typeof collectUploadStatus];
|
|
501
|
+
|
|
458
502
|
export const connectTransferOriginType = {
|
|
459
503
|
Connect: 'CONNECT',
|
|
460
504
|
Platform: 'PLATFORM',
|
|
@@ -973,23 +1017,12 @@ export type CredentialProvider =
|
|
|
973
1017
|
(typeof credentialProvider)[keyof typeof credentialProvider];
|
|
974
1018
|
export const creditBehaviorTypeCode = {
|
|
975
1019
|
CreditAccount: 'CREDIT_ACCOUNT',
|
|
976
|
-
CreditInvoice: 'CREDIT_INVOICE',
|
|
977
1020
|
RefundPayment: 'REFUND_PAYMENT',
|
|
978
1021
|
} as const;
|
|
979
1022
|
|
|
980
1023
|
export type CreditBehaviorTypeCode =
|
|
981
1024
|
(typeof creditBehaviorTypeCode)[keyof typeof creditBehaviorTypeCode];
|
|
982
1025
|
|
|
983
|
-
export const creditNoteStatusCode = {
|
|
984
|
-
Failed: 'FAILED',
|
|
985
|
-
Issued: 'ISSUED',
|
|
986
|
-
Pending: 'PENDING',
|
|
987
|
-
Processed: 'PROCESSED',
|
|
988
|
-
Voided: 'VOIDED',
|
|
989
|
-
} as const;
|
|
990
|
-
|
|
991
|
-
export type CreditNoteStatusCode =
|
|
992
|
-
(typeof creditNoteStatusCode)[keyof typeof creditNoteStatusCode];
|
|
993
1026
|
export const creditReasonTypeCode = {
|
|
994
1027
|
Duplicate: 'DUPLICATE',
|
|
995
1028
|
Fraudulent: 'FRAUDULENT',
|
|
@@ -1597,6 +1630,13 @@ export const inclusivePriceSettingStatus = {
|
|
|
1597
1630
|
export type InclusivePriceSettingStatus =
|
|
1598
1631
|
(typeof inclusivePriceSettingStatus)[keyof typeof inclusivePriceSettingStatus];
|
|
1599
1632
|
|
|
1633
|
+
export const inclusivePriceStatus = {
|
|
1634
|
+
Active: 'ACTIVE',
|
|
1635
|
+
Inactive: 'INACTIVE',
|
|
1636
|
+
} as const;
|
|
1637
|
+
|
|
1638
|
+
export type InclusivePriceStatus =
|
|
1639
|
+
(typeof inclusivePriceStatus)[keyof typeof inclusivePriceStatus];
|
|
1600
1640
|
export const incotermCode = {
|
|
1601
1641
|
Cif: 'CIF',
|
|
1602
1642
|
Custom: 'CUSTOM',
|
|
@@ -1665,15 +1705,6 @@ export const invoiceLanguageCode = {
|
|
|
1665
1705
|
export type InvoiceLanguageCode =
|
|
1666
1706
|
(typeof invoiceLanguageCode)[keyof typeof invoiceLanguageCode];
|
|
1667
1707
|
|
|
1668
|
-
export const invoiceLineRecordStatusCode = {
|
|
1669
|
-
Failed: 'FAILED',
|
|
1670
|
-
Pending: 'PENDING',
|
|
1671
|
-
Processed: 'PROCESSED',
|
|
1672
|
-
Voided: 'VOIDED',
|
|
1673
|
-
} as const;
|
|
1674
|
-
|
|
1675
|
-
export type InvoiceLineRecordStatusCode =
|
|
1676
|
-
(typeof invoiceLineRecordStatusCode)[keyof typeof invoiceLineRecordStatusCode];
|
|
1677
1708
|
export const invoiceStatus = {
|
|
1678
1709
|
Received: 'RECEIVED',
|
|
1679
1710
|
Reconciled: 'RECONCILED',
|
|
@@ -1682,6 +1713,15 @@ export const invoiceStatus = {
|
|
|
1682
1713
|
|
|
1683
1714
|
export type InvoiceStatus = (typeof invoiceStatus)[keyof typeof invoiceStatus];
|
|
1684
1715
|
|
|
1716
|
+
export const itemKeyPreference = {
|
|
1717
|
+
None: 'NONE',
|
|
1718
|
+
ProductId: 'PRODUCT_ID',
|
|
1719
|
+
Sku: 'SKU',
|
|
1720
|
+
} as const;
|
|
1721
|
+
|
|
1722
|
+
export type ItemKeyPreference =
|
|
1723
|
+
(typeof itemKeyPreference)[keyof typeof itemKeyPreference];
|
|
1724
|
+
|
|
1685
1725
|
export const itemMeasurementType = {
|
|
1686
1726
|
Height: 'HEIGHT',
|
|
1687
1727
|
Length: 'LENGTH',
|
|
@@ -2019,6 +2059,17 @@ export const lcgBillingMethod = {
|
|
|
2019
2059
|
export type LcgBillingMethod =
|
|
2020
2060
|
(typeof lcgBillingMethod)[keyof typeof lcgBillingMethod];
|
|
2021
2061
|
|
|
2062
|
+
export const manualClassificationBulkJobStatus = {
|
|
2063
|
+
Completed: 'COMPLETED',
|
|
2064
|
+
Error: 'ERROR',
|
|
2065
|
+
Initialized: 'INITIALIZED',
|
|
2066
|
+
ManuallyClassified: 'MANUALLY_CLASSIFIED',
|
|
2067
|
+
Processing: 'PROCESSING',
|
|
2068
|
+
} as const;
|
|
2069
|
+
|
|
2070
|
+
export type ManualClassificationBulkJobStatus =
|
|
2071
|
+
(typeof manualClassificationBulkJobStatus)[keyof typeof manualClassificationBulkJobStatus];
|
|
2072
|
+
|
|
2022
2073
|
export const manualClassificationRequestCreateStatus = {
|
|
2023
2074
|
Created: 'CREATED',
|
|
2024
2075
|
Existing: 'EXISTING',
|
|
@@ -2239,6 +2290,21 @@ export const pddpAmountType = {
|
|
|
2239
2290
|
export type PddpAmountType =
|
|
2240
2291
|
(typeof pddpAmountType)[keyof typeof pddpAmountType];
|
|
2241
2292
|
|
|
2293
|
+
export const pddpCountrySpecStatus = {
|
|
2294
|
+
Active: 'ACTIVE',
|
|
2295
|
+
Disabled: 'DISABLED',
|
|
2296
|
+
} as const;
|
|
2297
|
+
|
|
2298
|
+
export type PddpCountrySpecStatus =
|
|
2299
|
+
(typeof pddpCountrySpecStatus)[keyof typeof pddpCountrySpecStatus];
|
|
2300
|
+
|
|
2301
|
+
export const pddpStatus = {
|
|
2302
|
+
Active: 'ACTIVE',
|
|
2303
|
+
Disabled: 'DISABLED',
|
|
2304
|
+
} as const;
|
|
2305
|
+
|
|
2306
|
+
export type PddpStatus = (typeof pddpStatus)[keyof typeof pddpStatus];
|
|
2307
|
+
|
|
2242
2308
|
export const pickupBuildingType = {
|
|
2243
2309
|
Apartment: 'APARTMENT',
|
|
2244
2310
|
Building: 'BUILDING',
|
|
@@ -2264,6 +2330,15 @@ export const pickupCategory = {
|
|
|
2264
2330
|
|
|
2265
2331
|
export type PickupCategory =
|
|
2266
2332
|
(typeof pickupCategory)[keyof typeof pickupCategory];
|
|
2333
|
+
export const processingStatusCode = {
|
|
2334
|
+
Failed: 'FAILED',
|
|
2335
|
+
Pending: 'PENDING',
|
|
2336
|
+
Processed: 'PROCESSED',
|
|
2337
|
+
Voided: 'VOIDED',
|
|
2338
|
+
} as const;
|
|
2339
|
+
|
|
2340
|
+
export type ProcessingStatusCode =
|
|
2341
|
+
(typeof processingStatusCode)[keyof typeof processingStatusCode];
|
|
2267
2342
|
export const propertyType = {
|
|
2268
2343
|
Commercial: 'COMMERCIAL',
|
|
2269
2344
|
Residental: 'RESIDENTAL',
|
|
@@ -2529,6 +2604,13 @@ export const stripePriceBillingScheme = {
|
|
|
2529
2604
|
|
|
2530
2605
|
export type StripePriceBillingScheme =
|
|
2531
2606
|
(typeof stripePriceBillingScheme)[keyof typeof stripePriceBillingScheme];
|
|
2607
|
+
export const stripePriceType = {
|
|
2608
|
+
OneTime: 'ONE_TIME',
|
|
2609
|
+
Recurring: 'RECURRING',
|
|
2610
|
+
} as const;
|
|
2611
|
+
|
|
2612
|
+
export type StripePriceType =
|
|
2613
|
+
(typeof stripePriceType)[keyof typeof stripePriceType];
|
|
2532
2614
|
export const stripeSubscriptionStatus = {
|
|
2533
2615
|
Active: 'ACTIVE',
|
|
2534
2616
|
Canceled: 'CANCELED',
|
|
@@ -2912,6 +2994,20 @@ export type BulkClassifyMutation = {
|
|
|
2912
2994
|
}>;
|
|
2913
2995
|
};
|
|
2914
2996
|
|
|
2997
|
+
export type GetTaxIdByCountryQuery = {
|
|
2998
|
+
taxIds: Array<{
|
|
2999
|
+
administrativeAreaCode: string | null;
|
|
3000
|
+
allowLowValueOrders: boolean | null;
|
|
3001
|
+
countryCode: CountryCode;
|
|
3002
|
+
id: string | null;
|
|
3003
|
+
method: TaxMethodType;
|
|
3004
|
+
mode: Mode | null;
|
|
3005
|
+
sendEmails: boolean | null;
|
|
3006
|
+
taxIdNumber: string;
|
|
3007
|
+
type: TaxIdType;
|
|
3008
|
+
} | null> | null;
|
|
3009
|
+
};
|
|
3010
|
+
|
|
2915
3011
|
export type CheckoutSessionCreateMutation = {
|
|
2916
3012
|
checkoutSessionCreate: {
|
|
2917
3013
|
clientSecret: string;
|
|
@@ -3145,7 +3241,7 @@ export type ZonosSettingsQuery = {
|
|
|
3145
3241
|
orderConfirmation: {
|
|
3146
3242
|
active: NotificationActiveStatus;
|
|
3147
3243
|
sendCopiesTo: Array<string>;
|
|
3148
|
-
};
|
|
3244
|
+
} | null;
|
|
3149
3245
|
orderShipped: {
|
|
3150
3246
|
active: NotificationActiveStatus;
|
|
3151
3247
|
sendCopiesTo: Array<string>;
|
|
@@ -3223,7 +3319,7 @@ export type CheckoutSettingFragment = {
|
|
|
3223
3319
|
orderConfirmation: {
|
|
3224
3320
|
active: NotificationActiveStatus;
|
|
3225
3321
|
sendCopiesTo: Array<string>;
|
|
3226
|
-
};
|
|
3322
|
+
} | null;
|
|
3227
3323
|
orderShipped: {
|
|
3228
3324
|
active: NotificationActiveStatus;
|
|
3229
3325
|
sendCopiesTo: Array<string>;
|
|
@@ -3592,6 +3688,20 @@ export function getSdk(
|
|
|
3592
3688
|
'query',
|
|
3593
3689
|
);
|
|
3594
3690
|
},
|
|
3691
|
+
GetTaxIdByCountry(
|
|
3692
|
+
variables?: { [x: string]: never },
|
|
3693
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
3694
|
+
): Promise<GetTaxIdByCountryQuery> {
|
|
3695
|
+
return withWrapper(
|
|
3696
|
+
wrappedRequestHeaders =>
|
|
3697
|
+
client.request<GetTaxIdByCountryQuery>('', variables, {
|
|
3698
|
+
...requestHeaders,
|
|
3699
|
+
...wrappedRequestHeaders,
|
|
3700
|
+
}),
|
|
3701
|
+
'GetTaxIdByCountry',
|
|
3702
|
+
'query',
|
|
3703
|
+
);
|
|
3704
|
+
},
|
|
3595
3705
|
OnlineStoreSettings(
|
|
3596
3706
|
variables?: { [x: string]: never },
|
|
3597
3707
|
requestHeaders?: GraphQLClientRequestHeaders,
|
|
@@ -110,6 +110,7 @@ export declare const featureAudienceNameEnum: {
|
|
|
110
110
|
readonly FrontendEngineer: "frontend_engineer";
|
|
111
111
|
readonly I18nKnownLanguage: "i18n_known_language";
|
|
112
112
|
readonly I18nSales: "i18n_sales";
|
|
113
|
+
readonly ItHead: "it_head";
|
|
113
114
|
readonly NewCheckoutMerchant: "new_checkout_merchant";
|
|
114
115
|
readonly Onboarding: "onboarding";
|
|
115
116
|
readonly PrincipalEngineer: "principal_engineer";
|
|
@@ -551,7 +552,7 @@ export type GetAudienceByAspectKeyQuery = {
|
|
|
551
552
|
};
|
|
552
553
|
export type LocaleCountryMessagesQuery = {
|
|
553
554
|
locale_countryCodesPage: Array<{
|
|
554
|
-
countryCodes: Array<string
|
|
555
|
+
countryCodes: Array<string> | null;
|
|
555
556
|
countryCodesPageMessageLinks: Array<{
|
|
556
557
|
id: number;
|
|
557
558
|
message: {
|
|
@@ -580,6 +581,14 @@ export type CreateErrorEventMutation = {
|
|
|
580
581
|
}>;
|
|
581
582
|
} | null;
|
|
582
583
|
};
|
|
584
|
+
export type CreateScriptLoadEventMutation = {
|
|
585
|
+
insert_usage_scriptLoadEvent: {
|
|
586
|
+
affected_rows: number;
|
|
587
|
+
returning: Array<{
|
|
588
|
+
id: number;
|
|
589
|
+
}>;
|
|
590
|
+
} | null;
|
|
591
|
+
};
|
|
583
592
|
export type AllSettingsQuery = {
|
|
584
593
|
bigcommerce_settings: Array<{
|
|
585
594
|
authToken: string;
|
|
@@ -662,13 +671,11 @@ export type GetBigCommerceSettingsQuery = {
|
|
|
662
671
|
bigcommerce_settings: Array<{
|
|
663
672
|
authToken: string;
|
|
664
673
|
createCustomerEnabled: boolean;
|
|
665
|
-
createdAt: string;
|
|
666
674
|
dimensionUnits: string;
|
|
667
675
|
domain: string;
|
|
668
676
|
id: number;
|
|
669
677
|
reserveOrderEnabled: boolean;
|
|
670
678
|
storeHash: string;
|
|
671
|
-
updatedAt: string;
|
|
672
679
|
user: string;
|
|
673
680
|
weightUnits: string;
|
|
674
681
|
zonosCredentialToken: string | null;
|
|
@@ -722,6 +729,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
722
729
|
CreateErrorEvent(variables?: {
|
|
723
730
|
[x: string]: never;
|
|
724
731
|
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<CreateErrorEventMutation>;
|
|
732
|
+
CreateScriptLoadEvent(variables?: {
|
|
733
|
+
[x: string]: never;
|
|
734
|
+
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<CreateScriptLoadEventMutation>;
|
|
725
735
|
DeleteAllStoreReserveOrders(variables?: {
|
|
726
736
|
[x: string]: never;
|
|
727
737
|
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<DeleteAllStoreReserveOrdersMutation>;
|
|
@@ -91,6 +91,7 @@ export const featureAudienceNameEnum = {
|
|
|
91
91
|
FrontendEngineer: 'frontend_engineer',
|
|
92
92
|
I18nKnownLanguage: 'i18n_known_language',
|
|
93
93
|
I18nSales: 'i18n_sales',
|
|
94
|
+
ItHead: 'it_head',
|
|
94
95
|
NewCheckoutMerchant: 'new_checkout_merchant',
|
|
95
96
|
Onboarding: 'onboarding',
|
|
96
97
|
PrincipalEngineer: 'principal_engineer',
|
|
@@ -554,7 +555,7 @@ export type GetAudienceByAspectKeyQuery = {
|
|
|
554
555
|
|
|
555
556
|
export type LocaleCountryMessagesQuery = {
|
|
556
557
|
locale_countryCodesPage: Array<{
|
|
557
|
-
countryCodes: Array<string
|
|
558
|
+
countryCodes: Array<string> | null;
|
|
558
559
|
countryCodesPageMessageLinks: Array<{
|
|
559
560
|
id: number;
|
|
560
561
|
message: {
|
|
@@ -584,6 +585,13 @@ export type CreateErrorEventMutation = {
|
|
|
584
585
|
} | null;
|
|
585
586
|
};
|
|
586
587
|
|
|
588
|
+
export type CreateScriptLoadEventMutation = {
|
|
589
|
+
insert_usage_scriptLoadEvent: {
|
|
590
|
+
affected_rows: number;
|
|
591
|
+
returning: Array<{ id: number }>;
|
|
592
|
+
} | null;
|
|
593
|
+
};
|
|
594
|
+
|
|
587
595
|
export type AllSettingsQuery = {
|
|
588
596
|
bigcommerce_settings: Array<{
|
|
589
597
|
authToken: string;
|
|
@@ -659,13 +667,11 @@ export type GetBigCommerceSettingsQuery = {
|
|
|
659
667
|
bigcommerce_settings: Array<{
|
|
660
668
|
authToken: string;
|
|
661
669
|
createCustomerEnabled: boolean;
|
|
662
|
-
createdAt: string;
|
|
663
670
|
dimensionUnits: string;
|
|
664
671
|
domain: string;
|
|
665
672
|
id: number;
|
|
666
673
|
reserveOrderEnabled: boolean;
|
|
667
674
|
storeHash: string;
|
|
668
|
-
updatedAt: string;
|
|
669
675
|
user: string;
|
|
670
676
|
weightUnits: string;
|
|
671
677
|
zonosCredentialToken: string | null;
|
|
@@ -754,6 +760,20 @@ export function getSdk(
|
|
|
754
760
|
'mutation',
|
|
755
761
|
);
|
|
756
762
|
},
|
|
763
|
+
CreateScriptLoadEvent(
|
|
764
|
+
variables?: { [x: string]: never },
|
|
765
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
766
|
+
): Promise<CreateScriptLoadEventMutation> {
|
|
767
|
+
return withWrapper(
|
|
768
|
+
wrappedRequestHeaders =>
|
|
769
|
+
client.request<CreateScriptLoadEventMutation>('', variables, {
|
|
770
|
+
...requestHeaders,
|
|
771
|
+
...wrappedRequestHeaders,
|
|
772
|
+
}),
|
|
773
|
+
'CreateScriptLoadEvent',
|
|
774
|
+
'mutation',
|
|
775
|
+
);
|
|
776
|
+
},
|
|
757
777
|
DeleteAllStoreReserveOrders(
|
|
758
778
|
variables?: { [x: string]: never },
|
|
759
779
|
requestHeaders?: GraphQLClientRequestHeaders,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/* eslint-disable no-relative-import-paths/no-relative-import-paths */
|
|
2
2
|
import type { StripeConstructor } from '@stripe/stripe-js';
|
|
3
3
|
|
|
4
|
-
import type { CustomEventMap } from 'src/components/utils/createCustomEvent';
|
|
5
|
-
|
|
6
4
|
/** Need to use relative path so that this declaration file can be correctly bundled */
|
|
5
|
+
import type { CustomEventMap } from '../components/utils/createCustomEvent';
|
|
7
6
|
import type { Env } from '../environment';
|
|
8
7
|
import type { Zonos } from '../scripts/zonosBase';
|
|
9
8
|
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9.35028 11.5744C9.05738 11.2815 8.58251 11.2815 8.28962 11.5744C7.99672 11.8673 7.99672 12.3422 8.28962 12.635L11.2917 15.6372C11.6823 16.0277 12.3154 16.0277 12.7059 15.6372L15.708 12.6351C16.0009 12.3422 16.0009 11.8674 15.708 11.5745C15.4151 11.2816 14.9402 11.2816 14.6473 11.5745L12.7488 13.4729V4.68005C12.7488 4.26584 12.413 3.93005 11.9988 3.93005C11.5846 3.93005 11.2488 4.26584 11.2488 4.68005L11.2488 13.4729L9.35028 11.5744Z" fill="#4D505A"/>
|
|
3
|
+
<path d="M20 14C20 13.5858 19.6642 13.25 19.25 13.25C18.8358 13.25 18.5 13.5858 18.5 14L18.5 17.25C18.5 17.9404 17.9404 18.5 17.25 18.5L6.75 18.5C6.05964 18.5 5.5 17.9404 5.5 17.25L5.5 14C5.5 13.5858 5.16421 13.25 4.75 13.25C4.33579 13.25 4 13.5858 4 14V17.25C4 18.7688 5.23122 20 6.75 20H17.25C18.7688 20 20 18.7688 20 17.25L20 14Z" fill="#4D505A"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,o){function u(n){try{c(r.next(n))}catch(n){o(n)}}function a(n){try{c(r["throw"](n))}catch(n){o(n)}}function c(n){n.done?e(n.value):i(n.value).then(u,a)}c((r=r.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(n){return function(t){return c([n,t])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(e=0)),e)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;i=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){e.label=a[1];break}if(a[0]===6&&e.label<o[1]){e.label=o[1];o=a;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(a);break}if(o[2])e.ops.pop();e.trys.pop();continue}a=t.call(n,e)}catch(n){a=[6,n];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-dd4f3724.system.js"],(function(n){"use strict";var t;return{setters:[function(n){t=n.r}],execute:function(){var e=this;var r=890;var i=n("i",(function(n){return n||window.innerWidth<r}));var o=n("s",(function(n){var r=n.endpoint,i=n.errors,o=n.metadata;return __awaiter(e,void 0,void 0,(function(){var n,e;return __generator(this,(function(u){n="userAgentData"in window.navigator?window.navigator.userAgentData:null;e={endpoint:r,errors:i,metadata:Object.assign({href:window.location.href,userAgent:n&&n.brands.length>0?n:window.navigator.userAgent},o)};void t("".concat("https://v1.route.js.zonos.com","/api/zonos-elements/log-error"),{body:e,method:"POST"});return[2]}))}))}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,l as n,a as t}from"./p-e4be7bd8.js";import{z as e}from"./p-1bbdfae5.js";const s=async(t,s)=>{var a,i;if(window.location.href.includes("zonos.com")||window.location.href.includes("checkout.iglobalstores.com")||(null===(a=window.Zonos)||void 0===a?void 0:a.zonosQaUrl)||(null===(i=window.Zonos)||void 0===i?void 0:i.debug))return;const d={countryCode:n.selectedCountryCode,eventName:t,metadata:s,organizationId:e.organizationId};await o("https://v1.route.js.zonos.com/api/zonos-elements/track-conversion-event",{body:d,method:"POST"})},a=(o,n)=>new CustomEvent(o,{detail:n}),i=o=>{const n=e.checkoutSettings.analyticsProviders.find((o=>"GOOGLE_ANALYTICS"===o.type));n&&"DISABLED"!==(null==n?void 0:n.status)&&"function"==typeof window.gtag&&(t("Zonos submits gtag event","log",o),window.gtag("event",o,{}))};export{a as c,i as s,s as t}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,H as o,d as i}from"./p-07bb1bed.js";import{l as e}from"./p-
|
|
1
|
+
import{r as t,h as s,H as o,d as i}from"./p-07bb1bed.js";import{l as e}from"./p-e4be7bd8.js";import{d as a}from"./p-1bbdfae5.js";import{c as n}from"./p-b4b7f705.js";import"./p-9a90fb56.js";import"./p-07022f11.js";const h=class{constructor(s){t(this,s),this.countryCode=e.selectedCountryCode,this.size=void 0}render(){if(!this.el.shadowRoot||!this.countryCode)return null;const t=`https://zonos-store-assets.s3.amazonaws.com/images/elements-flags/${this.countryCode}.svg`,i=a();return s(o,{class:"zonos--elements",style:this.size?{"--font-family":i,height:`${this.size}px`,width:`${this.size}px`}:{"--font-family":i}},s("div",{class:n(["flag-container"])},s("div",{class:"flag-icon",style:{backgroundImage:`url(${t})`}})))}get el(){return i(this)}};h.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}";export{h as zonos_country_flag}
|