@wix/auto_sdk_online-programs_programs 1.0.28 → 1.0.30

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 +8 -8
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/{online-programs-v3-program-programs.universal-Yki1hSor.d.ts → online-programs-v3-program-programs.universal-Bvj2X61C.d.ts} +7 -7
  8. package/build/cjs/schemas.js +33 -11
  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 +8 -8
  15. package/build/es/meta.mjs.map +1 -1
  16. package/build/es/{online-programs-v3-program-programs.universal-Yki1hSor.d.mts → online-programs-v3-program-programs.universal-Bvj2X61C.d.mts} +7 -7
  17. package/build/es/schemas.mjs +33 -11
  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 +8 -8
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/cjs/{online-programs-v3-program-programs.universal-DuW7vvbw.d.ts → online-programs-v3-program-programs.universal-G-3WKEmy.d.ts} +7 -7
  26. package/build/internal/cjs/schemas.js +33 -11
  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 +8 -8
  33. package/build/internal/es/meta.mjs.map +1 -1
  34. package/build/internal/es/{online-programs-v3-program-programs.universal-DuW7vvbw.d.mts → online-programs-v3-program-programs.universal-G-3WKEmy.d.mts} +7 -7
  35. package/build/internal/es/schemas.mjs +33 -11
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../meta.ts","../../../src/online-programs-v3-program-programs.http.ts","../../../src/online-programs-v3-program-programs.types.ts","../../../src/online-programs-v3-program-programs.meta.ts"],"sourcesContent":["export * from './src/online-programs-v3-program-programs.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/programs-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/programs-service',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/programs-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/programs-service',\n destPath: '',\n },\n {\n srcPath: '/online-programs/v3/programs',\n destPath: '/v3/programs',\n },\n {\n srcPath: '/online-programs/v3/bulk/programs',\n destPath: '/v3/bulk/programs',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/online-programs/v3/programs',\n destPath: '/v3/programs',\n },\n {\n srcPath: '/online-programs/v3/bulk/programs',\n destPath: '/v3/bulk/programs',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_online-programs_programs';\n\n/**\n * Creates a draft program.\n *\n * The service sets the program ID, revision, creation dates, owner, and initial\n * `DRAFT` status. Publish the program when it's ready to be visible\n * according to its access restrictions.\n */\nexport function createProgram(payload: object): RequestOptionsFactory<any> {\n function __createProgram({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n { path: 'program.description.video.resolutions.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n { path: 'program.description.video.resolutions.poster.focalPoint.x' },\n { path: 'program.description.video.resolutions.poster.focalPoint.y' },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n { path: 'program.videoStepsSettings.requiredCompletionPercentage' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.CreateProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createProgram;\n}\n\n/**\n * Duplicates a program as a new draft.\n *\n * The duplicated program gets a new ID and owner, starts in `DRAFT` status,\n * keeps category assignments and translation content, resets the SEO slug to\n * the duplicated program ID, clears the connected social group, and doesn't\n * copy section or step references.\n */\nexport function duplicateProgram(payload: object): RequestOptionsFactory<any> {\n function __duplicateProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.DuplicateProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}/duplicate',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __duplicateProgram;\n}\n\n/**\n * Retrieves a program by ID.\n *\n * Visibility depends on caller identity and program access settings. Public\n * callers can retrieve published and ended non-secret programs. Site members\n * can retrieve secret programs only when they participate in them. Trusted apps\n * and services can retrieve management views.\n */\nexport function getProgram(payload: object): RequestOptionsFactory<any> {\n function __getProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'GET' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.GetProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProgram;\n}\n\n/**\n * Updates selected fields of a program.\n *\n * Each time the program is updated, `revision` increments by 1. The current\n * `revision` must be passed when updating the program. This ensures you're\n * working with the latest program and prevents unintended overwrites.\n *\n * Ended and archived programs can't be updated. Timeline changes are blocked\n * when the program has active participants.\n */\nexport function updateProgram(payload: object): RequestOptionsFactory<any> {\n function __updateProgram({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n { path: 'program.description.video.resolutions.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n { path: 'program.description.video.resolutions.poster.focalPoint.x' },\n { path: 'program.description.video.resolutions.poster.focalPoint.y' },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n { path: 'program.videoStepsSettings.requiredCompletionPercentage' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'PATCH' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.UpdateProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{program.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProgram;\n}\n\n/**\n * Deletes a program.\n *\n * Deleting a program permanently removes it from the program list, cancels its\n * scheduled end task, removes related member groups, and removes it from search.\n */\nexport function deleteProgram(payload: object): RequestOptionsFactory<any> {\n function __deleteProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'DELETE' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.DeleteProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteProgram;\n}\n\n/**\n * Retrieves a list of up to 50 programs, given the provided paging, filtering, and sorting.\n *\n * Query Programs runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n *\n * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).\n *\n * Results are visibility-filtered according to the caller identity.\n */\nexport function queryPrograms(payload: object): RequestOptionsFactory<any> {\n function __queryPrograms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.QueryPrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'programs.createdDate' },\n { path: 'programs.updatedDate' },\n { path: 'programs.statusUpdatedDate' },\n { path: 'programs.description.image.urlExpirationDate' },\n { path: 'programs.description.video.urlExpirationDate' },\n {\n path: 'programs.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'programs.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'programs.description.video.posters.urlExpirationDate' },\n { path: 'programs.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'programs.description.image.focalPoint.x' },\n { path: 'programs.description.image.focalPoint.y' },\n {\n path: 'programs.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'programs.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'programs.description.video.posters.focalPoint.x' },\n { path: 'programs.description.video.posters.focalPoint.y' },\n {\n path: 'programs.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryPrograms;\n}\n\n/**\n * Searches programs by title and structured filters.\n *\n * Use this method when you need full-text search over `description.title`.\n * Results are visibility-filtered according to the caller identity.\n */\nexport function searchPrograms(payload: object): RequestOptionsFactory<any> {\n function __searchPrograms({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'search.aggregations.range.buckets.from' },\n { path: 'search.aggregations.range.buckets.to' },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.from',\n },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.to',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.SearchPrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/search',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'programs.createdDate' },\n { path: 'programs.updatedDate' },\n { path: 'programs.statusUpdatedDate' },\n { path: 'programs.description.image.urlExpirationDate' },\n { path: 'programs.description.video.urlExpirationDate' },\n {\n path: 'programs.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'programs.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'programs.description.video.posters.urlExpirationDate' },\n { path: 'programs.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'programs.description.image.focalPoint.x' },\n { path: 'programs.description.image.focalPoint.y' },\n {\n path: 'programs.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'programs.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'programs.description.video.posters.focalPoint.x' },\n { path: 'programs.description.video.posters.focalPoint.y' },\n {\n path: 'programs.videoStepsSettings.requiredCompletionPercentage',\n },\n { path: 'aggregationData.results.scalar.value' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.scalar.value',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.scalar.value',\n },\n { path: 'aggregationData.results.ranges.results.from' },\n { path: 'aggregationData.results.ranges.results.to' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from',\n },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.from',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.to',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __searchPrograms;\n}\n\n/**\n * Publishes a draft program.\n *\n * A scheduled program can't be published when its start date is in the past.\n * If the program has an end date, the service schedules an automatic transition\n * to `ENDED` using the site's timezone.\n */\nexport function publishProgram(payload: object): RequestOptionsFactory<any> {\n function __publishProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.PublishProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}/publish',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __publishProgram;\n}\n\n/**\n * Ends a published program.\n *\n * Ending a program changes its status to `ENDED` and cancels any scheduled end\n * task. The operation succeeds only for currently published programs.\n */\nexport function endProgram(payload: object): RequestOptionsFactory<any> {\n function __endProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.EndProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}/end',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __endProgram;\n}\n\n/**\n * Archives a program.\n *\n * Archiving closes the program, removes it from normal public discovery, and\n * replaces its SEO slug with the program ID so the previous slug can be reused.\n */\nexport function archiveProgram(payload: object): RequestOptionsFactory<any> {\n function __archiveProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.ArchiveProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}/archive',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __archiveProgram;\n}\n\n/**\n * Updates multiple programs in a single synchronous request.\n *\n * Each item includes its own program data and revision. Set `returnEntity` to\n * return updated programs in the response.\n */\nexport function bulkUpdatePrograms(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePrograms({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'programs.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'programs.program.createdDate' },\n { path: 'programs.program.updatedDate' },\n { path: 'programs.program.statusUpdatedDate' },\n { path: 'programs.program.description.image.urlExpirationDate' },\n { path: 'programs.program.description.video.urlExpirationDate' },\n {\n path: 'programs.program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'programs.program.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'programs.program.description.video.posters.urlExpirationDate',\n },\n { path: 'programs.program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'programs.program.description.image.focalPoint.x' },\n { path: 'programs.program.description.image.focalPoint.y' },\n {\n path: 'programs.program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'programs.program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'programs.program.description.video.posters.focalPoint.x' },\n { path: 'programs.program.description.video.posters.focalPoint.y' },\n {\n path: 'programs.program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.BulkUpdatePrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/bulk/programs/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.statusUpdatedDate' },\n { path: 'results.item.description.image.urlExpirationDate' },\n { path: 'results.item.description.video.urlExpirationDate' },\n {\n path: 'results.item.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.posters.urlExpirationDate',\n },\n { path: 'results.item.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.description.image.focalPoint.x' },\n { path: 'results.item.description.image.focalPoint.y' },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'results.item.description.video.posters.focalPoint.x' },\n { path: 'results.item.description.video.posters.focalPoint.y' },\n {\n path: 'results.item.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdatePrograms;\n}\n\n/**\n * Counts programs that match a filter.\n *\n * Results use the same visibility rules as `QueryPrograms`.\n */\nexport function countPrograms(payload: object): RequestOptionsFactory<any> {\n function __countPrograms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.CountPrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countPrograms;\n}\n\n/** Lists sample programs used as templates for creating new programs. */\nexport function listSamplePrograms(\n payload: object\n): RequestOptionsFactory<any> {\n function __listSamplePrograms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.ListSamplePrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/samples',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'programs.program.createdDate' },\n { path: 'programs.program.updatedDate' },\n { path: 'programs.program.statusUpdatedDate' },\n { path: 'programs.program.description.image.urlExpirationDate' },\n { path: 'programs.program.description.video.urlExpirationDate' },\n {\n path: 'programs.program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'programs.program.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'programs.program.description.video.posters.urlExpirationDate',\n },\n { path: 'programs.program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'programs.program.description.image.focalPoint.x' },\n { path: 'programs.program.description.image.focalPoint.y' },\n {\n path: 'programs.program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'programs.program.description.video.resolutions.poster.focalPoint.y',\n },\n {\n path: 'programs.program.description.video.posters.focalPoint.x',\n },\n {\n path: 'programs.program.description.video.posters.focalPoint.y',\n },\n {\n path: 'programs.program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listSamplePrograms;\n}\n","/**\n * A program is an Online Programs course, challenge, or structured journey.\n * Programs contain lifecycle state, public description, timeline, access rules,\n * pricing, SEO, rewards, and summary information for their content.\n */\nexport interface Program {\n /**\n * Program ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\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 * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the program was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the program was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Current program lifecycle status.\n * @readonly\n */\n status?: StatusWithLiterals;\n /**\n * Date and time when `status` last changed.\n * @readonly\n */\n statusUpdatedDate?: Date | null;\n /**\n * Category IDs assigned to the program. This field is read-only; use the Program Categories API to assign categories.\n * @readonly\n * @format GUID\n * @maxSize 10\n */\n categoryIds?: string[];\n /** Public-facing program title, details, and media. */\n description?: Description;\n /** Program timeline settings. Use this to configure self-paced or scheduled programs. */\n timeline?: Timeline;\n /** Program access, participation, and progression rules. */\n restrictions?: Restrictions;\n /** Optional one-time payment price for joining the program. */\n price?: Money;\n /** SEO settings used for the program page. */\n seo?: Seo;\n /**\n * Rewards assigned to participants when they reach configured milestones.\n * @maxSize 10\n */\n rewards?: Reward[];\n /**\n * ID of the social group connected to the program, if one exists.\n * @format GUID\n */\n socialGroupId?: string | null;\n /** Custom fields for apps that extend the Program entity. */\n extendedFields?: ExtendedFields;\n /** Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead. */\n shouldSendInvoice?: boolean;\n /** Settings that control how video steps behave in this program. */\n videoStepsSettings?: VideoStepsSettings;\n /**\n * Read-only counts of content entities in the program.\n * @readonly\n */\n contentSummary?: ContentSummary;\n /**\n * ID of the site user who created the program.\n * @format GUID\n * @readonly\n */\n ownerUserId?: string | null;\n}\n\nexport enum Status {\n /** The program is editable and visible only in management contexts. */\n DRAFT = 'DRAFT',\n /** The program is available according to its access restrictions. */\n PUBLISHED = 'PUBLISHED',\n /** The program is no longer available for new participation. */\n ENDED = 'ENDED',\n /** The program is closed and removed from normal public discovery. */\n ARCHIVED = 'ARCHIVED',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'DRAFT'\n | 'PUBLISHED'\n | 'ENDED'\n | 'ARCHIVED';\n\n/** Public program description and media. */\nexport interface Description extends DescriptionMediaOneOf {\n /** Program image. */\n image?: Image;\n /** Program video. */\n video?: VideoV2;\n /**\n * Program title.\n * @maxLength 150\n */\n title?: string;\n /**\n * Detailed program description.\n * @maxLength 8000\n */\n details?: string | null;\n}\n\n/** @oneof */\nexport interface DescriptionMediaOneOf {\n /** Program image. */\n image?: Image;\n /** Program video. */\n video?: VideoV2;\n}\n\nexport interface Image {\n /** WixMedia image ID. */\n id?: string;\n /** Image URL. */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /** Image alt text. */\n altText?: string | null;\n /**\n * Image URL expiration date (when relevant).\n * @internal\n * @readonly\n */\n urlExpirationDate?: Date | null;\n /**\n * Image filename.\n * @readonly\n */\n filename?: string | null;\n /**\n * Image size in bytes.\n * @internal\n * @readonly\n * @format DECIMAL_VALUE\n */\n sizeInBytes?: string | null;\n /**\n * Focal point of the image.\n * @internal\n */\n focalPoint?: FocalPoint;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport interface VideoV2 {\n /** WixMedia ID. */\n id?: string;\n /**\n * Original video URL.\n * @internal\n */\n url?: string;\n /**\n * Available resolutions for the video, starting with the optimal resolution.\n * @readonly\n * @maxSize 100\n */\n resolutions?: VideoResolution[];\n /**\n * Video filename.\n * @readonly\n */\n filename?: string | null;\n /**\n * Video posters.\n * @internal\n * @readonly\n */\n posters?: Image[];\n /**\n * Original video size in bytes.\n * @internal\n * @readonly\n * @format DECIMAL_VALUE\n */\n sizeInBytes?: string | null;\n /**\n * Video URL expiration date (when relevant).\n * @internal\n * @readonly\n */\n urlExpirationDate?: Date | null;\n /**\n * Original video duration in milliseconds.\n * @internal\n * @readonly\n */\n durationInMilliseconds?: number | null;\n /**\n * A short title for the video. will be used for SEO purposes.\n * @internal\n * @maxLength 300\n */\n title?: string | null;\n /**\n * A long description for the video. will be used for SEO purposes.\n * @internal\n * @maxLength 2000\n */\n description?: string | null;\n /**\n * Original video height.\n * @internal\n * @readonly\n */\n height?: number | null;\n /**\n * Original video width.\n * @internal\n * @readonly\n */\n width?: number | null;\n}\n\nexport interface VideoResolution {\n /** Video URL. */\n url?: string;\n /** Video height. */\n height?: number;\n /** Video width. */\n width?: number;\n /**\n * Deprecated. Use the `posters` property in the parent entity instead.\n * @internal\n * @deprecated\n */\n poster?: Image;\n /** Video format for example, mp4, hls. */\n format?: string;\n /**\n * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n * @internal\n * @deprecated\n */\n urlExpirationDate?: Date | null;\n /**\n * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n * @internal\n * @format DECIMAL_VALUE\n * @deprecated\n */\n sizeInBytes?: string | null;\n /**\n * Video quality. For example: 480p, 720p.\n * @internal\n */\n quality?: string | null;\n /**\n * Video filename.\n * @internal\n */\n filename?: string | null;\n /**\n * Video duration in seconds.\n * @internal\n * @readonly\n * @deprecated Video duration in seconds.\n * @replacedBy duration_in_milliseconds\n * @targetRemovalDate 2024-08-01\n */\n durationInSeconds?: number | null;\n /**\n * Video duration in milliseconds.\n * @internal\n * @readonly\n */\n durationInMilliseconds?: number | null;\n /**\n * When true, this is a protected asset, and calling the URL will return a 403 error.\n * In order to access private assets, make a request to:\n * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n * @internal\n * @readonly\n */\n private?: boolean | null;\n /**\n * Key to identify the video resolution's relationship to the original media in WixMedia.\n * Can be used to request a download for the specific video resolution.\n * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4\n * @internal\n * @readonly\n */\n assetKey?: string | null;\n}\n\n/** Program scheduling settings. */\nexport interface Timeline {\n /** Whether participants can progress at their own pace. */\n selfPaced?: boolean;\n /**\n * Local date when the scheduled program starts.\n * @format LOCAL_DATE\n */\n startDate?: string | null;\n /** Scheduled program duration in days. */\n durationInDays?: number | null;\n}\n\n/** Access and participation restrictions for a program. */\nexport interface Restrictions {\n /**\n * Maximum number of active participants allowed in the program.\n * @min 1\n */\n maxParticipants?: number | null;\n /** Whether future steps are hidden from participants until they become available. */\n hideFutureSteps?: boolean;\n /** Whether participants must complete steps in order. */\n resolveStepsInOrder?: boolean;\n /** Whether participants can share progress in the connected group. */\n shareProgress?: boolean;\n /** Program discovery and join access. */\n accessType?: AccessTypeWithLiterals;\n}\n\nexport enum AccessType {\n /** Anyone who can access the site can discover the program and start the join flow. */\n PUBLIC = 'PUBLIC',\n /** The program can be discovered, but joining requires owner approval. */\n PRIVATE = 'PRIVATE',\n /** The program is hidden from public discovery and visible only to participants, owners, and trusted apps. */\n SECRET = 'SECRET',\n}\n\n/** @enumType */\nexport type AccessTypeWithLiterals =\n | AccessType\n | 'PUBLIC'\n | 'PRIVATE'\n | 'SECRET';\n\n/**\n * Money.\n * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.\n */\nexport interface Money {\n /**\n * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).\n * @decimalValue options { gt:0.00, maxScale:3 }\n */\n value?: string;\n /**\n * Currency code. Must be valid ISO 4217 currency code (e.g., USD).\n * @format CURRENCY\n * @readonly\n */\n currency?: string;\n}\n\n/** SEO settings for the program page. */\nexport interface Seo {\n /**\n * Unique URL slug for the program page.\n * @format URL_SLUG\n */\n slug?: string;\n /** Advanced SEO schema data. */\n seoData?: SeoSchema;\n /**\n * Program page URL.\n * @readonly\n */\n url?: PageUrl;\n /**\n * Image URL derived from the program description media.\n * @format WEB_URL\n */\n imageUrl?: string | null;\n /**\n * Alternative text for the SEO image.\n * @maxLength 1000\n */\n imageAlt?: string;\n /**\n * Approximate SEO program duration in ISO 8601 duration format.\n * @maxLength 100\n * @readonly\n */\n courseWorkload?: string;\n}\n\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n *\n * Which of these an API actually accepts depends on where the tag is being set: this\n * list is not a blanket guarantee across every API that reuses this message. Site SEO\n * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n * `title`/`script`/`link` with a validation error even though they appear here —\n * check the field description of the specific `tags`-typed field you're writing to\n * for the types it actually supports and the error it returns.\n *\n * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`\n * `\"application/ld+json\"` carrying structured data) are supported only when\n * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\n * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\n * write through the site's Advanced/Custom Tags list. To write structured data,\n * omit `custom` (or set it to `false`).\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /**\n * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\n * i.e. an entry from the site's Advanced/Custom Tags list.\n *\n * Setting this to `true` on a write restricts which `type` values are accepted\n * — the same restriction the Advanced/Custom Tags UI enforces. `title` and\n * `script` tags (including JSON-LD structured data) must be sent with `custom`\n * omitted or `false`; sending them with `custom: true` is rejected with\n * `TAG_TYPE_NOT_ALLOWED`.\n *\n * Note 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.\n * for site-wide structured data) unconditionally. There is currently no way to set\n * site-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 *\n * This 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\n * default/pattern — standard tags always resolve with `custom: false`, even when their content comes\n * from a page's manually saved SEO title/description override. Don't use this field to verify whether\n * a live page reflects a manual per-page SEO edit.\n *\n * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\n * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\n * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\n * response entirely — there, `false` means this API could not tell, not that no custom tag exists.\n * Pass `seoData` explicitly to resolve against a known set of tags.\n */\n custom?: boolean;\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 disabled?: boolean;\n}\n\nexport interface Settings {\n /**\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 *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface PageUrl {\n /** The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`. */\n base?: string;\n /** The relative path for the page within the site. For example, `/product-page/a-product`. */\n path?: string;\n}\n\n/** Reward configuration for a program milestone. */\nexport interface Reward {\n /** Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards. */\n trigger?: TriggerWithLiterals;\n /**\n * Badge IDs to assign when the reward is granted.\n * @format GUID\n * @maxSize 50\n */\n badgeIds?: string[];\n /** Certificate assigned when the reward is granted. */\n certificate?: Certificate;\n}\n\nexport enum Trigger {\n /** Default trigger for existing rewards. The reward is granted when a member joins the program. */\n JOINED_TO_PROGRAM = 'JOINED_TO_PROGRAM',\n /** The reward is granted when at least one step is completed. */\n STEP_COMPLETED = 'STEP_COMPLETED',\n /** The reward is granted when all required steps are completed. */\n ALL_STEPS_COMPLETED = 'ALL_STEPS_COMPLETED',\n}\n\n/** @enumType */\nexport type TriggerWithLiterals =\n | Trigger\n | 'JOINED_TO_PROGRAM'\n | 'STEP_COMPLETED'\n | 'ALL_STEPS_COMPLETED';\n\n/** Certificate reward metadata. */\nexport interface Certificate {\n /**\n * Certificate ID. Currently this is the program GUID.\n * @format GUID\n */\n id?: string;\n /** Date and time the certificate was connected to the program. */\n connectedDate?: Date | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/** Video step playback and completion settings. */\nexport interface VideoStepsSettings {\n /** Whether the participant is automatically moved to the next video step after finishing the current one. */\n autoNavigate?: boolean;\n /** Percentage of a video that must be watched to complete a video step. */\n requiredCompletionPercentage?: number;\n}\n\n/** Read-only summary of program content. */\nexport interface ContentSummary {\n /**\n * Number of steps in the program.\n * @max 3000\n */\n stepCount?: number;\n /**\n * Number of sections in the program.\n * @max 1000\n */\n sectionCount?: number;\n}\n\nexport interface UpdateDocumentsEvent\n extends UpdateDocumentsEventOperationOneOf {\n /** insert/update documents */\n update?: DocumentUpdateOperation;\n /** delete by document ids */\n deleteByIds?: DeleteByIdsOperation;\n /** delete documents matching filter */\n deleteByFilter?: DeleteByFilterOperation;\n /** update documents matching filter */\n updateByFilter?: UpdateByFilterOperation;\n /** update only existing documents */\n updateExisting?: UpdateExistingOperation;\n /**\n * application which owns documents\n * @minLength 2\n */\n appDefId?: string | null;\n /**\n * type of the documents\n * @minLength 2\n */\n documentType?: string | null;\n /**\n * language of the documents\n * @minLength 2\n */\n language?: string | null;\n /**\n * site documents belong to\n * @minLength 2\n */\n msId?: string | null;\n}\n\n/** @oneof */\nexport interface UpdateDocumentsEventOperationOneOf {\n /** insert/update documents */\n update?: DocumentUpdateOperation;\n /** delete by document ids */\n deleteByIds?: DeleteByIdsOperation;\n /** delete documents matching filter */\n deleteByFilter?: DeleteByFilterOperation;\n /** update documents matching filter */\n updateByFilter?: UpdateByFilterOperation;\n /** update only existing documents */\n updateExisting?: UpdateExistingOperation;\n}\n\nexport interface DocumentUpdateOperation {\n /** documents to index or update */\n documents?: IndexDocument[];\n}\n\nexport interface IndexDocument {\n /** data bag with non-searchable fields (url, image) */\n payload?: DocumentPayload;\n /** what type of users should documents be visible to */\n exposure?: EnumWithLiterals;\n /** document with mandatory fields (id, title, description) and with fields specific to the type of the document */\n document?: Record<string, any> | null;\n /** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */\n permittedMemberGroups?: string[];\n /** if true SEO is disabled for this document */\n seoHidden?: boolean | null;\n /** if true the page is a lightbox popup */\n isPopup?: boolean | null;\n}\n\nexport interface DocumentPayload {\n /** url of the page representing the document */\n url?: string | null;\n /** image which represents the document */\n documentImage?: DocumentImage;\n}\n\nexport interface DocumentImage {\n /** the name of the image */\n name?: string;\n /** the width of the image */\n width?: number;\n /** the height of the image */\n height?: number;\n}\n\nexport enum Enum {\n /** Default value. Means that permission not set */\n UNKNOWN = 'UNKNOWN',\n /** Protected exposure. Exposed to members and owners */\n PROTECTED = 'PROTECTED',\n /** Private exposure. Exposed to owners */\n PRIVATE = 'PRIVATE',\n /** Public exposure. Visible to everyone */\n PUBLIC = 'PUBLIC',\n /** Used for partial updates, to state that exposure is not changing */\n UNCHANGED = 'UNCHANGED',\n /** Protected to members of permitted groups and owners */\n GROUP_PROTECTED = 'GROUP_PROTECTED',\n}\n\n/** @enumType */\nexport type EnumWithLiterals =\n | Enum\n | 'UNKNOWN'\n | 'PROTECTED'\n | 'PRIVATE'\n | 'PUBLIC'\n | 'UNCHANGED'\n | 'GROUP_PROTECTED';\n\nexport interface DeleteByIdsOperation {\n /** ids of the documents to delete */\n documentIds?: string[];\n}\n\nexport interface DeleteByFilterOperation {\n /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */\n filter?: Record<string, any> | null;\n}\n\nexport interface UpdateByFilterOperation {\n /** documents matching this filter will be updated */\n filter?: Record<string, any> | null;\n /** partial document to apply */\n document?: IndexDocument;\n}\n\nexport interface UpdateExistingOperation {\n /** documents to update */\n documents?: IndexDocument[];\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n /**\n * Optional caller-provided ID for tracking this invalidation through the system.\n * When set, the corresponding CDN purge completion event will include this ID,\n * allowing you to confirm when the invalidation has fully propagated.\n * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n * @maxLength 256\n */\n correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface Pages {\n /**\n * the msid the pages are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by multiple Page IDs in a single message\n * @maxSize 100\n * @minLength 1\n */\n pageIds?: string[];\n}\n\nexport interface URIs {\n /**\n * the msid the URIs are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @maxSize 100\n * @minLength 1\n */\n uriPaths?: string[];\n}\n\n/**\n * Message for reindexing search data to a given search schema. Support both upsert and delete flows as well as\n * performs context manipulation with adding tenant, provided in message to callscope.\n */\nexport interface ReindexMessage extends ReindexMessageActionOneOf {\n upsert?: Upsert;\n delete?: Delete;\n entityFqdn?: string;\n tenantId?: string;\n eventTime?: Date | null;\n entityEventSequence?: string | null;\n schema?: Schema;\n}\n\n/** @oneof */\nexport interface ReindexMessageActionOneOf {\n upsert?: Upsert;\n delete?: Delete;\n}\n\nexport interface Upsert {\n entityId?: string;\n entityAsJson?: string;\n}\n\nexport interface Delete {\n entityId?: string;\n}\n\nexport interface Schema {\n label?: string;\n clusterName?: string;\n}\n\nexport interface ProgramPublished {}\n\nexport interface ProgramEnded {\n /** Whether the program was ended manually by the owner. */\n endedByOwner?: boolean;\n}\n\nexport interface ProgramArchived {}\n\nexport interface ProgramDuplicated {\n /** Newly created program. */\n program?: Program;\n /** Program that was duplicated. */\n duplicatedFrom?: Program;\n /** Whether the program was cloned from a template. */\n fromTemplate?: boolean;\n}\n\nexport interface CreateProgramRequest {\n /** Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create. */\n program: Program;\n}\n\nexport interface CreateProgramResponse {\n /** Created draft program. */\n program?: Program;\n}\n\nexport interface BulkCreateProgramsMigrationRequest {\n /**\n * List of programs you want to create\n * @minSize 1\n * @maxSize 100\n */\n programs?: ProgramMigration[];\n}\n\nexport interface ProgramMigration {\n /** program to create */\n program?: Program;\n /**\n * section ids in program\n * @maxSize 5000\n * @format GUID\n */\n sectionIds?: string[];\n /**\n * step ids in program\n * @maxSize 5000\n * @format GUID\n */\n stepIds?: string[];\n}\n\nexport interface BulkCreateProgramsMigrationResponse {\n /** Results of bulk action. */\n results?: BulkProgramResult[];\n /** Metadata about whole bulk action. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkProgramResult {\n /** Metadata of item. */\n itemMetadata?: ItemMetadata;\n /** Item itself (empty if return_entity in request is false). */\n item?: Program;\n /** Action type of bulk action (INSERT OR UPDATE) for that endpoint. */\n action?: BulkActionTypeWithLiterals;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport enum BulkActionType {\n /** UNKNOWN_ACTION_TYPE */\n UNKNOWN_ACTION_TYPE = 'UNKNOWN_ACTION_TYPE',\n /** INSERT */\n INSERT = 'INSERT',\n /** UPDATE */\n UPDATE = 'UPDATE',\n /** DELETE */\n DELETE = 'DELETE',\n}\n\n/** @enumType */\nexport type BulkActionTypeWithLiterals =\n | BulkActionType\n | 'UNKNOWN_ACTION_TYPE'\n | 'INSERT'\n | 'UPDATE'\n | 'DELETE';\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface DeleteAllProgramsMigrationRequest {}\n\nexport interface DeleteAllProgramsMigrationResponse {}\n\nexport interface DuplicateProgramRequest {\n /**\n * ID of the program to duplicate.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface DuplicateProgramResponse {\n /** New draft program created from the source program. */\n program?: Program;\n}\n\nexport interface GetProgramRequest {\n /**\n * ID of the program to retrieve.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface GetProgramResponse {\n /** Requested program. */\n program?: Program;\n}\n\nexport interface UpdateProgramRequest {\n /** Program fields to update. Include `id` and the latest `revision`. */\n program: Program;\n /**\n * The list of fields to update. For REST requests, this list is inferred from the request body.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdateProgramResponse {\n /** Updated program. */\n program?: Program;\n}\n\nexport interface WrongStateErrorDetails {}\n\nexport interface WrongStartDateErrorDetails {}\n\nexport interface WrongParticipantsNumberErrorDetails {\n /** Number of active participants already in the program. */\n activeParticipantsCount?: number;\n}\n\nexport interface DuplicatedSlugErrorDetails {}\n\nexport interface TimelineSwitchForbiddenErrorDetails {}\n\nexport interface DeleteProgramRequest {\n /**\n * ID of the program to delete.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface DeleteProgramResponse {}\n\nexport interface QueryProgramsRequest {\n /** Query used to filter, sort, and page programs. */\n query?: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\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 cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn 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 filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n * @maxSize 100\n */\n sort?: Sorting[];\n /**\n * Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.\n * @maxSize 100\n * @maxLength 1000\n */\n fields?: string[];\n /**\n * Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.\n * @maxSize 100\n * @maxLength 1000\n */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\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 cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryProgramsResponse {\n /** Programs that match the query and caller visibility. */\n programs?: Program[];\n /** Paging metadata for the query response. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n * @internal\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface SearchProgramsRequest {\n /** Search expression, filters, sorting, and cursor paging options. */\n search?: CursorSearch;\n}\n\nexport interface CursorSearch extends CursorSearchPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn 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 filter?: Record<string, any> | null;\n /**\n * List of sort objects.\n *\n * Learn more about [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n * @maxSize 10\n */\n sort?: Sorting[];\n /**\n * Aggregations are a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.\n * @maxSize 10\n */\n aggregations?: Aggregation[];\n /** Free text to match in searchable fields. */\n search?: SearchDetails;\n /**\n * UTC offset or IANA time zone. Valid values are\n * ISO 8601 UTC offsets, such as +02:00 or -06:00,\n * and IANA time zone IDs, such as Europe/Rome.\n *\n * Affects all filters and aggregations returned values.\n * You may override this behavior in a specific filter by providing\n * timestamps including time zone. For example, `\"2023-12-20T10:52:34.795Z\"`.\n * @maxLength 50\n */\n timeZone?: string | null;\n}\n\n/** @oneof */\nexport interface CursorSearchPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Aggregation extends AggregationKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n /** Nested aggregation. */\n nested?: NestedAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation, client must provide matching aggregation field below. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by, use dot notation to specify json path.\n * @maxLength 200\n */\n fieldPath?: string;\n /**\n * Deprecated. Use `nested` instead.\n * @deprecated Deprecated. Use `nested` instead.\n * @replacedBy kind.nested\n * @targetRemovalDate 2024-03-30\n */\n groupBy?: GroupByAggregation;\n}\n\n/** @oneof */\nexport interface AggregationKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n /** Nested aggregation. */\n nested?: NestedAggregation;\n}\n\nexport interface RangeBucket {\n /** Inclusive lower bound of the range. Required if `to` is not provided. */\n from?: number | null;\n /** Exclusive upper bound of the range. Required if `from` is not provided. */\n to?: number | null;\n}\n\nexport enum SortType {\n /** Sort by number of matches. */\n COUNT = 'COUNT',\n /** Sort by value of the field alphabetically. */\n VALUE = 'VALUE',\n}\n\n/** @enumType */\nexport type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';\n\nexport enum SortDirection {\n /** Sort in descending order. */\n DESC = 'DESC',\n /** Sort in ascending order. */\n ASC = 'ASC',\n}\n\n/** @enumType */\nexport type SortDirectionWithLiterals = SortDirection | 'DESC' | 'ASC';\n\nexport enum MissingValues {\n /** Exclude missing values from the aggregation results. */\n EXCLUDE = 'EXCLUDE',\n /** Include missing values in the aggregation results. */\n INCLUDE = 'INCLUDE',\n}\n\n/** @enumType */\nexport type MissingValuesWithLiterals = MissingValues | 'EXCLUDE' | 'INCLUDE';\n\nexport interface IncludeMissingValuesOptions {\n /**\n * Specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...\n * @maxLength 20\n */\n addToBucket?: string;\n}\n\nexport enum ScalarType {\n /** Count of distinct values. */\n COUNT_DISTINCT = 'COUNT_DISTINCT',\n /** Minimum value. */\n MIN = 'MIN',\n /** Maximum value. */\n MAX = 'MAX',\n /**\n * Sum of values.\n * @internal\n */\n SUM = 'SUM',\n /**\n * Average of values.\n * @internal\n */\n AVG = 'AVG',\n}\n\n/** @enumType */\nexport type ScalarTypeWithLiterals =\n | ScalarType\n | 'COUNT_DISTINCT'\n | 'MIN'\n | 'MAX';\n\nexport interface ValueAggregation extends ValueAggregationOptionsOneOf {\n /** Options for including missing values. */\n includeOptions?: IncludeMissingValuesOptions;\n /** Whether to sort by number of matches or value of the field. */\n sortType?: SortTypeWithLiterals;\n /** Whether to sort in ascending or descending order. */\n sortDirection?: SortDirectionWithLiterals;\n /** How many aggregations to return. Can be between 1 and 250. 10 is the default. */\n limit?: number | null;\n /** Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`. */\n missingValues?: MissingValuesWithLiterals;\n}\n\n/** @oneof */\nexport interface ValueAggregationOptionsOneOf {\n /** Options for including missing values. */\n includeOptions?: IncludeMissingValuesOptions;\n}\n\nexport enum NestedAggregationType {\n /** An aggregation where result buckets are dynamically built - one per unique value. */\n VALUE = 'VALUE',\n /** An aggregation, where user can define set of ranges - each representing a bucket. */\n RANGE = 'RANGE',\n /** A single-value metric aggregation. For example, min, max, sum, avg. */\n SCALAR = 'SCALAR',\n /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.). */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n}\n\n/** @enumType */\nexport type NestedAggregationTypeWithLiterals =\n | NestedAggregationType\n | 'VALUE'\n | 'RANGE'\n | 'SCALAR'\n | 'DATE_HISTOGRAM';\n\nexport interface RangeAggregation {\n /**\n * List of range buckets, where during aggregation each entity will be placed in the first bucket its value falls into, based on the provided range bounds.\n * @maxSize 50\n */\n buckets?: RangeBucket[];\n}\n\nexport interface ScalarAggregation {\n /** Define the operator for the scalar aggregation. */\n type?: ScalarTypeWithLiterals;\n}\n\nexport interface DateHistogramAggregation {\n /** Interval for date histogram aggregation. */\n interval?: IntervalWithLiterals;\n}\n\nexport enum Interval {\n /** Yearly interval */\n YEAR = 'YEAR',\n /** Monthly interval */\n MONTH = 'MONTH',\n /** Weekly interval */\n WEEK = 'WEEK',\n /** Daily interval */\n DAY = 'DAY',\n /** Hourly interval */\n HOUR = 'HOUR',\n /** Minute interval */\n MINUTE = 'MINUTE',\n /** Second interval */\n SECOND = 'SECOND',\n}\n\n/** @enumType */\nexport type IntervalWithLiterals =\n | Interval\n | 'YEAR'\n | 'MONTH'\n | 'WEEK'\n | 'DAY'\n | 'HOUR'\n | 'MINUTE'\n | 'SECOND';\n\nexport interface NestedAggregationItem extends NestedAggregationItemKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation, client must provide matching aggregation field below. */\n type?: NestedAggregationTypeWithLiterals;\n /**\n * Field to aggregate by, use dot notation to specify json path.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationItemKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n}\n\nexport enum AggregationType {\n /** An aggregation where result buckets are dynamically built - one per unique value. */\n VALUE = 'VALUE',\n /** An aggregation, where user can define set of ranges - each representing a bucket. */\n RANGE = 'RANGE',\n /** A single-value metric aggregation. For example, min, max, sum, avg. */\n SCALAR = 'SCALAR',\n /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n /** Multi-level aggregation, where each next aggregation is nested within previous one. */\n NESTED = 'NESTED',\n}\n\n/** @enumType */\nexport type AggregationTypeWithLiterals =\n | AggregationType\n | 'VALUE'\n | 'RANGE'\n | 'SCALAR'\n | 'DATE_HISTOGRAM'\n | 'NESTED';\n\n/** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one. */\nexport interface NestedAggregation {\n /**\n * Flattened list of aggregations, where each next aggregation is nested within previous one.\n * @minSize 2\n * @maxSize 3\n */\n nestedAggregations?: NestedAggregationItem[];\n}\n\nexport interface GroupByAggregation extends GroupByAggregationKindOneOf {\n /** Value aggregation configuration. */\n value?: ValueAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results.\n * @maxLength 100\n */\n name?: string | null;\n /**\n * Field to aggregate by.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface GroupByAggregationKindOneOf {\n /** Value aggregation configuration. */\n value?: ValueAggregation;\n}\n\nexport interface SearchDetails {\n /** Defines how separate search terms in `expression` are combined. */\n mode?: ModeWithLiterals;\n /**\n * Search term or expression.\n * @maxLength 100\n */\n expression?: string | null;\n /**\n * Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path.\n * @maxLength 200\n * @maxSize 20\n */\n fields?: string[];\n /** Whether to use auto fuzzy search (allowing typos by a managed proximity algorithm). */\n fuzzy?: boolean;\n}\n\nexport enum Mode {\n /** Any of the search terms must be present. */\n OR = 'OR',\n /** All search terms must be present. */\n AND = 'AND',\n}\n\n/** @enumType */\nexport type ModeWithLiterals = Mode | 'OR' | 'AND';\n\nexport interface SearchProgramsResponse {\n /** Programs that match the search and caller visibility. */\n programs?: Program[];\n /** Cursor paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n /** Aggregation data returned by the search backend. */\n aggregationData?: AggregationData;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\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 hasNext?: boolean | null;\n /**\n * Total number of items matching the filter.\n * Available only on the first page of *Search* results, not included in *Query* or *List* results.\n * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.\n * @internal\n */\n total?: number | null;\n}\n\nexport interface AggregationData {\n /**\n * key = aggregation name (as derived from search request).\n * @maxSize 10000\n */\n results?: AggregationResults[];\n}\n\nexport interface ValueAggregationResult {\n /**\n * Value of the field.\n * @maxLength 100\n */\n value?: string;\n /** Count of entities with this value. */\n count?: number;\n}\n\nexport interface RangeAggregationResult {\n /** Inclusive lower bound of the range. */\n from?: number | null;\n /** Exclusive upper bound of the range. */\n to?: number | null;\n /** Count of entities in this range. */\n count?: number;\n}\n\nexport interface NestedAggregationResults\n extends NestedAggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n /**\n * User-defined name of aggregation, matches the one provided in request.\n * @maxLength 100\n */\n name?: string;\n /** Type of aggregation that matches result. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by, matches the one provided in request.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n}\n\nexport interface ValueResults {\n /**\n * List of value aggregations.\n * @maxSize 250\n */\n results?: ValueAggregationResult[];\n}\n\nexport interface RangeResults {\n /**\n * List of ranges returned in same order as requested.\n * @maxSize 50\n */\n results?: RangeAggregationResult[];\n}\n\nexport interface AggregationResultsScalarResult {\n /** Type of scalar aggregation. */\n type?: ScalarTypeWithLiterals;\n /** Value of the scalar aggregation. */\n value?: number;\n}\n\nexport interface NestedValueAggregationResult {\n /**\n * Value of the field.\n * @maxLength 1000\n */\n value?: string;\n /** Nested aggregations. */\n nestedResults?: NestedAggregationResults;\n}\n\nexport interface ValueResult {\n /**\n * Value of the field.\n * @maxLength 1000\n */\n value?: string;\n /** Count of entities with this value. */\n count?: number | null;\n}\n\nexport interface RangeResult {\n /** Inclusive lower bound of the range. */\n from?: number | null;\n /** Exclusive upper bound of the range. */\n to?: number | null;\n /** Count of entities in this range. */\n count?: number | null;\n}\n\nexport interface ScalarResult {\n /** Value of the scalar aggregation. */\n value?: number;\n}\n\nexport interface NestedResultValue extends NestedResultValueResultOneOf {\n /** Value aggregation result. */\n value?: ValueResult;\n /** Range aggregation result. */\n range?: RangeResult;\n /** Scalar aggregation result. */\n scalar?: ScalarResult;\n /** Date histogram aggregation result. */\n dateHistogram?: ValueResult;\n}\n\n/** @oneof */\nexport interface NestedResultValueResultOneOf {\n /** Value aggregation result. */\n value?: ValueResult;\n /** Range aggregation result. */\n range?: RangeResult;\n /** Scalar aggregation result. */\n scalar?: ScalarResult;\n /** Date histogram aggregation result. */\n dateHistogram?: ValueResult;\n}\n\nexport interface Results {\n /** List of nested aggregations. */\n results?: Record<string, NestedResultValue>;\n}\n\nexport interface DateHistogramResult {\n /**\n * Date in ISO 8601 format.\n * @maxLength 100\n */\n value?: string;\n /** Count of documents in the bucket. */\n count?: number;\n}\n\nexport interface GroupByValueResults {\n /**\n * List of value aggregations.\n * @maxSize 1000\n */\n results?: NestedValueAggregationResult[];\n}\n\nexport interface DateHistogramResults {\n /**\n * List of date histogram aggregations.\n * @maxSize 200\n */\n results?: DateHistogramResult[];\n}\n\n/**\n * Results of `NESTED` aggregation type in a flattened form.\n * Aggregations in resulting array are keyed by requested aggregation `name`.\n */\nexport interface NestedResults {\n /**\n * List of nested aggregations.\n * @maxSize 1000\n */\n results?: Results[];\n}\n\nexport interface AggregationResults extends AggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n /** Group by value aggregation results. */\n groupedByValue?: GroupByValueResults;\n /** Date histogram aggregation results. */\n dateHistogram?: DateHistogramResults;\n /** Nested aggregation results. */\n nested?: NestedResults;\n /**\n * User-defined name of aggregation as derived from search request.\n * @maxLength 100\n */\n name?: string;\n /** Type of aggregation that must match provided kind as derived from search request. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by as derived from search request.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface AggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n /** Group by value aggregation results. */\n groupedByValue?: GroupByValueResults;\n /** Date histogram aggregation results. */\n dateHistogram?: DateHistogramResults;\n /** Nested aggregation results. */\n nested?: NestedResults;\n}\n\nexport interface PublishProgramRequest {\n /**\n * ID of the draft program to publish.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface PublishProgramResponse {\n /** Published program. */\n program?: Program;\n}\n\nexport interface EndProgramRequest {\n /**\n * ID of the published program to end.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface EndProgramResponse {\n /** Ended program. */\n program?: Program;\n}\n\nexport interface ArchiveProgramRequest {\n /**\n * ID of the program to archive.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface ArchiveProgramResponse {\n /** Archived program. */\n program?: Program;\n}\n\nexport interface BulkUpdateProgramsRequest {\n /**\n * Programs to update. Each item contains partial program data.\n * @minSize 1\n * @maxSize 100\n */\n programs: MaskedProgram[];\n /** Whether to return updated programs in the response. */\n returnEntity?: boolean;\n}\n\nexport interface MaskedProgram {\n /** Partial program to update. Include `id` and the latest `revision`. */\n program?: Program;\n /** The list of fields to update for this program. For REST requests, this list is inferred from the request body. */\n fieldMask?: string[];\n}\n\nexport interface BulkUpdateProgramsResponse {\n /**\n * Per-item update results.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateProgramResult[];\n /** Summary metadata for the bulk update. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateProgramResult {\n /** Result metadata for this item. */\n itemMetadata?: ItemMetadata;\n /** Updated program. This is returned only when `return_entity` is true. */\n item?: Program;\n}\n\nexport interface CountProgramsRequest {\n /** WQL filter for the programs to count. */\n filter?: Record<string, any> | null;\n}\n\nexport interface CountProgramsResponse {\n /** Number of programs matching the filter and caller visibility. */\n count?: number;\n}\n\nexport interface ListSampleProgramsRequest {}\n\nexport interface ListSampleProgramsResponse {\n /**\n * Sample programs available as templates.\n * @maxSize 100\n */\n programs?: LabeledProgram[];\n}\n\nexport interface LabeledProgram {\n /** Sample program. */\n program?: Program;\n /**\n * Display label for the sample program.\n * @maxLength 1000\n */\n label?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface ResolveProgramSlugRequest {\n /**\n * seo slug of online program.\n * @maxLength 1000\n */\n slug?: string;\n}\n\nexport interface ResolveProgramSlugResponse {\n /** @format GUID */\n programId?: string;\n}\n\nexport interface MissingMetasiteIdErrorDetails {}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /** Emitted when Editorless is attached. */\n editorlessAssigned?: EditorlessAssigned;\n /** Emitted when Editorless is detached. */\n editorlessUnassigned?: EditorlessUnassigned;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /** Emitted when Editorless is attached. */\n editorlessAssigned?: EditorlessAssigned;\n /** Emitted when Editorless is detached. */\n editorlessUnassigned?: EditorlessUnassigned;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n /** Base44 headless sites. */\n BASE44 = 'BASE44',\n /** Wix Channels Sites */\n CHANNELS = 'CHANNELS',\n /** Nautilus platform. */\n NAUTILUS = 'NAUTILUS',\n /**\n * Symphony — a siteless site representing a project within Symphony (the evolution of Orion).\n * Holds project data, conversations, assets, and manages collaborators / shared team members for the project.\n */\n SYMPHONY = 'SYMPHONY',\n /** Nautilus platform app. */\n NAUTILUS_APPS = 'NAUTILUS_APPS',\n /**\n * Vibu — a siteless site representing a project built with Vibu (the AI app builder).\n * Holds the project's generated code, conversations, assets, and manages collaborators for the project.\n */\n VIBU = 'VIBU',\n /**\n * Ghost site for the BrandKit multi-site platform. Each ghost backs a single BrandKit\n * (an Enterprise account may have several), holding that BrandKit's brand definition\n * (theme, typography, assets) which is rolled out to the BrandKit's connected sites.\n * MetaSites with this namespace will *not* be shown in a user's site list by default.\n */\n ENTERPRISE_BRAND_KIT = 'ENTERPRISE_BRAND_KIT',\n /**\n * Development sites managed by dev-center's DevelopmentSitesManager (com.wixpress.devcenter.dsm) —\n * real, fully premium Wix sites created from a template and lent to a developer to test their\n * in-development app. Distinct from DEV_SITE (Wix Blocks app-backing sites keyed by app_def_id).\n * Owner: ot-dev-center-platform.\n * MetaSites with this namespace will *not* be shown in a user's site list by default.\n */\n DEV_CENTER_DEV_SITE = 'DEV_CENTER_DEV_SITE',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO'\n | 'BASE44'\n | 'CHANNELS'\n | 'NAUTILUS'\n | 'SYMPHONY'\n | 'NAUTILUS_APPS'\n | 'VIBU'\n | 'ENTERPRISE_BRAND_KIT'\n | 'DEV_CENTER_DEV_SITE';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\n/** Media from user domain is enabled. */\nexport interface UserDomainMediaEnabled {}\n\n/** Media from user domain is disabled. */\nexport interface UserDomainMediaDisabled {}\n\n/** Assigned Editorless */\nexport interface EditorlessAssigned {}\n\n/** Unassigned Editorless */\nexport interface EditorlessUnassigned {}\n\nexport interface SearchIndexingNotification {\n /** new state of indexing for the site specified in ms_id */\n indexState?: SearchIndexingNotificationStateWithLiterals;\n /** type of the document the notification is targeted for. Applies to all types if not provided */\n documentType?: string | null;\n /** languaInternalDocumentUpdateByFilterOperationge the notification is targeted for. Applies to all languages if not provided */\n language?: string | null;\n /**\n * site for which notification is targeted\n * @minLength 2\n */\n msId?: string | null;\n}\n\nexport enum SearchIndexingNotificationState {\n /** default state */\n Unknown = 'Unknown',\n /** metasite does not require site search indexing */\n Off = 'Off',\n /** metasite requires site search indexing */\n On = 'On',\n}\n\n/** @enumType */\nexport type SearchIndexingNotificationStateWithLiterals =\n | SearchIndexingNotificationState\n | 'Unknown'\n | 'Off'\n | 'On';\n\n/** Encapsulates all changes when site properties are updated */\nexport interface SitePropertiesUpdated {\n /** ID of the Wix site that has been updated. */\n metasiteId?: string;\n /** Update details. */\n event?: SitePropertiesEvent;\n}\n\n/** The actual update event for a particular notification. */\nexport interface SitePropertiesEvent {\n /** Version of the site's properties represented by this update. */\n version?: number;\n /** Set of properties that were updated - corresponds to the fields in \"properties\". */\n fields?: string[];\n /** Updated properties. */\n properties?: Properties;\n}\n\nexport interface Properties {\n /** Site categories. */\n categories?: Categories;\n /** Site locale. */\n locale?: Locale;\n /**\n * Site language.\n *\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n */\n language?: string | null;\n /**\n * Site currency format used to bill customers.\n *\n * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n */\n paymentCurrency?: string | null;\n /** Timezone in `America/New_York` format. */\n timeZone?: string | null;\n /** Email address. */\n email?: string | null;\n /** Phone number. */\n phone?: string | null;\n /** Fax number. */\n fax?: string | null;\n /** Address. */\n address?: Address;\n /** Site display name. */\n siteDisplayName?: string | null;\n /** Business name. */\n businessName?: string | null;\n /** Path to the site's logo in Wix Media (without Wix Media base URL). */\n logo?: string | null;\n /** Site description. */\n description?: string | null;\n /**\n * Business schedule. Regular and exceptional time periods when the business is open or the service is available.\n *\n * __Note:__ Not supported by Wix Bookings.\n */\n businessSchedule?: BusinessSchedule;\n /** Supported languages of a site and the primary language. */\n multilingual?: Multilingual;\n /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */\n consentPolicy?: ConsentPolicy;\n /**\n * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.\n *\n * Site business type.\n */\n businessConfig?: string | null;\n /** External site URL that uses Wix as its headless business solution. */\n externalSiteUrl?: string | null;\n /** Track clicks analytics. */\n trackClicksAnalytics?: boolean;\n /**\n * Company ID issued to the business by local authorities. Appears on invoices and price quotes.\n * @maxLength 50\n */\n companyId?: string | null;\n}\n\nexport interface Categories {\n /** Primary site category. */\n primary?: string;\n /**\n * Secondary site category.\n * @maxSize 50\n */\n secondary?: string[];\n /** Business Term Id */\n businessTermId?: string | null;\n}\n\nexport interface Locale {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */\n country?: string;\n}\n\nexport interface Address {\n /** Street name. */\n street?: string;\n /** City name. */\n city?: string;\n /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */\n country?: string;\n /** State. */\n state?: string;\n /**\n * Zip or postal code.\n * @maxLength 20\n */\n zip?: string;\n /** Extra information to be displayed in the address. */\n hint?: AddressHint;\n /** Whether this address represents a physical location. */\n isPhysical?: boolean;\n /** Google-formatted version of this address. */\n googleFormattedAddress?: string;\n /** Street number. */\n streetNumber?: string;\n /** Apartment number. */\n apartmentNumber?: string;\n /** Geographic coordinates of location. */\n coordinates?: GeoCoordinates;\n}\n\n/**\n * Extra information on displayed addresses.\n * This is used for display purposes. Used to add additional data about the address, such as \"In the passage\".\n * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.\n */\nexport interface AddressHint {\n /** Extra text displayed next to, or instead of, the actual address. */\n text?: string;\n /** Where the extra text should be displayed. */\n placement?: PlacementTypeWithLiterals;\n}\n\n/** Where the extra text should be displayed: before, after or instead of the actual address. */\nexport enum PlacementType {\n BEFORE = 'BEFORE',\n AFTER = 'AFTER',\n REPLACE = 'REPLACE',\n}\n\n/** @enumType */\nexport type PlacementTypeWithLiterals =\n | PlacementType\n | 'BEFORE'\n | 'AFTER'\n | 'REPLACE';\n\n/** Geocoordinates for a particular address. */\nexport interface GeoCoordinates {\n /** Latitude of the location. Must be between -90 and 90. */\n latitude?: number;\n /** Longitude of the location. Must be between -180 and 180. */\n longitude?: number;\n}\n\n/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */\nexport interface BusinessSchedule {\n /**\n * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.\n * @maxSize 100\n */\n periods?: TimePeriod[];\n /**\n * Exceptions to the business's regular hours. The business can be open or closed during the exception.\n * @maxSize 100\n */\n specialHourPeriod?: SpecialHourPeriod[];\n}\n\n/** Weekly recurring time periods when the business is regularly open or the service is available. */\nexport interface TimePeriod {\n /** Day of the week the period starts on. */\n openDay?: DayOfWeekWithLiterals;\n /**\n * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n * midnight at the end of the specified day.\n */\n openTime?: string;\n /** Day of the week the period ends on. */\n closeDay?: DayOfWeekWithLiterals;\n /**\n * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n * midnight at the end of the specified day.\n *\n * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.\n */\n closeTime?: string;\n}\n\n/** Enumerates the days of the week. */\nexport enum DayOfWeek {\n MONDAY = 'MONDAY',\n TUESDAY = 'TUESDAY',\n WEDNESDAY = 'WEDNESDAY',\n THURSDAY = 'THURSDAY',\n FRIDAY = 'FRIDAY',\n SATURDAY = 'SATURDAY',\n SUNDAY = 'SUNDAY',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n | DayOfWeek\n | 'MONDAY'\n | 'TUESDAY'\n | 'WEDNESDAY'\n | 'THURSDAY'\n | 'FRIDAY'\n | 'SATURDAY'\n | 'SUNDAY';\n\n/** Exception to the business's regular hours. The business can be open or closed during the exception. */\nexport interface SpecialHourPeriod {\n /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n startDate?: string;\n /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n endDate?: string;\n /**\n * Whether the business is closed (or the service is not available) during the exception.\n *\n * Default: `true`.\n */\n isClosed?: boolean;\n /** Additional info about the exception. For example, \"We close earlier on New Year's Eve.\" */\n comment?: string;\n}\n\nexport interface Multilingual {\n /**\n * Supported languages list.\n * @maxSize 200\n */\n supportedLanguages?: SupportedLanguage[];\n /** Whether to redirect to user language. */\n autoRedirect?: boolean;\n}\n\nexport interface SupportedLanguage {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Locale. */\n locale?: Locale;\n /** Whether the supported language is the primary language for the site. */\n isPrimary?: boolean;\n /** Language icon. */\n countryCode?: string;\n /** How the language will be resolved. For internal use. */\n resolutionMethod?: ResolutionMethodWithLiterals;\n /** Whether the supported language is the primary language for site visitors. */\n isVisitorPrimary?: boolean | null;\n}\n\nexport enum ResolutionMethod {\n QUERY_PARAM = 'QUERY_PARAM',\n SUBDOMAIN = 'SUBDOMAIN',\n SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ResolutionMethodWithLiterals =\n | ResolutionMethod\n | 'QUERY_PARAM'\n | 'SUBDOMAIN'\n | 'SUBDIRECTORY';\n\nexport interface ConsentPolicy {\n /** Whether the site uses cookies that are essential to site operation. Always `true`. */\n essential?: boolean | null;\n /** Whether the site uses cookies that affect site performance and other functional measurements. */\n functional?: boolean | null;\n /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */\n analytics?: boolean | null;\n /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */\n advertising?: boolean | null;\n /** CCPA compliance flag. */\n dataToThirdParty?: boolean | null;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type UpdateProgramApplicationErrors =\n | {\n code?: 'WRONG_STATE';\n description?: string;\n data?: WrongStateErrorDetails;\n }\n | {\n code?: 'WRONG_START_DATE';\n description?: string;\n data?: WrongStartDateErrorDetails;\n }\n | {\n code?: 'WRONG_PARTICIPANTS_NUMBER';\n description?: string;\n data?: WrongParticipantsNumberErrorDetails;\n }\n | {\n code?: 'DUPLICATED_SLUG';\n description?: string;\n data?: DuplicatedSlugErrorDetails;\n }\n | {\n code?: 'TIMELINE_SWITCH_FORBIDDEN';\n description?: string;\n data?: TimelineSwitchForbiddenErrorDetails;\n };\n/** @docsIgnore */\nexport type PublishProgramApplicationErrors = {\n code?: 'INVALID_START_DATE';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixOnlineProgramsV3Program from './online-programs-v3-program-programs.http.js';\nimport * as ambassadorWixOnlineProgramsV3ProgramTypes from './online-programs-v3-program-programs.types.js';\nimport * as ambassadorWixOnlineProgramsV3ProgramUniversalTypes from './online-programs-v3-program-programs.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.CreateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.CreateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.CreateProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.CreateProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.createProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function duplicateProgram(): __PublicMethodMetaInfo<\n 'POST',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.DuplicateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.DuplicateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.DuplicateProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.DuplicateProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.duplicateProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/{programId}/duplicate',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getProgram(): __PublicMethodMetaInfo<\n 'GET',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.GetProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.GetProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.GetProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.GetProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.getProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/programs/{programId}',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateProgram(): __PublicMethodMetaInfo<\n 'PATCH',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.UpdateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.UpdateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.UpdateProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.UpdateProgramResponse\n> {\n const payload = { program: { id: ':programId' } } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.updateProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/programs/{program.id}',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteProgram(): __PublicMethodMetaInfo<\n 'DELETE',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.DeleteProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.DeleteProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.DeleteProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.DeleteProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.deleteProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/programs/{programId}',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryPrograms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.QueryProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.QueryProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.QueryProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.QueryProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.queryPrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function searchPrograms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.SearchProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.SearchProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.SearchProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.SearchProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.searchPrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/search',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function publishProgram(): __PublicMethodMetaInfo<\n 'POST',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.PublishProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.PublishProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.PublishProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.PublishProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.publishProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/{programId}/publish',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function endProgram(): __PublicMethodMetaInfo<\n 'POST',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.EndProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.EndProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.EndProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.EndProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.endProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/{programId}/end',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function archiveProgram(): __PublicMethodMetaInfo<\n 'POST',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.ArchiveProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.ArchiveProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.ArchiveProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.ArchiveProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.archiveProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/{programId}/archive',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePrograms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.BulkUpdateProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.BulkUpdateProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.BulkUpdateProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.BulkUpdateProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.bulkUpdatePrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/programs/update',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function countPrograms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.CountProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.CountProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.CountProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.CountProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.countPrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listSamplePrograms(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.ListSampleProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.ListSampleProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.ListSampleProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.ListSampleProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.listSamplePrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/programs/samples',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Program as ProgramOriginal,\n Status as StatusOriginal,\n StatusWithLiterals as StatusWithLiteralsOriginal,\n Description as DescriptionOriginal,\n DescriptionMediaOneOf as DescriptionMediaOneOfOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n VideoV2 as VideoV2Original,\n VideoResolution as VideoResolutionOriginal,\n Timeline as TimelineOriginal,\n Restrictions as RestrictionsOriginal,\n AccessType as AccessTypeOriginal,\n AccessTypeWithLiterals as AccessTypeWithLiteralsOriginal,\n Money as MoneyOriginal,\n Seo as SeoOriginal,\n SeoSchema as SeoSchemaOriginal,\n Keyword as KeywordOriginal,\n Tag as TagOriginal,\n Settings as SettingsOriginal,\n PageUrl as PageUrlOriginal,\n Reward as RewardOriginal,\n Trigger as TriggerOriginal,\n TriggerWithLiterals as TriggerWithLiteralsOriginal,\n Certificate as CertificateOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n VideoStepsSettings as VideoStepsSettingsOriginal,\n ContentSummary as ContentSummaryOriginal,\n UpdateDocumentsEvent as UpdateDocumentsEventOriginal,\n UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal,\n DocumentUpdateOperation as DocumentUpdateOperationOriginal,\n IndexDocument as IndexDocumentOriginal,\n DocumentPayload as DocumentPayloadOriginal,\n DocumentImage as DocumentImageOriginal,\n Enum as EnumOriginal,\n EnumWithLiterals as EnumWithLiteralsOriginal,\n DeleteByIdsOperation as DeleteByIdsOperationOriginal,\n DeleteByFilterOperation as DeleteByFilterOperationOriginal,\n UpdateByFilterOperation as UpdateByFilterOperationOriginal,\n UpdateExistingOperation as UpdateExistingOperationOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n Pages as PagesOriginal,\n URIs as URIsOriginal,\n ReindexMessage as ReindexMessageOriginal,\n ReindexMessageActionOneOf as ReindexMessageActionOneOfOriginal,\n Upsert as UpsertOriginal,\n Delete as DeleteOriginal,\n Schema as SchemaOriginal,\n ProgramPublished as ProgramPublishedOriginal,\n ProgramEnded as ProgramEndedOriginal,\n ProgramArchived as ProgramArchivedOriginal,\n ProgramDuplicated as ProgramDuplicatedOriginal,\n CreateProgramRequest as CreateProgramRequestOriginal,\n CreateProgramResponse as CreateProgramResponseOriginal,\n BulkCreateProgramsMigrationRequest as BulkCreateProgramsMigrationRequestOriginal,\n ProgramMigration as ProgramMigrationOriginal,\n BulkCreateProgramsMigrationResponse as BulkCreateProgramsMigrationResponseOriginal,\n BulkProgramResult as BulkProgramResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionType as BulkActionTypeOriginal,\n BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n DeleteAllProgramsMigrationRequest as DeleteAllProgramsMigrationRequestOriginal,\n DeleteAllProgramsMigrationResponse as DeleteAllProgramsMigrationResponseOriginal,\n DuplicateProgramRequest as DuplicateProgramRequestOriginal,\n DuplicateProgramResponse as DuplicateProgramResponseOriginal,\n GetProgramRequest as GetProgramRequestOriginal,\n GetProgramResponse as GetProgramResponseOriginal,\n UpdateProgramRequest as UpdateProgramRequestOriginal,\n UpdateProgramResponse as UpdateProgramResponseOriginal,\n WrongStateErrorDetails as WrongStateErrorDetailsOriginal,\n WrongStartDateErrorDetails as WrongStartDateErrorDetailsOriginal,\n WrongParticipantsNumberErrorDetails as WrongParticipantsNumberErrorDetailsOriginal,\n DuplicatedSlugErrorDetails as DuplicatedSlugErrorDetailsOriginal,\n TimelineSwitchForbiddenErrorDetails as TimelineSwitchForbiddenErrorDetailsOriginal,\n DeleteProgramRequest as DeleteProgramRequestOriginal,\n DeleteProgramResponse as DeleteProgramResponseOriginal,\n QueryProgramsRequest as QueryProgramsRequestOriginal,\n QueryV2 as QueryV2Original,\n QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n Paging as PagingOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryProgramsResponse as QueryProgramsResponseOriginal,\n PagingMetadataV2 as PagingMetadataV2Original,\n Cursors as CursorsOriginal,\n SearchProgramsRequest as SearchProgramsRequestOriginal,\n CursorSearch as CursorSearchOriginal,\n CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal,\n Aggregation as AggregationOriginal,\n AggregationKindOneOf as AggregationKindOneOfOriginal,\n RangeBucket as RangeBucketOriginal,\n SortType as SortTypeOriginal,\n SortTypeWithLiterals as SortTypeWithLiteralsOriginal,\n SortDirection as SortDirectionOriginal,\n SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal,\n MissingValues as MissingValuesOriginal,\n MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal,\n IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal,\n ScalarType as ScalarTypeOriginal,\n ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal,\n ValueAggregation as ValueAggregationOriginal,\n ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal,\n NestedAggregationType as NestedAggregationTypeOriginal,\n NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal,\n RangeAggregation as RangeAggregationOriginal,\n ScalarAggregation as ScalarAggregationOriginal,\n DateHistogramAggregation as DateHistogramAggregationOriginal,\n Interval as IntervalOriginal,\n IntervalWithLiterals as IntervalWithLiteralsOriginal,\n NestedAggregationItem as NestedAggregationItemOriginal,\n NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal,\n AggregationType as AggregationTypeOriginal,\n AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal,\n NestedAggregation as NestedAggregationOriginal,\n GroupByAggregation as GroupByAggregationOriginal,\n GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal,\n SearchDetails as SearchDetailsOriginal,\n Mode as ModeOriginal,\n ModeWithLiterals as ModeWithLiteralsOriginal,\n SearchProgramsResponse as SearchProgramsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n AggregationData as AggregationDataOriginal,\n ValueAggregationResult as ValueAggregationResultOriginal,\n RangeAggregationResult as RangeAggregationResultOriginal,\n NestedAggregationResults as NestedAggregationResultsOriginal,\n NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal,\n ValueResults as ValueResultsOriginal,\n RangeResults as RangeResultsOriginal,\n AggregationResultsScalarResult as AggregationResultsScalarResultOriginal,\n NestedValueAggregationResult as NestedValueAggregationResultOriginal,\n ValueResult as ValueResultOriginal,\n RangeResult as RangeResultOriginal,\n ScalarResult as ScalarResultOriginal,\n NestedResultValue as NestedResultValueOriginal,\n NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal,\n Results as ResultsOriginal,\n DateHistogramResult as DateHistogramResultOriginal,\n GroupByValueResults as GroupByValueResultsOriginal,\n DateHistogramResults as DateHistogramResultsOriginal,\n NestedResults as NestedResultsOriginal,\n AggregationResults as AggregationResultsOriginal,\n AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal,\n PublishProgramRequest as PublishProgramRequestOriginal,\n PublishProgramResponse as PublishProgramResponseOriginal,\n EndProgramRequest as EndProgramRequestOriginal,\n EndProgramResponse as EndProgramResponseOriginal,\n ArchiveProgramRequest as ArchiveProgramRequestOriginal,\n ArchiveProgramResponse as ArchiveProgramResponseOriginal,\n BulkUpdateProgramsRequest as BulkUpdateProgramsRequestOriginal,\n MaskedProgram as MaskedProgramOriginal,\n BulkUpdateProgramsResponse as BulkUpdateProgramsResponseOriginal,\n BulkUpdateProgramResult as BulkUpdateProgramResultOriginal,\n CountProgramsRequest as CountProgramsRequestOriginal,\n CountProgramsResponse as CountProgramsResponseOriginal,\n ListSampleProgramsRequest as ListSampleProgramsRequestOriginal,\n ListSampleProgramsResponse as ListSampleProgramsResponseOriginal,\n LabeledProgram as LabeledProgramOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n ResolveProgramSlugRequest as ResolveProgramSlugRequestOriginal,\n ResolveProgramSlugResponse as ResolveProgramSlugResponseOriginal,\n MissingMetasiteIdErrorDetails as MissingMetasiteIdErrorDetailsOriginal,\n MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n Asset as AssetOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCreatedContext as SiteCreatedContextOriginal,\n SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n Namespace as NamespaceOriginal,\n NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n SiteTransferred as SiteTransferredOriginal,\n SiteDeleted as SiteDeletedOriginal,\n DeleteContext as DeleteContextOriginal,\n DeleteStatus as DeleteStatusOriginal,\n DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n SiteUndeleted as SiteUndeletedOriginal,\n SitePublished as SitePublishedOriginal,\n SiteUnpublished as SiteUnpublishedOriginal,\n SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n ServiceProvisioned as ServiceProvisionedOriginal,\n ServiceRemoved as ServiceRemovedOriginal,\n SiteRenamed as SiteRenamedOriginal,\n SiteHardDeleted as SiteHardDeletedOriginal,\n NamespaceChanged as NamespaceChangedOriginal,\n StudioAssigned as StudioAssignedOriginal,\n StudioUnassigned as StudioUnassignedOriginal,\n SiteUrlChanged as SiteUrlChangedOriginal,\n SitePurgedExternally as SitePurgedExternallyOriginal,\n OdeditorAssigned as OdeditorAssignedOriginal,\n OdeditorUnassigned as OdeditorUnassignedOriginal,\n PicassoAssigned as PicassoAssignedOriginal,\n PicassoUnassigned as PicassoUnassignedOriginal,\n WixelAssigned as WixelAssignedOriginal,\n WixelUnassigned as WixelUnassignedOriginal,\n StudioTwoAssigned as StudioTwoAssignedOriginal,\n StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n UserDomainMediaEnabled as UserDomainMediaEnabledOriginal,\n UserDomainMediaDisabled as UserDomainMediaDisabledOriginal,\n EditorlessAssigned as EditorlessAssignedOriginal,\n EditorlessUnassigned as EditorlessUnassignedOriginal,\n SearchIndexingNotification as SearchIndexingNotificationOriginal,\n SearchIndexingNotificationState as SearchIndexingNotificationStateOriginal,\n SearchIndexingNotificationStateWithLiterals as SearchIndexingNotificationStateWithLiteralsOriginal,\n SitePropertiesUpdated as SitePropertiesUpdatedOriginal,\n SitePropertiesEvent as SitePropertiesEventOriginal,\n Properties as PropertiesOriginal,\n Categories as CategoriesOriginal,\n Locale as LocaleOriginal,\n Address as AddressOriginal,\n AddressHint as AddressHintOriginal,\n PlacementType as PlacementTypeOriginal,\n PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal,\n GeoCoordinates as GeoCoordinatesOriginal,\n BusinessSchedule as BusinessScheduleOriginal,\n TimePeriod as TimePeriodOriginal,\n DayOfWeek as DayOfWeekOriginal,\n DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n SpecialHourPeriod as SpecialHourPeriodOriginal,\n Multilingual as MultilingualOriginal,\n SupportedLanguage as SupportedLanguageOriginal,\n ResolutionMethod as ResolutionMethodOriginal,\n ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal,\n ConsentPolicy as ConsentPolicyOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n UpdateProgramApplicationErrors as UpdateProgramApplicationErrorsOriginal,\n PublishProgramApplicationErrors as PublishProgramApplicationErrorsOriginal,\n} from './online-programs-v3-program-programs.types.js';\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,wBAAAA;AAAA,EAAA,0BAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,qBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,qDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MAC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AM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["archiveProgram","bulkUpdatePrograms","countPrograms","createProgram","deleteProgram","duplicateProgram","endProgram","getProgram","listSamplePrograms","publishProgram","queryPrograms","searchPrograms","updateProgram","import_float","import_timestamp","import_rest_modules","payload","Status","AccessType","Trigger","Enum","BulkActionType","SortOrder","SortType","SortDirection","MissingValues","ScalarType","NestedAggregationType","Interval","AggregationType","Mode","State","SiteCreatedContext","Namespace","DeleteStatus","SearchIndexingNotificationState","PlacementType","DayOfWeek","ResolutionMethod","WebhookIdentityType","createProgram","duplicateProgram","getProgram","updateProgram","deleteProgram","queryPrograms","searchPrograms","publishProgram","endProgram","archiveProgram","bulkUpdatePrograms","countPrograms","listSamplePrograms"]}
1
+ {"version":3,"sources":["../../../meta.ts","../../../src/online-programs-v3-program-programs.http.ts","../../../src/online-programs-v3-program-programs.types.ts","../../../src/online-programs-v3-program-programs.meta.ts"],"sourcesContent":["export * from './src/online-programs-v3-program-programs.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/programs-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/programs-service',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/programs-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/programs-service',\n destPath: '',\n },\n {\n srcPath: '/online-programs/v3/programs',\n destPath: '/v3/programs',\n },\n {\n srcPath: '/online-programs/v3/bulk/programs',\n destPath: '/v3/bulk/programs',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/online-programs/v3/programs',\n destPath: '/v3/programs',\n },\n {\n srcPath: '/online-programs/v3/bulk/programs',\n destPath: '/v3/bulk/programs',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_online-programs_programs';\n\n/**\n * Creates a draft program.\n *\n * The service sets the program ID, revision, creation dates, owner, and initial\n * `DRAFT` status. Publish the program when it's ready to be visible\n * according to its access restrictions.\n */\nexport function createProgram(payload: object): RequestOptionsFactory<any> {\n function __createProgram({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n { path: 'program.description.video.resolutions.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n { path: 'program.description.video.resolutions.poster.focalPoint.x' },\n { path: 'program.description.video.resolutions.poster.focalPoint.y' },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n { path: 'program.videoStepsSettings.requiredCompletionPercentage' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.CreateProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createProgram;\n}\n\n/**\n * Duplicates a program as a new draft.\n *\n * The duplicated program gets a new ID and owner, starts in `DRAFT` status,\n * keeps category assignments and translation content, resets the SEO slug to\n * the duplicated program ID, clears the connected social group, and doesn't\n * copy section or step references.\n */\nexport function duplicateProgram(payload: object): RequestOptionsFactory<any> {\n function __duplicateProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.DuplicateProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}/duplicate',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __duplicateProgram;\n}\n\n/**\n * Retrieves a program by ID.\n *\n * Visibility depends on caller identity and program access settings. Public\n * callers can retrieve published and ended non-secret programs. Site members\n * can retrieve secret programs only when they participate in them. Trusted apps\n * and services can retrieve management views.\n */\nexport function getProgram(payload: object): RequestOptionsFactory<any> {\n function __getProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'GET' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.GetProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProgram;\n}\n\n/**\n * Updates selected fields of a program.\n *\n * Each time the program is updated, `revision` increments by 1. The current\n * `revision` must be passed when updating the program. This ensures you're\n * working with the latest program and prevents unintended overwrites.\n *\n * Ended and archived programs can't be updated. Timeline changes are blocked\n * when the program has active participants.\n */\nexport function updateProgram(payload: object): RequestOptionsFactory<any> {\n function __updateProgram({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n { path: 'program.description.video.resolutions.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n { path: 'program.description.video.resolutions.poster.focalPoint.x' },\n { path: 'program.description.video.resolutions.poster.focalPoint.y' },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n { path: 'program.videoStepsSettings.requiredCompletionPercentage' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'PATCH' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.UpdateProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{program.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProgram;\n}\n\n/**\n * Deletes a program.\n *\n * Deleting a program permanently removes it from the program list, cancels its\n * scheduled end task, removes related member groups, and removes it from search.\n */\nexport function deleteProgram(payload: object): RequestOptionsFactory<any> {\n function __deleteProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'DELETE' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.DeleteProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteProgram;\n}\n\n/**\n * Retrieves a list of up to 50 programs, given the provided paging, filtering, and sorting.\n *\n * Query Programs runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n *\n * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).\n *\n * Results are visibility-filtered according to the caller identity.\n */\nexport function queryPrograms(payload: object): RequestOptionsFactory<any> {\n function __queryPrograms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.QueryPrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'programs.createdDate' },\n { path: 'programs.updatedDate' },\n { path: 'programs.statusUpdatedDate' },\n { path: 'programs.description.image.urlExpirationDate' },\n { path: 'programs.description.video.urlExpirationDate' },\n {\n path: 'programs.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'programs.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'programs.description.video.posters.urlExpirationDate' },\n { path: 'programs.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'programs.description.image.focalPoint.x' },\n { path: 'programs.description.image.focalPoint.y' },\n {\n path: 'programs.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'programs.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'programs.description.video.posters.focalPoint.x' },\n { path: 'programs.description.video.posters.focalPoint.y' },\n {\n path: 'programs.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryPrograms;\n}\n\n/**\n * Searches programs by title and structured filters.\n *\n * Use this method when you need full-text search over `description.title`.\n * Results are visibility-filtered according to the caller identity.\n */\nexport function searchPrograms(payload: object): RequestOptionsFactory<any> {\n function __searchPrograms({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'search.aggregations.range.buckets.from' },\n { path: 'search.aggregations.range.buckets.to' },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.from',\n },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.to',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.SearchPrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/search',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'programs.createdDate' },\n { path: 'programs.updatedDate' },\n { path: 'programs.statusUpdatedDate' },\n { path: 'programs.description.image.urlExpirationDate' },\n { path: 'programs.description.video.urlExpirationDate' },\n {\n path: 'programs.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'programs.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'programs.description.video.posters.urlExpirationDate' },\n { path: 'programs.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'programs.description.image.focalPoint.x' },\n { path: 'programs.description.image.focalPoint.y' },\n {\n path: 'programs.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'programs.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'programs.description.video.posters.focalPoint.x' },\n { path: 'programs.description.video.posters.focalPoint.y' },\n {\n path: 'programs.videoStepsSettings.requiredCompletionPercentage',\n },\n { path: 'aggregationData.results.scalar.value' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.scalar.value',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.scalar.value',\n },\n { path: 'aggregationData.results.ranges.results.from' },\n { path: 'aggregationData.results.ranges.results.to' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from',\n },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.from',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.to',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __searchPrograms;\n}\n\n/**\n * Publishes a draft program.\n *\n * A scheduled program can't be published when its start date is in the past.\n * If the program has an end date, the service schedules an automatic transition\n * to `ENDED` using the site's timezone.\n */\nexport function publishProgram(payload: object): RequestOptionsFactory<any> {\n function __publishProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.PublishProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}/publish',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __publishProgram;\n}\n\n/**\n * Ends a published program.\n *\n * Ending a program changes its status to `ENDED` and cancels any scheduled end\n * task. The operation succeeds only for currently published programs.\n */\nexport function endProgram(payload: object): RequestOptionsFactory<any> {\n function __endProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.EndProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}/end',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __endProgram;\n}\n\n/**\n * Archives a program.\n *\n * Archiving closes the program, removes it from normal public discovery, and\n * replaces its SEO slug with the program ID so the previous slug can be reused.\n */\nexport function archiveProgram(payload: object): RequestOptionsFactory<any> {\n function __archiveProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.ArchiveProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/{programId}/archive',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'program.createdDate' },\n { path: 'program.updatedDate' },\n { path: 'program.statusUpdatedDate' },\n { path: 'program.description.image.urlExpirationDate' },\n { path: 'program.description.video.urlExpirationDate' },\n {\n path: 'program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'program.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'program.description.video.posters.urlExpirationDate' },\n { path: 'program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'program.description.image.focalPoint.x' },\n { path: 'program.description.image.focalPoint.y' },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'program.description.video.posters.focalPoint.x' },\n { path: 'program.description.video.posters.focalPoint.y' },\n {\n path: 'program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __archiveProgram;\n}\n\n/**\n * Updates multiple programs in a single synchronous request.\n *\n * Each item includes its own program data and revision. Set `returnEntity` to\n * return updated programs in the response.\n */\nexport function bulkUpdatePrograms(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePrograms({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'programs.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'programs.program.createdDate' },\n { path: 'programs.program.updatedDate' },\n { path: 'programs.program.statusUpdatedDate' },\n { path: 'programs.program.description.image.urlExpirationDate' },\n { path: 'programs.program.description.video.urlExpirationDate' },\n {\n path: 'programs.program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'programs.program.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'programs.program.description.video.posters.urlExpirationDate',\n },\n { path: 'programs.program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'programs.program.description.image.focalPoint.x' },\n { path: 'programs.program.description.image.focalPoint.y' },\n {\n path: 'programs.program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'programs.program.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'programs.program.description.video.posters.focalPoint.x' },\n { path: 'programs.program.description.video.posters.focalPoint.y' },\n {\n path: 'programs.program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.BulkUpdatePrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/bulk/programs/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.statusUpdatedDate' },\n { path: 'results.item.description.image.urlExpirationDate' },\n { path: 'results.item.description.video.urlExpirationDate' },\n {\n path: 'results.item.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.posters.urlExpirationDate',\n },\n { path: 'results.item.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.description.image.focalPoint.x' },\n { path: 'results.item.description.image.focalPoint.y' },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'results.item.description.video.posters.focalPoint.x' },\n { path: 'results.item.description.video.posters.focalPoint.y' },\n {\n path: 'results.item.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdatePrograms;\n}\n\n/**\n * Counts programs that match a filter.\n *\n * Results use the same visibility rules as `QueryPrograms`.\n */\nexport function countPrograms(payload: object): RequestOptionsFactory<any> {\n function __countPrograms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.programs.v3.ProgramsService.CountPrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countPrograms;\n}\n\n/** Lists sample programs used as templates for creating new programs. */\nexport function listSamplePrograms(\n payload: object\n): RequestOptionsFactory<any> {\n function __listSamplePrograms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.program',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.programs.v3.ProgramsService.ListSamplePrograms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({\n protoPath: '/v3/programs/samples',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'programs.program.createdDate' },\n { path: 'programs.program.updatedDate' },\n { path: 'programs.program.statusUpdatedDate' },\n { path: 'programs.program.description.image.urlExpirationDate' },\n { path: 'programs.program.description.video.urlExpirationDate' },\n {\n path: 'programs.program.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'programs.program.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'programs.program.description.video.posters.urlExpirationDate',\n },\n { path: 'programs.program.rewards.certificate.connectedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'programs.program.description.image.focalPoint.x' },\n { path: 'programs.program.description.image.focalPoint.y' },\n {\n path: 'programs.program.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'programs.program.description.video.resolutions.poster.focalPoint.y',\n },\n {\n path: 'programs.program.description.video.posters.focalPoint.x',\n },\n {\n path: 'programs.program.description.video.posters.focalPoint.y',\n },\n {\n path: 'programs.program.videoStepsSettings.requiredCompletionPercentage',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listSamplePrograms;\n}\n","/**\n * A program is an Online Programs course, challenge, or structured journey.\n * Programs contain lifecycle state, public description, timeline, access rules,\n * pricing, SEO, rewards, and summary information for their content.\n */\nexport interface Program {\n /**\n * Program ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\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 * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the program was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the program was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Current program lifecycle status.\n * @readonly\n */\n status?: StatusWithLiterals;\n /**\n * Date and time when `status` last changed.\n * @readonly\n */\n statusUpdatedDate?: Date | null;\n /**\n * Category IDs assigned to the program. This field is read-only; use the Program Categories API to assign categories.\n * @readonly\n * @format GUID\n * @maxSize 10\n */\n categoryIds?: string[];\n /** Public-facing program title, details, and media. */\n description?: Description;\n /** Program timeline settings. Use this to configure self-paced or scheduled programs. */\n timeline?: Timeline;\n /** Program access, participation, and progression rules. */\n restrictions?: Restrictions;\n /** Optional one-time payment price for joining the program. */\n price?: Money;\n /** SEO settings used for the program page. */\n seo?: Seo;\n /**\n * Rewards assigned to participants when they reach configured milestones.\n * @maxSize 10\n */\n rewards?: Reward[];\n /**\n * ID of the social group connected to the program, if one exists.\n * @format GUID\n */\n socialGroupId?: string | null;\n /** Custom fields for apps that extend the Program entity. */\n extendedFields?: ExtendedFields;\n /** Whether to send an invoice after a single-payment purchase. When false, the buyer receives a payment confirmation email instead. */\n shouldSendInvoice?: boolean;\n /** Settings that control how video steps behave in this program. */\n videoStepsSettings?: VideoStepsSettings;\n /**\n * Read-only counts of content entities in the program.\n * @readonly\n */\n contentSummary?: ContentSummary;\n /**\n * ID of the site user who created the program.\n * @format GUID\n * @readonly\n */\n ownerUserId?: string | null;\n}\n\nexport enum Status {\n /** The program is editable and visible only in management contexts. */\n DRAFT = 'DRAFT',\n /** The program is available according to its access restrictions. */\n PUBLISHED = 'PUBLISHED',\n /** The program is no longer available for new participation. */\n ENDED = 'ENDED',\n /** The program is closed and removed from normal public discovery. */\n ARCHIVED = 'ARCHIVED',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'DRAFT'\n | 'PUBLISHED'\n | 'ENDED'\n | 'ARCHIVED';\n\n/** Public program description and media. */\nexport interface Description extends DescriptionMediaOneOf {\n /** Program image. */\n image?: Image;\n /** Program video. */\n video?: VideoV2;\n /**\n * Program title.\n * @maxLength 150\n */\n title?: string;\n /**\n * Detailed program description.\n * @maxLength 8000\n */\n details?: string | null;\n}\n\n/** @oneof */\nexport interface DescriptionMediaOneOf {\n /** Program image. */\n image?: Image;\n /** Program video. */\n video?: VideoV2;\n}\n\nexport interface Image {\n /** WixMedia image ID. */\n id?: string;\n /** Image URL. */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /** Image alt text. */\n altText?: string | null;\n /**\n * Image URL expiration date (when relevant).\n * @internal\n * @readonly\n */\n urlExpirationDate?: Date | null;\n /**\n * Image filename.\n * @readonly\n */\n filename?: string | null;\n /**\n * Image size in bytes.\n * @internal\n * @readonly\n * @format DECIMAL_VALUE\n */\n sizeInBytes?: string | null;\n /**\n * Focal point of the image.\n * @internal\n */\n focalPoint?: FocalPoint;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport interface VideoV2 {\n /** WixMedia ID. */\n id?: string;\n /**\n * Original video URL.\n * @internal\n */\n url?: string;\n /**\n * Available resolutions for the video, starting with the optimal resolution.\n * @readonly\n * @maxSize 100\n */\n resolutions?: VideoResolution[];\n /**\n * Video filename.\n * @readonly\n */\n filename?: string | null;\n /**\n * Video posters.\n * @internal\n * @readonly\n */\n posters?: Image[];\n /**\n * Original video size in bytes.\n * @internal\n * @readonly\n * @format DECIMAL_VALUE\n */\n sizeInBytes?: string | null;\n /**\n * Video URL expiration date (when relevant).\n * @internal\n * @readonly\n */\n urlExpirationDate?: Date | null;\n /**\n * Original video duration in milliseconds.\n * @internal\n * @readonly\n */\n durationInMilliseconds?: number | null;\n /**\n * A short title for the video. will be used for SEO purposes.\n * @internal\n * @maxLength 300\n */\n title?: string | null;\n /**\n * A long description for the video. will be used for SEO purposes.\n * @internal\n * @maxLength 2000\n */\n description?: string | null;\n /**\n * Original video height.\n * @internal\n * @readonly\n */\n height?: number | null;\n /**\n * Original video width.\n * @internal\n * @readonly\n */\n width?: number | null;\n}\n\nexport interface VideoResolution {\n /** Video URL. */\n url?: string;\n /** Video height. */\n height?: number;\n /** Video width. */\n width?: number;\n /**\n * Deprecated. Use the `posters` property in the parent entity instead.\n * @internal\n * @deprecated\n */\n poster?: Image;\n /** Video format for example, mp4, hls. */\n format?: string;\n /**\n * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n * @internal\n * @deprecated\n */\n urlExpirationDate?: Date | null;\n /**\n * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n * @internal\n * @format DECIMAL_VALUE\n * @deprecated\n */\n sizeInBytes?: string | null;\n /**\n * Video quality. For example: 480p, 720p.\n * @internal\n */\n quality?: string | null;\n /**\n * Video filename.\n * @internal\n */\n filename?: string | null;\n /**\n * Video duration in seconds.\n * @internal\n * @readonly\n * @deprecated Video duration in seconds.\n * @replacedBy duration_in_milliseconds\n * @targetRemovalDate 2024-08-01\n */\n durationInSeconds?: number | null;\n /**\n * Video duration in milliseconds.\n * @internal\n * @readonly\n */\n durationInMilliseconds?: number | null;\n /**\n * When true, this is a protected asset, and calling the URL will return a 403 error.\n * In order to access private assets, make a request to:\n * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n * @internal\n * @readonly\n */\n private?: boolean | null;\n /**\n * Key to identify the video resolution's relationship to the original media in WixMedia.\n * Can be used to request a download for the specific video resolution.\n * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4\n * @internal\n * @readonly\n */\n assetKey?: string | null;\n}\n\n/** Program scheduling settings. */\nexport interface Timeline {\n /** Whether participants can progress at their own pace. */\n selfPaced?: boolean;\n /**\n * Local date when the scheduled program starts.\n * @format LOCAL_DATE\n */\n startDate?: string | null;\n /** Scheduled program duration in days. */\n durationInDays?: number | null;\n}\n\n/** Access and participation restrictions for a program. */\nexport interface Restrictions {\n /**\n * Maximum number of active participants allowed in the program.\n * @min 1\n */\n maxParticipants?: number | null;\n /** Whether future steps are hidden from participants until they become available. */\n hideFutureSteps?: boolean;\n /** Whether participants must complete steps in order. */\n resolveStepsInOrder?: boolean;\n /** Whether participants can share progress in the connected group. */\n shareProgress?: boolean;\n /** Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`. */\n accessType?: AccessTypeWithLiterals;\n}\n\nexport enum AccessType {\n /** Anyone who can access the site can discover the program and start the join flow. */\n PUBLIC = 'PUBLIC',\n /** The program can be discovered, but joining requires owner approval. */\n PRIVATE = 'PRIVATE',\n /** The program is hidden from public discovery and visible only to participants, owners, and trusted apps. */\n SECRET = 'SECRET',\n}\n\n/** @enumType */\nexport type AccessTypeWithLiterals =\n | AccessType\n | 'PUBLIC'\n | 'PRIVATE'\n | 'SECRET';\n\n/**\n * Money.\n * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.\n */\nexport interface Money {\n /**\n * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).\n * @decimalValue options { gt:0.00, maxScale:3 }\n */\n value?: string;\n /**\n * Currency code. Must be valid ISO 4217 currency code (e.g., USD).\n * @format CURRENCY\n * @readonly\n */\n currency?: string;\n}\n\n/** SEO settings for the program page. */\nexport interface Seo {\n /**\n * Unique URL slug for the program page.\n * @format URL_SLUG\n */\n slug?: string;\n /** Advanced SEO schema data. */\n seoData?: SeoSchema;\n /**\n * Program page URL.\n * @readonly\n */\n url?: PageUrl;\n /**\n * Image URL derived from the program description media.\n * @format WEB_URL\n */\n imageUrl?: string | null;\n /**\n * Alternative text for the SEO image.\n * @maxLength 1000\n */\n imageAlt?: string;\n /**\n * Approximate SEO program duration in ISO 8601 duration format.\n * @maxLength 100\n * @readonly\n */\n courseWorkload?: string;\n}\n\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n *\n * Which of these an API actually accepts depends on where the tag is being set: this\n * list is not a blanket guarantee across every API that reuses this message. Site SEO\n * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n * `title`/`script`/`link` with a validation error even though they appear here —\n * check the field description of the specific `tags`-typed field you're writing to\n * for the types it actually supports and the error it returns.\n *\n * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`\n * `\"application/ld+json\"` carrying structured data) are supported only when\n * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\n * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\n * write through the site's Advanced/Custom Tags list. To write structured data,\n * omit `custom` (or set it to `false`).\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /**\n * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\n * i.e. an entry from the site's Advanced/Custom Tags list.\n *\n * Setting this to `true` on a write restricts which `type` values are accepted\n * — the same restriction the Advanced/Custom Tags UI enforces. `title` and\n * `script` tags (including JSON-LD structured data) must be sent with `custom`\n * omitted or `false`; sending them with `custom: true` is rejected with\n * `TAG_TYPE_NOT_ALLOWED`.\n *\n * Note 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.\n * for site-wide structured data) unconditionally. There is currently no way to set\n * site-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 *\n * This 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\n * default/pattern — standard tags always resolve with `custom: false`, even when their content comes\n * from a page's manually saved SEO title/description override. Don't use this field to verify whether\n * a live page reflects a manual per-page SEO edit.\n *\n * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\n * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\n * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\n * response entirely — there, `false` means this API could not tell, not that no custom tag exists.\n * Pass `seoData` explicitly to resolve against a known set of tags.\n */\n custom?: boolean;\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 disabled?: boolean;\n}\n\nexport interface Settings {\n /**\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 *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface PageUrl {\n /** The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`. */\n base?: string;\n /** The relative path for the page within the site. For example, `/product-page/a-product`. */\n path?: string;\n}\n\n/** Reward configuration for a program milestone. */\nexport interface Reward {\n /** Program milestone that grants the reward. If omitted, the trigger defaults to `JOINED_TO_PROGRAM` for compatibility with existing rewards. */\n trigger?: TriggerWithLiterals;\n /**\n * Badge IDs to assign when the reward is granted.\n * @format GUID\n * @maxSize 50\n */\n badgeIds?: string[];\n /** Certificate assigned when the reward is granted. */\n certificate?: Certificate;\n}\n\nexport enum Trigger {\n /** Default trigger for existing rewards. The reward is granted when a member joins the program. */\n JOINED_TO_PROGRAM = 'JOINED_TO_PROGRAM',\n /** The reward is granted when at least one step is completed. */\n STEP_COMPLETED = 'STEP_COMPLETED',\n /** The reward is granted when all required steps are completed. */\n ALL_STEPS_COMPLETED = 'ALL_STEPS_COMPLETED',\n}\n\n/** @enumType */\nexport type TriggerWithLiterals =\n | Trigger\n | 'JOINED_TO_PROGRAM'\n | 'STEP_COMPLETED'\n | 'ALL_STEPS_COMPLETED';\n\n/** Certificate reward metadata. */\nexport interface Certificate {\n /**\n * Certificate ID. Currently this is the program GUID.\n * @format GUID\n */\n id?: string;\n /** Date and time the certificate was connected to the program. */\n connectedDate?: Date | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/** Video step playback and completion settings. */\nexport interface VideoStepsSettings {\n /** Whether the participant is automatically moved to the next video step after finishing the current one. */\n autoNavigate?: boolean;\n /** Percentage of a video that must be watched to complete a video step. */\n requiredCompletionPercentage?: number;\n}\n\n/** Read-only summary of program content. */\nexport interface ContentSummary {\n /**\n * Number of steps in the program.\n * @max 3000\n */\n stepCount?: number;\n /**\n * Number of sections in the program.\n * @max 1000\n */\n sectionCount?: number;\n}\n\nexport interface UpdateDocumentsEvent\n extends UpdateDocumentsEventOperationOneOf {\n /** insert/update documents */\n update?: DocumentUpdateOperation;\n /** delete by document ids */\n deleteByIds?: DeleteByIdsOperation;\n /** delete documents matching filter */\n deleteByFilter?: DeleteByFilterOperation;\n /** update documents matching filter */\n updateByFilter?: UpdateByFilterOperation;\n /** update only existing documents */\n updateExisting?: UpdateExistingOperation;\n /**\n * application which owns documents\n * @minLength 2\n */\n appDefId?: string | null;\n /**\n * type of the documents\n * @minLength 2\n */\n documentType?: string | null;\n /**\n * language of the documents\n * @minLength 2\n */\n language?: string | null;\n /**\n * site documents belong to\n * @minLength 2\n */\n msId?: string | null;\n}\n\n/** @oneof */\nexport interface UpdateDocumentsEventOperationOneOf {\n /** insert/update documents */\n update?: DocumentUpdateOperation;\n /** delete by document ids */\n deleteByIds?: DeleteByIdsOperation;\n /** delete documents matching filter */\n deleteByFilter?: DeleteByFilterOperation;\n /** update documents matching filter */\n updateByFilter?: UpdateByFilterOperation;\n /** update only existing documents */\n updateExisting?: UpdateExistingOperation;\n}\n\nexport interface DocumentUpdateOperation {\n /** documents to index or update */\n documents?: IndexDocument[];\n}\n\nexport interface IndexDocument {\n /** data bag with non-searchable fields (url, image) */\n payload?: DocumentPayload;\n /** what type of users should documents be visible to */\n exposure?: EnumWithLiterals;\n /** document with mandatory fields (id, title, description) and with fields specific to the type of the document */\n document?: Record<string, any> | null;\n /** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */\n permittedMemberGroups?: string[];\n /** if true SEO is disabled for this document */\n seoHidden?: boolean | null;\n /** if true the page is a lightbox popup */\n isPopup?: boolean | null;\n}\n\nexport interface DocumentPayload {\n /** url of the page representing the document */\n url?: string | null;\n /** image which represents the document */\n documentImage?: DocumentImage;\n}\n\nexport interface DocumentImage {\n /** the name of the image */\n name?: string;\n /** the width of the image */\n width?: number;\n /** the height of the image */\n height?: number;\n}\n\nexport enum Enum {\n /** Default value. Means that permission not set */\n UNKNOWN = 'UNKNOWN',\n /** Protected exposure. Exposed to members and owners */\n PROTECTED = 'PROTECTED',\n /** Private exposure. Exposed to owners */\n PRIVATE = 'PRIVATE',\n /** Public exposure. Visible to everyone */\n PUBLIC = 'PUBLIC',\n /** Used for partial updates, to state that exposure is not changing */\n UNCHANGED = 'UNCHANGED',\n /** Protected to members of permitted groups and owners */\n GROUP_PROTECTED = 'GROUP_PROTECTED',\n}\n\n/** @enumType */\nexport type EnumWithLiterals =\n | Enum\n | 'UNKNOWN'\n | 'PROTECTED'\n | 'PRIVATE'\n | 'PUBLIC'\n | 'UNCHANGED'\n | 'GROUP_PROTECTED';\n\nexport interface DeleteByIdsOperation {\n /** ids of the documents to delete */\n documentIds?: string[];\n}\n\nexport interface DeleteByFilterOperation {\n /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */\n filter?: Record<string, any> | null;\n}\n\nexport interface UpdateByFilterOperation {\n /** documents matching this filter will be updated */\n filter?: Record<string, any> | null;\n /** partial document to apply */\n document?: IndexDocument;\n}\n\nexport interface UpdateExistingOperation {\n /** documents to update */\n documents?: IndexDocument[];\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n /**\n * Optional caller-provided ID for tracking this invalidation through the system.\n * When set, the corresponding CDN purge completion event will include this ID,\n * allowing you to confirm when the invalidation has fully propagated.\n * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n * @maxLength 256\n */\n correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface Pages {\n /**\n * the msid the pages are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by multiple Page IDs in a single message\n * @maxSize 100\n * @minLength 1\n */\n pageIds?: string[];\n}\n\nexport interface URIs {\n /**\n * the msid the URIs are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @maxSize 100\n * @minLength 1\n */\n uriPaths?: string[];\n}\n\n/**\n * Message for reindexing search data to a given search schema. Support both upsert and delete flows as well as\n * performs context manipulation with adding tenant, provided in message to callscope.\n */\nexport interface ReindexMessage extends ReindexMessageActionOneOf {\n upsert?: Upsert;\n delete?: Delete;\n entityFqdn?: string;\n tenantId?: string;\n eventTime?: Date | null;\n entityEventSequence?: string | null;\n schema?: Schema;\n}\n\n/** @oneof */\nexport interface ReindexMessageActionOneOf {\n upsert?: Upsert;\n delete?: Delete;\n}\n\nexport interface Upsert {\n entityId?: string;\n entityAsJson?: string;\n}\n\nexport interface Delete {\n entityId?: string;\n}\n\nexport interface Schema {\n label?: string;\n clusterName?: string;\n}\n\nexport interface ProgramPublished {}\n\nexport interface ProgramEnded {\n /** Whether the program was ended manually by the owner. */\n endedByOwner?: boolean;\n}\n\nexport interface ProgramArchived {}\n\nexport interface ProgramDuplicated {\n /** Newly created program. */\n program?: Program;\n /** Program that was duplicated. */\n duplicatedFrom?: Program;\n /** Whether the program was cloned from a template. */\n fromTemplate?: boolean;\n}\n\nexport interface CreateProgramRequest {\n /** Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create. */\n program: Program;\n}\n\nexport interface CreateProgramResponse {\n /** Created draft program. */\n program?: Program;\n}\n\nexport interface BulkCreateProgramsMigrationRequest {\n /**\n * List of programs you want to create\n * @minSize 1\n * @maxSize 100\n */\n programs?: ProgramMigration[];\n}\n\nexport interface ProgramMigration {\n /** program to create */\n program?: Program;\n /**\n * section ids in program\n * @maxSize 5000\n * @format GUID\n */\n sectionIds?: string[];\n /**\n * step ids in program\n * @maxSize 5000\n * @format GUID\n */\n stepIds?: string[];\n}\n\nexport interface BulkCreateProgramsMigrationResponse {\n /** Results of bulk action. */\n results?: BulkProgramResult[];\n /** Metadata about whole bulk action. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkProgramResult {\n /** Metadata of item. */\n itemMetadata?: ItemMetadata;\n /** Item itself (empty if return_entity in request is false). */\n item?: Program;\n /** Action type of bulk action (INSERT OR UPDATE) for that endpoint. */\n action?: BulkActionTypeWithLiterals;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport enum BulkActionType {\n /** UNKNOWN_ACTION_TYPE */\n UNKNOWN_ACTION_TYPE = 'UNKNOWN_ACTION_TYPE',\n /** INSERT */\n INSERT = 'INSERT',\n /** UPDATE */\n UPDATE = 'UPDATE',\n /** DELETE */\n DELETE = 'DELETE',\n}\n\n/** @enumType */\nexport type BulkActionTypeWithLiterals =\n | BulkActionType\n | 'UNKNOWN_ACTION_TYPE'\n | 'INSERT'\n | 'UPDATE'\n | 'DELETE';\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface DeleteAllProgramsMigrationRequest {}\n\nexport interface DeleteAllProgramsMigrationResponse {}\n\nexport interface DuplicateProgramRequest {\n /**\n * ID of the program to duplicate.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface DuplicateProgramResponse {\n /** New draft program created from the source program. */\n program?: Program;\n}\n\nexport interface GetProgramRequest {\n /**\n * ID of the program to retrieve.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface GetProgramResponse {\n /** Requested program. */\n program?: Program;\n}\n\nexport interface UpdateProgramRequest {\n /** Program fields to update. Include `id` and the latest `revision`. */\n program: Program;\n /**\n * The list of fields to update. For REST requests, this list is inferred from the request body.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdateProgramResponse {\n /** Updated program. */\n program?: Program;\n}\n\nexport interface WrongStateErrorDetails {}\n\nexport interface WrongStartDateErrorDetails {}\n\nexport interface WrongParticipantsNumberErrorDetails {\n /** Number of active participants already in the program. */\n activeParticipantsCount?: number;\n}\n\nexport interface DuplicatedSlugErrorDetails {}\n\nexport interface TimelineSwitchForbiddenErrorDetails {}\n\nexport interface DeleteProgramRequest {\n /**\n * ID of the program to delete.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface DeleteProgramResponse {}\n\nexport interface QueryProgramsRequest {\n /** Query used to filter, sort, and page programs. */\n query?: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\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 cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn 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 filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n * @maxSize 100\n */\n sort?: Sorting[];\n /**\n * Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.\n * @maxSize 100\n * @maxLength 1000\n */\n fields?: string[];\n /**\n * Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.\n * @maxSize 100\n * @maxLength 1000\n */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\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 cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryProgramsResponse {\n /** Programs that match the query and caller visibility. */\n programs?: Program[];\n /** Paging metadata for the query response. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n * @internal\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface SearchProgramsRequest {\n /** Search expression, filters, sorting, and cursor paging options. */\n search?: CursorSearch;\n}\n\nexport interface CursorSearch extends CursorSearchPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn 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 filter?: Record<string, any> | null;\n /**\n * List of sort objects.\n *\n * Learn more about [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n * @maxSize 10\n */\n sort?: Sorting[];\n /**\n * Aggregations are a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.\n * @maxSize 10\n */\n aggregations?: Aggregation[];\n /** Free text to match in searchable fields. */\n search?: SearchDetails;\n /**\n * UTC offset or IANA time zone. Valid values are\n * ISO 8601 UTC offsets, such as +02:00 or -06:00,\n * and IANA time zone IDs, such as Europe/Rome.\n *\n * Affects all filters and aggregations returned values.\n * You may override this behavior in a specific filter by providing\n * timestamps including time zone. For example, `\"2023-12-20T10:52:34.795Z\"`.\n * @maxLength 50\n */\n timeZone?: string | null;\n}\n\n/** @oneof */\nexport interface CursorSearchPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Aggregation extends AggregationKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n /** Nested aggregation. */\n nested?: NestedAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation, client must provide matching aggregation field below. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by, use dot notation to specify json path.\n * @maxLength 200\n */\n fieldPath?: string;\n /**\n * Deprecated. Use `nested` instead.\n * @deprecated Deprecated. Use `nested` instead.\n * @replacedBy kind.nested\n * @targetRemovalDate 2024-03-30\n */\n groupBy?: GroupByAggregation;\n}\n\n/** @oneof */\nexport interface AggregationKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n /** Nested aggregation. */\n nested?: NestedAggregation;\n}\n\nexport interface RangeBucket {\n /** Inclusive lower bound of the range. Required if `to` is not provided. */\n from?: number | null;\n /** Exclusive upper bound of the range. Required if `from` is not provided. */\n to?: number | null;\n}\n\nexport enum SortType {\n /** Sort by number of matches. */\n COUNT = 'COUNT',\n /** Sort by value of the field alphabetically. */\n VALUE = 'VALUE',\n}\n\n/** @enumType */\nexport type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';\n\nexport enum SortDirection {\n /** Sort in descending order. */\n DESC = 'DESC',\n /** Sort in ascending order. */\n ASC = 'ASC',\n}\n\n/** @enumType */\nexport type SortDirectionWithLiterals = SortDirection | 'DESC' | 'ASC';\n\nexport enum MissingValues {\n /** Exclude missing values from the aggregation results. */\n EXCLUDE = 'EXCLUDE',\n /** Include missing values in the aggregation results. */\n INCLUDE = 'INCLUDE',\n}\n\n/** @enumType */\nexport type MissingValuesWithLiterals = MissingValues | 'EXCLUDE' | 'INCLUDE';\n\nexport interface IncludeMissingValuesOptions {\n /**\n * Specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...\n * @maxLength 20\n */\n addToBucket?: string;\n}\n\nexport enum ScalarType {\n /** Count of distinct values. */\n COUNT_DISTINCT = 'COUNT_DISTINCT',\n /** Minimum value. */\n MIN = 'MIN',\n /** Maximum value. */\n MAX = 'MAX',\n /**\n * Sum of values.\n * @internal\n */\n SUM = 'SUM',\n /**\n * Average of values.\n * @internal\n */\n AVG = 'AVG',\n}\n\n/** @enumType */\nexport type ScalarTypeWithLiterals =\n | ScalarType\n | 'COUNT_DISTINCT'\n | 'MIN'\n | 'MAX';\n\nexport interface ValueAggregation extends ValueAggregationOptionsOneOf {\n /** Options for including missing values. */\n includeOptions?: IncludeMissingValuesOptions;\n /** Whether to sort by number of matches or value of the field. */\n sortType?: SortTypeWithLiterals;\n /** Whether to sort in ascending or descending order. */\n sortDirection?: SortDirectionWithLiterals;\n /** How many aggregations to return. Can be between 1 and 250. 10 is the default. */\n limit?: number | null;\n /** Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`. */\n missingValues?: MissingValuesWithLiterals;\n}\n\n/** @oneof */\nexport interface ValueAggregationOptionsOneOf {\n /** Options for including missing values. */\n includeOptions?: IncludeMissingValuesOptions;\n}\n\nexport enum NestedAggregationType {\n /** An aggregation where result buckets are dynamically built - one per unique value. */\n VALUE = 'VALUE',\n /** An aggregation, where user can define set of ranges - each representing a bucket. */\n RANGE = 'RANGE',\n /** A single-value metric aggregation. For example, min, max, sum, avg. */\n SCALAR = 'SCALAR',\n /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.). */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n}\n\n/** @enumType */\nexport type NestedAggregationTypeWithLiterals =\n | NestedAggregationType\n | 'VALUE'\n | 'RANGE'\n | 'SCALAR'\n | 'DATE_HISTOGRAM';\n\nexport interface RangeAggregation {\n /**\n * List of range buckets, where during aggregation each entity will be placed in the first bucket its value falls into, based on the provided range bounds.\n * @maxSize 50\n */\n buckets?: RangeBucket[];\n}\n\nexport interface ScalarAggregation {\n /** Define the operator for the scalar aggregation. */\n type?: ScalarTypeWithLiterals;\n}\n\nexport interface DateHistogramAggregation {\n /** Interval for date histogram aggregation. */\n interval?: IntervalWithLiterals;\n}\n\nexport enum Interval {\n /** Yearly interval */\n YEAR = 'YEAR',\n /** Monthly interval */\n MONTH = 'MONTH',\n /** Weekly interval */\n WEEK = 'WEEK',\n /** Daily interval */\n DAY = 'DAY',\n /** Hourly interval */\n HOUR = 'HOUR',\n /** Minute interval */\n MINUTE = 'MINUTE',\n /** Second interval */\n SECOND = 'SECOND',\n}\n\n/** @enumType */\nexport type IntervalWithLiterals =\n | Interval\n | 'YEAR'\n | 'MONTH'\n | 'WEEK'\n | 'DAY'\n | 'HOUR'\n | 'MINUTE'\n | 'SECOND';\n\nexport interface NestedAggregationItem extends NestedAggregationItemKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation, client must provide matching aggregation field below. */\n type?: NestedAggregationTypeWithLiterals;\n /**\n * Field to aggregate by, use dot notation to specify json path.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationItemKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n}\n\nexport enum AggregationType {\n /** An aggregation where result buckets are dynamically built - one per unique value. */\n VALUE = 'VALUE',\n /** An aggregation, where user can define set of ranges - each representing a bucket. */\n RANGE = 'RANGE',\n /** A single-value metric aggregation. For example, min, max, sum, avg. */\n SCALAR = 'SCALAR',\n /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n /** Multi-level aggregation, where each next aggregation is nested within previous one. */\n NESTED = 'NESTED',\n}\n\n/** @enumType */\nexport type AggregationTypeWithLiterals =\n | AggregationType\n | 'VALUE'\n | 'RANGE'\n | 'SCALAR'\n | 'DATE_HISTOGRAM'\n | 'NESTED';\n\n/** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one. */\nexport interface NestedAggregation {\n /**\n * Flattened list of aggregations, where each next aggregation is nested within previous one.\n * @minSize 2\n * @maxSize 3\n */\n nestedAggregations?: NestedAggregationItem[];\n}\n\nexport interface GroupByAggregation extends GroupByAggregationKindOneOf {\n /** Value aggregation configuration. */\n value?: ValueAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results.\n * @maxLength 100\n */\n name?: string | null;\n /**\n * Field to aggregate by.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface GroupByAggregationKindOneOf {\n /** Value aggregation configuration. */\n value?: ValueAggregation;\n}\n\nexport interface SearchDetails {\n /** Defines how separate search terms in `expression` are combined. */\n mode?: ModeWithLiterals;\n /**\n * Search term or expression.\n * @maxLength 100\n */\n expression?: string | null;\n /**\n * Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path.\n * @maxLength 200\n * @maxSize 20\n */\n fields?: string[];\n /** Whether to use auto fuzzy search (allowing typos by a managed proximity algorithm). */\n fuzzy?: boolean;\n}\n\nexport enum Mode {\n /** Any of the search terms must be present. */\n OR = 'OR',\n /** All search terms must be present. */\n AND = 'AND',\n}\n\n/** @enumType */\nexport type ModeWithLiterals = Mode | 'OR' | 'AND';\n\nexport interface SearchProgramsResponse {\n /** Programs that match the search and caller visibility. */\n programs?: Program[];\n /** Cursor paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n /** Aggregation data returned by the search backend. */\n aggregationData?: AggregationData;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\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 hasNext?: boolean | null;\n /**\n * Total number of items matching the filter.\n * Available only on the first page of *Search* results, not included in *Query* or *List* results.\n * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.\n * @internal\n */\n total?: number | null;\n}\n\nexport interface AggregationData {\n /**\n * key = aggregation name (as derived from search request).\n * @maxSize 10000\n */\n results?: AggregationResults[];\n}\n\nexport interface ValueAggregationResult {\n /**\n * Value of the field.\n * @maxLength 100\n */\n value?: string;\n /** Count of entities with this value. */\n count?: number;\n}\n\nexport interface RangeAggregationResult {\n /** Inclusive lower bound of the range. */\n from?: number | null;\n /** Exclusive upper bound of the range. */\n to?: number | null;\n /** Count of entities in this range. */\n count?: number;\n}\n\nexport interface NestedAggregationResults\n extends NestedAggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n /**\n * User-defined name of aggregation, matches the one provided in request.\n * @maxLength 100\n */\n name?: string;\n /** Type of aggregation that matches result. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by, matches the one provided in request.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n}\n\nexport interface ValueResults {\n /**\n * List of value aggregations.\n * @maxSize 250\n */\n results?: ValueAggregationResult[];\n}\n\nexport interface RangeResults {\n /**\n * List of ranges returned in same order as requested.\n * @maxSize 50\n */\n results?: RangeAggregationResult[];\n}\n\nexport interface AggregationResultsScalarResult {\n /** Type of scalar aggregation. */\n type?: ScalarTypeWithLiterals;\n /** Value of the scalar aggregation. */\n value?: number;\n}\n\nexport interface NestedValueAggregationResult {\n /**\n * Value of the field.\n * @maxLength 1000\n */\n value?: string;\n /** Nested aggregations. */\n nestedResults?: NestedAggregationResults;\n}\n\nexport interface ValueResult {\n /**\n * Value of the field.\n * @maxLength 1000\n */\n value?: string;\n /** Count of entities with this value. */\n count?: number | null;\n}\n\nexport interface RangeResult {\n /** Inclusive lower bound of the range. */\n from?: number | null;\n /** Exclusive upper bound of the range. */\n to?: number | null;\n /** Count of entities in this range. */\n count?: number | null;\n}\n\nexport interface ScalarResult {\n /** Value of the scalar aggregation. */\n value?: number;\n}\n\nexport interface NestedResultValue extends NestedResultValueResultOneOf {\n /** Value aggregation result. */\n value?: ValueResult;\n /** Range aggregation result. */\n range?: RangeResult;\n /** Scalar aggregation result. */\n scalar?: ScalarResult;\n /** Date histogram aggregation result. */\n dateHistogram?: ValueResult;\n}\n\n/** @oneof */\nexport interface NestedResultValueResultOneOf {\n /** Value aggregation result. */\n value?: ValueResult;\n /** Range aggregation result. */\n range?: RangeResult;\n /** Scalar aggregation result. */\n scalar?: ScalarResult;\n /** Date histogram aggregation result. */\n dateHistogram?: ValueResult;\n}\n\nexport interface Results {\n /** List of nested aggregations. */\n results?: Record<string, NestedResultValue>;\n}\n\nexport interface DateHistogramResult {\n /**\n * Date in ISO 8601 format.\n * @maxLength 100\n */\n value?: string;\n /** Count of documents in the bucket. */\n count?: number;\n}\n\nexport interface GroupByValueResults {\n /**\n * List of value aggregations.\n * @maxSize 1000\n */\n results?: NestedValueAggregationResult[];\n}\n\nexport interface DateHistogramResults {\n /**\n * List of date histogram aggregations.\n * @maxSize 200\n */\n results?: DateHistogramResult[];\n}\n\n/**\n * Results of `NESTED` aggregation type in a flattened form.\n * Aggregations in resulting array are keyed by requested aggregation `name`.\n */\nexport interface NestedResults {\n /**\n * List of nested aggregations.\n * @maxSize 1000\n */\n results?: Results[];\n}\n\nexport interface AggregationResults extends AggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n /** Group by value aggregation results. */\n groupedByValue?: GroupByValueResults;\n /** Date histogram aggregation results. */\n dateHistogram?: DateHistogramResults;\n /** Nested aggregation results. */\n nested?: NestedResults;\n /**\n * User-defined name of aggregation as derived from search request.\n * @maxLength 100\n */\n name?: string;\n /** Type of aggregation that must match provided kind as derived from search request. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by as derived from search request.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface AggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n /** Group by value aggregation results. */\n groupedByValue?: GroupByValueResults;\n /** Date histogram aggregation results. */\n dateHistogram?: DateHistogramResults;\n /** Nested aggregation results. */\n nested?: NestedResults;\n}\n\nexport interface PublishProgramRequest {\n /**\n * ID of the draft program to publish.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface PublishProgramResponse {\n /** Published program. */\n program?: Program;\n}\n\nexport interface EndProgramRequest {\n /**\n * ID of the published program to end.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface EndProgramResponse {\n /** Ended program. */\n program?: Program;\n}\n\nexport interface ArchiveProgramRequest {\n /**\n * ID of the program to archive.\n * @format GUID\n */\n programId: string;\n}\n\nexport interface ArchiveProgramResponse {\n /** Archived program. */\n program?: Program;\n}\n\nexport interface BulkUpdateProgramsRequest {\n /**\n * Programs to update. Each item contains partial program data.\n * @minSize 1\n * @maxSize 100\n */\n programs: MaskedProgram[];\n /** Whether to return updated programs in the response. */\n returnEntity?: boolean;\n}\n\nexport interface MaskedProgram {\n /** Partial program to update. Include `id` and the latest `revision`. */\n program?: Program;\n /** The list of fields to update for this program. For REST requests, this list is inferred from the request body. */\n fieldMask?: string[];\n}\n\nexport interface BulkUpdateProgramsResponse {\n /**\n * Per-item update results.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateProgramResult[];\n /** Summary metadata for the bulk update. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateProgramResult {\n /** Result metadata for this item. */\n itemMetadata?: ItemMetadata;\n /** Updated program. This is returned only when `return_entity` is true. */\n item?: Program;\n}\n\nexport interface CountProgramsRequest {\n /** WQL filter for the programs to count. */\n filter?: Record<string, any> | null;\n}\n\nexport interface CountProgramsResponse {\n /** Number of programs matching the filter and caller visibility. */\n count?: number;\n}\n\nexport interface ListSampleProgramsRequest {}\n\nexport interface ListSampleProgramsResponse {\n /**\n * Sample programs available as templates.\n * @maxSize 100\n */\n programs?: LabeledProgram[];\n}\n\nexport interface LabeledProgram {\n /** Sample program. */\n program?: Program;\n /**\n * Display label for the sample program.\n * @maxLength 1000\n */\n label?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface ResolveProgramSlugRequest {\n /**\n * seo slug of online program.\n * @maxLength 1000\n */\n slug?: string;\n}\n\nexport interface ResolveProgramSlugResponse {\n /** @format GUID */\n programId?: string;\n}\n\nexport interface MissingMetasiteIdErrorDetails {}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /** Emitted when Editorless is attached. */\n editorlessAssigned?: EditorlessAssigned;\n /** Emitted when Editorless is detached. */\n editorlessUnassigned?: EditorlessUnassigned;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /** Emitted when Editorless is attached. */\n editorlessAssigned?: EditorlessAssigned;\n /** Emitted when Editorless is detached. */\n editorlessUnassigned?: EditorlessUnassigned;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /**\n * AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default.\n * Not the dev-center dev site (see Flag.DEV_CENTER_DEV_SITE_FLAG).\n */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n /** Base44 headless sites. */\n BASE44 = 'BASE44',\n /** Wix Channels Sites */\n CHANNELS = 'CHANNELS',\n /** Nautilus platform. */\n NAUTILUS = 'NAUTILUS',\n /**\n * Symphony — a siteless site representing a project within Symphony (the evolution of Orion).\n * Holds project data, conversations, assets, and manages collaborators / shared team members for the project.\n */\n SYMPHONY = 'SYMPHONY',\n /** Nautilus platform app. */\n NAUTILUS_APPS = 'NAUTILUS_APPS',\n /**\n * Vibu — a siteless site representing a project built with Vibu (the AI app builder).\n * Holds the project's generated code, conversations, assets, and manages collaborators for the project.\n */\n VIBU = 'VIBU',\n /**\n * Ghost site for the BrandKit multi-site platform. Each ghost backs a single BrandKit\n * (an Enterprise account may have several), holding that BrandKit's brand definition\n * (theme, typography, assets) which is rolled out to the BrandKit's connected sites.\n * MetaSites with this namespace will *not* be shown in a user's site list by default.\n */\n ENTERPRISE_BRAND_KIT = 'ENTERPRISE_BRAND_KIT',\n /**\n * Dev-center development sites (com.wixpress.devcenter.dsm).\n * DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.\n */\n DEV_CENTER_DEV_SITE = 'DEV_CENTER_DEV_SITE',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO'\n | 'BASE44'\n | 'CHANNELS'\n | 'NAUTILUS'\n | 'SYMPHONY'\n | 'NAUTILUS_APPS'\n | 'VIBU'\n | 'ENTERPRISE_BRAND_KIT'\n | 'DEV_CENTER_DEV_SITE';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\n/** Media from user domain is enabled. */\nexport interface UserDomainMediaEnabled {}\n\n/** Media from user domain is disabled. */\nexport interface UserDomainMediaDisabled {}\n\n/** Assigned Editorless */\nexport interface EditorlessAssigned {}\n\n/** Unassigned Editorless */\nexport interface EditorlessUnassigned {}\n\nexport interface SearchIndexingNotification {\n /** new state of indexing for the site specified in ms_id */\n indexState?: SearchIndexingNotificationStateWithLiterals;\n /** type of the document the notification is targeted for. Applies to all types if not provided */\n documentType?: string | null;\n /** languaInternalDocumentUpdateByFilterOperationge the notification is targeted for. Applies to all languages if not provided */\n language?: string | null;\n /**\n * site for which notification is targeted\n * @minLength 2\n */\n msId?: string | null;\n}\n\nexport enum SearchIndexingNotificationState {\n /** default state */\n Unknown = 'Unknown',\n /** metasite does not require site search indexing */\n Off = 'Off',\n /** metasite requires site search indexing */\n On = 'On',\n}\n\n/** @enumType */\nexport type SearchIndexingNotificationStateWithLiterals =\n | SearchIndexingNotificationState\n | 'Unknown'\n | 'Off'\n | 'On';\n\n/** Encapsulates all changes when site properties are updated */\nexport interface SitePropertiesUpdated {\n /** ID of the Wix site that has been updated. */\n metasiteId?: string;\n /** Update details. */\n event?: SitePropertiesEvent;\n}\n\n/** The actual update event for a particular notification. */\nexport interface SitePropertiesEvent {\n /** Version of the site's properties represented by this update. */\n version?: number;\n /** Set of properties that were updated - corresponds to the fields in \"properties\". */\n fields?: string[];\n /** Updated properties. */\n properties?: Properties;\n}\n\nexport interface Properties {\n /** Site categories. */\n categories?: Categories;\n /** Site locale. */\n locale?: Locale;\n /**\n * Site language.\n *\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n */\n language?: string | null;\n /**\n * Site currency format used to bill customers.\n *\n * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n */\n paymentCurrency?: string | null;\n /** Timezone in `America/New_York` format. */\n timeZone?: string | null;\n /** Email address. */\n email?: string | null;\n /** Phone number. */\n phone?: string | null;\n /** Fax number. */\n fax?: string | null;\n /** Address. */\n address?: Address;\n /** Site display name. */\n siteDisplayName?: string | null;\n /** Business name. */\n businessName?: string | null;\n /** Path to the site's logo in Wix Media (without Wix Media base URL). */\n logo?: string | null;\n /** Site description. */\n description?: string | null;\n /**\n * Business schedule. Regular and exceptional time periods when the business is open or the service is available.\n *\n * __Note:__ Not supported by Wix Bookings.\n */\n businessSchedule?: BusinessSchedule;\n /** Supported languages of a site and the primary language. */\n multilingual?: Multilingual;\n /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */\n consentPolicy?: ConsentPolicy;\n /**\n * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.\n *\n * Site business type.\n */\n businessConfig?: string | null;\n /** External site URL that uses Wix as its headless business solution. */\n externalSiteUrl?: string | null;\n /** Track clicks analytics. */\n trackClicksAnalytics?: boolean;\n /**\n * Company ID issued to the business by local authorities. Appears on invoices and price quotes.\n * @maxLength 50\n */\n companyId?: string | null;\n}\n\nexport interface Categories {\n /** Primary site category. */\n primary?: string;\n /**\n * Secondary site category.\n * @maxSize 50\n */\n secondary?: string[];\n /** Business Term Id */\n businessTermId?: string | null;\n}\n\nexport interface Locale {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */\n country?: string;\n}\n\nexport interface Address {\n /** Street name. */\n street?: string;\n /** City name. */\n city?: string;\n /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */\n country?: string;\n /** State. */\n state?: string;\n /**\n * Zip or postal code.\n * @maxLength 20\n */\n zip?: string;\n /** Extra information to be displayed in the address. */\n hint?: AddressHint;\n /** Whether this address represents a physical location. */\n isPhysical?: boolean;\n /** Google-formatted version of this address. */\n googleFormattedAddress?: string;\n /** Street number. */\n streetNumber?: string;\n /** Apartment number. */\n apartmentNumber?: string;\n /** Geographic coordinates of location. */\n coordinates?: GeoCoordinates;\n}\n\n/**\n * Extra information on displayed addresses.\n * This is used for display purposes. Used to add additional data about the address, such as \"In the passage\".\n * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.\n */\nexport interface AddressHint {\n /** Extra text displayed next to, or instead of, the actual address. */\n text?: string;\n /** Where the extra text should be displayed. */\n placement?: PlacementTypeWithLiterals;\n}\n\n/** Where the extra text should be displayed: before, after or instead of the actual address. */\nexport enum PlacementType {\n BEFORE = 'BEFORE',\n AFTER = 'AFTER',\n REPLACE = 'REPLACE',\n}\n\n/** @enumType */\nexport type PlacementTypeWithLiterals =\n | PlacementType\n | 'BEFORE'\n | 'AFTER'\n | 'REPLACE';\n\n/** Geocoordinates for a particular address. */\nexport interface GeoCoordinates {\n /** Latitude of the location. Must be between -90 and 90. */\n latitude?: number;\n /** Longitude of the location. Must be between -180 and 180. */\n longitude?: number;\n}\n\n/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */\nexport interface BusinessSchedule {\n /**\n * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.\n * @maxSize 100\n */\n periods?: TimePeriod[];\n /**\n * Exceptions to the business's regular hours. The business can be open or closed during the exception.\n * @maxSize 100\n */\n specialHourPeriod?: SpecialHourPeriod[];\n}\n\n/** Weekly recurring time periods when the business is regularly open or the service is available. */\nexport interface TimePeriod {\n /** Day of the week the period starts on. */\n openDay?: DayOfWeekWithLiterals;\n /**\n * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n * midnight at the end of the specified day.\n */\n openTime?: string;\n /** Day of the week the period ends on. */\n closeDay?: DayOfWeekWithLiterals;\n /**\n * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n * midnight at the end of the specified day.\n *\n * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.\n */\n closeTime?: string;\n}\n\n/** Enumerates the days of the week. */\nexport enum DayOfWeek {\n MONDAY = 'MONDAY',\n TUESDAY = 'TUESDAY',\n WEDNESDAY = 'WEDNESDAY',\n THURSDAY = 'THURSDAY',\n FRIDAY = 'FRIDAY',\n SATURDAY = 'SATURDAY',\n SUNDAY = 'SUNDAY',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n | DayOfWeek\n | 'MONDAY'\n | 'TUESDAY'\n | 'WEDNESDAY'\n | 'THURSDAY'\n | 'FRIDAY'\n | 'SATURDAY'\n | 'SUNDAY';\n\n/** Exception to the business's regular hours. The business can be open or closed during the exception. */\nexport interface SpecialHourPeriod {\n /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n startDate?: string;\n /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n endDate?: string;\n /**\n * Whether the business is closed (or the service is not available) during the exception.\n *\n * Default: `true`.\n */\n isClosed?: boolean;\n /** Additional info about the exception. For example, \"We close earlier on New Year's Eve.\" */\n comment?: string;\n}\n\nexport interface Multilingual {\n /**\n * Supported languages list.\n * @maxSize 200\n */\n supportedLanguages?: SupportedLanguage[];\n /** Whether to redirect to user language. */\n autoRedirect?: boolean;\n}\n\nexport interface SupportedLanguage {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Locale. */\n locale?: Locale;\n /** Whether the supported language is the primary language for the site. */\n isPrimary?: boolean;\n /** Language icon. */\n countryCode?: string;\n /** How the language will be resolved. For internal use. */\n resolutionMethod?: ResolutionMethodWithLiterals;\n /** Whether the supported language is the primary language for site visitors. */\n isVisitorPrimary?: boolean | null;\n}\n\nexport enum ResolutionMethod {\n QUERY_PARAM = 'QUERY_PARAM',\n SUBDOMAIN = 'SUBDOMAIN',\n SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ResolutionMethodWithLiterals =\n | ResolutionMethod\n | 'QUERY_PARAM'\n | 'SUBDOMAIN'\n | 'SUBDIRECTORY';\n\nexport interface ConsentPolicy {\n /** Whether the site uses cookies that are essential to site operation. Always `true`. */\n essential?: boolean | null;\n /** Whether the site uses cookies that affect site performance and other functional measurements. */\n functional?: boolean | null;\n /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */\n analytics?: boolean | null;\n /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */\n advertising?: boolean | null;\n /** CCPA compliance flag. */\n dataToThirdParty?: boolean | null;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type UpdateProgramApplicationErrors =\n | {\n code?: 'WRONG_STATE';\n description?: string;\n data?: WrongStateErrorDetails;\n }\n | {\n code?: 'WRONG_START_DATE';\n description?: string;\n data?: WrongStartDateErrorDetails;\n }\n | {\n code?: 'WRONG_PARTICIPANTS_NUMBER';\n description?: string;\n data?: WrongParticipantsNumberErrorDetails;\n }\n | {\n code?: 'DUPLICATED_SLUG';\n description?: string;\n data?: DuplicatedSlugErrorDetails;\n }\n | {\n code?: 'TIMELINE_SWITCH_FORBIDDEN';\n description?: string;\n data?: TimelineSwitchForbiddenErrorDetails;\n };\n/** @docsIgnore */\nexport type PublishProgramApplicationErrors = {\n code?: 'INVALID_START_DATE';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixOnlineProgramsV3Program from './online-programs-v3-program-programs.http.js';\nimport * as ambassadorWixOnlineProgramsV3ProgramTypes from './online-programs-v3-program-programs.types.js';\nimport * as ambassadorWixOnlineProgramsV3ProgramUniversalTypes from './online-programs-v3-program-programs.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.CreateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.CreateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.CreateProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.CreateProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.createProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function duplicateProgram(): __PublicMethodMetaInfo<\n 'POST',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.DuplicateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.DuplicateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.DuplicateProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.DuplicateProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.duplicateProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/{programId}/duplicate',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getProgram(): __PublicMethodMetaInfo<\n 'GET',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.GetProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.GetProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.GetProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.GetProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.getProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/programs/{programId}',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateProgram(): __PublicMethodMetaInfo<\n 'PATCH',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.UpdateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.UpdateProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.UpdateProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.UpdateProgramResponse\n> {\n const payload = { program: { id: ':programId' } } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.updateProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/programs/{program.id}',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteProgram(): __PublicMethodMetaInfo<\n 'DELETE',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.DeleteProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.DeleteProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.DeleteProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.DeleteProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.deleteProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/programs/{programId}',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryPrograms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.QueryProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.QueryProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.QueryProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.QueryProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.queryPrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function searchPrograms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.SearchProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.SearchProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.SearchProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.SearchProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.searchPrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/search',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function publishProgram(): __PublicMethodMetaInfo<\n 'POST',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.PublishProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.PublishProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.PublishProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.PublishProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.publishProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/{programId}/publish',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function endProgram(): __PublicMethodMetaInfo<\n 'POST',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.EndProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.EndProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.EndProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.EndProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.endProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/{programId}/end',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function archiveProgram(): __PublicMethodMetaInfo<\n 'POST',\n { programId: string },\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.ArchiveProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.ArchiveProgramRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.ArchiveProgramResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.ArchiveProgramResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.archiveProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/{programId}/archive',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePrograms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.BulkUpdateProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.BulkUpdateProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.BulkUpdateProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.BulkUpdateProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.bulkUpdatePrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/programs/update',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function countPrograms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.CountProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.CountProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.CountProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.CountProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.countPrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/programs/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listSamplePrograms(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.ListSampleProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramTypes.ListSampleProgramsRequest,\n ambassadorWixOnlineProgramsV3ProgramUniversalTypes.ListSampleProgramsResponse,\n ambassadorWixOnlineProgramsV3ProgramTypes.ListSampleProgramsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Program.listSamplePrograms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/programs/samples',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Program as ProgramOriginal,\n Status as StatusOriginal,\n StatusWithLiterals as StatusWithLiteralsOriginal,\n Description as DescriptionOriginal,\n DescriptionMediaOneOf as DescriptionMediaOneOfOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n VideoV2 as VideoV2Original,\n VideoResolution as VideoResolutionOriginal,\n Timeline as TimelineOriginal,\n Restrictions as RestrictionsOriginal,\n AccessType as AccessTypeOriginal,\n AccessTypeWithLiterals as AccessTypeWithLiteralsOriginal,\n Money as MoneyOriginal,\n Seo as SeoOriginal,\n SeoSchema as SeoSchemaOriginal,\n Keyword as KeywordOriginal,\n Tag as TagOriginal,\n Settings as SettingsOriginal,\n PageUrl as PageUrlOriginal,\n Reward as RewardOriginal,\n Trigger as TriggerOriginal,\n TriggerWithLiterals as TriggerWithLiteralsOriginal,\n Certificate as CertificateOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n VideoStepsSettings as VideoStepsSettingsOriginal,\n ContentSummary as ContentSummaryOriginal,\n UpdateDocumentsEvent as UpdateDocumentsEventOriginal,\n UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal,\n DocumentUpdateOperation as DocumentUpdateOperationOriginal,\n IndexDocument as IndexDocumentOriginal,\n DocumentPayload as DocumentPayloadOriginal,\n DocumentImage as DocumentImageOriginal,\n Enum as EnumOriginal,\n EnumWithLiterals as EnumWithLiteralsOriginal,\n DeleteByIdsOperation as DeleteByIdsOperationOriginal,\n DeleteByFilterOperation as DeleteByFilterOperationOriginal,\n UpdateByFilterOperation as UpdateByFilterOperationOriginal,\n UpdateExistingOperation as UpdateExistingOperationOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n Pages as PagesOriginal,\n URIs as URIsOriginal,\n ReindexMessage as ReindexMessageOriginal,\n ReindexMessageActionOneOf as ReindexMessageActionOneOfOriginal,\n Upsert as UpsertOriginal,\n Delete as DeleteOriginal,\n Schema as SchemaOriginal,\n ProgramPublished as ProgramPublishedOriginal,\n ProgramEnded as ProgramEndedOriginal,\n ProgramArchived as ProgramArchivedOriginal,\n ProgramDuplicated as ProgramDuplicatedOriginal,\n CreateProgramRequest as CreateProgramRequestOriginal,\n CreateProgramResponse as CreateProgramResponseOriginal,\n BulkCreateProgramsMigrationRequest as BulkCreateProgramsMigrationRequestOriginal,\n ProgramMigration as ProgramMigrationOriginal,\n BulkCreateProgramsMigrationResponse as BulkCreateProgramsMigrationResponseOriginal,\n BulkProgramResult as BulkProgramResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionType as BulkActionTypeOriginal,\n BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n DeleteAllProgramsMigrationRequest as DeleteAllProgramsMigrationRequestOriginal,\n DeleteAllProgramsMigrationResponse as DeleteAllProgramsMigrationResponseOriginal,\n DuplicateProgramRequest as DuplicateProgramRequestOriginal,\n DuplicateProgramResponse as DuplicateProgramResponseOriginal,\n GetProgramRequest as GetProgramRequestOriginal,\n GetProgramResponse as GetProgramResponseOriginal,\n UpdateProgramRequest as UpdateProgramRequestOriginal,\n UpdateProgramResponse as UpdateProgramResponseOriginal,\n WrongStateErrorDetails as WrongStateErrorDetailsOriginal,\n WrongStartDateErrorDetails as WrongStartDateErrorDetailsOriginal,\n WrongParticipantsNumberErrorDetails as WrongParticipantsNumberErrorDetailsOriginal,\n DuplicatedSlugErrorDetails as DuplicatedSlugErrorDetailsOriginal,\n TimelineSwitchForbiddenErrorDetails as TimelineSwitchForbiddenErrorDetailsOriginal,\n DeleteProgramRequest as DeleteProgramRequestOriginal,\n DeleteProgramResponse as DeleteProgramResponseOriginal,\n QueryProgramsRequest as QueryProgramsRequestOriginal,\n QueryV2 as QueryV2Original,\n QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n Paging as PagingOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryProgramsResponse as QueryProgramsResponseOriginal,\n PagingMetadataV2 as PagingMetadataV2Original,\n Cursors as CursorsOriginal,\n SearchProgramsRequest as SearchProgramsRequestOriginal,\n CursorSearch as CursorSearchOriginal,\n CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal,\n Aggregation as AggregationOriginal,\n AggregationKindOneOf as AggregationKindOneOfOriginal,\n RangeBucket as RangeBucketOriginal,\n SortType as SortTypeOriginal,\n SortTypeWithLiterals as SortTypeWithLiteralsOriginal,\n SortDirection as SortDirectionOriginal,\n SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal,\n MissingValues as MissingValuesOriginal,\n MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal,\n IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal,\n ScalarType as ScalarTypeOriginal,\n ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal,\n ValueAggregation as ValueAggregationOriginal,\n ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal,\n NestedAggregationType as NestedAggregationTypeOriginal,\n NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal,\n RangeAggregation as RangeAggregationOriginal,\n ScalarAggregation as ScalarAggregationOriginal,\n DateHistogramAggregation as DateHistogramAggregationOriginal,\n Interval as IntervalOriginal,\n IntervalWithLiterals as IntervalWithLiteralsOriginal,\n NestedAggregationItem as NestedAggregationItemOriginal,\n NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal,\n AggregationType as AggregationTypeOriginal,\n AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal,\n NestedAggregation as NestedAggregationOriginal,\n GroupByAggregation as GroupByAggregationOriginal,\n GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal,\n SearchDetails as SearchDetailsOriginal,\n Mode as ModeOriginal,\n ModeWithLiterals as ModeWithLiteralsOriginal,\n SearchProgramsResponse as SearchProgramsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n AggregationData as AggregationDataOriginal,\n ValueAggregationResult as ValueAggregationResultOriginal,\n RangeAggregationResult as RangeAggregationResultOriginal,\n NestedAggregationResults as NestedAggregationResultsOriginal,\n NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal,\n ValueResults as ValueResultsOriginal,\n RangeResults as RangeResultsOriginal,\n AggregationResultsScalarResult as AggregationResultsScalarResultOriginal,\n NestedValueAggregationResult as NestedValueAggregationResultOriginal,\n ValueResult as ValueResultOriginal,\n RangeResult as RangeResultOriginal,\n ScalarResult as ScalarResultOriginal,\n NestedResultValue as NestedResultValueOriginal,\n NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal,\n Results as ResultsOriginal,\n DateHistogramResult as DateHistogramResultOriginal,\n GroupByValueResults as GroupByValueResultsOriginal,\n DateHistogramResults as DateHistogramResultsOriginal,\n NestedResults as NestedResultsOriginal,\n AggregationResults as AggregationResultsOriginal,\n AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal,\n PublishProgramRequest as PublishProgramRequestOriginal,\n PublishProgramResponse as PublishProgramResponseOriginal,\n EndProgramRequest as EndProgramRequestOriginal,\n EndProgramResponse as EndProgramResponseOriginal,\n ArchiveProgramRequest as ArchiveProgramRequestOriginal,\n ArchiveProgramResponse as ArchiveProgramResponseOriginal,\n BulkUpdateProgramsRequest as BulkUpdateProgramsRequestOriginal,\n MaskedProgram as MaskedProgramOriginal,\n BulkUpdateProgramsResponse as BulkUpdateProgramsResponseOriginal,\n BulkUpdateProgramResult as BulkUpdateProgramResultOriginal,\n CountProgramsRequest as CountProgramsRequestOriginal,\n CountProgramsResponse as CountProgramsResponseOriginal,\n ListSampleProgramsRequest as ListSampleProgramsRequestOriginal,\n ListSampleProgramsResponse as ListSampleProgramsResponseOriginal,\n LabeledProgram as LabeledProgramOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n ResolveProgramSlugRequest as ResolveProgramSlugRequestOriginal,\n ResolveProgramSlugResponse as ResolveProgramSlugResponseOriginal,\n MissingMetasiteIdErrorDetails as MissingMetasiteIdErrorDetailsOriginal,\n MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n Asset as AssetOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCreatedContext as SiteCreatedContextOriginal,\n SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n Namespace as NamespaceOriginal,\n NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n SiteTransferred as SiteTransferredOriginal,\n SiteDeleted as SiteDeletedOriginal,\n DeleteContext as DeleteContextOriginal,\n DeleteStatus as DeleteStatusOriginal,\n DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n SiteUndeleted as SiteUndeletedOriginal,\n SitePublished as SitePublishedOriginal,\n SiteUnpublished as SiteUnpublishedOriginal,\n SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n ServiceProvisioned as ServiceProvisionedOriginal,\n ServiceRemoved as ServiceRemovedOriginal,\n SiteRenamed as SiteRenamedOriginal,\n SiteHardDeleted as SiteHardDeletedOriginal,\n NamespaceChanged as NamespaceChangedOriginal,\n StudioAssigned as StudioAssignedOriginal,\n StudioUnassigned as StudioUnassignedOriginal,\n SiteUrlChanged as SiteUrlChangedOriginal,\n SitePurgedExternally as SitePurgedExternallyOriginal,\n OdeditorAssigned as OdeditorAssignedOriginal,\n OdeditorUnassigned as OdeditorUnassignedOriginal,\n PicassoAssigned as PicassoAssignedOriginal,\n PicassoUnassigned as PicassoUnassignedOriginal,\n WixelAssigned as WixelAssignedOriginal,\n WixelUnassigned as WixelUnassignedOriginal,\n StudioTwoAssigned as StudioTwoAssignedOriginal,\n StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n UserDomainMediaEnabled as UserDomainMediaEnabledOriginal,\n UserDomainMediaDisabled as UserDomainMediaDisabledOriginal,\n EditorlessAssigned as EditorlessAssignedOriginal,\n EditorlessUnassigned as EditorlessUnassignedOriginal,\n SearchIndexingNotification as SearchIndexingNotificationOriginal,\n SearchIndexingNotificationState as SearchIndexingNotificationStateOriginal,\n SearchIndexingNotificationStateWithLiterals as SearchIndexingNotificationStateWithLiteralsOriginal,\n SitePropertiesUpdated as SitePropertiesUpdatedOriginal,\n SitePropertiesEvent as SitePropertiesEventOriginal,\n Properties as PropertiesOriginal,\n Categories as CategoriesOriginal,\n Locale as LocaleOriginal,\n Address as AddressOriginal,\n AddressHint as AddressHintOriginal,\n PlacementType as PlacementTypeOriginal,\n PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal,\n GeoCoordinates as GeoCoordinatesOriginal,\n BusinessSchedule as BusinessScheduleOriginal,\n TimePeriod as TimePeriodOriginal,\n DayOfWeek as DayOfWeekOriginal,\n DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n SpecialHourPeriod as SpecialHourPeriodOriginal,\n Multilingual as MultilingualOriginal,\n SupportedLanguage as SupportedLanguageOriginal,\n ResolutionMethod as ResolutionMethodOriginal,\n ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal,\n ConsentPolicy as ConsentPolicyOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n UpdateProgramApplicationErrors as UpdateProgramApplicationErrorsOriginal,\n PublishProgramApplicationErrors as PublishProgramApplicationErrorsOriginal,\n} from './online-programs-v3-program-programs.types.js';\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,wBAAAA;AAAA,EAAA,0BAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,qBAAAC;AAAA;AAAA;;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,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,sBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiC,mBAAmB,OAAO;AAEjE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["archiveProgram","bulkUpdatePrograms","countPrograms","createProgram","deleteProgram","duplicateProgram","endProgram","getProgram","listSamplePrograms","publishProgram","queryPrograms","searchPrograms","updateProgram","import_float","import_timestamp","import_rest_modules","payload","Status","AccessType","Trigger","Enum","BulkActionType","SortOrder","SortType","SortDirection","MissingValues","ScalarType","NestedAggregationType","Interval","AggregationType","Mode","State","SiteCreatedContext","Namespace","DeleteStatus","SearchIndexingNotificationState","PlacementType","DayOfWeek","ResolutionMethod","WebhookIdentityType","createProgram","duplicateProgram","getProgram","updateProgram","deleteProgram","queryPrograms","searchPrograms","publishProgram","endProgram","archiveProgram","bulkUpdatePrograms","countPrograms","listSamplePrograms"]}