@wix/auto_sdk_stores_customizations-v-3 1.0.90 → 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.
@@ -1,6 +1,6 @@
1
1
  // src/stores-catalog-v3-customization-customizations-v-3.schemas.ts
2
2
  import * as z from "zod";
3
- var CreateCustomizationRequest = z.object({
3
+ var CreateCustomizationRequest = /* @__PURE__ */ z.object({
4
4
  customization: z.intersection(
5
5
  z.object({
6
6
  _id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
@@ -84,7 +84,7 @@ var CreateCustomizationRequest = z.object({
84
84
  ])
85
85
  ).describe("Customization to create.")
86
86
  });
87
- var CreateCustomizationResponse = z.intersection(
87
+ var CreateCustomizationResponse = /* @__PURE__ */ z.intersection(
88
88
  z.object({
89
89
  _id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
90
90
  revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
@@ -168,7 +168,7 @@ var CreateCustomizationResponse = z.intersection(
168
168
  })
169
169
  ])
170
170
  );
171
- var GetCustomizationRequest = z.object({
171
+ var GetCustomizationRequest = /* @__PURE__ */ z.object({
172
172
  customizationId: z.string().describe("Customization ID.").regex(
173
173
  /^[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}$/,
174
174
  "Must be a valid GUID"
@@ -177,7 +177,7 @@ var GetCustomizationRequest = z.object({
177
177
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
178
178
  }).optional()
179
179
  });
180
- var GetCustomizationResponse = z.intersection(
180
+ var GetCustomizationResponse = /* @__PURE__ */ z.intersection(
181
181
  z.object({
182
182
  _id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
183
183
  revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
@@ -261,7 +261,7 @@ var GetCustomizationResponse = z.intersection(
261
261
  })
262
262
  ])
263
263
  );
264
- var UpdateCustomizationRequest = z.object({
264
+ var UpdateCustomizationRequest = /* @__PURE__ */ z.object({
265
265
  _id: z.string().describe("Customization ID.").min(1).max(36),
266
266
  customization: z.intersection(
267
267
  z.object({
@@ -349,7 +349,7 @@ var UpdateCustomizationRequest = z.object({
349
349
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
350
350
  }).optional()
351
351
  });
352
- var UpdateCustomizationResponse = z.intersection(
352
+ var UpdateCustomizationResponse = /* @__PURE__ */ z.intersection(
353
353
  z.object({
354
354
  _id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
355
355
  revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
@@ -433,14 +433,14 @@ var UpdateCustomizationResponse = z.intersection(
433
433
  })
434
434
  ])
435
435
  );
436
- var DeleteCustomizationRequest = z.object({
436
+ var DeleteCustomizationRequest = /* @__PURE__ */ z.object({
437
437
  customizationId: z.string().describe("Customization ID.").regex(
438
438
  /^[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}$/,
439
439
  "Must be a valid GUID"
440
440
  )
441
441
  });
442
- var DeleteCustomizationResponse = z.object({});
443
- var QueryCustomizationsRequest = z.object({
442
+ var DeleteCustomizationResponse = /* @__PURE__ */ z.object({});
443
+ var QueryCustomizationsRequest = /* @__PURE__ */ z.object({
444
444
  query: z.object({
445
445
  filter: z.object({
446
446
  _id: z.object({
@@ -542,7 +542,7 @@ var QueryCustomizationsRequest = z.object({
542
542
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
543
543
  }).optional()
544
544
  });
545
- var QueryCustomizationsResponse = z.object({
545
+ var QueryCustomizationsResponse = /* @__PURE__ */ z.object({
546
546
  customizations: z.array(
547
547
  z.intersection(
548
548
  z.object({
@@ -648,7 +648,7 @@ var QueryCustomizationsResponse = z.object({
648
648
  ).optional().nullable()
649
649
  }).describe("Details on the paged set of results returned.").optional()
650
650
  });
651
- var BulkCreateCustomizationsRequest = z.object({
651
+ var BulkCreateCustomizationsRequest = /* @__PURE__ */ z.object({
652
652
  customizations: z.array(
653
653
  z.intersection(
654
654
  z.object({
@@ -739,7 +739,7 @@ var BulkCreateCustomizationsRequest = z.object({
739
739
  ).optional()
740
740
  }).optional()
741
741
  });
742
- var BulkCreateCustomizationsResponse = z.object({
742
+ var BulkCreateCustomizationsResponse = /* @__PURE__ */ z.object({
743
743
  results: z.array(
744
744
  z.object({
745
745
  itemMetadata: z.object({
@@ -856,7 +856,7 @@ var BulkCreateCustomizationsResponse = z.object({
856
856
  ).optional()
857
857
  }).describe("Bulk action metadata.").optional()
858
858
  });
859
- var AddCustomizationChoicesRequest = z.object({
859
+ var AddCustomizationChoicesRequest = /* @__PURE__ */ z.object({
860
860
  customizationId: z.string().describe("Customization ID.").regex(
861
861
  /^[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}$/,
862
862
  "Must be a valid GUID"
@@ -895,7 +895,7 @@ var AddCustomizationChoicesRequest = z.object({
895
895
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
896
896
  }).optional()
897
897
  });
898
- var AddCustomizationChoicesResponse = z.object({
898
+ var AddCustomizationChoicesResponse = /* @__PURE__ */ z.object({
899
899
  customization: z.intersection(
900
900
  z.object({
901
901
  _id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
@@ -983,7 +983,7 @@ var AddCustomizationChoicesResponse = z.object({
983
983
  ])
984
984
  ).describe("Updated customization.").optional()
985
985
  });
986
- var SetCustomizationChoicesRequest = z.object({
986
+ var SetCustomizationChoicesRequest = /* @__PURE__ */ z.object({
987
987
  customizationId: z.string().describe("Customization ID.").regex(
988
988
  /^[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}$/,
989
989
  "Must be a valid GUID"
@@ -1022,7 +1022,7 @@ var SetCustomizationChoicesRequest = z.object({
1022
1022
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
1023
1023
  }).optional()
1024
1024
  });
1025
- var SetCustomizationChoicesResponse = z.object({
1025
+ var SetCustomizationChoicesResponse = /* @__PURE__ */ z.object({
1026
1026
  customization: z.intersection(
1027
1027
  z.object({
1028
1028
  _id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
@@ -1110,7 +1110,7 @@ var SetCustomizationChoicesResponse = z.object({
1110
1110
  ])
1111
1111
  ).describe("Updated customization.").optional()
1112
1112
  });
1113
- var RemoveCustomizationChoicesRequest = z.object({
1113
+ var RemoveCustomizationChoicesRequest = /* @__PURE__ */ z.object({
1114
1114
  customizationId: z.string().describe("Customization ID.").regex(
1115
1115
  /^[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}$/,
1116
1116
  "Must be a valid GUID"
@@ -1121,7 +1121,7 @@ var RemoveCustomizationChoicesRequest = z.object({
1121
1121
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
1122
1122
  }).optional()
1123
1123
  });
1124
- var RemoveCustomizationChoicesResponse = z.object({
1124
+ var RemoveCustomizationChoicesResponse = /* @__PURE__ */ z.object({
1125
1125
  customization: z.intersection(
1126
1126
  z.object({
1127
1127
  _id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
@@ -1209,7 +1209,7 @@ var RemoveCustomizationChoicesResponse = z.object({
1209
1209
  ])
1210
1210
  ).describe("Updated customization.").optional()
1211
1211
  });
1212
- var UpdateCustomizationChoicesRequest = z.object({
1212
+ var UpdateCustomizationChoicesRequest = /* @__PURE__ */ z.object({
1213
1213
  customizationId: z.string().describe("Customization ID.").regex(
1214
1214
  /^[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}$/,
1215
1215
  "Must be a valid GUID"
@@ -1253,7 +1253,7 @@ var UpdateCustomizationChoicesRequest = z.object({
1253
1253
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
1254
1254
  })
1255
1255
  });
1256
- var UpdateCustomizationChoicesResponse = z.object({
1256
+ var UpdateCustomizationChoicesResponse = /* @__PURE__ */ z.object({
1257
1257
  customization: z.intersection(
1258
1258
  z.object({
1259
1259
  _id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
@@ -1341,7 +1341,7 @@ var UpdateCustomizationChoicesResponse = z.object({
1341
1341
  ])
1342
1342
  ).describe("Updated customization.").optional()
1343
1343
  });
1344
- var ReorderCustomizationChoicesRequest = z.object({
1344
+ var ReorderCustomizationChoicesRequest = /* @__PURE__ */ z.object({
1345
1345
  customizationId: z.string().describe("Customization ID.").regex(
1346
1346
  /^[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}$/,
1347
1347
  "Must be a valid GUID"
@@ -1354,7 +1354,7 @@ var ReorderCustomizationChoicesRequest = z.object({
1354
1354
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
1355
1355
  })
1356
1356
  });
1357
- var ReorderCustomizationChoicesResponse = z.object({
1357
+ var ReorderCustomizationChoicesResponse = /* @__PURE__ */ z.object({
1358
1358
  customization: z.intersection(
1359
1359
  z.object({
1360
1360
  _id: z.string().describe("Customization ID.").min(1).max(36).optional().nullable(),
@@ -1444,7 +1444,7 @@ var ReorderCustomizationChoicesResponse = z.object({
1444
1444
  "Updated customization, with `choices` in the new order and `choicesSettings.sortOrder` set to `MANUAL`."
1445
1445
  ).optional()
1446
1446
  });
1447
- var BulkAddCustomizationChoicesRequest = z.object({
1447
+ var BulkAddCustomizationChoicesRequest = /* @__PURE__ */ z.object({
1448
1448
  customizationsChoices: z.array(
1449
1449
  z.object({
1450
1450
  customizationId: z.string().describe("Customization ID.").min(1).max(36),
@@ -1487,7 +1487,7 @@ var BulkAddCustomizationChoicesRequest = z.object({
1487
1487
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
1488
1488
  }).optional()
1489
1489
  });
1490
- var BulkAddCustomizationChoicesResponse = z.object({
1490
+ var BulkAddCustomizationChoicesResponse = /* @__PURE__ */ z.object({
1491
1491
  results: z.array(
1492
1492
  z.object({
1493
1493
  itemMetadata: z.object({
@@ -1604,7 +1604,7 @@ var BulkAddCustomizationChoicesResponse = z.object({
1604
1604
  ).optional()
1605
1605
  }).describe("Bulk action metadata.").optional()
1606
1606
  });
1607
- var BulkUpdateCustomizationsRequest = z.object({
1607
+ var BulkUpdateCustomizationsRequest = /* @__PURE__ */ z.object({
1608
1608
  customizations: z.array(
1609
1609
  z.object({
1610
1610
  customization: z.intersection(
@@ -1698,7 +1698,7 @@ var BulkUpdateCustomizationsRequest = z.object({
1698
1698
  fields: z.array(z.enum(["ASSIGNED_PRODUCTS_COUNT", "CHOICE_DISPLAY_IMAGE"])).max(100).optional()
1699
1699
  }).optional()
1700
1700
  });
1701
- var BulkUpdateCustomizationsResponse = z.object({
1701
+ var BulkUpdateCustomizationsResponse = /* @__PURE__ */ z.object({
1702
1702
  results: z.array(
1703
1703
  z.object({
1704
1704
  itemMetadata: z.object({