@wix/ecom 1.0.707 → 1.0.708

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.707",
3
+ "version": "1.0.708",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -24,10 +24,10 @@
24
24
  "@wix/ecom_back-in-stock-notifications": "1.0.44",
25
25
  "@wix/ecom_back-in-stock-settings": "1.0.30",
26
26
  "@wix/ecom_cart": "1.0.63",
27
- "@wix/ecom_checkout": "1.0.71",
27
+ "@wix/ecom_checkout": "1.0.72",
28
28
  "@wix/ecom_checkout-content": "1.0.1",
29
29
  "@wix/ecom_checkout-settings": "1.0.44",
30
- "@wix/ecom_checkout-templates": "1.0.71",
30
+ "@wix/ecom_checkout-templates": "1.0.72",
31
31
  "@wix/ecom_currencies": "1.0.31",
32
32
  "@wix/ecom_current-cart": "1.0.63",
33
33
  "@wix/ecom_custom-triggers": "1.0.20",
@@ -49,7 +49,7 @@
49
49
  "@wix/ecom_shipping-rates": "1.0.38",
50
50
  "@wix/ecom_shippo-configurations": "1.0.9",
51
51
  "@wix/ecom_totals-calculator": "1.0.2",
52
- "@wix/ecom_validations": "1.0.25"
52
+ "@wix/ecom_validations": "1.0.26"
53
53
  },
54
54
  "devDependencies": {
55
55
  "glob": "^10.4.1",
@@ -73,5 +73,5 @@
73
73
  "fqdn": ""
74
74
  }
75
75
  },
76
- "falconPackageHash": "33b38fadeb6bf71c4b1d7e96d64e02616fbe0fd25e6554961b9c3574"
76
+ "falconPackageHash": "8fe615d6b16874a43b4545a989e0e3265db1329c36b25abe9323999a"
77
77
  }
@@ -8057,6 +8057,11 @@ interface Checkout$1 {
8057
8057
  * Includes IDs for the app and the component providing the content
8058
8058
  */
8059
8059
  customContentReference?: CustomContentReference$1;
8060
+ /**
8061
+ * Used for integration and tracking across different platforms.
8062
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
8063
+ */
8064
+ externalReference?: ExternalReference$1;
8060
8065
  }
8061
8066
  interface LineItem$4 {
8062
8067
  /**
@@ -10878,6 +10883,11 @@ interface UpdateCheckout {
10878
10883
  * Includes IDs for the app and the component providing the content
10879
10884
  */
10880
10885
  customContentReference?: CustomContentReference$1;
10886
+ /**
10887
+ * Used for integration and tracking across different platforms.
10888
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
10889
+ */
10890
+ externalReference?: ExternalReference$1;
10881
10891
  }
10882
10892
  interface UpdateCheckoutOptions {
10883
10893
  /** 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). */
@@ -11479,6 +11489,11 @@ interface CheckoutTemplate {
11479
11489
  * Includes IDs for the app and the component providing the content
11480
11490
  */
11481
11491
  customContentReference?: CustomContentReference;
11492
+ /**
11493
+ * Used for integration and tracking across different platforms.
11494
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout template with other systems.
11495
+ */
11496
+ externalReference?: ExternalReference;
11482
11497
  }
11483
11498
  declare enum Status$1 {
11484
11499
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -12151,6 +12166,11 @@ interface Checkout {
12151
12166
  * Includes IDs for the app and the component providing the content
12152
12167
  */
12153
12168
  customContentReference?: CustomContentReference;
12169
+ /**
12170
+ * Used for integration and tracking across different platforms.
12171
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
12172
+ */
12173
+ externalReference?: ExternalReference;
12154
12174
  }
12155
12175
  interface LineItem$3 {
12156
12176
  /**
@@ -13535,6 +13555,11 @@ interface UpdateCheckoutTemplate {
13535
13555
  * Includes IDs for the app and the component providing the content
13536
13556
  */
13537
13557
  customContentReference?: CustomContentReference;
13558
+ /**
13559
+ * Used for integration and tracking across different platforms.
13560
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout template with other systems.
13561
+ */
13562
+ externalReference?: ExternalReference;
13538
13563
  }
13539
13564
  interface QueryCursorResult$6 {
13540
13565
  cursors: Cursors$8;
@@ -8057,6 +8057,11 @@ interface Checkout$1 {
8057
8057
  * Includes IDs for the app and the component providing the content
8058
8058
  */
8059
8059
  customContentReference?: CustomContentReference$1;
8060
+ /**
8061
+ * Used for integration and tracking across different platforms.
8062
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
8063
+ */
8064
+ externalReference?: ExternalReference$1;
8060
8065
  }
8061
8066
  interface LineItem$4 {
8062
8067
  /**
@@ -10878,6 +10883,11 @@ interface UpdateCheckout {
10878
10883
  * Includes IDs for the app and the component providing the content
10879
10884
  */
10880
10885
  customContentReference?: CustomContentReference$1;
10886
+ /**
10887
+ * Used for integration and tracking across different platforms.
10888
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
10889
+ */
10890
+ externalReference?: ExternalReference$1;
10881
10891
  }
10882
10892
  interface UpdateCheckoutOptions {
10883
10893
  /** 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). */
@@ -11479,6 +11489,11 @@ interface CheckoutTemplate {
11479
11489
  * Includes IDs for the app and the component providing the content
11480
11490
  */
11481
11491
  customContentReference?: CustomContentReference;
11492
+ /**
11493
+ * Used for integration and tracking across different platforms.
11494
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout template with other systems.
11495
+ */
11496
+ externalReference?: ExternalReference;
11482
11497
  }
11483
11498
  declare enum Status$1 {
11484
11499
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -12151,6 +12166,11 @@ interface Checkout {
12151
12166
  * Includes IDs for the app and the component providing the content
12152
12167
  */
12153
12168
  customContentReference?: CustomContentReference;
12169
+ /**
12170
+ * Used for integration and tracking across different platforms.
12171
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
12172
+ */
12173
+ externalReference?: ExternalReference;
12154
12174
  }
12155
12175
  interface LineItem$3 {
12156
12176
  /**
@@ -13535,6 +13555,11 @@ interface UpdateCheckoutTemplate {
13535
13555
  * Includes IDs for the app and the component providing the content
13536
13556
  */
13537
13557
  customContentReference?: CustomContentReference;
13558
+ /**
13559
+ * Used for integration and tracking across different platforms.
13560
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout template with other systems.
13561
+ */
13562
+ externalReference?: ExternalReference;
13538
13563
  }
13539
13564
  interface QueryCursorResult$6 {
13540
13565
  cursors: Cursors$8;
@@ -10557,6 +10557,11 @@ interface Checkout$1 {
10557
10557
  * Includes IDs for the app and the component providing the content
10558
10558
  */
10559
10559
  customContentReference?: CustomContentReference$3;
10560
+ /**
10561
+ * Used for integration and tracking across different platforms.
10562
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
10563
+ */
10564
+ externalReference?: ExternalReference$3;
10560
10565
  }
10561
10566
  interface LineItem$3 {
10562
10567
  /**
@@ -11742,6 +11747,12 @@ interface CustomContentReference$3 {
11742
11747
  */
11743
11748
  componentId?: string;
11744
11749
  }
11750
+ interface ExternalReference$3 {
11751
+ /** ID of the app that associated with the purchase flow. */
11752
+ appId?: string;
11753
+ /** Reference to an external system ID, used to link the purchase flow to a specific ID in another system */
11754
+ resourceId?: string | null;
11755
+ }
11745
11756
  interface CreateCheckoutRequest$1 {
11746
11757
  /** Checkout information. */
11747
11758
  checkoutInfo?: Checkout$1;
@@ -12648,6 +12659,11 @@ interface Checkout {
12648
12659
  * Includes IDs for the app and the component providing the content
12649
12660
  */
12650
12661
  customContentReference?: CustomContentReference$2;
12662
+ /**
12663
+ * Used for integration and tracking across different platforms.
12664
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
12665
+ */
12666
+ externalReference?: ExternalReference$2;
12651
12667
  }
12652
12668
  interface LineItem$2 {
12653
12669
  /**
@@ -13783,6 +13799,12 @@ interface CustomContentReference$2 {
13783
13799
  */
13784
13800
  componentId?: string;
13785
13801
  }
13802
+ interface ExternalReference$2 {
13803
+ /** ID of the app that associated with the purchase flow. */
13804
+ appId?: string;
13805
+ /** Reference to an external system ID, used to link the purchase flow to a specific ID in another system */
13806
+ resourceId?: string | null;
13807
+ }
13786
13808
  interface CreateCheckoutRequest {
13787
13809
  /** Checkout information. */
13788
13810
  checkoutInfo?: Checkout;
@@ -14969,6 +14991,11 @@ interface CheckoutTemplate$1 {
14969
14991
  * Includes IDs for the app and the component providing the content
14970
14992
  */
14971
14993
  customContentReference?: CustomContentReference$1;
14994
+ /**
14995
+ * Used for integration and tracking across different platforms.
14996
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout template with other systems.
14997
+ */
14998
+ externalReference?: ExternalReference$1;
14972
14999
  }
14973
15000
  declare enum Status$3 {
14974
15001
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -15302,6 +15329,12 @@ interface CustomContentReference$1 {
15302
15329
  */
15303
15330
  componentId?: string;
15304
15331
  }
15332
+ interface ExternalReference$1 {
15333
+ /** ID of the app that associated with the purchase flow. */
15334
+ appId?: string;
15335
+ /** Reference to an external system ID, used to link the purchase flow to a specific ID in another system */
15336
+ resourceId?: string | null;
15337
+ }
15305
15338
  interface CreateCheckoutTemplateRequest$1 {
15306
15339
  /** Checkout template to create. */
15307
15340
  checkoutTemplate: CheckoutTemplate$1;
@@ -15618,6 +15651,11 @@ interface CheckoutTemplate {
15618
15651
  * Includes IDs for the app and the component providing the content
15619
15652
  */
15620
15653
  customContentReference?: CustomContentReference;
15654
+ /**
15655
+ * Used for integration and tracking across different platforms.
15656
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout template with other systems.
15657
+ */
15658
+ externalReference?: ExternalReference;
15621
15659
  }
15622
15660
  declare enum Status$2 {
15623
15661
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -15933,6 +15971,12 @@ interface CustomContentReference {
15933
15971
  */
15934
15972
  componentId?: string;
15935
15973
  }
15974
+ interface ExternalReference {
15975
+ /** ID of the app that associated with the purchase flow. */
15976
+ appId?: string;
15977
+ /** Reference to an external system ID, used to link the purchase flow to a specific ID in another system */
15978
+ resourceId?: string | null;
15979
+ }
15936
15980
  interface CreateCheckoutTemplateRequest {
15937
15981
  /** Checkout template to create. */
15938
15982
  checkoutTemplate: CheckoutTemplate;
@@ -2637,6 +2637,8 @@ interface SourceInfo {
2637
2637
  source?: Source;
2638
2638
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
2639
2639
  purchaseFlowId?: string | null;
2640
+ /** The stage at which the service plugin is called. */
2641
+ stage?: Stage;
2640
2642
  }
2641
2643
  declare enum Source {
2642
2644
  /** Context cannot be recognized */
@@ -2700,6 +2702,11 @@ interface ValidationInfo {
2700
2702
  customFields?: CustomFields;
2701
2703
  /** Applied discounts. */
2702
2704
  appliedDiscounts?: AppliedDiscount[];
2705
+ /**
2706
+ * Used for integration and tracking across different platforms.
2707
+ * Contains external system IDs (e.g., app ID, external ID) to link the purchase flow with other systems.
2708
+ */
2709
+ externalReference?: ExternalReference;
2703
2710
  }
2704
2711
  interface BuyerDetails {
2705
2712
  /** Buyer's email address. */
@@ -2662,6 +2662,8 @@ interface SourceInfo {
2662
2662
  source?: Source;
2663
2663
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
2664
2664
  purchaseFlowId?: string | null;
2665
+ /** The stage at which the service plugin is called. */
2666
+ stage?: Stage;
2665
2667
  }
2666
2668
  declare enum Source {
2667
2669
  /** Context cannot be recognized */
@@ -2725,6 +2727,11 @@ interface ValidationInfo {
2725
2727
  customFields?: CustomFields;
2726
2728
  /** Applied discounts. */
2727
2729
  appliedDiscounts?: AppliedDiscount[];
2730
+ /**
2731
+ * Used for integration and tracking across different platforms.
2732
+ * Contains external system IDs (e.g., app ID, external ID) to link the purchase flow with other systems.
2733
+ */
2734
+ externalReference?: ExternalReference;
2728
2735
  }
2729
2736
  interface BuyerDetails {
2730
2737
  /** Buyer's email address. */