@wix/auto_sdk_online-programs_participants 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +8 -6
- package/build/cjs/index.js +10 -20
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +53 -25
- package/build/cjs/index.typings.js +10 -20
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +47 -21
- package/build/cjs/meta.js +10 -20
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +8 -6
- package/build/es/index.mjs +10 -20
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +53 -25
- package/build/es/index.typings.mjs +10 -20
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +47 -21
- package/build/es/meta.mjs +10 -20
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +8 -6
- package/build/internal/cjs/index.js +10 -20
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +53 -25
- package/build/internal/cjs/index.typings.js +10 -20
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +47 -21
- package/build/internal/cjs/meta.js +10 -20
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +8 -6
- package/build/internal/es/index.mjs +10 -20
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +53 -25
- package/build/internal/es/index.typings.mjs +10 -20
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +47 -21
- package/build/internal/es/meta.mjs +10 -20
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../meta.ts","../../src/online-programs-v3-participant-participants.http.ts","../../src/online-programs-v3-participant-participants.types.ts","../../src/online-programs-v3-participant-participants.meta.ts"],"sourcesContent":["export * from './src/online-programs-v3-participant-participants.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { 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: '/participants-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl(\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: '/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: '/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\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.certificate.issuedDate' },\n { path: 'participant.joinedInfo.joinedAt' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.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.certificate.issuedDate' },\n { path: 'participant.joinedInfo.joinedAt' },\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/** Creates participants in bulk. */\nexport function bulkCreateParticipant(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateParticipant({ 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.certificate.issuedDate' },\n { path: 'participants.joinedInfo.joinedAt' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participants.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipant',\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.certificate.issuedDate' },\n { path: 'results.item.joinedInfo.joinedAt' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateParticipant;\n}\n\n/**\n * Bulk adds all site members to program, but not more then 1000.\n * Participant will be either created in state Joined, or updated to that state\n * from pending one.\n */\nexport function bulkAddAllToProgram(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkAddAllToProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkAddAllToProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/add-all',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkAddAllToProgram;\n}\n\n/**\n * Delete participant from program. Removes participant from member\n * group. Leaves him in Social Group.\n */\nexport function deleteParticipant(payload: object): RequestOptionsFactory<any> {\n function __deleteParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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/** Issue certificate by site admin */\nexport function issueCertificate(payload: object): RequestOptionsFactory<any> {\n function __issueCertificate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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.certificate.issuedDate' },\n { path: 'participant.joinedInfo.joinedAt' },\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/** Get program's completion stats */\nexport function getCompletionStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __getCompletionStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetCompletionStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/stats/completion/{programId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'completionRate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCompletionStats;\n}\n\n/** Get premium stats */\nexport function getPremiumStats(payload: object): RequestOptionsFactory<any> {\n function __getPremiumStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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/** Returns participant. */\nexport function getParticipant(payload: object): RequestOptionsFactory<any> {\n function __getParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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.certificate.issuedDate' },\n { path: 'participant.joinedInfo.joinedAt' },\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/** Query existing participants */\nexport function queryParticipants(payload: object): RequestOptionsFactory<any> {\n function __queryParticipants({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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.certificate.issuedDate' },\n { path: 'participants.joinedInfo.joinedAt' },\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/** Get access status */\nexport function getAccessStatus(payload: object): RequestOptionsFactory<any> {\n function __getAccessStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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 * Bulk invites participants to program.\n * For each member participant in Invited state is created.\n */\nexport function bulkInviteToProgram(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkInviteToProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteToProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/invite',\n data: payload,\n host,\n }),\n data: payload,\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.certificate.issuedDate' },\n { path: 'results.item.joinedInfo.joinedAt' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkInviteToProgram;\n}\n\n/**\n * Bulk invites all participants to program, but not more then 1000.\n * For each member participant in Invited state is created.\n */\nexport function bulkInviteAllToProgram(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkInviteAllToProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteAllToProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/invite-all',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkInviteAllToProgram;\n}\n\n/**\n * Bulk adds participants to program.\n * Participant will be either created in state Joined, or updated to that state\n * from pending one.\n */\nexport function bulkAddToProgram(payload: object): RequestOptionsFactory<any> {\n function __bulkAddToProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddToProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/add',\n data: payload,\n host,\n }),\n data: payload,\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.certificate.issuedDate' },\n { path: 'results.item.joinedInfo.joinedAt' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkAddToProgram;\n}\n\n/**\n * Bulk approves participants, who asked to join private program (aka in\n * state `APPROVAL_PENDING`). If participant was in other state, no effect and\n * error returned.\n */\nexport function bulkApproveParticipant(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkApproveParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/approve',\n data: payload,\n host,\n }),\n data: payload,\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.certificate.issuedDate' },\n { path: 'results.item.joinedInfo.joinedAt' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkApproveParticipant;\n}\n\n/**\n * Bulk approves all pending participants, who asked to join private program (aka\n * in state `APPROVAL_PENDING`).\n */\nexport function bulkApproveAllParticipant(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkApproveAllParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveAllParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/approve-all',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkApproveAllParticipant;\n}\n\n/** Exports data about participants as well as resolved steps in program. */\nexport function exportParticipantsStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __exportParticipantsStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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","export interface Participant {\n /**\n * Participant ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /** @readonly */\n revision?: string | null;\n /** @readonly */\n createdDate?: Date | null;\n /** @readonly */\n updatedDate?: Date | null;\n /**\n * Member ID of participant on site\n * @format GUID\n * @readonly\n */\n memberId?: string;\n /**\n * Program ID which participant participates in\n * @format GUID\n * @readonly\n */\n programId?: string;\n /**\n * Program completion progress\n * @readonly\n */\n progress?: Progress;\n /** state of participation in the program */\n state?: StateWithLiterals;\n /** Certificate issued to participant */\n certificate?: Certificate;\n /** @readonly */\n paymentInfo?: PaymentInfo;\n /** @readonly */\n joinedInfo?: JoinedInfo;\n /** @readonly */\n member?: Member;\n /** @readonly */\n lastActivityDate?: Date | null;\n extendedFields?: ExtendedFields;\n}\n\nexport enum JoinPath {\n UNKNOWN_JOIN_PATH = 'UNKNOWN_JOIN_PATH',\n /** Member joined to the program for free */\n FREE = 'FREE',\n /** Member was added to the program by site owner */\n ADDED = 'ADDED',\n /** Member paid once to join the program */\n SINGLE_PAYMENT = 'SINGLE_PAYMENT',\n /** Member has Paid Plan to join */\n PAID_PLAN = 'PAID_PLAN',\n /** Member joined with the Free Coupon */\n FREE_COUPON = 'FREE_COUPON',\n}\n\n/** @enumType */\nexport type JoinPathWithLiterals =\n | JoinPath\n | 'UNKNOWN_JOIN_PATH'\n | 'FREE'\n | 'ADDED'\n | 'SINGLE_PAYMENT'\n | 'PAID_PLAN'\n | 'FREE_COUPON';\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 * Completion percentage\n * @max 100\n */\n completionPercentage?: number;\n}\n\nexport enum State {\n /** Unknown state */\n UNKNOWN_STATE = 'UNKNOWN_STATE',\n /** Member joined the program and became participant */\n JOINED = 'JOINED',\n /** Participant completed the program, and could join again */\n COMPLETED = 'COMPLETED',\n /** Participant failed to complete the program, and could join again */\n FAILED = 'FAILED',\n /** Participant with ended pricing plan (PP), will be joined as renew PP */\n SUSPENDED = 'SUSPENDED',\n /** Participant removed automatically after some program condition */\n AUTO_REMOVED = 'AUTO_REMOVED',\n /** Participant removed by site owner */\n REMOVED = 'REMOVED',\n /** Participant left the program by himself */\n LEFT = 'LEFT',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN_STATE'\n | 'JOINED'\n | 'COMPLETED'\n | 'FAILED'\n | 'SUSPENDED'\n | 'AUTO_REMOVED'\n | 'REMOVED'\n | 'LEFT';\n\nexport interface Certificate {\n /**\n * when certificate was issued, UTC\n * @readonly\n */\n issuedDate?: Date | null;\n}\n\nexport interface PaymentInfo {\n /** @format GUID */\n paymentOrderId?: string | null;\n /** @format GUID */\n offlineTrxId?: string | null;\n /** @format GUID */\n paidPlanId?: string | null;\n /** @format GUID */\n freeCouponId?: string | null;\n}\n\nexport interface JoinedInfo {\n /** @maxLength 50 */\n timeZone?: string;\n /** @format LOCAL_DATE */\n startDate?: string;\n joinPath?: JoinPathWithLiterals;\n /** @format LOCAL_DATE */\n finishDate?: string | null;\n /** @readonly */\n joinedAt?: Date | null;\n}\n\nexport interface Member {\n /**\n * @readonly\n * @maxLength 100\n */\n firstName?: string | null;\n /**\n * @readonly\n * @maxLength 100\n */\n lastName?: string | null;\n /**\n * @readonly\n * @format EMAIL\n */\n email?: string | null;\n /** @format GUID */\n contactId?: string;\n /**\n * @readonly\n * @format WEB_URL\n */\n profileImageUrl?: string | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface ParticipantAdded {\n /**\n * Program ID which participant was added\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of participant on site\n * @format GUID\n */\n memberId?: string;\n}\n\nexport interface CreateParticipantRequest {\n /** Participant to create */\n participant: Participant;\n}\n\nexport interface CreateParticipantResponse {\n /** Created participant */\n participant?: Participant;\n}\n\nexport interface BulkCreateParticipantRequest {\n /**\n * List of participants you want 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\nexport interface BulkCreateParticipantResponse {\n /**\n * Results of bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkParticipantResult[];\n /** Metadata about whole bulk action. */\n bulkActionMetadata?: CommonBulkActionMetadata;\n}\n\nexport interface BulkParticipantResult {\n /** Metadata of item. */\n itemMetadata?: CommonItemMetadata;\n /** Item itself (empty if return_entity in request is false). */\n item?: Participant;\n}\n\nexport interface CommonItemMetadata {\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 CommonBulkActionMetadata {\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 BulkAddAllToProgramRequest {\n /**\n * Program to which bulk add participants.\n * @format GUID\n */\n programId: string;\n /**\n * Exclude site members.\n * @format GUID\n * @maxSize 100\n */\n excludeMemberIds?: string[];\n}\n\nexport interface BulkAddAllToProgramResponse {\n /**\n * Async infra job id which will process the request.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface DeleteParticipantRequest {\n /**\n * Participants to delete\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface DeleteParticipantResponse {}\n\nexport interface IssueCertificateRequest {\n /**\n * Participant to get certificate\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface IssueCertificateResponse {\n /** Updated participant */\n participant?: Participant;\n}\n\nexport interface GetCompletionStatsRequest {\n /**\n * program id to get stats for\n * @format GUID\n */\n programId: string;\n}\n\nexport interface GetCompletionStatsResponse {\n /** Number of participants that completed the program */\n completedAll?: 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 hasPremium?: 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 GetParticipantRequest {\n /**\n * Participant id to fetch\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface GetParticipantResponse {\n /** existing participant */\n participant?: Participant;\n}\n\nexport interface QueryParticipantsRequest {\n /** Platformized query */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\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 * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\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 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 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 /** found participants */\n participants?: Participant[];\n /** paging metadata */\n pagingMetadata?: CursorPagingMetadata;\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\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 isBlocked?: boolean;\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 /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\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\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface BenefitNotification {\n /**\n * Plan unique ID\n * @format GUID\n */\n planId?: string;\n /**\n * App def ID\n * @format GUID\n */\n appDefId?: string;\n /** Current benefit details */\n benefit?: Benefit;\n /** Previous benefit */\n prevBenefit?: Benefit;\n /** Notification event */\n event?: EventWithLiterals;\n}\n\nexport interface Benefit {\n /**\n * Benefit unique ID\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /** Benefit Type */\n benefitType?: BenefitTypeWithLiterals;\n /**\n * Resource IDs that serves by this benefit\n * @format GUID\n */\n resourceIds?: string[];\n /** Amount of credits that provided by this benefit */\n creditAmount?: number | null;\n /**\n * additional details related to benefit; limited to 20 entries, 20 symbols for key and 20 symbols for value\n * @maxSize 20\n */\n customFields?: Record<string, string>;\n /** return value only in case it required in the ListRequest, true means that benefit's type could be updated */\n editable?: boolean | null;\n /** Benefit behavior */\n behavior?: Behavior;\n /**\n * Id of the app associated with this benefit\n * @format GUID\n * @readonly\n */\n appDefId?: string | null;\n}\n\nexport interface EntryPass {}\n\nexport interface Discount extends DiscountDiscountOneOf {\n /**\n * Fixed-rate percent off discount\n * @decimalValue options { gt:0, lte:100, maxScale:2 }\n */\n percentOffRate?: string;\n /**\n * Absolute amount discount\n * @decimalValue options { gt:0, maxScale:2 }\n */\n moneyOffAmount?: string;\n}\n\n/** @oneof */\nexport interface DiscountDiscountOneOf {\n /**\n * Fixed-rate percent off discount\n * @decimalValue options { gt:0, lte:100, maxScale:2 }\n */\n percentOffRate?: string;\n /**\n * Absolute amount discount\n * @decimalValue options { gt:0, maxScale:2 }\n */\n moneyOffAmount?: string;\n}\n\nexport enum BenefitType {\n /** Should never be used */\n UNDEFINED = 'UNDEFINED',\n /** Limited benefit type */\n LIMITED = 'LIMITED',\n /** Unlimited benefit type */\n UNLIMITED = 'UNLIMITED',\n}\n\n/** @enumType */\nexport type BenefitTypeWithLiterals =\n | BenefitType\n | 'UNDEFINED'\n | 'LIMITED'\n | 'UNLIMITED';\n\nexport interface Behavior extends BehaviorBehaviorOneOf {\n /** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */\n defaultBehavior?: EntryPass;\n /** Discount applied to paid resources */\n discount?: Discount;\n}\n\n/** @oneof */\nexport interface BehaviorBehaviorOneOf {\n /** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */\n defaultBehavior?: EntryPass;\n /** Discount applied to paid resources */\n discount?: Discount;\n}\n\nexport enum Event {\n Updated = 'Updated',\n Deleted = 'Deleted',\n Created = 'Created',\n}\n\n/** @enumType */\nexport type EventWithLiterals = Event | 'Updated' | 'Deleted' | 'Created';\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}\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 BulkInviteToProgramRequest {\n /**\n * Program to which bulk invite participants.\n * @format GUID\n */\n programId: string;\n /**\n * Return added participants in the response or not.\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n memberIds?: string[];\n /** Return invited participants in the response or not. */\n returnEntity?: boolean;\n}\n\nexport interface BulkInviteToProgramResponse {\n /** Participants created by bulk action */\n results?: BulkInviteToProgramResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\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 BulkInviteToProgramResult {\n /** Invited participant metadata. */\n itemMetadata?: ItemMetadata;\n /** Invited participant */\n item?: Participant;\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 ParticipantInvited {\n /**\n * Program to which bulk invite participants.\n * @format GUID\n */\n programId?: string;\n /**\n * Invited member to program\n * @format GUID\n */\n memberId?: string;\n}\n\nexport interface BulkInviteAllToProgramRequest {\n /**\n * Program to which bulk add participants.\n * @format GUID\n */\n programId: string;\n /**\n * Exclude site members.\n * @format GUID\n * @maxSize 100\n */\n excludeMemberIds?: string[];\n}\n\nexport interface BulkInviteAllToProgramResponse {\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkAddToProgramRequest {\n /**\n * Program to which bulk add participants.\n * @format GUID\n */\n programId: string;\n /**\n * Site members.\n * @format GUID\n * @minSize 1\n * @maxSize 1000\n */\n memberIds?: string[];\n /** Return added participants in the response or not. */\n returnEntity?: boolean;\n}\n\nexport interface BulkAddToProgramResponse {\n /** Participants created by bulk action */\n results?: BulkAddToProgramResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkAddToProgramResult {\n /** Added participant metadata. */\n itemMetadata?: ItemMetadata;\n /** Added participant */\n item?: Participant;\n}\n\nexport interface BulkApproveParticipantRequest {\n /**\n * Participants to add\n * @format GUID\n * @maxSize 100\n */\n participantIds: string[];\n /**\n * program to approve participant\n * @format GUID\n */\n programId?: string;\n /** Return approved participants in the response or not */\n returnEntity?: boolean;\n}\n\nexport interface BulkApproveParticipantResponse {\n /** Participants approved by bulk action */\n results?: BulkApproveParticipantResult[];\n /** Bulk action metadata */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkApproveParticipantResult {\n /** Approved participant metadata */\n itemMetadata?: ItemMetadata;\n /** Approved or existing participant */\n item?: Participant;\n}\n\nexport interface ParticipantApproved {\n /**\n * Program ID which participant approved\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of participant approved\n * @format GUID\n */\n memberId?: string;\n}\n\nexport interface BulkApproveAllParticipantRequest {\n /**\n * Program to approve all participants.\n * @format GUID\n */\n programId?: string;\n /**\n * Exclude site members.\n * @format GUID\n * @maxSize 100\n */\n excludeParticipantIds?: string[];\n}\n\nexport interface BulkApproveAllParticipantResponse {\n /**\n * Job id with async process\n * @format GUID\n */\n jobId?: string;\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\nexport interface ParticipantExportsFinished {\n /**\n * program id from which stats were exported\n * @format GUID\n */\n programId?: string;\n /**\n * user id of program owner\n * @format GUID\n */\n userId?: string;\n /**\n * url to download report\n * @format WEB_URL\n */\n downloadUrl?: string;\n /** days url will be downloadable */\n downloadUrlTtlDays?: number;\n}\n","import * as ambassadorWixOnlineProgramsV3Participant from './online-programs-v3-participant-participants.http.js';\nimport * as ambassadorWixOnlineProgramsV3ParticipantTypes from './online-programs-v3-participant-participants.types.js';\nimport * as ambassadorWixOnlineProgramsV3ParticipantUniversalTypes from './online-programs-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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.CreateParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.CreateParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.CreateParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.CreateParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.createParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/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 bulkCreateParticipant(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkCreateParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkCreateParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkCreateParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkCreateParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkCreateParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/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 bulkAddAllToProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkAddAllToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkAddAllToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkAddAllToProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkAddAllToProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkAddAllToProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/add-all',\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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.DeleteParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.DeleteParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.DeleteParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.DeleteParticipantResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.deleteParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.IssueCertificateRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.IssueCertificateRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.IssueCertificateResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.IssueCertificateResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.issueCertificate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/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 getCompletionStats(): __PublicMethodMetaInfo<\n 'GET',\n { programId: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetCompletionStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetCompletionStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetCompletionStatsResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetCompletionStatsResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.getCompletionStats(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/stats/completion/{programId}',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPremiumStats(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetPremiumStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetPremiumStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetPremiumStatsResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetPremiumStatsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.getPremiumStats(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/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 getParticipant(): __PublicMethodMetaInfo<\n 'GET',\n { participantId: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetParticipantResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.getParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.QueryParticipantsRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.QueryParticipantsRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.QueryParticipantsResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.QueryParticipantsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.queryParticipants(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetAccessStatusRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetAccessStatusRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetAccessStatusResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetAccessStatusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.getAccessStatus(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/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 bulkInviteToProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkInviteToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkInviteToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkInviteToProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkInviteToProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkInviteToProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/invite',\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 bulkInviteAllToProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkInviteAllToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkInviteAllToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkInviteAllToProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkInviteAllToProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkInviteAllToProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/invite-all',\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 bulkAddToProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkAddToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkAddToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkAddToProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkAddToProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkAddToProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/add',\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 bulkApproveParticipant(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkApproveParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkApproveParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkApproveParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkApproveParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkApproveParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/approve',\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 bulkApproveAllParticipant(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkApproveAllParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkApproveAllParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkApproveAllParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkApproveAllParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkApproveAllParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/approve-all',\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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.ExportParticipantsStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.ExportParticipantsStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.ExportParticipantsStatsResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.ExportParticipantsStatsResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.exportParticipantsStats(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/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 JoinPath as JoinPathOriginal,\n JoinPathWithLiterals as JoinPathWithLiteralsOriginal,\n Progress as ProgressOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n Certificate as CertificateOriginal,\n PaymentInfo as PaymentInfoOriginal,\n JoinedInfo as JoinedInfoOriginal,\n Member as MemberOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n ParticipantAdded as ParticipantAddedOriginal,\n CreateParticipantRequest as CreateParticipantRequestOriginal,\n CreateParticipantResponse as CreateParticipantResponseOriginal,\n BulkCreateParticipantRequest as BulkCreateParticipantRequestOriginal,\n BulkCreateParticipantResponse as BulkCreateParticipantResponseOriginal,\n BulkParticipantResult as BulkParticipantResultOriginal,\n CommonItemMetadata as CommonItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n CommonBulkActionMetadata as CommonBulkActionMetadataOriginal,\n BulkAddAllToProgramRequest as BulkAddAllToProgramRequestOriginal,\n BulkAddAllToProgramResponse as BulkAddAllToProgramResponseOriginal,\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 GetParticipantRequest as GetParticipantRequestOriginal,\n GetParticipantResponse as GetParticipantResponseOriginal,\n QueryParticipantsRequest as QueryParticipantsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryParticipantsResponse as QueryParticipantsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n GetAccessStatusRequest as GetAccessStatusRequestOriginal,\n GetAccessStatusResponse as GetAccessStatusResponseOriginal,\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 BenefitNotification as BenefitNotificationOriginal,\n Benefit as BenefitOriginal,\n EntryPass as EntryPassOriginal,\n Discount as DiscountOriginal,\n DiscountDiscountOneOf as DiscountDiscountOneOfOriginal,\n BenefitType as BenefitTypeOriginal,\n BenefitTypeWithLiterals as BenefitTypeWithLiteralsOriginal,\n Behavior as BehaviorOriginal,\n BehaviorBehaviorOneOf as BehaviorBehaviorOneOfOriginal,\n Event as EventOriginal,\n EventWithLiterals as EventWithLiteralsOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n BulkInviteToProgramRequest as BulkInviteToProgramRequestOriginal,\n BulkInviteToProgramResponse as BulkInviteToProgramResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n BulkInviteToProgramResult as BulkInviteToProgramResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n ParticipantInvited as ParticipantInvitedOriginal,\n BulkInviteAllToProgramRequest as BulkInviteAllToProgramRequestOriginal,\n BulkInviteAllToProgramResponse as BulkInviteAllToProgramResponseOriginal,\n BulkAddToProgramRequest as BulkAddToProgramRequestOriginal,\n BulkAddToProgramResponse as BulkAddToProgramResponseOriginal,\n BulkAddToProgramResult as BulkAddToProgramResultOriginal,\n BulkApproveParticipantRequest as BulkApproveParticipantRequestOriginal,\n BulkApproveParticipantResponse as BulkApproveParticipantResponseOriginal,\n BulkApproveParticipantResult as BulkApproveParticipantResultOriginal,\n ParticipantApproved as ParticipantApprovedOriginal,\n BulkApproveAllParticipantRequest as BulkApproveAllParticipantRequestOriginal,\n BulkApproveAllParticipantResponse as BulkApproveAllParticipantResponseOriginal,\n ExportParticipantsStatsRequest as ExportParticipantsStatsRequestOriginal,\n ExportParticipantsStatsResponse as ExportParticipantsStatsResponseOriginal,\n ParticipantExportsFinished as ParticipantExportsFinishedOriginal,\n} from './online-programs-v3-participant-participants.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAAA;AAAA,EAAA,wBAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,yBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;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,QAC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AS,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,oBACqC,wBAAwB,OAAO;AAE1E,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":["bulkAddAllToProgram","bulkAddToProgram","bulkApproveAllParticipant","bulkApproveParticipant","bulkCreateParticipant","bulkInviteAllToProgram","bulkInviteToProgram","createParticipant","deleteParticipant","exportParticipantsStats","getAccessStatus","getCompletionStats","getParticipant","getPremiumStats","issueCertificate","queryParticipants","import_float","import_timestamp","import_rest_modules","payload","JoinPath","State","SortOrder","BenefitType","Event","WebhookIdentityType","createParticipant","bulkCreateParticipant","bulkAddAllToProgram","deleteParticipant","issueCertificate","getCompletionStats","getPremiumStats","getParticipant","queryParticipants","getAccessStatus","bulkInviteToProgram","bulkInviteAllToProgram","bulkAddToProgram","bulkApproveParticipant","bulkApproveAllParticipant","exportParticipantsStats"]}
|
|
1
|
+
{"version":3,"sources":["../../meta.ts","../../src/online-programs-v3-participant-participants.http.ts","../../src/online-programs-v3-participant-participants.types.ts","../../src/online-programs-v3-participant-participants.meta.ts"],"sourcesContent":["export * from './src/online-programs-v3-participant-participants.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { 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: '/participants-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl(\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: '/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: '/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\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.certificate.issuedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participant.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.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.certificate.issuedDate' },\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/** Creates participants in bulk. */\nexport function bulkCreateParticipant(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateParticipant({ 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.certificate.issuedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'participants.progress.completionPercentage' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipant',\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.certificate.issuedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateParticipant;\n}\n\n/**\n * Bulk adds all site members to program, but not more then 1000.\n * Participant will be either created in state Joined, or updated to that state\n * from pending one.\n */\nexport function bulkAddAllToProgram(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkAddAllToProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.BulkAddAllToProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/add-all',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkAddAllToProgram;\n}\n\n/**\n * Delete participant from program. Removes participant from member\n * group. Leaves him in Social Group.\n */\nexport function deleteParticipant(payload: object): RequestOptionsFactory<any> {\n function __deleteParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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/** Issue certificate by site admin */\nexport function issueCertificate(payload: object): RequestOptionsFactory<any> {\n function __issueCertificate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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.certificate.issuedDate' },\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/** Get program's completion stats */\nexport function getCompletionStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __getCompletionStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'GET' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ParticipantsService.GetCompletionStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/stats/completion/{programId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'completionRate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCompletionStats;\n}\n\n/** Get premium stats */\nexport function getPremiumStats(payload: object): RequestOptionsFactory<any> {\n function __getPremiumStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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/** Returns participant. */\nexport function getParticipant(payload: object): RequestOptionsFactory<any> {\n function __getParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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.certificate.issuedDate' },\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/** Query existing participants */\nexport function queryParticipants(payload: object): RequestOptionsFactory<any> {\n function __queryParticipants({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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.certificate.issuedDate' },\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/** Get access status */\nexport function getAccessStatus(payload: object): RequestOptionsFactory<any> {\n function __getAccessStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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 * Bulk invites participants to program.\n * For each member participant in Invited state is created.\n */\nexport function bulkInviteToProgram(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkInviteToProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteToProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/invite',\n data: payload,\n host,\n }),\n data: payload,\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.certificate.issuedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkInviteToProgram;\n}\n\n/**\n * Bulk invites all participants to program, but not more then 1000.\n * For each member participant in Invited state is created.\n */\nexport function bulkInviteAllToProgram(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkInviteAllToProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteAllToProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/invite-all',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkInviteAllToProgram;\n}\n\n/**\n * Bulk adds participants to program.\n * Participant will be either created in state Joined, or updated to that state\n * from pending one.\n */\nexport function bulkAddToProgram(payload: object): RequestOptionsFactory<any> {\n function __bulkAddToProgram({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddToProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/add',\n data: payload,\n host,\n }),\n data: payload,\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.certificate.issuedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkAddToProgram;\n}\n\n/**\n * Bulk approves participants, who asked to join private program (aka in\n * state `APPROVAL_PENDING`). If participant was in other state, no effect and\n * error returned.\n */\nexport function bulkApproveParticipant(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkApproveParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/approve',\n data: payload,\n host,\n }),\n data: payload,\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.certificate.issuedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.item.progress.completionPercentage' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkApproveParticipant;\n}\n\n/**\n * Bulk approves all pending participants, who asked to join private program (aka\n * in state `APPROVAL_PENDING`).\n */\nexport function bulkApproveAllParticipant(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkApproveAllParticipant({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.participant',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveAllParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\n protoPath: '/v3/bulk/participants/approve-all',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkApproveAllParticipant;\n}\n\n/** Exports data about participants as well as resolved steps in program. */\nexport function exportParticipantsStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __exportParticipantsStats({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.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","export interface Participant {\n /**\n * Participant ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /** @readonly */\n revision?: string | null;\n /** @readonly */\n createdDate?: Date | null;\n /** @readonly */\n updatedDate?: Date | null;\n /**\n * Member ID of participant on site\n * @format GUID\n * @readonly\n */\n memberId?: string;\n /**\n * Program ID which participant participates in\n * @format GUID\n * @readonly\n */\n programId?: string;\n /**\n * Program completion progress\n * @readonly\n */\n progress?: Progress;\n /** state of participation in the program */\n state?: StateWithLiterals;\n /**\n * Certificate issued to participant\n * @readonly\n */\n certificate?: Certificate;\n joinedInfo?: JoinedInfo;\n /** @readonly */\n member?: Member;\n /** @readonly */\n lastActivityDate?: Date | null;\n extendedFields?: ExtendedFields;\n}\n\nexport enum JoinPath {\n UNKNOWN_JOIN_PATH = 'UNKNOWN_JOIN_PATH',\n /** Member joined to the program for free */\n FREE = 'FREE',\n /** Member was added to the program by site owner */\n ADDED = 'ADDED',\n /** Member paid once to join the program */\n SINGLE_PAYMENT = 'SINGLE_PAYMENT',\n /** Member has Paid Plan to join */\n PAID_PLAN = 'PAID_PLAN',\n /** Member joined with the Free Coupon */\n FREE_COUPON = 'FREE_COUPON',\n}\n\n/** @enumType */\nexport type JoinPathWithLiterals =\n | JoinPath\n | 'UNKNOWN_JOIN_PATH'\n | 'FREE'\n | 'ADDED'\n | 'SINGLE_PAYMENT'\n | 'PAID_PLAN'\n | 'FREE_COUPON';\n\nexport interface SinglePaymentDetails {\n /** @format GUID */\n paymentOrderId?: string;\n /** @format GUID */\n offlineTransactionId?: string | null;\n}\n\nexport interface PaidPlanDetails {\n /** @format GUID */\n paidPlanId?: string;\n}\n\nexport interface FreeCouponDetails {\n /** @format GUID */\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 * Completion percentage\n * @max 100\n */\n completionPercentage?: number;\n}\n\nexport enum State {\n /** Unknown state */\n UNKNOWN_STATE = 'UNKNOWN_STATE',\n /** Member joined the program and became participant */\n JOINED = 'JOINED',\n /** Participant completed the program, and could join again */\n COMPLETED = 'COMPLETED',\n /** Participant failed to complete the program, and could join again */\n FAILED = 'FAILED',\n /** Participant with ended pricing plan (PP), will be joined as renew PP */\n SUSPENDED = 'SUSPENDED',\n /** Participant removed automatically after some program condition */\n AUTO_REMOVED = 'AUTO_REMOVED',\n /** Participant removed by site owner */\n REMOVED = 'REMOVED',\n /** Participant left the program by himself */\n LEFT = 'LEFT',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN_STATE'\n | 'JOINED'\n | 'COMPLETED'\n | 'FAILED'\n | 'SUSPENDED'\n | 'AUTO_REMOVED'\n | 'REMOVED'\n | 'LEFT';\n\nexport interface Certificate {\n /**\n * when certificate was issued, UTC\n * @readonly\n */\n issuedDate?: Date | null;\n}\n\nexport interface JoinedInfo extends JoinedInfoJoinPathDetailsOneOf {\n singlePaymentDetails?: SinglePaymentDetails;\n paidPlanDetails?: PaidPlanDetails;\n freeCouponDetails?: FreeCouponDetails;\n /**\n * @maxLength 50\n * @readonly\n */\n timeZone?: string;\n /**\n * @format LOCAL_DATE\n * @readonly\n */\n startDate?: string;\n joinPath?: JoinPathWithLiterals;\n /**\n * @format LOCAL_DATE\n * @readonly\n */\n finishDate?: string | null;\n}\n\n/** @oneof */\nexport interface JoinedInfoJoinPathDetailsOneOf {\n singlePaymentDetails?: SinglePaymentDetails;\n paidPlanDetails?: PaidPlanDetails;\n freeCouponDetails?: FreeCouponDetails;\n}\n\nexport interface Member {\n /**\n * @readonly\n * @maxLength 100\n */\n firstName?: string | null;\n /**\n * @readonly\n * @maxLength 100\n */\n lastName?: string | null;\n /**\n * @readonly\n * @format EMAIL\n */\n email?: string | null;\n /** @format GUID */\n contactId?: string;\n /**\n * @readonly\n * @format WEB_URL\n */\n profileImageUrl?: string | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface ParticipantAdded {\n /**\n * Program ID which participant was added\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of participant on site\n * @format GUID\n */\n memberId?: string;\n}\n\nexport interface CreateParticipantRequest {\n /** Participant to create */\n participant: Participant;\n}\n\nexport interface CreateParticipantResponse {\n /** Created participant */\n participant?: Participant;\n}\n\nexport interface BulkCreateParticipantRequest {\n /**\n * List of participants you want 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\nexport interface BulkCreateParticipantResponse {\n /**\n * Results of bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkParticipantResult[];\n /** Metadata about whole bulk action. */\n bulkActionMetadata?: CommonBulkActionMetadata;\n}\n\nexport interface BulkParticipantResult {\n /** Metadata of item. */\n itemMetadata?: CommonItemMetadata;\n /** Item itself (empty if return_entity in request is false). */\n item?: Participant;\n}\n\nexport interface CommonItemMetadata {\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 CommonBulkActionMetadata {\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 BulkAddAllToProgramRequest {\n /**\n * Program to which bulk add participants.\n * @format GUID\n */\n programId: string;\n /**\n * Exclude site members.\n * @format GUID\n * @maxSize 100\n */\n excludeMemberIds?: string[];\n}\n\nexport interface BulkAddAllToProgramResponse {\n /**\n * Async infra job id which will process the request.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface DeleteParticipantRequest {\n /**\n * Participants to delete\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface DeleteParticipantResponse {}\n\nexport interface IssueCertificateRequest {\n /**\n * Participant to get certificate\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface IssueCertificateResponse {\n /** Updated participant */\n participant?: Participant;\n}\n\nexport interface GetCompletionStatsRequest {\n /**\n * program id to get stats for\n * @format GUID\n */\n programId: string;\n}\n\nexport interface GetCompletionStatsResponse {\n /** Number of participants that completed the program */\n completedAll?: 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 hasPremium?: 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 GetParticipantRequest {\n /**\n * Participant id to fetch\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface GetParticipantResponse {\n /** existing participant */\n participant?: Participant;\n}\n\nexport interface QueryParticipantsRequest {\n /** Platformized query */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\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 * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\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 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 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 /** found participants */\n participants?: Participant[];\n /** paging metadata */\n pagingMetadata?: CursorPagingMetadata;\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\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 isBlocked?: boolean;\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 /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\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\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface BenefitNotification {\n /**\n * Plan unique ID\n * @format GUID\n */\n planId?: string;\n /**\n * App def ID\n * @format GUID\n */\n appDefId?: string;\n /** Current benefit details */\n benefit?: Benefit;\n /** Previous benefit */\n prevBenefit?: Benefit;\n /** Notification event */\n event?: EventWithLiterals;\n}\n\nexport interface Benefit {\n /**\n * Benefit unique ID\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /** Benefit Type */\n benefitType?: BenefitTypeWithLiterals;\n /**\n * Resource IDs that serves by this benefit\n * @format GUID\n */\n resourceIds?: string[];\n /** Amount of credits that provided by this benefit */\n creditAmount?: number | null;\n /**\n * additional details related to benefit; limited to 20 entries, 20 symbols for key and 20 symbols for value\n * @maxSize 20\n */\n customFields?: Record<string, string>;\n /** return value only in case it required in the ListRequest, true means that benefit's type could be updated */\n editable?: boolean | null;\n /** Benefit behavior */\n behavior?: Behavior;\n /**\n * Id of the app associated with this benefit\n * @format GUID\n * @readonly\n */\n appDefId?: string | null;\n}\n\nexport interface EntryPass {}\n\nexport interface Discount extends DiscountDiscountOneOf {\n /**\n * Fixed-rate percent off discount\n * @decimalValue options { gt:0, lte:100, maxScale:2 }\n */\n percentOffRate?: string;\n /**\n * Absolute amount discount\n * @decimalValue options { gt:0, maxScale:2 }\n */\n moneyOffAmount?: string;\n}\n\n/** @oneof */\nexport interface DiscountDiscountOneOf {\n /**\n * Fixed-rate percent off discount\n * @decimalValue options { gt:0, lte:100, maxScale:2 }\n */\n percentOffRate?: string;\n /**\n * Absolute amount discount\n * @decimalValue options { gt:0, maxScale:2 }\n */\n moneyOffAmount?: string;\n}\n\nexport enum BenefitType {\n /** Should never be used */\n UNDEFINED = 'UNDEFINED',\n /** Limited benefit type */\n LIMITED = 'LIMITED',\n /** Unlimited benefit type */\n UNLIMITED = 'UNLIMITED',\n}\n\n/** @enumType */\nexport type BenefitTypeWithLiterals =\n | BenefitType\n | 'UNDEFINED'\n | 'LIMITED'\n | 'UNLIMITED';\n\nexport interface Behavior extends BehaviorBehaviorOneOf {\n /** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */\n defaultBehavior?: EntryPass;\n /** Discount applied to paid resources */\n discount?: Discount;\n}\n\n/** @oneof */\nexport interface BehaviorBehaviorOneOf {\n /** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */\n defaultBehavior?: EntryPass;\n /** Discount applied to paid resources */\n discount?: Discount;\n}\n\nexport enum Event {\n Updated = 'Updated',\n Deleted = 'Deleted',\n Created = 'Created',\n}\n\n/** @enumType */\nexport type EventWithLiterals = Event | 'Updated' | 'Deleted' | 'Created';\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}\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 BulkInviteToProgramRequest {\n /**\n * Program to which bulk invite participants.\n * @format GUID\n */\n programId: string;\n /**\n * Return added participants in the response or not.\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n memberIds?: string[];\n /** Return invited participants in the response or not. */\n returnEntity?: boolean;\n}\n\nexport interface BulkInviteToProgramResponse {\n /** Participants created by bulk action */\n results?: BulkInviteToProgramResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\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 BulkInviteToProgramResult {\n /** Invited participant metadata. */\n itemMetadata?: ItemMetadata;\n /** Invited participant */\n item?: Participant;\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 ParticipantInvited {\n /**\n * Program to which bulk invite participants.\n * @format GUID\n */\n programId?: string;\n /**\n * Invited member to program\n * @format GUID\n */\n memberId?: string;\n}\n\nexport interface BulkInviteAllToProgramRequest {\n /**\n * Program to which bulk add participants.\n * @format GUID\n */\n programId: string;\n /**\n * Exclude site members.\n * @format GUID\n * @maxSize 100\n */\n excludeMemberIds?: string[];\n}\n\nexport interface BulkInviteAllToProgramResponse {\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkAddToProgramRequest {\n /**\n * Program to which bulk add participants.\n * @format GUID\n */\n programId: string;\n /**\n * Site members.\n * @format GUID\n * @minSize 1\n * @maxSize 1000\n */\n memberIds?: string[];\n /** Return added participants in the response or not. */\n returnEntity?: boolean;\n}\n\nexport interface BulkAddToProgramResponse {\n /** Participants created by bulk action */\n results?: BulkAddToProgramResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkAddToProgramResult {\n /** Added participant metadata. */\n itemMetadata?: ItemMetadata;\n /** Added participant */\n item?: Participant;\n}\n\nexport interface BulkApproveParticipantRequest {\n /**\n * Participants to add\n * @format GUID\n * @maxSize 100\n */\n participantIds: string[];\n /**\n * program to approve participant\n * @format GUID\n */\n programId?: string;\n /** Return approved participants in the response or not */\n returnEntity?: boolean;\n}\n\nexport interface BulkApproveParticipantResponse {\n /** Participants approved by bulk action */\n results?: BulkApproveParticipantResult[];\n /** Bulk action metadata */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkApproveParticipantResult {\n /** Approved participant metadata */\n itemMetadata?: ItemMetadata;\n /** Approved or existing participant */\n item?: Participant;\n}\n\nexport interface ParticipantApproved {\n /**\n * Program ID which participant approved\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of participant approved\n * @format GUID\n */\n memberId?: string;\n}\n\nexport interface BulkApproveAllParticipantRequest {\n /**\n * Program to approve all participants.\n * @format GUID\n */\n programId?: string;\n /**\n * Exclude site members.\n * @format GUID\n * @maxSize 100\n */\n excludeParticipantIds?: string[];\n}\n\nexport interface BulkApproveAllParticipantResponse {\n /**\n * Job id with async process\n * @format GUID\n */\n jobId?: string;\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\nexport interface ParticipantExportsFinished {\n /**\n * program id from which stats were exported\n * @format GUID\n */\n programId?: string;\n /**\n * user id of program owner\n * @format GUID\n */\n userId?: string;\n /**\n * url to download report\n * @format WEB_URL\n */\n downloadUrl?: string;\n /** days url will be downloadable */\n downloadUrlTtlDays?: number;\n}\n\n/** @docsIgnore */\nexport type CreateParticipantApplicationErrors = {\n code?: 'INVALID_PAYMENT_INFO';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixOnlineProgramsV3Participant from './online-programs-v3-participant-participants.http.js';\nimport * as ambassadorWixOnlineProgramsV3ParticipantTypes from './online-programs-v3-participant-participants.types.js';\nimport * as ambassadorWixOnlineProgramsV3ParticipantUniversalTypes from './online-programs-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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.CreateParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.CreateParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.CreateParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.CreateParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.createParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/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 bulkCreateParticipant(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkCreateParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkCreateParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkCreateParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkCreateParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkCreateParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/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 bulkAddAllToProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkAddAllToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkAddAllToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkAddAllToProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkAddAllToProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkAddAllToProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/add-all',\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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.DeleteParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.DeleteParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.DeleteParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.DeleteParticipantResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.deleteParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.IssueCertificateRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.IssueCertificateRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.IssueCertificateResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.IssueCertificateResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.issueCertificate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/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 getCompletionStats(): __PublicMethodMetaInfo<\n 'GET',\n { programId: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetCompletionStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetCompletionStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetCompletionStatsResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetCompletionStatsResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.getCompletionStats(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/stats/completion/{programId}',\n pathParams: { programId: 'programId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPremiumStats(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetPremiumStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetPremiumStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetPremiumStatsResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetPremiumStatsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.getPremiumStats(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/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 getParticipant(): __PublicMethodMetaInfo<\n 'GET',\n { participantId: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetParticipantResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.getParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.QueryParticipantsRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.QueryParticipantsRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.QueryParticipantsResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.QueryParticipantsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.queryParticipants(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetAccessStatusRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetAccessStatusRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.GetAccessStatusResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.GetAccessStatusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.getAccessStatus(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/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 bulkInviteToProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkInviteToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkInviteToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkInviteToProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkInviteToProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkInviteToProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/invite',\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 bulkInviteAllToProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkInviteAllToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkInviteAllToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkInviteAllToProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkInviteAllToProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkInviteAllToProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/invite-all',\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 bulkAddToProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkAddToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkAddToProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkAddToProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkAddToProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkAddToProgram(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/add',\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 bulkApproveParticipant(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkApproveParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkApproveParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkApproveParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkApproveParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkApproveParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/approve',\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 bulkApproveAllParticipant(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkApproveAllParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkApproveAllParticipantRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.BulkApproveAllParticipantResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.BulkApproveAllParticipantResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.bulkApproveAllParticipant(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/participants/approve-all',\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 ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.ExportParticipantsStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.ExportParticipantsStatsRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.ExportParticipantsStatsResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.ExportParticipantsStatsResponse\n> {\n const payload = { programId: ':programId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.exportParticipantsStats(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/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 JoinPath as JoinPathOriginal,\n JoinPathWithLiterals as JoinPathWithLiteralsOriginal,\n SinglePaymentDetails as SinglePaymentDetailsOriginal,\n PaidPlanDetails as PaidPlanDetailsOriginal,\n FreeCouponDetails as FreeCouponDetailsOriginal,\n Progress as ProgressOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n Certificate as CertificateOriginal,\n JoinedInfo as JoinedInfoOriginal,\n JoinedInfoJoinPathDetailsOneOf as JoinedInfoJoinPathDetailsOneOfOriginal,\n Member as MemberOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n ParticipantAdded as ParticipantAddedOriginal,\n CreateParticipantRequest as CreateParticipantRequestOriginal,\n CreateParticipantResponse as CreateParticipantResponseOriginal,\n BulkCreateParticipantRequest as BulkCreateParticipantRequestOriginal,\n BulkCreateParticipantResponse as BulkCreateParticipantResponseOriginal,\n BulkParticipantResult as BulkParticipantResultOriginal,\n CommonItemMetadata as CommonItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n CommonBulkActionMetadata as CommonBulkActionMetadataOriginal,\n BulkAddAllToProgramRequest as BulkAddAllToProgramRequestOriginal,\n BulkAddAllToProgramResponse as BulkAddAllToProgramResponseOriginal,\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 GetParticipantRequest as GetParticipantRequestOriginal,\n GetParticipantResponse as GetParticipantResponseOriginal,\n QueryParticipantsRequest as QueryParticipantsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryParticipantsResponse as QueryParticipantsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n GetAccessStatusRequest as GetAccessStatusRequestOriginal,\n GetAccessStatusResponse as GetAccessStatusResponseOriginal,\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 BenefitNotification as BenefitNotificationOriginal,\n Benefit as BenefitOriginal,\n EntryPass as EntryPassOriginal,\n Discount as DiscountOriginal,\n DiscountDiscountOneOf as DiscountDiscountOneOfOriginal,\n BenefitType as BenefitTypeOriginal,\n BenefitTypeWithLiterals as BenefitTypeWithLiteralsOriginal,\n Behavior as BehaviorOriginal,\n BehaviorBehaviorOneOf as BehaviorBehaviorOneOfOriginal,\n Event as EventOriginal,\n EventWithLiterals as EventWithLiteralsOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n BulkInviteToProgramRequest as BulkInviteToProgramRequestOriginal,\n BulkInviteToProgramResponse as BulkInviteToProgramResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n BulkInviteToProgramResult as BulkInviteToProgramResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n ParticipantInvited as ParticipantInvitedOriginal,\n BulkInviteAllToProgramRequest as BulkInviteAllToProgramRequestOriginal,\n BulkInviteAllToProgramResponse as BulkInviteAllToProgramResponseOriginal,\n BulkAddToProgramRequest as BulkAddToProgramRequestOriginal,\n BulkAddToProgramResponse as BulkAddToProgramResponseOriginal,\n BulkAddToProgramResult as BulkAddToProgramResultOriginal,\n BulkApproveParticipantRequest as BulkApproveParticipantRequestOriginal,\n BulkApproveParticipantResponse as BulkApproveParticipantResponseOriginal,\n BulkApproveParticipantResult as BulkApproveParticipantResultOriginal,\n ParticipantApproved as ParticipantApprovedOriginal,\n BulkApproveAllParticipantRequest as BulkApproveAllParticipantRequestOriginal,\n BulkApproveAllParticipantResponse as BulkApproveAllParticipantResponseOriginal,\n ExportParticipantsStatsRequest as ExportParticipantsStatsRequestOriginal,\n ExportParticipantsStatsResponse as ExportParticipantsStatsResponseOriginal,\n ParticipantExportsFinished as ParticipantExportsFinishedOriginal,\n CreateParticipantApplicationErrors as CreateParticipantApplicationErrorsOriginal,\n} from './online-programs-v3-participant-participants.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAAA;AAAA,EAAA,wBAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,yBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;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;AA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AC;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,oBACqC,wBAAwB,OAAO;AAE1E,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":["bulkAddAllToProgram","bulkAddToProgram","bulkApproveAllParticipant","bulkApproveParticipant","bulkCreateParticipant","bulkInviteAllToProgram","bulkInviteToProgram","createParticipant","deleteParticipant","exportParticipantsStats","getAccessStatus","getCompletionStats","getParticipant","getPremiumStats","issueCertificate","queryParticipants","import_float","import_timestamp","import_rest_modules","payload","JoinPath","State","SortOrder","BenefitType","Event","WebhookIdentityType","createParticipant","bulkCreateParticipant","bulkAddAllToProgram","deleteParticipant","issueCertificate","getCompletionStats","getPremiumStats","getParticipant","queryParticipants","getAccessStatus","bulkInviteToProgram","bulkInviteAllToProgram","bulkAddToProgram","bulkApproveParticipant","bulkApproveAllParticipant","exportParticipantsStats"]}
|
package/build/es/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { Participant, BulkCreateParticipantOptions, BulkCreateParticipantResponse, BulkAddAllToProgramOptions, BulkAddAllToProgramResponse, IssueCertificateResponse, GetCompletionStatsResponse, GetPremiumStatsResponse, GetAccessStatusResponse, BulkInviteToProgramOptions, BulkInviteToProgramResponse, BulkInviteAllToProgramOptions, BulkInviteAllToProgramResponse, BulkAddToProgramOptions, BulkAddToProgramResponse, BulkApproveParticipantOptions, BulkApproveParticipantResponse, BulkApproveAllParticipantOptions, BulkApproveAllParticipantResponse, ParticipantAddedEnvelope, ParticipantApprovedEnvelope, ParticipantInvitedEnvelope, ParticipantsQueryBuilder, CursorQuery, typedQueryParticipants } from './index.typings.mjs';
|
|
3
|
-
export { ActionEvent, ApplicationError, BaseEventMetadata, Behavior, BehaviorBehaviorOneOf, Benefit, BenefitNotification, BenefitType, BenefitTypeWithLiterals, BulkActionMetadata, BulkAddAllToProgramRequest, BulkAddToProgramRequest, BulkAddToProgramResult, BulkApproveAllParticipantRequest, BulkApproveParticipantRequest, BulkApproveParticipantResult, BulkCreateParticipantRequest, BulkInviteAllToProgramRequest, BulkInviteToProgramRequest, BulkInviteToProgramResult, BulkParticipantResult, Certificate, CommonBulkActionMetadata, CommonItemMetadata, CreateParticipantRequest, CreateParticipantResponse, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, DeleteParticipantRequest, DeleteParticipantResponse, Discount, DiscountDiscountOneOf, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntryPass, Event, EventMetadata, EventWithLiterals, ExportParticipantsStatsRequest, ExportParticipantsStatsResponse, ExtendedFields, GetAccessStatusRequest, GetCompletionStatsRequest, GetParticipantRequest, GetParticipantResponse, GetPremiumStatsRequest, IdentificationData, IdentificationDataIdOneOf, IssueCertificateRequest, ItemMetadata, JoinPath, JoinPathWithLiterals, JoinedInfo, Member, MessageEnvelope, ParticipantAdded, ParticipantApproved, ParticipantExportsFinished, ParticipantInvited, ParticipantsQueryResult,
|
|
2
|
+
import { Participant, CreateParticipantApplicationErrors, BulkCreateParticipantOptions, BulkCreateParticipantResponse, BulkAddAllToProgramOptions, BulkAddAllToProgramResponse, IssueCertificateResponse, GetCompletionStatsResponse, GetPremiumStatsResponse, GetAccessStatusResponse, BulkInviteToProgramOptions, BulkInviteToProgramResponse, BulkInviteAllToProgramOptions, BulkInviteAllToProgramResponse, BulkAddToProgramOptions, BulkAddToProgramResponse, BulkApproveParticipantOptions, BulkApproveParticipantResponse, BulkApproveAllParticipantOptions, BulkApproveAllParticipantResponse, ParticipantAddedEnvelope, ParticipantApprovedEnvelope, ParticipantInvitedEnvelope, ParticipantsQueryBuilder, CursorQuery, typedQueryParticipants } from './index.typings.mjs';
|
|
3
|
+
export { ActionEvent, ApplicationError, BaseEventMetadata, Behavior, BehaviorBehaviorOneOf, Benefit, BenefitNotification, BenefitType, BenefitTypeWithLiterals, BulkActionMetadata, BulkAddAllToProgramRequest, BulkAddToProgramRequest, BulkAddToProgramResult, BulkApproveAllParticipantRequest, BulkApproveParticipantRequest, BulkApproveParticipantResult, BulkCreateParticipantRequest, BulkInviteAllToProgramRequest, BulkInviteToProgramRequest, BulkInviteToProgramResult, BulkParticipantResult, Certificate, CommonBulkActionMetadata, CommonItemMetadata, CreateParticipantRequest, CreateParticipantResponse, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, DeleteParticipantRequest, DeleteParticipantResponse, Discount, DiscountDiscountOneOf, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntryPass, Event, EventMetadata, EventWithLiterals, ExportParticipantsStatsRequest, ExportParticipantsStatsResponse, ExtendedFields, FreeCouponDetails, GetAccessStatusRequest, GetCompletionStatsRequest, GetParticipantRequest, GetParticipantResponse, GetPremiumStatsRequest, IdentificationData, IdentificationDataIdOneOf, IssueCertificateRequest, ItemMetadata, JoinPath, JoinPathWithLiterals, JoinedInfo, JoinedInfoJoinPathDetailsOneOf, Member, MessageEnvelope, PaidPlanDetails, ParticipantAdded, ParticipantApproved, ParticipantExportsFinished, ParticipantInvited, ParticipantsQueryResult, Progress, QueryParticipantsRequest, QueryParticipantsResponse, RestoreInfo, SinglePaymentDetails, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createParticipant$1(httpClient: HttpClient): CreateParticipantSignature;
|
|
6
6
|
interface CreateParticipantSignature {
|
|
@@ -8,7 +8,9 @@ interface CreateParticipantSignature {
|
|
|
8
8
|
* @param - Participant to create
|
|
9
9
|
* @returns Created participant
|
|
10
10
|
*/
|
|
11
|
-
(participant: Participant): Promise<NonNullablePaths<Participant, `memberId` | `programId` | `progress.totalStepsCompleted` | `progress.totalStepsAvailable` | `progress.completionPercentage` | `state` | `joinedInfo.timeZone` | `joinedInfo.startDate` | `joinedInfo.joinPath` | `member.contactId`,
|
|
11
|
+
(participant: Participant): Promise<NonNullablePaths<Participant, `memberId` | `programId` | `progress.totalStepsCompleted` | `progress.totalStepsAvailable` | `progress.completionPercentage` | `state` | `joinedInfo.singlePaymentDetails.paymentOrderId` | `joinedInfo.paidPlanDetails.paidPlanId` | `joinedInfo.freeCouponDetails.freeCouponId` | `joinedInfo.timeZone` | `joinedInfo.startDate` | `joinedInfo.joinPath` | `member.contactId`, 4> & {
|
|
12
|
+
__applicationErrorsType?: CreateParticipantApplicationErrors;
|
|
13
|
+
}>;
|
|
12
14
|
}
|
|
13
15
|
declare function bulkCreateParticipant$1(httpClient: HttpClient): BulkCreateParticipantSignature;
|
|
14
16
|
interface BulkCreateParticipantSignature {
|
|
@@ -43,7 +45,7 @@ interface IssueCertificateSignature {
|
|
|
43
45
|
* Issue certificate by site admin
|
|
44
46
|
* @param - Participant to get certificate
|
|
45
47
|
*/
|
|
46
|
-
(participantId: string): Promise<NonNullablePaths<IssueCertificateResponse, `participant.memberId` | `participant.programId` | `participant.progress.totalStepsCompleted` | `participant.progress.totalStepsAvailable` | `participant.progress.completionPercentage` | `participant.state` | `participant.joinedInfo.timeZone` | `participant.joinedInfo.startDate` | `participant.joinedInfo.joinPath` | `participant.member.contactId`,
|
|
48
|
+
(participantId: string): Promise<NonNullablePaths<IssueCertificateResponse, `participant.memberId` | `participant.programId` | `participant.progress.totalStepsCompleted` | `participant.progress.totalStepsAvailable` | `participant.progress.completionPercentage` | `participant.state` | `participant.joinedInfo.singlePaymentDetails.paymentOrderId` | `participant.joinedInfo.paidPlanDetails.paidPlanId` | `participant.joinedInfo.freeCouponDetails.freeCouponId` | `participant.joinedInfo.timeZone` | `participant.joinedInfo.startDate` | `participant.joinedInfo.joinPath` | `participant.member.contactId`, 5>>;
|
|
47
49
|
}
|
|
48
50
|
declare function getCompletionStats$1(httpClient: HttpClient): GetCompletionStatsSignature;
|
|
49
51
|
interface GetCompletionStatsSignature {
|
|
@@ -67,7 +69,7 @@ interface GetParticipantSignature {
|
|
|
67
69
|
* @param - Participant id to fetch
|
|
68
70
|
* @returns existing participant
|
|
69
71
|
*/
|
|
70
|
-
(participantId: string): Promise<NonNullablePaths<Participant, `memberId` | `programId` | `progress.totalStepsCompleted` | `progress.totalStepsAvailable` | `progress.completionPercentage` | `state` | `joinedInfo.timeZone` | `joinedInfo.startDate` | `joinedInfo.joinPath` | `member.contactId`,
|
|
72
|
+
(participantId: string): Promise<NonNullablePaths<Participant, `memberId` | `programId` | `progress.totalStepsCompleted` | `progress.totalStepsAvailable` | `progress.completionPercentage` | `state` | `joinedInfo.singlePaymentDetails.paymentOrderId` | `joinedInfo.paidPlanDetails.paidPlanId` | `joinedInfo.freeCouponDetails.freeCouponId` | `joinedInfo.timeZone` | `joinedInfo.startDate` | `joinedInfo.joinPath` | `member.contactId`, 4>>;
|
|
71
73
|
}
|
|
72
74
|
declare function getAccessStatus$1(httpClient: HttpClient): GetAccessStatusSignature;
|
|
73
75
|
interface GetAccessStatusSignature {
|
|
@@ -152,4 +154,4 @@ declare const onParticipantApproved: BuildEventDefinition<typeof onParticipantAp
|
|
|
152
154
|
/** */
|
|
153
155
|
declare const onParticipantInvited: BuildEventDefinition<typeof onParticipantInvited$1> & typeof onParticipantInvited$1;
|
|
154
156
|
|
|
155
|
-
export { BulkAddAllToProgramOptions, BulkAddAllToProgramResponse, BulkAddToProgramOptions, BulkAddToProgramResponse, BulkApproveAllParticipantOptions, BulkApproveAllParticipantResponse, BulkApproveParticipantOptions, BulkApproveParticipantResponse, BulkCreateParticipantOptions, BulkCreateParticipantResponse, BulkInviteAllToProgramOptions, BulkInviteAllToProgramResponse, BulkInviteToProgramOptions, BulkInviteToProgramResponse, CursorQuery, GetAccessStatusResponse, GetCompletionStatsResponse, GetPremiumStatsResponse, IssueCertificateResponse, Participant, ParticipantAddedEnvelope, ParticipantApprovedEnvelope, ParticipantInvitedEnvelope, ParticipantsQueryBuilder, bulkAddAllToProgram, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkCreateParticipant, bulkInviteAllToProgram, bulkInviteToProgram, createParticipant, deleteParticipant, getAccessStatus, getCompletionStats, getParticipant, getPremiumStats, issueCertificate, onParticipantAdded, onParticipantApproved, onParticipantInvited, queryParticipants };
|
|
157
|
+
export { BulkAddAllToProgramOptions, BulkAddAllToProgramResponse, BulkAddToProgramOptions, BulkAddToProgramResponse, BulkApproveAllParticipantOptions, BulkApproveAllParticipantResponse, BulkApproveParticipantOptions, BulkApproveParticipantResponse, BulkCreateParticipantOptions, BulkCreateParticipantResponse, BulkInviteAllToProgramOptions, BulkInviteAllToProgramResponse, BulkInviteToProgramOptions, BulkInviteToProgramResponse, CreateParticipantApplicationErrors, CursorQuery, GetAccessStatusResponse, GetCompletionStatsResponse, GetPremiumStatsResponse, IssueCertificateResponse, Participant, ParticipantAddedEnvelope, ParticipantApprovedEnvelope, ParticipantInvitedEnvelope, ParticipantsQueryBuilder, bulkAddAllToProgram, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkCreateParticipant, bulkInviteAllToProgram, bulkInviteToProgram, createParticipant, deleteParticipant, getAccessStatus, getCompletionStats, getParticipant, getPremiumStats, issueCertificate, onParticipantAdded, onParticipantApproved, onParticipantInvited, queryParticipants };
|
package/build/es/index.mjs
CHANGED
|
@@ -225,8 +225,7 @@ function createParticipant(payload) {
|
|
|
225
225
|
{ path: "participant.createdDate" },
|
|
226
226
|
{ path: "participant.updatedDate" },
|
|
227
227
|
{ path: "participant.lastActivityDate" },
|
|
228
|
-
{ path: "participant.certificate.issuedDate" }
|
|
229
|
-
{ path: "participant.joinedInfo.joinedAt" }
|
|
228
|
+
{ path: "participant.certificate.issuedDate" }
|
|
230
229
|
]
|
|
231
230
|
},
|
|
232
231
|
{
|
|
@@ -255,8 +254,7 @@ function createParticipant(payload) {
|
|
|
255
254
|
{ path: "participant.createdDate" },
|
|
256
255
|
{ path: "participant.updatedDate" },
|
|
257
256
|
{ path: "participant.lastActivityDate" },
|
|
258
|
-
{ path: "participant.certificate.issuedDate" }
|
|
259
|
-
{ path: "participant.joinedInfo.joinedAt" }
|
|
257
|
+
{ path: "participant.certificate.issuedDate" }
|
|
260
258
|
]
|
|
261
259
|
},
|
|
262
260
|
{
|
|
@@ -278,8 +276,7 @@ function bulkCreateParticipant(payload) {
|
|
|
278
276
|
{ path: "participants.createdDate" },
|
|
279
277
|
{ path: "participants.updatedDate" },
|
|
280
278
|
{ path: "participants.lastActivityDate" },
|
|
281
|
-
{ path: "participants.certificate.issuedDate" }
|
|
282
|
-
{ path: "participants.joinedInfo.joinedAt" }
|
|
279
|
+
{ path: "participants.certificate.issuedDate" }
|
|
283
280
|
]
|
|
284
281
|
},
|
|
285
282
|
{
|
|
@@ -308,8 +305,7 @@ function bulkCreateParticipant(payload) {
|
|
|
308
305
|
{ path: "results.item.createdDate" },
|
|
309
306
|
{ path: "results.item.updatedDate" },
|
|
310
307
|
{ path: "results.item.lastActivityDate" },
|
|
311
|
-
{ path: "results.item.certificate.issuedDate" }
|
|
312
|
-
{ path: "results.item.joinedInfo.joinedAt" }
|
|
308
|
+
{ path: "results.item.certificate.issuedDate" }
|
|
313
309
|
]
|
|
314
310
|
},
|
|
315
311
|
{
|
|
@@ -387,8 +383,7 @@ function issueCertificate(payload) {
|
|
|
387
383
|
{ path: "participant.createdDate" },
|
|
388
384
|
{ path: "participant.updatedDate" },
|
|
389
385
|
{ path: "participant.lastActivityDate" },
|
|
390
|
-
{ path: "participant.certificate.issuedDate" }
|
|
391
|
-
{ path: "participant.joinedInfo.joinedAt" }
|
|
386
|
+
{ path: "participant.certificate.issuedDate" }
|
|
392
387
|
]
|
|
393
388
|
},
|
|
394
389
|
{
|
|
@@ -472,8 +467,7 @@ function getParticipant(payload) {
|
|
|
472
467
|
{ path: "participant.createdDate" },
|
|
473
468
|
{ path: "participant.updatedDate" },
|
|
474
469
|
{ path: "participant.lastActivityDate" },
|
|
475
|
-
{ path: "participant.certificate.issuedDate" }
|
|
476
|
-
{ path: "participant.joinedInfo.joinedAt" }
|
|
470
|
+
{ path: "participant.certificate.issuedDate" }
|
|
477
471
|
]
|
|
478
472
|
},
|
|
479
473
|
{
|
|
@@ -509,8 +503,7 @@ function queryParticipants(payload) {
|
|
|
509
503
|
{ path: "participants.createdDate" },
|
|
510
504
|
{ path: "participants.updatedDate" },
|
|
511
505
|
{ path: "participants.lastActivityDate" },
|
|
512
|
-
{ path: "participants.certificate.issuedDate" }
|
|
513
|
-
{ path: "participants.joinedInfo.joinedAt" }
|
|
506
|
+
{ path: "participants.certificate.issuedDate" }
|
|
514
507
|
]
|
|
515
508
|
},
|
|
516
509
|
{
|
|
@@ -567,8 +560,7 @@ function bulkInviteToProgram(payload) {
|
|
|
567
560
|
{ path: "results.item.createdDate" },
|
|
568
561
|
{ path: "results.item.updatedDate" },
|
|
569
562
|
{ path: "results.item.lastActivityDate" },
|
|
570
|
-
{ path: "results.item.certificate.issuedDate" }
|
|
571
|
-
{ path: "results.item.joinedInfo.joinedAt" }
|
|
563
|
+
{ path: "results.item.certificate.issuedDate" }
|
|
572
564
|
]
|
|
573
565
|
},
|
|
574
566
|
{
|
|
@@ -625,8 +617,7 @@ function bulkAddToProgram(payload) {
|
|
|
625
617
|
{ path: "results.item.createdDate" },
|
|
626
618
|
{ path: "results.item.updatedDate" },
|
|
627
619
|
{ path: "results.item.lastActivityDate" },
|
|
628
|
-
{ path: "results.item.certificate.issuedDate" }
|
|
629
|
-
{ path: "results.item.joinedInfo.joinedAt" }
|
|
620
|
+
{ path: "results.item.certificate.issuedDate" }
|
|
630
621
|
]
|
|
631
622
|
},
|
|
632
623
|
{
|
|
@@ -662,8 +653,7 @@ function bulkApproveParticipant(payload) {
|
|
|
662
653
|
{ path: "results.item.createdDate" },
|
|
663
654
|
{ path: "results.item.updatedDate" },
|
|
664
655
|
{ path: "results.item.lastActivityDate" },
|
|
665
|
-
{ path: "results.item.certificate.issuedDate" }
|
|
666
|
-
{ path: "results.item.joinedInfo.joinedAt" }
|
|
656
|
+
{ path: "results.item.certificate.issuedDate" }
|
|
667
657
|
]
|
|
668
658
|
},
|
|
669
659
|
{
|