@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.
- package/build/cjs/index.js +8 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -9
- package/build/cjs/index.typings.js +1 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/schemas.js +26 -26
- 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 +1 -9
- package/build/es/index.typings.mjs +1 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/schemas.mjs +26 -26
- 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 +1 -9
- package/build/internal/cjs/index.typings.js +1 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/schemas.js +26 -26
- 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 +1 -9
- package/build/internal/es/index.typings.mjs +1 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +26 -26
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/schemas.js
CHANGED
|
@@ -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(),
|
|
@@ -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(
|
|
@@ -229,7 +229,7 @@ var CreateCustomizationResponse = z.intersection(
|
|
|
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(
|
|
@@ -322,7 +322,7 @@ var GetCustomizationResponse = z.intersection(
|
|
|
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({
|
|
@@ -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(
|
|
@@ -494,14 +494,14 @@ var UpdateCustomizationResponse = z.intersection(
|
|
|
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({
|
|
@@ -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({
|
|
@@ -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({
|
|
@@ -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"
|
|
@@ -956,7 +956,7 @@ var AddCustomizationChoicesRequest = 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(),
|
|
@@ -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"
|
|
@@ -1083,7 +1083,7 @@ var SetCustomizationChoicesRequest = 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(),
|
|
@@ -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(),
|
|
@@ -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(),
|
|
@@ -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"
|
|
@@ -1415,7 +1415,7 @@ var ReorderCustomizationChoicesRequest = z.object({
|
|
|
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(),
|
|
@@ -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),
|
|
@@ -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({
|
|
@@ -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(
|
|
@@ -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({
|