@wix/ecom 1.0.687 → 1.0.689

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.687",
3
+ "version": "1.0.689",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -23,12 +23,12 @@
23
23
  "@wix/ecom_additional-fees": "1.0.15",
24
24
  "@wix/ecom_back-in-stock-notifications": "1.0.43",
25
25
  "@wix/ecom_back-in-stock-settings": "1.0.29",
26
- "@wix/ecom_cart": "1.0.58",
27
- "@wix/ecom_checkout": "1.0.63",
26
+ "@wix/ecom_cart": "1.0.59",
27
+ "@wix/ecom_checkout": "1.0.64",
28
28
  "@wix/ecom_checkout-settings": "1.0.43",
29
- "@wix/ecom_checkout-templates": "1.0.64",
29
+ "@wix/ecom_checkout-templates": "1.0.65",
30
30
  "@wix/ecom_currencies": "1.0.30",
31
- "@wix/ecom_current-cart": "1.0.58",
31
+ "@wix/ecom_current-cart": "1.0.59",
32
32
  "@wix/ecom_custom-triggers": "1.0.13",
33
33
  "@wix/ecom_delivery-profile": "1.0.10",
34
34
  "@wix/ecom_discount-rules": "1.0.45",
@@ -71,5 +71,5 @@
71
71
  "fqdn": ""
72
72
  }
73
73
  },
74
- "falconPackageHash": "a20802ada06b7784b53259734a97fce3fbe21e405bb0d88f53e0d80f"
74
+ "falconPackageHash": "bf79dd4b9a5dfdb7a5f374c9b454f1054a520579f5b71bf8aacecd52"
75
75
  }
@@ -3723,6 +3723,8 @@ interface UpdateCartRequest$1 {
3723
3723
  merchantDiscounts?: MerchantDiscountInput$2[];
3724
3724
  /** Catalog line items. */
3725
3725
  lineItems?: LineItem$5[];
3726
+ /** Custom line items. */
3727
+ customLineItems?: CustomLineItem$4[];
3726
3728
  }
3727
3729
  interface MerchantDiscountInput$2 {
3728
3730
  /** Discount amount. */
@@ -3815,6 +3817,8 @@ interface UpdateCartResponse$1 {
3815
3817
  interface AddToCurrentCartRequest$1 {
3816
3818
  /** Catalog line items. */
3817
3819
  lineItems?: LineItem$5[];
3820
+ /** Custom line items. */
3821
+ customLineItems?: CustomLineItem$4[];
3818
3822
  }
3819
3823
  interface AddToCartResponse$1 {
3820
3824
  /** Updated cart. */
@@ -3823,6 +3827,8 @@ interface AddToCartResponse$1 {
3823
3827
  interface AddToCurrentCartAndEstimateTotalsRequest$1 {
3824
3828
  /** Catalog line items. */
3825
3829
  lineItems?: LineItem$5[];
3830
+ /** Custom line items. */
3831
+ customLineItems?: CustomLineItem$4[];
3826
3832
  /** Selected shipping option. */
3827
3833
  selectedShippingOption?: SelectedShippingOption$1;
3828
3834
  /** Shipping address. Used for calculating tax and shipping (when applicable). */
@@ -4726,6 +4732,8 @@ interface CreateCartRequest$1 {
4726
4732
  merchantDiscounts?: MerchantDiscountInput$2[];
4727
4733
  /** Catalog line items. */
4728
4734
  lineItems?: LineItem$5[];
4735
+ /** Custom line items. */
4736
+ customLineItems?: CustomLineItem$4[];
4729
4737
  }
4730
4738
  interface CreateCartResponse$1 {
4731
4739
  /** Cart. */
@@ -4752,6 +4760,8 @@ interface AddToCartRequest$1 {
4752
4760
  _id: string;
4753
4761
  /** Catalog line items. */
4754
4762
  lineItems?: LineItem$5[];
4763
+ /** Custom line items. */
4764
+ customLineItems?: CustomLineItem$4[];
4755
4765
  }
4756
4766
  interface RemoveLineItemsRequest$2 {
4757
4767
  /** Cart ID. */
@@ -5310,6 +5320,8 @@ interface CreateCartOptions {
5310
5320
  merchantDiscounts?: MerchantDiscountInput$2[];
5311
5321
  /** Catalog line items. */
5312
5322
  lineItems?: LineItem$5[];
5323
+ /** Custom line items. */
5324
+ customLineItems?: CustomLineItem$4[];
5313
5325
  }
5314
5326
  interface UpdateCartOptions {
5315
5327
  /** The information for the cart being updated. */
@@ -5399,10 +5411,14 @@ interface UpdateCartOptions {
5399
5411
  merchantDiscounts?: MerchantDiscountInput$2[];
5400
5412
  /** Catalog line items. */
5401
5413
  lineItems?: LineItem$5[];
5414
+ /** Custom line items. */
5415
+ customLineItems?: CustomLineItem$4[];
5402
5416
  }
5403
5417
  interface AddToCartOptions {
5404
5418
  /** Catalog line items. */
5405
5419
  lineItems?: LineItem$5[];
5420
+ /** Custom line items. */
5421
+ customLineItems?: CustomLineItem$4[];
5406
5422
  }
5407
5423
  interface CreateCheckoutOptions$1 {
5408
5424
  /** **Required**. Sales channel type. */
@@ -6073,6 +6089,8 @@ interface UpdateCartRequest {
6073
6089
  merchantDiscounts?: MerchantDiscountInput$1[];
6074
6090
  /** Catalog line items. */
6075
6091
  lineItems?: LineItem$4[];
6092
+ /** Custom line items. */
6093
+ customLineItems?: CustomLineItem$3[];
6076
6094
  }
6077
6095
  interface MerchantDiscountInput$1 {
6078
6096
  /** Discount amount. */
@@ -6165,6 +6183,8 @@ interface UpdateCartResponse {
6165
6183
  interface AddToCurrentCartRequest {
6166
6184
  /** Catalog line items. */
6167
6185
  lineItems?: LineItem$4[];
6186
+ /** Custom line items. */
6187
+ customLineItems?: CustomLineItem$3[];
6168
6188
  }
6169
6189
  interface AddToCartResponse {
6170
6190
  /** Updated cart. */
@@ -6173,6 +6193,8 @@ interface AddToCartResponse {
6173
6193
  interface AddToCurrentCartAndEstimateTotalsRequest {
6174
6194
  /** Catalog line items. */
6175
6195
  lineItems?: LineItem$4[];
6196
+ /** Custom line items. */
6197
+ customLineItems?: CustomLineItem$3[];
6176
6198
  /** Selected shipping option. */
6177
6199
  selectedShippingOption?: SelectedShippingOption;
6178
6200
  /** Shipping address. Used for calculating tax and shipping (when applicable). */
@@ -7076,6 +7098,8 @@ interface CreateCartRequest {
7076
7098
  merchantDiscounts?: MerchantDiscountInput$1[];
7077
7099
  /** Catalog line items. */
7078
7100
  lineItems?: LineItem$4[];
7101
+ /** Custom line items. */
7102
+ customLineItems?: CustomLineItem$3[];
7079
7103
  }
7080
7104
  interface CreateCartResponse {
7081
7105
  /** Cart. */
@@ -7102,6 +7126,8 @@ interface AddToCartRequest {
7102
7126
  _id: string;
7103
7127
  /** Catalog line items. */
7104
7128
  lineItems?: LineItem$4[];
7129
+ /** Custom line items. */
7130
+ customLineItems?: CustomLineItem$3[];
7105
7131
  }
7106
7132
  interface RemoveLineItemsRequest$1 {
7107
7133
  /** Cart ID. */
@@ -7660,10 +7686,14 @@ interface UpdateCurrentCartOptions {
7660
7686
  merchantDiscounts?: MerchantDiscountInput$1[];
7661
7687
  /** Catalog line items. */
7662
7688
  lineItems?: LineItem$4[];
7689
+ /** Custom line items. */
7690
+ customLineItems?: CustomLineItem$3[];
7663
7691
  }
7664
7692
  interface AddToCurrentCartOptions {
7665
7693
  /** Catalog line items. */
7666
7694
  lineItems?: LineItem$4[];
7695
+ /** Custom line items. */
7696
+ customLineItems?: CustomLineItem$3[];
7667
7697
  }
7668
7698
  interface CreateCheckoutFromCurrentCartOptions {
7669
7699
  /** **Required**. Sales channel type. */
@@ -7923,6 +7953,12 @@ interface Checkout$1 {
7923
7953
  * Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
7924
7954
  */
7925
7955
  customSettings?: CustomSettings$1;
7956
+ /**
7957
+ * Customize the content of the checkout page.
7958
+ *
7959
+ * Includes IDs for the app and the component providing the content
7960
+ */
7961
+ customContentReference?: CustomContentReference$1;
7926
7962
  }
7927
7963
  interface LineItem$3 {
7928
7964
  /**
@@ -9196,6 +9232,8 @@ interface CreateCheckoutRequest {
9196
9232
  couponCode?: string | null;
9197
9233
  /** Line items to be added to checkout. */
9198
9234
  lineItems?: LineItem$3[];
9235
+ /** Custom line items to be added to checkout. */
9236
+ customLineItems?: CustomLineItem$2[];
9199
9237
  /**
9200
9238
  * **Required**
9201
9239
  * Sales channel type.
@@ -9362,6 +9400,8 @@ interface UpdateCheckoutRequest {
9362
9400
  * This field overrides the `checkoutUrl` in a cart or checkout. `checkoutUrl` is used to send customers back to their checkouts. By default, a `checkoutUrl` generates for a checkout and directs to a standard Wix checkout page. When `overrideCheckoutUrl` has a value, it will replace and set the value of `checkoutUrl`.
9363
9401
  */
9364
9402
  overrideCheckoutUrl?: string | null;
9403
+ /** Custom line items to be saved on checkout. */
9404
+ customLineItems?: CustomLineItem$2[];
9365
9405
  }
9366
9406
  interface UpdateCheckoutResponse {
9367
9407
  /** Updated checkout. */
@@ -9396,6 +9436,8 @@ interface AddToCheckoutRequest {
9396
9436
  _id: string;
9397
9437
  /** Catalog line items. */
9398
9438
  lineItems?: LineItem$3[];
9439
+ /** Custom line items. */
9440
+ customLineItems?: CustomLineItem$2[];
9399
9441
  }
9400
9442
  interface AddToCheckoutResponse {
9401
9443
  /** Updated checkout. */
@@ -10530,6 +10572,8 @@ interface CreateCheckoutOptions {
10530
10572
  couponCode?: string | null;
10531
10573
  /** Line items to be added to checkout. */
10532
10574
  lineItems?: LineItem$3[];
10575
+ /** Custom line items to be added to checkout. */
10576
+ customLineItems?: CustomLineItem$2[];
10533
10577
  /**
10534
10578
  * **Required**
10535
10579
  * Sales channel type.
@@ -10705,6 +10749,12 @@ interface UpdateCheckout {
10705
10749
  * Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
10706
10750
  */
10707
10751
  customSettings?: CustomSettings$1;
10752
+ /**
10753
+ * Customize the content of the checkout page.
10754
+ *
10755
+ * Includes IDs for the app and the component providing the content
10756
+ */
10757
+ customContentReference?: CustomContentReference$1;
10708
10758
  }
10709
10759
  interface UpdateCheckoutOptions {
10710
10760
  /** The code of an existing coupon to apply to checkout. For more information, see the [Coupons API](https://www.wix.com/velo/reference/wix-marketing-backend/coupons). */
@@ -10717,10 +10767,14 @@ interface UpdateCheckoutOptions {
10717
10767
  * This field overrides the `checkoutUrl` in a cart or checkout. `checkoutUrl` is used to send customers back to their checkouts. By default, a `checkoutUrl` generates for a checkout and directs to a standard Wix checkout page. When `overrideCheckoutUrl` has a value, it will replace and set the value of `checkoutUrl`.
10718
10768
  */
10719
10769
  overrideCheckoutUrl?: string | null;
10770
+ /** Custom line items to be saved on checkout. */
10771
+ customLineItems?: CustomLineItem$2[];
10720
10772
  }
10721
10773
  interface AddToCheckoutOptions {
10722
10774
  /** Catalog line items. */
10723
10775
  lineItems?: LineItem$3[];
10776
+ /** Custom line items. */
10777
+ customLineItems?: CustomLineItem$2[];
10724
10778
  }
10725
10779
 
10726
10780
  declare function createRESTModule$e<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
@@ -11284,6 +11338,12 @@ interface CheckoutTemplate {
11284
11338
  * Max: 300 items
11285
11339
  */
11286
11340
  lineItems?: V1LineItem[];
11341
+ /**
11342
+ * Custom line items.
11343
+ *
11344
+ * Max: 300 items
11345
+ */
11346
+ customLineItems?: CustomLineItem$1[];
11287
11347
  /**
11288
11348
  * Coupon code.
11289
11349
  *
@@ -11291,6 +11351,12 @@ interface CheckoutTemplate {
11291
11351
  * For additional information, see the Coupons API.
11292
11352
  */
11293
11353
  couponCode?: string | null;
11354
+ /**
11355
+ * Customize the content of the checkout page.
11356
+ *
11357
+ * Includes IDs for the app and the component providing the content
11358
+ */
11359
+ customContentReference?: CustomContentReference;
11294
11360
  }
11295
11361
  declare enum Status$1 {
11296
11362
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -11951,6 +12017,12 @@ interface Checkout {
11951
12017
  * Custom settings can only be set when [creating a checkout](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/checkout/create-checkout).
11952
12018
  */
11953
12019
  customSettings?: CustomSettings;
12020
+ /**
12021
+ * Customize the content of the checkout page.
12022
+ *
12023
+ * Includes IDs for the app and the component providing the content
12024
+ */
12025
+ customContentReference?: CustomContentReference;
11954
12026
  }
11955
12027
  interface LineItem$2 {
11956
12028
  /**
@@ -13298,6 +13370,12 @@ interface UpdateCheckoutTemplate {
13298
13370
  * Max: 300 items
13299
13371
  */
13300
13372
  lineItems?: V1LineItem[];
13373
+ /**
13374
+ * Custom line items.
13375
+ *
13376
+ * Max: 300 items
13377
+ */
13378
+ customLineItems?: CustomLineItem$1[];
13301
13379
  /**
13302
13380
  * Coupon code.
13303
13381
  *
@@ -13305,6 +13383,12 @@ interface UpdateCheckoutTemplate {
13305
13383
  * For additional information, see the Coupons API.
13306
13384
  */
13307
13385
  couponCode?: string | null;
13386
+ /**
13387
+ * Customize the content of the checkout page.
13388
+ *
13389
+ * Includes IDs for the app and the component providing the content
13390
+ */
13391
+ customContentReference?: CustomContentReference;
13308
13392
  }
13309
13393
  interface QueryCursorResult$6 {
13310
13394
  cursors: Cursors$8;
@@ -3723,6 +3723,8 @@ interface UpdateCartRequest$1 {
3723
3723
  merchantDiscounts?: MerchantDiscountInput$2[];
3724
3724
  /** Catalog line items. */
3725
3725
  lineItems?: LineItem$5[];
3726
+ /** Custom line items. */
3727
+ customLineItems?: CustomLineItem$4[];
3726
3728
  }
3727
3729
  interface MerchantDiscountInput$2 {
3728
3730
  /** Discount amount. */
@@ -3815,6 +3817,8 @@ interface UpdateCartResponse$1 {
3815
3817
  interface AddToCurrentCartRequest$1 {
3816
3818
  /** Catalog line items. */
3817
3819
  lineItems?: LineItem$5[];
3820
+ /** Custom line items. */
3821
+ customLineItems?: CustomLineItem$4[];
3818
3822
  }
3819
3823
  interface AddToCartResponse$1 {
3820
3824
  /** Updated cart. */
@@ -3823,6 +3827,8 @@ interface AddToCartResponse$1 {
3823
3827
  interface AddToCurrentCartAndEstimateTotalsRequest$1 {
3824
3828
  /** Catalog line items. */
3825
3829
  lineItems?: LineItem$5[];
3830
+ /** Custom line items. */
3831
+ customLineItems?: CustomLineItem$4[];
3826
3832
  /** Selected shipping option. */
3827
3833
  selectedShippingOption?: SelectedShippingOption$1;
3828
3834
  /** Shipping address. Used for calculating tax and shipping (when applicable). */
@@ -4726,6 +4732,8 @@ interface CreateCartRequest$1 {
4726
4732
  merchantDiscounts?: MerchantDiscountInput$2[];
4727
4733
  /** Catalog line items. */
4728
4734
  lineItems?: LineItem$5[];
4735
+ /** Custom line items. */
4736
+ customLineItems?: CustomLineItem$4[];
4729
4737
  }
4730
4738
  interface CreateCartResponse$1 {
4731
4739
  /** Cart. */
@@ -4752,6 +4760,8 @@ interface AddToCartRequest$1 {
4752
4760
  _id: string;
4753
4761
  /** Catalog line items. */
4754
4762
  lineItems?: LineItem$5[];
4763
+ /** Custom line items. */
4764
+ customLineItems?: CustomLineItem$4[];
4755
4765
  }
4756
4766
  interface RemoveLineItemsRequest$2 {
4757
4767
  /** Cart ID. */
@@ -5310,6 +5320,8 @@ interface CreateCartOptions {
5310
5320
  merchantDiscounts?: MerchantDiscountInput$2[];
5311
5321
  /** Catalog line items. */
5312
5322
  lineItems?: LineItem$5[];
5323
+ /** Custom line items. */
5324
+ customLineItems?: CustomLineItem$4[];
5313
5325
  }
5314
5326
  interface UpdateCartOptions {
5315
5327
  /** The information for the cart being updated. */
@@ -5399,10 +5411,14 @@ interface UpdateCartOptions {
5399
5411
  merchantDiscounts?: MerchantDiscountInput$2[];
5400
5412
  /** Catalog line items. */
5401
5413
  lineItems?: LineItem$5[];
5414
+ /** Custom line items. */
5415
+ customLineItems?: CustomLineItem$4[];
5402
5416
  }
5403
5417
  interface AddToCartOptions {
5404
5418
  /** Catalog line items. */
5405
5419
  lineItems?: LineItem$5[];
5420
+ /** Custom line items. */
5421
+ customLineItems?: CustomLineItem$4[];
5406
5422
  }
5407
5423
  interface CreateCheckoutOptions$1 {
5408
5424
  /** **Required**. Sales channel type. */
@@ -6073,6 +6089,8 @@ interface UpdateCartRequest {
6073
6089
  merchantDiscounts?: MerchantDiscountInput$1[];
6074
6090
  /** Catalog line items. */
6075
6091
  lineItems?: LineItem$4[];
6092
+ /** Custom line items. */
6093
+ customLineItems?: CustomLineItem$3[];
6076
6094
  }
6077
6095
  interface MerchantDiscountInput$1 {
6078
6096
  /** Discount amount. */
@@ -6165,6 +6183,8 @@ interface UpdateCartResponse {
6165
6183
  interface AddToCurrentCartRequest {
6166
6184
  /** Catalog line items. */
6167
6185
  lineItems?: LineItem$4[];
6186
+ /** Custom line items. */
6187
+ customLineItems?: CustomLineItem$3[];
6168
6188
  }
6169
6189
  interface AddToCartResponse {
6170
6190
  /** Updated cart. */
@@ -6173,6 +6193,8 @@ interface AddToCartResponse {
6173
6193
  interface AddToCurrentCartAndEstimateTotalsRequest {
6174
6194
  /** Catalog line items. */
6175
6195
  lineItems?: LineItem$4[];
6196
+ /** Custom line items. */
6197
+ customLineItems?: CustomLineItem$3[];
6176
6198
  /** Selected shipping option. */
6177
6199
  selectedShippingOption?: SelectedShippingOption;
6178
6200
  /** Shipping address. Used for calculating tax and shipping (when applicable). */
@@ -7076,6 +7098,8 @@ interface CreateCartRequest {
7076
7098
  merchantDiscounts?: MerchantDiscountInput$1[];
7077
7099
  /** Catalog line items. */
7078
7100
  lineItems?: LineItem$4[];
7101
+ /** Custom line items. */
7102
+ customLineItems?: CustomLineItem$3[];
7079
7103
  }
7080
7104
  interface CreateCartResponse {
7081
7105
  /** Cart. */
@@ -7102,6 +7126,8 @@ interface AddToCartRequest {
7102
7126
  _id: string;
7103
7127
  /** Catalog line items. */
7104
7128
  lineItems?: LineItem$4[];
7129
+ /** Custom line items. */
7130
+ customLineItems?: CustomLineItem$3[];
7105
7131
  }
7106
7132
  interface RemoveLineItemsRequest$1 {
7107
7133
  /** Cart ID. */
@@ -7660,10 +7686,14 @@ interface UpdateCurrentCartOptions {
7660
7686
  merchantDiscounts?: MerchantDiscountInput$1[];
7661
7687
  /** Catalog line items. */
7662
7688
  lineItems?: LineItem$4[];
7689
+ /** Custom line items. */
7690
+ customLineItems?: CustomLineItem$3[];
7663
7691
  }
7664
7692
  interface AddToCurrentCartOptions {
7665
7693
  /** Catalog line items. */
7666
7694
  lineItems?: LineItem$4[];
7695
+ /** Custom line items. */
7696
+ customLineItems?: CustomLineItem$3[];
7667
7697
  }
7668
7698
  interface CreateCheckoutFromCurrentCartOptions {
7669
7699
  /** **Required**. Sales channel type. */
@@ -7923,6 +7953,12 @@ interface Checkout$1 {
7923
7953
  * Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
7924
7954
  */
7925
7955
  customSettings?: CustomSettings$1;
7956
+ /**
7957
+ * Customize the content of the checkout page.
7958
+ *
7959
+ * Includes IDs for the app and the component providing the content
7960
+ */
7961
+ customContentReference?: CustomContentReference$1;
7926
7962
  }
7927
7963
  interface LineItem$3 {
7928
7964
  /**
@@ -9196,6 +9232,8 @@ interface CreateCheckoutRequest {
9196
9232
  couponCode?: string | null;
9197
9233
  /** Line items to be added to checkout. */
9198
9234
  lineItems?: LineItem$3[];
9235
+ /** Custom line items to be added to checkout. */
9236
+ customLineItems?: CustomLineItem$2[];
9199
9237
  /**
9200
9238
  * **Required**
9201
9239
  * Sales channel type.
@@ -9362,6 +9400,8 @@ interface UpdateCheckoutRequest {
9362
9400
  * This field overrides the `checkoutUrl` in a cart or checkout. `checkoutUrl` is used to send customers back to their checkouts. By default, a `checkoutUrl` generates for a checkout and directs to a standard Wix checkout page. When `overrideCheckoutUrl` has a value, it will replace and set the value of `checkoutUrl`.
9363
9401
  */
9364
9402
  overrideCheckoutUrl?: string | null;
9403
+ /** Custom line items to be saved on checkout. */
9404
+ customLineItems?: CustomLineItem$2[];
9365
9405
  }
9366
9406
  interface UpdateCheckoutResponse {
9367
9407
  /** Updated checkout. */
@@ -9396,6 +9436,8 @@ interface AddToCheckoutRequest {
9396
9436
  _id: string;
9397
9437
  /** Catalog line items. */
9398
9438
  lineItems?: LineItem$3[];
9439
+ /** Custom line items. */
9440
+ customLineItems?: CustomLineItem$2[];
9399
9441
  }
9400
9442
  interface AddToCheckoutResponse {
9401
9443
  /** Updated checkout. */
@@ -10530,6 +10572,8 @@ interface CreateCheckoutOptions {
10530
10572
  couponCode?: string | null;
10531
10573
  /** Line items to be added to checkout. */
10532
10574
  lineItems?: LineItem$3[];
10575
+ /** Custom line items to be added to checkout. */
10576
+ customLineItems?: CustomLineItem$2[];
10533
10577
  /**
10534
10578
  * **Required**
10535
10579
  * Sales channel type.
@@ -10705,6 +10749,12 @@ interface UpdateCheckout {
10705
10749
  * Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
10706
10750
  */
10707
10751
  customSettings?: CustomSettings$1;
10752
+ /**
10753
+ * Customize the content of the checkout page.
10754
+ *
10755
+ * Includes IDs for the app and the component providing the content
10756
+ */
10757
+ customContentReference?: CustomContentReference$1;
10708
10758
  }
10709
10759
  interface UpdateCheckoutOptions {
10710
10760
  /** The code of an existing coupon to apply to checkout. For more information, see the [Coupons API](https://www.wix.com/velo/reference/wix-marketing-backend/coupons). */
@@ -10717,10 +10767,14 @@ interface UpdateCheckoutOptions {
10717
10767
  * This field overrides the `checkoutUrl` in a cart or checkout. `checkoutUrl` is used to send customers back to their checkouts. By default, a `checkoutUrl` generates for a checkout and directs to a standard Wix checkout page. When `overrideCheckoutUrl` has a value, it will replace and set the value of `checkoutUrl`.
10718
10768
  */
10719
10769
  overrideCheckoutUrl?: string | null;
10770
+ /** Custom line items to be saved on checkout. */
10771
+ customLineItems?: CustomLineItem$2[];
10720
10772
  }
10721
10773
  interface AddToCheckoutOptions {
10722
10774
  /** Catalog line items. */
10723
10775
  lineItems?: LineItem$3[];
10776
+ /** Custom line items. */
10777
+ customLineItems?: CustomLineItem$2[];
10724
10778
  }
10725
10779
 
10726
10780
  declare function createRESTModule$e<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
@@ -11284,6 +11338,12 @@ interface CheckoutTemplate {
11284
11338
  * Max: 300 items
11285
11339
  */
11286
11340
  lineItems?: V1LineItem[];
11341
+ /**
11342
+ * Custom line items.
11343
+ *
11344
+ * Max: 300 items
11345
+ */
11346
+ customLineItems?: CustomLineItem$1[];
11287
11347
  /**
11288
11348
  * Coupon code.
11289
11349
  *
@@ -11291,6 +11351,12 @@ interface CheckoutTemplate {
11291
11351
  * For additional information, see the Coupons API.
11292
11352
  */
11293
11353
  couponCode?: string | null;
11354
+ /**
11355
+ * Customize the content of the checkout page.
11356
+ *
11357
+ * Includes IDs for the app and the component providing the content
11358
+ */
11359
+ customContentReference?: CustomContentReference;
11294
11360
  }
11295
11361
  declare enum Status$1 {
11296
11362
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -11951,6 +12017,12 @@ interface Checkout {
11951
12017
  * Custom settings can only be set when [creating a checkout](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/checkout/create-checkout).
11952
12018
  */
11953
12019
  customSettings?: CustomSettings;
12020
+ /**
12021
+ * Customize the content of the checkout page.
12022
+ *
12023
+ * Includes IDs for the app and the component providing the content
12024
+ */
12025
+ customContentReference?: CustomContentReference;
11954
12026
  }
11955
12027
  interface LineItem$2 {
11956
12028
  /**
@@ -13298,6 +13370,12 @@ interface UpdateCheckoutTemplate {
13298
13370
  * Max: 300 items
13299
13371
  */
13300
13372
  lineItems?: V1LineItem[];
13373
+ /**
13374
+ * Custom line items.
13375
+ *
13376
+ * Max: 300 items
13377
+ */
13378
+ customLineItems?: CustomLineItem$1[];
13301
13379
  /**
13302
13380
  * Coupon code.
13303
13381
  *
@@ -13305,6 +13383,12 @@ interface UpdateCheckoutTemplate {
13305
13383
  * For additional information, see the Coupons API.
13306
13384
  */
13307
13385
  couponCode?: string | null;
13386
+ /**
13387
+ * Customize the content of the checkout page.
13388
+ *
13389
+ * Includes IDs for the app and the component providing the content
13390
+ */
13391
+ customContentReference?: CustomContentReference;
13308
13392
  }
13309
13393
  interface QueryCursorResult$6 {
13310
13394
  cursors: Cursors$8;