@wix/ecom 1.0.769 → 1.0.771
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.771",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"@wix/ecom_additional-fees": "1.0.27",
|
|
24
24
|
"@wix/ecom_back-in-stock-notifications": "1.0.51",
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.36",
|
|
26
|
-
"@wix/ecom_cart": "1.0.
|
|
27
|
-
"@wix/ecom_checkout": "1.0.
|
|
26
|
+
"@wix/ecom_cart": "1.0.77",
|
|
27
|
+
"@wix/ecom_checkout": "1.0.87",
|
|
28
28
|
"@wix/ecom_checkout-content": "1.0.7",
|
|
29
29
|
"@wix/ecom_checkout-settings": "1.0.52",
|
|
30
|
-
"@wix/ecom_checkout-templates": "1.0.
|
|
30
|
+
"@wix/ecom_checkout-templates": "1.0.86",
|
|
31
31
|
"@wix/ecom_currencies": "1.0.37",
|
|
32
|
-
"@wix/ecom_current-cart": "1.0.
|
|
32
|
+
"@wix/ecom_current-cart": "1.0.77",
|
|
33
33
|
"@wix/ecom_custom-triggers": "1.0.25",
|
|
34
34
|
"@wix/ecom_delivery-profile": "1.0.20",
|
|
35
35
|
"@wix/ecom_discount-rules": "1.0.53",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@wix/ecom_order-transactions": "1.0.67",
|
|
46
46
|
"@wix/ecom_orders": "1.0.122",
|
|
47
47
|
"@wix/ecom_orders-settings": "1.0.46",
|
|
48
|
-
"@wix/ecom_payment-settings": "1.0.
|
|
48
|
+
"@wix/ecom_payment-settings": "1.0.46",
|
|
49
49
|
"@wix/ecom_pickup-locations": "1.0.9",
|
|
50
50
|
"@wix/ecom_recommendations": "1.0.42",
|
|
51
51
|
"@wix/ecom_recommendations-provider": "1.0.1",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"fqdn": ""
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
"falconPackageHash": "
|
|
81
|
+
"falconPackageHash": "f383fc278696d92cc5e078cc2fd99d8bee40075eb908180863f15a4a"
|
|
82
82
|
}
|
|
@@ -4146,6 +4146,16 @@ interface LineItem$6 {
|
|
|
4146
4146
|
* @readonly
|
|
4147
4147
|
*/
|
|
4148
4148
|
consentRequiredPaymentPolicy?: string | null;
|
|
4149
|
+
/**
|
|
4150
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
4151
|
+
* @readonly
|
|
4152
|
+
*/
|
|
4153
|
+
priceUndetermined?: boolean;
|
|
4154
|
+
/**
|
|
4155
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
4156
|
+
* @readonly
|
|
4157
|
+
*/
|
|
4158
|
+
fixedQuantity?: boolean;
|
|
4149
4159
|
/**
|
|
4150
4160
|
* Overriding values for catalog item properties.
|
|
4151
4161
|
*
|
|
@@ -4426,6 +4436,12 @@ interface CatalogOverrideFields$3 {
|
|
|
4426
4436
|
physicalProperties?: PhysicalProperties$6;
|
|
4427
4437
|
/** Item image. */
|
|
4428
4438
|
image?: string;
|
|
4439
|
+
/**
|
|
4440
|
+
* Whether to save the payment method on the order.
|
|
4441
|
+
*
|
|
4442
|
+
* Default: `false`
|
|
4443
|
+
*/
|
|
4444
|
+
savePaymentMethod?: boolean | null;
|
|
4429
4445
|
}
|
|
4430
4446
|
interface TaxableAddress$6 extends TaxableAddressTaxableAddressDataOneOf$6 {
|
|
4431
4447
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -4706,6 +4722,30 @@ interface CustomLineItem$4 {
|
|
|
4706
4722
|
depositAmount?: string | null;
|
|
4707
4723
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
4708
4724
|
catalogReference?: CatalogReference$6;
|
|
4725
|
+
/**
|
|
4726
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
4727
|
+
*
|
|
4728
|
+
* Default: `false`
|
|
4729
|
+
*/
|
|
4730
|
+
priceUndetermined?: boolean;
|
|
4731
|
+
/**
|
|
4732
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
4733
|
+
*
|
|
4734
|
+
* Default: `false`
|
|
4735
|
+
*/
|
|
4736
|
+
fixedQuantity?: boolean;
|
|
4737
|
+
/**
|
|
4738
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
4739
|
+
* @readonly
|
|
4740
|
+
*/
|
|
4741
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
4742
|
+
/**
|
|
4743
|
+
* Whether to save the payment method on the order.
|
|
4744
|
+
*
|
|
4745
|
+
* Default: `false`
|
|
4746
|
+
* @readonly
|
|
4747
|
+
*/
|
|
4748
|
+
savePaymentMethod?: boolean;
|
|
4709
4749
|
}
|
|
4710
4750
|
interface UpdateCartResponse$1 {
|
|
4711
4751
|
/** Updated Cart. */
|
|
@@ -6784,6 +6824,16 @@ interface LineItem$5 {
|
|
|
6784
6824
|
* @readonly
|
|
6785
6825
|
*/
|
|
6786
6826
|
consentRequiredPaymentPolicy?: string | null;
|
|
6827
|
+
/**
|
|
6828
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
6829
|
+
* @readonly
|
|
6830
|
+
*/
|
|
6831
|
+
priceUndetermined?: boolean;
|
|
6832
|
+
/**
|
|
6833
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
6834
|
+
* @readonly
|
|
6835
|
+
*/
|
|
6836
|
+
fixedQuantity?: boolean;
|
|
6787
6837
|
/**
|
|
6788
6838
|
* Overriding values for catalog item properties.
|
|
6789
6839
|
*
|
|
@@ -7064,6 +7114,12 @@ interface CatalogOverrideFields$2 {
|
|
|
7064
7114
|
physicalProperties?: PhysicalProperties$5;
|
|
7065
7115
|
/** Item image. */
|
|
7066
7116
|
image?: string;
|
|
7117
|
+
/**
|
|
7118
|
+
* Whether to save the payment method on the order.
|
|
7119
|
+
*
|
|
7120
|
+
* Default: `false`
|
|
7121
|
+
*/
|
|
7122
|
+
savePaymentMethod?: boolean | null;
|
|
7067
7123
|
}
|
|
7068
7124
|
interface TaxableAddress$5 extends TaxableAddressTaxableAddressDataOneOf$5 {
|
|
7069
7125
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -7344,6 +7400,30 @@ interface CustomLineItem$3 {
|
|
|
7344
7400
|
depositAmount?: string | null;
|
|
7345
7401
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
7346
7402
|
catalogReference?: CatalogReference$5;
|
|
7403
|
+
/**
|
|
7404
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
7405
|
+
*
|
|
7406
|
+
* Default: `false`
|
|
7407
|
+
*/
|
|
7408
|
+
priceUndetermined?: boolean;
|
|
7409
|
+
/**
|
|
7410
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
7411
|
+
*
|
|
7412
|
+
* Default: `false`
|
|
7413
|
+
*/
|
|
7414
|
+
fixedQuantity?: boolean;
|
|
7415
|
+
/**
|
|
7416
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
7417
|
+
* @readonly
|
|
7418
|
+
*/
|
|
7419
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
7420
|
+
/**
|
|
7421
|
+
* Whether to save the payment method on the order.
|
|
7422
|
+
*
|
|
7423
|
+
* Default: `false`
|
|
7424
|
+
* @readonly
|
|
7425
|
+
*/
|
|
7426
|
+
savePaymentMethod?: boolean;
|
|
7347
7427
|
}
|
|
7348
7428
|
interface UpdateCartResponse {
|
|
7349
7429
|
/** Updated Cart. */
|
|
@@ -9464,6 +9544,16 @@ interface LineItem$4 {
|
|
|
9464
9544
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
9465
9545
|
*/
|
|
9466
9546
|
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
9547
|
+
/**
|
|
9548
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
9549
|
+
* @readonly
|
|
9550
|
+
*/
|
|
9551
|
+
priceUndetermined?: boolean;
|
|
9552
|
+
/**
|
|
9553
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
9554
|
+
* @readonly
|
|
9555
|
+
*/
|
|
9556
|
+
fixedQuantity?: boolean;
|
|
9467
9557
|
/**
|
|
9468
9558
|
* Whether to save the payment method on the order.
|
|
9469
9559
|
*
|
|
@@ -9809,6 +9899,12 @@ interface CatalogOverrideFields$1 {
|
|
|
9809
9899
|
physicalProperties?: PhysicalProperties$4;
|
|
9810
9900
|
/** Item image. */
|
|
9811
9901
|
image?: string;
|
|
9902
|
+
/**
|
|
9903
|
+
* Whether to save the payment method on the order.
|
|
9904
|
+
*
|
|
9905
|
+
* Default: `false`
|
|
9906
|
+
*/
|
|
9907
|
+
savePaymentMethod?: boolean | null;
|
|
9812
9908
|
}
|
|
9813
9909
|
interface TaxableAddress$4 extends TaxableAddressTaxableAddressDataOneOf$4 {
|
|
9814
9910
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -10759,6 +10855,30 @@ interface CustomLineItem$2 {
|
|
|
10759
10855
|
depositAmount?: string | null;
|
|
10760
10856
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
10761
10857
|
catalogReference?: CatalogReference$4;
|
|
10858
|
+
/**
|
|
10859
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
10860
|
+
*
|
|
10861
|
+
* Default: `false`
|
|
10862
|
+
*/
|
|
10863
|
+
priceUndetermined?: boolean;
|
|
10864
|
+
/**
|
|
10865
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
10866
|
+
*
|
|
10867
|
+
* Default: `false`
|
|
10868
|
+
*/
|
|
10869
|
+
fixedQuantity?: boolean;
|
|
10870
|
+
/**
|
|
10871
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
10872
|
+
* @readonly
|
|
10873
|
+
*/
|
|
10874
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
10875
|
+
/**
|
|
10876
|
+
* Whether to save the payment method on the order.
|
|
10877
|
+
*
|
|
10878
|
+
* Default: `false`
|
|
10879
|
+
* @readonly
|
|
10880
|
+
*/
|
|
10881
|
+
savePaymentMethod?: boolean;
|
|
10762
10882
|
}
|
|
10763
10883
|
interface MerchantDiscountInput$1 {
|
|
10764
10884
|
/** Discount amount. */
|
|
@@ -10900,6 +11020,8 @@ interface RemoveLineItemsResponse {
|
|
|
10900
11020
|
interface CreateOrderRequest$1 {
|
|
10901
11021
|
/** Checkout ID. */
|
|
10902
11022
|
_id: string;
|
|
11023
|
+
/** Indicates the payment method should be saved on the order */
|
|
11024
|
+
savePaymentMethod?: boolean;
|
|
10903
11025
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
10904
11026
|
delayCapture?: boolean;
|
|
10905
11027
|
}
|
|
@@ -10952,6 +11074,8 @@ interface CreateOrderAndChargeRequest {
|
|
|
10952
11074
|
_id?: string;
|
|
10953
11075
|
/** Payment token. */
|
|
10954
11076
|
paymentToken?: string | null;
|
|
11077
|
+
/** Indicates the payment method should be saved on the order */
|
|
11078
|
+
savePaymentMethod?: boolean;
|
|
10955
11079
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
10956
11080
|
delayCapture?: boolean;
|
|
10957
11081
|
}
|
|
@@ -12266,6 +12390,8 @@ interface AddToCheckoutOptions {
|
|
|
12266
12390
|
customLineItems?: CustomLineItem$2[];
|
|
12267
12391
|
}
|
|
12268
12392
|
interface CreateOrderOptions {
|
|
12393
|
+
/** Indicates the payment method should be saved on the order */
|
|
12394
|
+
savePaymentMethod?: boolean;
|
|
12269
12395
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
12270
12396
|
delayCapture?: boolean;
|
|
12271
12397
|
}
|
|
@@ -13231,6 +13357,12 @@ interface CatalogOverrideFields {
|
|
|
13231
13357
|
physicalProperties?: PhysicalProperties$3;
|
|
13232
13358
|
/** Item image. */
|
|
13233
13359
|
image?: string;
|
|
13360
|
+
/**
|
|
13361
|
+
* Whether to save the payment method on the order.
|
|
13362
|
+
*
|
|
13363
|
+
* Default: `false`
|
|
13364
|
+
*/
|
|
13365
|
+
savePaymentMethod?: boolean | null;
|
|
13234
13366
|
}
|
|
13235
13367
|
interface ProductName$2 {
|
|
13236
13368
|
/**
|
|
@@ -13386,6 +13518,30 @@ interface CustomLineItem$1 {
|
|
|
13386
13518
|
depositAmount?: string | null;
|
|
13387
13519
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
13388
13520
|
catalogReference?: CatalogReference$3;
|
|
13521
|
+
/**
|
|
13522
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
13523
|
+
*
|
|
13524
|
+
* Default: `false`
|
|
13525
|
+
*/
|
|
13526
|
+
priceUndetermined?: boolean;
|
|
13527
|
+
/**
|
|
13528
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
13529
|
+
*
|
|
13530
|
+
* Default: `false`
|
|
13531
|
+
*/
|
|
13532
|
+
fixedQuantity?: boolean;
|
|
13533
|
+
/**
|
|
13534
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
13535
|
+
* @readonly
|
|
13536
|
+
*/
|
|
13537
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
13538
|
+
/**
|
|
13539
|
+
* Whether to save the payment method on the order.
|
|
13540
|
+
*
|
|
13541
|
+
* Default: `false`
|
|
13542
|
+
* @readonly
|
|
13543
|
+
*/
|
|
13544
|
+
savePaymentMethod?: boolean;
|
|
13389
13545
|
}
|
|
13390
13546
|
interface PriceDescription$2 {
|
|
13391
13547
|
/** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
@@ -13971,6 +14127,16 @@ interface LineItem$3 {
|
|
|
13971
14127
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
13972
14128
|
*/
|
|
13973
14129
|
catalogOverrideFields?: CatalogOverrideFields;
|
|
14130
|
+
/**
|
|
14131
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
14132
|
+
* @readonly
|
|
14133
|
+
*/
|
|
14134
|
+
priceUndetermined?: boolean;
|
|
14135
|
+
/**
|
|
14136
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
14137
|
+
* @readonly
|
|
14138
|
+
*/
|
|
14139
|
+
fixedQuantity?: boolean;
|
|
13974
14140
|
/**
|
|
13975
14141
|
* Whether to save the payment method on the order.
|
|
13976
14142
|
*
|
|
@@ -4146,6 +4146,16 @@ interface LineItem$6 {
|
|
|
4146
4146
|
* @readonly
|
|
4147
4147
|
*/
|
|
4148
4148
|
consentRequiredPaymentPolicy?: string | null;
|
|
4149
|
+
/**
|
|
4150
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
4151
|
+
* @readonly
|
|
4152
|
+
*/
|
|
4153
|
+
priceUndetermined?: boolean;
|
|
4154
|
+
/**
|
|
4155
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
4156
|
+
* @readonly
|
|
4157
|
+
*/
|
|
4158
|
+
fixedQuantity?: boolean;
|
|
4149
4159
|
/**
|
|
4150
4160
|
* Overriding values for catalog item properties.
|
|
4151
4161
|
*
|
|
@@ -4426,6 +4436,12 @@ interface CatalogOverrideFields$3 {
|
|
|
4426
4436
|
physicalProperties?: PhysicalProperties$6;
|
|
4427
4437
|
/** Item image. */
|
|
4428
4438
|
image?: string;
|
|
4439
|
+
/**
|
|
4440
|
+
* Whether to save the payment method on the order.
|
|
4441
|
+
*
|
|
4442
|
+
* Default: `false`
|
|
4443
|
+
*/
|
|
4444
|
+
savePaymentMethod?: boolean | null;
|
|
4429
4445
|
}
|
|
4430
4446
|
interface TaxableAddress$6 extends TaxableAddressTaxableAddressDataOneOf$6 {
|
|
4431
4447
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -4706,6 +4722,30 @@ interface CustomLineItem$4 {
|
|
|
4706
4722
|
depositAmount?: string | null;
|
|
4707
4723
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
4708
4724
|
catalogReference?: CatalogReference$6;
|
|
4725
|
+
/**
|
|
4726
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
4727
|
+
*
|
|
4728
|
+
* Default: `false`
|
|
4729
|
+
*/
|
|
4730
|
+
priceUndetermined?: boolean;
|
|
4731
|
+
/**
|
|
4732
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
4733
|
+
*
|
|
4734
|
+
* Default: `false`
|
|
4735
|
+
*/
|
|
4736
|
+
fixedQuantity?: boolean;
|
|
4737
|
+
/**
|
|
4738
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
4739
|
+
* @readonly
|
|
4740
|
+
*/
|
|
4741
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
4742
|
+
/**
|
|
4743
|
+
* Whether to save the payment method on the order.
|
|
4744
|
+
*
|
|
4745
|
+
* Default: `false`
|
|
4746
|
+
* @readonly
|
|
4747
|
+
*/
|
|
4748
|
+
savePaymentMethod?: boolean;
|
|
4709
4749
|
}
|
|
4710
4750
|
interface UpdateCartResponse$1 {
|
|
4711
4751
|
/** Updated Cart. */
|
|
@@ -6784,6 +6824,16 @@ interface LineItem$5 {
|
|
|
6784
6824
|
* @readonly
|
|
6785
6825
|
*/
|
|
6786
6826
|
consentRequiredPaymentPolicy?: string | null;
|
|
6827
|
+
/**
|
|
6828
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
6829
|
+
* @readonly
|
|
6830
|
+
*/
|
|
6831
|
+
priceUndetermined?: boolean;
|
|
6832
|
+
/**
|
|
6833
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
6834
|
+
* @readonly
|
|
6835
|
+
*/
|
|
6836
|
+
fixedQuantity?: boolean;
|
|
6787
6837
|
/**
|
|
6788
6838
|
* Overriding values for catalog item properties.
|
|
6789
6839
|
*
|
|
@@ -7064,6 +7114,12 @@ interface CatalogOverrideFields$2 {
|
|
|
7064
7114
|
physicalProperties?: PhysicalProperties$5;
|
|
7065
7115
|
/** Item image. */
|
|
7066
7116
|
image?: string;
|
|
7117
|
+
/**
|
|
7118
|
+
* Whether to save the payment method on the order.
|
|
7119
|
+
*
|
|
7120
|
+
* Default: `false`
|
|
7121
|
+
*/
|
|
7122
|
+
savePaymentMethod?: boolean | null;
|
|
7067
7123
|
}
|
|
7068
7124
|
interface TaxableAddress$5 extends TaxableAddressTaxableAddressDataOneOf$5 {
|
|
7069
7125
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -7344,6 +7400,30 @@ interface CustomLineItem$3 {
|
|
|
7344
7400
|
depositAmount?: string | null;
|
|
7345
7401
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
7346
7402
|
catalogReference?: CatalogReference$5;
|
|
7403
|
+
/**
|
|
7404
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
7405
|
+
*
|
|
7406
|
+
* Default: `false`
|
|
7407
|
+
*/
|
|
7408
|
+
priceUndetermined?: boolean;
|
|
7409
|
+
/**
|
|
7410
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
7411
|
+
*
|
|
7412
|
+
* Default: `false`
|
|
7413
|
+
*/
|
|
7414
|
+
fixedQuantity?: boolean;
|
|
7415
|
+
/**
|
|
7416
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
7417
|
+
* @readonly
|
|
7418
|
+
*/
|
|
7419
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
7420
|
+
/**
|
|
7421
|
+
* Whether to save the payment method on the order.
|
|
7422
|
+
*
|
|
7423
|
+
* Default: `false`
|
|
7424
|
+
* @readonly
|
|
7425
|
+
*/
|
|
7426
|
+
savePaymentMethod?: boolean;
|
|
7347
7427
|
}
|
|
7348
7428
|
interface UpdateCartResponse {
|
|
7349
7429
|
/** Updated Cart. */
|
|
@@ -9464,6 +9544,16 @@ interface LineItem$4 {
|
|
|
9464
9544
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
9465
9545
|
*/
|
|
9466
9546
|
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
9547
|
+
/**
|
|
9548
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
9549
|
+
* @readonly
|
|
9550
|
+
*/
|
|
9551
|
+
priceUndetermined?: boolean;
|
|
9552
|
+
/**
|
|
9553
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
9554
|
+
* @readonly
|
|
9555
|
+
*/
|
|
9556
|
+
fixedQuantity?: boolean;
|
|
9467
9557
|
/**
|
|
9468
9558
|
* Whether to save the payment method on the order.
|
|
9469
9559
|
*
|
|
@@ -9809,6 +9899,12 @@ interface CatalogOverrideFields$1 {
|
|
|
9809
9899
|
physicalProperties?: PhysicalProperties$4;
|
|
9810
9900
|
/** Item image. */
|
|
9811
9901
|
image?: string;
|
|
9902
|
+
/**
|
|
9903
|
+
* Whether to save the payment method on the order.
|
|
9904
|
+
*
|
|
9905
|
+
* Default: `false`
|
|
9906
|
+
*/
|
|
9907
|
+
savePaymentMethod?: boolean | null;
|
|
9812
9908
|
}
|
|
9813
9909
|
interface TaxableAddress$4 extends TaxableAddressTaxableAddressDataOneOf$4 {
|
|
9814
9910
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -10759,6 +10855,30 @@ interface CustomLineItem$2 {
|
|
|
10759
10855
|
depositAmount?: string | null;
|
|
10760
10856
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
10761
10857
|
catalogReference?: CatalogReference$4;
|
|
10858
|
+
/**
|
|
10859
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
10860
|
+
*
|
|
10861
|
+
* Default: `false`
|
|
10862
|
+
*/
|
|
10863
|
+
priceUndetermined?: boolean;
|
|
10864
|
+
/**
|
|
10865
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
10866
|
+
*
|
|
10867
|
+
* Default: `false`
|
|
10868
|
+
*/
|
|
10869
|
+
fixedQuantity?: boolean;
|
|
10870
|
+
/**
|
|
10871
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
10872
|
+
* @readonly
|
|
10873
|
+
*/
|
|
10874
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
10875
|
+
/**
|
|
10876
|
+
* Whether to save the payment method on the order.
|
|
10877
|
+
*
|
|
10878
|
+
* Default: `false`
|
|
10879
|
+
* @readonly
|
|
10880
|
+
*/
|
|
10881
|
+
savePaymentMethod?: boolean;
|
|
10762
10882
|
}
|
|
10763
10883
|
interface MerchantDiscountInput$1 {
|
|
10764
10884
|
/** Discount amount. */
|
|
@@ -10900,6 +11020,8 @@ interface RemoveLineItemsResponse {
|
|
|
10900
11020
|
interface CreateOrderRequest$1 {
|
|
10901
11021
|
/** Checkout ID. */
|
|
10902
11022
|
_id: string;
|
|
11023
|
+
/** Indicates the payment method should be saved on the order */
|
|
11024
|
+
savePaymentMethod?: boolean;
|
|
10903
11025
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
10904
11026
|
delayCapture?: boolean;
|
|
10905
11027
|
}
|
|
@@ -10952,6 +11074,8 @@ interface CreateOrderAndChargeRequest {
|
|
|
10952
11074
|
_id?: string;
|
|
10953
11075
|
/** Payment token. */
|
|
10954
11076
|
paymentToken?: string | null;
|
|
11077
|
+
/** Indicates the payment method should be saved on the order */
|
|
11078
|
+
savePaymentMethod?: boolean;
|
|
10955
11079
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
10956
11080
|
delayCapture?: boolean;
|
|
10957
11081
|
}
|
|
@@ -12266,6 +12390,8 @@ interface AddToCheckoutOptions {
|
|
|
12266
12390
|
customLineItems?: CustomLineItem$2[];
|
|
12267
12391
|
}
|
|
12268
12392
|
interface CreateOrderOptions {
|
|
12393
|
+
/** Indicates the payment method should be saved on the order */
|
|
12394
|
+
savePaymentMethod?: boolean;
|
|
12269
12395
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
12270
12396
|
delayCapture?: boolean;
|
|
12271
12397
|
}
|
|
@@ -13231,6 +13357,12 @@ interface CatalogOverrideFields {
|
|
|
13231
13357
|
physicalProperties?: PhysicalProperties$3;
|
|
13232
13358
|
/** Item image. */
|
|
13233
13359
|
image?: string;
|
|
13360
|
+
/**
|
|
13361
|
+
* Whether to save the payment method on the order.
|
|
13362
|
+
*
|
|
13363
|
+
* Default: `false`
|
|
13364
|
+
*/
|
|
13365
|
+
savePaymentMethod?: boolean | null;
|
|
13234
13366
|
}
|
|
13235
13367
|
interface ProductName$2 {
|
|
13236
13368
|
/**
|
|
@@ -13386,6 +13518,30 @@ interface CustomLineItem$1 {
|
|
|
13386
13518
|
depositAmount?: string | null;
|
|
13387
13519
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
13388
13520
|
catalogReference?: CatalogReference$3;
|
|
13521
|
+
/**
|
|
13522
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
13523
|
+
*
|
|
13524
|
+
* Default: `false`
|
|
13525
|
+
*/
|
|
13526
|
+
priceUndetermined?: boolean;
|
|
13527
|
+
/**
|
|
13528
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
13529
|
+
*
|
|
13530
|
+
* Default: `false`
|
|
13531
|
+
*/
|
|
13532
|
+
fixedQuantity?: boolean;
|
|
13533
|
+
/**
|
|
13534
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
13535
|
+
* @readonly
|
|
13536
|
+
*/
|
|
13537
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
13538
|
+
/**
|
|
13539
|
+
* Whether to save the payment method on the order.
|
|
13540
|
+
*
|
|
13541
|
+
* Default: `false`
|
|
13542
|
+
* @readonly
|
|
13543
|
+
*/
|
|
13544
|
+
savePaymentMethod?: boolean;
|
|
13389
13545
|
}
|
|
13390
13546
|
interface PriceDescription$2 {
|
|
13391
13547
|
/** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
@@ -13971,6 +14127,16 @@ interface LineItem$3 {
|
|
|
13971
14127
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
13972
14128
|
*/
|
|
13973
14129
|
catalogOverrideFields?: CatalogOverrideFields;
|
|
14130
|
+
/**
|
|
14131
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
14132
|
+
* @readonly
|
|
14133
|
+
*/
|
|
14134
|
+
priceUndetermined?: boolean;
|
|
14135
|
+
/**
|
|
14136
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
14137
|
+
* @readonly
|
|
14138
|
+
*/
|
|
14139
|
+
fixedQuantity?: boolean;
|
|
13974
14140
|
/**
|
|
13975
14141
|
* Whether to save the payment method on the order.
|
|
13976
14142
|
*
|
|
@@ -3066,6 +3066,16 @@ interface LineItem$7 {
|
|
|
3066
3066
|
* @readonly
|
|
3067
3067
|
*/
|
|
3068
3068
|
consentRequiredPaymentPolicy?: string | null;
|
|
3069
|
+
/**
|
|
3070
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
3071
|
+
* @readonly
|
|
3072
|
+
*/
|
|
3073
|
+
priceUndetermined?: boolean;
|
|
3074
|
+
/**
|
|
3075
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
3076
|
+
* @readonly
|
|
3077
|
+
*/
|
|
3078
|
+
fixedQuantity?: boolean;
|
|
3069
3079
|
/**
|
|
3070
3080
|
* Overriding values for catalog item properties.
|
|
3071
3081
|
*
|
|
@@ -3338,6 +3348,12 @@ interface CatalogOverrideFields$7 {
|
|
|
3338
3348
|
physicalProperties?: PhysicalProperties$d;
|
|
3339
3349
|
/** Item image. */
|
|
3340
3350
|
image?: Image$6;
|
|
3351
|
+
/**
|
|
3352
|
+
* Whether to save the payment method on the order.
|
|
3353
|
+
*
|
|
3354
|
+
* Default: `false`
|
|
3355
|
+
*/
|
|
3356
|
+
savePaymentMethod?: boolean | null;
|
|
3341
3357
|
}
|
|
3342
3358
|
interface Image$6 {
|
|
3343
3359
|
/** WixMedia image ID. */
|
|
@@ -3604,6 +3620,30 @@ interface CustomLineItem$9 {
|
|
|
3604
3620
|
depositAmount?: string | null;
|
|
3605
3621
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
3606
3622
|
catalogReference?: CatalogReference$d;
|
|
3623
|
+
/**
|
|
3624
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
3625
|
+
*
|
|
3626
|
+
* Default: `false`
|
|
3627
|
+
*/
|
|
3628
|
+
priceUndetermined?: boolean;
|
|
3629
|
+
/**
|
|
3630
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
3631
|
+
*
|
|
3632
|
+
* Default: `false`
|
|
3633
|
+
*/
|
|
3634
|
+
fixedQuantity?: boolean;
|
|
3635
|
+
/**
|
|
3636
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
3637
|
+
* @readonly
|
|
3638
|
+
*/
|
|
3639
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
3640
|
+
/**
|
|
3641
|
+
* Whether to save the payment method on the order.
|
|
3642
|
+
*
|
|
3643
|
+
* Default: `false`
|
|
3644
|
+
* @readonly
|
|
3645
|
+
*/
|
|
3646
|
+
savePaymentMethod?: boolean;
|
|
3607
3647
|
}
|
|
3608
3648
|
interface UpdateCartResponse$3 {
|
|
3609
3649
|
/** Updated Cart. */
|
|
@@ -5032,6 +5072,16 @@ interface LineItem$6 {
|
|
|
5032
5072
|
* @readonly
|
|
5033
5073
|
*/
|
|
5034
5074
|
consentRequiredPaymentPolicy?: string | null;
|
|
5075
|
+
/**
|
|
5076
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
5077
|
+
* @readonly
|
|
5078
|
+
*/
|
|
5079
|
+
priceUndetermined?: boolean;
|
|
5080
|
+
/**
|
|
5081
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
5082
|
+
* @readonly
|
|
5083
|
+
*/
|
|
5084
|
+
fixedQuantity?: boolean;
|
|
5035
5085
|
/**
|
|
5036
5086
|
* Overriding values for catalog item properties.
|
|
5037
5087
|
*
|
|
@@ -5254,6 +5304,12 @@ interface CatalogOverrideFields$6 {
|
|
|
5254
5304
|
physicalProperties?: PhysicalProperties$c;
|
|
5255
5305
|
/** Item image. */
|
|
5256
5306
|
image?: string;
|
|
5307
|
+
/**
|
|
5308
|
+
* Whether to save the payment method on the order.
|
|
5309
|
+
*
|
|
5310
|
+
* Default: `false`
|
|
5311
|
+
*/
|
|
5312
|
+
savePaymentMethod?: boolean | null;
|
|
5257
5313
|
}
|
|
5258
5314
|
declare enum TaxableAddressType$a {
|
|
5259
5315
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
@@ -5502,6 +5558,30 @@ interface CustomLineItem$8 {
|
|
|
5502
5558
|
depositAmount?: string | null;
|
|
5503
5559
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
5504
5560
|
catalogReference?: CatalogReference$c;
|
|
5561
|
+
/**
|
|
5562
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
5563
|
+
*
|
|
5564
|
+
* Default: `false`
|
|
5565
|
+
*/
|
|
5566
|
+
priceUndetermined?: boolean;
|
|
5567
|
+
/**
|
|
5568
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
5569
|
+
*
|
|
5570
|
+
* Default: `false`
|
|
5571
|
+
*/
|
|
5572
|
+
fixedQuantity?: boolean;
|
|
5573
|
+
/**
|
|
5574
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
5575
|
+
* @readonly
|
|
5576
|
+
*/
|
|
5577
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
5578
|
+
/**
|
|
5579
|
+
* Whether to save the payment method on the order.
|
|
5580
|
+
*
|
|
5581
|
+
* Default: `false`
|
|
5582
|
+
* @readonly
|
|
5583
|
+
*/
|
|
5584
|
+
savePaymentMethod?: boolean;
|
|
5505
5585
|
}
|
|
5506
5586
|
interface UpdateCartResponse$2 {
|
|
5507
5587
|
/** Updated Cart. */
|
|
@@ -6978,6 +7058,16 @@ interface LineItem$5 {
|
|
|
6978
7058
|
* @readonly
|
|
6979
7059
|
*/
|
|
6980
7060
|
consentRequiredPaymentPolicy?: string | null;
|
|
7061
|
+
/**
|
|
7062
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
7063
|
+
* @readonly
|
|
7064
|
+
*/
|
|
7065
|
+
priceUndetermined?: boolean;
|
|
7066
|
+
/**
|
|
7067
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
7068
|
+
* @readonly
|
|
7069
|
+
*/
|
|
7070
|
+
fixedQuantity?: boolean;
|
|
6981
7071
|
/**
|
|
6982
7072
|
* Overriding values for catalog item properties.
|
|
6983
7073
|
*
|
|
@@ -7250,6 +7340,12 @@ interface CatalogOverrideFields$5 {
|
|
|
7250
7340
|
physicalProperties?: PhysicalProperties$b;
|
|
7251
7341
|
/** Item image. */
|
|
7252
7342
|
image?: Image$5;
|
|
7343
|
+
/**
|
|
7344
|
+
* Whether to save the payment method on the order.
|
|
7345
|
+
*
|
|
7346
|
+
* Default: `false`
|
|
7347
|
+
*/
|
|
7348
|
+
savePaymentMethod?: boolean | null;
|
|
7253
7349
|
}
|
|
7254
7350
|
interface Image$5 {
|
|
7255
7351
|
/** WixMedia image ID. */
|
|
@@ -7522,6 +7618,30 @@ interface CustomLineItem$7 {
|
|
|
7522
7618
|
depositAmount?: string | null;
|
|
7523
7619
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
7524
7620
|
catalogReference?: CatalogReference$b;
|
|
7621
|
+
/**
|
|
7622
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
7623
|
+
*
|
|
7624
|
+
* Default: `false`
|
|
7625
|
+
*/
|
|
7626
|
+
priceUndetermined?: boolean;
|
|
7627
|
+
/**
|
|
7628
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
7629
|
+
*
|
|
7630
|
+
* Default: `false`
|
|
7631
|
+
*/
|
|
7632
|
+
fixedQuantity?: boolean;
|
|
7633
|
+
/**
|
|
7634
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
7635
|
+
* @readonly
|
|
7636
|
+
*/
|
|
7637
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
7638
|
+
/**
|
|
7639
|
+
* Whether to save the payment method on the order.
|
|
7640
|
+
*
|
|
7641
|
+
* Default: `false`
|
|
7642
|
+
* @readonly
|
|
7643
|
+
*/
|
|
7644
|
+
savePaymentMethod?: boolean;
|
|
7525
7645
|
}
|
|
7526
7646
|
interface UpdateCartResponse$1 {
|
|
7527
7647
|
/** Updated Cart. */
|
|
@@ -8904,6 +9024,16 @@ interface LineItem$4 {
|
|
|
8904
9024
|
* @readonly
|
|
8905
9025
|
*/
|
|
8906
9026
|
consentRequiredPaymentPolicy?: string | null;
|
|
9027
|
+
/**
|
|
9028
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
9029
|
+
* @readonly
|
|
9030
|
+
*/
|
|
9031
|
+
priceUndetermined?: boolean;
|
|
9032
|
+
/**
|
|
9033
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
9034
|
+
* @readonly
|
|
9035
|
+
*/
|
|
9036
|
+
fixedQuantity?: boolean;
|
|
8907
9037
|
/**
|
|
8908
9038
|
* Overriding values for catalog item properties.
|
|
8909
9039
|
*
|
|
@@ -9126,6 +9256,12 @@ interface CatalogOverrideFields$4 {
|
|
|
9126
9256
|
physicalProperties?: PhysicalProperties$a;
|
|
9127
9257
|
/** Item image. */
|
|
9128
9258
|
image?: string;
|
|
9259
|
+
/**
|
|
9260
|
+
* Whether to save the payment method on the order.
|
|
9261
|
+
*
|
|
9262
|
+
* Default: `false`
|
|
9263
|
+
*/
|
|
9264
|
+
savePaymentMethod?: boolean | null;
|
|
9129
9265
|
}
|
|
9130
9266
|
declare enum TaxableAddressType$8 {
|
|
9131
9267
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
@@ -9380,6 +9516,30 @@ interface CustomLineItem$6 {
|
|
|
9380
9516
|
depositAmount?: string | null;
|
|
9381
9517
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
9382
9518
|
catalogReference?: CatalogReference$a;
|
|
9519
|
+
/**
|
|
9520
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
9521
|
+
*
|
|
9522
|
+
* Default: `false`
|
|
9523
|
+
*/
|
|
9524
|
+
priceUndetermined?: boolean;
|
|
9525
|
+
/**
|
|
9526
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
9527
|
+
*
|
|
9528
|
+
* Default: `false`
|
|
9529
|
+
*/
|
|
9530
|
+
fixedQuantity?: boolean;
|
|
9531
|
+
/**
|
|
9532
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
9533
|
+
* @readonly
|
|
9534
|
+
*/
|
|
9535
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
9536
|
+
/**
|
|
9537
|
+
* Whether to save the payment method on the order.
|
|
9538
|
+
*
|
|
9539
|
+
* Default: `false`
|
|
9540
|
+
* @readonly
|
|
9541
|
+
*/
|
|
9542
|
+
savePaymentMethod?: boolean;
|
|
9383
9543
|
}
|
|
9384
9544
|
interface UpdateCartResponse {
|
|
9385
9545
|
/** Updated Cart. */
|
|
@@ -10912,6 +11072,16 @@ interface LineItem$3 {
|
|
|
10912
11072
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
10913
11073
|
*/
|
|
10914
11074
|
catalogOverrideFields?: CatalogOverrideFields$3;
|
|
11075
|
+
/**
|
|
11076
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
11077
|
+
* @readonly
|
|
11078
|
+
*/
|
|
11079
|
+
priceUndetermined?: boolean;
|
|
11080
|
+
/**
|
|
11081
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
11082
|
+
* @readonly
|
|
11083
|
+
*/
|
|
11084
|
+
fixedQuantity?: boolean;
|
|
10915
11085
|
/**
|
|
10916
11086
|
* Whether to save the payment method on the order.
|
|
10917
11087
|
*
|
|
@@ -11201,6 +11371,12 @@ interface CatalogOverrideFields$3 {
|
|
|
11201
11371
|
physicalProperties?: PhysicalProperties$9;
|
|
11202
11372
|
/** Item image. */
|
|
11203
11373
|
image?: Image$4;
|
|
11374
|
+
/**
|
|
11375
|
+
* Whether to save the payment method on the order.
|
|
11376
|
+
*
|
|
11377
|
+
* Default: `false`
|
|
11378
|
+
*/
|
|
11379
|
+
savePaymentMethod?: boolean | null;
|
|
11204
11380
|
}
|
|
11205
11381
|
interface Image$4 {
|
|
11206
11382
|
/** WixMedia image ID. */
|
|
@@ -12109,6 +12285,30 @@ interface CustomLineItem$5 {
|
|
|
12109
12285
|
depositAmount?: string | null;
|
|
12110
12286
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
12111
12287
|
catalogReference?: CatalogReference$9;
|
|
12288
|
+
/**
|
|
12289
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
12290
|
+
*
|
|
12291
|
+
* Default: `false`
|
|
12292
|
+
*/
|
|
12293
|
+
priceUndetermined?: boolean;
|
|
12294
|
+
/**
|
|
12295
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
12296
|
+
*
|
|
12297
|
+
* Default: `false`
|
|
12298
|
+
*/
|
|
12299
|
+
fixedQuantity?: boolean;
|
|
12300
|
+
/**
|
|
12301
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
12302
|
+
* @readonly
|
|
12303
|
+
*/
|
|
12304
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
12305
|
+
/**
|
|
12306
|
+
* Whether to save the payment method on the order.
|
|
12307
|
+
*
|
|
12308
|
+
* Default: `false`
|
|
12309
|
+
* @readonly
|
|
12310
|
+
*/
|
|
12311
|
+
savePaymentMethod?: boolean;
|
|
12112
12312
|
}
|
|
12113
12313
|
interface CreateCheckoutResponse$1 {
|
|
12114
12314
|
/** Newly created checkout. */
|
|
@@ -12225,6 +12425,8 @@ interface RemoveLineItemsResponse$1 {
|
|
|
12225
12425
|
interface CreateOrderRequest$3 {
|
|
12226
12426
|
/** Checkout ID. */
|
|
12227
12427
|
id: string;
|
|
12428
|
+
/** Indicates the payment method should be saved on the order */
|
|
12429
|
+
savePaymentMethod?: boolean;
|
|
12228
12430
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
12229
12431
|
delayCapture?: boolean;
|
|
12230
12432
|
}
|
|
@@ -13078,6 +13280,16 @@ interface LineItem$2 {
|
|
|
13078
13280
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
13079
13281
|
*/
|
|
13080
13282
|
catalogOverrideFields?: CatalogOverrideFields$2;
|
|
13283
|
+
/**
|
|
13284
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
13285
|
+
* @readonly
|
|
13286
|
+
*/
|
|
13287
|
+
priceUndetermined?: boolean;
|
|
13288
|
+
/**
|
|
13289
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
13290
|
+
* @readonly
|
|
13291
|
+
*/
|
|
13292
|
+
fixedQuantity?: boolean;
|
|
13081
13293
|
/**
|
|
13082
13294
|
* Whether to save the payment method on the order.
|
|
13083
13295
|
*
|
|
@@ -13340,6 +13552,12 @@ interface CatalogOverrideFields$2 {
|
|
|
13340
13552
|
physicalProperties?: PhysicalProperties$8;
|
|
13341
13553
|
/** Item image. */
|
|
13342
13554
|
image?: string;
|
|
13555
|
+
/**
|
|
13556
|
+
* Whether to save the payment method on the order.
|
|
13557
|
+
*
|
|
13558
|
+
* Default: `false`
|
|
13559
|
+
*/
|
|
13560
|
+
savePaymentMethod?: boolean | null;
|
|
13343
13561
|
}
|
|
13344
13562
|
declare enum TaxableAddressType$6 {
|
|
13345
13563
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
@@ -14215,6 +14433,30 @@ interface CustomLineItem$4 {
|
|
|
14215
14433
|
depositAmount?: string | null;
|
|
14216
14434
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
14217
14435
|
catalogReference?: CatalogReference$8;
|
|
14436
|
+
/**
|
|
14437
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
14438
|
+
*
|
|
14439
|
+
* Default: `false`
|
|
14440
|
+
*/
|
|
14441
|
+
priceUndetermined?: boolean;
|
|
14442
|
+
/**
|
|
14443
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
14444
|
+
*
|
|
14445
|
+
* Default: `false`
|
|
14446
|
+
*/
|
|
14447
|
+
fixedQuantity?: boolean;
|
|
14448
|
+
/**
|
|
14449
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
14450
|
+
* @readonly
|
|
14451
|
+
*/
|
|
14452
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
14453
|
+
/**
|
|
14454
|
+
* Whether to save the payment method on the order.
|
|
14455
|
+
*
|
|
14456
|
+
* Default: `false`
|
|
14457
|
+
* @readonly
|
|
14458
|
+
*/
|
|
14459
|
+
savePaymentMethod?: boolean;
|
|
14218
14460
|
}
|
|
14219
14461
|
interface CreateCheckoutResponse {
|
|
14220
14462
|
/** Newly created checkout. */
|
|
@@ -14325,6 +14567,8 @@ interface RemoveLineItemsResponse {
|
|
|
14325
14567
|
interface CreateOrderRequest$2 {
|
|
14326
14568
|
/** Checkout ID. */
|
|
14327
14569
|
_id: string;
|
|
14570
|
+
/** Indicates the payment method should be saved on the order */
|
|
14571
|
+
savePaymentMethod?: boolean;
|
|
14328
14572
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
14329
14573
|
delayCapture?: boolean;
|
|
14330
14574
|
}
|
|
@@ -15512,6 +15756,12 @@ interface CatalogOverrideFields$1 {
|
|
|
15512
15756
|
physicalProperties?: PhysicalProperties$7;
|
|
15513
15757
|
/** Item image. */
|
|
15514
15758
|
image?: Image$3;
|
|
15759
|
+
/**
|
|
15760
|
+
* Whether to save the payment method on the order.
|
|
15761
|
+
*
|
|
15762
|
+
* Default: `false`
|
|
15763
|
+
*/
|
|
15764
|
+
savePaymentMethod?: boolean | null;
|
|
15515
15765
|
}
|
|
15516
15766
|
interface ProductName$5 {
|
|
15517
15767
|
/**
|
|
@@ -15679,6 +15929,30 @@ interface CustomLineItem$3 {
|
|
|
15679
15929
|
depositAmount?: string | null;
|
|
15680
15930
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
15681
15931
|
catalogReference?: CatalogReference$7;
|
|
15932
|
+
/**
|
|
15933
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
15934
|
+
*
|
|
15935
|
+
* Default: `false`
|
|
15936
|
+
*/
|
|
15937
|
+
priceUndetermined?: boolean;
|
|
15938
|
+
/**
|
|
15939
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
15940
|
+
*
|
|
15941
|
+
* Default: `false`
|
|
15942
|
+
*/
|
|
15943
|
+
fixedQuantity?: boolean;
|
|
15944
|
+
/**
|
|
15945
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
15946
|
+
* @readonly
|
|
15947
|
+
*/
|
|
15948
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
15949
|
+
/**
|
|
15950
|
+
* Whether to save the payment method on the order.
|
|
15951
|
+
*
|
|
15952
|
+
* Default: `false`
|
|
15953
|
+
* @readonly
|
|
15954
|
+
*/
|
|
15955
|
+
savePaymentMethod?: boolean;
|
|
15682
15956
|
}
|
|
15683
15957
|
interface PriceDescription$5 {
|
|
15684
15958
|
/** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
@@ -16175,6 +16449,12 @@ interface CatalogOverrideFields {
|
|
|
16175
16449
|
physicalProperties?: PhysicalProperties$6;
|
|
16176
16450
|
/** Item image. */
|
|
16177
16451
|
image?: string;
|
|
16452
|
+
/**
|
|
16453
|
+
* Whether to save the payment method on the order.
|
|
16454
|
+
*
|
|
16455
|
+
* Default: `false`
|
|
16456
|
+
*/
|
|
16457
|
+
savePaymentMethod?: boolean | null;
|
|
16178
16458
|
}
|
|
16179
16459
|
interface ProductName$4 {
|
|
16180
16460
|
/**
|
|
@@ -16330,6 +16610,30 @@ interface CustomLineItem$2 {
|
|
|
16330
16610
|
depositAmount?: string | null;
|
|
16331
16611
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
16332
16612
|
catalogReference?: CatalogReference$6;
|
|
16613
|
+
/**
|
|
16614
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
16615
|
+
*
|
|
16616
|
+
* Default: `false`
|
|
16617
|
+
*/
|
|
16618
|
+
priceUndetermined?: boolean;
|
|
16619
|
+
/**
|
|
16620
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
16621
|
+
*
|
|
16622
|
+
* Default: `false`
|
|
16623
|
+
*/
|
|
16624
|
+
fixedQuantity?: boolean;
|
|
16625
|
+
/**
|
|
16626
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
16627
|
+
* @readonly
|
|
16628
|
+
*/
|
|
16629
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
16630
|
+
/**
|
|
16631
|
+
* Whether to save the payment method on the order.
|
|
16632
|
+
*
|
|
16633
|
+
* Default: `false`
|
|
16634
|
+
* @readonly
|
|
16635
|
+
*/
|
|
16636
|
+
savePaymentMethod?: boolean;
|
|
16333
16637
|
}
|
|
16334
16638
|
interface PriceDescription$4 {
|
|
16335
16639
|
/** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
@@ -3948,6 +3948,16 @@ interface LineItem$1 {
|
|
|
3948
3948
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
3949
3949
|
*/
|
|
3950
3950
|
catalogOverrideFields?: CatalogOverrideFields;
|
|
3951
|
+
/**
|
|
3952
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
3953
|
+
* @readonly
|
|
3954
|
+
*/
|
|
3955
|
+
priceUndetermined?: boolean;
|
|
3956
|
+
/**
|
|
3957
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
3958
|
+
* @readonly
|
|
3959
|
+
*/
|
|
3960
|
+
fixedQuantity?: boolean;
|
|
3951
3961
|
/**
|
|
3952
3962
|
* Whether to save the payment method on the order.
|
|
3953
3963
|
*
|
|
@@ -4138,6 +4148,12 @@ interface CatalogOverrideFields {
|
|
|
4138
4148
|
physicalProperties?: PhysicalProperties$1;
|
|
4139
4149
|
/** Item image. */
|
|
4140
4150
|
image?: string;
|
|
4151
|
+
/**
|
|
4152
|
+
* Whether to save the payment method on the order.
|
|
4153
|
+
*
|
|
4154
|
+
* Default: `false`
|
|
4155
|
+
*/
|
|
4156
|
+
savePaymentMethod?: boolean | null;
|
|
4141
4157
|
}
|
|
4142
4158
|
/** Billing Info and shipping details */
|
|
4143
4159
|
interface AddressWithContact$1 {
|
|
@@ -3948,6 +3948,16 @@ interface LineItem$1 {
|
|
|
3948
3948
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
3949
3949
|
*/
|
|
3950
3950
|
catalogOverrideFields?: CatalogOverrideFields;
|
|
3951
|
+
/**
|
|
3952
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
3953
|
+
* @readonly
|
|
3954
|
+
*/
|
|
3955
|
+
priceUndetermined?: boolean;
|
|
3956
|
+
/**
|
|
3957
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
3958
|
+
* @readonly
|
|
3959
|
+
*/
|
|
3960
|
+
fixedQuantity?: boolean;
|
|
3951
3961
|
/**
|
|
3952
3962
|
* Whether to save the payment method on the order.
|
|
3953
3963
|
*
|
|
@@ -4138,6 +4148,12 @@ interface CatalogOverrideFields {
|
|
|
4138
4148
|
physicalProperties?: PhysicalProperties$1;
|
|
4139
4149
|
/** Item image. */
|
|
4140
4150
|
image?: string;
|
|
4151
|
+
/**
|
|
4152
|
+
* Whether to save the payment method on the order.
|
|
4153
|
+
*
|
|
4154
|
+
* Default: `false`
|
|
4155
|
+
*/
|
|
4156
|
+
savePaymentMethod?: boolean | null;
|
|
4141
4157
|
}
|
|
4142
4158
|
/** Billing Info and shipping details */
|
|
4143
4159
|
interface AddressWithContact$1 {
|