@wix/ecom 1.0.688 → 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.688",
3
+ "version": "1.0.689",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -24,9 +24,9 @@
24
24
  "@wix/ecom_back-in-stock-notifications": "1.0.43",
25
25
  "@wix/ecom_back-in-stock-settings": "1.0.29",
26
26
  "@wix/ecom_cart": "1.0.59",
27
- "@wix/ecom_checkout": "1.0.63",
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
31
  "@wix/ecom_current-cart": "1.0.59",
32
32
  "@wix/ecom_custom-triggers": "1.0.13",
@@ -71,5 +71,5 @@
71
71
  "fqdn": ""
72
72
  }
73
73
  },
74
- "falconPackageHash": "0f123dd6c0a9206cdf26339c1c25b3f08e117b6a3ebddcd95af2cdcc"
74
+ "falconPackageHash": "bf79dd4b9a5dfdb7a5f374c9b454f1054a520579f5b71bf8aacecd52"
75
75
  }
@@ -7953,6 +7953,12 @@ interface Checkout$1 {
7953
7953
  * Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
7954
7954
  */
7955
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;
7956
7962
  }
7957
7963
  interface LineItem$3 {
7958
7964
  /**
@@ -9226,6 +9232,8 @@ interface CreateCheckoutRequest {
9226
9232
  couponCode?: string | null;
9227
9233
  /** Line items to be added to checkout. */
9228
9234
  lineItems?: LineItem$3[];
9235
+ /** Custom line items to be added to checkout. */
9236
+ customLineItems?: CustomLineItem$2[];
9229
9237
  /**
9230
9238
  * **Required**
9231
9239
  * Sales channel type.
@@ -9392,6 +9400,8 @@ interface UpdateCheckoutRequest {
9392
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`.
9393
9401
  */
9394
9402
  overrideCheckoutUrl?: string | null;
9403
+ /** Custom line items to be saved on checkout. */
9404
+ customLineItems?: CustomLineItem$2[];
9395
9405
  }
9396
9406
  interface UpdateCheckoutResponse {
9397
9407
  /** Updated checkout. */
@@ -9426,6 +9436,8 @@ interface AddToCheckoutRequest {
9426
9436
  _id: string;
9427
9437
  /** Catalog line items. */
9428
9438
  lineItems?: LineItem$3[];
9439
+ /** Custom line items. */
9440
+ customLineItems?: CustomLineItem$2[];
9429
9441
  }
9430
9442
  interface AddToCheckoutResponse {
9431
9443
  /** Updated checkout. */
@@ -10560,6 +10572,8 @@ interface CreateCheckoutOptions {
10560
10572
  couponCode?: string | null;
10561
10573
  /** Line items to be added to checkout. */
10562
10574
  lineItems?: LineItem$3[];
10575
+ /** Custom line items to be added to checkout. */
10576
+ customLineItems?: CustomLineItem$2[];
10563
10577
  /**
10564
10578
  * **Required**
10565
10579
  * Sales channel type.
@@ -10735,6 +10749,12 @@ interface UpdateCheckout {
10735
10749
  * Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
10736
10750
  */
10737
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;
10738
10758
  }
10739
10759
  interface UpdateCheckoutOptions {
10740
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). */
@@ -10747,10 +10767,14 @@ interface UpdateCheckoutOptions {
10747
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`.
10748
10768
  */
10749
10769
  overrideCheckoutUrl?: string | null;
10770
+ /** Custom line items to be saved on checkout. */
10771
+ customLineItems?: CustomLineItem$2[];
10750
10772
  }
10751
10773
  interface AddToCheckoutOptions {
10752
10774
  /** Catalog line items. */
10753
10775
  lineItems?: LineItem$3[];
10776
+ /** Custom line items. */
10777
+ customLineItems?: CustomLineItem$2[];
10754
10778
  }
10755
10779
 
10756
10780
  declare function createRESTModule$e<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
@@ -11314,6 +11338,12 @@ interface CheckoutTemplate {
11314
11338
  * Max: 300 items
11315
11339
  */
11316
11340
  lineItems?: V1LineItem[];
11341
+ /**
11342
+ * Custom line items.
11343
+ *
11344
+ * Max: 300 items
11345
+ */
11346
+ customLineItems?: CustomLineItem$1[];
11317
11347
  /**
11318
11348
  * Coupon code.
11319
11349
  *
@@ -11321,6 +11351,12 @@ interface CheckoutTemplate {
11321
11351
  * For additional information, see the Coupons API.
11322
11352
  */
11323
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;
11324
11360
  }
11325
11361
  declare enum Status$1 {
11326
11362
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -11981,6 +12017,12 @@ interface Checkout {
11981
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).
11982
12018
  */
11983
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;
11984
12026
  }
11985
12027
  interface LineItem$2 {
11986
12028
  /**
@@ -13328,6 +13370,12 @@ interface UpdateCheckoutTemplate {
13328
13370
  * Max: 300 items
13329
13371
  */
13330
13372
  lineItems?: V1LineItem[];
13373
+ /**
13374
+ * Custom line items.
13375
+ *
13376
+ * Max: 300 items
13377
+ */
13378
+ customLineItems?: CustomLineItem$1[];
13331
13379
  /**
13332
13380
  * Coupon code.
13333
13381
  *
@@ -13335,6 +13383,12 @@ interface UpdateCheckoutTemplate {
13335
13383
  * For additional information, see the Coupons API.
13336
13384
  */
13337
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;
13338
13392
  }
13339
13393
  interface QueryCursorResult$6 {
13340
13394
  cursors: Cursors$8;
@@ -7953,6 +7953,12 @@ interface Checkout$1 {
7953
7953
  * Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
7954
7954
  */
7955
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;
7956
7962
  }
7957
7963
  interface LineItem$3 {
7958
7964
  /**
@@ -9226,6 +9232,8 @@ interface CreateCheckoutRequest {
9226
9232
  couponCode?: string | null;
9227
9233
  /** Line items to be added to checkout. */
9228
9234
  lineItems?: LineItem$3[];
9235
+ /** Custom line items to be added to checkout. */
9236
+ customLineItems?: CustomLineItem$2[];
9229
9237
  /**
9230
9238
  * **Required**
9231
9239
  * Sales channel type.
@@ -9392,6 +9400,8 @@ interface UpdateCheckoutRequest {
9392
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`.
9393
9401
  */
9394
9402
  overrideCheckoutUrl?: string | null;
9403
+ /** Custom line items to be saved on checkout. */
9404
+ customLineItems?: CustomLineItem$2[];
9395
9405
  }
9396
9406
  interface UpdateCheckoutResponse {
9397
9407
  /** Updated checkout. */
@@ -9426,6 +9436,8 @@ interface AddToCheckoutRequest {
9426
9436
  _id: string;
9427
9437
  /** Catalog line items. */
9428
9438
  lineItems?: LineItem$3[];
9439
+ /** Custom line items. */
9440
+ customLineItems?: CustomLineItem$2[];
9429
9441
  }
9430
9442
  interface AddToCheckoutResponse {
9431
9443
  /** Updated checkout. */
@@ -10560,6 +10572,8 @@ interface CreateCheckoutOptions {
10560
10572
  couponCode?: string | null;
10561
10573
  /** Line items to be added to checkout. */
10562
10574
  lineItems?: LineItem$3[];
10575
+ /** Custom line items to be added to checkout. */
10576
+ customLineItems?: CustomLineItem$2[];
10563
10577
  /**
10564
10578
  * **Required**
10565
10579
  * Sales channel type.
@@ -10735,6 +10749,12 @@ interface UpdateCheckout {
10735
10749
  * Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
10736
10750
  */
10737
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;
10738
10758
  }
10739
10759
  interface UpdateCheckoutOptions {
10740
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). */
@@ -10747,10 +10767,14 @@ interface UpdateCheckoutOptions {
10747
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`.
10748
10768
  */
10749
10769
  overrideCheckoutUrl?: string | null;
10770
+ /** Custom line items to be saved on checkout. */
10771
+ customLineItems?: CustomLineItem$2[];
10750
10772
  }
10751
10773
  interface AddToCheckoutOptions {
10752
10774
  /** Catalog line items. */
10753
10775
  lineItems?: LineItem$3[];
10776
+ /** Custom line items. */
10777
+ customLineItems?: CustomLineItem$2[];
10754
10778
  }
10755
10779
 
10756
10780
  declare function createRESTModule$e<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
@@ -11314,6 +11338,12 @@ interface CheckoutTemplate {
11314
11338
  * Max: 300 items
11315
11339
  */
11316
11340
  lineItems?: V1LineItem[];
11341
+ /**
11342
+ * Custom line items.
11343
+ *
11344
+ * Max: 300 items
11345
+ */
11346
+ customLineItems?: CustomLineItem$1[];
11317
11347
  /**
11318
11348
  * Coupon code.
11319
11349
  *
@@ -11321,6 +11351,12 @@ interface CheckoutTemplate {
11321
11351
  * For additional information, see the Coupons API.
11322
11352
  */
11323
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;
11324
11360
  }
11325
11361
  declare enum Status$1 {
11326
11362
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -11981,6 +12017,12 @@ interface Checkout {
11981
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).
11982
12018
  */
11983
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;
11984
12026
  }
11985
12027
  interface LineItem$2 {
11986
12028
  /**
@@ -13328,6 +13370,12 @@ interface UpdateCheckoutTemplate {
13328
13370
  * Max: 300 items
13329
13371
  */
13330
13372
  lineItems?: V1LineItem[];
13373
+ /**
13374
+ * Custom line items.
13375
+ *
13376
+ * Max: 300 items
13377
+ */
13378
+ customLineItems?: CustomLineItem$1[];
13331
13379
  /**
13332
13380
  * Coupon code.
13333
13381
  *
@@ -13335,6 +13383,12 @@ interface UpdateCheckoutTemplate {
13335
13383
  * For additional information, see the Coupons API.
13336
13384
  */
13337
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;
13338
13392
  }
13339
13393
  interface QueryCursorResult$6 {
13340
13394
  cursors: Cursors$8;