@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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +22 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +22 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +31 -11
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +22 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +22 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +31 -11
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +32 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +22 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +31 -11
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +32 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +22 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +31 -11
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/schemas.js
CHANGED
|
@@ -228,7 +228,9 @@ var GetCurrentCartResponse = z.object({
|
|
|
228
228
|
frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
|
|
229
229
|
"Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
|
|
230
230
|
).optional(),
|
|
231
|
-
interval: z.number().int().describe(
|
|
231
|
+
interval: z.number().int().describe(
|
|
232
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
233
|
+
).min(1).max(999).optional()
|
|
232
234
|
}).describe(
|
|
233
235
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
234
236
|
).optional()
|
|
@@ -833,7 +835,9 @@ var UpdateCurrentCartRequest = z.object({
|
|
|
833
835
|
"MONTH",
|
|
834
836
|
"YEAR"
|
|
835
837
|
]).optional(),
|
|
836
|
-
interval: z.number().int().describe(
|
|
838
|
+
interval: z.number().int().describe(
|
|
839
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
840
|
+
).min(1).max(999).optional()
|
|
837
841
|
}).describe(
|
|
838
842
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
839
843
|
).optional()
|
|
@@ -1436,7 +1440,9 @@ var UpdateCurrentCartRequest = z.object({
|
|
|
1436
1440
|
).optional(),
|
|
1437
1441
|
freeTrialPeriod: z.object({
|
|
1438
1442
|
frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).optional(),
|
|
1439
|
-
interval: z.number().int().describe(
|
|
1443
|
+
interval: z.number().int().describe(
|
|
1444
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
1445
|
+
).min(1).max(999).optional()
|
|
1440
1446
|
}).describe(
|
|
1441
1447
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
1442
1448
|
).optional()
|
|
@@ -2100,7 +2106,9 @@ var UpdateCurrentCartResponse = z.object({
|
|
|
2100
2106
|
frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
|
|
2101
2107
|
"Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
|
|
2102
2108
|
).optional(),
|
|
2103
|
-
interval: z.number().int().describe(
|
|
2109
|
+
interval: z.number().int().describe(
|
|
2110
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
2111
|
+
).min(1).max(999).optional()
|
|
2104
2112
|
}).describe(
|
|
2105
2113
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
2106
2114
|
).optional()
|
|
@@ -2684,7 +2692,9 @@ var AddToCurrentCartRequest = z.object({
|
|
|
2684
2692
|
).optional(),
|
|
2685
2693
|
freeTrialPeriod: z.object({
|
|
2686
2694
|
frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).optional(),
|
|
2687
|
-
interval: z.number().int().describe(
|
|
2695
|
+
interval: z.number().int().describe(
|
|
2696
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
2697
|
+
).min(1).max(999).optional()
|
|
2688
2698
|
}).describe(
|
|
2689
2699
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
2690
2700
|
).optional()
|
|
@@ -3355,7 +3365,9 @@ var AddToCurrentCartResponse = z.object({
|
|
|
3355
3365
|
frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
|
|
3356
3366
|
"Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
|
|
3357
3367
|
).optional(),
|
|
3358
|
-
interval: z.number().int().describe(
|
|
3368
|
+
interval: z.number().int().describe(
|
|
3369
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
3370
|
+
).min(1).max(999).optional()
|
|
3359
3371
|
}).describe(
|
|
3360
3372
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
3361
3373
|
).optional()
|
|
@@ -3955,7 +3967,9 @@ var RemoveLineItemsFromCurrentCartResponse = z.object({
|
|
|
3955
3967
|
frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
|
|
3956
3968
|
"Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
|
|
3957
3969
|
).optional(),
|
|
3958
|
-
interval: z.number().int().describe(
|
|
3970
|
+
interval: z.number().int().describe(
|
|
3971
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
3972
|
+
).min(1).max(999).optional()
|
|
3959
3973
|
}).describe(
|
|
3960
3974
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
3961
3975
|
).optional()
|
|
@@ -4650,7 +4664,9 @@ var RemoveCouponFromCurrentCartResponse = z.object({
|
|
|
4650
4664
|
frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
|
|
4651
4665
|
"Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
|
|
4652
4666
|
).optional(),
|
|
4653
|
-
interval: z.number().int().describe(
|
|
4667
|
+
interval: z.number().int().describe(
|
|
4668
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
4669
|
+
).min(1).max(999).optional()
|
|
4654
4670
|
}).describe(
|
|
4655
4671
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
4656
4672
|
).optional()
|
|
@@ -5258,7 +5274,9 @@ var UpdateCurrentCartLineItemQuantityResponse = z.object({
|
|
|
5258
5274
|
frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
|
|
5259
5275
|
"Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
|
|
5260
5276
|
).optional(),
|
|
5261
|
-
interval: z.number().int().describe(
|
|
5277
|
+
interval: z.number().int().describe(
|
|
5278
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
5279
|
+
).min(1).max(999).optional()
|
|
5262
5280
|
}).describe(
|
|
5263
5281
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
5264
5282
|
).optional()
|
|
@@ -5949,7 +5967,9 @@ var EstimateCurrentCartTotalsResponse = z.object({
|
|
|
5949
5967
|
frequency: z.enum(["UNDEFINED", "DAY", "WEEK", "MONTH", "YEAR"]).describe(
|
|
5950
5968
|
"Frequency of period. Values: DAY, WEEK, MONTH, YEAR"
|
|
5951
5969
|
).optional(),
|
|
5952
|
-
interval: z.number().int().describe(
|
|
5970
|
+
interval: z.number().int().describe(
|
|
5971
|
+
"Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial."
|
|
5972
|
+
).min(1).max(999).optional()
|
|
5953
5973
|
}).describe(
|
|
5954
5974
|
"Period until first cycle starts. If applied payNow will be 0\nIf None => no free trial"
|
|
5955
5975
|
).optional()
|
|
@@ -7416,7 +7436,7 @@ var EstimateCurrentCartTotalsResponse = z.object({
|
|
|
7416
7436
|
})
|
|
7417
7437
|
})
|
|
7418
7438
|
])
|
|
7419
|
-
).describe("
|
|
7439
|
+
).describe("DEPRECATED: Use gift_card_calculation_errors instead.").optional(),
|
|
7420
7440
|
orderValidationErrors: z.array(
|
|
7421
7441
|
z.object({
|
|
7422
7442
|
code: z.string().describe("Error code.").optional(),
|