@wix/ecom 1.0.703 → 1.0.705

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom",
3
- "version": "1.0.703",
3
+ "version": "1.0.705",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,36 +20,36 @@
20
20
  ],
21
21
  "dependencies": {
22
22
  "@wix/ecom_abandoned-checkouts": "1.0.39",
23
- "@wix/ecom_additional-fees": "1.0.20",
23
+ "@wix/ecom_additional-fees": "1.0.21",
24
24
  "@wix/ecom_back-in-stock-notifications": "1.0.43",
25
25
  "@wix/ecom_back-in-stock-settings": "1.0.29",
26
- "@wix/ecom_cart": "1.0.61",
27
- "@wix/ecom_checkout": "1.0.69",
26
+ "@wix/ecom_cart": "1.0.62",
27
+ "@wix/ecom_checkout": "1.0.70",
28
28
  "@wix/ecom_checkout-content": "1.0.0",
29
29
  "@wix/ecom_checkout-settings": "1.0.43",
30
- "@wix/ecom_checkout-templates": "1.0.69",
30
+ "@wix/ecom_checkout-templates": "1.0.70",
31
31
  "@wix/ecom_currencies": "1.0.30",
32
- "@wix/ecom_current-cart": "1.0.61",
33
- "@wix/ecom_custom-triggers": "1.0.18",
32
+ "@wix/ecom_current-cart": "1.0.62",
33
+ "@wix/ecom_custom-triggers": "1.0.19",
34
34
  "@wix/ecom_delivery-profile": "1.0.10",
35
35
  "@wix/ecom_discount-rules": "1.0.46",
36
36
  "@wix/ecom_discounts-custom-trigger": "1.0.1",
37
- "@wix/ecom_draft-orders": "1.0.2",
37
+ "@wix/ecom_draft-orders": "1.0.3",
38
38
  "@wix/ecom_local-delivery-options": "1.0.2",
39
39
  "@wix/ecom_order-fulfillments": "1.0.40",
40
40
  "@wix/ecom_order-invoices": "1.0.33",
41
41
  "@wix/ecom_order-payment-requests": "1.0.0",
42
- "@wix/ecom_order-transactions": "1.0.57",
43
- "@wix/ecom_orders": "1.0.96",
42
+ "@wix/ecom_order-transactions": "1.0.58",
43
+ "@wix/ecom_orders": "1.0.97",
44
44
  "@wix/ecom_orders-settings": "1.0.39",
45
- "@wix/ecom_payment-settings": "1.0.27",
45
+ "@wix/ecom_payment-settings": "1.0.29",
46
46
  "@wix/ecom_pickup-locations": "1.0.2",
47
47
  "@wix/ecom_recommendations": "1.0.33",
48
48
  "@wix/ecom_shipping-options": "1.0.1",
49
- "@wix/ecom_shipping-rates": "1.0.35",
49
+ "@wix/ecom_shipping-rates": "1.0.37",
50
50
  "@wix/ecom_shippo-configurations": "1.0.8",
51
- "@wix/ecom_totals-calculator": "1.0.0",
52
- "@wix/ecom_validations": "1.0.23"
51
+ "@wix/ecom_totals-calculator": "1.0.1",
52
+ "@wix/ecom_validations": "1.0.24"
53
53
  },
54
54
  "devDependencies": {
55
55
  "glob": "^10.4.1",
@@ -73,5 +73,5 @@
73
73
  "fqdn": ""
74
74
  }
75
75
  },
76
- "falconPackageHash": "469ee46ad4c248405b1cdfa09e747305b03844136b640f8a4c6f4540"
76
+ "falconPackageHash": "16e0e9626daa34270acbb8c86b9ea35cec34e56aaa18c4552bc89fbe"
77
77
  }
@@ -4562,6 +4562,8 @@ interface AdditionalFee$6 {
4562
4562
  providerAppId?: string | null;
4563
4563
  /** Additional fee's price before tax. */
4564
4564
  priceBeforeTax?: MultiCurrencyPrice$4;
4565
+ /** Additional fee's price after tax. */
4566
+ priceAfterTax?: MultiCurrencyPrice$4;
4565
4567
  /**
4566
4568
  * Optional - Line items associated with this additional fee.
4567
4569
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -5298,6 +5300,7 @@ interface AdditionalFeeNonNullableFields$4 {
5298
5300
  price?: MultiCurrencyPriceNonNullableFields$3;
5299
5301
  taxDetails?: ItemTaxFullDetailsNonNullableFields$5;
5300
5302
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$3;
5303
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$3;
5301
5304
  lineItemIds: string[];
5302
5305
  }
5303
5306
  interface OtherNonNullableFields$2 {
@@ -6940,6 +6943,8 @@ interface AdditionalFee$5 {
6940
6943
  providerAppId?: string | null;
6941
6944
  /** Additional fee's price before tax. */
6942
6945
  priceBeforeTax?: MultiCurrencyPrice$3;
6946
+ /** Additional fee's price after tax. */
6947
+ priceAfterTax?: MultiCurrencyPrice$3;
6943
6948
  /**
6944
6949
  * Optional - Line items associated with this additional fee.
6945
6950
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -7676,6 +7681,7 @@ interface AdditionalFeeNonNullableFields$3 {
7676
7681
  price?: MultiCurrencyPriceNonNullableFields$2;
7677
7682
  taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
7678
7683
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$2;
7684
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$2;
7679
7685
  lineItemIds: string[];
7680
7686
  }
7681
7687
  interface OtherNonNullableFields$1 {
@@ -9202,6 +9208,8 @@ interface AdditionalFee$4 {
9202
9208
  providerAppId?: string | null;
9203
9209
  /** Additional fee's price before tax. */
9204
9210
  priceBeforeTax?: MultiCurrencyPrice$2;
9211
+ /** Additional fee's price after tax. */
9212
+ priceAfterTax?: MultiCurrencyPrice$2;
9205
9213
  /**
9206
9214
  * Optional - Line items associated with this additional fee.
9207
9215
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -10519,6 +10527,7 @@ interface AdditionalFeeNonNullableFields$2 {
10519
10527
  price?: MultiCurrencyPriceNonNullableFields$1;
10520
10528
  taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
10521
10529
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$1;
10530
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$1;
10522
10531
  lineItemIds: string[];
10523
10532
  }
10524
10533
  interface ConversionInfoNonNullableFields {
@@ -13068,6 +13077,8 @@ interface AdditionalFee$3 {
13068
13077
  providerAppId?: string | null;
13069
13078
  /** Additional fee's price before tax. */
13070
13079
  priceBeforeTax?: MultiCurrencyPrice$1;
13080
+ /** Additional fee's price after tax. */
13081
+ priceAfterTax?: MultiCurrencyPrice$1;
13071
13082
  /**
13072
13083
  * Optional - Line items associated with this additional fee.
13073
13084
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -15734,6 +15745,8 @@ interface AdditionalFee$2 {
15734
15745
  providerAppId?: string | null;
15735
15746
  /** Additional fee's price before tax. */
15736
15747
  priceBeforeTax?: Price$3;
15748
+ /** Additional fee's price after tax. */
15749
+ priceAfterTax?: Price$3;
15737
15750
  /** Additional fee's id. */
15738
15751
  _id?: string;
15739
15752
  /**
@@ -17459,6 +17472,7 @@ interface AdditionalFeeNonNullableFields$1 {
17459
17472
  price?: PriceNonNullableFields$3;
17460
17473
  taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
17461
17474
  priceBeforeTax?: PriceNonNullableFields$3;
17475
+ priceAfterTax?: PriceNonNullableFields$3;
17462
17476
  _id: string;
17463
17477
  lineItemIds: string[];
17464
17478
  }
@@ -20512,6 +20526,8 @@ interface AdditionalFee$1 {
20512
20526
  providerAppId?: string | null;
20513
20527
  /** Additional fee's price before tax. */
20514
20528
  priceBeforeTax?: Price$2;
20529
+ /** Additional fee's price after tax. */
20530
+ priceAfterTax?: Price$2;
20515
20531
  /** Additional fee's id. */
20516
20532
  _id?: string;
20517
20533
  /**
@@ -20787,10 +20803,20 @@ interface RefundTransaction$1 {
20787
20803
  /** Whether refund was made externally and manually on the payment provider's side. */
20788
20804
  externalRefund?: boolean;
20789
20805
  }
20806
+ /**
20807
+ * Refund transaction status.
20808
+ * + `PENDING`: Refund was initiated on payment provider side. PENDING status was assigned by provider.
20809
+ * + `SUCCEEDED`: Refund transaction succeeded.
20810
+ * + `FAILED`: Refund transaction failed.
20811
+ * + `SCHEDULED`: Refund request acknowledged, and will be executed soon.
20812
+ * + `STARTED`: Refund was initiated on payment provider side.
20813
+ */
20790
20814
  declare enum RefundStatus$1 {
20791
20815
  PENDING = "PENDING",
20792
20816
  SUCCEEDED = "SUCCEEDED",
20793
- FAILED = "FAILED"
20817
+ FAILED = "FAILED",
20818
+ SCHEDULED = "SCHEDULED",
20819
+ STARTED = "STARTED"
20794
20820
  }
20795
20821
  /** Business model of a refund request */
20796
20822
  interface RefundDetails$1 {
@@ -23712,6 +23738,7 @@ interface AdditionalFeeNonNullableFields {
23712
23738
  price?: PriceNonNullableFields$2;
23713
23739
  taxDetails?: ItemTaxFullDetailsNonNullableFields$1;
23714
23740
  priceBeforeTax?: PriceNonNullableFields$2;
23741
+ priceAfterTax?: PriceNonNullableFields$2;
23715
23742
  _id: string;
23716
23743
  lineItemIds: string[];
23717
23744
  }
@@ -25194,10 +25221,20 @@ interface RefundTransaction {
25194
25221
  /** Whether refund was made externally and manually on the payment provider's side. */
25195
25222
  externalRefund?: boolean;
25196
25223
  }
25224
+ /**
25225
+ * Refund transaction status.
25226
+ * + `PENDING`: Refund was initiated on payment provider side. PENDING status was assigned by provider.
25227
+ * + `SUCCEEDED`: Refund transaction succeeded.
25228
+ * + `FAILED`: Refund transaction failed.
25229
+ * + `SCHEDULED`: Refund request acknowledged, and will be executed soon.
25230
+ * + `STARTED`: Refund was initiated on payment provider side.
25231
+ */
25197
25232
  declare enum RefundStatus {
25198
25233
  PENDING = "PENDING",
25199
25234
  SUCCEEDED = "SUCCEEDED",
25200
- FAILED = "FAILED"
25235
+ FAILED = "FAILED",
25236
+ SCHEDULED = "SCHEDULED",
25237
+ STARTED = "STARTED"
25201
25238
  }
25202
25239
  /** Business model of a refund request */
25203
25240
  interface RefundDetails {
@@ -30053,6 +30090,8 @@ interface V1AdditionalFee {
30053
30090
  providerAppId?: string | null;
30054
30091
  /** Additional fee's price before tax. */
30055
30092
  priceBeforeTax?: MultiCurrencyPrice;
30093
+ /** Additional fee's price after tax. */
30094
+ priceAfterTax?: MultiCurrencyPrice;
30056
30095
  /**
30057
30096
  * Optional - Line items associated with this additional fee.
30058
30097
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -30300,6 +30339,7 @@ interface V1AdditionalFeeNonNullableFields {
30300
30339
  price?: MultiCurrencyPriceNonNullableFields;
30301
30340
  taxDetails?: ItemTaxFullDetailsNonNullableFields;
30302
30341
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields;
30342
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields;
30303
30343
  lineItemIds: string[];
30304
30344
  }
30305
30345
  interface CalculateTotalsResponseNonNullableFields {
@@ -4562,6 +4562,8 @@ interface AdditionalFee$6 {
4562
4562
  providerAppId?: string | null;
4563
4563
  /** Additional fee's price before tax. */
4564
4564
  priceBeforeTax?: MultiCurrencyPrice$4;
4565
+ /** Additional fee's price after tax. */
4566
+ priceAfterTax?: MultiCurrencyPrice$4;
4565
4567
  /**
4566
4568
  * Optional - Line items associated with this additional fee.
4567
4569
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -5298,6 +5300,7 @@ interface AdditionalFeeNonNullableFields$4 {
5298
5300
  price?: MultiCurrencyPriceNonNullableFields$3;
5299
5301
  taxDetails?: ItemTaxFullDetailsNonNullableFields$5;
5300
5302
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$3;
5303
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$3;
5301
5304
  lineItemIds: string[];
5302
5305
  }
5303
5306
  interface OtherNonNullableFields$2 {
@@ -6940,6 +6943,8 @@ interface AdditionalFee$5 {
6940
6943
  providerAppId?: string | null;
6941
6944
  /** Additional fee's price before tax. */
6942
6945
  priceBeforeTax?: MultiCurrencyPrice$3;
6946
+ /** Additional fee's price after tax. */
6947
+ priceAfterTax?: MultiCurrencyPrice$3;
6943
6948
  /**
6944
6949
  * Optional - Line items associated with this additional fee.
6945
6950
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -7676,6 +7681,7 @@ interface AdditionalFeeNonNullableFields$3 {
7676
7681
  price?: MultiCurrencyPriceNonNullableFields$2;
7677
7682
  taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
7678
7683
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$2;
7684
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$2;
7679
7685
  lineItemIds: string[];
7680
7686
  }
7681
7687
  interface OtherNonNullableFields$1 {
@@ -9202,6 +9208,8 @@ interface AdditionalFee$4 {
9202
9208
  providerAppId?: string | null;
9203
9209
  /** Additional fee's price before tax. */
9204
9210
  priceBeforeTax?: MultiCurrencyPrice$2;
9211
+ /** Additional fee's price after tax. */
9212
+ priceAfterTax?: MultiCurrencyPrice$2;
9205
9213
  /**
9206
9214
  * Optional - Line items associated with this additional fee.
9207
9215
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -10519,6 +10527,7 @@ interface AdditionalFeeNonNullableFields$2 {
10519
10527
  price?: MultiCurrencyPriceNonNullableFields$1;
10520
10528
  taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
10521
10529
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$1;
10530
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$1;
10522
10531
  lineItemIds: string[];
10523
10532
  }
10524
10533
  interface ConversionInfoNonNullableFields {
@@ -13068,6 +13077,8 @@ interface AdditionalFee$3 {
13068
13077
  providerAppId?: string | null;
13069
13078
  /** Additional fee's price before tax. */
13070
13079
  priceBeforeTax?: MultiCurrencyPrice$1;
13080
+ /** Additional fee's price after tax. */
13081
+ priceAfterTax?: MultiCurrencyPrice$1;
13071
13082
  /**
13072
13083
  * Optional - Line items associated with this additional fee.
13073
13084
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -15734,6 +15745,8 @@ interface AdditionalFee$2 {
15734
15745
  providerAppId?: string | null;
15735
15746
  /** Additional fee's price before tax. */
15736
15747
  priceBeforeTax?: Price$3;
15748
+ /** Additional fee's price after tax. */
15749
+ priceAfterTax?: Price$3;
15737
15750
  /** Additional fee's id. */
15738
15751
  _id?: string;
15739
15752
  /**
@@ -17459,6 +17472,7 @@ interface AdditionalFeeNonNullableFields$1 {
17459
17472
  price?: PriceNonNullableFields$3;
17460
17473
  taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
17461
17474
  priceBeforeTax?: PriceNonNullableFields$3;
17475
+ priceAfterTax?: PriceNonNullableFields$3;
17462
17476
  _id: string;
17463
17477
  lineItemIds: string[];
17464
17478
  }
@@ -20512,6 +20526,8 @@ interface AdditionalFee$1 {
20512
20526
  providerAppId?: string | null;
20513
20527
  /** Additional fee's price before tax. */
20514
20528
  priceBeforeTax?: Price$2;
20529
+ /** Additional fee's price after tax. */
20530
+ priceAfterTax?: Price$2;
20515
20531
  /** Additional fee's id. */
20516
20532
  _id?: string;
20517
20533
  /**
@@ -20787,10 +20803,20 @@ interface RefundTransaction$1 {
20787
20803
  /** Whether refund was made externally and manually on the payment provider's side. */
20788
20804
  externalRefund?: boolean;
20789
20805
  }
20806
+ /**
20807
+ * Refund transaction status.
20808
+ * + `PENDING`: Refund was initiated on payment provider side. PENDING status was assigned by provider.
20809
+ * + `SUCCEEDED`: Refund transaction succeeded.
20810
+ * + `FAILED`: Refund transaction failed.
20811
+ * + `SCHEDULED`: Refund request acknowledged, and will be executed soon.
20812
+ * + `STARTED`: Refund was initiated on payment provider side.
20813
+ */
20790
20814
  declare enum RefundStatus$1 {
20791
20815
  PENDING = "PENDING",
20792
20816
  SUCCEEDED = "SUCCEEDED",
20793
- FAILED = "FAILED"
20817
+ FAILED = "FAILED",
20818
+ SCHEDULED = "SCHEDULED",
20819
+ STARTED = "STARTED"
20794
20820
  }
20795
20821
  /** Business model of a refund request */
20796
20822
  interface RefundDetails$1 {
@@ -23712,6 +23738,7 @@ interface AdditionalFeeNonNullableFields {
23712
23738
  price?: PriceNonNullableFields$2;
23713
23739
  taxDetails?: ItemTaxFullDetailsNonNullableFields$1;
23714
23740
  priceBeforeTax?: PriceNonNullableFields$2;
23741
+ priceAfterTax?: PriceNonNullableFields$2;
23715
23742
  _id: string;
23716
23743
  lineItemIds: string[];
23717
23744
  }
@@ -25194,10 +25221,20 @@ interface RefundTransaction {
25194
25221
  /** Whether refund was made externally and manually on the payment provider's side. */
25195
25222
  externalRefund?: boolean;
25196
25223
  }
25224
+ /**
25225
+ * Refund transaction status.
25226
+ * + `PENDING`: Refund was initiated on payment provider side. PENDING status was assigned by provider.
25227
+ * + `SUCCEEDED`: Refund transaction succeeded.
25228
+ * + `FAILED`: Refund transaction failed.
25229
+ * + `SCHEDULED`: Refund request acknowledged, and will be executed soon.
25230
+ * + `STARTED`: Refund was initiated on payment provider side.
25231
+ */
25197
25232
  declare enum RefundStatus {
25198
25233
  PENDING = "PENDING",
25199
25234
  SUCCEEDED = "SUCCEEDED",
25200
- FAILED = "FAILED"
25235
+ FAILED = "FAILED",
25236
+ SCHEDULED = "SCHEDULED",
25237
+ STARTED = "STARTED"
25201
25238
  }
25202
25239
  /** Business model of a refund request */
25203
25240
  interface RefundDetails {
@@ -30053,6 +30090,8 @@ interface V1AdditionalFee {
30053
30090
  providerAppId?: string | null;
30054
30091
  /** Additional fee's price before tax. */
30055
30092
  priceBeforeTax?: MultiCurrencyPrice;
30093
+ /** Additional fee's price after tax. */
30094
+ priceAfterTax?: MultiCurrencyPrice;
30056
30095
  /**
30057
30096
  * Optional - Line items associated with this additional fee.
30058
30097
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -30300,6 +30339,7 @@ interface V1AdditionalFeeNonNullableFields {
30300
30339
  price?: MultiCurrencyPriceNonNullableFields;
30301
30340
  taxDetails?: ItemTaxFullDetailsNonNullableFields;
30302
30341
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields;
30342
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields;
30303
30343
  lineItemIds: string[];
30304
30344
  }
30305
30345
  interface CalculateTotalsResponseNonNullableFields {
@@ -4151,6 +4151,8 @@ interface AdditionalFee$9 {
4151
4151
  providerAppId?: string | null;
4152
4152
  /** Additional fee's price before tax. */
4153
4153
  priceBeforeTax?: MultiCurrencyPrice$7;
4154
+ /** Additional fee's price after tax. */
4155
+ priceAfterTax?: MultiCurrencyPrice$7;
4154
4156
  /**
4155
4157
  * Optional - Line items associated with this additional fee.
4156
4158
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -4744,6 +4746,7 @@ interface AdditionalFeeNonNullableFields$9 {
4744
4746
  price?: MultiCurrencyPriceNonNullableFields$7;
4745
4747
  taxDetails?: ItemTaxFullDetailsNonNullableFields$b;
4746
4748
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$7;
4749
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$7;
4747
4750
  lineItemIds: string[];
4748
4751
  }
4749
4752
  interface OtherNonNullableFields$5 {
@@ -6002,6 +6005,8 @@ interface AdditionalFee$8 {
6002
6005
  providerAppId?: string | null;
6003
6006
  /** Additional fee's price before tax. */
6004
6007
  priceBeforeTax?: MultiCurrencyPrice$6;
6008
+ /** Additional fee's price after tax. */
6009
+ priceAfterTax?: MultiCurrencyPrice$6;
6005
6010
  /**
6006
6011
  * Optional - Line items associated with this additional fee.
6007
6012
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -6581,6 +6586,7 @@ interface AdditionalFeeNonNullableFields$8 {
6581
6586
  price?: MultiCurrencyPriceNonNullableFields$6;
6582
6587
  taxDetails?: ItemTaxFullDetailsNonNullableFields$a;
6583
6588
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$6;
6589
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$6;
6584
6590
  lineItemIds: string[];
6585
6591
  }
6586
6592
  interface OtherNonNullableFields$4 {
@@ -7963,6 +7969,8 @@ interface AdditionalFee$7 {
7963
7969
  providerAppId?: string | null;
7964
7970
  /** Additional fee's price before tax. */
7965
7971
  priceBeforeTax?: MultiCurrencyPrice$5;
7972
+ /** Additional fee's price after tax. */
7973
+ priceAfterTax?: MultiCurrencyPrice$5;
7966
7974
  /**
7967
7975
  * Optional - Line items associated with this additional fee.
7968
7976
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -8515,6 +8523,7 @@ interface AdditionalFeeNonNullableFields$7 {
8515
8523
  price?: MultiCurrencyPriceNonNullableFields$5;
8516
8524
  taxDetails?: ItemTaxFullDetailsNonNullableFields$9;
8517
8525
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$5;
8526
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$5;
8518
8527
  lineItemIds: string[];
8519
8528
  }
8520
8529
  interface OtherNonNullableFields$3 {
@@ -9779,6 +9788,8 @@ interface AdditionalFee$6 {
9779
9788
  providerAppId?: string | null;
9780
9789
  /** Additional fee's price before tax. */
9781
9790
  priceBeforeTax?: MultiCurrencyPrice$4;
9791
+ /** Additional fee's price after tax. */
9792
+ priceAfterTax?: MultiCurrencyPrice$4;
9782
9793
  /**
9783
9794
  * Optional - Line items associated with this additional fee.
9784
9795
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -10317,6 +10328,7 @@ interface AdditionalFeeNonNullableFields$6 {
10317
10328
  price?: MultiCurrencyPriceNonNullableFields$4;
10318
10329
  taxDetails?: ItemTaxFullDetailsNonNullableFields$8;
10319
10330
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$4;
10331
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$4;
10320
10332
  lineItemIds: string[];
10321
10333
  }
10322
10334
  interface OtherNonNullableFields$2 {
@@ -11619,6 +11631,8 @@ interface AdditionalFee$5 {
11619
11631
  providerAppId?: string | null;
11620
11632
  /** Additional fee's price before tax. */
11621
11633
  priceBeforeTax?: MultiCurrencyPrice$3;
11634
+ /** Additional fee's price after tax. */
11635
+ priceAfterTax?: MultiCurrencyPrice$3;
11622
11636
  /**
11623
11637
  * Optional - Line items associated with this additional fee.
11624
11638
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -12369,6 +12383,7 @@ interface AdditionalFeeNonNullableFields$5 {
12369
12383
  price?: MultiCurrencyPriceNonNullableFields$3;
12370
12384
  taxDetails?: ItemTaxFullDetailsNonNullableFields$7;
12371
12385
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$3;
12386
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$3;
12372
12387
  lineItemIds: string[];
12373
12388
  }
12374
12389
  interface ConversionInfoNonNullableFields$1 {
@@ -13657,6 +13672,8 @@ interface AdditionalFee$4 {
13657
13672
  providerAppId?: string | null;
13658
13673
  /** Additional fee's price before tax. */
13659
13674
  priceBeforeTax?: MultiCurrencyPrice$2;
13675
+ /** Additional fee's price after tax. */
13676
+ priceAfterTax?: MultiCurrencyPrice$2;
13660
13677
  /**
13661
13678
  * Optional - Line items associated with this additional fee.
13662
13679
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -14375,6 +14392,7 @@ interface AdditionalFeeNonNullableFields$4 {
14375
14392
  price?: MultiCurrencyPriceNonNullableFields$2;
14376
14393
  taxDetails?: ItemTaxFullDetailsNonNullableFields$6;
14377
14394
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$2;
14395
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$2;
14378
14396
  lineItemIds: string[];
14379
14397
  }
14380
14398
  interface ConversionInfoNonNullableFields {
@@ -18029,6 +18047,8 @@ interface AdditionalFee$3 {
18029
18047
  providerAppId?: string | null;
18030
18048
  /** Additional fee's price before tax. */
18031
18049
  priceBeforeTax?: Price$7;
18050
+ /** Additional fee's price after tax. */
18051
+ priceAfterTax?: Price$7;
18032
18052
  /** Additional fee's id. */
18033
18053
  id?: string;
18034
18054
  /**
@@ -19368,6 +19388,7 @@ interface AdditionalFeeNonNullableFields$3 {
19368
19388
  price?: PriceNonNullableFields$7;
19369
19389
  taxDetails?: ItemTaxFullDetailsNonNullableFields$5;
19370
19390
  priceBeforeTax?: PriceNonNullableFields$7;
19391
+ priceAfterTax?: PriceNonNullableFields$7;
19371
19392
  id: string;
19372
19393
  lineItemIds: string[];
19373
19394
  }
@@ -20484,6 +20505,8 @@ interface AdditionalFee$2 {
20484
20505
  providerAppId?: string | null;
20485
20506
  /** Additional fee's price before tax. */
20486
20507
  priceBeforeTax?: Price$6;
20508
+ /** Additional fee's price after tax. */
20509
+ priceAfterTax?: Price$6;
20487
20510
  /** Additional fee's id. */
20488
20511
  _id?: string;
20489
20512
  /**
@@ -21811,6 +21834,7 @@ interface AdditionalFeeNonNullableFields$2 {
21811
21834
  price?: PriceNonNullableFields$6;
21812
21835
  taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
21813
21836
  priceBeforeTax?: PriceNonNullableFields$6;
21837
+ priceAfterTax?: PriceNonNullableFields$6;
21814
21838
  _id: string;
21815
21839
  lineItemIds: string[];
21816
21840
  }
@@ -24503,6 +24527,8 @@ interface AdditionalFee$1 {
24503
24527
  providerAppId?: string | null;
24504
24528
  /** Additional fee's price before tax. */
24505
24529
  priceBeforeTax?: Price$5;
24530
+ /** Additional fee's price after tax. */
24531
+ priceAfterTax?: Price$5;
24506
24532
  /** Additional fee's id. */
24507
24533
  id?: string;
24508
24534
  /**
@@ -25073,6 +25099,7 @@ interface AdditionalFeeNonNullableFields$1 {
25073
25099
  price?: PriceNonNullableFields$5;
25074
25100
  taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
25075
25101
  priceBeforeTax?: PriceNonNullableFields$5;
25102
+ priceAfterTax?: PriceNonNullableFields$5;
25076
25103
  id: string;
25077
25104
  lineItemIds: string[];
25078
25105
  }
@@ -26198,6 +26225,8 @@ interface AdditionalFee {
26198
26225
  providerAppId?: string | null;
26199
26226
  /** Additional fee's price before tax. */
26200
26227
  priceBeforeTax?: Price$4;
26228
+ /** Additional fee's price after tax. */
26229
+ priceAfterTax?: Price$4;
26201
26230
  /** Additional fee's id. */
26202
26231
  _id?: string;
26203
26232
  /**
@@ -26762,6 +26791,7 @@ interface AdditionalFeeNonNullableFields {
26762
26791
  price?: PriceNonNullableFields$4;
26763
26792
  taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
26764
26793
  priceBeforeTax?: PriceNonNullableFields$4;
26794
+ priceAfterTax?: PriceNonNullableFields$4;
26765
26795
  _id: string;
26766
26796
  lineItemIds: string[];
26767
26797
  }
@@ -27600,10 +27630,20 @@ interface RefundTransaction$1 {
27600
27630
  /** Whether refund was made externally and manually on the payment provider's side. */
27601
27631
  externalRefund?: boolean;
27602
27632
  }
27633
+ /**
27634
+ * Refund transaction status.
27635
+ * + `PENDING`: Refund was initiated on payment provider side. PENDING status was assigned by provider.
27636
+ * + `SUCCEEDED`: Refund transaction succeeded.
27637
+ * + `FAILED`: Refund transaction failed.
27638
+ * + `SCHEDULED`: Refund request acknowledged, and will be executed soon.
27639
+ * + `STARTED`: Refund was initiated on payment provider side.
27640
+ */
27603
27641
  declare enum RefundStatus$1 {
27604
27642
  PENDING = "PENDING",
27605
27643
  SUCCEEDED = "SUCCEEDED",
27606
- FAILED = "FAILED"
27644
+ FAILED = "FAILED",
27645
+ SCHEDULED = "SCHEDULED",
27646
+ STARTED = "STARTED"
27607
27647
  }
27608
27648
  /** Business model of a refund request */
27609
27649
  interface RefundDetails$1 {
@@ -28019,10 +28059,20 @@ interface RefundTransaction {
28019
28059
  /** Whether refund was made externally and manually on the payment provider's side. */
28020
28060
  externalRefund?: boolean;
28021
28061
  }
28062
+ /**
28063
+ * Refund transaction status.
28064
+ * + `PENDING`: Refund was initiated on payment provider side. PENDING status was assigned by provider.
28065
+ * + `SUCCEEDED`: Refund transaction succeeded.
28066
+ * + `FAILED`: Refund transaction failed.
28067
+ * + `SCHEDULED`: Refund request acknowledged, and will be executed soon.
28068
+ * + `STARTED`: Refund was initiated on payment provider side.
28069
+ */
28022
28070
  declare enum RefundStatus {
28023
28071
  PENDING = "PENDING",
28024
28072
  SUCCEEDED = "SUCCEEDED",
28025
- FAILED = "FAILED"
28073
+ FAILED = "FAILED",
28074
+ SCHEDULED = "SCHEDULED",
28075
+ STARTED = "STARTED"
28026
28076
  }
28027
28077
  /** Business model of a refund request */
28028
28078
  interface RefundDetails {
@@ -31093,6 +31143,8 @@ interface V1AdditionalFee$1 {
31093
31143
  providerAppId?: string | null;
31094
31144
  /** Additional fee's price before tax. */
31095
31145
  priceBeforeTax?: MultiCurrencyPrice$1;
31146
+ /** Additional fee's price after tax. */
31147
+ priceAfterTax?: MultiCurrencyPrice$1;
31096
31148
  /**
31097
31149
  * Optional - Line items associated with this additional fee.
31098
31150
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -31340,6 +31392,7 @@ interface V1AdditionalFeeNonNullableFields$1 {
31340
31392
  price?: MultiCurrencyPriceNonNullableFields$1;
31341
31393
  taxDetails?: ItemTaxFullDetailsNonNullableFields$1;
31342
31394
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$1;
31395
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields$1;
31343
31396
  lineItemIds: string[];
31344
31397
  }
31345
31398
  interface CalculateTotalsResponseNonNullableFields$1 {
@@ -32216,6 +32269,8 @@ interface V1AdditionalFee {
32216
32269
  providerAppId?: string | null;
32217
32270
  /** Additional fee's price before tax. */
32218
32271
  priceBeforeTax?: MultiCurrencyPrice;
32272
+ /** Additional fee's price after tax. */
32273
+ priceAfterTax?: MultiCurrencyPrice;
32219
32274
  /**
32220
32275
  * Optional - Line items associated with this additional fee.
32221
32276
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
@@ -32463,6 +32518,7 @@ interface V1AdditionalFeeNonNullableFields {
32463
32518
  price?: MultiCurrencyPriceNonNullableFields;
32464
32519
  taxDetails?: ItemTaxFullDetailsNonNullableFields;
32465
32520
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields;
32521
+ priceAfterTax?: MultiCurrencyPriceNonNullableFields;
32466
32522
  lineItemIds: string[];
32467
32523
  }
32468
32524
  interface CalculateTotalsResponseNonNullableFields {
@@ -424,11 +424,13 @@ interface IdentificationDataIdOneOf$4 {
424
424
  }
425
425
 
426
426
  /**
427
- * Postal Code was missing from request.
428
- This error should be returned when the postal code is missing from the request and it is impossible to calculate the shipping rates.
429
- If it is returned in cases where the postal code exists, it will be ignored and considered as a bug in the carrier's implementation.
430
- Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
431
- Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
427
+ * Missing postal code error.
428
+
429
+ Throw this error when a postal code is not provided in the request.
430
+ This error tells Wix that a valid postal code is required to calculate the shipping rate.
431
+ You can optionally provide error data to help debug the issue.
432
+ Error data you provide appears in the monitoring log but is not exposed to the user.
433
+ This error may block the site visitor from proceeding to checkout, so throw it only if there is no other way to proceed.
432
434
  */
433
435
  declare class MissingPostalCodeWixError extends Error {
434
436
  /** @hidden */
@@ -447,11 +449,13 @@ declare class MissingPostalCodeWixError extends Error {
447
449
  static readonly __type = "wix_spi_error";
448
450
  }
449
451
  /**
450
- * Postal Code was invalid.
451
- This error should be returned when the postal code is invalid and it is impossible to calculate the shipping rates.
452
- If it is returned in cases where the postal code is valid, it will be ignored and considered as a bug in the carrier's implementation.
453
- Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
454
- Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
452
+ * Invalid postal code error.
453
+
454
+ Throw this error when an invalid postal code is provided in the request.
455
+ This error tells Wix that a valid postal code is required to calculate the shipping rate.
456
+ You can optionally provide error data to help debug the issue.
457
+ Error data you provide appears in the monitoring log but is not exposed to the user.
458
+ This error may block the site visitor from proceeding to checkout, so throw it only if there is no other way to proceed.
455
459
  */
456
460
  declare class InvalidPostalCodeWixError extends Error {
457
461
  /** @hidden */
@@ -470,11 +474,12 @@ declare class InvalidPostalCodeWixError extends Error {
470
474
  static readonly __type = "wix_spi_error";
471
475
  }
472
476
  /**
473
- * The provided address was invalid.
474
- This error is to indicate the system that more detailed information is needed (such as subdivision) in order to provide shipping rates.
475
- This may happen in early stages of the purchase flow, where not all shipping address information has been collected yet.
476
- Client, such as cart page, that receive this error can use it to customise the flow to ask for more detailed address information in order to get valid shipping rates.
477
- Data is mandatory and should include the invalid fields in the address. for example: "ShippingDestination.subdivision".
477
+ * Invalid address error.
478
+
479
+ Throw this error when one or more fields in the address provided are invalid.
480
+ This error tells Wix that more address details are needed to calculate the shipping rate.
481
+ Wix may then prompt the user to provide more detailed address information.
482
+ The error data must include the invalid fields in the address. For example: `ShippingDestination.subdivision`.
478
483
  */
479
484
  declare class InvalidAddressWixError extends Error {
480
485
  /** @hidden */
@@ -493,11 +498,12 @@ declare class InvalidAddressWixError extends Error {
493
498
  static readonly __type = "wix_spi_error";
494
499
  }
495
500
  /**
496
- * Generic error for shipping rates calculation.
497
- This error should be returned when there is a generic error in the shipping rates calculation that is not covered by the other errors.
498
- Since this error is generic it is highly encouraged to provide error data that will help in debugging the issue.
499
- If error data is provided, it will appear in the monitoring system but will not be exposed to the user.
500
- This error may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
501
+ * Generic shipping rate calculation error.
502
+
503
+ Throw this error for cases the other errors don't cover.
504
+ You can optionally provide error data to help debug the issue.
505
+ Error data you provide appears in the monitoring log but is not exposed to the user.
506
+ This error may block the site visitor from proceeding to checkout, so throw it only if there is no other way to proceed.
501
507
  */
502
508
  declare class GenericShippingRatesWixError extends Error {
503
509
  /** @hidden */
@@ -2380,6 +2386,8 @@ interface AdditionalFee {
2380
2386
  providerAppId?: string | null;
2381
2387
  /** Additional fee's price before tax. */
2382
2388
  priceBeforeTax?: Price;
2389
+ /** Additional fee's price after tax. */
2390
+ priceAfterTax?: Price;
2383
2391
  /** Additional fee's id. */
2384
2392
  _id?: string;
2385
2393
  /**
@@ -460,11 +460,13 @@ declare const provideHandlers$4: ServicePluginDefinition<{
460
460
  }>;
461
461
 
462
462
  /**
463
- * Postal Code was missing from request.
464
- This error should be returned when the postal code is missing from the request and it is impossible to calculate the shipping rates.
465
- If it is returned in cases where the postal code exists, it will be ignored and considered as a bug in the carrier's implementation.
466
- Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
467
- Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
463
+ * Missing postal code error.
464
+
465
+ Throw this error when a postal code is not provided in the request.
466
+ This error tells Wix that a valid postal code is required to calculate the shipping rate.
467
+ You can optionally provide error data to help debug the issue.
468
+ Error data you provide appears in the monitoring log but is not exposed to the user.
469
+ This error may block the site visitor from proceeding to checkout, so throw it only if there is no other way to proceed.
468
470
  */
469
471
  declare class MissingPostalCodeWixError extends Error {
470
472
  /** @hidden */
@@ -483,11 +485,13 @@ declare class MissingPostalCodeWixError extends Error {
483
485
  static readonly __type = "wix_spi_error";
484
486
  }
485
487
  /**
486
- * Postal Code was invalid.
487
- This error should be returned when the postal code is invalid and it is impossible to calculate the shipping rates.
488
- If it is returned in cases where the postal code is valid, it will be ignored and considered as a bug in the carrier's implementation.
489
- Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
490
- Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
488
+ * Invalid postal code error.
489
+
490
+ Throw this error when an invalid postal code is provided in the request.
491
+ This error tells Wix that a valid postal code is required to calculate the shipping rate.
492
+ You can optionally provide error data to help debug the issue.
493
+ Error data you provide appears in the monitoring log but is not exposed to the user.
494
+ This error may block the site visitor from proceeding to checkout, so throw it only if there is no other way to proceed.
491
495
  */
492
496
  declare class InvalidPostalCodeWixError extends Error {
493
497
  /** @hidden */
@@ -506,11 +510,12 @@ declare class InvalidPostalCodeWixError extends Error {
506
510
  static readonly __type = "wix_spi_error";
507
511
  }
508
512
  /**
509
- * The provided address was invalid.
510
- This error is to indicate the system that more detailed information is needed (such as subdivision) in order to provide shipping rates.
511
- This may happen in early stages of the purchase flow, where not all shipping address information has been collected yet.
512
- Client, such as cart page, that receive this error can use it to customise the flow to ask for more detailed address information in order to get valid shipping rates.
513
- Data is mandatory and should include the invalid fields in the address. for example: "ShippingDestination.subdivision".
513
+ * Invalid address error.
514
+
515
+ Throw this error when one or more fields in the address provided are invalid.
516
+ This error tells Wix that more address details are needed to calculate the shipping rate.
517
+ Wix may then prompt the user to provide more detailed address information.
518
+ The error data must include the invalid fields in the address. For example: `ShippingDestination.subdivision`.
514
519
  */
515
520
  declare class InvalidAddressWixError extends Error {
516
521
  /** @hidden */
@@ -529,11 +534,12 @@ declare class InvalidAddressWixError extends Error {
529
534
  static readonly __type = "wix_spi_error";
530
535
  }
531
536
  /**
532
- * Generic error for shipping rates calculation.
533
- This error should be returned when there is a generic error in the shipping rates calculation that is not covered by the other errors.
534
- Since this error is generic it is highly encouraged to provide error data that will help in debugging the issue.
535
- If error data is provided, it will appear in the monitoring system but will not be exposed to the user.
536
- This error may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
537
+ * Generic shipping rate calculation error.
538
+
539
+ Throw this error for cases the other errors don't cover.
540
+ You can optionally provide error data to help debug the issue.
541
+ Error data you provide appears in the monitoring log but is not exposed to the user.
542
+ This error may block the site visitor from proceeding to checkout, so throw it only if there is no other way to proceed.
537
543
  */
538
544
  declare class GenericShippingRatesWixError extends Error {
539
545
  /** @hidden */
@@ -2400,6 +2406,8 @@ interface AdditionalFee {
2400
2406
  providerAppId?: string | null;
2401
2407
  /** Additional fee's price before tax. */
2402
2408
  priceBeforeTax?: Price;
2409
+ /** Additional fee's price after tax. */
2410
+ priceAfterTax?: Price;
2403
2411
  /** Additional fee's id. */
2404
2412
  _id?: string;
2405
2413
  /**