@wix/auto_sdk_online-programs_programs 1.0.26 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +2 -2
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +14 -1
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/{online-programs-v3-program-programs.universal-Bzc0F3Bx.d.ts → online-programs-v3-program-programs.universal-DHoODqUk.d.ts} +13 -0
  8. package/build/cjs/schemas.js +28 -28
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/index.d.mts +2 -2
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +2 -2
  13. package/build/es/index.typings.mjs.map +1 -1
  14. package/build/es/meta.d.mts +14 -1
  15. package/build/es/meta.mjs.map +1 -1
  16. package/build/es/{online-programs-v3-program-programs.universal-Bzc0F3Bx.d.mts → online-programs-v3-program-programs.universal-DHoODqUk.d.mts} +13 -0
  17. package/build/es/schemas.mjs +28 -28
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +2 -2
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +2 -2
  22. package/build/internal/cjs/index.typings.js.map +1 -1
  23. package/build/internal/cjs/meta.d.ts +14 -1
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/cjs/{online-programs-v3-program-programs.universal-DJHxaexy.d.ts → online-programs-v3-program-programs.universal-CauvIR3y.d.ts} +13 -0
  26. package/build/internal/cjs/schemas.js +28 -28
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/index.d.mts +2 -2
  29. package/build/internal/es/index.mjs.map +1 -1
  30. package/build/internal/es/index.typings.d.mts +2 -2
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +14 -1
  33. package/build/internal/es/meta.mjs.map +1 -1
  34. package/build/internal/es/{online-programs-v3-program-programs.universal-DJHxaexy.d.mts → online-programs-v3-program-programs.universal-CauvIR3y.d.mts} +13 -0
  35. package/build/internal/es/schemas.mjs +28 -28
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../schemas.ts","../../../src/online-programs-v3-program-programs.schemas.ts"],"sourcesContent":["export * from './src/online-programs-v3-program-programs.schemas.js';\n","import * as z from 'zod';\n\nexport const CreateProgramRequest = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z.enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED']).optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z.enum(['PUBLIC', 'PRIVATE', 'SECRET']).optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe(\n 'Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create.'\n ),\n});\nexport const CreateProgramResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum(['JOINED_TO_PROGRAM', 'STEP_COMPLETED', 'ALL_STEPS_COMPLETED'])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe('Certificate ID. Currently this is the program GUID.')\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe('ID of the social group connected to the program, if one exists.')\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe('Settings that control how video steps behave in this program.')\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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});\nexport const DuplicateProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the program to duplicate.')\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 DuplicateProgramResponse = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('New draft program created from the source program.')\n .optional(),\n});\nexport const GetProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the program 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});\nexport const GetProgramResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum(['JOINED_TO_PROGRAM', 'STEP_COMPLETED', 'ALL_STEPS_COMPLETED'])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe('Certificate ID. Currently this is the program GUID.')\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe('ID of the social group connected to the program, if one exists.')\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe('Settings that control how video steps behave in this program.')\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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});\nexport const UpdateProgramRequest = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Program 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 program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n ),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z.enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED']).optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z.enum(['PUBLIC', 'PRIVATE', 'SECRET']).optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe(\n 'Program fields to update. Include `id` and the latest `revision`.'\n ),\n});\nexport const UpdateProgramResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum(['JOINED_TO_PROGRAM', 'STEP_COMPLETED', 'ALL_STEPS_COMPLETED'])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe('Certificate ID. Currently this is the program GUID.')\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe('ID of the social group connected to the program, if one exists.')\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe('Settings that control how video steps behave in this program.')\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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});\nexport const DeleteProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the program 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 DeleteProgramResponse = /*#__PURE__*/ z.object({});\nexport const QueryProgramsRequest = /*#__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 [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).'\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(100)\n .optional(),\n }),\n z.xor([\n z.object({\n paging: z.never().optional(),\n cursorPaging: z.never().optional(),\n }),\n z.object({\n cursorPaging: z.never().optional(),\n paging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Number of items to load.')\n .min(0)\n .optional()\n .nullable(),\n offset: z.number().int().min(0).optional().nullable(),\n })\n .describe('Paging options to limit and skip the number of items.'),\n }),\n z.object({\n paging: z.never().optional(),\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 token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.'\n ),\n }),\n ])\n )\n .describe('Query used to filter, sort, and page programs.'),\n});\nexport const QueryProgramsResponse = /*#__PURE__*/ z.object({\n programs: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe('Offset that was requested.')\n .optional()\n .nullable(),\n total: z\n .number()\n .int()\n .describe(\n 'Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set.'\n )\n .optional()\n .nullable(),\n tooManyToCount: z\n .boolean()\n .describe(\n 'Flag that indicates the server failed to calculate the `total` field.'\n )\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 'Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used.'\n )\n .optional(),\n })\n .describe('Paging metadata for the query response.')\n .optional(),\n});\nexport const SearchProgramsRequest = /*#__PURE__*/ z.object({\n search: z\n .intersection(\n z.object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter object.\\n\\nLearn more about [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).'\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(10)\n .optional(),\n aggregations: z\n .array(\n z.intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation, should be unique, will appear in aggregation results.'\n )\n .max(100)\n .optional()\n .nullable(),\n type: z\n .enum([\n 'VALUE',\n 'RANGE',\n 'SCALAR',\n 'DATE_HISTOGRAM',\n 'NESTED',\n ])\n .optional(),\n fieldPath: z\n .string()\n .describe(\n 'Field to aggregate by, use dot notation to specify json path.'\n )\n .max(200)\n .optional(),\n groupBy: z\n .intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation, should be unique, will appear in aggregation results.'\n )\n .max(100)\n .optional()\n .nullable(),\n fieldPath: z\n .string()\n .describe('Field to aggregate by.')\n .max(200)\n .optional(),\n }),\n z.xor([\n z.object({ value: z.never().optional() }),\n z.object({\n value: z\n .intersection(\n z.object({\n sortType: z\n .enum(['COUNT', 'VALUE'])\n .describe(\n 'Whether to sort by number of matches or value of the field.'\n )\n .optional(),\n sortDirection: z\n .enum(['DESC', 'ASC'])\n .describe(\n 'Whether to sort in ascending or descending order.'\n )\n .optional(),\n limit: z\n .number()\n .int()\n .describe(\n 'How many aggregations to return. Can be between 1 and 250. 10 is the default.'\n )\n .optional()\n .nullable(),\n missingValues: z\n .enum(['EXCLUDE', 'INCLUDE'])\n .describe(\n 'Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n includeOptions: z.never().optional(),\n }),\n z.object({\n includeOptions: z\n .object({\n addToBucket: z\n .string()\n .describe(\n 'Specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...'\n )\n .max(20)\n .optional(),\n })\n .describe(\n 'Options for including missing values.'\n ),\n }),\n ])\n )\n .describe('Value aggregation configuration.'),\n }),\n ])\n )\n .describe('Deprecated. Use `nested` instead.')\n .optional(),\n }),\n z.xor([\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n }),\n z.object({\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n value: z\n .intersection(\n z.object({\n sortType: z\n .enum(['COUNT', 'VALUE'])\n .describe(\n 'Whether to sort by number of matches or value of the field.'\n )\n .optional(),\n sortDirection: z\n .enum(['DESC', 'ASC'])\n .describe(\n 'Whether to sort in ascending or descending order.'\n )\n .optional(),\n limit: z\n .number()\n .int()\n .describe(\n 'How many aggregations to return. Can be between 1 and 250. 10 is the default.'\n )\n .optional()\n .nullable(),\n missingValues: z\n .enum(['EXCLUDE', 'INCLUDE'])\n .describe(\n 'Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`.'\n )\n .optional(),\n }),\n z.xor([\n z.object({ includeOptions: z.never().optional() }),\n z.object({\n includeOptions: z\n .object({\n addToBucket: z\n .string()\n .describe(\n 'Specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...'\n )\n .max(20)\n .optional(),\n })\n .describe('Options for including missing values.'),\n }),\n ])\n )\n .describe('Value aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n range: z\n .object({\n buckets: z\n .array(\n z.object({\n from: z\n .number()\n .describe(\n 'Inclusive lower bound of the range. Required if `to` is not provided.'\n )\n .optional()\n .nullable(),\n to: z\n .number()\n .describe(\n 'Exclusive upper bound of the range. Required if `from` is not provided.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(50)\n .optional(),\n })\n .describe('Range aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n scalar: z\n .object({\n type: z\n .enum(['COUNT_DISTINCT', 'MIN', 'MAX'])\n .describe(\n 'Define the operator for the scalar aggregation.'\n )\n .optional(),\n })\n .describe('Scalar aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n nested: z.never().optional(),\n dateHistogram: z\n .object({\n interval: z\n .enum([\n 'YEAR',\n 'MONTH',\n 'WEEK',\n 'DAY',\n 'HOUR',\n 'MINUTE',\n 'SECOND',\n ])\n .describe('Interval for date histogram aggregation.')\n .optional(),\n })\n .describe('Date histogram aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z\n .object({\n nestedAggregations: z\n .array(\n z.intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation, should be unique, will appear in aggregation results.'\n )\n .max(100)\n .optional()\n .nullable(),\n type: z\n .enum([\n 'VALUE',\n 'RANGE',\n 'SCALAR',\n 'DATE_HISTOGRAM',\n ])\n .optional(),\n fieldPath: z\n .string()\n .describe(\n 'Field to aggregate by, use dot notation to specify json path.'\n )\n .max(200)\n .optional(),\n }),\n z.xor([\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n }),\n z.object({\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n value: z\n .intersection(\n z.object({\n sortType: z\n .enum(['COUNT', 'VALUE'])\n .describe(\n 'Whether to sort by number of matches or value of the field.'\n )\n .optional(),\n sortDirection: z\n .enum(['DESC', 'ASC'])\n .describe(\n 'Whether to sort in ascending or descending order.'\n )\n .optional(),\n limit: z\n .number()\n .int()\n .describe(\n 'How many aggregations to return. Can be between 1 and 250. 10 is the default.'\n )\n .optional()\n .nullable(),\n missingValues: z\n .enum(['EXCLUDE', 'INCLUDE'])\n .describe(\n 'Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n includeOptions: z.never().optional(),\n }),\n z.object({\n includeOptions: z\n .object({\n addToBucket: z\n .string()\n .describe(\n 'Specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...'\n )\n .max(20)\n .optional(),\n })\n .describe(\n 'Options for including missing values.'\n ),\n }),\n ])\n )\n .describe('Value aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n range: z\n .object({\n buckets: z\n .array(\n z.object({\n from: z\n .number()\n .describe(\n 'Inclusive lower bound of the range. Required if `to` is not provided.'\n )\n .optional()\n .nullable(),\n to: z\n .number()\n .describe(\n 'Exclusive upper bound of the range. Required if `from` is not provided.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(50)\n .optional(),\n })\n .describe('Range aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n dateHistogram: z.never().optional(),\n scalar: z\n .object({\n type: z\n .enum(['COUNT_DISTINCT', 'MIN', 'MAX'])\n .describe(\n 'Define the operator for the scalar aggregation.'\n )\n .optional(),\n })\n .describe('Scalar aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z\n .object({\n interval: z\n .enum([\n 'YEAR',\n 'MONTH',\n 'WEEK',\n 'DAY',\n 'HOUR',\n 'MINUTE',\n 'SECOND',\n ])\n .describe(\n 'Interval for date histogram aggregation.'\n )\n .optional(),\n })\n .describe('Date histogram aggregation.'),\n }),\n ])\n )\n )\n .min(2)\n .max(3)\n .optional(),\n })\n .describe('Nested aggregation.'),\n }),\n ])\n )\n )\n .max(10)\n .optional(),\n search: z\n .object({\n mode: z.enum(['OR', 'AND']).optional(),\n expression: z\n .string()\n .describe('Search term or expression.')\n .max(100)\n .optional()\n .nullable(),\n fields: z.array(z.string()).max(20).optional(),\n fuzzy: z\n .boolean()\n .describe(\n 'Whether to use auto fuzzy search (allowing typos by a managed proximity algorithm).'\n )\n .optional(),\n })\n .describe('Free text to match in searchable fields.')\n .optional(),\n timeZone: z\n .string()\n .describe(\n 'UTC offset or IANA time zone. Valid values are\\nISO 8601 UTC offsets, such as +02:00 or -06:00,\\nand IANA time zone IDs, such as Europe/Rome.\\n\\nAffects all filters and aggregations returned values.\\nYou may override this behavior in a specific filter by providing\\ntimestamps including time zone. For example, `\"2023-12-20T10:52:34.795Z\"`.'\n )\n .max(50)\n .optional()\n .nullable(),\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/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).'\n ),\n }),\n ])\n )\n .describe(\n 'Search expression, filters, sorting, and cursor paging options.'\n ),\n});\nexport const SearchProgramsResponse = /*#__PURE__*/ z.object({\n programs: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\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('Cursor paging metadata.')\n .optional(),\n aggregationData: z\n .object({\n results: z\n .array(\n z.intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation as derived from search request.'\n )\n .max(100)\n .optional(),\n type: z\n .enum(['VALUE', 'RANGE', 'SCALAR', 'DATE_HISTOGRAM', 'NESTED'])\n .describe(\n 'Type of aggregation that must match provided kind as derived from search request.'\n )\n .optional(),\n fieldPath: z\n .string()\n .describe(\n 'Field to aggregate by as derived from search request.'\n )\n .max(200)\n .optional(),\n }),\n z.xor([\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n }),\n z.object({\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n values: z\n .object({\n results: z\n .array(\n z.object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(100)\n .optional(),\n count: z\n .number()\n .int()\n .describe('Count of entities with this value.')\n .optional(),\n })\n )\n .max(250)\n .optional(),\n })\n .describe('Value aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n ranges: z\n .object({\n results: z\n .array(\n z.object({\n from: z\n .number()\n .describe('Inclusive lower bound of the range.')\n .optional()\n .nullable(),\n to: z\n .number()\n .describe('Exclusive upper bound of the range.')\n .optional()\n .nullable(),\n count: z\n .number()\n .int()\n .describe('Count of entities in this range.')\n .optional(),\n })\n )\n .max(50)\n .optional(),\n })\n .describe('Range aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n scalar: z\n .object({\n type: z\n .enum(['COUNT_DISTINCT', 'MIN', 'MAX'])\n .describe('Type of scalar aggregation.')\n .optional(),\n value: z\n .number()\n .describe('Value of the scalar aggregation.')\n .optional(),\n })\n .describe('Scalar aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n groupedByValue: z\n .object({\n results: z\n .array(\n z.object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(1000)\n .optional(),\n nestedResults: z\n .intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation, matches the one provided in request.'\n )\n .max(100)\n .optional(),\n type: z\n .enum([\n 'VALUE',\n 'RANGE',\n 'SCALAR',\n 'DATE_HISTOGRAM',\n 'NESTED',\n ])\n .describe(\n 'Type of aggregation that matches result.'\n )\n .optional(),\n fieldPath: z\n .string()\n .describe(\n 'Field to aggregate by, matches the one provided in request.'\n )\n .max(200)\n .optional(),\n }),\n z.xor([\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n }),\n z.object({\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n values: z\n .object({\n results: z\n .array(\n z.object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(100)\n .optional(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities with this value.'\n )\n .optional(),\n })\n )\n .max(250)\n .optional(),\n })\n .describe('Value aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n scalar: z.never().optional(),\n ranges: z\n .object({\n results: z\n .array(\n z.object({\n from: z\n .number()\n .describe(\n 'Inclusive lower bound of the range.'\n )\n .optional()\n .nullable(),\n to: z\n .number()\n .describe(\n 'Exclusive upper bound of the range.'\n )\n .optional()\n .nullable(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities in this range.'\n )\n .optional(),\n })\n )\n .max(50)\n .optional(),\n })\n .describe('Range aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z\n .object({\n type: z\n .enum(['COUNT_DISTINCT', 'MIN', 'MAX'])\n .describe('Type of scalar aggregation.')\n .optional(),\n value: z\n .number()\n .describe(\n 'Value of the scalar aggregation.'\n )\n .optional(),\n })\n .describe('Scalar aggregation results.'),\n }),\n ])\n )\n .describe('Nested aggregations.')\n .optional(),\n })\n )\n .max(1000)\n .optional(),\n })\n .describe('Group by value aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n nested: z.never().optional(),\n dateHistogram: z\n .object({\n results: z\n .array(\n z.object({\n value: z\n .string()\n .describe('Date in ISO 8601 format.')\n .max(100)\n .optional(),\n count: z\n .number()\n .int()\n .describe('Count of documents in the bucket.')\n .optional(),\n })\n )\n .max(200)\n .optional(),\n })\n .describe('Date histogram aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z\n .object({\n results: z\n .array(\n z.object({\n results: z\n .record(\n z.string(),\n z.intersection(\n z.object({}),\n z.xor([\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n }),\n z.object({\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n value: z\n .object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(1000)\n .optional(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities with this value.'\n )\n .optional()\n .nullable(),\n })\n .describe('Value aggregation result.'),\n }),\n z.object({\n value: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n range: z\n .object({\n from: z\n .number()\n .describe(\n 'Inclusive lower bound of the range.'\n )\n .optional()\n .nullable(),\n to: z\n .number()\n .describe(\n 'Exclusive upper bound of the range.'\n )\n .optional()\n .nullable(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities in this range.'\n )\n .optional()\n .nullable(),\n })\n .describe('Range aggregation result.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n dateHistogram: z.never().optional(),\n scalar: z\n .object({\n value: z\n .number()\n .describe(\n 'Value of the scalar aggregation.'\n )\n .optional(),\n })\n .describe('Scalar aggregation result.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z\n .object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(1000)\n .optional(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities with this value.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Date histogram aggregation result.'\n ),\n }),\n ])\n )\n )\n .describe('List of nested aggregations.')\n .optional(),\n })\n )\n .max(1000)\n .optional(),\n })\n .describe('Nested aggregation results.'),\n }),\n ])\n )\n )\n .max(10000)\n .optional(),\n })\n .describe('Aggregation data returned by the search backend.')\n .optional(),\n});\nexport const PublishProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the draft program 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});\nexport const PublishProgramResponse = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('Published program.')\n .optional(),\n});\nexport const EndProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the published program to end.')\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 EndProgramResponse = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('Ended program.')\n .optional(),\n});\nexport const ArchiveProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the program to archive.')\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 ArchiveProgramResponse = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('Archived program.')\n .optional(),\n});\nexport const BulkUpdateProgramsRequest = /*#__PURE__*/ z.object({\n programs: z\n .array(\n z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n ),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z\n .string()\n .describe('Program title.')\n .max(150)\n .optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe(\n 'Whether participants can progress at their own pace.'\n )\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe(\n 'Whether participants must complete steps in order.'\n )\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z.enum(['PUBLIC', 'PRIVATE', 'SECRET']).optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe(\n 'Optional one-time payment price for joining the program.'\n )\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe(\n 'Image URL derived from the program description media.'\n )\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Certificate assigned when the reward is granted.'\n )\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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(\n 'Custom fields for apps that extend the Program entity.'\n )\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe(\n 'Partial program to update. Include `id` and the latest `revision`.'\n )\n .optional(),\n fieldMask: z.array(z.string()).optional(),\n })\n )\n .min(1)\n .max(100),\n options: z\n .object({\n returnEntity: z\n .boolean()\n .describe('Whether to return updated programs in the response.')\n .optional(),\n })\n .optional(),\n});\nexport const BulkUpdateProgramsResponse = /*#__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('Result metadata for this item.')\n .optional(),\n item: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z\n .string()\n .describe('Program title.')\n .max(150)\n .optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe(\n 'Whether participants can progress at their own pace.'\n )\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe(\n 'Whether participants must complete steps in order.'\n )\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe(\n 'Optional one-time payment price for joining the program.'\n )\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe(\n 'Image URL derived from the program description media.'\n )\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Certificate assigned when the reward is granted.'\n )\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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(\n 'Custom fields for apps that extend the Program entity.'\n )\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe(\n 'Updated program. This is returned only when `return_entity` is true.'\n )\n .optional(),\n })\n )\n .min(1)\n .max(100)\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 metadata for the bulk update.')\n .optional(),\n});\nexport const CountProgramsRequest = /*#__PURE__*/ z.object({\n options: z\n .object({\n filter: z\n .record(z.string(), z.any())\n .describe('WQL filter for the programs to count.')\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const CountProgramsResponse = /*#__PURE__*/ z.object({\n count: z\n .number()\n .int()\n .describe('Number of programs matching the filter and caller visibility.')\n .optional(),\n});\nexport const ListSampleProgramsRequest = /*#__PURE__*/ z.object({});\nexport const ListSampleProgramsResponse = /*#__PURE__*/ z.object({\n programs: z\n .array(\n z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z\n .string()\n .describe('Program title.')\n .max(150)\n .optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe(\n 'Whether participants can progress at their own pace.'\n )\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe(\n 'Whether participants must complete steps in order.'\n )\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe(\n 'Optional one-time payment price for joining the program.'\n )\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe(\n 'Image URL derived from the program description media.'\n )\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Certificate assigned when the reward is granted.'\n )\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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(\n 'Custom fields for apps that extend the Program entity.'\n )\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('Sample program.')\n .optional(),\n label: z\n .string()\n .describe('Display label for the sample program.')\n .max(1000)\n .optional(),\n })\n )\n .max(100)\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;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,QAAU,OAAK,CAAC,SAAS,aAAa,SAAS,UAAU,CAAC,EAAE,SAAS;AAAA,IACrE,mBACG,OAAK,EACL,SAAS,2CAA2C,EACpD,SAAS,EACT,SAAS;AAAA,IACZ,aAAe,QAAQ,SAAO,CAAC,EAAE,IAAI,EAAE,EAAE,SAAS;AAAA,IAClD,aACG;AAAA,MACG,SAAO;AAAA,QACP,OAAS,SAAO,EAAE,SAAS,gBAAgB,EAAE,IAAI,GAAG,EAAE,SAA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ACF,EACC,SAAS;AAAA,UACZ,8BACG,SAAO,EACP;AAAA,YACC;AAAA,UACF,EACC,SAAS;AAAA,QACd,CAAC,EACA;AAAA,UACC;AAAA,QACF,EACC,SAAS;AAAA,QACZ,gBACG,SAAO;AAAA,UACN,WACG,SAAO,EACP,IAAI,EACJ,SAAS,iCAAiC,EAC1C,IAAI,GAAI,EACR,SAAS;AAAA,UACZ,cACG,SAAO,EACP,IAAI,EACJ,SAAS,oCAAoC,EAC7C,IAAI,GAAI,EACR,SAAS;AAAA,QACd,CAAC,EACA,SAAS,sDAAsD,EAC/D,SAAS;AAAA,QACZ,aACG,SAAO,EACP,SAAS,8CAA8C,EACvD;AAAA,UACC;AAAA,UACA;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,MACd,CAAC,EACA,SAAS,iBAAiB,EAC1B,SAAS;AAAA,MACZ,OACG,SAAO,EACP,SAAS,uCAAuC,EAChD,IAAI,GAAI,EACR,SAAS;AAAA,IACd,CAAC;AAAA,EACH,EACC,IAAI,GAAG,EACP,SAAS;AACd,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../../schemas.ts","../../../src/online-programs-v3-program-programs.schemas.ts"],"sourcesContent":["export * from './src/online-programs-v3-program-programs.schemas.js';\n","import * as z from 'zod';\n\nexport const CreateProgramRequest = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z.enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED']).optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z.enum(['PUBLIC', 'PRIVATE', 'SECRET']).optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe(\n 'Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create.'\n ),\n});\nexport const CreateProgramResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum(['JOINED_TO_PROGRAM', 'STEP_COMPLETED', 'ALL_STEPS_COMPLETED'])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe('Certificate ID. Currently this is the program GUID.')\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe('ID of the social group connected to the program, if one exists.')\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe('Settings that control how video steps behave in this program.')\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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});\nexport const DuplicateProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the program to duplicate.')\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 DuplicateProgramResponse = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('New draft program created from the source program.')\n .optional(),\n});\nexport const GetProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the program 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});\nexport const GetProgramResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum(['JOINED_TO_PROGRAM', 'STEP_COMPLETED', 'ALL_STEPS_COMPLETED'])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe('Certificate ID. Currently this is the program GUID.')\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe('ID of the social group connected to the program, if one exists.')\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe('Settings that control how video steps behave in this program.')\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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});\nexport const UpdateProgramRequest = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Program 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 program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n ),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z.enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED']).optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z.enum(['PUBLIC', 'PRIVATE', 'SECRET']).optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe(\n 'Program fields to update. Include `id` and the latest `revision`.'\n ),\n});\nexport const UpdateProgramResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({ image: z.never().optional(), video: z.never().optional() }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum(['JOINED_TO_PROGRAM', 'STEP_COMPLETED', 'ALL_STEPS_COMPLETED'])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe('Certificate ID. Currently this is the program GUID.')\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe('ID of the social group connected to the program, if one exists.')\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe('Settings that control how video steps behave in this program.')\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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});\nexport const DeleteProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the program 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 DeleteProgramResponse = /*#__PURE__*/ z.object({});\nexport const QueryProgramsRequest = /*#__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 [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).'\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(100)\n .optional(),\n }),\n z.xor([\n z.object({\n paging: z.never().optional(),\n cursorPaging: z.never().optional(),\n }),\n z.object({\n cursorPaging: z.never().optional(),\n paging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Number of items to load.')\n .min(0)\n .optional()\n .nullable(),\n offset: z.number().int().min(0).optional().nullable(),\n })\n .describe('Paging options to limit and skip the number of items.'),\n }),\n z.object({\n paging: z.never().optional(),\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 token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.'\n ),\n }),\n ])\n )\n .describe('Query used to filter, sort, and page programs.'),\n});\nexport const QueryProgramsResponse = /*#__PURE__*/ z.object({\n programs: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe('Offset that was requested.')\n .optional()\n .nullable(),\n total: z\n .number()\n .int()\n .describe(\n 'Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set.'\n )\n .optional()\n .nullable(),\n tooManyToCount: z\n .boolean()\n .describe(\n 'Flag that indicates the server failed to calculate the `total` field.'\n )\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 'Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used.'\n )\n .optional(),\n })\n .describe('Paging metadata for the query response.')\n .optional(),\n});\nexport const SearchProgramsRequest = /*#__PURE__*/ z.object({\n search: z\n .intersection(\n z.object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter object.\\n\\nLearn more about [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).'\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(10)\n .optional(),\n aggregations: z\n .array(\n z.intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation, should be unique, will appear in aggregation results.'\n )\n .max(100)\n .optional()\n .nullable(),\n type: z\n .enum([\n 'VALUE',\n 'RANGE',\n 'SCALAR',\n 'DATE_HISTOGRAM',\n 'NESTED',\n ])\n .optional(),\n fieldPath: z\n .string()\n .describe(\n 'Field to aggregate by, use dot notation to specify json path.'\n )\n .max(200)\n .optional(),\n groupBy: z\n .intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation, should be unique, will appear in aggregation results.'\n )\n .max(100)\n .optional()\n .nullable(),\n fieldPath: z\n .string()\n .describe('Field to aggregate by.')\n .max(200)\n .optional(),\n }),\n z.xor([\n z.object({ value: z.never().optional() }),\n z.object({\n value: z\n .intersection(\n z.object({\n sortType: z\n .enum(['COUNT', 'VALUE'])\n .describe(\n 'Whether to sort by number of matches or value of the field.'\n )\n .optional(),\n sortDirection: z\n .enum(['DESC', 'ASC'])\n .describe(\n 'Whether to sort in ascending or descending order.'\n )\n .optional(),\n limit: z\n .number()\n .int()\n .describe(\n 'How many aggregations to return. Can be between 1 and 250. 10 is the default.'\n )\n .optional()\n .nullable(),\n missingValues: z\n .enum(['EXCLUDE', 'INCLUDE'])\n .describe(\n 'Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n includeOptions: z.never().optional(),\n }),\n z.object({\n includeOptions: z\n .object({\n addToBucket: z\n .string()\n .describe(\n 'Specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...'\n )\n .max(20)\n .optional(),\n })\n .describe(\n 'Options for including missing values.'\n ),\n }),\n ])\n )\n .describe('Value aggregation configuration.'),\n }),\n ])\n )\n .describe('Deprecated. Use `nested` instead.')\n .optional(),\n }),\n z.xor([\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n }),\n z.object({\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n value: z\n .intersection(\n z.object({\n sortType: z\n .enum(['COUNT', 'VALUE'])\n .describe(\n 'Whether to sort by number of matches or value of the field.'\n )\n .optional(),\n sortDirection: z\n .enum(['DESC', 'ASC'])\n .describe(\n 'Whether to sort in ascending or descending order.'\n )\n .optional(),\n limit: z\n .number()\n .int()\n .describe(\n 'How many aggregations to return. Can be between 1 and 250. 10 is the default.'\n )\n .optional()\n .nullable(),\n missingValues: z\n .enum(['EXCLUDE', 'INCLUDE'])\n .describe(\n 'Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`.'\n )\n .optional(),\n }),\n z.xor([\n z.object({ includeOptions: z.never().optional() }),\n z.object({\n includeOptions: z\n .object({\n addToBucket: z\n .string()\n .describe(\n 'Specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...'\n )\n .max(20)\n .optional(),\n })\n .describe('Options for including missing values.'),\n }),\n ])\n )\n .describe('Value aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n range: z\n .object({\n buckets: z\n .array(\n z.object({\n from: z\n .number()\n .describe(\n 'Inclusive lower bound of the range. Required if `to` is not provided.'\n )\n .optional()\n .nullable(),\n to: z\n .number()\n .describe(\n 'Exclusive upper bound of the range. Required if `from` is not provided.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(50)\n .optional(),\n })\n .describe('Range aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n scalar: z\n .object({\n type: z\n .enum(['COUNT_DISTINCT', 'MIN', 'MAX'])\n .describe(\n 'Define the operator for the scalar aggregation.'\n )\n .optional(),\n })\n .describe('Scalar aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n nested: z.never().optional(),\n dateHistogram: z\n .object({\n interval: z\n .enum([\n 'YEAR',\n 'MONTH',\n 'WEEK',\n 'DAY',\n 'HOUR',\n 'MINUTE',\n 'SECOND',\n ])\n .describe('Interval for date histogram aggregation.')\n .optional(),\n })\n .describe('Date histogram aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z\n .object({\n nestedAggregations: z\n .array(\n z.intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation, should be unique, will appear in aggregation results.'\n )\n .max(100)\n .optional()\n .nullable(),\n type: z\n .enum([\n 'VALUE',\n 'RANGE',\n 'SCALAR',\n 'DATE_HISTOGRAM',\n ])\n .optional(),\n fieldPath: z\n .string()\n .describe(\n 'Field to aggregate by, use dot notation to specify json path.'\n )\n .max(200)\n .optional(),\n }),\n z.xor([\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n }),\n z.object({\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n value: z\n .intersection(\n z.object({\n sortType: z\n .enum(['COUNT', 'VALUE'])\n .describe(\n 'Whether to sort by number of matches or value of the field.'\n )\n .optional(),\n sortDirection: z\n .enum(['DESC', 'ASC'])\n .describe(\n 'Whether to sort in ascending or descending order.'\n )\n .optional(),\n limit: z\n .number()\n .int()\n .describe(\n 'How many aggregations to return. Can be between 1 and 250. 10 is the default.'\n )\n .optional()\n .nullable(),\n missingValues: z\n .enum(['EXCLUDE', 'INCLUDE'])\n .describe(\n 'Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n includeOptions: z.never().optional(),\n }),\n z.object({\n includeOptions: z\n .object({\n addToBucket: z\n .string()\n .describe(\n 'Specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...'\n )\n .max(20)\n .optional(),\n })\n .describe(\n 'Options for including missing values.'\n ),\n }),\n ])\n )\n .describe('Value aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n range: z\n .object({\n buckets: z\n .array(\n z.object({\n from: z\n .number()\n .describe(\n 'Inclusive lower bound of the range. Required if `to` is not provided.'\n )\n .optional()\n .nullable(),\n to: z\n .number()\n .describe(\n 'Exclusive upper bound of the range. Required if `from` is not provided.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(50)\n .optional(),\n })\n .describe('Range aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n dateHistogram: z.never().optional(),\n scalar: z\n .object({\n type: z\n .enum(['COUNT_DISTINCT', 'MIN', 'MAX'])\n .describe(\n 'Define the operator for the scalar aggregation.'\n )\n .optional(),\n })\n .describe('Scalar aggregation.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z\n .object({\n interval: z\n .enum([\n 'YEAR',\n 'MONTH',\n 'WEEK',\n 'DAY',\n 'HOUR',\n 'MINUTE',\n 'SECOND',\n ])\n .describe(\n 'Interval for date histogram aggregation.'\n )\n .optional(),\n })\n .describe('Date histogram aggregation.'),\n }),\n ])\n )\n )\n .min(2)\n .max(3)\n .optional(),\n })\n .describe('Nested aggregation.'),\n }),\n ])\n )\n )\n .max(10)\n .optional(),\n search: z\n .object({\n mode: z.enum(['OR', 'AND']).optional(),\n expression: z\n .string()\n .describe('Search term or expression.')\n .max(100)\n .optional()\n .nullable(),\n fields: z.array(z.string()).max(20).optional(),\n fuzzy: z\n .boolean()\n .describe(\n 'Whether to use auto fuzzy search (allowing typos by a managed proximity algorithm).'\n )\n .optional(),\n })\n .describe('Free text to match in searchable fields.')\n .optional(),\n timeZone: z\n .string()\n .describe(\n 'UTC offset or IANA time zone. Valid values are\\nISO 8601 UTC offsets, such as +02:00 or -06:00,\\nand IANA time zone IDs, such as Europe/Rome.\\n\\nAffects all filters and aggregations returned values.\\nYou may override this behavior in a specific filter by providing\\ntimestamps including time zone. For example, `\"2023-12-20T10:52:34.795Z\"`.'\n )\n .max(50)\n .optional()\n .nullable(),\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/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).'\n ),\n }),\n ])\n )\n .describe(\n 'Search expression, filters, sorting, and cursor paging options.'\n ),\n});\nexport const SearchProgramsResponse = /*#__PURE__*/ z.object({\n programs: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\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('Cursor paging metadata.')\n .optional(),\n aggregationData: z\n .object({\n results: z\n .array(\n z.intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation as derived from search request.'\n )\n .max(100)\n .optional(),\n type: z\n .enum(['VALUE', 'RANGE', 'SCALAR', 'DATE_HISTOGRAM', 'NESTED'])\n .describe(\n 'Type of aggregation that must match provided kind as derived from search request.'\n )\n .optional(),\n fieldPath: z\n .string()\n .describe(\n 'Field to aggregate by as derived from search request.'\n )\n .max(200)\n .optional(),\n }),\n z.xor([\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n }),\n z.object({\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n values: z\n .object({\n results: z\n .array(\n z.object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(100)\n .optional(),\n count: z\n .number()\n .int()\n .describe('Count of entities with this value.')\n .optional(),\n })\n )\n .max(250)\n .optional(),\n })\n .describe('Value aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n ranges: z\n .object({\n results: z\n .array(\n z.object({\n from: z\n .number()\n .describe('Inclusive lower bound of the range.')\n .optional()\n .nullable(),\n to: z\n .number()\n .describe('Exclusive upper bound of the range.')\n .optional()\n .nullable(),\n count: z\n .number()\n .int()\n .describe('Count of entities in this range.')\n .optional(),\n })\n )\n .max(50)\n .optional(),\n })\n .describe('Range aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n scalar: z\n .object({\n type: z\n .enum(['COUNT_DISTINCT', 'MIN', 'MAX'])\n .describe('Type of scalar aggregation.')\n .optional(),\n value: z\n .number()\n .describe('Value of the scalar aggregation.')\n .optional(),\n })\n .describe('Scalar aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z.never().optional(),\n groupedByValue: z\n .object({\n results: z\n .array(\n z.object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(1000)\n .optional(),\n nestedResults: z\n .intersection(\n z.object({\n name: z\n .string()\n .describe(\n 'User-defined name of aggregation, matches the one provided in request.'\n )\n .max(100)\n .optional(),\n type: z\n .enum([\n 'VALUE',\n 'RANGE',\n 'SCALAR',\n 'DATE_HISTOGRAM',\n 'NESTED',\n ])\n .describe(\n 'Type of aggregation that matches result.'\n )\n .optional(),\n fieldPath: z\n .string()\n .describe(\n 'Field to aggregate by, matches the one provided in request.'\n )\n .max(200)\n .optional(),\n }),\n z.xor([\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n }),\n z.object({\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n values: z\n .object({\n results: z\n .array(\n z.object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(100)\n .optional(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities with this value.'\n )\n .optional(),\n })\n )\n .max(250)\n .optional(),\n })\n .describe('Value aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n scalar: z.never().optional(),\n ranges: z\n .object({\n results: z\n .array(\n z.object({\n from: z\n .number()\n .describe(\n 'Inclusive lower bound of the range.'\n )\n .optional()\n .nullable(),\n to: z\n .number()\n .describe(\n 'Exclusive upper bound of the range.'\n )\n .optional()\n .nullable(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities in this range.'\n )\n .optional(),\n })\n )\n .max(50)\n .optional(),\n })\n .describe('Range aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z\n .object({\n type: z\n .enum(['COUNT_DISTINCT', 'MIN', 'MAX'])\n .describe('Type of scalar aggregation.')\n .optional(),\n value: z\n .number()\n .describe(\n 'Value of the scalar aggregation.'\n )\n .optional(),\n })\n .describe('Scalar aggregation results.'),\n }),\n ])\n )\n .describe('Nested aggregations.')\n .optional(),\n })\n )\n .max(1000)\n .optional(),\n })\n .describe('Group by value aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n nested: z.never().optional(),\n dateHistogram: z\n .object({\n results: z\n .array(\n z.object({\n value: z\n .string()\n .describe('Date in ISO 8601 format.')\n .max(100)\n .optional(),\n count: z\n .number()\n .int()\n .describe('Count of documents in the bucket.')\n .optional(),\n })\n )\n .max(200)\n .optional(),\n })\n .describe('Date histogram aggregation results.'),\n }),\n z.object({\n values: z.never().optional(),\n ranges: z.never().optional(),\n scalar: z.never().optional(),\n groupedByValue: z.never().optional(),\n dateHistogram: z.never().optional(),\n nested: z\n .object({\n results: z\n .array(\n z.object({\n results: z\n .record(\n z.string(),\n z.intersection(\n z.object({}),\n z.xor([\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n }),\n z.object({\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n value: z\n .object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(1000)\n .optional(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities with this value.'\n )\n .optional()\n .nullable(),\n })\n .describe('Value aggregation result.'),\n }),\n z.object({\n value: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z.never().optional(),\n range: z\n .object({\n from: z\n .number()\n .describe(\n 'Inclusive lower bound of the range.'\n )\n .optional()\n .nullable(),\n to: z\n .number()\n .describe(\n 'Exclusive upper bound of the range.'\n )\n .optional()\n .nullable(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities in this range.'\n )\n .optional()\n .nullable(),\n })\n .describe('Range aggregation result.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n dateHistogram: z.never().optional(),\n scalar: z\n .object({\n value: z\n .number()\n .describe(\n 'Value of the scalar aggregation.'\n )\n .optional(),\n })\n .describe('Scalar aggregation result.'),\n }),\n z.object({\n value: z.never().optional(),\n range: z.never().optional(),\n scalar: z.never().optional(),\n dateHistogram: z\n .object({\n value: z\n .string()\n .describe('Value of the field.')\n .max(1000)\n .optional(),\n count: z\n .number()\n .int()\n .describe(\n 'Count of entities with this value.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Date histogram aggregation result.'\n ),\n }),\n ])\n )\n )\n .describe('List of nested aggregations.')\n .optional(),\n })\n )\n .max(1000)\n .optional(),\n })\n .describe('Nested aggregation results.'),\n }),\n ])\n )\n )\n .max(10000)\n .optional(),\n })\n .describe('Aggregation data returned by the search backend.')\n .optional(),\n});\nexport const PublishProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the draft program 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});\nexport const PublishProgramResponse = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('Published program.')\n .optional(),\n});\nexport const EndProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the published program to end.')\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 EndProgramResponse = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('Ended program.')\n .optional(),\n});\nexport const ArchiveProgramRequest = /*#__PURE__*/ z.object({\n programId: z\n .string()\n .describe('ID of the program to archive.')\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 ArchiveProgramResponse = /*#__PURE__*/ z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z.string().describe('Program title.').max(150).optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe('Whether participants can progress at their own pace.')\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe('Whether participants must complete steps in order.')\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe('Optional one-time payment price for joining the program.')\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z.string().describe('Keyword value.').optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe('Image URL derived from the program description media.')\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe('Certificate assigned when the reward is granted.')\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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 fields for apps that extend the Program entity.')\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('Archived program.')\n .optional(),\n});\nexport const BulkUpdateProgramsRequest = /*#__PURE__*/ z.object({\n programs: z\n .array(\n z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n ),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z\n .string()\n .describe('Program title.')\n .max(150)\n .optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe(\n 'Whether participants can progress at their own pace.'\n )\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe(\n 'Whether participants must complete steps in order.'\n )\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z.enum(['PUBLIC', 'PRIVATE', 'SECRET']).optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe(\n 'Optional one-time payment price for joining the program.'\n )\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe(\n 'Image URL derived from the program description media.'\n )\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Certificate assigned when the reward is granted.'\n )\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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(\n 'Custom fields for apps that extend the Program entity.'\n )\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe(\n 'Partial program to update. Include `id` and the latest `revision`.'\n )\n .optional(),\n fieldMask: z.array(z.string()).optional(),\n })\n )\n .min(1)\n .max(100),\n options: z\n .object({\n returnEntity: z\n .boolean()\n .describe('Whether to return updated programs in the response.')\n .optional(),\n })\n .optional(),\n});\nexport const BulkUpdateProgramsResponse = /*#__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('Result metadata for this item.')\n .optional(),\n item: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z\n .string()\n .describe('Program title.')\n .max(150)\n .optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe(\n 'Whether participants can progress at their own pace.'\n )\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe(\n 'Whether participants must complete steps in order.'\n )\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe(\n 'Optional one-time payment price for joining the program.'\n )\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe(\n 'Image URL derived from the program description media.'\n )\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Certificate assigned when the reward is granted.'\n )\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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(\n 'Custom fields for apps that extend the Program entity.'\n )\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe(\n 'Updated program. This is returned only when `return_entity` is true.'\n )\n .optional(),\n })\n )\n .min(1)\n .max(100)\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 metadata for the bulk update.')\n .optional(),\n});\nexport const CountProgramsRequest = /*#__PURE__*/ z.object({\n options: z\n .object({\n filter: z\n .record(z.string(), z.any())\n .describe('WQL filter for the programs to count.')\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const CountProgramsResponse = /*#__PURE__*/ z.object({\n count: z\n .number()\n .int()\n .describe('Number of programs matching the filter and caller visibility.')\n .optional(),\n});\nexport const ListSampleProgramsRequest = /*#__PURE__*/ z.object({});\nexport const ListSampleProgramsResponse = /*#__PURE__*/ z.object({\n programs: z\n .array(\n z.object({\n program: z\n .object({\n _id: z\n .string()\n .describe('Program 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 program is updated. To prevent conflicting changes, the current revision must be specified when updating a program.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program was last updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['DRAFT', 'PUBLISHED', 'ENDED', 'ARCHIVED'])\n .describe('Current program lifecycle status.')\n .optional(),\n statusUpdatedDate: z\n .date()\n .describe('Date and time when `status` last changed.')\n .optional()\n .nullable(),\n categoryIds: z.array(z.string()).max(10).optional(),\n description: z\n .intersection(\n z.object({\n title: z\n .string()\n .describe('Program title.')\n .max(150)\n .optional(),\n details: z\n .string()\n .describe('Detailed program description.')\n .max(8000)\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n image: z.never().optional(),\n video: z.never().optional(),\n }),\n z.object({\n video: z.never().optional(),\n image: z.string().describe('Program image.'),\n }),\n z.object({\n image: z.never().optional(),\n video: z.string().describe('Program video.'),\n }),\n ])\n )\n .describe('Public-facing program title, details, and media.')\n .optional(),\n timeline: z\n .object({\n selfPaced: z\n .boolean()\n .describe(\n 'Whether participants can progress at their own pace.'\n )\n .optional(),\n startDate: z\n .string()\n .describe('Local date when the scheduled program starts.')\n .optional()\n .nullable(),\n durationInDays: z\n .number()\n .int()\n .describe('Scheduled program duration in days.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Program timeline settings. Use this to configure self-paced or scheduled programs.'\n )\n .optional(),\n restrictions: z\n .object({\n maxParticipants: z\n .number()\n .int()\n .describe(\n 'Maximum number of active participants allowed in the program.'\n )\n .min(1)\n .optional()\n .nullable(),\n hideFutureSteps: z\n .boolean()\n .describe(\n 'Whether future steps are hidden from participants until they become available.'\n )\n .optional(),\n resolveStepsInOrder: z\n .boolean()\n .describe(\n 'Whether participants must complete steps in order.'\n )\n .optional(),\n shareProgress: z\n .boolean()\n .describe(\n 'Whether participants can share progress in the connected group.'\n )\n .optional(),\n accessType: z\n .enum(['PUBLIC', 'PRIVATE', 'SECRET'])\n .describe('Program discovery and join access.')\n .optional(),\n })\n .describe('Program access, participation, and progression rules.')\n .optional(),\n price: z\n .object({\n value: z\n .string()\n .describe(\n 'Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).'\n )\n .optional(),\n currency: z\n .string()\n .describe(\n 'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n )\n .optional(),\n })\n .describe(\n 'Optional one-time payment price for joining the program.'\n )\n .optional(),\n seo: z\n .object({\n slug: z\n .string()\n .describe('Unique URL slug for the program page.')\n .optional(),\n seoData: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n \"SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.\\n\\nWhich of these an API actually accepts depends on where the tag is being set: this\\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\\n`title`/`script`/`link` with a validation error even though they appear here —\\ncheck the field description of the specific `tags`-typed field you're writing to\\nfor the types it actually supports and the error it returns.\"\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n \"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\\ni.e. an entry from the site's Advanced/Custom Tags list.\\n\\nNote this is a separate restriction from Site SEO Tags' own type restriction on\\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\\nfor site-wide structured data) unconditionally. There is currently no way to set\\nsite-wide, every-page structured data through any of these APIs — write a per-page\\n`script` tag through the Item SEO Tags API instead.\\n\\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\\ndefault/pattern — standard tags always resolve with `custom: false`, even when their content comes\\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\\na live page reflects a manual per-page SEO edit.\\n\\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\\nresponse entirely — there, `false` means this API could not tell, not that no custom tag exists.\\nPass `seoData` explicitly to resolve against a known set of tags.\"\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .optional(),\n settings: z\n .object({\n preventAutoRedirect: z\n .boolean()\n .describe(\n 'Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\\n\\n\\nDefault: `false` (automatical redirect is enabled).'\n )\n .optional(),\n keywords: z\n .array(\n z.object({\n term: z\n .string()\n .describe('Keyword value.')\n .optional(),\n isMain: z\n .boolean()\n .describe(\n 'Whether the keyword is the main focus keyword.'\n )\n .optional(),\n origin: z\n .string()\n .describe(\n 'The source that added the keyword terms to the SEO settings.'\n )\n .max(1000)\n .optional()\n .nullable(),\n })\n )\n .max(5)\n .optional(),\n })\n .describe('SEO general settings.')\n .optional(),\n })\n .describe('Advanced SEO schema data.')\n .optional(),\n url: z.string().describe('Program page URL.').optional(),\n imageUrl: z\n .string()\n .describe(\n 'Image URL derived from the program description media.'\n )\n .url()\n .optional()\n .nullable(),\n imageAlt: z\n .string()\n .describe('Alternative text for the SEO image.')\n .max(1000)\n .optional(),\n courseWorkload: z\n .string()\n .describe(\n 'Approximate SEO program duration in ISO 8601 duration format.'\n )\n .max(100)\n .optional(),\n })\n .describe('SEO settings used for the program page.')\n .optional(),\n rewards: z\n .array(\n z.object({\n trigger: z\n .enum([\n 'JOINED_TO_PROGRAM',\n 'STEP_COMPLETED',\n 'ALL_STEPS_COMPLETED',\n ])\n .describe(\n 'Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards.'\n )\n .optional(),\n badgeIds: z.array(z.string()).max(50).optional(),\n certificate: z\n .object({\n _id: z\n .string()\n .describe(\n 'Certificate ID. Currently this is the program GUID.'\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 connectedDate: z\n .date()\n .describe(\n 'Date and time the certificate was connected to the program.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Certificate assigned when the reward is granted.'\n )\n .optional(),\n })\n )\n .max(10)\n .optional(),\n socialGroupId: z\n .string()\n .describe(\n 'ID of the social group connected to the program, if one exists.'\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 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(\n 'Custom fields for apps that extend the Program entity.'\n )\n .optional(),\n shouldSendInvoice: z\n .boolean()\n .describe(\n 'Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead.'\n )\n .optional(),\n videoStepsSettings: z\n .object({\n autoNavigate: z\n .boolean()\n .describe(\n 'Whether the participant is automatically moved to the next video step after finishing the current one.'\n )\n .optional(),\n requiredCompletionPercentage: z\n .number()\n .describe(\n 'Percentage of a video that must be watched to complete a video step.'\n )\n .optional(),\n })\n .describe(\n 'Settings that control how video steps behave in this program.'\n )\n .optional(),\n contentSummary: z\n .object({\n stepCount: z\n .number()\n .int()\n .describe('Number of steps in the program.')\n .max(3000)\n .optional(),\n sectionCount: z\n .number()\n .int()\n .describe('Number of sections in the program.')\n .max(1000)\n .optional(),\n })\n .describe('Read-only counts of content entities in the program.')\n .optional(),\n ownerUserId: z\n .string()\n .describe('ID of the site user who created the program.')\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 })\n .describe('Sample program.')\n .optional(),\n label: z\n .string()\n .describe('Display label for the sample program.')\n .max(1000)\n .optional(),\n })\n )\n .max(100)\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;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