@wix/ecom 1.0.776 → 1.0.778
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.
|
|
3
|
+
"version": "1.0.778",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@wix/ecom_abandoned-checkouts": "1.0.47",
|
|
23
|
-
"@wix/ecom_additional-fees": "1.0.
|
|
23
|
+
"@wix/ecom_additional-fees": "1.0.28",
|
|
24
24
|
"@wix/ecom_back-in-stock-notifications": "1.0.52",
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.37",
|
|
26
26
|
"@wix/ecom_cart": "1.0.82",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@wix/ecom_discount-rules": "1.0.54",
|
|
36
36
|
"@wix/ecom_discounts": "1.0.6",
|
|
37
37
|
"@wix/ecom_discounts-custom-trigger": "1.0.9",
|
|
38
|
-
"@wix/ecom_draft-orders": "1.0.
|
|
38
|
+
"@wix/ecom_draft-orders": "1.0.24",
|
|
39
39
|
"@wix/ecom_gift-vouchers": "1.0.5",
|
|
40
40
|
"@wix/ecom_gift-vouchers-provider": "1.0.5",
|
|
41
41
|
"@wix/ecom_local-delivery-options": "1.0.10",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"@wix/ecom_order-invoices": "1.0.41",
|
|
44
44
|
"@wix/ecom_order-payment-requests": "1.0.12",
|
|
45
45
|
"@wix/ecom_order-transactions": "1.0.68",
|
|
46
|
-
"@wix/ecom_orders": "1.0.
|
|
46
|
+
"@wix/ecom_orders": "1.0.124",
|
|
47
47
|
"@wix/ecom_orders-settings": "1.0.47",
|
|
48
|
-
"@wix/ecom_payment-settings": "1.0.
|
|
48
|
+
"@wix/ecom_payment-settings": "1.0.50",
|
|
49
49
|
"@wix/ecom_pickup-locations": "1.0.10",
|
|
50
50
|
"@wix/ecom_recommendations": "1.0.44",
|
|
51
51
|
"@wix/ecom_recommendations-provider": "1.0.2",
|
|
52
52
|
"@wix/ecom_shipping-options": "1.0.9",
|
|
53
|
-
"@wix/ecom_shipping-rates": "1.0.
|
|
53
|
+
"@wix/ecom_shipping-rates": "1.0.44",
|
|
54
54
|
"@wix/ecom_shippo-configurations": "1.0.16",
|
|
55
55
|
"@wix/ecom_totals-calculator": "1.0.12",
|
|
56
|
-
"@wix/ecom_validations": "1.0.
|
|
56
|
+
"@wix/ecom_validations": "1.0.34"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"glob": "^10.4.1",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"fqdn": ""
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
"falconPackageHash": "
|
|
81
|
+
"falconPackageHash": "92e8b5d0ef9b6bf88882308aa52d952e2a956f4627b3db95727bfd3e"
|
|
82
82
|
}
|
|
@@ -18965,7 +18965,13 @@ declare enum PaymentStatus$2 {
|
|
|
18965
18965
|
/** Payments received but not yet confirmed by the payment provider */
|
|
18966
18966
|
PENDING = "PENDING",
|
|
18967
18967
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
18968
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
18968
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
18969
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
18970
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
18971
|
+
/** Payment was canceled by user on payment provider side */
|
|
18972
|
+
CANCELED = "CANCELED",
|
|
18973
|
+
/** Payment was declined by payment provider */
|
|
18974
|
+
DECLINED = "DECLINED"
|
|
18969
18975
|
}
|
|
18970
18976
|
declare enum FulfillmentStatus$3 {
|
|
18971
18977
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -18981,7 +18987,9 @@ declare enum FulfillmentStatus$3 {
|
|
|
18981
18987
|
declare enum OrderStatus$1 {
|
|
18982
18988
|
INITIALIZED = "INITIALIZED",
|
|
18983
18989
|
APPROVED = "APPROVED",
|
|
18984
|
-
CANCELED = "CANCELED"
|
|
18990
|
+
CANCELED = "CANCELED",
|
|
18991
|
+
PENDING = "PENDING",
|
|
18992
|
+
REJECTED = "REJECTED"
|
|
18985
18993
|
}
|
|
18986
18994
|
interface Activity$2 extends ActivityContentOneOf$1 {
|
|
18987
18995
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
@@ -22748,7 +22756,13 @@ declare enum PaymentStatus$1 {
|
|
|
22748
22756
|
/** Payments received but not yet confirmed by the payment provider */
|
|
22749
22757
|
PENDING = "PENDING",
|
|
22750
22758
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
22751
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
22759
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
22760
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
22761
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
22762
|
+
/** Payment was canceled by user on payment provider side */
|
|
22763
|
+
CANCELED = "CANCELED",
|
|
22764
|
+
/** Payment was declined by payment provider */
|
|
22765
|
+
DECLINED = "DECLINED"
|
|
22752
22766
|
}
|
|
22753
22767
|
declare enum FulfillmentStatus$1 {
|
|
22754
22768
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -22955,7 +22969,9 @@ interface ShippingRegion$1 {
|
|
|
22955
22969
|
declare enum OrderStatus {
|
|
22956
22970
|
INITIALIZED = "INITIALIZED",
|
|
22957
22971
|
APPROVED = "APPROVED",
|
|
22958
|
-
CANCELED = "CANCELED"
|
|
22972
|
+
CANCELED = "CANCELED",
|
|
22973
|
+
PENDING = "PENDING",
|
|
22974
|
+
REJECTED = "REJECTED"
|
|
22959
22975
|
}
|
|
22960
22976
|
interface TaxSummary$1 {
|
|
22961
22977
|
/**
|
|
@@ -18965,7 +18965,13 @@ declare enum PaymentStatus$2 {
|
|
|
18965
18965
|
/** Payments received but not yet confirmed by the payment provider */
|
|
18966
18966
|
PENDING = "PENDING",
|
|
18967
18967
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
18968
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
18968
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
18969
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
18970
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
18971
|
+
/** Payment was canceled by user on payment provider side */
|
|
18972
|
+
CANCELED = "CANCELED",
|
|
18973
|
+
/** Payment was declined by payment provider */
|
|
18974
|
+
DECLINED = "DECLINED"
|
|
18969
18975
|
}
|
|
18970
18976
|
declare enum FulfillmentStatus$3 {
|
|
18971
18977
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -18981,7 +18987,9 @@ declare enum FulfillmentStatus$3 {
|
|
|
18981
18987
|
declare enum OrderStatus$1 {
|
|
18982
18988
|
INITIALIZED = "INITIALIZED",
|
|
18983
18989
|
APPROVED = "APPROVED",
|
|
18984
|
-
CANCELED = "CANCELED"
|
|
18990
|
+
CANCELED = "CANCELED",
|
|
18991
|
+
PENDING = "PENDING",
|
|
18992
|
+
REJECTED = "REJECTED"
|
|
18985
18993
|
}
|
|
18986
18994
|
interface Activity$2 extends ActivityContentOneOf$1 {
|
|
18987
18995
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
@@ -22748,7 +22756,13 @@ declare enum PaymentStatus$1 {
|
|
|
22748
22756
|
/** Payments received but not yet confirmed by the payment provider */
|
|
22749
22757
|
PENDING = "PENDING",
|
|
22750
22758
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
22751
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
22759
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
22760
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
22761
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
22762
|
+
/** Payment was canceled by user on payment provider side */
|
|
22763
|
+
CANCELED = "CANCELED",
|
|
22764
|
+
/** Payment was declined by payment provider */
|
|
22765
|
+
DECLINED = "DECLINED"
|
|
22752
22766
|
}
|
|
22753
22767
|
declare enum FulfillmentStatus$1 {
|
|
22754
22768
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -22955,7 +22969,9 @@ interface ShippingRegion$1 {
|
|
|
22955
22969
|
declare enum OrderStatus {
|
|
22956
22970
|
INITIALIZED = "INITIALIZED",
|
|
22957
22971
|
APPROVED = "APPROVED",
|
|
22958
|
-
CANCELED = "CANCELED"
|
|
22972
|
+
CANCELED = "CANCELED",
|
|
22973
|
+
PENDING = "PENDING",
|
|
22974
|
+
REJECTED = "REJECTED"
|
|
22959
22975
|
}
|
|
22960
22976
|
interface TaxSummary$1 {
|
|
22961
22977
|
/**
|
|
@@ -19644,7 +19644,13 @@ declare enum PaymentStatus$3 {
|
|
|
19644
19644
|
/** Payments received but not yet confirmed by the payment provider */
|
|
19645
19645
|
PENDING = "PENDING",
|
|
19646
19646
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
19647
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
19647
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
19648
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
19649
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
19650
|
+
/** Payment was canceled by user on payment provider side */
|
|
19651
|
+
CANCELED = "CANCELED",
|
|
19652
|
+
/** Payment was declined by payment provider */
|
|
19653
|
+
DECLINED = "DECLINED"
|
|
19648
19654
|
}
|
|
19649
19655
|
declare enum FulfillmentStatus$3 {
|
|
19650
19656
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -19660,7 +19666,9 @@ declare enum FulfillmentStatus$3 {
|
|
|
19660
19666
|
declare enum OrderStatus$3 {
|
|
19661
19667
|
INITIALIZED = "INITIALIZED",
|
|
19662
19668
|
APPROVED = "APPROVED",
|
|
19663
|
-
CANCELED = "CANCELED"
|
|
19669
|
+
CANCELED = "CANCELED",
|
|
19670
|
+
PENDING = "PENDING",
|
|
19671
|
+
REJECTED = "REJECTED"
|
|
19664
19672
|
}
|
|
19665
19673
|
interface Activity$3 extends ActivityContentOneOf$3 {
|
|
19666
19674
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
@@ -22195,7 +22203,13 @@ declare enum PaymentStatus$2 {
|
|
|
22195
22203
|
/** Payments received but not yet confirmed by the payment provider */
|
|
22196
22204
|
PENDING = "PENDING",
|
|
22197
22205
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
22198
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
22206
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
22207
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
22208
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
22209
|
+
/** Payment was canceled by user on payment provider side */
|
|
22210
|
+
CANCELED = "CANCELED",
|
|
22211
|
+
/** Payment was declined by payment provider */
|
|
22212
|
+
DECLINED = "DECLINED"
|
|
22199
22213
|
}
|
|
22200
22214
|
declare enum FulfillmentStatus$2 {
|
|
22201
22215
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -22211,7 +22225,9 @@ declare enum FulfillmentStatus$2 {
|
|
|
22211
22225
|
declare enum OrderStatus$2 {
|
|
22212
22226
|
INITIALIZED = "INITIALIZED",
|
|
22213
22227
|
APPROVED = "APPROVED",
|
|
22214
|
-
CANCELED = "CANCELED"
|
|
22228
|
+
CANCELED = "CANCELED",
|
|
22229
|
+
PENDING = "PENDING",
|
|
22230
|
+
REJECTED = "REJECTED"
|
|
22215
22231
|
}
|
|
22216
22232
|
interface Activity$2 extends ActivityContentOneOf$2 {
|
|
22217
22233
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
@@ -25073,7 +25089,13 @@ declare enum PaymentStatus$1 {
|
|
|
25073
25089
|
/** Payments received but not yet confirmed by the payment provider */
|
|
25074
25090
|
PENDING = "PENDING",
|
|
25075
25091
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
25076
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
25092
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
25093
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
25094
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
25095
|
+
/** Payment was canceled by user on payment provider side */
|
|
25096
|
+
CANCELED = "CANCELED",
|
|
25097
|
+
/** Payment was declined by payment provider */
|
|
25098
|
+
DECLINED = "DECLINED"
|
|
25077
25099
|
}
|
|
25078
25100
|
declare enum FulfillmentStatus$1 {
|
|
25079
25101
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -25294,7 +25316,9 @@ interface ShippingRegion$3 {
|
|
|
25294
25316
|
declare enum OrderStatus$1 {
|
|
25295
25317
|
INITIALIZED = "INITIALIZED",
|
|
25296
25318
|
APPROVED = "APPROVED",
|
|
25297
|
-
CANCELED = "CANCELED"
|
|
25319
|
+
CANCELED = "CANCELED",
|
|
25320
|
+
PENDING = "PENDING",
|
|
25321
|
+
REJECTED = "REJECTED"
|
|
25298
25322
|
}
|
|
25299
25323
|
interface TaxSummary$3 {
|
|
25300
25324
|
/**
|
|
@@ -27335,7 +27359,13 @@ declare enum PaymentStatus {
|
|
|
27335
27359
|
/** Payments received but not yet confirmed by the payment provider */
|
|
27336
27360
|
PENDING = "PENDING",
|
|
27337
27361
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
27338
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
27362
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
27363
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
27364
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
27365
|
+
/** Payment was canceled by user on payment provider side */
|
|
27366
|
+
CANCELED = "CANCELED",
|
|
27367
|
+
/** Payment was declined by payment provider */
|
|
27368
|
+
DECLINED = "DECLINED"
|
|
27339
27369
|
}
|
|
27340
27370
|
declare enum FulfillmentStatus {
|
|
27341
27371
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -27536,7 +27566,9 @@ interface ShippingRegion$2 {
|
|
|
27536
27566
|
declare enum OrderStatus {
|
|
27537
27567
|
INITIALIZED = "INITIALIZED",
|
|
27538
27568
|
APPROVED = "APPROVED",
|
|
27539
|
-
CANCELED = "CANCELED"
|
|
27569
|
+
CANCELED = "CANCELED",
|
|
27570
|
+
PENDING = "PENDING",
|
|
27571
|
+
REJECTED = "REJECTED"
|
|
27540
27572
|
}
|
|
27541
27573
|
interface TaxSummary$2 {
|
|
27542
27574
|
/**
|
|
@@ -1167,7 +1167,9 @@ declare const provideHandlers$b: ServicePluginDefinition$8<{
|
|
|
1167
1167
|
*
|
|
1168
1168
|
* This method retrieves applicable shipping rates for a delivery from your app.
|
|
1169
1169
|
*
|
|
1170
|
-
* Wix calls this method when certain actions are performed on the cart and/or checkout. For example, when an item is added to the cart, or the shipping destination is changed.
|
|
1170
|
+
* Wix calls this method when certain actions are performed on the cart and/or checkout. For example, when an item is added to the cart, or the shipping destination is changed.
|
|
1171
|
+
*
|
|
1172
|
+
* > __Note:__ Do not call the Estimate Cart Totals, Estimate Current Cart Totals or Get Checkout methods from your implementation code for Get Shipping Rates. Doing so will result in an error. */
|
|
1171
1173
|
getShippingRates(payload: GetShippingRatesEnvelope): GetShippingRatesResponse | Promise<GetShippingRatesResponse>;
|
|
1172
1174
|
}>;
|
|
1173
1175
|
|
|
@@ -1629,7 +1631,9 @@ declare const provideHandlers$9: ServicePluginDefinition$8<{
|
|
|
1629
1631
|
* Wix calls this method when certain actions are performed on the cart or checkout.
|
|
1630
1632
|
* For example, when an item is added to the cart or the amount of an item is updated in the checkout.
|
|
1631
1633
|
*
|
|
1632
|
-
* >
|
|
1634
|
+
* > __Notes:__
|
|
1635
|
+
* > + Do not call the Estimate Cart Totals, Estimate Current Cart Totals or Get Checkout methods from your implementation code for Calculate Additional Fees. Doing so will result in an error.
|
|
1636
|
+
* > + The currency returned in the response object must match the site's currency or those fees will be filtered out and not returned. */
|
|
1633
1637
|
calculateAdditionalFees(payload: CalculateAdditionalFeesEnvelope): CalculateAdditionalFeesResponse | Promise<CalculateAdditionalFeesResponse>;
|
|
1634
1638
|
}>;
|
|
1635
1639
|
|
|
@@ -2792,7 +2796,13 @@ declare enum PaymentStatus {
|
|
|
2792
2796
|
/** Payments received but not yet confirmed by the payment provider */
|
|
2793
2797
|
PENDING = "PENDING",
|
|
2794
2798
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
2795
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
2799
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
2800
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
2801
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
2802
|
+
/** Payment was canceled by user on payment provider side */
|
|
2803
|
+
CANCELED = "CANCELED",
|
|
2804
|
+
/** Payment was declined by payment provider */
|
|
2805
|
+
DECLINED = "DECLINED"
|
|
2796
2806
|
}
|
|
2797
2807
|
declare enum FulfillmentStatus {
|
|
2798
2808
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -2999,7 +3009,9 @@ interface ShippingRegion {
|
|
|
2999
3009
|
declare enum OrderStatus {
|
|
3000
3010
|
INITIALIZED = "INITIALIZED",
|
|
3001
3011
|
APPROVED = "APPROVED",
|
|
3002
|
-
CANCELED = "CANCELED"
|
|
3012
|
+
CANCELED = "CANCELED",
|
|
3013
|
+
PENDING = "PENDING",
|
|
3014
|
+
REJECTED = "REJECTED"
|
|
3003
3015
|
}
|
|
3004
3016
|
interface TaxSummary {
|
|
3005
3017
|
/**
|
|
@@ -5836,7 +5848,9 @@ declare const provideHandlers$1: ServicePluginDefinition$8<{
|
|
|
5836
5848
|
* Wix calls this method when certain actions are performed on a visitor's cart and checkout. For example, when an item is added to the cart, or when a coupon is added to a checkout.
|
|
5837
5849
|
* This method validates a visitor's cart and checkout, and returns any validation violations (using the structure provided by Wix eCommerce). Site visitors can see the validation violations in their cart and checkout pages. If there aren't any validation violations, the method returns an object containing an empty list.
|
|
5838
5850
|
*
|
|
5839
|
-
* >
|
|
5851
|
+
* > __Notes:__
|
|
5852
|
+
* > + Do not call the Estimate Cart Totals, Estimate Current Cart Totals or Get Checkout methods from your implementation code for Get Validation Violations. Doing so will result in an error.
|
|
5853
|
+
* > + By default, this method only retrieves validation violations from a visitor's checkout. If you want to also retrieve validation violations from a visitor's cart, set the `validateInCart` parameter to `true` in the Ecom Validations Integration's config file. */
|
|
5840
5854
|
getValidationViolations(payload: GetValidationViolationsEnvelope): GetValidationViolationsResponse | Promise<GetValidationViolationsResponse>;
|
|
5841
5855
|
}>;
|
|
5842
5856
|
|
|
@@ -1068,7 +1068,9 @@ declare const provideHandlers$b: ServicePluginDefinition$8<{
|
|
|
1068
1068
|
*
|
|
1069
1069
|
* This method retrieves applicable shipping rates for a delivery from your app.
|
|
1070
1070
|
*
|
|
1071
|
-
* Wix calls this method when certain actions are performed on the cart and/or checkout. For example, when an item is added to the cart, or the shipping destination is changed.
|
|
1071
|
+
* Wix calls this method when certain actions are performed on the cart and/or checkout. For example, when an item is added to the cart, or the shipping destination is changed.
|
|
1072
|
+
*
|
|
1073
|
+
* > __Note:__ Do not call the Estimate Cart Totals, Estimate Current Cart Totals or Get Checkout methods from your implementation code for Get Shipping Rates. Doing so will result in an error. */
|
|
1072
1074
|
getShippingRates(payload: GetShippingRatesEnvelope): GetShippingRatesResponse | Promise<GetShippingRatesResponse>;
|
|
1073
1075
|
}>;
|
|
1074
1076
|
|
|
@@ -1629,7 +1631,9 @@ declare const provideHandlers$9: ServicePluginDefinition$8<{
|
|
|
1629
1631
|
* Wix calls this method when certain actions are performed on the cart or checkout.
|
|
1630
1632
|
* For example, when an item is added to the cart or the amount of an item is updated in the checkout.
|
|
1631
1633
|
*
|
|
1632
|
-
* >
|
|
1634
|
+
* > __Notes:__
|
|
1635
|
+
* > + Do not call the Estimate Cart Totals, Estimate Current Cart Totals or Get Checkout methods from your implementation code for Calculate Additional Fees. Doing so will result in an error.
|
|
1636
|
+
* > + The currency returned in the response object must match the site's currency or those fees will be filtered out and not returned. */
|
|
1633
1637
|
calculateAdditionalFees(payload: CalculateAdditionalFeesEnvelope): CalculateAdditionalFeesResponse | Promise<CalculateAdditionalFeesResponse>;
|
|
1634
1638
|
}>;
|
|
1635
1639
|
|
|
@@ -2792,7 +2796,13 @@ declare enum PaymentStatus {
|
|
|
2792
2796
|
/** Payments received but not yet confirmed by the payment provider */
|
|
2793
2797
|
PENDING = "PENDING",
|
|
2794
2798
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
2795
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
2799
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
2800
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
2801
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
2802
|
+
/** Payment was canceled by user on payment provider side */
|
|
2803
|
+
CANCELED = "CANCELED",
|
|
2804
|
+
/** Payment was declined by payment provider */
|
|
2805
|
+
DECLINED = "DECLINED"
|
|
2796
2806
|
}
|
|
2797
2807
|
declare enum FulfillmentStatus {
|
|
2798
2808
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -2999,7 +3009,9 @@ interface ShippingRegion {
|
|
|
2999
3009
|
declare enum OrderStatus {
|
|
3000
3010
|
INITIALIZED = "INITIALIZED",
|
|
3001
3011
|
APPROVED = "APPROVED",
|
|
3002
|
-
CANCELED = "CANCELED"
|
|
3012
|
+
CANCELED = "CANCELED",
|
|
3013
|
+
PENDING = "PENDING",
|
|
3014
|
+
REJECTED = "REJECTED"
|
|
3003
3015
|
}
|
|
3004
3016
|
interface TaxSummary {
|
|
3005
3017
|
/**
|
|
@@ -5836,7 +5848,9 @@ declare const provideHandlers$1: ServicePluginDefinition$8<{
|
|
|
5836
5848
|
* Wix calls this method when certain actions are performed on a visitor's cart and checkout. For example, when an item is added to the cart, or when a coupon is added to a checkout.
|
|
5837
5849
|
* This method validates a visitor's cart and checkout, and returns any validation violations (using the structure provided by Wix eCommerce). Site visitors can see the validation violations in their cart and checkout pages. If there aren't any validation violations, the method returns an object containing an empty list.
|
|
5838
5850
|
*
|
|
5839
|
-
* >
|
|
5851
|
+
* > __Notes:__
|
|
5852
|
+
* > + Do not call the Estimate Cart Totals, Estimate Current Cart Totals or Get Checkout methods from your implementation code for Get Validation Violations. Doing so will result in an error.
|
|
5853
|
+
* > + By default, this method only retrieves validation violations from a visitor's checkout. If you want to also retrieve validation violations from a visitor's cart, set the `validateInCart` parameter to `true` in the Ecom Validations Integration's config file. */
|
|
5840
5854
|
getValidationViolations(payload: GetValidationViolationsEnvelope): GetValidationViolationsResponse | Promise<GetValidationViolationsResponse>;
|
|
5841
5855
|
}>;
|
|
5842
5856
|
|