@wix/auto_sdk_stores_customizations-v-3 1.0.89 → 1.0.91
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.js +8 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +8 -16
- package/build/cjs/index.typings.js +1 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +6 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +47 -47
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +8 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +8 -16
- package/build/es/index.typings.mjs +1 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +6 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +47 -47
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +8 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +8 -16
- package/build/internal/cjs/index.typings.js +1 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +6 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +47 -47
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +8 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +8 -16
- package/build/internal/es/index.typings.mjs +1 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +6 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +47 -47
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -61,7 +61,7 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
61
61
|
|
|
62
62
|
// src/stores-catalog-v3-customization-customizations-v-3.schemas.ts
|
|
63
63
|
var z = __toESM(require("zod"));
|
|
64
|
-
var CreateCustomizationRequest = z.object({
|
|
64
|
+
var CreateCustomizationRequest = /* @__PURE__ */ z.object({
|
|
65
65
|
customization: z.intersection(
|
|
66
66
|
z.object({
|
|
67
67
|
_id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
|
|
@@ -137,7 +137,7 @@ var CreateCustomizationRequest = z.object({
|
|
|
137
137
|
})
|
|
138
138
|
])
|
|
139
139
|
)
|
|
140
|
-
).min(1).max(
|
|
140
|
+
).min(1).max(1e3)
|
|
141
141
|
}).describe(
|
|
142
142
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
143
143
|
)
|
|
@@ -145,7 +145,7 @@ var CreateCustomizationRequest = z.object({
|
|
|
145
145
|
])
|
|
146
146
|
).describe("Customization to create.")
|
|
147
147
|
});
|
|
148
|
-
var CreateCustomizationResponse = z.intersection(
|
|
148
|
+
var CreateCustomizationResponse = /* @__PURE__ */ z.intersection(
|
|
149
149
|
z.object({
|
|
150
150
|
_id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
|
|
151
151
|
revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
|
|
@@ -222,14 +222,14 @@ var CreateCustomizationResponse = z.intersection(
|
|
|
222
222
|
})
|
|
223
223
|
])
|
|
224
224
|
)
|
|
225
|
-
).min(1).max(
|
|
225
|
+
).min(1).max(1e3).optional()
|
|
226
226
|
}).describe(
|
|
227
227
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
228
228
|
)
|
|
229
229
|
})
|
|
230
230
|
])
|
|
231
231
|
);
|
|
232
|
-
var GetCustomizationRequest = z.object({
|
|
232
|
+
var GetCustomizationRequest = /* @__PURE__ */ z.object({
|
|
233
233
|
customizationId: z.string().describe("Customization ID.").regex(
|
|
234
234
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
235
235
|
"Must be a valid GUID"
|
|
@@ -238,7 +238,7 @@ var GetCustomizationRequest = z.object({
|
|
|
238
238
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
239
239
|
}).optional()
|
|
240
240
|
});
|
|
241
|
-
var GetCustomizationResponse = z.intersection(
|
|
241
|
+
var GetCustomizationResponse = /* @__PURE__ */ z.intersection(
|
|
242
242
|
z.object({
|
|
243
243
|
_id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
|
|
244
244
|
revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
|
|
@@ -315,14 +315,14 @@ var GetCustomizationResponse = z.intersection(
|
|
|
315
315
|
})
|
|
316
316
|
])
|
|
317
317
|
)
|
|
318
|
-
).min(1).max(
|
|
318
|
+
).min(1).max(1e3).optional()
|
|
319
319
|
}).describe(
|
|
320
320
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
321
321
|
)
|
|
322
322
|
})
|
|
323
323
|
])
|
|
324
324
|
);
|
|
325
|
-
var UpdateCustomizationRequest = z.object({
|
|
325
|
+
var UpdateCustomizationRequest = /* @__PURE__ */ z.object({
|
|
326
326
|
_id: z.string().describe("Customization ID.").min(1).max(36),
|
|
327
327
|
customization: z.intersection(
|
|
328
328
|
z.object({
|
|
@@ -399,7 +399,7 @@ var UpdateCustomizationRequest = z.object({
|
|
|
399
399
|
})
|
|
400
400
|
])
|
|
401
401
|
)
|
|
402
|
-
).min(1).max(
|
|
402
|
+
).min(1).max(1e3).optional()
|
|
403
403
|
}).describe(
|
|
404
404
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
405
405
|
)
|
|
@@ -410,7 +410,7 @@ var UpdateCustomizationRequest = z.object({
|
|
|
410
410
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
411
411
|
}).optional()
|
|
412
412
|
});
|
|
413
|
-
var UpdateCustomizationResponse = z.intersection(
|
|
413
|
+
var UpdateCustomizationResponse = /* @__PURE__ */ z.intersection(
|
|
414
414
|
z.object({
|
|
415
415
|
_id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
|
|
416
416
|
revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
|
|
@@ -487,21 +487,21 @@ var UpdateCustomizationResponse = z.intersection(
|
|
|
487
487
|
})
|
|
488
488
|
])
|
|
489
489
|
)
|
|
490
|
-
).min(1).max(
|
|
490
|
+
).min(1).max(1e3).optional()
|
|
491
491
|
}).describe(
|
|
492
492
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
493
493
|
)
|
|
494
494
|
})
|
|
495
495
|
])
|
|
496
496
|
);
|
|
497
|
-
var DeleteCustomizationRequest = z.object({
|
|
497
|
+
var DeleteCustomizationRequest = /* @__PURE__ */ z.object({
|
|
498
498
|
customizationId: z.string().describe("Customization ID.").regex(
|
|
499
499
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
500
500
|
"Must be a valid GUID"
|
|
501
501
|
)
|
|
502
502
|
});
|
|
503
|
-
var DeleteCustomizationResponse = z.object({});
|
|
504
|
-
var QueryCustomizationsRequest = z.object({
|
|
503
|
+
var DeleteCustomizationResponse = /* @__PURE__ */ z.object({});
|
|
504
|
+
var QueryCustomizationsRequest = /* @__PURE__ */ z.object({
|
|
505
505
|
query: z.object({
|
|
506
506
|
filter: z.object({
|
|
507
507
|
_id: z.object({
|
|
@@ -603,7 +603,7 @@ var QueryCustomizationsRequest = z.object({
|
|
|
603
603
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
604
604
|
}).optional()
|
|
605
605
|
});
|
|
606
|
-
var QueryCustomizationsResponse = z.object({
|
|
606
|
+
var QueryCustomizationsResponse = /* @__PURE__ */ z.object({
|
|
607
607
|
customizations: z.array(
|
|
608
608
|
z.intersection(
|
|
609
609
|
z.object({
|
|
@@ -684,7 +684,7 @@ var QueryCustomizationsResponse = z.object({
|
|
|
684
684
|
})
|
|
685
685
|
])
|
|
686
686
|
)
|
|
687
|
-
).min(1).max(
|
|
687
|
+
).min(1).max(1e3).optional()
|
|
688
688
|
}).describe(
|
|
689
689
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
690
690
|
)
|
|
@@ -709,7 +709,7 @@ var QueryCustomizationsResponse = z.object({
|
|
|
709
709
|
).optional().nullable()
|
|
710
710
|
}).describe("Details on the paged set of results returned.").optional()
|
|
711
711
|
});
|
|
712
|
-
var BulkCreateCustomizationsRequest = z.object({
|
|
712
|
+
var BulkCreateCustomizationsRequest = /* @__PURE__ */ z.object({
|
|
713
713
|
customizations: z.array(
|
|
714
714
|
z.intersection(
|
|
715
715
|
z.object({
|
|
@@ -786,7 +786,7 @@ var BulkCreateCustomizationsRequest = z.object({
|
|
|
786
786
|
})
|
|
787
787
|
])
|
|
788
788
|
)
|
|
789
|
-
).min(1).max(
|
|
789
|
+
).min(1).max(1e3).optional()
|
|
790
790
|
}).describe(
|
|
791
791
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
792
792
|
)
|
|
@@ -800,7 +800,7 @@ var BulkCreateCustomizationsRequest = z.object({
|
|
|
800
800
|
).optional()
|
|
801
801
|
}).optional()
|
|
802
802
|
});
|
|
803
|
-
var BulkCreateCustomizationsResponse = z.object({
|
|
803
|
+
var BulkCreateCustomizationsResponse = /* @__PURE__ */ z.object({
|
|
804
804
|
results: z.array(
|
|
805
805
|
z.object({
|
|
806
806
|
itemMetadata: z.object({
|
|
@@ -898,7 +898,7 @@ var BulkCreateCustomizationsResponse = z.object({
|
|
|
898
898
|
})
|
|
899
899
|
])
|
|
900
900
|
)
|
|
901
|
-
).min(1).max(
|
|
901
|
+
).min(1).max(1e3).optional()
|
|
902
902
|
}).describe(
|
|
903
903
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
904
904
|
)
|
|
@@ -917,7 +917,7 @@ var BulkCreateCustomizationsResponse = z.object({
|
|
|
917
917
|
).optional()
|
|
918
918
|
}).describe("Bulk action metadata.").optional()
|
|
919
919
|
});
|
|
920
|
-
var AddCustomizationChoicesRequest = z.object({
|
|
920
|
+
var AddCustomizationChoicesRequest = /* @__PURE__ */ z.object({
|
|
921
921
|
customizationId: z.string().describe("Customization ID.").regex(
|
|
922
922
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
923
923
|
"Must be a valid GUID"
|
|
@@ -951,12 +951,12 @@ var AddCustomizationChoicesRequest = z.object({
|
|
|
951
951
|
})
|
|
952
952
|
])
|
|
953
953
|
)
|
|
954
|
-
).min(1).max(
|
|
954
|
+
).min(1).max(1e3),
|
|
955
955
|
options: z.object({
|
|
956
956
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
957
957
|
}).optional()
|
|
958
958
|
});
|
|
959
|
-
var AddCustomizationChoicesResponse = z.object({
|
|
959
|
+
var AddCustomizationChoicesResponse = /* @__PURE__ */ z.object({
|
|
960
960
|
customization: z.intersection(
|
|
961
961
|
z.object({
|
|
962
962
|
_id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
|
|
@@ -1036,7 +1036,7 @@ var AddCustomizationChoicesResponse = z.object({
|
|
|
1036
1036
|
})
|
|
1037
1037
|
])
|
|
1038
1038
|
)
|
|
1039
|
-
).min(1).max(
|
|
1039
|
+
).min(1).max(1e3).optional()
|
|
1040
1040
|
}).describe(
|
|
1041
1041
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
1042
1042
|
)
|
|
@@ -1044,7 +1044,7 @@ var AddCustomizationChoicesResponse = z.object({
|
|
|
1044
1044
|
])
|
|
1045
1045
|
).describe("Updated customization.").optional()
|
|
1046
1046
|
});
|
|
1047
|
-
var SetCustomizationChoicesRequest = z.object({
|
|
1047
|
+
var SetCustomizationChoicesRequest = /* @__PURE__ */ z.object({
|
|
1048
1048
|
customizationId: z.string().describe("Customization ID.").regex(
|
|
1049
1049
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1050
1050
|
"Must be a valid GUID"
|
|
@@ -1078,12 +1078,12 @@ var SetCustomizationChoicesRequest = z.object({
|
|
|
1078
1078
|
})
|
|
1079
1079
|
])
|
|
1080
1080
|
)
|
|
1081
|
-
).min(1).max(
|
|
1081
|
+
).min(1).max(1e3),
|
|
1082
1082
|
options: z.object({
|
|
1083
1083
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
1084
1084
|
}).optional()
|
|
1085
1085
|
});
|
|
1086
|
-
var SetCustomizationChoicesResponse = z.object({
|
|
1086
|
+
var SetCustomizationChoicesResponse = /* @__PURE__ */ z.object({
|
|
1087
1087
|
customization: z.intersection(
|
|
1088
1088
|
z.object({
|
|
1089
1089
|
_id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
|
|
@@ -1163,7 +1163,7 @@ var SetCustomizationChoicesResponse = z.object({
|
|
|
1163
1163
|
})
|
|
1164
1164
|
])
|
|
1165
1165
|
)
|
|
1166
|
-
).min(1).max(
|
|
1166
|
+
).min(1).max(1e3).optional()
|
|
1167
1167
|
}).describe(
|
|
1168
1168
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
1169
1169
|
)
|
|
@@ -1171,7 +1171,7 @@ var SetCustomizationChoicesResponse = z.object({
|
|
|
1171
1171
|
])
|
|
1172
1172
|
).describe("Updated customization.").optional()
|
|
1173
1173
|
});
|
|
1174
|
-
var RemoveCustomizationChoicesRequest = z.object({
|
|
1174
|
+
var RemoveCustomizationChoicesRequest = /* @__PURE__ */ z.object({
|
|
1175
1175
|
customizationId: z.string().describe("Customization ID.").regex(
|
|
1176
1176
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1177
1177
|
"Must be a valid GUID"
|
|
@@ -1182,7 +1182,7 @@ var RemoveCustomizationChoicesRequest = z.object({
|
|
|
1182
1182
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
1183
1183
|
}).optional()
|
|
1184
1184
|
});
|
|
1185
|
-
var RemoveCustomizationChoicesResponse = z.object({
|
|
1185
|
+
var RemoveCustomizationChoicesResponse = /* @__PURE__ */ z.object({
|
|
1186
1186
|
customization: z.intersection(
|
|
1187
1187
|
z.object({
|
|
1188
1188
|
_id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
|
|
@@ -1262,7 +1262,7 @@ var RemoveCustomizationChoicesResponse = z.object({
|
|
|
1262
1262
|
})
|
|
1263
1263
|
])
|
|
1264
1264
|
)
|
|
1265
|
-
).min(1).max(
|
|
1265
|
+
).min(1).max(1e3).optional()
|
|
1266
1266
|
}).describe(
|
|
1267
1267
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
1268
1268
|
)
|
|
@@ -1270,7 +1270,7 @@ var RemoveCustomizationChoicesResponse = z.object({
|
|
|
1270
1270
|
])
|
|
1271
1271
|
).describe("Updated customization.").optional()
|
|
1272
1272
|
});
|
|
1273
|
-
var UpdateCustomizationChoicesRequest = z.object({
|
|
1273
|
+
var UpdateCustomizationChoicesRequest = /* @__PURE__ */ z.object({
|
|
1274
1274
|
customizationId: z.string().describe("Customization ID.").regex(
|
|
1275
1275
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1276
1276
|
"Must be a valid GUID"
|
|
@@ -1314,7 +1314,7 @@ var UpdateCustomizationChoicesRequest = z.object({
|
|
|
1314
1314
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
1315
1315
|
})
|
|
1316
1316
|
});
|
|
1317
|
-
var UpdateCustomizationChoicesResponse = z.object({
|
|
1317
|
+
var UpdateCustomizationChoicesResponse = /* @__PURE__ */ z.object({
|
|
1318
1318
|
customization: z.intersection(
|
|
1319
1319
|
z.object({
|
|
1320
1320
|
_id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
|
|
@@ -1394,7 +1394,7 @@ var UpdateCustomizationChoicesResponse = z.object({
|
|
|
1394
1394
|
})
|
|
1395
1395
|
])
|
|
1396
1396
|
)
|
|
1397
|
-
).min(1).max(
|
|
1397
|
+
).min(1).max(1e3).optional()
|
|
1398
1398
|
}).describe(
|
|
1399
1399
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
1400
1400
|
)
|
|
@@ -1402,7 +1402,7 @@ var UpdateCustomizationChoicesResponse = z.object({
|
|
|
1402
1402
|
])
|
|
1403
1403
|
).describe("Updated customization.").optional()
|
|
1404
1404
|
});
|
|
1405
|
-
var ReorderCustomizationChoicesRequest = z.object({
|
|
1405
|
+
var ReorderCustomizationChoicesRequest = /* @__PURE__ */ z.object({
|
|
1406
1406
|
customizationId: z.string().describe("Customization ID.").regex(
|
|
1407
1407
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1408
1408
|
"Must be a valid GUID"
|
|
@@ -1411,11 +1411,11 @@ var ReorderCustomizationChoicesRequest = z.object({
|
|
|
1411
1411
|
"Revision number, which increments by 1 each time the customization is updated. To prevent conflicting changes, the current revision must be passed when updating the customization."
|
|
1412
1412
|
),
|
|
1413
1413
|
options: z.object({
|
|
1414
|
-
choiceIds: z.array(z.string()).min(1).max(
|
|
1414
|
+
choiceIds: z.array(z.string()).min(1).max(1e3),
|
|
1415
1415
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
1416
1416
|
})
|
|
1417
1417
|
});
|
|
1418
|
-
var ReorderCustomizationChoicesResponse = z.object({
|
|
1418
|
+
var ReorderCustomizationChoicesResponse = /* @__PURE__ */ z.object({
|
|
1419
1419
|
customization: z.intersection(
|
|
1420
1420
|
z.object({
|
|
1421
1421
|
_id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
|
|
@@ -1495,7 +1495,7 @@ var ReorderCustomizationChoicesResponse = z.object({
|
|
|
1495
1495
|
})
|
|
1496
1496
|
])
|
|
1497
1497
|
)
|
|
1498
|
-
).min(1).max(
|
|
1498
|
+
).min(1).max(1e3).optional()
|
|
1499
1499
|
}).describe(
|
|
1500
1500
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
1501
1501
|
)
|
|
@@ -1505,7 +1505,7 @@ var ReorderCustomizationChoicesResponse = z.object({
|
|
|
1505
1505
|
"Updated customization, with `choices` in the new order and `choicesSettings.sortOrder` set to `MANUAL`."
|
|
1506
1506
|
).optional()
|
|
1507
1507
|
});
|
|
1508
|
-
var BulkAddCustomizationChoicesRequest = z.object({
|
|
1508
|
+
var BulkAddCustomizationChoicesRequest = /* @__PURE__ */ z.object({
|
|
1509
1509
|
customizationsChoices: z.array(
|
|
1510
1510
|
z.object({
|
|
1511
1511
|
customizationId: z.string().describe("Customization ID.").min(1).max(36),
|
|
@@ -1540,7 +1540,7 @@ var BulkAddCustomizationChoicesRequest = z.object({
|
|
|
1540
1540
|
)
|
|
1541
1541
|
).min(1).max(100)
|
|
1542
1542
|
})
|
|
1543
|
-
).min(1).max(
|
|
1543
|
+
).min(1).max(1e3),
|
|
1544
1544
|
options: z.object({
|
|
1545
1545
|
returnEntity: z.boolean().describe(
|
|
1546
1546
|
"Whether to return the full customization entities in the response.\n\nDefault: `false`"
|
|
@@ -1548,7 +1548,7 @@ var BulkAddCustomizationChoicesRequest = z.object({
|
|
|
1548
1548
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
1549
1549
|
}).optional()
|
|
1550
1550
|
});
|
|
1551
|
-
var BulkAddCustomizationChoicesResponse = z.object({
|
|
1551
|
+
var BulkAddCustomizationChoicesResponse = /* @__PURE__ */ z.object({
|
|
1552
1552
|
results: z.array(
|
|
1553
1553
|
z.object({
|
|
1554
1554
|
itemMetadata: z.object({
|
|
@@ -1646,7 +1646,7 @@ var BulkAddCustomizationChoicesResponse = z.object({
|
|
|
1646
1646
|
})
|
|
1647
1647
|
])
|
|
1648
1648
|
)
|
|
1649
|
-
).min(1).max(
|
|
1649
|
+
).min(1).max(1e3).optional()
|
|
1650
1650
|
}).describe(
|
|
1651
1651
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
1652
1652
|
)
|
|
@@ -1656,7 +1656,7 @@ var BulkAddCustomizationChoicesResponse = z.object({
|
|
|
1656
1656
|
"Full customization entity.\n\nReturned only if `returnEntity: true` is passed in the request."
|
|
1657
1657
|
).optional()
|
|
1658
1658
|
})
|
|
1659
|
-
).min(1).max(
|
|
1659
|
+
).min(1).max(1e3).optional(),
|
|
1660
1660
|
bulkActionMetadata: z.object({
|
|
1661
1661
|
totalSuccesses: z.number().int().describe("Number of items that were successfully processed.").optional(),
|
|
1662
1662
|
totalFailures: z.number().int().describe("Number of items that couldn't be processed.").optional(),
|
|
@@ -1665,7 +1665,7 @@ var BulkAddCustomizationChoicesResponse = z.object({
|
|
|
1665
1665
|
).optional()
|
|
1666
1666
|
}).describe("Bulk action metadata.").optional()
|
|
1667
1667
|
});
|
|
1668
|
-
var BulkUpdateCustomizationsRequest = z.object({
|
|
1668
|
+
var BulkUpdateCustomizationsRequest = /* @__PURE__ */ z.object({
|
|
1669
1669
|
customizations: z.array(
|
|
1670
1670
|
z.object({
|
|
1671
1671
|
customization: z.intersection(
|
|
@@ -1743,7 +1743,7 @@ var BulkUpdateCustomizationsRequest = z.object({
|
|
|
1743
1743
|
})
|
|
1744
1744
|
])
|
|
1745
1745
|
)
|
|
1746
|
-
).min(1).max(
|
|
1746
|
+
).min(1).max(1e3).optional()
|
|
1747
1747
|
}).describe(
|
|
1748
1748
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
1749
1749
|
)
|
|
@@ -1759,7 +1759,7 @@ var BulkUpdateCustomizationsRequest = z.object({
|
|
|
1759
1759
|
fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
|
|
1760
1760
|
}).optional()
|
|
1761
1761
|
});
|
|
1762
|
-
var BulkUpdateCustomizationsResponse = z.object({
|
|
1762
|
+
var BulkUpdateCustomizationsResponse = /* @__PURE__ */ z.object({
|
|
1763
1763
|
results: z.array(
|
|
1764
1764
|
z.object({
|
|
1765
1765
|
itemMetadata: z.object({
|
|
@@ -1857,7 +1857,7 @@ var BulkUpdateCustomizationsResponse = z.object({
|
|
|
1857
1857
|
})
|
|
1858
1858
|
])
|
|
1859
1859
|
)
|
|
1860
|
-
).min(1).max(
|
|
1860
|
+
).min(1).max(1e3).optional()
|
|
1861
1861
|
}).describe(
|
|
1862
1862
|
"Choices settings.\n\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`."
|
|
1863
1863
|
)
|