@wix/auto_sdk_online-programs_participants 1.0.0 → 1.0.2

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../meta.ts","../../src/online-programs-v3-participant-participants.http.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 { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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\n/**\n * Member joins the program. By the type of program, participant in corresponding\n * state will be created.\n */\nexport function joinProgram(payload: object): RequestOptionsFactory<any> {\n function __joinProgram({ 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.JoinProgram',\n packageName: PACKAGE_NAME,\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/join',\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.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 __joinProgram;\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 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.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/** Participant leaves program. Entity will be deleted. Idempotent call. */\nexport function leaveProgram(payload: object): RequestOptionsFactory<any> {\n function __leaveProgram({ 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.LeaveProgram',\n packageName: PACKAGE_NAME,\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}/leave',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __leaveProgram;\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 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.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 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/** Apply coupon to order */\nexport function applyCoupon(payload: object): RequestOptionsFactory<any> {\n function __applyCoupon({ 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.ApplyCoupon',\n packageName: PACKAGE_NAME,\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath:\n '/v3/participants/{participantId}/coupons/{couponCode}/apply',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'subTotal' },\n { path: 'discount' },\n { path: 'total' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __applyCoupon;\n}\n\n/** Remove coupon from order */\nexport function revertCoupon(payload: object): RequestOptionsFactory<any> {\n function __revertCoupon({ 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.RevertCoupon',\n packageName: PACKAGE_NAME,\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}/coupons/{couponId}/revert',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'total' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __revertCoupon;\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 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.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 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 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.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 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.ManageParticipantsService.BulkAddAllToProgram',\n packageName: PACKAGE_NAME,\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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 * 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 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.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 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/**\n * Delete participant from program by owner will. 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.ManageParticipantsService.DeleteParticipant',\n packageName: PACKAGE_NAME,\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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.ManageParticipantsService.IssueCertificate',\n packageName: PACKAGE_NAME,\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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.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.ManageParticipantsService.GetCompletionStats',\n packageName: PACKAGE_NAME,\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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.ManageParticipantsService.GetPremiumStats',\n packageName: PACKAGE_NAME,\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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/** 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 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","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 joinProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.JoinProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.JoinProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.JoinProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.JoinProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.joinProgram(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/join',\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 leaveProgram(): __PublicMethodMetaInfo<\n 'POST',\n { participantId: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.LeaveProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.LeaveProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.LeaveProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.LeaveProgramResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.leaveProgram(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}/leave',\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 applyCoupon(): __PublicMethodMetaInfo<\n 'POST',\n { participantId: string; couponCode: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.ApplyCouponRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.ApplyCouponRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.ApplyCouponResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.ApplyCouponResponse\n> {\n const payload = {\n participantId: ':participantId',\n couponCode: ':couponCode',\n } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.applyCoupon(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}/coupons/{couponCode}/apply',\n pathParams: { participantId: 'participantId', couponCode: 'couponCode' },\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 revertCoupon(): __PublicMethodMetaInfo<\n 'POST',\n { participantId: string; couponId: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.RevertCouponRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.RevertCouponRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.RevertCouponResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.RevertCouponResponse\n> {\n const payload = {\n participantId: ':participantId',\n couponId: ':couponId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.revertCoupon(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}/coupons/{couponId}/revert',\n pathParams: { participantId: 'participantId', couponId: 'couponId' },\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 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 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 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 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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,qBAAAA;AAAA,EAAA,2BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,oBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,uBAAqD;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,IAC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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":["applyCoupon","bulkAddAllToProgram","bulkAddToProgram","bulkApproveAllParticipant","bulkApproveParticipant","bulkInviteAllToProgram","bulkInviteToProgram","deleteParticipant","exportParticipantsStats","getAccessStatus","getCompletionStats","getParticipant","getPremiumStats","issueCertificate","joinProgram","leaveProgram","queryParticipants","revertCoupon","import_rest_modules","payload","joinProgram","getParticipant","leaveProgram","queryParticipants","getAccessStatus","applyCoupon","revertCoupon","bulkInviteToProgram","bulkInviteAllToProgram","bulkAddToProgram","bulkAddAllToProgram","bulkApproveParticipant","bulkApproveAllParticipant","deleteParticipant","issueCertificate","getCompletionStats","getPremiumStats","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 { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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\n/**\n * Member joins the program. By the type of program, participant in corresponding\n * state will be created.\n */\nexport function joinProgram(payload: object): RequestOptionsFactory<any> {\n function __joinProgram({ 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.JoinProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/join',\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.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 __joinProgram;\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.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/** Participant leaves program. Entity will be deleted. Idempotent call. */\nexport function leaveProgram(payload: object): RequestOptionsFactory<any> {\n function __leaveProgram({ 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.LeaveProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}/leave',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __leaveProgram;\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.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/** Apply coupon to order */\nexport function applyCoupon(payload: object): RequestOptionsFactory<any> {\n function __applyCoupon({ 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.ApplyCoupon',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath:\n '/v3/participants/{participantId}/coupons/{couponCode}/apply',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'subTotal' },\n { path: 'discount' },\n { path: 'total' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __applyCoupon;\n}\n\n/** Remove coupon from order */\nexport function revertCoupon(payload: object): RequestOptionsFactory<any> {\n function __revertCoupon({ 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.RevertCoupon',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({\n protoPath: '/v3/participants/{participantId}/coupons/{couponId}/revert',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'total' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __revertCoupon;\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.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.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 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.ManageParticipantsService.BulkAddAllToProgram',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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 * 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.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/**\n * Delete participant from program by owner will. 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.ManageParticipantsService.DeleteParticipant',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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.ManageParticipantsService.IssueCertificate',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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.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.ManageParticipantsService.GetCompletionStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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.ManageParticipantsService.GetPremiumStats',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({\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/** 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 extends ParticipantStateOptionsOneOf {\n paymentPendingOptions?: PaymentPendingOptions;\n joinedOptions?: JoinedOptions;\n completedOptions?: CompletedOptions;\n failedOptions?: FailedOptions;\n suspendedOptions?: SuspendedOptions;\n /** options for auto removed participant */\n autoRemovedOptions?: AutoRemovedOptions;\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 extendedFields?: ExtendedFields;\n}\n\n/** @oneof */\nexport interface ParticipantStateOptionsOneOf {\n paymentPendingOptions?: PaymentPendingOptions;\n joinedOptions?: JoinedOptions;\n completedOptions?: CompletedOptions;\n failedOptions?: FailedOptions;\n suspendedOptions?: SuspendedOptions;\n /** options for auto removed participant */\n autoRemovedOptions?: AutoRemovedOptions;\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 SinglePaymentOptions {\n orderId?: string;\n}\n\nexport interface PaidPlanOptions {\n /** @maxSize 10 */\n planIds?: string[];\n}\n\nexport interface FreeCouponOptions {\n couponId?: 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 invited to participate in program */\n INVITED = 'INVITED',\n /** Member asked owner to participate in program */\n APPROVAL_PENDING = 'APPROVAL_PENDING',\n PAYMENT_PENDING = 'PAYMENT_PENDING',\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}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN_STATE'\n | 'INVITED'\n | 'APPROVAL_PENDING'\n | 'PAYMENT_PENDING'\n | 'JOINED'\n | 'COMPLETED'\n | 'FAILED'\n | 'SUSPENDED'\n | 'AUTO_REMOVED';\n\nexport interface Certificate {\n /**\n * when certificate was issued, UTC\n * @readonly\n */\n issuedDate?: Date | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface PaymentPendingOptions {\n /**\n * Payment order\n * @format GUID\n */\n paymentOrderId?: string | null;\n /**\n * Offline payment transaction\n * @format GUID\n */\n offlineTrxId?: string | null;\n /**\n * Pricing plans\n * @format GUID\n * @maxSize 10\n */\n paidPlanIds?: string[];\n}\n\nexport interface JoinedOptions extends JoinedOptionsJoinPathOptionsOneOf {\n singlePaymentOptions?: SinglePaymentOptions;\n paidPlanOptions?: PaidPlanOptions;\n freeCouponOptions?: FreeCouponOptions;\n timeZone?: string;\n /** @format LOCAL_DATE */\n startDate?: string;\n joinPath?: JoinPathWithLiterals;\n}\n\n/** @oneof */\nexport interface JoinedOptionsJoinPathOptionsOneOf {\n singlePaymentOptions?: SinglePaymentOptions;\n paidPlanOptions?: PaidPlanOptions;\n freeCouponOptions?: FreeCouponOptions;\n}\n\nexport interface CompletedOptions {\n /**\n * date participant started the program\n * @format LOCAL_DATE\n */\n startDate?: string;\n}\n\nexport interface FailedOptions {\n /**\n * date participant started the program\n * @format LOCAL_DATE\n */\n startDate?: string;\n}\n\nexport interface SuspendedOptions {\n /**\n * date participant started the program\n * @format LOCAL_DATE\n */\n startDate?: string;\n}\n\nexport interface AutoRemovedOptions {\n /**\n * date participant started the program\n * @format LOCAL_DATE\n */\n startDate?: string;\n}\n\nexport interface ParticipantsBulkCompleteEvent {\n /**\n * Program ID\n * @format GUID\n */\n programId?: string;\n /**\n * Optional cursor for the next result page\n * @maxLength 16000\n */\n cursorNext?: string | null;\n}\n\nexport interface ParticipantsBulkDeleteEvent {\n /**\n * Program ID\n * @format GUID\n */\n programId?: string;\n /**\n * Optional cursor for the next result page\n * @maxLength 16000\n */\n cursorNext?: string | null;\n}\n\nexport interface JoinProgramRequest {\n /**\n * Program to join\n * @format GUID\n */\n programId: string;\n}\n\nexport interface JoinProgramResponse {\n /** Created participant with corresponding state */\n participant?: Participant;\n}\n\nexport interface ParticipantJoined {\n /** Joined participant */\n participant?: Participant;\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 LeaveProgramRequest {\n /**\n * Participant id to leave program\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface LeaveProgramResponse {}\n\nexport interface ParticipantLeft {\n /**\n * Participant id who left\n * @format GUID\n */\n participantId?: string;\n /**\n * Program id participant left\n * @format GUID\n */\n programId?: string;\n /**\n * Participant's member id\n * @format GUID\n */\n memberId?: string;\n /** Reason for removal */\n removalReason?: RemovalReasonWithLiterals;\n}\n\nexport enum RemovalReason {\n /** Default for backward compatibility */\n UNKNOWN_REMOVAL_REASON = 'UNKNOWN_REMOVAL_REASON',\n /** User-initiated leave */\n LEGITIMATE_LEAVE = 'LEGITIMATE_LEAVE',\n /** Cleanup during rejoin flow */\n CLEANUP_FOR_REJOIN = 'CLEANUP_FOR_REJOIN',\n /** Cleanup during manual addition */\n CLEANUP_FOR_MANUAL_ADD = 'CLEANUP_FOR_MANUAL_ADD',\n}\n\n/** @enumType */\nexport type RemovalReasonWithLiterals =\n | RemovalReason\n | 'UNKNOWN_REMOVAL_REASON'\n | 'LEGITIMATE_LEAVE'\n | 'CLEANUP_FOR_REJOIN'\n | 'CLEANUP_FOR_MANUAL_ADD';\n\nexport interface QueryParticipantsRequest {\n /** Platformized query */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Number of items to load.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * You can get the relevant cursor token\n * from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\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 the response. */\n count?: number | null;\n /** Offset that was requested. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /** Cursor pointing to next page in the list of results. */\n next?: string | null;\n /** Cursor pointing to previous page in the list of results. */\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 ApplyCouponRequest {\n /** @format GUID */\n participantId: string;\n /** @format GUID */\n orderId: string;\n couponCode: string;\n}\n\nexport interface ApplyCouponResponse {\n /** @format GUID */\n couponId?: string;\n subTotal?: number;\n discount?: number;\n total?: number;\n}\n\nexport interface RevertCouponRequest {\n /** @format GUID */\n participantId: string;\n /** @format GUID */\n orderId: string;\n /** @format GUID */\n couponId: string;\n}\n\nexport interface RevertCouponResponse {\n total?: number;\n}\n\n/** This webhook is triggered whenever a payment transaction is updated (including refunds) via specific [Wix Apps](https://dev.wix.com/api/rest/wix-payments/about-wix-payments). */\nexport interface PaymentEvent extends PaymentEventEventOneOf {\n /** `TRANSACTION_STATUS_CHANGED` event details. */\n transactionStatusChangedEvent?: TransactionStatusChangedEvent;\n /** `REFUND_STATUS_CHANGED` event details. */\n refundStatusChangedEvent?: RefundStatusChangedEvent;\n /**\n * `RECURRING_PAYMENT_STATUS_CHANGED` event details.\n * @deprecated `RECURRING_PAYMENT_STATUS_CHANGED` event details.\n * @targetRemovalDate 2026-06-30\n */\n recurringPaymentStatusChangedEvent?: RecurringPaymentStatusChangedEvent;\n /** `TRANSACTION_UPDATED` event details. */\n transactionUpdatedEvent?: TransactionUpdatedEvent;\n /** `TRANSACTION_CREATED` event details. */\n transactionCreatedEvent?: TransactionCreatedEvent;\n /**\n * Unique event ID.\n * @format GUID\n */\n id?: string;\n /** Event timestamp */\n eventTime?: Date | null;\n /**\n * ID of the [Wix app](https://dev.wix.com/docs/rest/articles/getting-started/wix-business-solutions) that triggered this event.\n * @maxLength 100\n */\n wixAppId?: string;\n /**\n * Unique ID assigned to each Wix app in each site.\n * @format GUID\n */\n wixAppInstanceId?: string;\n /** Event type. */\n eventType?: EventTypeWithLiterals;\n /**\n * ID of Wix app that mediated between Wix Payments and the Wix app that triggered the event (if relevant).\n * @maxLength 100\n */\n managingWixAppId?: string | null;\n}\n\n/** @oneof */\nexport interface PaymentEventEventOneOf {\n /** `TRANSACTION_STATUS_CHANGED` event details. */\n transactionStatusChangedEvent?: TransactionStatusChangedEvent;\n /** `REFUND_STATUS_CHANGED` event details. */\n refundStatusChangedEvent?: RefundStatusChangedEvent;\n /**\n * `RECURRING_PAYMENT_STATUS_CHANGED` event details.\n * @deprecated `RECURRING_PAYMENT_STATUS_CHANGED` event details.\n * @targetRemovalDate 2026-06-30\n */\n recurringPaymentStatusChangedEvent?: RecurringPaymentStatusChangedEvent;\n /** `TRANSACTION_UPDATED` event details. */\n transactionUpdatedEvent?: TransactionUpdatedEvent;\n /** `TRANSACTION_CREATED` event details. */\n transactionCreatedEvent?: TransactionCreatedEvent;\n}\n\nexport enum EventType {\n UNDEFINED = 'UNDEFINED',\n /** Fired when a transaction's status changes. */\n TRANSACTION_STATUS_CHANGED = 'TRANSACTION_STATUS_CHANGED',\n /** Fired when a refund's status changes. */\n REFUND_STATUS_CHANGED = 'REFUND_STATUS_CHANGED',\n /** Fired when a legacy subscription's status changes. */\n RECURRING_PAYMENT_STATUS_CHANGED = 'RECURRING_PAYMENT_STATUS_CHANGED',\n /** Fired when a transaction is updated. */\n TRANSACTION_UPDATED = 'TRANSACTION_UPDATED',\n /** Fired when a transaction is created. */\n TRANSACTION_CREATED = 'TRANSACTION_CREATED',\n}\n\n/** @enumType */\nexport type EventTypeWithLiterals =\n | EventType\n | 'UNDEFINED'\n | 'TRANSACTION_STATUS_CHANGED'\n | 'REFUND_STATUS_CHANGED'\n | 'RECURRING_PAYMENT_STATUS_CHANGED'\n | 'TRANSACTION_UPDATED'\n | 'TRANSACTION_CREATED';\n\nexport interface TransactionStatusChangedEvent {\n /** Order details (limited to 30 items). */\n order?: Order;\n /** New transaction details. */\n transaction?: Transaction;\n /** Previous transaction status. */\n previousStatus?: TransactionStatusWithLiterals;\n}\n\nexport interface Order {\n id?: string;\n /** Wix app order ID */\n wixAppOrderId?: string;\n /** Wix app buyer ID */\n wixAppBuyerId?: string | null;\n /** Items included in the order */\n items?: OrderItem[];\n /**\n * total number of items in order\n * items_total_count > `items`.size if `items` doesn't contain all items\n */\n itemsTotalCount?: number;\n /** Additional charges to the order - e.g., tax, shipping or discount (optional) */\n additionalCharges?: OrderAdditionalCharges;\n /** Customer's shipping address (optional) */\n shippingAddress?: Address;\n /** Customer's shipping address details (optional) */\n shippingAddressContacts?: FullAddressContactDetails;\n /** Order creation date */\n createdAt?: Date | null;\n /** External data which is stored with the order */\n externalData?: Record<string, string>;\n /**\n * Vertical invoice ID\n * @maxLength 200\n */\n verticalInvoiceId?: string | null;\n /** the part of total amount taken by platform from the amount sent to merchant */\n platformFee?: number | null;\n}\n\n/** Item included in order */\nexport interface OrderItem {\n /** Order item ID (required) */\n id?: string;\n /** Order item name (required) */\n name?: string;\n /** Quantity (required) */\n quantity?: number;\n /** Total price charged for this item in the order - quantity * price (required) */\n price?: number;\n /** Order item description */\n description?: string;\n /** Weight of one item */\n weightInKg?: number;\n /** Whether the item is a physical a digital product */\n category?: OrderItemCategoryWithLiterals;\n}\n\n/** Order item type */\nexport enum OrderItemCategory {\n UNDEFINED = 'UNDEFINED',\n /** Physical product */\n PHYSICAL = 'PHYSICAL',\n /** Digital product */\n DIGITAL = 'DIGITAL',\n}\n\n/** @enumType */\nexport type OrderItemCategoryWithLiterals =\n | OrderItemCategory\n | 'UNDEFINED'\n | 'PHYSICAL'\n | 'DIGITAL';\n\n/** Describing any additional charges in the order. They are not required, but can't be added later. */\nexport interface OrderAdditionalCharges {\n /** Absolute taxes charged to the order */\n tax?: number;\n /** Shipping cost charged to the order */\n shipping?: number;\n /** Discount amount applied to the order */\n discount?: number;\n /** Application fee */\n applicationFee?: number;\n}\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: StreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine?: string | null;\n /**\n * Country code.\n * @format COUNTRY\n */\n country?: string | null;\n /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */\n subdivision?: string | null;\n /** City name. */\n city?: string | null;\n /** Zip/postal code. */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */\n addressLine2?: string | null;\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: StreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /** Short subdivision code. */\n code?: string;\n /** Subdivision full name. */\n name?: string;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\n/** Subdivision Concordance values */\nexport interface StandardDetails {\n /**\n * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30\n * @maxLength 20\n */\n iso31662?: string | null;\n}\n\n/** Full contact details for an address */\nexport interface FullAddressContactDetails {\n /** Contact's first name. */\n firstName?: string | null;\n /** Contact's last name. */\n lastName?: string | null;\n /**\n * Contact's phone number.\n * @format PHONE\n */\n phone?: string | null;\n /** Contact's company name. */\n company?: string | null;\n /**\n * Email associated with the address.\n * @format EMAIL\n */\n email?: string | null;\n /** Tax info. Currently usable only in Brazil. */\n vatId?: VatId;\n}\n\nexport interface VatId {\n /** Customer's tax ID. */\n id?: string;\n /**\n * Tax type.\n *\n * Supported values:\n * + `CPF`: for individual tax payers\n * + `CNPJ`: for corporations\n */\n type?: VatTypeWithLiterals;\n}\n\n/** tax info types */\nexport enum VatType {\n UNSPECIFIED = 'UNSPECIFIED',\n /** CPF - for individual tax payers. */\n CPF = 'CPF',\n /** CNPJ - for corporations */\n CNPJ = 'CNPJ',\n}\n\n/** @enumType */\nexport type VatTypeWithLiterals = VatType | 'UNSPECIFIED' | 'CPF' | 'CNPJ';\n\nexport interface Transaction extends TransactionPaymentMethodDataOneOf {\n creditCardPaymentMethodData?: CreditCardPaymentMethodData;\n /** Transaction ID */\n id?: string;\n /** Provider transaction ID */\n providerTransactionId?: string | null;\n /** Amount and currency of transaction */\n amount?: CurrencyAmount;\n /** Refunded amount and currency of transaction */\n refundedAmount?: CurrencyAmount;\n /** Updated transaction status */\n status?: TransactionStatusWithLiterals;\n /** Reason provided for status change */\n reasonCode?: string | null;\n /** Payment method */\n paymentMethod?: string;\n /** Payment service provider */\n paymentProvider?: string;\n /** Customer's billing address (optional) */\n billingAddress?: Address;\n /** Customer's billing address - contact details (optional) */\n billingAddressContacts?: FullAddressContactDetails;\n /** Details of subscription, which (if) the transaction is a part of */\n recurringPaymentDetails?: RecurringPaymentDetails;\n /** The details of a payment method account. */\n paymentMethodAccountInfo?: AccountInfo;\n /** Transaction creation date */\n createdAt?: Date | null;\n /** Total number of installments */\n installments?: number;\n /** Scheduled action for this transaction */\n scheduledAction?: ScheduledAction;\n /**\n * order id associated with the transaction on the vertical side\n * @minLength 1\n * @maxLength 100\n */\n verticalOrderId?: string | null;\n}\n\n/** @oneof */\nexport interface TransactionPaymentMethodDataOneOf {\n creditCardPaymentMethodData?: CreditCardPaymentMethodData;\n}\n\nexport interface CurrencyAmount {\n /** Amount */\n amount?: number;\n currency?: string;\n}\n\nexport enum TransactionStatus {\n UNDEFINED = 'UNDEFINED',\n APPROVED = 'APPROVED',\n PENDING = 'PENDING',\n PENDING_MERCHANT = 'PENDING_MERCHANT',\n CANCELED = 'CANCELED',\n DECLINED = 'DECLINED',\n REFUNDED = 'REFUNDED',\n PARTIALLY_REFUNDED = 'PARTIALLY_REFUNDED',\n AUTHORIZED = 'AUTHORIZED',\n VOIDED = 'VOIDED',\n}\n\n/** @enumType */\nexport type TransactionStatusWithLiterals =\n | TransactionStatus\n | 'UNDEFINED'\n | 'APPROVED'\n | 'PENDING'\n | 'PENDING_MERCHANT'\n | 'CANCELED'\n | 'DECLINED'\n | 'REFUNDED'\n | 'PARTIALLY_REFUNDED'\n | 'AUTHORIZED'\n | 'VOIDED';\n\nexport interface RecurringPaymentDetails {\n /** Current cycle number (Recurring payments only) */\n cycleNumber?: number;\n}\n\nexport interface CreditCardPaymentMethodData {\n /** Card issuing network */\n network?: string;\n /** Card number with only bin and last4 positions showed (non-PCI data) */\n maskedCreditCard?: string;\n /** Card holder's full name specified on the card. */\n holderName?: string;\n /** Card expiration month. */\n expiryMonth?: string;\n /**\n * Card expiration year.\n * @minLength 4\n * @maxLength 4\n */\n expiryYear?: string | null;\n /**\n * Card last 4 digits.\n * @minLength 4\n * @maxLength 4\n */\n lastFourDigits?: string | null;\n /**\n * Card BIN (Bank Identification Number). It's the first 4-8 digits of a card number.\n * @minLength 4\n * @maxLength 8\n */\n bin?: string | null;\n}\n\nexport interface AccountInfo {\n /**\n * The email of an Account used by Payment Method\n * @format EMAIL\n */\n email?: string | null;\n}\n\nexport interface ScheduledAction {\n /** type of the action */\n type?: ScheduledActionTypeWithLiterals;\n /** the date and time of the action */\n executionDate?: Date | null;\n}\n\nexport enum ScheduledActionType {\n VOID = 'VOID',\n CAPTURE = 'CAPTURE',\n}\n\n/** @enumType */\nexport type ScheduledActionTypeWithLiterals =\n | ScheduledActionType\n | 'VOID'\n | 'CAPTURE';\n\nexport interface RefundStatusChangedEvent {\n /** Order details (limited to 30 items). */\n order?: Order;\n /** Updated transaction details. */\n transaction?: Transaction;\n /** Updated refund details. */\n refund?: Refund;\n /** Previous refund status. */\n previousStatus?: RefundStatusWithLiterals;\n}\n\nexport interface Refund {\n id?: string;\n /** Amount and currency of refund */\n amount?: CurrencyAmount;\n /** Updated refund status */\n status?: RefundStatusWithLiterals;\n /** Reason provided for status change */\n reasonCode?: string | null;\n /** Refund creation date */\n createdAt?: Date | null;\n}\n\nexport enum RefundStatus {\n UNDEFINED = 'UNDEFINED',\n APPROVED = 'APPROVED',\n PENDING = 'PENDING',\n DECLINED = 'DECLINED',\n}\n\n/** @enumType */\nexport type RefundStatusWithLiterals =\n | RefundStatus\n | 'UNDEFINED'\n | 'APPROVED'\n | 'PENDING'\n | 'DECLINED';\n\nexport interface RecurringPaymentStatusChangedEvent {\n /** Order details(limited to 30 items). */\n order?: Order;\n /** Recurring payment status. */\n status?: StatusWithLiterals;\n /** Previous recurring payment status. */\n previousStatus?: StatusWithLiterals;\n /** Details of RecurringPayment cancellation (empty if `status` is not CANCELLED). */\n cancellationDetails?: RecurringPaymentCancellationDetails;\n}\n\nexport enum Status {\n UNDEFINED = 'UNDEFINED',\n PENDING = 'PENDING',\n ACTIVE = 'ACTIVE',\n CANCELLED = 'CANCELLED',\n FINISHED = 'FINISHED',\n SUSPENDED = 'SUSPENDED',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UNDEFINED'\n | 'PENDING'\n | 'ACTIVE'\n | 'CANCELLED'\n | 'FINISHED'\n | 'SUSPENDED';\n\nexport interface RecurringPaymentCancellationDetails {\n /** Initiator of cancellation */\n initiator?: InitiatorWithLiterals;\n /** Successfully paid recurring cycles count before the cancellation */\n paidRegularCycleCount?: number;\n}\n\nexport enum Initiator {\n UNDEFINED = 'UNDEFINED',\n BUYER = 'BUYER',\n MERCHANT = 'MERCHANT',\n PAYMENT = 'PAYMENT',\n SETUP = 'SETUP',\n}\n\n/** @enumType */\nexport type InitiatorWithLiterals =\n | Initiator\n | 'UNDEFINED'\n | 'BUYER'\n | 'MERCHANT'\n | 'PAYMENT'\n | 'SETUP';\n\nexport interface TransactionUpdatedEvent {\n /** Order details (limited to 30 items). */\n order?: Order;\n /** Updated transaction details. */\n transaction?: Transaction;\n /** Is event triggered by request to clean user data */\n triggeredByAnonymizeRequest?: boolean | null;\n}\n\nexport interface TransactionCreatedEvent {\n /** Order details (limited to 30 items). */\n order?: Order;\n /** Updated transaction details. */\n transaction?: Transaction;\n}\n\nexport interface Empty {}\n\nexport interface OfflinePaymentSent {\n /** Participant who started offline payment */\n participant?: Participant;\n}\n\nexport interface PaymentFailed {\n /** Participant whose payment was failed */\n participant?: Participant;\n}\n\nexport interface SinglePaymentConfirmed {\n /** Participant whose payment was confirmed */\n participant?: Participant;\n}\n\nexport interface SinglePaymentDeclined {\n /** Participant whose payment was declined */\n participant?: Participant;\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 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 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 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 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 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 /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\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 DeleteParticipantRequest {\n /**\n * Participants to delete\n * @format GUID\n */\n participantId: string;\n}\n\nexport interface DeleteParticipantResponse {}\n\nexport interface ParticipantRejected {\n /**\n * Program ID which participant rejected\n * @format GUID\n */\n programId?: string;\n /**\n * Member ID of participant rejected\n * @format GUID\n */\n memberId?: string;\n}\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 CompleteParticipantRequest {\n /**\n * ID of participant\n * @format GUID\n */\n participantId?: string;\n}\n\nexport interface CompleteParticipantResponse {\n /** Updated participant */\n participant?: Participant;\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 joinProgram(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.JoinProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.JoinProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.JoinProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.JoinProgramResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.joinProgram(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/join',\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 leaveProgram(): __PublicMethodMetaInfo<\n 'POST',\n { participantId: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.LeaveProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.LeaveProgramRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.LeaveProgramResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.LeaveProgramResponse\n> {\n const payload = { participantId: ':participantId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.leaveProgram(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}/leave',\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 applyCoupon(): __PublicMethodMetaInfo<\n 'POST',\n { participantId: string; couponCode: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.ApplyCouponRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.ApplyCouponRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.ApplyCouponResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.ApplyCouponResponse\n> {\n const payload = {\n participantId: ':participantId',\n couponCode: ':couponCode',\n } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.applyCoupon(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}/coupons/{couponCode}/apply',\n pathParams: { participantId: 'participantId', couponCode: 'couponCode' },\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 revertCoupon(): __PublicMethodMetaInfo<\n 'POST',\n { participantId: string; couponId: string },\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.RevertCouponRequest,\n ambassadorWixOnlineProgramsV3ParticipantTypes.RevertCouponRequest,\n ambassadorWixOnlineProgramsV3ParticipantUniversalTypes.RevertCouponResponse,\n ambassadorWixOnlineProgramsV3ParticipantTypes.RevertCouponResponse\n> {\n const payload = {\n participantId: ':participantId',\n couponId: ':couponId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Participant.revertCoupon(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}/coupons/{couponId}/revert',\n pathParams: { participantId: 'participantId', couponId: 'couponId' },\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 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 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 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 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 ParticipantStateOptionsOneOf as ParticipantStateOptionsOneOfOriginal,\n JoinPath as JoinPathOriginal,\n JoinPathWithLiterals as JoinPathWithLiteralsOriginal,\n SinglePaymentOptions as SinglePaymentOptionsOriginal,\n PaidPlanOptions as PaidPlanOptionsOriginal,\n FreeCouponOptions as FreeCouponOptionsOriginal,\n Progress as ProgressOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n Certificate as CertificateOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n PaymentPendingOptions as PaymentPendingOptionsOriginal,\n JoinedOptions as JoinedOptionsOriginal,\n JoinedOptionsJoinPathOptionsOneOf as JoinedOptionsJoinPathOptionsOneOfOriginal,\n CompletedOptions as CompletedOptionsOriginal,\n FailedOptions as FailedOptionsOriginal,\n SuspendedOptions as SuspendedOptionsOriginal,\n AutoRemovedOptions as AutoRemovedOptionsOriginal,\n ParticipantsBulkCompleteEvent as ParticipantsBulkCompleteEventOriginal,\n ParticipantsBulkDeleteEvent as ParticipantsBulkDeleteEventOriginal,\n JoinProgramRequest as JoinProgramRequestOriginal,\n JoinProgramResponse as JoinProgramResponseOriginal,\n ParticipantJoined as ParticipantJoinedOriginal,\n GetParticipantRequest as GetParticipantRequestOriginal,\n GetParticipantResponse as GetParticipantResponseOriginal,\n LeaveProgramRequest as LeaveProgramRequestOriginal,\n LeaveProgramResponse as LeaveProgramResponseOriginal,\n ParticipantLeft as ParticipantLeftOriginal,\n RemovalReason as RemovalReasonOriginal,\n RemovalReasonWithLiterals as RemovalReasonWithLiteralsOriginal,\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 ApplyCouponRequest as ApplyCouponRequestOriginal,\n ApplyCouponResponse as ApplyCouponResponseOriginal,\n RevertCouponRequest as RevertCouponRequestOriginal,\n RevertCouponResponse as RevertCouponResponseOriginal,\n PaymentEvent as PaymentEventOriginal,\n PaymentEventEventOneOf as PaymentEventEventOneOfOriginal,\n EventType as EventTypeOriginal,\n EventTypeWithLiterals as EventTypeWithLiteralsOriginal,\n TransactionStatusChangedEvent as TransactionStatusChangedEventOriginal,\n Order as OrderOriginal,\n OrderItem as OrderItemOriginal,\n OrderItemCategory as OrderItemCategoryOriginal,\n OrderItemCategoryWithLiterals as OrderItemCategoryWithLiteralsOriginal,\n OrderAdditionalCharges as OrderAdditionalChargesOriginal,\n Address as AddressOriginal,\n AddressStreetOneOf as AddressStreetOneOfOriginal,\n StreetAddress as StreetAddressOriginal,\n AddressLocation as AddressLocationOriginal,\n Subdivision as SubdivisionOriginal,\n SubdivisionType as SubdivisionTypeOriginal,\n SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal,\n StandardDetails as StandardDetailsOriginal,\n FullAddressContactDetails as FullAddressContactDetailsOriginal,\n VatId as VatIdOriginal,\n VatType as VatTypeOriginal,\n VatTypeWithLiterals as VatTypeWithLiteralsOriginal,\n Transaction as TransactionOriginal,\n TransactionPaymentMethodDataOneOf as TransactionPaymentMethodDataOneOfOriginal,\n CurrencyAmount as CurrencyAmountOriginal,\n TransactionStatus as TransactionStatusOriginal,\n TransactionStatusWithLiterals as TransactionStatusWithLiteralsOriginal,\n RecurringPaymentDetails as RecurringPaymentDetailsOriginal,\n CreditCardPaymentMethodData as CreditCardPaymentMethodDataOriginal,\n AccountInfo as AccountInfoOriginal,\n ScheduledAction as ScheduledActionOriginal,\n ScheduledActionType as ScheduledActionTypeOriginal,\n ScheduledActionTypeWithLiterals as ScheduledActionTypeWithLiteralsOriginal,\n RefundStatusChangedEvent as RefundStatusChangedEventOriginal,\n Refund as RefundOriginal,\n RefundStatus as RefundStatusOriginal,\n RefundStatusWithLiterals as RefundStatusWithLiteralsOriginal,\n RecurringPaymentStatusChangedEvent as RecurringPaymentStatusChangedEventOriginal,\n Status as StatusOriginal,\n StatusWithLiterals as StatusWithLiteralsOriginal,\n RecurringPaymentCancellationDetails as RecurringPaymentCancellationDetailsOriginal,\n Initiator as InitiatorOriginal,\n InitiatorWithLiterals as InitiatorWithLiteralsOriginal,\n TransactionUpdatedEvent as TransactionUpdatedEventOriginal,\n TransactionCreatedEvent as TransactionCreatedEventOriginal,\n Empty as EmptyOriginal,\n OfflinePaymentSent as OfflinePaymentSentOriginal,\n PaymentFailed as PaymentFailedOriginal,\n SinglePaymentConfirmed as SinglePaymentConfirmedOriginal,\n SinglePaymentDeclined as SinglePaymentDeclinedOriginal,\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 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 ApplicationError as ApplicationErrorOriginal,\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 ParticipantAdded as ParticipantAddedOriginal,\n BulkAddAllToProgramRequest as BulkAddAllToProgramRequestOriginal,\n BulkAddAllToProgramResponse as BulkAddAllToProgramResponseOriginal,\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 DeleteParticipantRequest as DeleteParticipantRequestOriginal,\n DeleteParticipantResponse as DeleteParticipantResponseOriginal,\n ParticipantRejected as ParticipantRejectedOriginal,\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 CompleteParticipantRequest as CompleteParticipantRequestOriginal,\n CompleteParticipantResponse as CompleteParticipantResponseOriginal,\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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAAA;AAAA,EAAA,2BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,oBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,uBAAqD;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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AAyB;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":["applyCoupon","bulkAddAllToProgram","bulkAddToProgram","bulkApproveAllParticipant","bulkApproveParticipant","bulkInviteAllToProgram","bulkInviteToProgram","deleteParticipant","exportParticipantsStats","getAccessStatus","getCompletionStats","getParticipant","getPremiumStats","issueCertificate","joinProgram","leaveProgram","queryParticipants","revertCoupon","import_rest_modules","payload","JoinPath","State","RemovalReason","SortOrder","EventType","OrderItemCategory","SubdivisionType","VatType","TransactionStatus","ScheduledActionType","RefundStatus","Status","Initiator","BenefitType","Event","WebhookIdentityType","joinProgram","getParticipant","leaveProgram","queryParticipants","getAccessStatus","applyCoupon","revertCoupon","bulkInviteToProgram","bulkInviteAllToProgram","bulkAddToProgram","bulkAddAllToProgram","bulkApproveParticipant","bulkApproveAllParticipant","deleteParticipant","issueCertificate","getCompletionStats","getPremiumStats","exportParticipantsStats"]}
@@ -222,6 +222,9 @@ function joinProgram(payload) {
222
222
  method: "POST",
223
223
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.JoinProgram",
224
224
  packageName: PACKAGE_NAME,
225
+ migrationOptions: {
226
+ optInTransformResponse: true
227
+ },
225
228
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
226
229
  protoPath: "/v3/participants/join",
227
230
  data: payload,
@@ -254,6 +257,9 @@ function getParticipant(payload) {
254
257
  method: "GET",
255
258
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant",
256
259
  packageName: PACKAGE_NAME,
260
+ migrationOptions: {
261
+ optInTransformResponse: true
262
+ },
257
263
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
258
264
  protoPath: "/v3/participants/{participantId}",
259
265
  data: payload,
@@ -286,6 +292,9 @@ function leaveProgram(payload) {
286
292
  method: "POST",
287
293
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.LeaveProgram",
288
294
  packageName: PACKAGE_NAME,
295
+ migrationOptions: {
296
+ optInTransformResponse: true
297
+ },
289
298
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
290
299
  protoPath: "/v3/participants/{participantId}/leave",
291
300
  data: payload,
@@ -304,6 +313,9 @@ function queryParticipants(payload) {
304
313
  method: "POST",
305
314
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants",
306
315
  packageName: PACKAGE_NAME,
316
+ migrationOptions: {
317
+ optInTransformResponse: true
318
+ },
307
319
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
308
320
  protoPath: "/v3/participants/query",
309
321
  data: payload,
@@ -336,6 +348,9 @@ function getAccessStatus(payload) {
336
348
  method: "GET",
337
349
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetAccessStatus",
338
350
  packageName: PACKAGE_NAME,
351
+ migrationOptions: {
352
+ optInTransformResponse: true
353
+ },
339
354
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
340
355
  protoPath: "/v3/participants/access",
341
356
  data: payload,
@@ -354,6 +369,9 @@ function applyCoupon(payload) {
354
369
  method: "POST",
355
370
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.ApplyCoupon",
356
371
  packageName: PACKAGE_NAME,
372
+ migrationOptions: {
373
+ optInTransformResponse: true
374
+ },
357
375
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
358
376
  protoPath: "/v3/participants/{participantId}/coupons/{couponCode}/apply",
359
377
  data: payload,
@@ -382,6 +400,9 @@ function revertCoupon(payload) {
382
400
  method: "POST",
383
401
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.RevertCoupon",
384
402
  packageName: PACKAGE_NAME,
403
+ migrationOptions: {
404
+ optInTransformResponse: true
405
+ },
385
406
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
386
407
  protoPath: "/v3/participants/{participantId}/coupons/{couponId}/revert",
387
408
  data: payload,
@@ -406,6 +427,9 @@ function bulkInviteToProgram(payload) {
406
427
  method: "POST",
407
428
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteToProgram",
408
429
  packageName: PACKAGE_NAME,
430
+ migrationOptions: {
431
+ optInTransformResponse: true
432
+ },
409
433
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
410
434
  protoPath: "/v3/bulk/participants/invite",
411
435
  data: payload,
@@ -438,6 +462,9 @@ function bulkInviteAllToProgram(payload) {
438
462
  method: "POST",
439
463
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteAllToProgram",
440
464
  packageName: PACKAGE_NAME,
465
+ migrationOptions: {
466
+ optInTransformResponse: true
467
+ },
441
468
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
442
469
  protoPath: "/v3/bulk/participants/invite-all",
443
470
  data: payload,
@@ -456,6 +483,9 @@ function bulkAddToProgram(payload) {
456
483
  method: "POST",
457
484
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddToProgram",
458
485
  packageName: PACKAGE_NAME,
486
+ migrationOptions: {
487
+ optInTransformResponse: true
488
+ },
459
489
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
460
490
  protoPath: "/v3/bulk/participants/add",
461
491
  data: payload,
@@ -488,6 +518,9 @@ function bulkAddAllToProgram(payload) {
488
518
  method: "POST",
489
519
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddAllToProgram",
490
520
  packageName: PACKAGE_NAME,
521
+ migrationOptions: {
522
+ optInTransformResponse: true
523
+ },
491
524
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
492
525
  protoPath: "/v3/bulk/participants/add-all",
493
526
  data: payload,
@@ -506,6 +539,9 @@ function bulkApproveParticipant(payload) {
506
539
  method: "POST",
507
540
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveParticipant",
508
541
  packageName: PACKAGE_NAME,
542
+ migrationOptions: {
543
+ optInTransformResponse: true
544
+ },
509
545
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
510
546
  protoPath: "/v3/bulk/participants/approve",
511
547
  data: payload,
@@ -538,6 +574,9 @@ function bulkApproveAllParticipant(payload) {
538
574
  method: "POST",
539
575
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveAllParticipant",
540
576
  packageName: PACKAGE_NAME,
577
+ migrationOptions: {
578
+ optInTransformResponse: true
579
+ },
541
580
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
542
581
  protoPath: "/v3/bulk/participants/approve-all",
543
582
  data: payload,
@@ -556,6 +595,9 @@ function deleteParticipant(payload) {
556
595
  method: "DELETE",
557
596
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.DeleteParticipant",
558
597
  packageName: PACKAGE_NAME,
598
+ migrationOptions: {
599
+ optInTransformResponse: true
600
+ },
559
601
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
560
602
  protoPath: "/v3/participants/{participantId}",
561
603
  data: payload,
@@ -574,6 +616,9 @@ function issueCertificate(payload) {
574
616
  method: "POST",
575
617
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.IssueCertificate",
576
618
  packageName: PACKAGE_NAME,
619
+ migrationOptions: {
620
+ optInTransformResponse: true
621
+ },
577
622
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
578
623
  protoPath: "/v3/participants/{participantId}/issue-certificate",
579
624
  data: payload,
@@ -606,6 +651,9 @@ function getCompletionStats(payload) {
606
651
  method: "GET",
607
652
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.GetCompletionStats",
608
653
  packageName: PACKAGE_NAME,
654
+ migrationOptions: {
655
+ optInTransformResponse: true
656
+ },
609
657
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
610
658
  protoPath: "/v3/stats/completion/{programId}",
611
659
  data: payload,
@@ -630,6 +678,9 @@ function getPremiumStats(payload) {
630
678
  method: "GET",
631
679
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.GetPremiumStats",
632
680
  packageName: PACKAGE_NAME,
681
+ migrationOptions: {
682
+ optInTransformResponse: true
683
+ },
633
684
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
634
685
  protoPath: "/v3/stats/premium",
635
686
  data: payload,
@@ -648,6 +699,9 @@ function exportParticipantsStats(payload) {
648
699
  method: "GET",
649
700
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantExportsService.ExportParticipantsStats",
650
701
  packageName: PACKAGE_NAME,
702
+ migrationOptions: {
703
+ optInTransformResponse: true
704
+ },
651
705
  url: resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl({
652
706
  protoPath: "/v3/participants/export/{programId}",
653
707
  data: payload,