@wix/auto_sdk_online-programs_sections 1.0.15 → 1.0.16

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 (35) 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 +1 -10
  4. package/build/cjs/index.typings.js +1 -3
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/schemas.js +22 -22
  8. package/build/cjs/schemas.js.map +1 -1
  9. package/build/es/index.mjs +2 -4
  10. package/build/es/index.mjs.map +1 -1
  11. package/build/es/index.typings.d.mts +1 -10
  12. package/build/es/index.typings.mjs +1 -3
  13. package/build/es/index.typings.mjs.map +1 -1
  14. package/build/es/meta.mjs.map +1 -1
  15. package/build/es/schemas.mjs +22 -22
  16. package/build/es/schemas.mjs.map +1 -1
  17. package/build/internal/cjs/index.js +2 -4
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/index.typings.d.ts +103 -10
  20. package/build/internal/cjs/index.typings.js +1 -3
  21. package/build/internal/cjs/index.typings.js.map +1 -1
  22. package/build/internal/cjs/meta.d.ts +202 -0
  23. package/build/internal/cjs/meta.js.map +1 -1
  24. package/build/internal/cjs/schemas.js +22 -22
  25. package/build/internal/cjs/schemas.js.map +1 -1
  26. package/build/internal/es/index.mjs +2 -4
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/index.typings.d.mts +103 -10
  29. package/build/internal/es/index.typings.mjs +1 -3
  30. package/build/internal/es/index.typings.mjs.map +1 -1
  31. package/build/internal/es/meta.d.mts +202 -0
  32. package/build/internal/es/meta.mjs.map +1 -1
  33. package/build/internal/es/schemas.mjs +22 -22
  34. package/build/internal/es/schemas.mjs.map +1 -1
  35. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  // src/online-programs-v3-section-sections.schemas.ts
2
2
  import * as z from "zod";
3
- var CreateSectionRequest = z.object({
3
+ var CreateSectionRequest = /* @__PURE__ */ z.object({
4
4
  section: z.object({
5
5
  _id: z.string().describe("Section 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}$/,
@@ -55,7 +55,7 @@ var CreateSectionRequest = z.object({
55
55
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
56
56
  }).optional()
57
57
  });
58
- var CreateSectionResponse = z.object({
58
+ var CreateSectionResponse = /* @__PURE__ */ z.object({
59
59
  _id: z.string().describe("Section ID.").regex(
60
60
  /^[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}$/,
61
61
  "Must be a valid GUID"
@@ -102,7 +102,7 @@ var CreateSectionResponse = z.object({
102
102
  ).optional()
103
103
  }).describe("Custom field data for the section.").optional()
104
104
  });
105
- var BulkCreateSectionsRequest = z.object({
105
+ var BulkCreateSectionsRequest = /* @__PURE__ */ z.object({
106
106
  sections: z.array(
107
107
  z.object({
108
108
  _id: z.string().describe("Section ID.").regex(
@@ -159,7 +159,7 @@ var BulkCreateSectionsRequest = z.object({
159
159
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
160
160
  }).optional()
161
161
  });
162
- var BulkCreateSectionsResponse = z.object({
162
+ var BulkCreateSectionsResponse = /* @__PURE__ */ z.object({
163
163
  results: z.array(
164
164
  z.object({
165
165
  itemMetadata: z.object({
@@ -239,7 +239,7 @@ var BulkCreateSectionsResponse = z.object({
239
239
  ).optional()
240
240
  }).describe("Summary of the bulk create operation.").optional()
241
241
  });
242
- var BulkCreateSectionRequest = z.object({
242
+ var BulkCreateSectionRequest = /* @__PURE__ */ z.object({
243
243
  sections: z.array(
244
244
  z.object({
245
245
  _id: z.string().describe("Section ID.").regex(
@@ -296,7 +296,7 @@ var BulkCreateSectionRequest = z.object({
296
296
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
297
297
  }).optional()
298
298
  });
299
- var BulkCreateSectionResponse = z.object({
299
+ var BulkCreateSectionResponse = /* @__PURE__ */ z.object({
300
300
  results: z.array(
301
301
  z.object({
302
302
  itemMetadata: z.object({
@@ -376,7 +376,7 @@ var BulkCreateSectionResponse = z.object({
376
376
  ).optional()
377
377
  }).describe("Summary of the bulk create operation.").optional()
378
378
  });
379
- var GetSectionRequest = z.object({
379
+ var GetSectionRequest = /* @__PURE__ */ z.object({
380
380
  sectionId: z.string().describe("ID of the Section to retrieve.").regex(
381
381
  /^[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}$/,
382
382
  "Must be a valid GUID"
@@ -386,7 +386,7 @@ var GetSectionRequest = z.object({
386
386
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
387
387
  }).optional()
388
388
  });
389
- var GetSectionResponse = z.object({
389
+ var GetSectionResponse = /* @__PURE__ */ z.object({
390
390
  _id: z.string().describe("Section ID.").regex(
391
391
  /^[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}$/,
392
392
  "Must be a valid GUID"
@@ -433,7 +433,7 @@ var GetSectionResponse = z.object({
433
433
  ).optional()
434
434
  }).describe("Custom field data for the section.").optional()
435
435
  });
436
- var UpdateSectionRequest = z.object({
436
+ var UpdateSectionRequest = /* @__PURE__ */ z.object({
437
437
  _id: z.string().describe("Section 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"
@@ -494,7 +494,7 @@ var UpdateSectionRequest = z.object({
494
494
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
495
495
  }).optional()
496
496
  });
497
- var UpdateSectionResponse = z.object({
497
+ var UpdateSectionResponse = /* @__PURE__ */ z.object({
498
498
  _id: z.string().describe("Section 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"
@@ -541,14 +541,14 @@ var UpdateSectionResponse = z.object({
541
541
  ).optional()
542
542
  }).describe("Custom field data for the section.").optional()
543
543
  });
544
- var DeleteSectionRequest = z.object({
544
+ var DeleteSectionRequest = /* @__PURE__ */ z.object({
545
545
  sectionId: z.string().describe("ID of the section to delete.").regex(
546
546
  /^[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}$/,
547
547
  "Must be a valid GUID"
548
548
  )
549
549
  });
550
- var DeleteSectionResponse = z.object({});
551
- var QuerySectionsRequest = z.object({
550
+ var DeleteSectionResponse = /* @__PURE__ */ z.object({});
551
+ var QuerySectionsRequest = /* @__PURE__ */ z.object({
552
552
  query: z.intersection(
553
553
  z.object({
554
554
  filter: z.record(z.string(), z.any()).describe(
@@ -589,7 +589,7 @@ var QuerySectionsRequest = z.object({
589
589
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
590
590
  }).optional()
591
591
  });
592
- var QuerySectionsResponse = z.object({
592
+ var QuerySectionsResponse = /* @__PURE__ */ z.object({
593
593
  sections: z.array(
594
594
  z.object({
595
595
  _id: z.string().describe("Section ID.").regex(
@@ -659,7 +659,7 @@ var QuerySectionsResponse = z.object({
659
659
  ).optional().nullable()
660
660
  }).describe("Paging metadata.").optional()
661
661
  });
662
- var ListSectionsRequest = z.object({
662
+ var ListSectionsRequest = /* @__PURE__ */ z.object({
663
663
  programId: z.string().describe("Program ID to list sections for.").regex(
664
664
  /^[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}$/,
665
665
  "Must be a valid GUID"
@@ -669,7 +669,7 @@ var ListSectionsRequest = z.object({
669
669
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
670
670
  }).optional()
671
671
  });
672
- var ListSectionsResponse = z.object({
672
+ var ListSectionsResponse = /* @__PURE__ */ z.object({
673
673
  sections: z.array(
674
674
  z.object({
675
675
  _id: z.string().describe("Section ID.").regex(
@@ -723,7 +723,7 @@ var ListSectionsResponse = z.object({
723
723
  })
724
724
  ).max(1e3).optional()
725
725
  });
726
- var CloneSectionRequest = z.object({
726
+ var CloneSectionRequest = /* @__PURE__ */ z.object({
727
727
  sectionId: z.string().describe("ID of the section to clone.").regex(
728
728
  /^[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}$/,
729
729
  "Must be a valid GUID"
@@ -732,7 +732,7 @@ var CloneSectionRequest = z.object({
732
732
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
733
733
  }).optional()
734
734
  });
735
- var CloneSectionResponse = z.object({
735
+ var CloneSectionResponse = /* @__PURE__ */ z.object({
736
736
  section: z.object({
737
737
  _id: z.string().describe("Section ID.").regex(
738
738
  /^[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}$/,
@@ -784,7 +784,7 @@ var CloneSectionResponse = z.object({
784
784
  }).describe("Custom field data for the section.").optional()
785
785
  }).describe("Cloned section.").optional()
786
786
  });
787
- var MoveSectionRequest = z.object({
787
+ var MoveSectionRequest = /* @__PURE__ */ z.object({
788
788
  options: z.object({
789
789
  sectionId: z.string().describe("ID of the section to move.").regex(
790
790
  /^[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}$/,
@@ -800,7 +800,7 @@ var MoveSectionRequest = z.object({
800
800
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
801
801
  }).optional()
802
802
  });
803
- var MoveSectionResponse = z.object({
803
+ var MoveSectionResponse = /* @__PURE__ */ z.object({
804
804
  section: z.object({
805
805
  _id: z.string().describe("Section ID.").regex(
806
806
  /^[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}$/,
@@ -852,7 +852,7 @@ var MoveSectionResponse = z.object({
852
852
  }).describe("Custom field data for the section.").optional()
853
853
  }).describe("Moved section.").optional()
854
854
  });
855
- var PublishSectionRequest = z.object({
855
+ var PublishSectionRequest = /* @__PURE__ */ z.object({
856
856
  options: z.object({
857
857
  sectionId: z.string().describe("ID of the section to publish.").regex(
858
858
  /^[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,7 +862,7 @@ var PublishSectionRequest = z.object({
862
862
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
863
863
  }).optional()
864
864
  });
865
- var PublishSectionResponse = z.object({
865
+ var PublishSectionResponse = /* @__PURE__ */ z.object({
866
866
  section: z.object({
867
867
  _id: z.string().describe("Section ID.").regex(
868
868
  /^[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}$/,