@wix/ecom 1.0.815 → 1.0.816
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.816",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"@wix/ecom_additional-fees": "1.0.32",
|
|
27
27
|
"@wix/ecom_back-in-stock-notifications": "1.0.57",
|
|
28
28
|
"@wix/ecom_back-in-stock-settings": "1.0.42",
|
|
29
|
-
"@wix/ecom_cart": "1.0.
|
|
30
|
-
"@wix/ecom_checkout": "1.0.
|
|
29
|
+
"@wix/ecom_cart": "1.0.95",
|
|
30
|
+
"@wix/ecom_checkout": "1.0.103",
|
|
31
31
|
"@wix/ecom_checkout-content": "1.0.13",
|
|
32
32
|
"@wix/ecom_checkout-settings": "1.0.58",
|
|
33
|
-
"@wix/ecom_checkout-templates": "1.0.
|
|
33
|
+
"@wix/ecom_checkout-templates": "1.0.101",
|
|
34
34
|
"@wix/ecom_currencies": "1.0.43",
|
|
35
|
-
"@wix/ecom_current-cart": "1.0.
|
|
35
|
+
"@wix/ecom_current-cart": "1.0.95",
|
|
36
36
|
"@wix/ecom_custom-triggers": "1.0.29",
|
|
37
37
|
"@wix/ecom_delivery-profile": "1.0.26",
|
|
38
|
-
"@wix/ecom_delivery-solutions": "1.0.
|
|
38
|
+
"@wix/ecom_delivery-solutions": "1.0.8",
|
|
39
39
|
"@wix/ecom_discount-rules": "1.0.59",
|
|
40
40
|
"@wix/ecom_discounts": "1.0.11",
|
|
41
41
|
"@wix/ecom_discounts-custom-trigger": "1.0.14",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@wix/ecom_order-transactions": "1.0.74",
|
|
51
51
|
"@wix/ecom_orders": "1.0.139",
|
|
52
52
|
"@wix/ecom_orders-settings": "1.0.52",
|
|
53
|
-
"@wix/ecom_payment-settings": "1.0.
|
|
53
|
+
"@wix/ecom_payment-settings": "1.0.65",
|
|
54
54
|
"@wix/ecom_pickup-locations": "1.0.16",
|
|
55
55
|
"@wix/ecom_recommendations": "1.0.49",
|
|
56
56
|
"@wix/ecom_recommendations-provider": "1.0.7",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"fqdn": ""
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
|
-
"falconPackageHash": "
|
|
90
|
+
"falconPackageHash": "eaaa26967015664fd14baae445d67aa63e2212affc1f9e224ca03b59"
|
|
91
91
|
}
|
|
@@ -5939,6 +5939,10 @@ interface CatalogOverrideFields$3 {
|
|
|
5939
5939
|
physicalProperties?: PhysicalProperties$7;
|
|
5940
5940
|
/** Item image. */
|
|
5941
5941
|
image?: string;
|
|
5942
|
+
/** Payment method selected for the item. */
|
|
5943
|
+
paymentOption?: PaymentOption$3;
|
|
5944
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
5945
|
+
depositAmount?: string | null;
|
|
5942
5946
|
/**
|
|
5943
5947
|
* Whether to save the payment method on the order.
|
|
5944
5948
|
*
|
|
@@ -8647,6 +8651,10 @@ interface CatalogOverrideFields$2 {
|
|
|
8647
8651
|
physicalProperties?: PhysicalProperties$6;
|
|
8648
8652
|
/** Item image. */
|
|
8649
8653
|
image?: string;
|
|
8654
|
+
/** Payment method selected for the item. */
|
|
8655
|
+
paymentOption?: PaymentOption$2;
|
|
8656
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
8657
|
+
depositAmount?: string | null;
|
|
8650
8658
|
/**
|
|
8651
8659
|
* Whether to save the payment method on the order.
|
|
8652
8660
|
*
|
|
@@ -11467,6 +11475,10 @@ interface CatalogOverrideFields$1 {
|
|
|
11467
11475
|
physicalProperties?: PhysicalProperties$5;
|
|
11468
11476
|
/** Item image. */
|
|
11469
11477
|
image?: string;
|
|
11478
|
+
/** Payment method selected for the item. */
|
|
11479
|
+
paymentOption?: PaymentOption$1;
|
|
11480
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
11481
|
+
depositAmount?: string | null;
|
|
11470
11482
|
/**
|
|
11471
11483
|
* Whether to save the payment method on the order.
|
|
11472
11484
|
*
|
|
@@ -14898,6 +14910,10 @@ interface CatalogOverrideFields {
|
|
|
14898
14910
|
physicalProperties?: PhysicalProperties$4;
|
|
14899
14911
|
/** Item image. */
|
|
14900
14912
|
image?: string;
|
|
14913
|
+
/** Payment method selected for the item. */
|
|
14914
|
+
paymentOption?: PaymentOption;
|
|
14915
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
14916
|
+
depositAmount?: string | null;
|
|
14901
14917
|
/**
|
|
14902
14918
|
* Whether to save the payment method on the order.
|
|
14903
14919
|
*
|
|
@@ -37127,8 +37143,6 @@ interface GetDeliverySolutionsRequest {
|
|
|
37127
37143
|
userPreferences?: UserPreference[];
|
|
37128
37144
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
37129
37145
|
purchaseFlowId?: string | null;
|
|
37130
|
-
/** Whether tax is included in the items' prices. */
|
|
37131
|
-
taxIncludedInPrices?: boolean | null;
|
|
37132
37146
|
}
|
|
37133
37147
|
interface UserPreference {
|
|
37134
37148
|
/** The delivery carrier app id */
|
|
@@ -37341,8 +37355,6 @@ interface GetDeliverySolutionsOptions {
|
|
|
37341
37355
|
userPreferences?: UserPreference[];
|
|
37342
37356
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
37343
37357
|
purchaseFlowId?: string | null;
|
|
37344
|
-
/** Whether tax is included in the items' prices. */
|
|
37345
|
-
taxIncludedInPrices?: boolean | null;
|
|
37346
37358
|
}
|
|
37347
37359
|
|
|
37348
37360
|
declare function getDeliverySolutions$1(httpClient: HttpClient): GetDeliverySolutionsSignature;
|
|
@@ -5939,6 +5939,10 @@ interface CatalogOverrideFields$3 {
|
|
|
5939
5939
|
physicalProperties?: PhysicalProperties$7;
|
|
5940
5940
|
/** Item image. */
|
|
5941
5941
|
image?: string;
|
|
5942
|
+
/** Payment method selected for the item. */
|
|
5943
|
+
paymentOption?: PaymentOption$3;
|
|
5944
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
5945
|
+
depositAmount?: string | null;
|
|
5942
5946
|
/**
|
|
5943
5947
|
* Whether to save the payment method on the order.
|
|
5944
5948
|
*
|
|
@@ -8647,6 +8651,10 @@ interface CatalogOverrideFields$2 {
|
|
|
8647
8651
|
physicalProperties?: PhysicalProperties$6;
|
|
8648
8652
|
/** Item image. */
|
|
8649
8653
|
image?: string;
|
|
8654
|
+
/** Payment method selected for the item. */
|
|
8655
|
+
paymentOption?: PaymentOption$2;
|
|
8656
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
8657
|
+
depositAmount?: string | null;
|
|
8650
8658
|
/**
|
|
8651
8659
|
* Whether to save the payment method on the order.
|
|
8652
8660
|
*
|
|
@@ -11467,6 +11475,10 @@ interface CatalogOverrideFields$1 {
|
|
|
11467
11475
|
physicalProperties?: PhysicalProperties$5;
|
|
11468
11476
|
/** Item image. */
|
|
11469
11477
|
image?: string;
|
|
11478
|
+
/** Payment method selected for the item. */
|
|
11479
|
+
paymentOption?: PaymentOption$1;
|
|
11480
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
11481
|
+
depositAmount?: string | null;
|
|
11470
11482
|
/**
|
|
11471
11483
|
* Whether to save the payment method on the order.
|
|
11472
11484
|
*
|
|
@@ -14898,6 +14910,10 @@ interface CatalogOverrideFields {
|
|
|
14898
14910
|
physicalProperties?: PhysicalProperties$4;
|
|
14899
14911
|
/** Item image. */
|
|
14900
14912
|
image?: string;
|
|
14913
|
+
/** Payment method selected for the item. */
|
|
14914
|
+
paymentOption?: PaymentOption;
|
|
14915
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
14916
|
+
depositAmount?: string | null;
|
|
14901
14917
|
/**
|
|
14902
14918
|
* Whether to save the payment method on the order.
|
|
14903
14919
|
*
|
|
@@ -37127,8 +37143,6 @@ interface GetDeliverySolutionsRequest {
|
|
|
37127
37143
|
userPreferences?: UserPreference[];
|
|
37128
37144
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
37129
37145
|
purchaseFlowId?: string | null;
|
|
37130
|
-
/** Whether tax is included in the items' prices. */
|
|
37131
|
-
taxIncludedInPrices?: boolean | null;
|
|
37132
37146
|
}
|
|
37133
37147
|
interface UserPreference {
|
|
37134
37148
|
/** The delivery carrier app id */
|
|
@@ -37341,8 +37355,6 @@ interface GetDeliverySolutionsOptions {
|
|
|
37341
37355
|
userPreferences?: UserPreference[];
|
|
37342
37356
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
37343
37357
|
purchaseFlowId?: string | null;
|
|
37344
|
-
/** Whether tax is included in the items' prices. */
|
|
37345
|
-
taxIncludedInPrices?: boolean | null;
|
|
37346
37358
|
}
|
|
37347
37359
|
|
|
37348
37360
|
declare function getDeliverySolutions$1(httpClient: HttpClient): GetDeliverySolutionsSignature;
|
|
@@ -5818,6 +5818,10 @@ interface CatalogOverrideFields$7 {
|
|
|
5818
5818
|
physicalProperties?: PhysicalProperties$f;
|
|
5819
5819
|
/** Item image. */
|
|
5820
5820
|
image?: Image$6;
|
|
5821
|
+
/** Payment method selected for the item. */
|
|
5822
|
+
paymentOption?: PaymentOption$7;
|
|
5823
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
5824
|
+
depositAmount?: string | null;
|
|
5821
5825
|
/**
|
|
5822
5826
|
* Whether to save the payment method on the order.
|
|
5823
5827
|
*
|
|
@@ -5837,6 +5841,16 @@ interface Image$6 {
|
|
|
5837
5841
|
/** Image filename. Optional. */
|
|
5838
5842
|
filename?: string | null;
|
|
5839
5843
|
}
|
|
5844
|
+
interface PaymentOption$7 {
|
|
5845
|
+
/**
|
|
5846
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
5847
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
5848
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
5849
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
5850
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
5851
|
+
*/
|
|
5852
|
+
paymentOption?: PaymentOptionType$d;
|
|
5853
|
+
}
|
|
5840
5854
|
declare enum TaxableAddressType$b {
|
|
5841
5855
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
5842
5856
|
BUSINESS = "BUSINESS",
|
|
@@ -7775,6 +7789,10 @@ interface CatalogOverrideFields$6 {
|
|
|
7775
7789
|
physicalProperties?: PhysicalProperties$e;
|
|
7776
7790
|
/** Item image. */
|
|
7777
7791
|
image?: string;
|
|
7792
|
+
/** Payment method selected for the item. */
|
|
7793
|
+
paymentOption?: PaymentOption$6;
|
|
7794
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
7795
|
+
depositAmount?: string | null;
|
|
7778
7796
|
/**
|
|
7779
7797
|
* Whether to save the payment method on the order.
|
|
7780
7798
|
*
|
|
@@ -7782,6 +7800,16 @@ interface CatalogOverrideFields$6 {
|
|
|
7782
7800
|
*/
|
|
7783
7801
|
savePaymentMethod?: boolean | null;
|
|
7784
7802
|
}
|
|
7803
|
+
interface PaymentOption$6 {
|
|
7804
|
+
/**
|
|
7805
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
7806
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
7807
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
7808
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
7809
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
7810
|
+
*/
|
|
7811
|
+
paymentOption?: PaymentOptionType$c;
|
|
7812
|
+
}
|
|
7785
7813
|
declare enum TaxableAddressType$a {
|
|
7786
7814
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
7787
7815
|
BUSINESS = "BUSINESS",
|
|
@@ -9812,6 +9840,10 @@ interface CatalogOverrideFields$5 {
|
|
|
9812
9840
|
physicalProperties?: PhysicalProperties$d;
|
|
9813
9841
|
/** Item image. */
|
|
9814
9842
|
image?: Image$5;
|
|
9843
|
+
/** Payment method selected for the item. */
|
|
9844
|
+
paymentOption?: PaymentOption$5;
|
|
9845
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
9846
|
+
depositAmount?: string | null;
|
|
9815
9847
|
/**
|
|
9816
9848
|
* Whether to save the payment method on the order.
|
|
9817
9849
|
*
|
|
@@ -9831,6 +9863,16 @@ interface Image$5 {
|
|
|
9831
9863
|
/** Image filename. Optional. */
|
|
9832
9864
|
filename?: string | null;
|
|
9833
9865
|
}
|
|
9866
|
+
interface PaymentOption$5 {
|
|
9867
|
+
/**
|
|
9868
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
9869
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
9870
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
9871
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
9872
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
9873
|
+
*/
|
|
9874
|
+
paymentOption?: PaymentOptionType$b;
|
|
9875
|
+
}
|
|
9834
9876
|
declare enum TaxableAddressType$9 {
|
|
9835
9877
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
9836
9878
|
BUSINESS = "BUSINESS",
|
|
@@ -11729,6 +11771,10 @@ interface CatalogOverrideFields$4 {
|
|
|
11729
11771
|
physicalProperties?: PhysicalProperties$c;
|
|
11730
11772
|
/** Item image. */
|
|
11731
11773
|
image?: string;
|
|
11774
|
+
/** Payment method selected for the item. */
|
|
11775
|
+
paymentOption?: PaymentOption$4;
|
|
11776
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
11777
|
+
depositAmount?: string | null;
|
|
11732
11778
|
/**
|
|
11733
11779
|
* Whether to save the payment method on the order.
|
|
11734
11780
|
*
|
|
@@ -11736,6 +11782,16 @@ interface CatalogOverrideFields$4 {
|
|
|
11736
11782
|
*/
|
|
11737
11783
|
savePaymentMethod?: boolean | null;
|
|
11738
11784
|
}
|
|
11785
|
+
interface PaymentOption$4 {
|
|
11786
|
+
/**
|
|
11787
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
11788
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
11789
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
11790
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
11791
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
11792
|
+
*/
|
|
11793
|
+
paymentOption?: PaymentOptionType$a;
|
|
11794
|
+
}
|
|
11739
11795
|
declare enum TaxableAddressType$8 {
|
|
11740
11796
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
11741
11797
|
BUSINESS = "BUSINESS",
|
|
@@ -13889,6 +13945,10 @@ interface CatalogOverrideFields$3 {
|
|
|
13889
13945
|
physicalProperties?: PhysicalProperties$b;
|
|
13890
13946
|
/** Item image. */
|
|
13891
13947
|
image?: Image$4;
|
|
13948
|
+
/** Payment method selected for the item. */
|
|
13949
|
+
paymentOption?: PaymentOption$3;
|
|
13950
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
13951
|
+
depositAmount?: string | null;
|
|
13892
13952
|
/**
|
|
13893
13953
|
* Whether to save the payment method on the order.
|
|
13894
13954
|
*
|
|
@@ -13908,6 +13968,16 @@ interface Image$4 {
|
|
|
13908
13968
|
/** Image filename. Optional. */
|
|
13909
13969
|
filename?: string | null;
|
|
13910
13970
|
}
|
|
13971
|
+
interface PaymentOption$3 {
|
|
13972
|
+
/**
|
|
13973
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
13974
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
13975
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
13976
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
13977
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
13978
|
+
*/
|
|
13979
|
+
paymentOption?: PaymentOptionType$9;
|
|
13980
|
+
}
|
|
13911
13981
|
declare enum TaxableAddressType$7 {
|
|
13912
13982
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
13913
13983
|
BUSINESS = "BUSINESS",
|
|
@@ -16103,6 +16173,10 @@ interface CatalogOverrideFields$2 {
|
|
|
16103
16173
|
physicalProperties?: PhysicalProperties$a;
|
|
16104
16174
|
/** Item image. */
|
|
16105
16175
|
image?: string;
|
|
16176
|
+
/** Payment method selected for the item. */
|
|
16177
|
+
paymentOption?: PaymentOption$2;
|
|
16178
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
16179
|
+
depositAmount?: string | null;
|
|
16106
16180
|
/**
|
|
16107
16181
|
* Whether to save the payment method on the order.
|
|
16108
16182
|
*
|
|
@@ -16110,6 +16184,16 @@ interface CatalogOverrideFields$2 {
|
|
|
16110
16184
|
*/
|
|
16111
16185
|
savePaymentMethod?: boolean | null;
|
|
16112
16186
|
}
|
|
16187
|
+
interface PaymentOption$2 {
|
|
16188
|
+
/**
|
|
16189
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
16190
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
16191
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
16192
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
16193
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
16194
|
+
*/
|
|
16195
|
+
paymentOption?: PaymentOptionType$8;
|
|
16196
|
+
}
|
|
16113
16197
|
declare enum TaxableAddressType$6 {
|
|
16114
16198
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
16115
16199
|
BUSINESS = "BUSINESS",
|
|
@@ -18306,6 +18390,10 @@ interface CatalogOverrideFields$1 {
|
|
|
18306
18390
|
physicalProperties?: PhysicalProperties$9;
|
|
18307
18391
|
/** Item image. */
|
|
18308
18392
|
image?: Image$3;
|
|
18393
|
+
/** Payment method selected for the item. */
|
|
18394
|
+
paymentOption?: PaymentOption$1;
|
|
18395
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
18396
|
+
depositAmount?: string | null;
|
|
18309
18397
|
/**
|
|
18310
18398
|
* Whether to save the payment method on the order.
|
|
18311
18399
|
*
|
|
@@ -18405,6 +18493,16 @@ interface Image$3 {
|
|
|
18405
18493
|
/** Image filename. Optional. */
|
|
18406
18494
|
filename?: string | null;
|
|
18407
18495
|
}
|
|
18496
|
+
interface PaymentOption$1 {
|
|
18497
|
+
/**
|
|
18498
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
18499
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
18500
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
18501
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
18502
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
18503
|
+
*/
|
|
18504
|
+
paymentOption?: PaymentOptionType$7;
|
|
18505
|
+
}
|
|
18408
18506
|
/** Type of selected payment option for catalog item */
|
|
18409
18507
|
declare enum PaymentOptionType$7 {
|
|
18410
18508
|
/** The entire payment for this item happens as part of the checkout. */
|
|
@@ -18991,6 +19089,10 @@ interface CatalogOverrideFields {
|
|
|
18991
19089
|
physicalProperties?: PhysicalProperties$8;
|
|
18992
19090
|
/** Item image. */
|
|
18993
19091
|
image?: string;
|
|
19092
|
+
/** Payment method selected for the item. */
|
|
19093
|
+
paymentOption?: PaymentOption;
|
|
19094
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
19095
|
+
depositAmount?: string | null;
|
|
18994
19096
|
/**
|
|
18995
19097
|
* Whether to save the payment method on the order.
|
|
18996
19098
|
*
|
|
@@ -19078,6 +19180,16 @@ interface PhysicalProperties$8 {
|
|
|
19078
19180
|
/** Whether this line item is shippable. */
|
|
19079
19181
|
shippable?: boolean;
|
|
19080
19182
|
}
|
|
19183
|
+
interface PaymentOption {
|
|
19184
|
+
/**
|
|
19185
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
19186
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
19187
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
19188
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
19189
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
19190
|
+
*/
|
|
19191
|
+
paymentOption?: PaymentOptionType$6;
|
|
19192
|
+
}
|
|
19081
19193
|
/** Type of selected payment option for catalog item */
|
|
19082
19194
|
declare enum PaymentOptionType$6 {
|
|
19083
19195
|
/** The entire payment for this item happens as part of the checkout. */
|
|
@@ -38457,8 +38569,6 @@ interface GetDeliverySolutionsRequest$1 {
|
|
|
38457
38569
|
userPreferences?: UserPreference$1[];
|
|
38458
38570
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
38459
38571
|
purchaseFlowId?: string | null;
|
|
38460
|
-
/** Whether tax is included in the items' prices. */
|
|
38461
|
-
taxIncludedInPrices?: boolean | null;
|
|
38462
38572
|
}
|
|
38463
38573
|
interface UserPreference$1 {
|
|
38464
38574
|
/** The delivery carrier app id */
|
|
@@ -38878,8 +38988,6 @@ interface GetDeliverySolutionsRequest {
|
|
|
38878
38988
|
userPreferences?: UserPreference[];
|
|
38879
38989
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
38880
38990
|
purchaseFlowId?: string | null;
|
|
38881
|
-
/** Whether tax is included in the items' prices. */
|
|
38882
|
-
taxIncludedInPrices?: boolean | null;
|
|
38883
38991
|
}
|
|
38884
38992
|
interface UserPreference {
|
|
38885
38993
|
/** The delivery carrier app id */
|
|
@@ -4645,6 +4645,10 @@ interface CatalogOverrideFields {
|
|
|
4645
4645
|
physicalProperties?: PhysicalProperties$1;
|
|
4646
4646
|
/** Item image. */
|
|
4647
4647
|
image?: string;
|
|
4648
|
+
/** Payment method selected for the item. */
|
|
4649
|
+
paymentOption?: PaymentOption;
|
|
4650
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
4651
|
+
depositAmount?: string | null;
|
|
4648
4652
|
/**
|
|
4649
4653
|
* Whether to save the payment method on the order.
|
|
4650
4654
|
*
|
|
@@ -4645,6 +4645,10 @@ interface CatalogOverrideFields {
|
|
|
4645
4645
|
physicalProperties?: PhysicalProperties$1;
|
|
4646
4646
|
/** Item image. */
|
|
4647
4647
|
image?: string;
|
|
4648
|
+
/** Payment method selected for the item. */
|
|
4649
|
+
paymentOption?: PaymentOption;
|
|
4650
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
4651
|
+
depositAmount?: string | null;
|
|
4648
4652
|
/**
|
|
4649
4653
|
* Whether to save the payment method on the order.
|
|
4650
4654
|
*
|