@wix/ecom 1.0.797 → 1.0.798

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.797",
3
+ "version": "1.0.798",
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.54",
25
25
  "@wix/ecom_back-in-stock-settings": "1.0.39",
26
26
  "@wix/ecom_cart": "1.0.86",
27
- "@wix/ecom_checkout": "1.0.95",
27
+ "@wix/ecom_checkout": "1.0.96",
28
28
  "@wix/ecom_checkout-content": "1.0.10",
29
29
  "@wix/ecom_checkout-settings": "1.0.55",
30
- "@wix/ecom_checkout-templates": "1.0.94",
30
+ "@wix/ecom_checkout-templates": "1.0.95",
31
31
  "@wix/ecom_currencies": "1.0.40",
32
32
  "@wix/ecom_current-cart": "1.0.86",
33
33
  "@wix/ecom_custom-triggers": "1.0.26",
@@ -47,7 +47,7 @@
47
47
  "@wix/ecom_order-transactions": "1.0.71",
48
48
  "@wix/ecom_orders": "1.0.133",
49
49
  "@wix/ecom_orders-settings": "1.0.49",
50
- "@wix/ecom_payment-settings": "1.0.56",
50
+ "@wix/ecom_payment-settings": "1.0.57",
51
51
  "@wix/ecom_pickup-locations": "1.0.13",
52
52
  "@wix/ecom_recommendations": "1.0.46",
53
53
  "@wix/ecom_recommendations-provider": "1.0.4",
@@ -81,5 +81,5 @@
81
81
  "fqdn": ""
82
82
  }
83
83
  },
84
- "falconPackageHash": "4a0f38dcf5380e1a27f727c3db756da63749a4b43233d5aa11924279"
84
+ "falconPackageHash": "e24c71219a1e7955eced48e958fb2d2307084a7a22c0d6f33a9c0523"
85
85
  }
@@ -11026,6 +11026,11 @@ interface LineItem$4 {
11026
11026
  * @readonly
11027
11027
  */
11028
11028
  itemType?: ItemType$4;
11029
+ /**
11030
+ * Subscription option information.
11031
+ * @readonly
11032
+ */
11033
+ subscriptionOptionInfo?: SubscriptionOptionInfo$2;
11029
11034
  /**
11030
11035
  * Type of selected payment option for current item. Defaults to `"FULL_PAYMENT_ONLINE"`.
11031
11036
  * + `"FULL_PAYMENT_ONLINE"`: The entire payment for this item happens as part of the checkout.
@@ -15540,6 +15545,11 @@ interface LineItem$3 {
15540
15545
  * @readonly
15541
15546
  */
15542
15547
  itemType?: ItemType$3;
15548
+ /**
15549
+ * Subscription option information.
15550
+ * @readonly
15551
+ */
15552
+ subscriptionOptionInfo?: SubscriptionOptionInfo$1;
15543
15553
  /**
15544
15554
  * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
15545
15555
  * + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
@@ -11026,6 +11026,11 @@ interface LineItem$4 {
11026
11026
  * @readonly
11027
11027
  */
11028
11028
  itemType?: ItemType$4;
11029
+ /**
11030
+ * Subscription option information.
11031
+ * @readonly
11032
+ */
11033
+ subscriptionOptionInfo?: SubscriptionOptionInfo$2;
11029
11034
  /**
11030
11035
  * Type of selected payment option for current item. Defaults to `"FULL_PAYMENT_ONLINE"`.
11031
11036
  * + `"FULL_PAYMENT_ONLINE"`: The entire payment for this item happens as part of the checkout.
@@ -15540,6 +15545,11 @@ interface LineItem$3 {
15540
15545
  * @readonly
15541
15546
  */
15542
15547
  itemType?: ItemType$3;
15548
+ /**
15549
+ * Subscription option information.
15550
+ * @readonly
15551
+ */
15552
+ subscriptionOptionInfo?: SubscriptionOptionInfo$1;
15543
15553
  /**
15544
15554
  * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
15545
15555
  * + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
@@ -1917,9 +1917,9 @@ interface SubscriptionInfo$5 {
1917
1917
  /** Subscription option description. For example, `"1kg of selected coffee, once a month"`. */
1918
1918
  subscriptionOptionDescription?: string | null;
1919
1919
  /** Subscription detailed information. */
1920
- subscriptionSettings?: SubscriptionSettings$7;
1920
+ subscriptionSettings?: SubscriptionSettings$9;
1921
1921
  }
1922
- interface SubscriptionSettings$7 {
1922
+ interface SubscriptionSettings$9 {
1923
1923
  /** Frequency of recurring payment. */
1924
1924
  frequency?: V2SubscriptionFrequency$1;
1925
1925
  /** Interval of recurring payment. */
@@ -3061,9 +3061,9 @@ interface SubscriptionInfo$4 {
3061
3061
  /** Subscription option description. For example, `"1kg of selected coffee, once a month"`. */
3062
3062
  subscriptionOptionDescription?: string | null;
3063
3063
  /** Subscription detailed information. */
3064
- subscriptionSettings?: SubscriptionSettings$6;
3064
+ subscriptionSettings?: SubscriptionSettings$8;
3065
3065
  }
3066
- interface SubscriptionSettings$6 {
3066
+ interface SubscriptionSettings$8 {
3067
3067
  /** Frequency of recurring payment. */
3068
3068
  frequency?: V2SubscriptionFrequency;
3069
3069
  /** Interval of recurring payment. */
@@ -13462,6 +13462,11 @@ interface LineItem$3 {
13462
13462
  * @readonly
13463
13463
  */
13464
13464
  itemType?: ItemType$9;
13465
+ /**
13466
+ * Subscription option information.
13467
+ * @readonly
13468
+ */
13469
+ subscriptionOptionInfo?: SubscriptionOptionInfo$1;
13465
13470
  /**
13466
13471
  * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
13467
13472
  * + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
@@ -13740,6 +13745,29 @@ declare enum ItemTypeItemType$9 {
13740
13745
  GIFT_CARD = "GIFT_CARD",
13741
13746
  SERVICE = "SERVICE"
13742
13747
  }
13748
+ interface SubscriptionOptionInfo$1 {
13749
+ /** Subscription option settings. */
13750
+ subscriptionSettings?: SubscriptionSettings$7;
13751
+ /** Subscription option title. */
13752
+ title?: Title$1;
13753
+ /** Subscription option description. */
13754
+ description?: Description$1;
13755
+ }
13756
+ interface SubscriptionSettings$7 {
13757
+ /** Frequency of recurring payment. */
13758
+ frequency?: SubscriptionFrequency$9;
13759
+ /**
13760
+ * Interval of recurring payment.
13761
+ *
13762
+ * Default: `1`.
13763
+ * If SubscriptionFrequency is Day the minimum interval is 7
13764
+ */
13765
+ interval?: number | null;
13766
+ /** Whether subscription is renewed automatically at the end of each period. */
13767
+ autoRenewal?: boolean;
13768
+ /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
13769
+ billingCycles?: number | null;
13770
+ }
13743
13771
  /** Frequency unit of recurring payment */
13744
13772
  declare enum SubscriptionFrequency$9 {
13745
13773
  UNDEFINED = "UNDEFINED",
@@ -13748,6 +13776,22 @@ declare enum SubscriptionFrequency$9 {
13748
13776
  MONTH = "MONTH",
13749
13777
  YEAR = "YEAR"
13750
13778
  }
13779
+ interface Title$1 {
13780
+ /** Subscription option name 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). */
13781
+ original?: string;
13782
+ /**
13783
+ * Subscription option name translated into the buyer's language.
13784
+ *
13785
+ * Default: Same as `original`.
13786
+ */
13787
+ translated?: string | null;
13788
+ }
13789
+ interface Description$1 {
13790
+ /** Subscription option description. */
13791
+ original?: string;
13792
+ /** Translated subscription option description. */
13793
+ translated?: string | null;
13794
+ }
13751
13795
  declare enum FileType$3 {
13752
13796
  UNSPECIFIED = "UNSPECIFIED",
13753
13797
  SECURE_PICTURE = "SECURE_PICTURE",
@@ -15649,6 +15693,11 @@ interface LineItem$2 {
15649
15693
  * @readonly
15650
15694
  */
15651
15695
  itemType?: ItemType$8;
15696
+ /**
15697
+ * Subscription option information.
15698
+ * @readonly
15699
+ */
15700
+ subscriptionOptionInfo?: SubscriptionOptionInfo;
15652
15701
  /**
15653
15702
  * Type of selected payment option for current item. Defaults to `"FULL_PAYMENT_ONLINE"`.
15654
15703
  * + `"FULL_PAYMENT_ONLINE"`: The entire payment for this item happens as part of the checkout.
@@ -15899,6 +15948,29 @@ declare enum ItemTypeItemType$8 {
15899
15948
  GIFT_CARD = "GIFT_CARD",
15900
15949
  SERVICE = "SERVICE"
15901
15950
  }
15951
+ interface SubscriptionOptionInfo {
15952
+ /** Subscription option settings. */
15953
+ subscriptionSettings?: SubscriptionSettings$6;
15954
+ /** Subscription option title. */
15955
+ title?: Title;
15956
+ /** Subscription option description. */
15957
+ description?: Description;
15958
+ }
15959
+ interface SubscriptionSettings$6 {
15960
+ /** Frequency of recurring payment. */
15961
+ frequency?: SubscriptionFrequency$8;
15962
+ /**
15963
+ * Interval of recurring payment.
15964
+ *
15965
+ * Default: `1`.
15966
+ * If SubscriptionFrequency is Day the minimum interval is 7
15967
+ */
15968
+ interval?: number | null;
15969
+ /** Whether subscription is renewed automatically at the end of each period. */
15970
+ autoRenewal?: boolean;
15971
+ /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
15972
+ billingCycles?: number | null;
15973
+ }
15902
15974
  /** Frequency unit of recurring payment */
15903
15975
  declare enum SubscriptionFrequency$8 {
15904
15976
  UNDEFINED = "UNDEFINED",
@@ -15907,6 +15979,22 @@ declare enum SubscriptionFrequency$8 {
15907
15979
  MONTH = "MONTH",
15908
15980
  YEAR = "YEAR"
15909
15981
  }
15982
+ interface Title {
15983
+ /** Subscription option name 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). */
15984
+ original?: string;
15985
+ /**
15986
+ * Subscription option name translated into the buyer's language.
15987
+ *
15988
+ * Default: Same as `original`.
15989
+ */
15990
+ translated?: string | null;
15991
+ }
15992
+ interface Description {
15993
+ /** Subscription option description. */
15994
+ original?: string;
15995
+ /** Translated subscription option description. */
15996
+ translated?: string | null;
15997
+ }
15910
15998
  declare enum FileType$2 {
15911
15999
  UNSPECIFIED = "UNSPECIFIED",
15912
16000
  SECURE_PICTURE = "SECURE_PICTURE",
@@ -4394,6 +4394,11 @@ interface LineItem$1 {
4394
4394
  * @readonly
4395
4395
  */
4396
4396
  itemType?: ItemType$1;
4397
+ /**
4398
+ * Subscription option information.
4399
+ * @readonly
4400
+ */
4401
+ subscriptionOptionInfo?: SubscriptionOptionInfo$1;
4397
4402
  /**
4398
4403
  * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
4399
4404
  * + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
@@ -4394,6 +4394,11 @@ interface LineItem$1 {
4394
4394
  * @readonly
4395
4395
  */
4396
4396
  itemType?: ItemType$1;
4397
+ /**
4398
+ * Subscription option information.
4399
+ * @readonly
4400
+ */
4401
+ subscriptionOptionInfo?: SubscriptionOptionInfo$1;
4397
4402
  /**
4398
4403
  * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
4399
4404
  * + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.