@wix/ecom 1.0.745 → 1.0.747
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.
|
@@ -3345,7 +3345,7 @@ interface Image$6 {
|
|
|
3345
3345
|
/** Image filename. Optional. */
|
|
3346
3346
|
filename?: string | null;
|
|
3347
3347
|
}
|
|
3348
|
-
declare enum TaxableAddressType$
|
|
3348
|
+
declare enum TaxableAddressType$9 {
|
|
3349
3349
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
3350
3350
|
BUSINESS = "BUSINESS",
|
|
3351
3351
|
BILLING = "BILLING",
|
|
@@ -4469,8 +4469,8 @@ interface CatalogOverrideFieldsNonNullableFields$7 {
|
|
|
4469
4469
|
physicalProperties?: PhysicalPropertiesNonNullableFields$b;
|
|
4470
4470
|
image?: ImageNonNullableFields$7;
|
|
4471
4471
|
}
|
|
4472
|
-
interface TaxableAddressNonNullableFields$
|
|
4473
|
-
addressType: TaxableAddressType$
|
|
4472
|
+
interface TaxableAddressNonNullableFields$9 {
|
|
4473
|
+
addressType: TaxableAddressType$9;
|
|
4474
4474
|
}
|
|
4475
4475
|
interface LineItemNonNullableFields$5 {
|
|
4476
4476
|
quantity: number;
|
|
@@ -4497,7 +4497,7 @@ interface LineItemNonNullableFields$5 {
|
|
|
4497
4497
|
fixedQuantity: boolean;
|
|
4498
4498
|
catalogOverrideFields?: CatalogOverrideFieldsNonNullableFields$7;
|
|
4499
4499
|
savePaymentMethod: boolean;
|
|
4500
|
-
taxableAddress?: TaxableAddressNonNullableFields$
|
|
4500
|
+
taxableAddress?: TaxableAddressNonNullableFields$9;
|
|
4501
4501
|
}
|
|
4502
4502
|
interface BuyerInfoNonNullableFields$9 {
|
|
4503
4503
|
visitorId: string;
|
|
@@ -5243,7 +5243,7 @@ interface CatalogOverrideFields$6 {
|
|
|
5243
5243
|
/** Item image. */
|
|
5244
5244
|
image?: string;
|
|
5245
5245
|
}
|
|
5246
|
-
declare enum TaxableAddressType$
|
|
5246
|
+
declare enum TaxableAddressType$8 {
|
|
5247
5247
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
5248
5248
|
BUSINESS = "BUSINESS",
|
|
5249
5249
|
BILLING = "BILLING",
|
|
@@ -6356,8 +6356,8 @@ interface CatalogOverrideFieldsNonNullableFields$6 {
|
|
|
6356
6356
|
physicalProperties?: PhysicalPropertiesNonNullableFields$a;
|
|
6357
6357
|
image: string;
|
|
6358
6358
|
}
|
|
6359
|
-
interface TaxableAddressNonNullableFields$
|
|
6360
|
-
addressType: TaxableAddressType$
|
|
6359
|
+
interface TaxableAddressNonNullableFields$8 {
|
|
6360
|
+
addressType: TaxableAddressType$8;
|
|
6361
6361
|
}
|
|
6362
6362
|
interface LineItemNonNullableFields$4 {
|
|
6363
6363
|
quantity: number;
|
|
@@ -6384,7 +6384,7 @@ interface LineItemNonNullableFields$4 {
|
|
|
6384
6384
|
fixedQuantity: boolean;
|
|
6385
6385
|
catalogOverrideFields?: CatalogOverrideFieldsNonNullableFields$6;
|
|
6386
6386
|
savePaymentMethod: boolean;
|
|
6387
|
-
taxableAddress?: TaxableAddressNonNullableFields$
|
|
6387
|
+
taxableAddress?: TaxableAddressNonNullableFields$8;
|
|
6388
6388
|
}
|
|
6389
6389
|
interface BuyerInfoNonNullableFields$8 {
|
|
6390
6390
|
visitorId: string;
|
|
@@ -7245,7 +7245,7 @@ interface Image$5 {
|
|
|
7245
7245
|
/** Image filename. Optional. */
|
|
7246
7246
|
filename?: string | null;
|
|
7247
7247
|
}
|
|
7248
|
-
declare enum TaxableAddressType$
|
|
7248
|
+
declare enum TaxableAddressType$7 {
|
|
7249
7249
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
7250
7250
|
BUSINESS = "BUSINESS",
|
|
7251
7251
|
BILLING = "BILLING",
|
|
@@ -8332,8 +8332,8 @@ interface CatalogOverrideFieldsNonNullableFields$5 {
|
|
|
8332
8332
|
physicalProperties?: PhysicalPropertiesNonNullableFields$9;
|
|
8333
8333
|
image?: ImageNonNullableFields$6;
|
|
8334
8334
|
}
|
|
8335
|
-
interface TaxableAddressNonNullableFields$
|
|
8336
|
-
addressType: TaxableAddressType$
|
|
8335
|
+
interface TaxableAddressNonNullableFields$7 {
|
|
8336
|
+
addressType: TaxableAddressType$7;
|
|
8337
8337
|
}
|
|
8338
8338
|
interface LineItemNonNullableFields$3 {
|
|
8339
8339
|
quantity: number;
|
|
@@ -8360,7 +8360,7 @@ interface LineItemNonNullableFields$3 {
|
|
|
8360
8360
|
fixedQuantity: boolean;
|
|
8361
8361
|
catalogOverrideFields?: CatalogOverrideFieldsNonNullableFields$5;
|
|
8362
8362
|
savePaymentMethod: boolean;
|
|
8363
|
-
taxableAddress?: TaxableAddressNonNullableFields$
|
|
8363
|
+
taxableAddress?: TaxableAddressNonNullableFields$7;
|
|
8364
8364
|
}
|
|
8365
8365
|
interface BuyerInfoNonNullableFields$7 {
|
|
8366
8366
|
visitorId: string;
|
|
@@ -9103,7 +9103,7 @@ interface CatalogOverrideFields$4 {
|
|
|
9103
9103
|
/** Item image. */
|
|
9104
9104
|
image?: string;
|
|
9105
9105
|
}
|
|
9106
|
-
declare enum TaxableAddressType$
|
|
9106
|
+
declare enum TaxableAddressType$6 {
|
|
9107
9107
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
9108
9108
|
BUSINESS = "BUSINESS",
|
|
9109
9109
|
BILLING = "BILLING",
|
|
@@ -10179,8 +10179,8 @@ interface CatalogOverrideFieldsNonNullableFields$4 {
|
|
|
10179
10179
|
physicalProperties?: PhysicalPropertiesNonNullableFields$8;
|
|
10180
10180
|
image: string;
|
|
10181
10181
|
}
|
|
10182
|
-
interface TaxableAddressNonNullableFields$
|
|
10183
|
-
addressType: TaxableAddressType$
|
|
10182
|
+
interface TaxableAddressNonNullableFields$6 {
|
|
10183
|
+
addressType: TaxableAddressType$6;
|
|
10184
10184
|
}
|
|
10185
10185
|
interface LineItemNonNullableFields$2 {
|
|
10186
10186
|
quantity: number;
|
|
@@ -10207,7 +10207,7 @@ interface LineItemNonNullableFields$2 {
|
|
|
10207
10207
|
fixedQuantity: boolean;
|
|
10208
10208
|
catalogOverrideFields?: CatalogOverrideFieldsNonNullableFields$4;
|
|
10209
10209
|
savePaymentMethod: boolean;
|
|
10210
|
-
taxableAddress?: TaxableAddressNonNullableFields$
|
|
10210
|
+
taxableAddress?: TaxableAddressNonNullableFields$6;
|
|
10211
10211
|
}
|
|
10212
10212
|
interface BuyerInfoNonNullableFields$6 {
|
|
10213
10213
|
visitorId: string;
|
|
@@ -11184,7 +11184,7 @@ interface Image$4 {
|
|
|
11184
11184
|
/** Image filename. Optional. */
|
|
11185
11185
|
filename?: string | null;
|
|
11186
11186
|
}
|
|
11187
|
-
declare enum TaxableAddressType$
|
|
11187
|
+
declare enum TaxableAddressType$5 {
|
|
11188
11188
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
11189
11189
|
BUSINESS = "BUSINESS",
|
|
11190
11190
|
BILLING = "BILLING",
|
|
@@ -12359,8 +12359,8 @@ interface CatalogOverrideFieldsNonNullableFields$3 {
|
|
|
12359
12359
|
physicalProperties?: PhysicalPropertiesNonNullableFields$7;
|
|
12360
12360
|
image?: ImageNonNullableFields$5;
|
|
12361
12361
|
}
|
|
12362
|
-
interface TaxableAddressNonNullableFields$
|
|
12363
|
-
addressType: TaxableAddressType$
|
|
12362
|
+
interface TaxableAddressNonNullableFields$5 {
|
|
12363
|
+
addressType: TaxableAddressType$5;
|
|
12364
12364
|
}
|
|
12365
12365
|
interface LineItemNonNullableFields$1 {
|
|
12366
12366
|
quantity: number;
|
|
@@ -12391,7 +12391,7 @@ interface LineItemNonNullableFields$1 {
|
|
|
12391
12391
|
priceUndetermined: boolean;
|
|
12392
12392
|
fixedQuantity: boolean;
|
|
12393
12393
|
savePaymentMethod: boolean;
|
|
12394
|
-
taxableAddress?: TaxableAddressNonNullableFields$
|
|
12394
|
+
taxableAddress?: TaxableAddressNonNullableFields$5;
|
|
12395
12395
|
}
|
|
12396
12396
|
interface StreetAddressNonNullableFields$b {
|
|
12397
12397
|
number: string;
|
|
@@ -13292,7 +13292,7 @@ interface CatalogOverrideFields$2 {
|
|
|
13292
13292
|
/** Item image. */
|
|
13293
13293
|
image?: string;
|
|
13294
13294
|
}
|
|
13295
|
-
declare enum TaxableAddressType {
|
|
13295
|
+
declare enum TaxableAddressType$4 {
|
|
13296
13296
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
13297
13297
|
BUSINESS = "BUSINESS",
|
|
13298
13298
|
BILLING = "BILLING",
|
|
@@ -14425,8 +14425,8 @@ interface CatalogOverrideFieldsNonNullableFields$2 {
|
|
|
14425
14425
|
physicalProperties?: PhysicalPropertiesNonNullableFields$6;
|
|
14426
14426
|
image: string;
|
|
14427
14427
|
}
|
|
14428
|
-
interface TaxableAddressNonNullableFields {
|
|
14429
|
-
addressType: TaxableAddressType;
|
|
14428
|
+
interface TaxableAddressNonNullableFields$4 {
|
|
14429
|
+
addressType: TaxableAddressType$4;
|
|
14430
14430
|
}
|
|
14431
14431
|
interface LineItemNonNullableFields {
|
|
14432
14432
|
quantity: number;
|
|
@@ -14457,7 +14457,7 @@ interface LineItemNonNullableFields {
|
|
|
14457
14457
|
priceUndetermined: boolean;
|
|
14458
14458
|
fixedQuantity: boolean;
|
|
14459
14459
|
savePaymentMethod: boolean;
|
|
14460
|
-
taxableAddress?: TaxableAddressNonNullableFields;
|
|
14460
|
+
taxableAddress?: TaxableAddressNonNullableFields$4;
|
|
14461
14461
|
}
|
|
14462
14462
|
interface StreetAddressNonNullableFields$a {
|
|
14463
14463
|
number: string;
|
|
@@ -18194,6 +18194,12 @@ declare enum SubscriptionFrequency$5 {
|
|
|
18194
18194
|
MONTH = "MONTH",
|
|
18195
18195
|
YEAR = "YEAR"
|
|
18196
18196
|
}
|
|
18197
|
+
declare enum TaxableAddressType$3 {
|
|
18198
|
+
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
18199
|
+
BUSINESS = "BUSINESS",
|
|
18200
|
+
BILLING = "BILLING",
|
|
18201
|
+
SHIPPING = "SHIPPING"
|
|
18202
|
+
}
|
|
18197
18203
|
interface ItemChangedDetails$1 {
|
|
18198
18204
|
/** Line item quantity before change. */
|
|
18199
18205
|
quantityBeforeChange?: number | null;
|
|
@@ -19720,6 +19726,9 @@ interface LocationAndQuantityNonNullableFields$3 {
|
|
|
19720
19726
|
id: string;
|
|
19721
19727
|
quantity: number;
|
|
19722
19728
|
}
|
|
19729
|
+
interface TaxableAddressNonNullableFields$3 {
|
|
19730
|
+
addressType: TaxableAddressType$3;
|
|
19731
|
+
}
|
|
19723
19732
|
interface OrderLineItemNonNullableFields$3 {
|
|
19724
19733
|
id: string;
|
|
19725
19734
|
productName?: ProductNameNonNullableFields$3;
|
|
@@ -19743,6 +19752,7 @@ interface OrderLineItemNonNullableFields$3 {
|
|
|
19743
19752
|
depositAmount?: PriceNonNullableFields$7;
|
|
19744
19753
|
locations: LocationAndQuantityNonNullableFields$3[];
|
|
19745
19754
|
lineItemPrice?: PriceNonNullableFields$7;
|
|
19755
|
+
taxableAddress?: TaxableAddressNonNullableFields$3;
|
|
19746
19756
|
}
|
|
19747
19757
|
interface ItemDetailsNonNullableFields$1 {
|
|
19748
19758
|
added: boolean;
|
|
@@ -20711,6 +20721,12 @@ declare enum SubscriptionFrequency$4 {
|
|
|
20711
20721
|
MONTH = "MONTH",
|
|
20712
20722
|
YEAR = "YEAR"
|
|
20713
20723
|
}
|
|
20724
|
+
declare enum TaxableAddressType$2 {
|
|
20725
|
+
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
20726
|
+
BUSINESS = "BUSINESS",
|
|
20727
|
+
BILLING = "BILLING",
|
|
20728
|
+
SHIPPING = "SHIPPING"
|
|
20729
|
+
}
|
|
20714
20730
|
interface ItemChangedDetails {
|
|
20715
20731
|
/** Line item quantity before change. */
|
|
20716
20732
|
quantityBeforeChange?: number | null;
|
|
@@ -22205,6 +22221,9 @@ interface LocationAndQuantityNonNullableFields$2 {
|
|
|
22205
22221
|
_id: string;
|
|
22206
22222
|
quantity: number;
|
|
22207
22223
|
}
|
|
22224
|
+
interface TaxableAddressNonNullableFields$2 {
|
|
22225
|
+
addressType: TaxableAddressType$2;
|
|
22226
|
+
}
|
|
22208
22227
|
interface OrderLineItemNonNullableFields$2 {
|
|
22209
22228
|
_id: string;
|
|
22210
22229
|
productName?: ProductNameNonNullableFields$2;
|
|
@@ -22228,6 +22247,7 @@ interface OrderLineItemNonNullableFields$2 {
|
|
|
22228
22247
|
depositAmount?: PriceNonNullableFields$6;
|
|
22229
22248
|
locations: LocationAndQuantityNonNullableFields$2[];
|
|
22230
22249
|
lineItemPrice?: PriceNonNullableFields$6;
|
|
22250
|
+
taxableAddress?: TaxableAddressNonNullableFields$2;
|
|
22231
22251
|
}
|
|
22232
22252
|
interface ItemDetailsNonNullableFields {
|
|
22233
22253
|
added: boolean;
|
|
@@ -24640,6 +24660,12 @@ interface PriceDescription$1 {
|
|
|
24640
24660
|
*/
|
|
24641
24661
|
translated?: string | null;
|
|
24642
24662
|
}
|
|
24663
|
+
declare enum TaxableAddressType$1 {
|
|
24664
|
+
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
24665
|
+
BUSINESS = "BUSINESS",
|
|
24666
|
+
BILLING = "BILLING",
|
|
24667
|
+
SHIPPING = "SHIPPING"
|
|
24668
|
+
}
|
|
24643
24669
|
/** Buyer Info */
|
|
24644
24670
|
interface BuyerInfo$1 extends BuyerInfoIdOneOf$1 {
|
|
24645
24671
|
/** Visitor ID (if site visitor is not a member). */
|
|
@@ -25963,6 +25989,9 @@ interface LocationAndQuantityNonNullableFields$1 {
|
|
|
25963
25989
|
id: string;
|
|
25964
25990
|
quantity: number;
|
|
25965
25991
|
}
|
|
25992
|
+
interface TaxableAddressNonNullableFields$1 {
|
|
25993
|
+
addressType: TaxableAddressType$1;
|
|
25994
|
+
}
|
|
25966
25995
|
interface OrderLineItemNonNullableFields$1 {
|
|
25967
25996
|
id: string;
|
|
25968
25997
|
productName?: ProductNameNonNullableFields$1;
|
|
@@ -25986,6 +26015,7 @@ interface OrderLineItemNonNullableFields$1 {
|
|
|
25986
26015
|
depositAmount?: PriceNonNullableFields$5;
|
|
25987
26016
|
locations: LocationAndQuantityNonNullableFields$1[];
|
|
25988
26017
|
lineItemPrice?: PriceNonNullableFields$5;
|
|
26018
|
+
taxableAddress?: TaxableAddressNonNullableFields$1;
|
|
25989
26019
|
}
|
|
25990
26020
|
interface BuyerInfoNonNullableFields$1 {
|
|
25991
26021
|
visitorId: string;
|
|
@@ -26832,6 +26862,12 @@ interface PriceDescription {
|
|
|
26832
26862
|
*/
|
|
26833
26863
|
translated?: string | null;
|
|
26834
26864
|
}
|
|
26865
|
+
declare enum TaxableAddressType {
|
|
26866
|
+
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
26867
|
+
BUSINESS = "BUSINESS",
|
|
26868
|
+
BILLING = "BILLING",
|
|
26869
|
+
SHIPPING = "SHIPPING"
|
|
26870
|
+
}
|
|
26835
26871
|
/** Buyer Info */
|
|
26836
26872
|
interface BuyerInfo extends BuyerInfoIdOneOf {
|
|
26837
26873
|
/** Visitor ID (if site visitor is not a member). */
|
|
@@ -28129,6 +28165,9 @@ interface LocationAndQuantityNonNullableFields {
|
|
|
28129
28165
|
_id: string;
|
|
28130
28166
|
quantity: number;
|
|
28131
28167
|
}
|
|
28168
|
+
interface TaxableAddressNonNullableFields {
|
|
28169
|
+
addressType: TaxableAddressType;
|
|
28170
|
+
}
|
|
28132
28171
|
interface OrderLineItemNonNullableFields {
|
|
28133
28172
|
_id: string;
|
|
28134
28173
|
productName?: ProductNameNonNullableFields;
|
|
@@ -28152,6 +28191,7 @@ interface OrderLineItemNonNullableFields {
|
|
|
28152
28191
|
depositAmount?: PriceNonNullableFields$4;
|
|
28153
28192
|
locations: LocationAndQuantityNonNullableFields[];
|
|
28154
28193
|
lineItemPrice?: PriceNonNullableFields$4;
|
|
28194
|
+
taxableAddress?: TaxableAddressNonNullableFields;
|
|
28155
28195
|
}
|
|
28156
28196
|
interface BuyerInfoNonNullableFields {
|
|
28157
28197
|
visitorId: string;
|
|
@@ -373,6 +373,11 @@ interface GetShippingRatesRequest {
|
|
|
373
373
|
deliveryPreferences?: DeliveryPreferences;
|
|
374
374
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
375
375
|
purchaseFlowId?: string | null;
|
|
376
|
+
/**
|
|
377
|
+
* Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
|
|
378
|
+
* Used for integration and tracking across different platforms.
|
|
379
|
+
*/
|
|
380
|
+
externalReferences?: ExternalReference$2[];
|
|
376
381
|
}
|
|
377
382
|
interface ProductItem {
|
|
378
383
|
/** Item name. */
|
|
@@ -540,6 +545,18 @@ declare enum WeightUnit$2 {
|
|
|
540
545
|
interface DeliveryPreferences {
|
|
541
546
|
preferredCode?: string | null;
|
|
542
547
|
}
|
|
548
|
+
interface ExternalReference$2 {
|
|
549
|
+
/**
|
|
550
|
+
* ID of the app associated with the purchase flow.
|
|
551
|
+
* For example, the Wix Pay Links app ID.
|
|
552
|
+
*/
|
|
553
|
+
appId?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
|
|
556
|
+
* For example, a Wix Pay Link ID.
|
|
557
|
+
*/
|
|
558
|
+
resourceId?: string | null;
|
|
559
|
+
}
|
|
543
560
|
interface GetShippingRatesResponse {
|
|
544
561
|
/** Available shipping rates. These define the shipping rate options that are displayed to site visitors on the cart and checkout pages. */
|
|
545
562
|
shippingRates?: ShippingOption$1[];
|
|
@@ -923,7 +940,7 @@ type context$5_Subdivision = Subdivision;
|
|
|
923
940
|
type context$5_SubdivisionType = SubdivisionType;
|
|
924
941
|
declare const context$5_SubdivisionType: typeof SubdivisionType;
|
|
925
942
|
declare namespace context$5 {
|
|
926
|
-
export { type context$5_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type context$5_AddressStreetOneOf as AddressStreetOneOf, type ApplicationError$1 as ApplicationError, type CatalogReference$5 as CatalogReference, ChargeType$2 as ChargeType, type context$5_Column as Column, type Context$5 as Context, type context$5_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type context$5_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type FieldViolation$1 as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$5_GenericShippingRatesError as GenericShippingRatesError, context$5_GenericShippingRatesWixError as GenericShippingRatesWixError, type context$5_GetDashboardTablesRequest as GetDashboardTablesRequest, type context$5_GetDashboardTablesResponse as GetDashboardTablesResponse, type context$5_GetShippingRatesRequest as GetShippingRatesRequest, type context$5_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, IdentityType$5 as IdentityType, type context$5_InvalidAddressError as InvalidAddressError, context$5_InvalidAddressWixError as InvalidAddressWixError, type context$5_InvalidPostalCodeError as InvalidPostalCodeError, context$5_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type context$5_MissingPostalCodeError as MissingPostalCodeError, context$5_MissingPostalCodeWixError as MissingPostalCodeWixError, type context$5_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type context$5_ProductItem as ProductItem, type context$5_RegionDashboardTables as RegionDashboardTables, type context$5_Row as Row, RuleType$1 as RuleType, type ShippingOption$1 as ShippingOption, type ShippingPrice$1 as ShippingPrice, type context$5_ShippingRatesConfig as ShippingRatesConfig, type context$5_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type context$5_Subdivision as Subdivision, context$5_SubdivisionType as SubdivisionType, type VatId$3 as VatId, VatType$3 as VatType, WeightUnit$2 as WeightUnit, type _publicProvideHandlersType$5 as _publicProvideHandlersType, provideHandlers$a as provideHandlers, provideHandlers$b as publicProvideHandlers };
|
|
943
|
+
export { type context$5_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type context$5_AddressStreetOneOf as AddressStreetOneOf, type ApplicationError$1 as ApplicationError, type CatalogReference$5 as CatalogReference, ChargeType$2 as ChargeType, type context$5_Column as Column, type Context$5 as Context, type context$5_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type context$5_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type ExternalReference$2 as ExternalReference, type FieldViolation$1 as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$5_GenericShippingRatesError as GenericShippingRatesError, context$5_GenericShippingRatesWixError as GenericShippingRatesWixError, type context$5_GetDashboardTablesRequest as GetDashboardTablesRequest, type context$5_GetDashboardTablesResponse as GetDashboardTablesResponse, type context$5_GetShippingRatesRequest as GetShippingRatesRequest, type context$5_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, IdentityType$5 as IdentityType, type context$5_InvalidAddressError as InvalidAddressError, context$5_InvalidAddressWixError as InvalidAddressWixError, type context$5_InvalidPostalCodeError as InvalidPostalCodeError, context$5_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type context$5_MissingPostalCodeError as MissingPostalCodeError, context$5_MissingPostalCodeWixError as MissingPostalCodeWixError, type context$5_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type context$5_ProductItem as ProductItem, type context$5_RegionDashboardTables as RegionDashboardTables, type context$5_Row as Row, RuleType$1 as RuleType, type ShippingOption$1 as ShippingOption, type ShippingPrice$1 as ShippingPrice, type context$5_ShippingRatesConfig as ShippingRatesConfig, type context$5_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type context$5_Subdivision as Subdivision, context$5_SubdivisionType as SubdivisionType, type VatId$3 as VatId, VatType$3 as VatType, WeightUnit$2 as WeightUnit, type _publicProvideHandlersType$5 as _publicProvideHandlersType, provideHandlers$a as provideHandlers, provideHandlers$b as publicProvideHandlers };
|
|
927
944
|
}
|
|
928
945
|
|
|
929
946
|
interface CalculateAdditionalFeesRequest {
|
|
@@ -2255,6 +2272,21 @@ interface LocationAndQuantity {
|
|
|
2255
2272
|
/** Quantity for specific location. */
|
|
2256
2273
|
quantity?: number;
|
|
2257
2274
|
}
|
|
2275
|
+
interface TaxableAddress extends TaxableAddressTaxableAddressDataOneOf {
|
|
2276
|
+
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
2277
|
+
addressType?: TaxableAddressType;
|
|
2278
|
+
}
|
|
2279
|
+
/** @oneof */
|
|
2280
|
+
interface TaxableAddressTaxableAddressDataOneOf {
|
|
2281
|
+
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
2282
|
+
addressType?: TaxableAddressType;
|
|
2283
|
+
}
|
|
2284
|
+
declare enum TaxableAddressType {
|
|
2285
|
+
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
2286
|
+
BUSINESS = "BUSINESS",
|
|
2287
|
+
BILLING = "BILLING",
|
|
2288
|
+
SHIPPING = "SHIPPING"
|
|
2289
|
+
}
|
|
2258
2290
|
/** Buyer Info */
|
|
2259
2291
|
interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
|
|
2260
2292
|
/** Visitor ID (if site visitor is not a member). */
|
|
@@ -3624,21 +3656,6 @@ interface CatalogOverrideFields {
|
|
|
3624
3656
|
/** Item image. */
|
|
3625
3657
|
image?: string;
|
|
3626
3658
|
}
|
|
3627
|
-
interface TaxableAddress extends TaxableAddressTaxableAddressDataOneOf {
|
|
3628
|
-
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
3629
|
-
addressType?: TaxableAddressType;
|
|
3630
|
-
}
|
|
3631
|
-
/** @oneof */
|
|
3632
|
-
interface TaxableAddressTaxableAddressDataOneOf {
|
|
3633
|
-
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
3634
|
-
addressType?: TaxableAddressType;
|
|
3635
|
-
}
|
|
3636
|
-
declare enum TaxableAddressType {
|
|
3637
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
3638
|
-
BUSINESS = "BUSINESS",
|
|
3639
|
-
BILLING = "BILLING",
|
|
3640
|
-
SHIPPING = "SHIPPING"
|
|
3641
|
-
}
|
|
3642
3659
|
/** Billing Info and shipping details */
|
|
3643
3660
|
interface AddressWithContact$1 {
|
|
3644
3661
|
/** Address. */
|
|
@@ -373,6 +373,11 @@ interface GetShippingRatesRequest {
|
|
|
373
373
|
deliveryPreferences?: DeliveryPreferences;
|
|
374
374
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
375
375
|
purchaseFlowId?: string | null;
|
|
376
|
+
/**
|
|
377
|
+
* Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
|
|
378
|
+
* Used for integration and tracking across different platforms.
|
|
379
|
+
*/
|
|
380
|
+
externalReferences?: ExternalReference$2[];
|
|
376
381
|
}
|
|
377
382
|
interface ProductItem {
|
|
378
383
|
/** Item name. */
|
|
@@ -540,6 +545,18 @@ declare enum WeightUnit$2 {
|
|
|
540
545
|
interface DeliveryPreferences {
|
|
541
546
|
preferredCode?: string | null;
|
|
542
547
|
}
|
|
548
|
+
interface ExternalReference$2 {
|
|
549
|
+
/**
|
|
550
|
+
* ID of the app associated with the purchase flow.
|
|
551
|
+
* For example, the Wix Pay Links app ID.
|
|
552
|
+
*/
|
|
553
|
+
appId?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
|
|
556
|
+
* For example, a Wix Pay Link ID.
|
|
557
|
+
*/
|
|
558
|
+
resourceId?: string | null;
|
|
559
|
+
}
|
|
543
560
|
interface GetShippingRatesResponse {
|
|
544
561
|
/** Available shipping rates. These define the shipping rate options that are displayed to site visitors on the cart and checkout pages. */
|
|
545
562
|
shippingRates?: ShippingOption$1[];
|
|
@@ -923,7 +940,7 @@ type index_d$5_Subdivision = Subdivision;
|
|
|
923
940
|
type index_d$5_SubdivisionType = SubdivisionType;
|
|
924
941
|
declare const index_d$5_SubdivisionType: typeof SubdivisionType;
|
|
925
942
|
declare namespace index_d$5 {
|
|
926
|
-
export { type index_d$5_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type index_d$5_AddressStreetOneOf as AddressStreetOneOf, type ApplicationError$1 as ApplicationError, type CatalogReference$5 as CatalogReference, ChargeType$2 as ChargeType, type index_d$5_Column as Column, type Context$5 as Context, type index_d$5_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$5_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type FieldViolation$1 as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$5_GenericShippingRatesError as GenericShippingRatesError, index_d$5_GenericShippingRatesWixError as GenericShippingRatesWixError, type index_d$5_GetDashboardTablesRequest as GetDashboardTablesRequest, type index_d$5_GetDashboardTablesResponse as GetDashboardTablesResponse, type index_d$5_GetShippingRatesRequest as GetShippingRatesRequest, type index_d$5_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, IdentityType$5 as IdentityType, type index_d$5_InvalidAddressError as InvalidAddressError, index_d$5_InvalidAddressWixError as InvalidAddressWixError, type index_d$5_InvalidPostalCodeError as InvalidPostalCodeError, index_d$5_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type index_d$5_MissingPostalCodeError as MissingPostalCodeError, index_d$5_MissingPostalCodeWixError as MissingPostalCodeWixError, type index_d$5_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$5_ProductItem as ProductItem, type index_d$5_RegionDashboardTables as RegionDashboardTables, type index_d$5_Row as Row, RuleType$1 as RuleType, type ShippingOption$1 as ShippingOption, type ShippingPrice$1 as ShippingPrice, type index_d$5_ShippingRatesConfig as ShippingRatesConfig, type index_d$5_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type index_d$5_Subdivision as Subdivision, index_d$5_SubdivisionType as SubdivisionType, type VatId$3 as VatId, VatType$3 as VatType, WeightUnit$2 as WeightUnit, type _publicProvideHandlersType$5 as _publicProvideHandlersType, provideHandlers$a as provideHandlers, provideHandlers$b as publicProvideHandlers };
|
|
943
|
+
export { type index_d$5_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type index_d$5_AddressStreetOneOf as AddressStreetOneOf, type ApplicationError$1 as ApplicationError, type CatalogReference$5 as CatalogReference, ChargeType$2 as ChargeType, type index_d$5_Column as Column, type Context$5 as Context, type index_d$5_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$5_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type ExternalReference$2 as ExternalReference, type FieldViolation$1 as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$5_GenericShippingRatesError as GenericShippingRatesError, index_d$5_GenericShippingRatesWixError as GenericShippingRatesWixError, type index_d$5_GetDashboardTablesRequest as GetDashboardTablesRequest, type index_d$5_GetDashboardTablesResponse as GetDashboardTablesResponse, type index_d$5_GetShippingRatesRequest as GetShippingRatesRequest, type index_d$5_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, IdentityType$5 as IdentityType, type index_d$5_InvalidAddressError as InvalidAddressError, index_d$5_InvalidAddressWixError as InvalidAddressWixError, type index_d$5_InvalidPostalCodeError as InvalidPostalCodeError, index_d$5_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type index_d$5_MissingPostalCodeError as MissingPostalCodeError, index_d$5_MissingPostalCodeWixError as MissingPostalCodeWixError, type index_d$5_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$5_ProductItem as ProductItem, type index_d$5_RegionDashboardTables as RegionDashboardTables, type index_d$5_Row as Row, RuleType$1 as RuleType, type ShippingOption$1 as ShippingOption, type ShippingPrice$1 as ShippingPrice, type index_d$5_ShippingRatesConfig as ShippingRatesConfig, type index_d$5_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type index_d$5_Subdivision as Subdivision, index_d$5_SubdivisionType as SubdivisionType, type VatId$3 as VatId, VatType$3 as VatType, WeightUnit$2 as WeightUnit, type _publicProvideHandlersType$5 as _publicProvideHandlersType, provideHandlers$a as provideHandlers, provideHandlers$b as publicProvideHandlers };
|
|
927
944
|
}
|
|
928
945
|
|
|
929
946
|
interface CalculateAdditionalFeesRequest {
|
|
@@ -2255,6 +2272,21 @@ interface LocationAndQuantity {
|
|
|
2255
2272
|
/** Quantity for specific location. */
|
|
2256
2273
|
quantity?: number;
|
|
2257
2274
|
}
|
|
2275
|
+
interface TaxableAddress extends TaxableAddressTaxableAddressDataOneOf {
|
|
2276
|
+
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
2277
|
+
addressType?: TaxableAddressType;
|
|
2278
|
+
}
|
|
2279
|
+
/** @oneof */
|
|
2280
|
+
interface TaxableAddressTaxableAddressDataOneOf {
|
|
2281
|
+
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
2282
|
+
addressType?: TaxableAddressType;
|
|
2283
|
+
}
|
|
2284
|
+
declare enum TaxableAddressType {
|
|
2285
|
+
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
2286
|
+
BUSINESS = "BUSINESS",
|
|
2287
|
+
BILLING = "BILLING",
|
|
2288
|
+
SHIPPING = "SHIPPING"
|
|
2289
|
+
}
|
|
2258
2290
|
/** Buyer Info */
|
|
2259
2291
|
interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
|
|
2260
2292
|
/** Visitor ID (if site visitor is not a member). */
|
|
@@ -3624,21 +3656,6 @@ interface CatalogOverrideFields {
|
|
|
3624
3656
|
/** Item image. */
|
|
3625
3657
|
image?: string;
|
|
3626
3658
|
}
|
|
3627
|
-
interface TaxableAddress extends TaxableAddressTaxableAddressDataOneOf {
|
|
3628
|
-
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
3629
|
-
addressType?: TaxableAddressType;
|
|
3630
|
-
}
|
|
3631
|
-
/** @oneof */
|
|
3632
|
-
interface TaxableAddressTaxableAddressDataOneOf {
|
|
3633
|
-
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
3634
|
-
addressType?: TaxableAddressType;
|
|
3635
|
-
}
|
|
3636
|
-
declare enum TaxableAddressType {
|
|
3637
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
3638
|
-
BUSINESS = "BUSINESS",
|
|
3639
|
-
BILLING = "BILLING",
|
|
3640
|
-
SHIPPING = "SHIPPING"
|
|
3641
|
-
}
|
|
3642
3659
|
/** Billing Info and shipping details */
|
|
3643
3660
|
interface AddressWithContact$1 {
|
|
3644
3661
|
/** Address. */
|