@wix/auto_sdk_online-programs_sections 1.0.14 → 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.
- package/build/cjs/index.d.ts +18 -6
- package/build/cjs/index.js +163 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +63 -14
- package/build/cjs/index.typings.js +153 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +35 -4
- package/build/cjs/meta.js +122 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +101 -1
- package/build/cjs/schemas.js +168 -21
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +18 -6
- package/build/es/index.mjs +162 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +63 -14
- package/build/es/index.typings.mjs +152 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +35 -4
- package/build/es/meta.mjs +121 -4
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +101 -1
- package/build/es/schemas.mjs +166 -21
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +18 -6
- package/build/internal/cjs/index.js +163 -7
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +165 -14
- package/build/internal/cjs/index.typings.js +153 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +237 -4
- package/build/internal/cjs/meta.js +122 -4
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +101 -1
- package/build/internal/cjs/schemas.js +168 -21
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +18 -6
- package/build/internal/es/index.mjs +162 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +165 -14
- package/build/internal/es/index.typings.mjs +152 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +237 -4
- package/build/internal/es/meta.mjs +121 -4
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +101 -1
- package/build/internal/es/schemas.mjs +166 -21
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../schemas.ts","../../../src/online-programs-v3-section-sections.schemas.ts"],"sourcesContent":["export * from './src/online-programs-v3-section-sections.schemas.js';\n","import * as z from 'zod';\n\nexport const CreateSectionRequest = z.object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z.enum(['DRAFT', 'PUBLISHED']).optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Section to create. Must include `section.program_id`.'),\n options: z\n .object({\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const CreateSectionResponse = z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n});\nexport const BulkCreateSectionRequest = z.object({\n sections: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z.enum(['DRAFT', 'PUBLISHED']).optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n )\n .min(1)\n .max(100),\n options: z\n .object({\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const BulkCreateSectionResponse = z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Metadata for the bulk operation result.')\n .optional(),\n item: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Created section.')\n .optional(),\n action: z\n .enum(['UNKNOWN_ACTION_TYPE', 'INSERT', 'UPDATE', 'DELETE'])\n .describe('Action associated with the bulk result.')\n .optional(),\n })\n )\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe('Summary of the bulk create operation.')\n .optional(),\n});\nexport const GetSectionRequest = z.object({\n sectionId: z\n .string()\n .describe('ID of the Section to retrieve.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z\n .object({\n descriptionFieldSet: z.enum(['STANDARD', 'EXTENDED']).optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const GetSectionResponse = z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n});\nexport const UpdateSectionRequest = z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z\n .object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n ),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z.enum(['DRAFT', 'PUBLISHED']).optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe(\n 'Section to update. Include `section.id`, `section.revision`, and the fields to update.'\n )\n .optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const UpdateSectionResponse = z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n});\nexport const DeleteSectionRequest = z.object({\n sectionId: z\n .string()\n .describe('ID of the section to delete.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n});\nexport const DeleteSectionResponse = z.object({});\nexport const QuerySectionsRequest = z.object({\n query: z\n .intersection(\n z.object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter object.\\n\\nLearn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).'\n )\n .optional()\n .nullable(),\n sort: z\n .array(\n z.object({\n fieldName: z\n .string()\n .describe('Name of the field to sort by.')\n .max(512)\n .optional(),\n order: z.enum(['ASC', 'DESC']).optional(),\n })\n )\n .max(5)\n .optional(),\n }),\n z.xor([\n z.object({ cursorPaging: z.never().optional() }),\n z.object({\n cursorPaging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Maximum number of items to return in the results.')\n .min(0)\n .max(100)\n .optional()\n .nullable(),\n cursor: z\n .string()\n .describe(\n \"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.\"\n )\n .max(16000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Cursor paging options.\\n\\nLearn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).'\n ),\n }),\n ])\n )\n .describe('WQL expression.'),\n options: z\n .object({\n descriptionFieldSet: z.enum(['STANDARD', 'EXTENDED']).optional(),\n programId: z\n .string()\n .describe(\n 'Deprecated. Program ID used to scope the query. Use `query.filter` instead.'\n )\n .optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const QuerySectionsResponse = z.object({\n sections: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in current page.')\n .optional()\n .nullable(),\n cursors: z\n .object({\n next: z\n .string()\n .describe(\n 'Cursor string pointing to the next page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to the previous page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Cursor strings that point to the next page, previous page, or both.'\n )\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n 'Whether there are more pages to retrieve following the current page.\\n\\n+ `true`: Another page of results can be retrieved.\\n+ `false`: This is the last page.'\n )\n .optional()\n .nullable(),\n })\n .describe('Paging metadata.')\n .optional(),\n});\nexport const ListSectionsRequest = z.object({\n programId: z\n .string()\n .describe('Program ID to list sections for.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z\n .object({\n descriptionFieldSet: z.enum(['STANDARD', 'EXTENDED']).optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const ListSectionsResponse = z.object({\n sections: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n )\n .max(1000)\n .optional(),\n});\nexport const CloneSectionRequest = z.object({\n sectionId: z\n .string()\n .describe('ID of the section to clone.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z\n .object({\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const CloneSectionResponse = z.object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Cloned section.')\n .optional(),\n});\nexport const MoveSectionRequest = z.object({\n options: z\n .object({\n sectionId: z\n .string()\n .describe('ID of the section to move.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n afterSectionId: z\n .string()\n .describe(\n 'ID of the section that the moved section should be placed after. Leave empty to move the section to the beginning of the program.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Current revision of the section.')\n .optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const MoveSectionResponse = z.object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Moved section.')\n .optional(),\n});\nexport const PublishSectionRequest = z.object({\n options: z\n .object({\n sectionId: z\n .string()\n .describe('ID of the section to publish.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Current revision of the section.')\n .optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const PublishSectionResponse = z.object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Published section.')\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,uBAAyB,SAAO;AAAA,EAC3C,SACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,aAAa,EACtB;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,E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,SAAS;AACd,CAAC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../schemas.ts","../../../src/online-programs-v3-section-sections.schemas.ts"],"sourcesContent":["export * from './src/online-programs-v3-section-sections.schemas.js';\n","import * as z from 'zod';\n\nexport const CreateSectionRequest = /*#__PURE__*/ z.object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z.enum(['DRAFT', 'PUBLISHED']).optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Section to create. Must include `section.program_id`.'),\n options: z\n .object({\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const CreateSectionResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n});\nexport const BulkCreateSectionsRequest = /*#__PURE__*/ z.object({\n sections: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z.enum(['DRAFT', 'PUBLISHED']).optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n )\n .min(1)\n .max(100),\n options: z\n .object({\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const BulkCreateSectionsResponse = /*#__PURE__*/ z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Metadata for the bulk operation result.')\n .optional(),\n item: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Created section.')\n .optional(),\n action: z\n .enum(['UNKNOWN_ACTION_TYPE', 'INSERT', 'UPDATE', 'DELETE'])\n .describe('Action associated with the bulk result.')\n .optional(),\n })\n )\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe('Summary of the bulk create operation.')\n .optional(),\n});\nexport const BulkCreateSectionRequest = /*#__PURE__*/ z.object({\n sections: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z.enum(['DRAFT', 'PUBLISHED']).optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n )\n .min(1)\n .max(100),\n options: z\n .object({\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const BulkCreateSectionResponse = /*#__PURE__*/ z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Metadata for the bulk operation result.')\n .optional(),\n item: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Created section.')\n .optional(),\n action: z\n .enum(['UNKNOWN_ACTION_TYPE', 'INSERT', 'UPDATE', 'DELETE'])\n .describe('Action associated with the bulk result.')\n .optional(),\n })\n )\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe('Summary of the bulk create operation.')\n .optional(),\n});\nexport const GetSectionRequest = /*#__PURE__*/ z.object({\n sectionId: z\n .string()\n .describe('ID of the Section to retrieve.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z\n .object({\n descriptionFieldSet: z.enum(['STANDARD', 'EXTENDED']).optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const GetSectionResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n});\nexport const UpdateSectionRequest = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z\n .object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n ),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z.enum(['DRAFT', 'PUBLISHED']).optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe(\n 'Section to update. Include `section.id`, `section.revision`, and the fields to update.'\n )\n .optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const UpdateSectionResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n});\nexport const DeleteSectionRequest = /*#__PURE__*/ z.object({\n sectionId: z\n .string()\n .describe('ID of the section to delete.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n});\nexport const DeleteSectionResponse = /*#__PURE__*/ z.object({});\nexport const QuerySectionsRequest = /*#__PURE__*/ z.object({\n query: z\n .intersection(\n z.object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter object.\\n\\nLearn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).'\n )\n .optional()\n .nullable(),\n sort: z\n .array(\n z.object({\n fieldName: z\n .string()\n .describe('Name of the field to sort by.')\n .max(512)\n .optional(),\n order: z.enum(['ASC', 'DESC']).optional(),\n origin: z\n .object({\n latitude: z\n .number()\n .describe('Address latitude.')\n .optional()\n .nullable(),\n longitude: z\n .number()\n .describe('Address longitude.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Origin point for geo-distance sorting on a GEO field\\nresults are ordered by distance from this point (ASC = nearest first, DESC = farthest first).'\n )\n .optional(),\n })\n )\n .max(5)\n .optional(),\n }),\n z.xor([\n z.object({ cursorPaging: z.never().optional() }),\n z.object({\n cursorPaging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Maximum number of items to return in the results.')\n .min(0)\n .max(100)\n .optional()\n .nullable(),\n cursor: z\n .string()\n .describe(\n \"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.\"\n )\n .max(16000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Cursor paging options.\\n\\nLearn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).'\n ),\n }),\n ])\n )\n .describe('WQL expression.'),\n options: z\n .object({\n descriptionFieldSet: z.enum(['STANDARD', 'EXTENDED']).optional(),\n programId: z\n .string()\n .describe(\n 'Deprecated. Program ID used to scope the query. Use `query.filter` instead.'\n )\n .optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const QuerySectionsResponse = /*#__PURE__*/ z.object({\n sections: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in current page.')\n .optional()\n .nullable(),\n cursors: z\n .object({\n next: z\n .string()\n .describe(\n 'Cursor string pointing to the next page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to the previous page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Cursor strings that point to the next page, previous page, or both.'\n )\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n 'Whether there are more pages to retrieve following the current page.\\n\\n+ `true`: Another page of results can be retrieved.\\n+ `false`: This is the last page.'\n )\n .optional()\n .nullable(),\n })\n .describe('Paging metadata.')\n .optional(),\n});\nexport const ListSectionsRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('Program ID to list sections for.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z\n .object({\n descriptionFieldSet: z.enum(['STANDARD', 'EXTENDED']).optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const ListSectionsResponse = /*#__PURE__*/ z.object({\n sections: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n )\n .max(1000)\n .optional(),\n});\nexport const CloneSectionRequest = /*#__PURE__*/ z.object({\n sectionId: z\n .string()\n .describe('ID of the section to clone.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z\n .object({\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const CloneSectionResponse = /*#__PURE__*/ z.object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Cloned section.')\n .optional(),\n});\nexport const MoveSectionRequest = /*#__PURE__*/ z.object({\n options: z\n .object({\n sectionId: z\n .string()\n .describe('ID of the section to move.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n afterSectionId: z\n .string()\n .describe(\n 'ID of the section that the moved section should be placed after. Leave empty to move the section to the beginning of the program.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Current revision of the section.')\n .optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const MoveSectionResponse = /*#__PURE__*/ z.object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Moved section.')\n .optional(),\n});\nexport const PublishSectionRequest = /*#__PURE__*/ z.object({\n options: z\n .object({\n sectionId: z\n .string()\n .describe('ID of the section to publish.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Current revision of the section.')\n .optional(),\n fields: z\n .array(z.enum(['TOTAL_STEPS']))\n .max(1)\n .optional(),\n })\n .optional(),\n});\nexport const PublishSectionResponse = /*#__PURE__*/ z.object({\n section: z\n .object({\n _id: z\n .string()\n .describe('Section ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the section was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the section was last updated.')\n .optional()\n .nullable(),\n programId: z\n .string()\n .describe(\n \"Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().max(500).optional(),\n details: z.string().max(10000000).optional().nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({ video: z.never().optional(), image: z.string() }),\n z.object({ image: z.never().optional(), video: z.string() }),\n ])\n )\n .describe(\n 'Section title and deprecated backward-compatibility content fields.'\n )\n .optional(),\n state: z\n .enum(['DRAFT', 'PUBLISHED'])\n .describe('Publication state of the section.')\n .optional(),\n oldTotalSteps: z\n .number()\n .int()\n .describe('Legacy total number of steps in the section.')\n .optional(),\n totalSteps: z\n .number()\n .int()\n .describe('Total number of steps in the section.')\n .optional()\n .nullable(),\n trialSection: z\n .boolean()\n .describe(\n 'Whether participants can access the section as trial content before purchasing the parent program.'\n )\n .optional(),\n ordering: z\n .number()\n .describe(\n 'Position rank used to order sections within a program. To reorder sections, call Move Section.'\n )\n .optional(),\n delayInDays: z\n .number()\n .int()\n .describe(\n 'Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.'\n )\n .min(0)\n .max(5000)\n .optional(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Custom field data for the section.')\n .optional(),\n })\n .describe('Published section.')\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,uBAAqC,gBAAE,SAAO;AAAA,EACzD,SACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,aAAa,EACtB;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,wCAAwC,EACjD,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,6CAA6C,EACtD,SAAS,EACT,SAAS;AAAA,IACZ,WACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS;AAAA,IACZ,aACG;AAAA,MACG,SAAO;AAAA,QACP,OAAS,SAAO,EAAE,IAAI,GAAG,EAAE,SAAS;AAAA,QACpC,SAAW,SAAO,EAAE,IA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C;AAAA,IACF,EACC,SAAS;AAAA,IACZ,OACG,OAAK,CAAC,SAAS,WAAW,CAAC,EAC3B,SAAS,mCAAmC,EAC5C,SAAS;AAAA,IACZ,eACG,SAAO,EACP,IAAI,EACJ,SAAS,8CAA8C,EACvD,SAAS;AAAA,IACZ,YACG,SAAO,EACP,IAAI,EACJ,SAAS,uCAAuC,EAChD,SAAS,EACT,SAAS;AAAA,IACZ,cACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,UACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,aACG,SAAO,EACP,IAAI,EACJ;AAAA,MACC;AAAA,IACF,EACC,IAAI,CAAC,EACL,IAAI,GAAI,EACR,SAAS;AAAA,IACZ,gBACG,SAAO;AAAA,MACN,YACG,SAAS,SAAO,GAAK,SAAS,SAAO,GAAK,MAAI,CAAC,CAAC,EAChD;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,IACd,CAAC,EACA,SAAS,oCAAoC,EAC7C,SAAS;AAAA,EACd,CAAC,EACA,SAAS,oBAAoB,EAC7B,SAAS;AACd,CAAC;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { Section, CreateSectionOptions, BulkCreateSectionOptions, BulkCreateSectionResponse, GetSectionOptions, UpdateSectionOptions, ListSectionsOptions, ListSectionsResponse, CloneSectionOptions, CloneSectionResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse, SectionQuery, QuerySectionsOptions, typedQuerySections, SectionsQueryBuilder } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, ActionEvent, ApplicationError, BulkActionMetadata, BulkActionType, BulkActionTypeWithLiterals, BulkCloneSectionRequest, BulkCloneSectionResponse, BulkCreateSectionMigrationRequest, BulkCreateSectionMigrationResponse, BulkCreateSectionRequest, BulkSectionResult, CloneSectionRequest, CommonQueryWithEntityContext, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteAllProgramSectionsRequest, DeleteAllProgramSectionsResponse, DeleteByFilterOperation, DeleteByIdsOperation, DeleteSectionRequest, DeleteSectionResponse, Description, DescriptionFieldSet, DescriptionFieldSetWithLiterals, DescriptionMediaOneOf, DocumentImage, DocumentPayload, DocumentUpdateOperation, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Enum, EnumWithLiterals, ExtendedFields, FocalPoint, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, IndexDocument, ItemMetadata, ListSectionsRequest, MessageEnvelope, MoveSectionRequest, PublishSectionRequest, QuerySectionsRequest, QuerySectionsResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RestoreSectionFromTrashRequest, RestoreSectionFromTrashResponse, SearchIndexingNotification, SearchIndexingNotificationState, SearchIndexingNotificationStateWithLiterals, SectionCloned, SectionDeleted, SectionMoved, SectionPublished, SectionQuerySpec, SectionUpdated, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, UpdateByFilterOperation, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, UpdateExistingOperation, UpdateSectionRequest, UpdateSectionResponse, VideoResolution, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
2
|
+
import { Section, CreateSectionOptions, BulkCreateSectionsOptions, BulkCreateSectionsResponse, BulkCreateSectionOptions, BulkCreateSectionResponse, GetSectionOptions, UpdateSectionOptions, ListSectionsOptions, ListSectionsResponse, CloneSectionOptions, CloneSectionResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse, SectionQuery, QuerySectionsOptions, typedQuerySections, SectionsQueryBuilder } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, AddressLocation, ApplicationError, BulkActionMetadata, BulkActionType, BulkActionTypeWithLiterals, BulkCloneSectionRequest, BulkCloneSectionResponse, BulkCreateSectionMigrationRequest, BulkCreateSectionMigrationResponse, BulkCreateSectionRequest, BulkCreateSectionsRequest, BulkSectionResult, CloneSectionRequest, CommonQueryWithEntityContext, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteAllProgramSectionsRequest, DeleteAllProgramSectionsResponse, DeleteByFilterOperation, DeleteByIdsOperation, DeleteSectionRequest, DeleteSectionResponse, Description, DescriptionFieldSet, DescriptionFieldSetWithLiterals, DescriptionMediaOneOf, DocumentImage, DocumentPayload, DocumentUpdateOperation, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Enum, EnumWithLiterals, ExtendedFields, FocalPoint, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, IndexDocument, ItemMetadata, ListSectionsRequest, MessageEnvelope, MoveSectionRequest, PublishSectionRequest, QuerySectionsRequest, QuerySectionsResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RestoreSectionFromTrashRequest, RestoreSectionFromTrashResponse, SearchIndexingNotification, SearchIndexingNotificationState, SearchIndexingNotificationStateWithLiterals, SectionCloned, SectionDeleted, SectionMoved, SectionPublished, SectionQuerySpec, SectionUpdated, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, UpdateByFilterOperation, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, UpdateExistingOperation, UpdateSectionRequest, UpdateSectionResponse, VideoResolution, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createSection$1(httpClient: HttpClient): CreateSectionSignature;
|
|
6
6
|
interface CreateSectionSignature {
|
|
@@ -9,14 +9,14 @@ interface CreateSectionSignature {
|
|
|
9
9
|
*
|
|
10
10
|
* The section is added to the program identified by `section.program_id`. Provide that program ID in the request. Set `section.description.title` for the section title. `section.description.details`, `section.description.image`, and `section.description.video` are deprecated backward-compatibility fields. The stored ordering value is assigned automatically.
|
|
11
11
|
*
|
|
12
|
-
* To create multiple sections in a single API call, call [Bulk Create
|
|
12
|
+
* To create multiple sections in a single API call, call [Bulk Create Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/bulk-create-sections).
|
|
13
13
|
* @param - Section to create. Must include `section.program_id`.
|
|
14
14
|
* @returns Created section.
|
|
15
15
|
*/
|
|
16
16
|
(section: Section, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `state` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
17
17
|
}
|
|
18
|
-
declare function
|
|
19
|
-
interface
|
|
18
|
+
declare function bulkCreateSections$1(httpClient: HttpClient): BulkCreateSectionsSignature;
|
|
19
|
+
interface BulkCreateSectionsSignature {
|
|
20
20
|
/**
|
|
21
21
|
* Creates up to 100 sections in a single API call.
|
|
22
22
|
*
|
|
@@ -25,6 +25,17 @@ interface BulkCreateSectionSignature {
|
|
|
25
25
|
* To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).
|
|
26
26
|
* @param - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
|
|
27
27
|
*/
|
|
28
|
+
(sections: Section[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.programId` | `results.${number}.item.description.title` | `results.${number}.item.state` | `results.${number}.item.oldTotalSteps` | `results.${number}.item.trialSection` | `results.${number}.item.ordering` | `results.${number}.item.delayInDays` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
29
|
+
}
|
|
30
|
+
declare function bulkCreateSection$1(httpClient: HttpClient): BulkCreateSectionSignature;
|
|
31
|
+
interface BulkCreateSectionSignature {
|
|
32
|
+
/**
|
|
33
|
+
* Deprecated. Use [Bulk Create Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/bulk-create-sections).
|
|
34
|
+
*
|
|
35
|
+
* To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).
|
|
36
|
+
* @param - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
|
|
37
|
+
* @deprecated
|
|
38
|
+
*/
|
|
28
39
|
(sections: Section[], options?: BulkCreateSectionOptions): Promise<NonNullablePaths<BulkCreateSectionResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.programId` | `results.${number}.item.description.title` | `results.${number}.item.state` | `results.${number}.item.oldTotalSteps` | `results.${number}.item.trialSection` | `results.${number}.item.ordering` | `results.${number}.item.delayInDays` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
29
40
|
}
|
|
30
41
|
declare function getSection$1(httpClient: HttpClient): GetSectionSignature;
|
|
@@ -109,6 +120,7 @@ declare function customQuerySections(httpClient: HttpClient): {
|
|
|
109
120
|
(options?: QuerySectionsOptions): SectionsQueryBuilder;
|
|
110
121
|
};
|
|
111
122
|
declare const createSection: MaybeContext<BuildRESTFunction<typeof createSection$1> & typeof createSection$1>;
|
|
123
|
+
declare const bulkCreateSections: MaybeContext<BuildRESTFunction<typeof bulkCreateSections$1> & typeof bulkCreateSections$1>;
|
|
112
124
|
declare const bulkCreateSection: MaybeContext<BuildRESTFunction<typeof bulkCreateSection$1> & typeof bulkCreateSection$1>;
|
|
113
125
|
declare const getSection: MaybeContext<BuildRESTFunction<typeof getSection$1> & typeof getSection$1>;
|
|
114
126
|
declare const updateSection: MaybeContext<BuildRESTFunction<typeof updateSection$1> & typeof updateSection$1>;
|
|
@@ -119,4 +131,4 @@ declare const moveSection: MaybeContext<BuildRESTFunction<typeof moveSection$1>
|
|
|
119
131
|
declare const publishSection: MaybeContext<BuildRESTFunction<typeof publishSection$1> & typeof publishSection$1>;
|
|
120
132
|
declare const querySections: MaybeContext<BuildRESTFunction<typeof customQuerySections> & typeof customQuerySections>;
|
|
121
133
|
|
|
122
|
-
export { BulkCreateSectionOptions, BulkCreateSectionResponse, CloneSectionOptions, CloneSectionResponse, CreateSectionOptions, GetSectionOptions, ListSectionsOptions, ListSectionsResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse, QuerySectionsOptions, Section, SectionQuery, SectionsQueryBuilder, UpdateSectionOptions, bulkCreateSection, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, publishSection, querySections, updateSection };
|
|
134
|
+
export { BulkCreateSectionOptions, BulkCreateSectionResponse, BulkCreateSectionsOptions, BulkCreateSectionsResponse, CloneSectionOptions, CloneSectionResponse, CreateSectionOptions, GetSectionOptions, ListSectionsOptions, ListSectionsResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse, QuerySectionsOptions, Section, SectionQuery, SectionsQueryBuilder, UpdateSectionOptions, bulkCreateSection, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, publishSection, querySections, updateSection };
|