@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
@@ -57,7 +57,7 @@ module.exports = __toCommonJS(schemas_exports);
57
57
 
58
58
  // src/online-programs-v3-section-sections.schemas.ts
59
59
  var z = __toESM(require("zod"));
60
- var CreateSectionRequest = z.object({
60
+ var CreateSectionRequest = /* @__PURE__ */ z.object({
61
61
  section: z.object({
62
62
  _id: z.string().describe("Section ID.").regex(
63
63
  /^[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}$/,
@@ -112,7 +112,7 @@ var CreateSectionRequest = z.object({
112
112
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
113
113
  }).optional()
114
114
  });
115
- var CreateSectionResponse = z.object({
115
+ var CreateSectionResponse = /* @__PURE__ */ z.object({
116
116
  _id: z.string().describe("Section ID.").regex(
117
117
  /^[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}$/,
118
118
  "Must be a valid GUID"
@@ -159,7 +159,7 @@ var CreateSectionResponse = z.object({
159
159
  ).optional()
160
160
  }).describe("Custom field data for the section.").optional()
161
161
  });
162
- var BulkCreateSectionsRequest = z.object({
162
+ var BulkCreateSectionsRequest = /* @__PURE__ */ z.object({
163
163
  sections: z.array(
164
164
  z.object({
165
165
  _id: z.string().describe("Section ID.").regex(
@@ -216,7 +216,7 @@ var BulkCreateSectionsRequest = z.object({
216
216
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
217
217
  }).optional()
218
218
  });
219
- var BulkCreateSectionsResponse = z.object({
219
+ var BulkCreateSectionsResponse = /* @__PURE__ */ z.object({
220
220
  results: z.array(
221
221
  z.object({
222
222
  itemMetadata: z.object({
@@ -296,7 +296,7 @@ var BulkCreateSectionsResponse = z.object({
296
296
  ).optional()
297
297
  }).describe("Summary of the bulk create operation.").optional()
298
298
  });
299
- var BulkCreateSectionRequest = z.object({
299
+ var BulkCreateSectionRequest = /* @__PURE__ */ z.object({
300
300
  sections: z.array(
301
301
  z.object({
302
302
  _id: z.string().describe("Section ID.").regex(
@@ -353,7 +353,7 @@ var BulkCreateSectionRequest = z.object({
353
353
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
354
354
  }).optional()
355
355
  });
356
- var BulkCreateSectionResponse = z.object({
356
+ var BulkCreateSectionResponse = /* @__PURE__ */ z.object({
357
357
  results: z.array(
358
358
  z.object({
359
359
  itemMetadata: z.object({
@@ -433,7 +433,7 @@ var BulkCreateSectionResponse = z.object({
433
433
  ).optional()
434
434
  }).describe("Summary of the bulk create operation.").optional()
435
435
  });
436
- var GetSectionRequest = z.object({
436
+ var GetSectionRequest = /* @__PURE__ */ z.object({
437
437
  sectionId: z.string().describe("ID of the Section to retrieve.").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"
@@ -443,7 +443,7 @@ var GetSectionRequest = z.object({
443
443
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
444
444
  }).optional()
445
445
  });
446
- var GetSectionResponse = z.object({
446
+ var GetSectionResponse = /* @__PURE__ */ z.object({
447
447
  _id: z.string().describe("Section ID.").regex(
448
448
  /^[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}$/,
449
449
  "Must be a valid GUID"
@@ -490,7 +490,7 @@ var GetSectionResponse = z.object({
490
490
  ).optional()
491
491
  }).describe("Custom field data for the section.").optional()
492
492
  });
493
- var UpdateSectionRequest = z.object({
493
+ var UpdateSectionRequest = /* @__PURE__ */ z.object({
494
494
  _id: z.string().describe("Section ID.").regex(
495
495
  /^[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}$/,
496
496
  "Must be a valid GUID"
@@ -551,7 +551,7 @@ var UpdateSectionRequest = z.object({
551
551
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
552
552
  }).optional()
553
553
  });
554
- var UpdateSectionResponse = z.object({
554
+ var UpdateSectionResponse = /* @__PURE__ */ z.object({
555
555
  _id: z.string().describe("Section ID.").regex(
556
556
  /^[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}$/,
557
557
  "Must be a valid GUID"
@@ -598,14 +598,14 @@ var UpdateSectionResponse = z.object({
598
598
  ).optional()
599
599
  }).describe("Custom field data for the section.").optional()
600
600
  });
601
- var DeleteSectionRequest = z.object({
601
+ var DeleteSectionRequest = /* @__PURE__ */ z.object({
602
602
  sectionId: z.string().describe("ID of the section to delete.").regex(
603
603
  /^[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}$/,
604
604
  "Must be a valid GUID"
605
605
  )
606
606
  });
607
- var DeleteSectionResponse = z.object({});
608
- var QuerySectionsRequest = z.object({
607
+ var DeleteSectionResponse = /* @__PURE__ */ z.object({});
608
+ var QuerySectionsRequest = /* @__PURE__ */ z.object({
609
609
  query: z.intersection(
610
610
  z.object({
611
611
  filter: z.record(z.string(), z.any()).describe(
@@ -646,7 +646,7 @@ var QuerySectionsRequest = z.object({
646
646
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
647
647
  }).optional()
648
648
  });
649
- var QuerySectionsResponse = z.object({
649
+ var QuerySectionsResponse = /* @__PURE__ */ z.object({
650
650
  sections: z.array(
651
651
  z.object({
652
652
  _id: z.string().describe("Section ID.").regex(
@@ -716,7 +716,7 @@ var QuerySectionsResponse = z.object({
716
716
  ).optional().nullable()
717
717
  }).describe("Paging metadata.").optional()
718
718
  });
719
- var ListSectionsRequest = z.object({
719
+ var ListSectionsRequest = /* @__PURE__ */ z.object({
720
720
  programId: z.string().describe("Program ID to list sections for.").regex(
721
721
  /^[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}$/,
722
722
  "Must be a valid GUID"
@@ -726,7 +726,7 @@ var ListSectionsRequest = z.object({
726
726
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
727
727
  }).optional()
728
728
  });
729
- var ListSectionsResponse = z.object({
729
+ var ListSectionsResponse = /* @__PURE__ */ z.object({
730
730
  sections: z.array(
731
731
  z.object({
732
732
  _id: z.string().describe("Section ID.").regex(
@@ -780,7 +780,7 @@ var ListSectionsResponse = z.object({
780
780
  })
781
781
  ).max(1e3).optional()
782
782
  });
783
- var CloneSectionRequest = z.object({
783
+ var CloneSectionRequest = /* @__PURE__ */ z.object({
784
784
  sectionId: z.string().describe("ID of the section to clone.").regex(
785
785
  /^[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}$/,
786
786
  "Must be a valid GUID"
@@ -789,7 +789,7 @@ var CloneSectionRequest = z.object({
789
789
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
790
790
  }).optional()
791
791
  });
792
- var CloneSectionResponse = z.object({
792
+ var CloneSectionResponse = /* @__PURE__ */ z.object({
793
793
  section: z.object({
794
794
  _id: z.string().describe("Section ID.").regex(
795
795
  /^[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}$/,
@@ -841,7 +841,7 @@ var CloneSectionResponse = z.object({
841
841
  }).describe("Custom field data for the section.").optional()
842
842
  }).describe("Cloned section.").optional()
843
843
  });
844
- var MoveSectionRequest = z.object({
844
+ var MoveSectionRequest = /* @__PURE__ */ z.object({
845
845
  options: z.object({
846
846
  sectionId: z.string().describe("ID of the section to move.").regex(
847
847
  /^[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}$/,
@@ -857,7 +857,7 @@ var MoveSectionRequest = z.object({
857
857
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
858
858
  }).optional()
859
859
  });
860
- var MoveSectionResponse = z.object({
860
+ var MoveSectionResponse = /* @__PURE__ */ z.object({
861
861
  section: z.object({
862
862
  _id: z.string().describe("Section ID.").regex(
863
863
  /^[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}$/,
@@ -909,7 +909,7 @@ var MoveSectionResponse = z.object({
909
909
  }).describe("Custom field data for the section.").optional()
910
910
  }).describe("Moved section.").optional()
911
911
  });
912
- var PublishSectionRequest = z.object({
912
+ var PublishSectionRequest = /* @__PURE__ */ z.object({
913
913
  options: z.object({
914
914
  sectionId: z.string().describe("ID of the section to publish.").regex(
915
915
  /^[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}$/,
@@ -919,7 +919,7 @@ var PublishSectionRequest = z.object({
919
919
  fields: z.array(z.enum(["TOTAL_STEPS"])).max(1).optional()
920
920
  }).optional()
921
921
  });
922
- var PublishSectionResponse = z.object({
922
+ var PublishSectionResponse = /* @__PURE__ */ z.object({
923
923
  section: z.object({
924
924
  _id: z.string().describe("Section ID.").regex(
925
925
  /^[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}$/,