@wix/auto_sdk_ecom_current-cart 1.0.157 → 1.0.159

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.
@@ -175,7 +175,9 @@ var GetCurrentCartResponse = z.object({
175
175
  frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
176
176
  "Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
177
177
  ).optional(),
178
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
178
+ interval: z.number().int().describe(
179
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
180
+ ).min(1).max(999).optional()
179
181
  }).describe(
180
182
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
181
183
  ).optional()
@@ -780,7 +782,9 @@ var UpdateCurrentCartRequest = z.object({
780
782
  "MONTH",
781
783
  "YEAR"
782
784
  ]).optional(),
783
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
785
+ interval: z.number().int().describe(
786
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
787
+ ).min(1).max(999).optional()
784
788
  }).describe(
785
789
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
786
790
  ).optional()
@@ -1383,7 +1387,9 @@ var UpdateCurrentCartRequest = z.object({
1383
1387
  ).optional(),
1384
1388
  freeTrialPeriod: z.object({
1385
1389
  frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).optional(),
1386
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
1390
+ interval: z.number().int().describe(
1391
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
1392
+ ).min(1).max(999).optional()
1387
1393
  }).describe(
1388
1394
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
1389
1395
  ).optional()
@@ -2047,7 +2053,9 @@ var UpdateCurrentCartResponse = z.object({
2047
2053
  frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
2048
2054
  "Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
2049
2055
  ).optional(),
2050
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
2056
+ interval: z.number().int().describe(
2057
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
2058
+ ).min(1).max(999).optional()
2051
2059
  }).describe(
2052
2060
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
2053
2061
  ).optional()
@@ -2631,7 +2639,9 @@ var AddToCurrentCartRequest = z.object({
2631
2639
  ).optional(),
2632
2640
  freeTrialPeriod: z.object({
2633
2641
  frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).optional(),
2634
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
2642
+ interval: z.number().int().describe(
2643
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
2644
+ ).min(1).max(999).optional()
2635
2645
  }).describe(
2636
2646
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
2637
2647
  ).optional()
@@ -3302,7 +3312,9 @@ var AddToCurrentCartResponse = z.object({
3302
3312
  frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
3303
3313
  "Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
3304
3314
  ).optional(),
3305
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
3315
+ interval: z.number().int().describe(
3316
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
3317
+ ).min(1).max(999).optional()
3306
3318
  }).describe(
3307
3319
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
3308
3320
  ).optional()
@@ -3902,7 +3914,9 @@ var RemoveLineItemsFromCurrentCartResponse = z.object({
3902
3914
  frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
3903
3915
  "Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
3904
3916
  ).optional(),
3905
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
3917
+ interval: z.number().int().describe(
3918
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
3919
+ ).min(1).max(999).optional()
3906
3920
  }).describe(
3907
3921
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
3908
3922
  ).optional()
@@ -4597,7 +4611,9 @@ var RemoveCouponFromCurrentCartResponse = z.object({
4597
4611
  frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
4598
4612
  "Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
4599
4613
  ).optional(),
4600
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
4614
+ interval: z.number().int().describe(
4615
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
4616
+ ).min(1).max(999).optional()
4601
4617
  }).describe(
4602
4618
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
4603
4619
  ).optional()
@@ -5205,7 +5221,9 @@ var UpdateCurrentCartLineItemQuantityResponse = z.object({
5205
5221
  frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
5206
5222
  "Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
5207
5223
  ).optional(),
5208
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
5224
+ interval: z.number().int().describe(
5225
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
5226
+ ).min(1).max(999).optional()
5209
5227
  }).describe(
5210
5228
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
5211
5229
  ).optional()
@@ -5896,7 +5914,9 @@ var EstimateCurrentCartTotalsResponse = z.object({
5896
5914
  frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
5897
5915
  "Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
5898
5916
  ).optional(),
5899
- interval: z.number().int().describe("interval of period").min(1).max(999).optional()
5917
+ interval: z.number().int().describe(
5918
+ "Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
5919
+ ).min(1).max(999).optional()
5900
5920
  }).describe(
5901
5921
  "Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
5902
5922
  ).optional()
@@ -7363,7 +7383,7 @@ var EstimateCurrentCartTotalsResponse = z.object({
7363
7383
  })
7364
7384
  })
7365
7385
  ])
7366
- ).describe("Gift card calculation error.").optional(),
7386
+ ).describe("DEPRECATED: Use gift_card_calculation_errors instead.").optional(),
7367
7387
  orderValidationErrors: z.array(
7368
7388
  z.object({
7369
7389
  code: z.string().describe("Error code.").optional(),