@wix/auto_sdk_online-programs_participants 1.0.21 → 1.0.22

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 (29) hide show
  1. package/build/cjs/index.d.ts +16 -3
  2. package/build/cjs/index.js +64 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js +56 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +43 -2
  8. package/build/cjs/meta.js +49 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/{online-programs-participants-v3-participant-participants.universal-D4rclIQF.d.ts → online-programs-participants-v3-participant-participants.universal-B5JuUrJE.d.ts} +53 -1
  11. package/build/es/index.d.mts +16 -3
  12. package/build/es/index.mjs +63 -0
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +2 -2
  15. package/build/es/index.typings.mjs +55 -0
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +43 -2
  18. package/build/es/meta.mjs +48 -0
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/{online-programs-participants-v3-participant-participants.universal-D4rclIQF.d.mts → online-programs-participants-v3-participant-participants.universal-B5JuUrJE.d.mts} +53 -1
  21. package/build/internal/cjs/index.d.ts +16 -3
  22. package/build/internal/cjs/index.typings.d.ts +2 -2
  23. package/build/internal/cjs/meta.d.ts +43 -2
  24. package/build/internal/cjs/{online-programs-participants-v3-participant-participants.universal-AG5j7ATZ.d.ts → online-programs-participants-v3-participant-participants.universal-CAVKsE12.d.ts} +53 -1
  25. package/build/internal/es/index.d.mts +16 -3
  26. package/build/internal/es/index.typings.d.mts +2 -2
  27. package/build/internal/es/meta.d.mts +43 -2
  28. package/build/internal/es/{online-programs-participants-v3-participant-participants.universal-AG5j7ATZ.d.mts → online-programs-participants-v3-participant-participants.universal-CAVKsE12.d.mts} +53 -1
  29. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/online-programs-participants-v3-participant-participants.http.ts","../../src/online-programs-participants-v3-participant-participants.types.ts","../../src/online-programs-participants-v3-participant-participants.meta.ts"],"sourcesContent":["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 resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/participants-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/online-programs/v3/participants',\n destPath: '/v3/participants',\n },\n {\n srcPath: '/online-programs/v3/bulk/participants',\n destPath: '/v3/bulk/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/participants',\n destPath: '/v3/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/bulk/participants',\n destPath: '/v3/bulk/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/stats/premium',\n destPath: '/v3/stats/premium',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/participants-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/participants-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/online-programs/v3/participants',\n destPath: '/v3/participants',\n },\n {\n srcPath: '/online-programs/v3/bulk/participants',\n destPath: '/v3/bulk/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/participants',\n destPath: '/v3/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/bulk/participants',\n destPath: '/v3/bulk/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/stats/premium',\n destPath: '/v3/stats/premium',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/participants-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_online-programs_participants';\n\n/**\n * Creates a participant.\n *\n * Returns an error if the member is already a participant in the specified program.\n * Use UpdateParticipant to modify existing participants.\n */\nexport function createParticipant(payload: object): RequestOptionsFactory<any> {\n function __createParticipant({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.CreateParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createParticipant;\n}\n\n/**\n * Updates a participant's enrollment status or enrollment pricing details.\n *\n * Use this method to suspend or resume a participant by setting `enrollment_status` to\n * `SUSPENDED` or `JOINED`. To remove a participant, use `DeleteParticipant`.\n * Progress status is calculated from the participant's resolved steps and can't be updated.\n */\nexport function updateParticipant(payload: object): RequestOptionsFactory<any> {\n function __updateParticipant({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.UpdateParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participant.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: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateParticipant;\n}\n\n/**\n * Creates participants in bulk.\n *\n * All participants in a single bulk create request must belong to the same program.\n * Returns an error if the member is already a participant in the specified program.\n *\n * When `pricing_type` is `SINGLE_PAYMENT`, provide `single_payment_details`.\n * When `pricing_type` is `PAID_PLAN`, provide `paid_plan_details`.\n * When `pricing_type` is `FREE_COUPON`, provide `free_coupon_details`.\n * Other pricing types (`FREE`, `ADDED_MANUALLY`) do not require details.\n */\nexport function bulkCreateParticipants(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateParticipants({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'participants.createdDate' },\n { path: 'participants.updatedDate' },\n { path: 'participants.lastActivityDate' },\n { path: 'participants.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participants.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipants',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/create',\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.lastActivityDate' },\n { path: 'results.item.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateParticipants;\n}\n\n/**\n * Creates participants in bulk for all site members in a program, with an optional exclusion filter.\n *\n * Participants are created in the `JOINED` state with the join path set to `ADDED`.\n * Members who are already participants in the program will be skipped.\n * Only members who are not yet participants will be added.\n */\nexport function bulkCreateParticipantsForAllMembers(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateParticipantsForAllMembers({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipantsForAllMembers',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/create-for-all-members',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkCreateParticipantsForAllMembers;\n}\n\n/**\n * Removes a participant from the program.\n *\n * The member will lose access to program content but will remain in any associated social groups.\n */\nexport function deleteParticipant(payload: object): RequestOptionsFactory<any> {\n function __deleteParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.DeleteParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteParticipant;\n}\n\n/**\n * Manually issues a certificate to an active or finished participant.\n *\n * A finished participant has completed or failed the program, or was automatically removed.\n * The program must have a connected certificate reward. When authenticated as a site member,\n * the participant must have completed the program.\n */\nexport function issueCertificate(payload: object): RequestOptionsFactory<any> {\n function __issueCertificate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.IssueCertificate',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}/issue-certificate',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __issueCertificate;\n}\n\n/** Retrieves premium plan statistics for the site. */\nexport function getPremiumStats(payload: object): RequestOptionsFactory<any> {\n function __getPremiumStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetPremiumStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/stats/premium',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getPremiumStats;\n}\n\n/**\n * Retrieves site-wide participant statistics for the requested programs.\n *\n * The statistics aren't limited to the caller's own participation records.\n */\nexport function getParticipationStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __getParticipationStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetParticipationStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/stats',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __getParticipationStats;\n}\n\n/** Returns a participant by ID. */\nexport function getParticipant(payload: object): RequestOptionsFactory<any> {\n function __getParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}',\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: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getParticipant;\n}\n\n/** Queries existing participants. */\nexport function queryParticipants(payload: object): RequestOptionsFactory<any> {\n function __queryParticipants({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/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: 'participants.createdDate' },\n { path: 'participants.updatedDate' },\n { path: 'participants.lastActivityDate' },\n { path: 'participants.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participants.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryParticipants;\n}\n\n/**\n * Retrieves the access status for the current site, indicating whether participants can access\n * online programs or if access is blocked due to plan limitations or other restrictions.\n */\nexport function getAccessStatus(payload: object): RequestOptionsFactory<any> {\n function __getAccessStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetAccessStatus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/access',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getAccessStatus;\n}\n\n/**\n * Updates tags for multiple Participants by IDs.\n *\n * Allows assigning and/or unassigning tags in a single operation.\n * At least one of assign_tags or unassign_tags must be provided.\n */\nexport function bulkUpdateParticipantTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateParticipantTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/update-tags',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateParticipantTags;\n}\n\n/**\n * Updates tags for Participants matching a filter.\n *\n * Allows assigning and/or unassigning tags for all Participants matching the filter.\n * Returns a job ID for tracking the async operation.\n */\nexport function bulkUpdateParticipantTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateParticipantTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/update-tags-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateParticipantTagsByFilter;\n}\n\n/**\n * Retrieves a list of participants matching the search criteria.\n *\n * Results and aggregations include only the participant records that the caller is authorized to access.\n */\nexport function searchParticipants(\n payload: object\n): RequestOptionsFactory<any> {\n function __searchParticipants({ 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.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.SearchParticipants',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/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: 'participants.createdDate' },\n { path: 'participants.updatedDate' },\n { path: 'participants.lastActivityDate' },\n { path: 'participants.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'participants.progress.completionPercentage' },\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 __searchParticipants;\n}\n\n/**\n * Exports participant data and step completion statistics for a program as a CSV file.\n * The export includes participant details, progress, status, and completion dates for each step.\n *\n * This method initiates an asynchronous export. Subscribe to the `ParticipantExportsFinished`\n * event to receive the download URL when the export completes.\n */\nexport function exportParticipantsStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __exportParticipantsStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantExportsService.ExportParticipantsStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl({\n protoPath: '/v3/participants/export/{programId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __exportParticipantsStats;\n}\n","/**\n * Participant entity represents a site member who takes part in a specific Online Program.\n * Participants have access to the program's content and progress through the program by completing its steps.\n * A participant can join through a join application flow or be manually added by the program owner.\n * A participant's status depends on their progress and the program's settings (e.g., start and end dates). Participation may also be temporarily suspended.\n */\nexport interface Participant {\n /**\n * Participant ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Participant revision (for optimistic concurrency control).\n * @readonly\n */\n revision?: string | null;\n /**\n * Participant creation date.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date the participant was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Member ID of the participant on the site.\n * @format GUID\n * @readonly\n */\n memberId?: string;\n /**\n * ID of the program the participant is enrolled in.\n * @format GUID\n * @readonly\n */\n programId?: string;\n /**\n * Program completion progress. This field is conditional and must be explicitly requested via `fields` parameter.\n * @readonly\n */\n progress?: Progress;\n /**\n * Certificate info for participant\n * @readonly\n */\n certificateInfo?: CertificateInfo;\n /**\n * Site member info snapshot for the participant\n * @readonly\n */\n member?: Member;\n /**\n * Last activity date of the participant in the program (can either be status change or step resolution).\n * @readonly\n */\n lastActivityDate?: Date | null;\n /**\n * Participant's enrollment status in the program.\n * @readonly\n */\n enrollmentStatus?: EnrollmentStatusWithLiterals;\n /**\n * Participant's progress status in the program.\n * @readonly\n */\n progressStatus?: ProgressStatusWithLiterals;\n /** Additional information about the participant's enrollment and completion timeframe in the program. */\n enrollmentInfo?: EnrollmentInfo;\n /** Extended fields for participant (can be used for storing custom data). */\n extendedFields?: ExtendedFields;\n /** Tags for categorizing and organizing participants. */\n tags?: Tags;\n}\n\nexport enum PricingType {\n /** Member joined a program that is configured as free to join, with no payment required. */\n FREE = 'FREE',\n /** Member was added to the program by site owner. */\n ADDED_MANUALLY = 'ADDED_MANUALLY',\n /** Member paid once to join the program. */\n SINGLE_PAYMENT = 'SINGLE_PAYMENT',\n /** Member joined using a Pricing Plan. */\n PAID_PLAN = 'PAID_PLAN',\n /** Member joined a paid program using a coupon that provided 100% discount. */\n FREE_COUPON = 'FREE_COUPON',\n}\n\n/** @enumType */\nexport type PricingTypeWithLiterals =\n | PricingType\n | 'FREE'\n | 'ADDED_MANUALLY'\n | 'SINGLE_PAYMENT'\n | 'PAID_PLAN'\n | 'FREE_COUPON';\n\nexport interface SinglePaymentDetails {\n /**\n * ID of the cashier order which was used to pay for joining the program.\n * @format GUID\n * @immutable\n */\n paymentOrderId?: string;\n /**\n * ID of the offline transaction if the participant used an offline payment method (e.g., cash, check). Null if online payment was used.\n * @format GUID\n * @immutable\n */\n offlineTransactionId?: string | null;\n}\n\nexport interface PaidPlanDetails {\n /**\n * ID of the Paid Plan for which member has paid to join the program.\n * @format GUID\n * @immutable\n */\n paidPlanId?: string;\n}\n\nexport interface FreeCouponDetails {\n /**\n * ID of the coupon which was applied and gave 100% discount to join the program for free.\n * @format GUID\n * @immutable\n */\n freeCouponId?: string;\n}\n\nexport interface Progress {\n /** Number of program steps completed by member. */\n totalStepsCompleted?: number;\n /** Total number of program steps available to resolve. */\n totalStepsAvailable?: number;\n /**\n * Participant's completion percentage. For completed participants, this is 100.0. Otherwise, it is calculated as\n * (total_steps_completed / total_steps_available) * 100, capped at 100, and rounded to 1 decimal place.\n * @max 100\n */\n completionPercentage?: number;\n}\n\nexport interface CertificateInfo {\n /**\n * Date when the certificate was issued (UTC).\n * @readonly\n */\n issueDate?: Date | null;\n}\n\nexport interface Member {\n /**\n * First name of the site member. Null if the member has not provided this information in their profile.\n * @readonly\n * @maxLength 1000\n */\n firstName?: string | null;\n /**\n * Last name of the site member. Null if the member has not provided this information in their profile.\n * @readonly\n * @maxLength 1000\n */\n lastName?: string | null;\n /**\n * Email of the site member. Null if the member has not provided this information in their profile.\n * @readonly\n * @format EMAIL\n */\n email?: string | null;\n /**\n * Contact ID for accessing additional member information via the Contacts API. Use this to retrieve extended contact details like phone numbers, addresses, and custom fields. Null if the member has not provided this information in their profile.\n * @format GUID\n * @readonly\n */\n contactId?: string | null;\n /**\n * Member nickname. Null if the member has not provided this information in their profile.\n * @readonly\n * @maxLength 1000\n */\n nickname?: string | null;\n /**\n * Profile image URL of the site member.\n * @readonly\n * @format WEB_URL\n */\n profileImageUrl?: string | null;\n}\n\nexport enum EnrollmentStatus {\n /** Participant is actively enrolled in the program. */\n JOINED = 'JOINED',\n /** Enrollment temporarily suspended due to payment issues. */\n SUSPENDED = 'SUSPENDED',\n /** Automatically removed via a Wix Automations workflow. */\n AUTO_REMOVED = 'AUTO_REMOVED',\n /** Removed from the program by the site owner. */\n REMOVED = 'REMOVED',\n /** Participant voluntarily left the program. */\n LEFT = 'LEFT',\n}\n\n/** @enumType */\nexport type EnrollmentStatusWithLiterals =\n | EnrollmentStatus\n | 'JOINED'\n | 'SUSPENDED'\n | 'AUTO_REMOVED'\n | 'REMOVED'\n | 'LEFT';\n\nexport enum ProgressStatus {\n /** Enrolled but no steps completed yet. */\n NOT_STARTED = 'NOT_STARTED',\n /** At least one step completed but program not yet finished. */\n IN_PROGRESS = 'IN_PROGRESS',\n /** Participant successfully completed the program. */\n COMPLETED = 'COMPLETED',\n /** Participant failed to complete the program within the deadline. */\n FAILED = 'FAILED',\n /** Progress tracking is not applicable — participant left, was removed, or was auto-removed. */\n NOT_APPLICABLE = 'NOT_APPLICABLE',\n}\n\n/** @enumType */\nexport type ProgressStatusWithLiterals =\n | ProgressStatus\n | 'NOT_STARTED'\n | 'IN_PROGRESS'\n | 'COMPLETED'\n | 'FAILED'\n | 'NOT_APPLICABLE';\n\nexport interface EnrollmentInfo extends EnrollmentInfoPricingTypeDetailsOneOf {\n /** Details about a Single Payment enrollment. */\n singlePaymentDetails?: SinglePaymentDetails;\n /** Details about a Paid Plan enrollment. */\n paidPlanDetails?: PaidPlanDetails;\n /** Details about a Free Coupon enrollment. */\n freeCouponDetails?: FreeCouponDetails;\n /**\n * Time zone of the site when the participant was enrolled in the program, in IANA timezone format (e.g., \"America/New_York\").\n * @maxLength 50\n * @readonly\n */\n timeZone?: string;\n /**\n * Date when the participant starts the program. Equals the participant's `created_date` if the program has no configured start date; otherwise, equals the program's start date if the participant enrolled before it began.\n * @format LOCAL_DATE\n * @readonly\n */\n startDate?: string;\n /** Pricing type used for the participant's enrollment in the program. */\n pricingType?: PricingTypeWithLiterals;\n /**\n * Date by which the participant must complete the program. Null if the program has no deadline. Set if the program has a fixed end date or a duration-based deadline calculated from the participant's start date.\n * @format LOCAL_DATE\n * @readonly\n */\n deadline?: string | null;\n}\n\n/** @oneof */\nexport interface EnrollmentInfoPricingTypeDetailsOneOf {\n /** Details about a Single Payment enrollment. */\n singlePaymentDetails?: SinglePaymentDetails;\n /** Details about a Paid Plan enrollment. */\n paidPlanDetails?: PaidPlanDetails;\n /** Details about a Free Coupon enrollment. */\n freeCouponDetails?: FreeCouponDetails;\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/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * option (.wix.api.decomposite_of) = \"wix.commons.v2.tags.Foo\";\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * public_tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that require an additional permission in order to access them, typically restricted from site members and visitors. */\n privateTags?: TagList;\n /** Tags that are exposed to anyone with access to the entity, including site members and visitors. */\n publicTags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs.\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: 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\n/**\n * Domain event emitted when a participant's tags are modified.\n * Pre-publication rename from TagsModified; no consumers of the legacy FQN are known.\n */\nexport interface ParticipantTagsModified {\n /** The Participant with updated tags */\n participant?: Participant;\n /** Tags that were assigned */\n assignedTags?: Tags;\n /** Tags that were unassigned */\n unassignedTags?: Tags;\n}\n\n/** Domain event emitted when a participant completes a program. */\nexport interface ParticipantCompletedProgram {\n /**\n * ID of the participant who completed the program.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program which was completed.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant who completed the program.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant after completing the program. */\n participant?: Participant;\n}\n\n/** Domain event emitted when a participant misses a program deadline. */\nexport interface ParticipantMissedProgramDeadline {\n /**\n * ID of the participant who missed the deadline.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program for which the deadline was missed.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant who missed the deadline.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant after missing the deadline. */\n participant?: Participant;\n}\n\n/** Domain event emitted when a participant's program duration ends. */\nexport interface ParticipantProgramDurationEnded {\n /**\n * ID of the participant whose program duration ended.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program whose duration ended for the participant.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant whose program duration ended.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant when the program duration ended. */\n participant?: Participant;\n}\n\n/** Domain event emitted when a participant is removed from a program by an administrator. */\nexport interface ParticipantRemoved {\n /**\n * ID of the participant who was removed.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program from which the participant was removed.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant who was removed.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant after being removed from the program. */\n participant?: Participant;\n}\n\n/** Domain event emitted when a participant voluntarily leaves a program. */\nexport interface ParticipantLeft {\n /**\n * ID of the participant who left the program.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program the participant left.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant who left.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant after leaving the program. */\n participant?: Participant;\n}\n\nexport interface CreateParticipantRequest {\n /** Participant to create */\n participant: Participant;\n /**\n * Array of conditional fields to include in the response.\n * Use `RequestedFields.PROGRESS` to include the progress field, which requires calculating completion statistics across all program steps. Only request this field when you need current progress data, as it impacts performance.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Enum for specifying which conditional fields to include in responses.\n * Use these values in the `fields` parameter to request expensive or conditional fields.\n */\nexport enum RequestedFields {\n /** Request the progress field to be calculated and included in the response. */\n PROGRESS = 'PROGRESS',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals = RequestedFields | 'PROGRESS';\n\nexport interface CreateParticipantResponse {\n /** Created participant */\n participant?: Participant;\n}\n\nexport interface UpdateParticipantRequest {\n /** Participant to update. Must include the participant ID. */\n participant: Participant;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n /**\n * Optional explicit field mask. If omitted, the API infers it from writable fields in `participant`.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdateParticipantResponse {\n /** Updated participant */\n participant?: Participant;\n}\n\nexport interface BulkCreateParticipantsRequest {\n /**\n * List of participants to create.\n * @minSize 1\n * @maxSize 100\n */\n participants: Participant[];\n /** Whether to return entities in response or not. */\n returnEntity?: boolean;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface BulkCreateParticipantsResponse {\n /**\n * Results of the bulk create operation.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkParticipantResult[];\n /** Metadata about the bulk action. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkParticipantResult {\n /** Metadata for the item. */\n itemMetadata?: ItemMetadata;\n /** The participant entity. Empty if `return_entity` is `false`. */\n item?: Participant;\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 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 BulkUpsertParticipantsMigrationRequest {\n /**\n * List of participants to create or update.\n * @minSize 1\n * @maxSize 100\n */\n participants?: ParticipantMigration[];\n}\n\nexport interface ParticipantMigration {\n /** Participant to create or update. */\n participant?: Participant;\n /**\n * Resolved step IDs to restore on participant.\n * @maxSize 5000\n * @format GUID\n */\n resolvedStepIds?: string[];\n}\n\nexport interface BulkUpsertParticipantsMigrationResponse {\n /**\n * Results of the bulk migration operation.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkParticipantMigrationResult[];\n /** Metadata about the bulk action. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkParticipantMigrationResult {\n /** Metadata for the item. */\n itemMetadata?: ItemMetadata;\n /** Action type of bulk action (INSERT OR UPDATE) for that endpoint. */\n action?: BulkActionTypeWithLiterals;\n}\n\nexport enum BulkActionType {\n /** default action type, should never be used */\n UNKNOWN_ACTION_TYPE = 'UNKNOWN_ACTION_TYPE',\n /** Action type for inserting new items. */\n INSERT = 'INSERT',\n /** Action type for updating existing items. */\n UPDATE = 'UPDATE',\n}\n\n/** @enumType */\nexport type BulkActionTypeWithLiterals =\n | BulkActionType\n | 'UNKNOWN_ACTION_TYPE'\n | 'INSERT'\n | 'UPDATE';\n\nexport interface DeleteAllParticipantsMigrationRequest {}\n\nexport interface DeleteAllParticipantsMigrationResponse {}\n\nexport interface ReindexParticipantsSearchRequest {\n /**\n * @minSize 1\n * @maxSize 1000\n * @format GUID\n */\n participantIds?: string[];\n}\n\nexport interface ReindexParticipantsSearchResponse {}\n\nexport interface SynchronizeTimeCapsuleTasksRequest {\n /**\n * Metasite whose participant finish tasks should be synchronized.\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface SynchronizeTimeCapsuleTasksResponse {\n /**\n * ID of the asynchronous job that will process the request. Pass this ID to Get Async Job to track the operation status.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface BulkCreateParticipantsForAllMembersRequest {\n /**\n * ID of the program for which to create participants for all site members in bulk.\n * @format GUID\n */\n programId: string;\n /**\n * Site member IDs to exclude from bulk participant creation. Maximum 100 member IDs can be excluded.\n * @format GUID\n * @maxSize 100\n */\n excludeMemberIds?: string[];\n}\n\nexport interface BulkCreateParticipantsForAllMembersResponse {\n /**\n * ID of the asynchronous job that will process the request. Pass this ID to Get Async Job to track the operation status.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface DeleteParticipantRequest {\n /**\n * ID of the participant to delete.\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface DeleteParticipantResponse {}\n\nexport interface IssueCertificateRequest {\n /**\n * ID of the participant to issue the certificate to.\n * @format GUID\n */\n participantId: string;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface IssueCertificateResponse {\n /** Updated participant */\n participant?: Participant;\n}\n\nexport interface GetCompletionStatsRequest {\n /**\n * ID of the program to retrieve completion statistics for.\n * @format GUID\n */\n programId?: string;\n}\n\nexport interface GetCompletionStatsResponse {\n /** Number of participants that completed the program */\n completedParticipantsCount?: number;\n /** Percentage of participants that completed the program */\n completionRate?: number;\n}\n\nexport interface GetPremiumStatsRequest {}\n\nexport interface GetPremiumStatsResponse {\n /** True if site has Online Programs premium feature */\n premiumEnabled?: boolean;\n /** Count of active participants on the site */\n activeParticipantsCount?: number;\n /** Limit of active participants on a site without premium */\n activeParticipantsLimit?: number;\n}\n\nexport interface GetParticipationStatsRequest {\n /**\n * IDs of the programs to retrieve participant statistics for.\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n programIds: string[];\n}\n\nexport interface GetParticipationStatsResponse {\n /**\n * Participant statistics for each distinct requested program ID.\n * @maxSize 100\n */\n participationStats?: ProgramParticipationStats[];\n}\n\nexport interface ProgramParticipationStats {\n /**\n * Program ID.\n * @format GUID\n */\n programId?: string;\n /** Number of participants with a joined or suspended enrollment, including participants who completed or failed the program. */\n participantsCount?: number;\n /** Number of participants automatically removed when the program duration ended. */\n autoRemovedCount?: number;\n}\n\nexport interface GetParticipantRequest {\n /**\n * ID of the participant to fetch.\n * @format GUID\n */\n participantId: string;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface GetParticipantResponse {\n /** The retrieved participant. */\n participant?: Participant;\n}\n\nexport interface QueryParticipantsRequest {\n /** Platformized query */\n query?: QueryV2;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset 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 [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\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 offset 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\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 /** Number of items to skip in the current sort order. */\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 QueryParticipantsResponse {\n /** List of participants matching the query. */\n participants?: Participant[];\n /** Paging metadata. */\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 GetAccessStatusRequest {}\n\nexport interface GetAccessStatusResponse {\n /** True if participants cannot access online programs due to some limitations */\n accessBlocked?: boolean;\n}\n\nexport interface BulkUpdateParticipantTagsRequest {\n /**\n * Participant IDs to update tags for (1-100 items)\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n participantIds: string[];\n /** Tags to assign to the Participants */\n assignTags?: Tags;\n /** Tags to unassign from the Participants */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateParticipantTagsResponse {\n /**\n * Results for each Participant\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateParticipantTagsResult[];\n /** Metadata about the bulk operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateParticipantTagsResult {\n /** Metadata for this specific item */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateParticipantTagsByFilterRequest {\n /** WQL filter to select Participants */\n filter: Record<string, any> | null;\n /** Tags to assign to matching Participants */\n assignTags?: Tags;\n /** Tags to unassign from matching Participants */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateParticipantTagsByFilterResponse {\n /**\n * Job ID for tracking the async operation. Pass this ID to Get Async Job to track the operation status.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface SearchParticipantsRequest {\n /** Query to search participants. */\n search?: CursorSearch;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CursorSearch extends CursorSearchPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * List of sort objects.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n * @maxSize 10\n */\n sort?: Sorting[];\n /**\n * Logical groupings of data into facets, with summaries for each facet. For example, use aggregations to allow site visitors to narrow down their search results by selecting specific categories.\n * @maxSize 10\n */\n aggregations?: Aggregation[];\n /** Free text to match in searchable fields. */\n search?: SearchDetails;\n /**\n * Time zone to adjust date-time-based filters and aggregations, in ISO 8601 (including offsets) or IANA time zone database (including time zone IDs) format.\n * Applies to all relevant filters and aggregations, unless overridden by providing 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/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Aggregation extends AggregationKindOneOf {\n /** A value aggregation calculates metrics such as count for specific fields within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of products for each price listed in the store. */\n value?: ValueAggregation;\n /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. */\n range?: RangeAggregation;\n /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n scalar?: ScalarAggregation;\n /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.) For example, use a date histogram to find how many reservations have been made at a restaurant each week. */\n dateHistogram?: DateHistogramAggregation;\n /** A nested aggregation is applied within the results of another aggregation. Rather than aggregating directly on the primary dataset, first group data using one aggregation and then apply another aggregation within each group. It allows for more complex analyses where you can summarize data at different levels of detail or hierarchy. For example, to get the number of products that are in stock and out of stock for each price listed, first perform a value aggregation on `discountedPriceNumeric`, and a second value aggregation on `inStock`. */\n nested?: NestedAggregation;\n /**\n * Aggregation name, returned in `aggregations.results.name`.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation to perform. Must align with the corresponding aggregation field. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\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 /** A value aggregation calculates metrics such as count for specific fields within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of products for each price listed in the store. */\n value?: ValueAggregation;\n /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. */\n range?: RangeAggregation;\n /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n scalar?: ScalarAggregation;\n /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.) For example, use a date histogram to find how many reservations have been made at a restaurant each week. */\n dateHistogram?: DateHistogramAggregation;\n /** A nested aggregation is applied within the results of another aggregation. Rather than aggregating directly on the primary dataset, first group data using one aggregation and then apply another aggregation within each group. It allows for more complex analyses where you can summarize data at different levels of detail or hierarchy. For example, to get the number of products that are in stock and out of stock for each price listed, first perform a value aggregation on `discountedPriceNumeric`, and a second value aggregation on `inStock`. */\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 /** Number of matches in the results. */\n COUNT = 'COUNT',\n /** Alphabetically by the field value. */\n VALUE = 'VALUE',\n}\n\n/** @enumType */\nexport type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';\n\nexport enum SortDirection {\n /** Descending order. */\n DESC = 'DESC',\n /** 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 a custom name for the bucket containing the missing values. Defaults are `\"N/A\"` for strings, `0` for integers, and `false` for booleans.\n * @maxLength 20\n */\n addToBucket?: string;\n}\n\nexport enum ScalarType {\n /** Total number 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 in results. */\n includeOptions?: IncludeMissingValuesOptions;\n /** Sort type. */\n sortType?: SortTypeWithLiterals;\n /** Sort direction. */\n sortDirection?: SortDirectionWithLiterals;\n /**\n * Number of aggregation results to return.\n * Min: `1`\n * Max: `250`\n * Default: `10`\n */\n limit?: number | null;\n /**\n * Whether to include or exclude missing values in the aggregation results.\n * Default: `EXCLUDE`.\n */\n missingValues?: MissingValuesWithLiterals;\n}\n\n/** @oneof */\nexport interface ValueAggregationOptionsOneOf {\n /** Options for including missing values in results. */\n includeOptions?: IncludeMissingValuesOptions;\n}\n\nexport enum NestedAggregationType {\n /** Calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. */\n VALUE = 'VALUE',\n /** Calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. */\n RANGE = 'RANGE',\n /** Calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n SCALAR = 'SCALAR',\n /** Calculates the count of time values from the specified field in the dataset that fall within each time interval you define (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. During aggregation each entity is 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 /** Operator type 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 YEAR = 'YEAR',\n MONTH = 'MONTH',\n WEEK = 'WEEK',\n DAY = 'DAY',\n HOUR = 'HOUR',\n MINUTE = 'MINUTE',\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 /** A value aggregation calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of orders for each order status. */\n value?: ValueAggregation;\n /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n range?: RangeAggregation;\n /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n scalar?: ScalarAggregation;\n /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). For example, use a date histogram to determine how many reservations have been made at a restaurant each week. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n dateHistogram?: DateHistogramAggregation;\n /**\n * Unique, caller-defined aggregation name, returned in `aggregations.results`.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation to perform. The matching aggregation field must be passed. */\n type?: NestedAggregationTypeWithLiterals;\n /**\n * Field to aggregate by. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationItemKindOneOf {\n /** A value aggregation calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of orders for each order status. */\n value?: ValueAggregation;\n /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n range?: RangeAggregation;\n /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n scalar?: ScalarAggregation;\n /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). For example, use a date histogram to determine how many reservations have been made at a restaurant each week. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n dateHistogram?: DateHistogramAggregation;\n}\n\nexport enum AggregationType {\n /** Calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. */\n VALUE = 'VALUE',\n /** Calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. */\n RANGE = 'RANGE',\n /** Calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n SCALAR = 'SCALAR',\n /** Calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n /** Flattened list of aggregations, where each 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 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 * Unique, caller-defined aggregation name, returned in `aggregations.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 /** Search mode. Defines the search logic for combining multiple terms in the `expression`. */\n mode?: ModeWithLiterals;\n /**\n * Search term or expression.\n * @maxLength 100\n */\n expression?: string | null;\n /**\n * Fields to search in. If the array is empty, all searchable fields are searched. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\n * @maxLength 200\n * @maxSize 20\n */\n fields?: string[];\n /** Whether to enable the search function to use an algorithm to automatically find results that are close to the search expression, such as typos and declensions. */\n fuzzy?: boolean;\n}\n\nexport enum Mode {\n /** At least one 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 SearchParticipantsResponse {\n /** Participants matching the search criteria. */\n participants?: Participant[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n /** Aggregation data in case aggregations were requested. */\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 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 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\nexport interface ExportParticipantsStatsRequest {\n /**\n * program id to export data from\n * @format GUID\n */\n programId: string;\n}\n\nexport interface ExportParticipantsStatsResponse {}\n\n/** @docsIgnore */\nexport type CreateParticipantApplicationErrors =\n | {\n code?: 'PREMIUM_PLAN_REQUIRED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PARTICIPANTS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type BulkCreateParticipantsApplicationErrors =\n | {\n code?: 'MULTIPLE_PROGRAM_IDS_IN_BULK_CREATE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PREMIUM_PLAN_REQUIRED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PARTICIPANTS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type IssueCertificateApplicationErrors =\n | {\n code?: 'PARTICIPANT_NOT_ACTIVE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'NO_CERTIFICATE_REWARD';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PARTICIPANT_NOT_COMPLETED_PROGRAM';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type BulkUpdateParticipantTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateParticipantTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixOnlineProgramsParticipantsV3Participant from './online-programs-participants-v3-participant-participants.http.js';\nimport * as ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes from './online-programs-participants-v3-participant-participants.types.js';\nimport * as ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes from './online-programs-participants-v3-participant-participants.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 createParticipant(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.CreateParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.CreateParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.CreateParticipantResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.CreateParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.createParticipant(\n payload\n );\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/participants',\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 updateParticipant(): __PublicMethodMetaInfo<\n 'PATCH',\n { participantId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.UpdateParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.UpdateParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.UpdateParticipantResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.UpdateParticipantResponse\n> {\n const payload = { participant: { id: ':participantId' } } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.updateParticipant(\n payload\n );\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/participants/{participant.id}',\n pathParams: { participantId: 'participantId' },\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 bulkCreateParticipants(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkCreateParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkCreateParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkCreateParticipantsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkCreateParticipantsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.bulkCreateParticipants(\n payload\n );\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/participants/create',\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 bulkCreateParticipantsForAllMembers(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkCreateParticipantsForAllMembersRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkCreateParticipantsForAllMembersRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkCreateParticipantsForAllMembersResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkCreateParticipantsForAllMembersResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.bulkCreateParticipantsForAllMembers(\n payload\n );\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/participants/create-for-all-members',\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 deleteParticipant(): __PublicMethodMetaInfo<\n 'DELETE',\n { participantId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.DeleteParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.DeleteParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.DeleteParticipantResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.DeleteParticipantResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.deleteParticipant(\n payload\n );\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/participants/{participantId}',\n pathParams: { participantId: 'participantId' },\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 issueCertificate(): __PublicMethodMetaInfo<\n 'POST',\n { participantId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.IssueCertificateRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.IssueCertificateRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.IssueCertificateResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.IssueCertificateResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.issueCertificate(\n payload\n );\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/participants/{participantId}/issue-certificate',\n pathParams: { participantId: 'participantId' },\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 getPremiumStats(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetPremiumStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetPremiumStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetPremiumStatsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetPremiumStatsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.getPremiumStats(\n payload\n );\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/stats/premium',\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 getParticipationStats(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetParticipationStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetParticipationStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetParticipationStatsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetParticipationStatsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.getParticipationStats(\n payload\n );\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/participants/stats',\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 getParticipant(): __PublicMethodMetaInfo<\n 'GET',\n { participantId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetParticipantResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetParticipantResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.getParticipant(\n payload\n );\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/participants/{participantId}',\n pathParams: { participantId: 'participantId' },\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 queryParticipants(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.QueryParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.QueryParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.QueryParticipantsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.QueryParticipantsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.queryParticipants(\n payload\n );\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/participants/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 getAccessStatus(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetAccessStatusRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetAccessStatusRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetAccessStatusResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetAccessStatusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.getAccessStatus(\n payload\n );\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/participants/access',\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 bulkUpdateParticipantTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkUpdateParticipantTagsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkUpdateParticipantTagsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkUpdateParticipantTagsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkUpdateParticipantTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.bulkUpdateParticipantTags(\n payload\n );\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/participants/update-tags',\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 bulkUpdateParticipantTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkUpdateParticipantTagsByFilterRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkUpdateParticipantTagsByFilterRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkUpdateParticipantTagsByFilterResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkUpdateParticipantTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.bulkUpdateParticipantTagsByFilter(\n payload\n );\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/participants/update-tags-by-filter',\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 searchParticipants(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.SearchParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.SearchParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.SearchParticipantsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.SearchParticipantsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.searchParticipants(\n payload\n );\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/participants/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 exportParticipantsStats(): __PublicMethodMetaInfo<\n 'GET',\n { programId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.ExportParticipantsStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.ExportParticipantsStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.ExportParticipantsStatsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.ExportParticipantsStatsResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.exportParticipantsStats(\n payload\n );\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/participants/export/{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 {\n Participant as ParticipantOriginal,\n PricingType as PricingTypeOriginal,\n PricingTypeWithLiterals as PricingTypeWithLiteralsOriginal,\n SinglePaymentDetails as SinglePaymentDetailsOriginal,\n PaidPlanDetails as PaidPlanDetailsOriginal,\n FreeCouponDetails as FreeCouponDetailsOriginal,\n Progress as ProgressOriginal,\n CertificateInfo as CertificateInfoOriginal,\n Member as MemberOriginal,\n EnrollmentStatus as EnrollmentStatusOriginal,\n EnrollmentStatusWithLiterals as EnrollmentStatusWithLiteralsOriginal,\n ProgressStatus as ProgressStatusOriginal,\n ProgressStatusWithLiterals as ProgressStatusWithLiteralsOriginal,\n EnrollmentInfo as EnrollmentInfoOriginal,\n EnrollmentInfoPricingTypeDetailsOneOf as EnrollmentInfoPricingTypeDetailsOneOfOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n Tags as TagsOriginal,\n TagList as TagListOriginal,\n ReindexMessage as ReindexMessageOriginal,\n ReindexMessageActionOneOf as ReindexMessageActionOneOfOriginal,\n Upsert as UpsertOriginal,\n Delete as DeleteOriginal,\n Schema as SchemaOriginal,\n ParticipantTagsModified as ParticipantTagsModifiedOriginal,\n ParticipantCompletedProgram as ParticipantCompletedProgramOriginal,\n ParticipantMissedProgramDeadline as ParticipantMissedProgramDeadlineOriginal,\n ParticipantProgramDurationEnded as ParticipantProgramDurationEndedOriginal,\n ParticipantRemoved as ParticipantRemovedOriginal,\n ParticipantLeft as ParticipantLeftOriginal,\n CreateParticipantRequest as CreateParticipantRequestOriginal,\n RequestedFields as RequestedFieldsOriginal,\n RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n CreateParticipantResponse as CreateParticipantResponseOriginal,\n UpdateParticipantRequest as UpdateParticipantRequestOriginal,\n UpdateParticipantResponse as UpdateParticipantResponseOriginal,\n BulkCreateParticipantsRequest as BulkCreateParticipantsRequestOriginal,\n BulkCreateParticipantsResponse as BulkCreateParticipantsResponseOriginal,\n BulkParticipantResult as BulkParticipantResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpsertParticipantsMigrationRequest as BulkUpsertParticipantsMigrationRequestOriginal,\n ParticipantMigration as ParticipantMigrationOriginal,\n BulkUpsertParticipantsMigrationResponse as BulkUpsertParticipantsMigrationResponseOriginal,\n BulkParticipantMigrationResult as BulkParticipantMigrationResultOriginal,\n BulkActionType as BulkActionTypeOriginal,\n BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal,\n DeleteAllParticipantsMigrationRequest as DeleteAllParticipantsMigrationRequestOriginal,\n DeleteAllParticipantsMigrationResponse as DeleteAllParticipantsMigrationResponseOriginal,\n ReindexParticipantsSearchRequest as ReindexParticipantsSearchRequestOriginal,\n ReindexParticipantsSearchResponse as ReindexParticipantsSearchResponseOriginal,\n SynchronizeTimeCapsuleTasksRequest as SynchronizeTimeCapsuleTasksRequestOriginal,\n SynchronizeTimeCapsuleTasksResponse as SynchronizeTimeCapsuleTasksResponseOriginal,\n BulkCreateParticipantsForAllMembersRequest as BulkCreateParticipantsForAllMembersRequestOriginal,\n BulkCreateParticipantsForAllMembersResponse as BulkCreateParticipantsForAllMembersResponseOriginal,\n DeleteParticipantRequest as DeleteParticipantRequestOriginal,\n DeleteParticipantResponse as DeleteParticipantResponseOriginal,\n IssueCertificateRequest as IssueCertificateRequestOriginal,\n IssueCertificateResponse as IssueCertificateResponseOriginal,\n GetCompletionStatsRequest as GetCompletionStatsRequestOriginal,\n GetCompletionStatsResponse as GetCompletionStatsResponseOriginal,\n GetPremiumStatsRequest as GetPremiumStatsRequestOriginal,\n GetPremiumStatsResponse as GetPremiumStatsResponseOriginal,\n GetParticipationStatsRequest as GetParticipationStatsRequestOriginal,\n GetParticipationStatsResponse as GetParticipationStatsResponseOriginal,\n ProgramParticipationStats as ProgramParticipationStatsOriginal,\n GetParticipantRequest as GetParticipantRequestOriginal,\n GetParticipantResponse as GetParticipantResponseOriginal,\n QueryParticipantsRequest as QueryParticipantsRequestOriginal,\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 QueryParticipantsResponse as QueryParticipantsResponseOriginal,\n PagingMetadataV2 as PagingMetadataV2Original,\n Cursors as CursorsOriginal,\n GetAccessStatusRequest as GetAccessStatusRequestOriginal,\n GetAccessStatusResponse as GetAccessStatusResponseOriginal,\n BulkUpdateParticipantTagsRequest as BulkUpdateParticipantTagsRequestOriginal,\n BulkUpdateParticipantTagsResponse as BulkUpdateParticipantTagsResponseOriginal,\n BulkUpdateParticipantTagsResult as BulkUpdateParticipantTagsResultOriginal,\n BulkUpdateParticipantTagsByFilterRequest as BulkUpdateParticipantTagsByFilterRequestOriginal,\n BulkUpdateParticipantTagsByFilterResponse as BulkUpdateParticipantTagsByFilterResponseOriginal,\n SearchParticipantsRequest as SearchParticipantsRequestOriginal,\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 SearchParticipantsResponse as SearchParticipantsResponseOriginal,\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 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 MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n ExportParticipantsStatsRequest as ExportParticipantsStatsRequestOriginal,\n ExportParticipantsStatsResponse as ExportParticipantsStatsResponseOriginal,\n CreateParticipantApplicationErrors as CreateParticipantApplicationErrorsOriginal,\n BulkCreateParticipantsApplicationErrors as BulkCreateParticipantsApplicationErrorsOriginal,\n IssueCertificateApplicationErrors as IssueCertificateApplicationErrorsOriginal,\n BulkUpdateParticipantTagsApplicationErrors as BulkUpdateParticipantTagsApplicationErrorsOriginal,\n BulkUpdateParticipantTagsByFilterApplicationErrors as BulkUpdateParticipantTagsByFilterApplicationErrorsOriginal,\n} from './online-programs-participants-v3-participant-participants.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,mEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,cAAc;AAAA,MACZ;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,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,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QAC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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;AAEO,SAASC,sBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiD;AAAA,IACnD;AAAA,EACF;AAEF,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;AAEO,SAASC,2BAOd;AACA,QAAM,UAAU,EAAE,WAAW,aAAa;AAE1C,QAAM,oBACiD;AAAA,IACnD;AAAA,EACF;AAEF,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,EAAE,WAAW,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","PricingType","EnrollmentStatus","ProgressStatus","RequestedFields","BulkActionType","SortOrder","SortType","SortDirection","MissingValues","ScalarType","NestedAggregationType","Interval","AggregationType","Mode","WebhookIdentityType","createParticipant","updateParticipant","bulkCreateParticipants","bulkCreateParticipantsForAllMembers","deleteParticipant","issueCertificate","getPremiumStats","getParticipationStats","getParticipant","queryParticipants","getAccessStatus","bulkUpdateParticipantTags","bulkUpdateParticipantTagsByFilter","searchParticipants","exportParticipantsStats"]}
1
+ {"version":3,"sources":["../../src/online-programs-participants-v3-participant-participants.http.ts","../../src/online-programs-participants-v3-participant-participants.types.ts","../../src/online-programs-participants-v3-participant-participants.meta.ts"],"sourcesContent":["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 resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/participants-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/online-programs/v3/participants',\n destPath: '/v3/participants',\n },\n {\n srcPath: '/online-programs/v3/bulk/participants',\n destPath: '/v3/bulk/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/participants',\n destPath: '/v3/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/bulk/participants',\n destPath: '/v3/bulk/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/stats/premium',\n destPath: '/v3/stats/premium',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/participants-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/participants-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/participants-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/online-programs/v3/participants',\n destPath: '/v3/participants',\n },\n {\n srcPath: '/online-programs/v3/bulk/participants',\n destPath: '/v3/bulk/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/participants',\n destPath: '/v3/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/bulk/participants',\n destPath: '/v3/bulk/participants',\n },\n {\n srcPath: '/online-programs/participants/v3/stats/premium',\n destPath: '/v3/stats/premium',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/participants-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_online-programs_participants';\n\n/**\n * Creates a participant.\n *\n * Returns an error if the member is already a participant in the specified program.\n * Use UpdateParticipant to modify existing participants.\n */\nexport function createParticipant(payload: object): RequestOptionsFactory<any> {\n function __createParticipant({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.CreateParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createParticipant;\n}\n\n/**\n * Updates a participant's enrollment status or enrollment pricing details.\n *\n * Use this method to suspend or resume a participant by setting `enrollment_status` to\n * `SUSPENDED` or `JOINED`. To remove a participant, use `DeleteParticipant`.\n * Progress status is calculated from the participant's resolved steps and can't be updated.\n */\nexport function updateParticipant(payload: object): RequestOptionsFactory<any> {\n function __updateParticipant({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.UpdateParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participant.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: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateParticipant;\n}\n\n/**\n * Creates participants in bulk.\n *\n * All participants in a single bulk create request must belong to the same program.\n * Returns an error if the member is already a participant in the specified program.\n *\n * When `pricing_type` is `SINGLE_PAYMENT`, provide `single_payment_details`.\n * When `pricing_type` is `PAID_PLAN`, provide `paid_plan_details`.\n * When `pricing_type` is `FREE_COUPON`, provide `free_coupon_details`.\n * Other pricing types (`FREE`, `ADDED_MANUALLY`) do not require details.\n */\nexport function bulkCreateParticipants(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateParticipants({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'participants.createdDate' },\n { path: 'participants.updatedDate' },\n { path: 'participants.lastActivityDate' },\n { path: 'participants.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participants.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipants',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/create',\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.lastActivityDate' },\n { path: 'results.item.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateParticipants;\n}\n\n/**\n * Creates participants in bulk for all site members in a program, with an optional exclusion filter.\n *\n * Participants are created in the `JOINED` state with the join path set to `ADDED`.\n * Members who are already participants in the program will be skipped.\n * Only members who are not yet participants will be added.\n */\nexport function bulkCreateParticipantsForAllMembers(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateParticipantsForAllMembers({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipantsForAllMembers',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/create-for-all-members',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkCreateParticipantsForAllMembers;\n}\n\n/**\n * Removes a participant from the program.\n *\n * The member will lose access to program content but will remain in any associated social groups.\n */\nexport function deleteParticipant(payload: object): RequestOptionsFactory<any> {\n function __deleteParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.DeleteParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteParticipant;\n}\n\n/**\n * Manually issues a certificate to an active or finished participant.\n *\n * A finished participant has completed or failed the program, or was automatically removed.\n * The program must have a connected certificate reward. When authenticated as a site member,\n * the participant must have completed the program.\n */\nexport function issueCertificate(payload: object): RequestOptionsFactory<any> {\n function __issueCertificate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.IssueCertificate',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}/issue-certificate',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __issueCertificate;\n}\n\n/**\n * Retrieves a download URL for the participant's latest issued certificate.\n *\n * The URL is returned only after the certificate document finishes rendering.\n */\nexport function getCertificateDownloadUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __getCertificateDownloadUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetCertificateDownloadUrl',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}/certificate-download-url',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'expirationDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCertificateDownloadUrl;\n}\n\n/** Retrieves premium plan statistics for the site. */\nexport function getPremiumStats(payload: object): RequestOptionsFactory<any> {\n function __getPremiumStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetPremiumStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/stats/premium',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getPremiumStats;\n}\n\n/**\n * Retrieves site-wide participant statistics for the requested programs.\n *\n * The statistics aren't limited to the caller's own participation records.\n */\nexport function getParticipationStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __getParticipationStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetParticipationStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/stats',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __getParticipationStats;\n}\n\n/** Returns a participant by ID. */\nexport function getParticipant(payload: object): RequestOptionsFactory<any> {\n function __getParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}',\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: 'participant.createdDate' },\n { path: 'participant.updatedDate' },\n { path: 'participant.lastActivityDate' },\n { path: 'participant.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getParticipant;\n}\n\n/** Queries existing participants. */\nexport function queryParticipants(payload: object): RequestOptionsFactory<any> {\n function __queryParticipants({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/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: 'participants.createdDate' },\n { path: 'participants.updatedDate' },\n { path: 'participants.lastActivityDate' },\n { path: 'participants.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'participants.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryParticipants;\n}\n\n/**\n * Retrieves the access status for the current site, indicating whether participants can access\n * online programs or if access is blocked due to plan limitations or other restrictions.\n */\nexport function getAccessStatus(payload: object): RequestOptionsFactory<any> {\n function __getAccessStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetAccessStatus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/access',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getAccessStatus;\n}\n\n/**\n * Updates tags for multiple Participants by IDs.\n *\n * Allows assigning and/or unassigning tags in a single operation.\n * At least one of assign_tags or unassign_tags must be provided.\n */\nexport function bulkUpdateParticipantTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateParticipantTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/update-tags',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateParticipantTags;\n}\n\n/**\n * Updates tags for Participants matching a filter.\n *\n * Allows assigning and/or unassigning tags for all Participants matching the filter.\n * Returns a job ID for tracking the async operation.\n */\nexport function bulkUpdateParticipantTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateParticipantTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/update-tags-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateParticipantTagsByFilter;\n}\n\n/**\n * Retrieves a list of participants matching the search criteria.\n *\n * Results and aggregations include only the participant records that the caller is authorized to access.\n */\nexport function searchParticipants(\n payload: object\n): RequestOptionsFactory<any> {\n function __searchParticipants({ 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.participants.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.SearchParticipants',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/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: 'participants.createdDate' },\n { path: 'participants.updatedDate' },\n { path: 'participants.lastActivityDate' },\n { path: 'participants.certificateInfo.issueDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'participants.progress.completionPercentage' },\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 __searchParticipants;\n}\n\n/**\n * Exports participant data and step completion statistics for a program as a CSV file.\n * The export includes participant details, progress, status, and completion dates for each step.\n *\n * This method initiates an asynchronous export. Subscribe to the `ParticipantExportsFinished`\n * event to receive the download URL when the export completes.\n */\nexport function exportParticipantsStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __exportParticipantsStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.participants.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantExportsService.ExportParticipantsStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl({\n protoPath: '/v3/participants/export/{programId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __exportParticipantsStats;\n}\n","/**\n * Participant entity represents a site member who takes part in a specific Online Program.\n * Participants have access to the program's content and progress through the program by completing its steps.\n * A participant can join through a join application flow or be manually added by the program owner.\n * A participant's status depends on their progress and the program's settings (e.g., start and end dates). Participation may also be temporarily suspended.\n */\nexport interface Participant {\n /**\n * Participant ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Participant revision (for optimistic concurrency control).\n * @readonly\n */\n revision?: string | null;\n /**\n * Participant creation date.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date the participant was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Member ID of the participant on the site.\n * @format GUID\n * @readonly\n */\n memberId?: string;\n /**\n * ID of the program the participant is enrolled in.\n * @format GUID\n * @readonly\n */\n programId?: string;\n /**\n * Program completion progress. This field is conditional and must be explicitly requested via `fields` parameter.\n * @readonly\n */\n progress?: Progress;\n /**\n * Certificate info for participant\n * @readonly\n */\n certificateInfo?: CertificateInfo;\n /**\n * Site member info snapshot for the participant\n * @readonly\n */\n member?: Member;\n /**\n * Last activity date of the participant in the program (can either be status change or step resolution).\n * @readonly\n */\n lastActivityDate?: Date | null;\n /**\n * Participant's enrollment status in the program.\n * @readonly\n */\n enrollmentStatus?: EnrollmentStatusWithLiterals;\n /**\n * Participant's progress status in the program.\n * @readonly\n */\n progressStatus?: ProgressStatusWithLiterals;\n /** Additional information about the participant's enrollment and completion timeframe in the program. */\n enrollmentInfo?: EnrollmentInfo;\n /** Extended fields for participant (can be used for storing custom data). */\n extendedFields?: ExtendedFields;\n /** Tags for categorizing and organizing participants. */\n tags?: Tags;\n}\n\nexport enum PricingType {\n /** Member joined a program that is configured as free to join, with no payment required. */\n FREE = 'FREE',\n /** Member was added to the program by site owner. */\n ADDED_MANUALLY = 'ADDED_MANUALLY',\n /** Member paid once to join the program. */\n SINGLE_PAYMENT = 'SINGLE_PAYMENT',\n /** Member joined using a Pricing Plan. */\n PAID_PLAN = 'PAID_PLAN',\n /** Member joined a paid program using a coupon that provided 100% discount. */\n FREE_COUPON = 'FREE_COUPON',\n}\n\n/** @enumType */\nexport type PricingTypeWithLiterals =\n | PricingType\n | 'FREE'\n | 'ADDED_MANUALLY'\n | 'SINGLE_PAYMENT'\n | 'PAID_PLAN'\n | 'FREE_COUPON';\n\nexport interface SinglePaymentDetails {\n /**\n * ID of the cashier order which was used to pay for joining the program.\n * @format GUID\n * @immutable\n */\n paymentOrderId?: string;\n /**\n * ID of the offline transaction if the participant used an offline payment method (e.g., cash, check). Null if online payment was used.\n * @format GUID\n * @immutable\n */\n offlineTransactionId?: string | null;\n}\n\nexport interface PaidPlanDetails {\n /**\n * ID of the Paid Plan for which member has paid to join the program.\n * @format GUID\n * @immutable\n */\n paidPlanId?: string;\n}\n\nexport interface FreeCouponDetails {\n /**\n * ID of the coupon which was applied and gave 100% discount to join the program for free.\n * @format GUID\n * @immutable\n */\n freeCouponId?: string;\n}\n\nexport interface Progress {\n /** Number of program steps completed by member. */\n totalStepsCompleted?: number;\n /** Total number of program steps available to resolve. */\n totalStepsAvailable?: number;\n /**\n * Participant's completion percentage. For completed participants, this is 100.0. Otherwise, it is calculated as\n * (total_steps_completed / total_steps_available) * 100, capped at 100, and rounded to 1 decimal place.\n * @max 100\n */\n completionPercentage?: number;\n}\n\nexport interface CertificateInfo {\n /**\n * Date when the certificate was issued (UTC).\n * @readonly\n */\n issueDate?: Date | null;\n}\n\nexport interface Member {\n /**\n * First name of the site member. Null if the member has not provided this information in their profile.\n * @readonly\n * @maxLength 1000\n */\n firstName?: string | null;\n /**\n * Last name of the site member. Null if the member has not provided this information in their profile.\n * @readonly\n * @maxLength 1000\n */\n lastName?: string | null;\n /**\n * Email of the site member. Null if the member has not provided this information in their profile.\n * @readonly\n * @format EMAIL\n */\n email?: string | null;\n /**\n * Contact ID for accessing additional member information via the Contacts API. Use this to retrieve extended contact details like phone numbers, addresses, and custom fields. Null if the member has not provided this information in their profile.\n * @format GUID\n * @readonly\n */\n contactId?: string | null;\n /**\n * Member nickname. Null if the member has not provided this information in their profile.\n * @readonly\n * @maxLength 1000\n */\n nickname?: string | null;\n /**\n * Profile image URL of the site member.\n * @readonly\n * @format WEB_URL\n */\n profileImageUrl?: string | null;\n}\n\nexport enum EnrollmentStatus {\n /** Participant is actively enrolled in the program. */\n JOINED = 'JOINED',\n /** Enrollment temporarily suspended due to payment issues. */\n SUSPENDED = 'SUSPENDED',\n /** Automatically removed via a Wix Automations workflow. */\n AUTO_REMOVED = 'AUTO_REMOVED',\n /** Removed from the program by the site owner. */\n REMOVED = 'REMOVED',\n /** Participant voluntarily left the program. */\n LEFT = 'LEFT',\n}\n\n/** @enumType */\nexport type EnrollmentStatusWithLiterals =\n | EnrollmentStatus\n | 'JOINED'\n | 'SUSPENDED'\n | 'AUTO_REMOVED'\n | 'REMOVED'\n | 'LEFT';\n\nexport enum ProgressStatus {\n /** Enrolled but no steps completed yet. */\n NOT_STARTED = 'NOT_STARTED',\n /** At least one step completed but program not yet finished. */\n IN_PROGRESS = 'IN_PROGRESS',\n /** Participant successfully completed the program. */\n COMPLETED = 'COMPLETED',\n /** Participant failed to complete the program within the deadline. */\n FAILED = 'FAILED',\n /** Progress tracking is not applicable — participant left, was removed, or was auto-removed. */\n NOT_APPLICABLE = 'NOT_APPLICABLE',\n}\n\n/** @enumType */\nexport type ProgressStatusWithLiterals =\n | ProgressStatus\n | 'NOT_STARTED'\n | 'IN_PROGRESS'\n | 'COMPLETED'\n | 'FAILED'\n | 'NOT_APPLICABLE';\n\nexport interface EnrollmentInfo extends EnrollmentInfoPricingTypeDetailsOneOf {\n /** Details about a Single Payment enrollment. */\n singlePaymentDetails?: SinglePaymentDetails;\n /** Details about a Paid Plan enrollment. */\n paidPlanDetails?: PaidPlanDetails;\n /** Details about a Free Coupon enrollment. */\n freeCouponDetails?: FreeCouponDetails;\n /**\n * Time zone of the site when the participant was enrolled in the program, in IANA timezone format (e.g., \"America/New_York\").\n * @maxLength 50\n * @readonly\n */\n timeZone?: string;\n /**\n * Date when the participant starts the program. Equals the participant's `created_date` if the program has no configured start date; otherwise, equals the program's start date if the participant enrolled before it began.\n * @format LOCAL_DATE\n * @readonly\n */\n startDate?: string;\n /** Pricing type used for the participant's enrollment in the program. */\n pricingType?: PricingTypeWithLiterals;\n /**\n * Date by which the participant must complete the program. Null if the program has no deadline. Set if the program has a fixed end date or a duration-based deadline calculated from the participant's start date.\n * @format LOCAL_DATE\n * @readonly\n */\n deadline?: string | null;\n}\n\n/** @oneof */\nexport interface EnrollmentInfoPricingTypeDetailsOneOf {\n /** Details about a Single Payment enrollment. */\n singlePaymentDetails?: SinglePaymentDetails;\n /** Details about a Paid Plan enrollment. */\n paidPlanDetails?: PaidPlanDetails;\n /** Details about a Free Coupon enrollment. */\n freeCouponDetails?: FreeCouponDetails;\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/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * option (.wix.api.decomposite_of) = \"wix.commons.v2.tags.Foo\";\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * public_tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that require an additional permission in order to access them, typically restricted from site members and visitors. */\n privateTags?: TagList;\n /** Tags that are exposed to anyone with access to the entity, including site members and visitors. */\n publicTags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs.\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: 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\n/**\n * Domain event emitted when a participant's tags are modified.\n * Pre-publication rename from TagsModified; no consumers of the legacy FQN are known.\n */\nexport interface ParticipantTagsModified {\n /** The Participant with updated tags */\n participant?: Participant;\n /** Tags that were assigned */\n assignedTags?: Tags;\n /** Tags that were unassigned */\n unassignedTags?: Tags;\n}\n\n/** Domain event emitted when a participant completes a program. */\nexport interface ParticipantCompletedProgram {\n /**\n * ID of the participant who completed the program.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program which was completed.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant who completed the program.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant after completing the program. */\n participant?: Participant;\n}\n\n/** Domain event emitted when a participant misses a program deadline. */\nexport interface ParticipantMissedProgramDeadline {\n /**\n * ID of the participant who missed the deadline.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program for which the deadline was missed.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant who missed the deadline.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant after missing the deadline. */\n participant?: Participant;\n}\n\n/** Domain event emitted when a participant's program duration ends. */\nexport interface ParticipantProgramDurationEnded {\n /**\n * ID of the participant whose program duration ended.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program whose duration ended for the participant.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant whose program duration ended.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant when the program duration ended. */\n participant?: Participant;\n}\n\n/** Domain event emitted when a participant is removed from a program by an administrator. */\nexport interface ParticipantRemoved {\n /**\n * ID of the participant who was removed.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program from which the participant was removed.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant who was removed.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant after being removed from the program. */\n participant?: Participant;\n}\n\n/** Domain event emitted when a participant voluntarily leaves a program. */\nexport interface ParticipantLeft {\n /**\n * ID of the participant who left the program.\n * @format GUID\n */\n participantId?: string;\n /**\n * ID of the program the participant left.\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of the participant who left.\n * @format GUID\n */\n memberId?: string;\n /** Snapshot of the participant after leaving the program. */\n participant?: Participant;\n}\n\nexport interface CreateParticipantRequest {\n /** Participant to create */\n participant: Participant;\n /**\n * Array of conditional fields to include in the response.\n * Use `RequestedFields.PROGRESS` to include the progress field, which requires calculating completion statistics across all program steps. Only request this field when you need current progress data, as it impacts performance.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Enum for specifying which conditional fields to include in responses.\n * Use these values in the `fields` parameter to request expensive or conditional fields.\n */\nexport enum RequestedFields {\n /** Request the progress field to be calculated and included in the response. */\n PROGRESS = 'PROGRESS',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals = RequestedFields | 'PROGRESS';\n\nexport interface CreateParticipantResponse {\n /** Created participant */\n participant?: Participant;\n}\n\nexport interface UpdateParticipantRequest {\n /** Participant to update. Must include the participant ID. */\n participant: Participant;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n /**\n * Optional explicit field mask. If omitted, the API infers it from writable fields in `participant`.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdateParticipantResponse {\n /** Updated participant */\n participant?: Participant;\n}\n\nexport interface BulkCreateParticipantsRequest {\n /**\n * List of participants to create.\n * @minSize 1\n * @maxSize 100\n */\n participants: Participant[];\n /** Whether to return entities in response or not. */\n returnEntity?: boolean;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface BulkCreateParticipantsResponse {\n /**\n * Results of the bulk create operation.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkParticipantResult[];\n /** Metadata about the bulk action. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkParticipantResult {\n /** Metadata for the item. */\n itemMetadata?: ItemMetadata;\n /** The participant entity. Empty if `return_entity` is `false`. */\n item?: Participant;\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 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 BulkUpsertParticipantsMigrationRequest {\n /**\n * List of participants to create or update.\n * @minSize 1\n * @maxSize 100\n */\n participants?: ParticipantMigration[];\n}\n\nexport interface ParticipantMigration {\n /** Participant to create or update. */\n participant?: Participant;\n /**\n * Resolved step IDs to restore on participant.\n * @maxSize 5000\n * @format GUID\n */\n resolvedStepIds?: string[];\n}\n\nexport interface BulkUpsertParticipantsMigrationResponse {\n /**\n * Results of the bulk migration operation.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkParticipantMigrationResult[];\n /** Metadata about the bulk action. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkParticipantMigrationResult {\n /** Metadata for the item. */\n itemMetadata?: ItemMetadata;\n /** Action type of bulk action (INSERT OR UPDATE) for that endpoint. */\n action?: BulkActionTypeWithLiterals;\n}\n\nexport enum BulkActionType {\n /** default action type, should never be used */\n UNKNOWN_ACTION_TYPE = 'UNKNOWN_ACTION_TYPE',\n /** Action type for inserting new items. */\n INSERT = 'INSERT',\n /** Action type for updating existing items. */\n UPDATE = 'UPDATE',\n}\n\n/** @enumType */\nexport type BulkActionTypeWithLiterals =\n | BulkActionType\n | 'UNKNOWN_ACTION_TYPE'\n | 'INSERT'\n | 'UPDATE';\n\nexport interface DeleteAllParticipantsMigrationRequest {}\n\nexport interface DeleteAllParticipantsMigrationResponse {}\n\nexport interface ReindexParticipantsSearchRequest {\n /**\n * @minSize 1\n * @maxSize 1000\n * @format GUID\n */\n participantIds?: string[];\n}\n\nexport interface ReindexParticipantsSearchResponse {}\n\nexport interface SynchronizeTimeCapsuleTasksRequest {\n /**\n * Metasite whose participant finish tasks should be synchronized.\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface SynchronizeTimeCapsuleTasksResponse {\n /**\n * ID of the asynchronous job that will process the request. Pass this ID to Get Async Job to track the operation status.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface BulkCreateParticipantsForAllMembersRequest {\n /**\n * ID of the program for which to create participants for all site members in bulk.\n * @format GUID\n */\n programId: string;\n /**\n * Site member IDs to exclude from bulk participant creation. Maximum 100 member IDs can be excluded.\n * @format GUID\n * @maxSize 100\n */\n excludeMemberIds?: string[];\n}\n\nexport interface BulkCreateParticipantsForAllMembersResponse {\n /**\n * ID of the asynchronous job that will process the request. Pass this ID to Get Async Job to track the operation status.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface DeleteParticipantRequest {\n /**\n * ID of the participant to delete.\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface DeleteParticipantResponse {}\n\nexport interface IssueCertificateRequest {\n /**\n * ID of the participant to issue the certificate to.\n * @format GUID\n */\n participantId: string;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface IssueCertificateResponse {\n /** Updated participant */\n participant?: Participant;\n}\n\nexport interface GetCertificateDownloadUrlRequest {\n /**\n * ID of the participant whose certificate download URL to retrieve.\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface GetCertificateDownloadUrlResponse {\n /**\n * URL for downloading the participant's certificate.\n * @format WEB_URL\n */\n downloadUrl?: string;\n /** Time when the download URL token expires. The underlying certificate document may expire earlier. */\n expirationDate?: Date | null;\n}\n\nexport interface GetCompletionStatsRequest {\n /**\n * ID of the program to retrieve completion statistics for.\n * @format GUID\n */\n programId?: string;\n}\n\nexport interface GetCompletionStatsResponse {\n /** Number of participants that completed the program */\n completedParticipantsCount?: number;\n /** Percentage of participants that completed the program */\n completionRate?: number;\n}\n\nexport interface GetPremiumStatsRequest {}\n\nexport interface GetPremiumStatsResponse {\n /** True if site has Online Programs premium feature */\n premiumEnabled?: boolean;\n /** Count of active participants on the site */\n activeParticipantsCount?: number;\n /** Limit of active participants on a site without premium */\n activeParticipantsLimit?: number;\n}\n\nexport interface GetParticipationStatsRequest {\n /**\n * IDs of the programs to retrieve participant statistics for.\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n programIds: string[];\n}\n\nexport interface GetParticipationStatsResponse {\n /**\n * Participant statistics for each distinct requested program ID.\n * @maxSize 100\n */\n participationStats?: ProgramParticipationStats[];\n}\n\nexport interface ProgramParticipationStats {\n /**\n * Program ID.\n * @format GUID\n */\n programId?: string;\n /** Number of participants with a joined or suspended enrollment, including participants who completed or failed the program. */\n participantsCount?: number;\n /** Number of participants automatically removed when the program duration ended. */\n autoRemovedCount?: number;\n}\n\nexport interface GetParticipantRequest {\n /**\n * ID of the participant to fetch.\n * @format GUID\n */\n participantId: string;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface GetParticipantResponse {\n /** The retrieved participant. */\n participant?: Participant;\n}\n\nexport interface QueryParticipantsRequest {\n /** Platformized query */\n query?: QueryV2;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset 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 [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\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 offset 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\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 /** Number of items to skip in the current sort order. */\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 QueryParticipantsResponse {\n /** List of participants matching the query. */\n participants?: Participant[];\n /** Paging metadata. */\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 GetAccessStatusRequest {}\n\nexport interface GetAccessStatusResponse {\n /** True if participants cannot access online programs due to some limitations */\n accessBlocked?: boolean;\n}\n\nexport interface BulkUpdateParticipantTagsRequest {\n /**\n * Participant IDs to update tags for (1-100 items)\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n participantIds: string[];\n /** Tags to assign to the Participants */\n assignTags?: Tags;\n /** Tags to unassign from the Participants */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateParticipantTagsResponse {\n /**\n * Results for each Participant\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateParticipantTagsResult[];\n /** Metadata about the bulk operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateParticipantTagsResult {\n /** Metadata for this specific item */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateParticipantTagsByFilterRequest {\n /** WQL filter to select Participants */\n filter: Record<string, any> | null;\n /** Tags to assign to matching Participants */\n assignTags?: Tags;\n /** Tags to unassign from matching Participants */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateParticipantTagsByFilterResponse {\n /**\n * Job ID for tracking the async operation. Pass this ID to Get Async Job to track the operation status.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface SearchParticipantsRequest {\n /** Query to search participants. */\n search?: CursorSearch;\n /**\n * Array of conditional fields to include in the response.\n * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CursorSearch extends CursorSearchPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * List of sort objects.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n * @maxSize 10\n */\n sort?: Sorting[];\n /**\n * Logical groupings of data into facets, with summaries for each facet. For example, use aggregations to allow site visitors to narrow down their search results by selecting specific categories.\n * @maxSize 10\n */\n aggregations?: Aggregation[];\n /** Free text to match in searchable fields. */\n search?: SearchDetails;\n /**\n * Time zone to adjust date-time-based filters and aggregations, in ISO 8601 (including offsets) or IANA time zone database (including time zone IDs) format.\n * Applies to all relevant filters and aggregations, unless overridden by providing 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/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Aggregation extends AggregationKindOneOf {\n /** A value aggregation calculates metrics such as count for specific fields within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of products for each price listed in the store. */\n value?: ValueAggregation;\n /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. */\n range?: RangeAggregation;\n /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n scalar?: ScalarAggregation;\n /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.) For example, use a date histogram to find how many reservations have been made at a restaurant each week. */\n dateHistogram?: DateHistogramAggregation;\n /** A nested aggregation is applied within the results of another aggregation. Rather than aggregating directly on the primary dataset, first group data using one aggregation and then apply another aggregation within each group. It allows for more complex analyses where you can summarize data at different levels of detail or hierarchy. For example, to get the number of products that are in stock and out of stock for each price listed, first perform a value aggregation on `discountedPriceNumeric`, and a second value aggregation on `inStock`. */\n nested?: NestedAggregation;\n /**\n * Aggregation name, returned in `aggregations.results.name`.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation to perform. Must align with the corresponding aggregation field. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\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 /** A value aggregation calculates metrics such as count for specific fields within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of products for each price listed in the store. */\n value?: ValueAggregation;\n /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. */\n range?: RangeAggregation;\n /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n scalar?: ScalarAggregation;\n /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.) For example, use a date histogram to find how many reservations have been made at a restaurant each week. */\n dateHistogram?: DateHistogramAggregation;\n /** A nested aggregation is applied within the results of another aggregation. Rather than aggregating directly on the primary dataset, first group data using one aggregation and then apply another aggregation within each group. It allows for more complex analyses where you can summarize data at different levels of detail or hierarchy. For example, to get the number of products that are in stock and out of stock for each price listed, first perform a value aggregation on `discountedPriceNumeric`, and a second value aggregation on `inStock`. */\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 /** Number of matches in the results. */\n COUNT = 'COUNT',\n /** Alphabetically by the field value. */\n VALUE = 'VALUE',\n}\n\n/** @enumType */\nexport type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';\n\nexport enum SortDirection {\n /** Descending order. */\n DESC = 'DESC',\n /** 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 a custom name for the bucket containing the missing values. Defaults are `\"N/A\"` for strings, `0` for integers, and `false` for booleans.\n * @maxLength 20\n */\n addToBucket?: string;\n}\n\nexport enum ScalarType {\n /** Total number 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 in results. */\n includeOptions?: IncludeMissingValuesOptions;\n /** Sort type. */\n sortType?: SortTypeWithLiterals;\n /** Sort direction. */\n sortDirection?: SortDirectionWithLiterals;\n /**\n * Number of aggregation results to return.\n * Min: `1`\n * Max: `250`\n * Default: `10`\n */\n limit?: number | null;\n /**\n * Whether to include or exclude missing values in the aggregation results.\n * Default: `EXCLUDE`.\n */\n missingValues?: MissingValuesWithLiterals;\n}\n\n/** @oneof */\nexport interface ValueAggregationOptionsOneOf {\n /** Options for including missing values in results. */\n includeOptions?: IncludeMissingValuesOptions;\n}\n\nexport enum NestedAggregationType {\n /** Calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. */\n VALUE = 'VALUE',\n /** Calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. */\n RANGE = 'RANGE',\n /** Calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n SCALAR = 'SCALAR',\n /** Calculates the count of time values from the specified field in the dataset that fall within each time interval you define (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. During aggregation each entity is 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 /** Operator type 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 YEAR = 'YEAR',\n MONTH = 'MONTH',\n WEEK = 'WEEK',\n DAY = 'DAY',\n HOUR = 'HOUR',\n MINUTE = 'MINUTE',\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 /** A value aggregation calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of orders for each order status. */\n value?: ValueAggregation;\n /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n range?: RangeAggregation;\n /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n scalar?: ScalarAggregation;\n /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). For example, use a date histogram to determine how many reservations have been made at a restaurant each week. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n dateHistogram?: DateHistogramAggregation;\n /**\n * Unique, caller-defined aggregation name, returned in `aggregations.results`.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation to perform. The matching aggregation field must be passed. */\n type?: NestedAggregationTypeWithLiterals;\n /**\n * Field to aggregate by. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationItemKindOneOf {\n /** A value aggregation calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of orders for each order status. */\n value?: ValueAggregation;\n /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n range?: RangeAggregation;\n /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n scalar?: ScalarAggregation;\n /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). For example, use a date histogram to determine how many reservations have been made at a restaurant each week. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n dateHistogram?: DateHistogramAggregation;\n}\n\nexport enum AggregationType {\n /** Calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. */\n VALUE = 'VALUE',\n /** Calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. */\n RANGE = 'RANGE',\n /** Calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n SCALAR = 'SCALAR',\n /** Calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n /** Flattened list of aggregations, where each 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 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 * Unique, caller-defined aggregation name, returned in `aggregations.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 /** Search mode. Defines the search logic for combining multiple terms in the `expression`. */\n mode?: ModeWithLiterals;\n /**\n * Search term or expression.\n * @maxLength 100\n */\n expression?: string | null;\n /**\n * Fields to search in. If the array is empty, all searchable fields are searched. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\n * @maxLength 200\n * @maxSize 20\n */\n fields?: string[];\n /** Whether to enable the search function to use an algorithm to automatically find results that are close to the search expression, such as typos and declensions. */\n fuzzy?: boolean;\n}\n\nexport enum Mode {\n /** At least one 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 SearchParticipantsResponse {\n /** Participants matching the search criteria. */\n participants?: Participant[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n /** Aggregation data in case aggregations were requested. */\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 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 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\nexport interface ExportParticipantsStatsRequest {\n /**\n * program id to export data from\n * @format GUID\n */\n programId: string;\n}\n\nexport interface ExportParticipantsStatsResponse {}\n\n/** @docsIgnore */\nexport type CreateParticipantApplicationErrors =\n | {\n code?: 'PREMIUM_PLAN_REQUIRED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PARTICIPANTS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type BulkCreateParticipantsApplicationErrors =\n | {\n code?: 'MULTIPLE_PROGRAM_IDS_IN_BULK_CREATE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PREMIUM_PLAN_REQUIRED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PARTICIPANTS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type IssueCertificateApplicationErrors =\n | {\n code?: 'PARTICIPANT_NOT_ACTIVE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'NO_CERTIFICATE_REWARD';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PARTICIPANT_NOT_COMPLETED_PROGRAM';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type GetCertificateDownloadUrlApplicationErrors =\n | {\n code?: 'CERTIFICATE_NOT_ISSUED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CERTIFICATE_DOCUMENT_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CERTIFICATE_NOT_READY';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CERTIFICATE_RENDER_FAILED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CERTIFICATE_EXPIRED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type BulkUpdateParticipantTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateParticipantTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixOnlineProgramsParticipantsV3Participant from './online-programs-participants-v3-participant-participants.http.js';\nimport * as ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes from './online-programs-participants-v3-participant-participants.types.js';\nimport * as ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes from './online-programs-participants-v3-participant-participants.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 createParticipant(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.CreateParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.CreateParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.CreateParticipantResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.CreateParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.createParticipant(\n payload\n );\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/participants',\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 updateParticipant(): __PublicMethodMetaInfo<\n 'PATCH',\n { participantId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.UpdateParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.UpdateParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.UpdateParticipantResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.UpdateParticipantResponse\n> {\n const payload = { participant: { id: ':participantId' } } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.updateParticipant(\n payload\n );\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/participants/{participant.id}',\n pathParams: { participantId: 'participantId' },\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 bulkCreateParticipants(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkCreateParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkCreateParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkCreateParticipantsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkCreateParticipantsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.bulkCreateParticipants(\n payload\n );\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/participants/create',\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 bulkCreateParticipantsForAllMembers(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkCreateParticipantsForAllMembersRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkCreateParticipantsForAllMembersRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkCreateParticipantsForAllMembersResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkCreateParticipantsForAllMembersResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.bulkCreateParticipantsForAllMembers(\n payload\n );\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/participants/create-for-all-members',\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 deleteParticipant(): __PublicMethodMetaInfo<\n 'DELETE',\n { participantId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.DeleteParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.DeleteParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.DeleteParticipantResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.DeleteParticipantResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.deleteParticipant(\n payload\n );\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/participants/{participantId}',\n pathParams: { participantId: 'participantId' },\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 issueCertificate(): __PublicMethodMetaInfo<\n 'POST',\n { participantId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.IssueCertificateRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.IssueCertificateRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.IssueCertificateResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.IssueCertificateResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.issueCertificate(\n payload\n );\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/participants/{participantId}/issue-certificate',\n pathParams: { participantId: 'participantId' },\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 getCertificateDownloadUrl(): __PublicMethodMetaInfo<\n 'GET',\n { participantId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetCertificateDownloadUrlRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetCertificateDownloadUrlRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetCertificateDownloadUrlResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetCertificateDownloadUrlResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.getCertificateDownloadUrl(\n payload\n );\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/participants/{participantId}/certificate-download-url',\n pathParams: { participantId: 'participantId' },\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 getPremiumStats(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetPremiumStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetPremiumStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetPremiumStatsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetPremiumStatsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.getPremiumStats(\n payload\n );\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/stats/premium',\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 getParticipationStats(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetParticipationStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetParticipationStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetParticipationStatsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetParticipationStatsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.getParticipationStats(\n payload\n );\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/participants/stats',\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 getParticipant(): __PublicMethodMetaInfo<\n 'GET',\n { participantId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetParticipantRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetParticipantResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetParticipantResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.getParticipant(\n payload\n );\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/participants/{participantId}',\n pathParams: { participantId: 'participantId' },\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 queryParticipants(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.QueryParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.QueryParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.QueryParticipantsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.QueryParticipantsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.queryParticipants(\n payload\n );\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/participants/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 getAccessStatus(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetAccessStatusRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetAccessStatusRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.GetAccessStatusResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.GetAccessStatusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.getAccessStatus(\n payload\n );\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/participants/access',\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 bulkUpdateParticipantTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkUpdateParticipantTagsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkUpdateParticipantTagsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkUpdateParticipantTagsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkUpdateParticipantTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.bulkUpdateParticipantTags(\n payload\n );\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/participants/update-tags',\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 bulkUpdateParticipantTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkUpdateParticipantTagsByFilterRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkUpdateParticipantTagsByFilterRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.BulkUpdateParticipantTagsByFilterResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.BulkUpdateParticipantTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.bulkUpdateParticipantTagsByFilter(\n payload\n );\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/participants/update-tags-by-filter',\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 searchParticipants(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.SearchParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.SearchParticipantsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.SearchParticipantsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.SearchParticipantsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.searchParticipants(\n payload\n );\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/participants/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 exportParticipantsStats(): __PublicMethodMetaInfo<\n 'GET',\n { programId: string },\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.ExportParticipantsStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.ExportParticipantsStatsRequest,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantUniversalTypes.ExportParticipantsStatsResponse,\n ambassadorWixOnlineProgramsParticipantsV3ParticipantTypes.ExportParticipantsStatsResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsParticipantsV3Participant.exportParticipantsStats(\n payload\n );\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/participants/export/{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 {\n Participant as ParticipantOriginal,\n PricingType as PricingTypeOriginal,\n PricingTypeWithLiterals as PricingTypeWithLiteralsOriginal,\n SinglePaymentDetails as SinglePaymentDetailsOriginal,\n PaidPlanDetails as PaidPlanDetailsOriginal,\n FreeCouponDetails as FreeCouponDetailsOriginal,\n Progress as ProgressOriginal,\n CertificateInfo as CertificateInfoOriginal,\n Member as MemberOriginal,\n EnrollmentStatus as EnrollmentStatusOriginal,\n EnrollmentStatusWithLiterals as EnrollmentStatusWithLiteralsOriginal,\n ProgressStatus as ProgressStatusOriginal,\n ProgressStatusWithLiterals as ProgressStatusWithLiteralsOriginal,\n EnrollmentInfo as EnrollmentInfoOriginal,\n EnrollmentInfoPricingTypeDetailsOneOf as EnrollmentInfoPricingTypeDetailsOneOfOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n Tags as TagsOriginal,\n TagList as TagListOriginal,\n ReindexMessage as ReindexMessageOriginal,\n ReindexMessageActionOneOf as ReindexMessageActionOneOfOriginal,\n Upsert as UpsertOriginal,\n Delete as DeleteOriginal,\n Schema as SchemaOriginal,\n ParticipantTagsModified as ParticipantTagsModifiedOriginal,\n ParticipantCompletedProgram as ParticipantCompletedProgramOriginal,\n ParticipantMissedProgramDeadline as ParticipantMissedProgramDeadlineOriginal,\n ParticipantProgramDurationEnded as ParticipantProgramDurationEndedOriginal,\n ParticipantRemoved as ParticipantRemovedOriginal,\n ParticipantLeft as ParticipantLeftOriginal,\n CreateParticipantRequest as CreateParticipantRequestOriginal,\n RequestedFields as RequestedFieldsOriginal,\n RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n CreateParticipantResponse as CreateParticipantResponseOriginal,\n UpdateParticipantRequest as UpdateParticipantRequestOriginal,\n UpdateParticipantResponse as UpdateParticipantResponseOriginal,\n BulkCreateParticipantsRequest as BulkCreateParticipantsRequestOriginal,\n BulkCreateParticipantsResponse as BulkCreateParticipantsResponseOriginal,\n BulkParticipantResult as BulkParticipantResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpsertParticipantsMigrationRequest as BulkUpsertParticipantsMigrationRequestOriginal,\n ParticipantMigration as ParticipantMigrationOriginal,\n BulkUpsertParticipantsMigrationResponse as BulkUpsertParticipantsMigrationResponseOriginal,\n BulkParticipantMigrationResult as BulkParticipantMigrationResultOriginal,\n BulkActionType as BulkActionTypeOriginal,\n BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal,\n DeleteAllParticipantsMigrationRequest as DeleteAllParticipantsMigrationRequestOriginal,\n DeleteAllParticipantsMigrationResponse as DeleteAllParticipantsMigrationResponseOriginal,\n ReindexParticipantsSearchRequest as ReindexParticipantsSearchRequestOriginal,\n ReindexParticipantsSearchResponse as ReindexParticipantsSearchResponseOriginal,\n SynchronizeTimeCapsuleTasksRequest as SynchronizeTimeCapsuleTasksRequestOriginal,\n SynchronizeTimeCapsuleTasksResponse as SynchronizeTimeCapsuleTasksResponseOriginal,\n BulkCreateParticipantsForAllMembersRequest as BulkCreateParticipantsForAllMembersRequestOriginal,\n BulkCreateParticipantsForAllMembersResponse as BulkCreateParticipantsForAllMembersResponseOriginal,\n DeleteParticipantRequest as DeleteParticipantRequestOriginal,\n DeleteParticipantResponse as DeleteParticipantResponseOriginal,\n IssueCertificateRequest as IssueCertificateRequestOriginal,\n IssueCertificateResponse as IssueCertificateResponseOriginal,\n GetCertificateDownloadUrlRequest as GetCertificateDownloadUrlRequestOriginal,\n GetCertificateDownloadUrlResponse as GetCertificateDownloadUrlResponseOriginal,\n GetCompletionStatsRequest as GetCompletionStatsRequestOriginal,\n GetCompletionStatsResponse as GetCompletionStatsResponseOriginal,\n GetPremiumStatsRequest as GetPremiumStatsRequestOriginal,\n GetPremiumStatsResponse as GetPremiumStatsResponseOriginal,\n GetParticipationStatsRequest as GetParticipationStatsRequestOriginal,\n GetParticipationStatsResponse as GetParticipationStatsResponseOriginal,\n ProgramParticipationStats as ProgramParticipationStatsOriginal,\n GetParticipantRequest as GetParticipantRequestOriginal,\n GetParticipantResponse as GetParticipantResponseOriginal,\n QueryParticipantsRequest as QueryParticipantsRequestOriginal,\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 QueryParticipantsResponse as QueryParticipantsResponseOriginal,\n PagingMetadataV2 as PagingMetadataV2Original,\n Cursors as CursorsOriginal,\n GetAccessStatusRequest as GetAccessStatusRequestOriginal,\n GetAccessStatusResponse as GetAccessStatusResponseOriginal,\n BulkUpdateParticipantTagsRequest as BulkUpdateParticipantTagsRequestOriginal,\n BulkUpdateParticipantTagsResponse as BulkUpdateParticipantTagsResponseOriginal,\n BulkUpdateParticipantTagsResult as BulkUpdateParticipantTagsResultOriginal,\n BulkUpdateParticipantTagsByFilterRequest as BulkUpdateParticipantTagsByFilterRequestOriginal,\n BulkUpdateParticipantTagsByFilterResponse as BulkUpdateParticipantTagsByFilterResponseOriginal,\n SearchParticipantsRequest as SearchParticipantsRequestOriginal,\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 SearchParticipantsResponse as SearchParticipantsResponseOriginal,\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 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 MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n ExportParticipantsStatsRequest as ExportParticipantsStatsRequestOriginal,\n ExportParticipantsStatsResponse as ExportParticipantsStatsResponseOriginal,\n CreateParticipantApplicationErrors as CreateParticipantApplicationErrorsOriginal,\n BulkCreateParticipantsApplicationErrors as BulkCreateParticipantsApplicationErrorsOriginal,\n IssueCertificateApplicationErrors as IssueCertificateApplicationErrorsOriginal,\n GetCertificateDownloadUrlApplicationErrors as GetCertificateDownloadUrlApplicationErrorsOriginal,\n BulkUpdateParticipantTagsApplicationErrors as BulkUpdateParticipantTagsApplicationErrorsOriginal,\n BulkUpdateParticipantTagsByFilterApplicationErrors as BulkUpdateParticipantTagsByFilterApplicationErrorsOriginal,\n} from './online-programs-participants-v3-participant-participants.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,mEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QAC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,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","PricingType","EnrollmentStatus","ProgressStatus","RequestedFields","BulkActionType","SortOrder","SortType","SortDirection","MissingValues","ScalarType","NestedAggregationType","Interval","AggregationType","Mode","WebhookIdentityType","createParticipant","updateParticipant","bulkCreateParticipants","bulkCreateParticipantsForAllMembers","deleteParticipant","issueCertificate","getCertificateDownloadUrl","getPremiumStats","getParticipationStats","getParticipant","queryParticipants","getAccessStatus","bulkUpdateParticipantTags","bulkUpdateParticipantTagsByFilter","searchParticipants","exportParticipantsStats"]}