@wix/auto_sdk_benefit-programs_items 1.0.59 → 1.0.61

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.
Files changed (37) hide show
  1. package/build/cjs/index.js +2 -4
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +5 -13
  4. package/build/cjs/index.typings.js +1 -3
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +3 -3
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/cjs/schemas.js +28 -28
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/index.mjs +2 -4
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +5 -13
  13. package/build/es/index.typings.mjs +1 -3
  14. package/build/es/index.typings.mjs.map +1 -1
  15. package/build/es/meta.d.mts +3 -3
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/es/schemas.mjs +28 -28
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/index.js +2 -4
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +60 -13
  22. package/build/internal/cjs/index.typings.js +1 -3
  23. package/build/internal/cjs/index.typings.js.map +1 -1
  24. package/build/internal/cjs/meta.d.ts +75 -3
  25. package/build/internal/cjs/meta.js.map +1 -1
  26. package/build/internal/cjs/schemas.js +28 -28
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/index.mjs +2 -4
  29. package/build/internal/es/index.mjs.map +1 -1
  30. package/build/internal/es/index.typings.d.mts +60 -13
  31. package/build/internal/es/index.typings.mjs +1 -3
  32. package/build/internal/es/index.typings.mjs.map +1 -1
  33. package/build/internal/es/meta.d.mts +75 -3
  34. package/build/internal/es/meta.mjs.map +1 -1
  35. package/build/internal/es/schemas.mjs +28 -28
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  // src/benefit-programs-v1-item-items.schemas.ts
2
2
  import * as z from "zod";
3
- var CreateItemRequest = z.object({
3
+ var CreateItemRequest = /* @__PURE__ */ z.object({
4
4
  item: z.object({
5
5
  _id: z.string().describe("Benefit item ID.").regex(
6
6
  /^[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}$/,
@@ -43,7 +43,7 @@ var CreateItemRequest = z.object({
43
43
  ).min(1).max(20)
44
44
  }).describe("Item to create.")
45
45
  });
46
- var CreateItemResponse = z.object({
46
+ var CreateItemResponse = /* @__PURE__ */ z.object({
47
47
  _id: z.string().describe("Benefit item ID.").regex(
48
48
  /^[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}$/,
49
49
  "Must be a valid GUID"
@@ -82,7 +82,7 @@ var CreateItemResponse = z.object({
82
82
  "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
83
83
  ).min(1).max(20).optional().nullable()
84
84
  });
85
- var BulkCreateItemsRequest = z.object({
85
+ var BulkCreateItemsRequest = /* @__PURE__ */ z.object({
86
86
  items: z.array(
87
87
  z.object({
88
88
  _id: z.string().describe("Benefit item ID.").regex(
@@ -132,7 +132,7 @@ var BulkCreateItemsRequest = z.object({
132
132
  ).optional()
133
133
  }).optional()
134
134
  });
135
- var BulkCreateItemsResponse = z.object({
135
+ var BulkCreateItemsResponse = /* @__PURE__ */ z.object({
136
136
  results: z.array(
137
137
  z.object({
138
138
  itemMetadata: z.object({
@@ -205,17 +205,17 @@ var BulkCreateItemsResponse = z.object({
205
205
  ).optional()
206
206
  }).describe("Bulk action metadata.").optional()
207
207
  });
208
- var DeleteItemRequest = z.object({
208
+ var DeleteItemRequest = /* @__PURE__ */ z.object({
209
209
  itemId: z.string().describe("Item ID.").regex(
210
210
  /^[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}$/,
211
211
  "Must be a valid GUID"
212
212
  )
213
213
  });
214
- var DeleteItemResponse = z.object({});
215
- var BulkDeleteItemsRequest = z.object({
214
+ var DeleteItemResponse = /* @__PURE__ */ z.object({});
215
+ var BulkDeleteItemsRequest = /* @__PURE__ */ z.object({
216
216
  itemIds: z.array(z.string()).min(1).max(100)
217
217
  });
218
- var BulkDeleteItemsResponse = z.object({
218
+ var BulkDeleteItemsResponse = /* @__PURE__ */ z.object({
219
219
  results: z.array(
220
220
  z.object({
221
221
  itemMetadata: z.object({
@@ -288,7 +288,7 @@ var BulkDeleteItemsResponse = z.object({
288
288
  ).optional()
289
289
  }).describe("Bulk action metadata.").optional()
290
290
  });
291
- var BulkDeleteItemsByFilterRequest = z.object({
291
+ var BulkDeleteItemsByFilterRequest = /* @__PURE__ */ z.object({
292
292
  namespace: z.string().describe(
293
293
  "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
294
294
  ).min(1).max(20),
@@ -298,7 +298,7 @@ var BulkDeleteItemsByFilterRequest = z.object({
298
298
  ).optional().nullable()
299
299
  }).optional()
300
300
  });
301
- var BulkDeleteItemsByFilterResponse = z.object({
301
+ var BulkDeleteItemsByFilterResponse = /* @__PURE__ */ z.object({
302
302
  jobId: z.string().describe(
303
303
  "Job ID for item deletion. Retrieve job details using the [Async Job API](https://dev.wix.com/docs/rest/business-management/async-job/introduction)."
304
304
  ).regex(
@@ -306,7 +306,7 @@ var BulkDeleteItemsByFilterResponse = z.object({
306
306
  "Must be a valid GUID"
307
307
  ).optional()
308
308
  });
309
- var UpdateItemRequest = z.object({
309
+ var UpdateItemRequest = /* @__PURE__ */ z.object({
310
310
  _id: z.string().describe("Benefit item ID.").regex(
311
311
  /^[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}$/,
312
312
  "Must be a valid GUID"
@@ -353,7 +353,7 @@ var UpdateItemRequest = z.object({
353
353
  ).min(1).max(20).optional().nullable()
354
354
  }).describe("Item to update.")
355
355
  });
356
- var UpdateItemResponse = z.object({
356
+ var UpdateItemResponse = /* @__PURE__ */ z.object({
357
357
  _id: z.string().describe("Benefit item ID.").regex(
358
358
  /^[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}$/,
359
359
  "Must be a valid GUID"
@@ -392,7 +392,7 @@ var UpdateItemResponse = z.object({
392
392
  "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
393
393
  ).min(1).max(20).optional().nullable()
394
394
  });
395
- var BulkUpdateItemsRequest = z.object({
395
+ var BulkUpdateItemsRequest = /* @__PURE__ */ z.object({
396
396
  options: z.object({
397
397
  items: z.array(
398
398
  z.object({
@@ -445,7 +445,7 @@ var BulkUpdateItemsRequest = z.object({
445
445
  ).optional()
446
446
  }).optional()
447
447
  });
448
- var BulkUpdateItemsResponse = z.object({
448
+ var BulkUpdateItemsResponse = /* @__PURE__ */ z.object({
449
449
  results: z.array(
450
450
  z.object({
451
451
  itemMetadata: z.object({
@@ -518,13 +518,13 @@ var BulkUpdateItemsResponse = z.object({
518
518
  ).optional()
519
519
  }).describe("Bulk action metadata.").optional()
520
520
  });
521
- var GetItemRequest = z.object({
521
+ var GetItemRequest = /* @__PURE__ */ z.object({
522
522
  itemId: z.string().describe("ID of the item to retrieve.").regex(
523
523
  /^[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}$/,
524
524
  "Must be a valid GUID"
525
525
  )
526
526
  });
527
- var GetItemResponse = z.object({
527
+ var GetItemResponse = /* @__PURE__ */ z.object({
528
528
  _id: z.string().describe("Benefit item ID.").regex(
529
529
  /^[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}$/,
530
530
  "Must be a valid GUID"
@@ -563,7 +563,7 @@ var GetItemResponse = z.object({
563
563
  "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
564
564
  ).min(1).max(20).optional().nullable()
565
565
  });
566
- var ListItemsRequest = z.object({
566
+ var ListItemsRequest = /* @__PURE__ */ z.object({
567
567
  options: z.object({
568
568
  filter: z.intersection(
569
569
  z.object({
@@ -627,11 +627,11 @@ var ListItemsRequest = z.object({
627
627
  limit: z.number().int().describe("Maximum number of items to return.").min(0).max(1e3).optional().nullable(),
628
628
  cursor: z.string().describe(
629
629
  "Pointer to the next or previous page in the list of results.\n\nPass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\nNot relevant for the first request."
630
- ).max(16e3).optional().nullable()
630
+ ).max(64e3).optional().nullable()
631
631
  }).describe("Cursor paging").optional()
632
632
  }).optional()
633
633
  });
634
- var ListItemsResponse = z.object({
634
+ var ListItemsResponse = /* @__PURE__ */ z.object({
635
635
  items: z.array(
636
636
  z.object({
637
637
  _id: z.string().describe("Benefit item ID.").regex(
@@ -680,10 +680,10 @@ var ListItemsResponse = z.object({
680
680
  cursors: z.object({
681
681
  next: z.string().describe(
682
682
  "Cursor string pointing to the next page in the list of results."
683
- ).max(16e3).optional().nullable(),
683
+ ).max(64e3).optional().nullable(),
684
684
  prev: z.string().describe(
685
685
  "Cursor pointing to the previous page in the list of results."
686
- ).max(16e3).optional().nullable()
686
+ ).max(64e3).optional().nullable()
687
687
  }).describe(
688
688
  "Cursor strings that point to the next page, previous page, or both."
689
689
  ).optional(),
@@ -692,7 +692,7 @@ var ListItemsResponse = z.object({
692
692
  ).optional().nullable()
693
693
  }).describe("Metadata for paginated results.").optional()
694
694
  });
695
- var QueryItemsRequest = z.object({
695
+ var QueryItemsRequest = /* @__PURE__ */ z.object({
696
696
  query: z.intersection(
697
697
  z.object({
698
698
  filter: z.record(z.string(), z.any()).describe(
@@ -712,7 +712,7 @@ var QueryItemsRequest = z.object({
712
712
  limit: z.number().int().describe("Maximum number of items to return.").min(0).max(1e3).optional().nullable(),
713
713
  cursor: z.string().describe(
714
714
  "Pointer to the next or previous page in the list of results.\n\nPass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\nNot relevant for the first request."
715
- ).max(16e3).optional().nullable()
715
+ ).max(64e3).optional().nullable()
716
716
  }).describe(
717
717
  "Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`."
718
718
  )
@@ -720,7 +720,7 @@ var QueryItemsRequest = z.object({
720
720
  ])
721
721
  ).describe("Filter, sort, and paging to apply to the query.")
722
722
  });
723
- var QueryItemsResponse = z.object({
723
+ var QueryItemsResponse = /* @__PURE__ */ z.object({
724
724
  items: z.array(
725
725
  z.object({
726
726
  _id: z.string().describe("Benefit item ID.").regex(
@@ -769,10 +769,10 @@ var QueryItemsResponse = z.object({
769
769
  cursors: z.object({
770
770
  next: z.string().describe(
771
771
  "Cursor string pointing to the next page in the list of results."
772
- ).max(16e3).optional().nullable(),
772
+ ).max(64e3).optional().nullable(),
773
773
  prev: z.string().describe(
774
774
  "Cursor pointing to the previous page in the list of results."
775
- ).max(16e3).optional().nullable()
775
+ ).max(64e3).optional().nullable()
776
776
  }).describe(
777
777
  "Cursor strings that point to the next page, previous page, or both."
778
778
  ).optional(),
@@ -781,14 +781,14 @@ var QueryItemsResponse = z.object({
781
781
  ).optional().nullable()
782
782
  }).describe("Metadata for paginated results.").optional()
783
783
  });
784
- var CountItemsRequest = z.object({
784
+ var CountItemsRequest = /* @__PURE__ */ z.object({
785
785
  options: z.object({
786
786
  filter: z.record(z.string(), z.any()).describe(
787
787
  "Items to count.\n\nFilter options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)."
788
788
  ).optional().nullable()
789
789
  }).optional()
790
790
  });
791
- var CountItemsResponse = z.object({
791
+ var CountItemsResponse = /* @__PURE__ */ z.object({
792
792
  count: z.number().int().describe("Number of items fulfilling the specified filter conditions.").optional()
793
793
  });
794
794
  export {