@wix/ecom 1.0.746 → 1.0.748

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$5 {
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$5 {
4473
- addressType: TaxableAddressType$5;
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$5;
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$4 {
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$4 {
6360
- addressType: TaxableAddressType$4;
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$4;
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$3 {
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$3 {
8336
- addressType: TaxableAddressType$3;
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$3;
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$2 {
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$2 {
10183
- addressType: TaxableAddressType$2;
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$2;
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$1 {
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$1 {
12363
- addressType: TaxableAddressType$1;
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$1;
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;
@@ -70,7 +70,7 @@ interface VoidResponse {
70
70
  currencyCode?: string;
71
71
  }
72
72
  interface GiftCardProviderConfig {
73
- /** Base URI of the SPI implementation. */
73
+ /** Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI. For example, to call the Get Balance endpoint at https://my-gift-cards.com/v1/balance, the base URI you provide here is https://my-gift-cards.com/. */
74
74
  deploymentUri?: string;
75
75
  }
76
76
  /**
@@ -2272,6 +2272,21 @@ interface LocationAndQuantity {
2272
2272
  /** Quantity for specific location. */
2273
2273
  quantity?: number;
2274
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
+ }
2275
2290
  /** Buyer Info */
2276
2291
  interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
2277
2292
  /** Visitor ID (if site visitor is not a member). */
@@ -3641,21 +3656,6 @@ interface CatalogOverrideFields {
3641
3656
  /** Item image. */
3642
3657
  image?: string;
3643
3658
  }
3644
- interface TaxableAddress extends TaxableAddressTaxableAddressDataOneOf {
3645
- /** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
3646
- addressType?: TaxableAddressType;
3647
- }
3648
- /** @oneof */
3649
- interface TaxableAddressTaxableAddressDataOneOf {
3650
- /** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
3651
- addressType?: TaxableAddressType;
3652
- }
3653
- declare enum TaxableAddressType {
3654
- UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
3655
- BUSINESS = "BUSINESS",
3656
- BILLING = "BILLING",
3657
- SHIPPING = "SHIPPING"
3658
- }
3659
3659
  /** Billing Info and shipping details */
3660
3660
  interface AddressWithContact$1 {
3661
3661
  /** Address. */
@@ -70,7 +70,7 @@ interface VoidResponse {
70
70
  currencyCode?: string;
71
71
  }
72
72
  interface GiftCardProviderConfig {
73
- /** Base URI of the SPI implementation. */
73
+ /** Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI. For example, to call the Get Balance endpoint at https://my-gift-cards.com/v1/balance, the base URI you provide here is https://my-gift-cards.com/. */
74
74
  deploymentUri?: string;
75
75
  }
76
76
  /**
@@ -2272,6 +2272,21 @@ interface LocationAndQuantity {
2272
2272
  /** Quantity for specific location. */
2273
2273
  quantity?: number;
2274
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
+ }
2275
2290
  /** Buyer Info */
2276
2291
  interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
2277
2292
  /** Visitor ID (if site visitor is not a member). */
@@ -3641,21 +3656,6 @@ interface CatalogOverrideFields {
3641
3656
  /** Item image. */
3642
3657
  image?: string;
3643
3658
  }
3644
- interface TaxableAddress extends TaxableAddressTaxableAddressDataOneOf {
3645
- /** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
3646
- addressType?: TaxableAddressType;
3647
- }
3648
- /** @oneof */
3649
- interface TaxableAddressTaxableAddressDataOneOf {
3650
- /** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
3651
- addressType?: TaxableAddressType;
3652
- }
3653
- declare enum TaxableAddressType {
3654
- UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
3655
- BUSINESS = "BUSINESS",
3656
- BILLING = "BILLING",
3657
- SHIPPING = "SHIPPING"
3658
- }
3659
3659
  /** Billing Info and shipping details */
3660
3660
  interface AddressWithContact$1 {
3661
3661
  /** Address. */