@wix/auto_sdk_online-programs_participants 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/cjs/meta.js CHANGED
@@ -250,6 +250,9 @@ function joinProgram(payload) {
250
250
  method: "POST",
251
251
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.JoinProgram",
252
252
  packageName: PACKAGE_NAME,
253
+ migrationOptions: {
254
+ optInTransformResponse: true
255
+ },
253
256
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
254
257
  protoPath: "/v3/participants/join",
255
258
  data: payload,
@@ -282,6 +285,9 @@ function getParticipant(payload) {
282
285
  method: "GET",
283
286
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant",
284
287
  packageName: PACKAGE_NAME,
288
+ migrationOptions: {
289
+ optInTransformResponse: true
290
+ },
285
291
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
286
292
  protoPath: "/v3/participants/{participantId}",
287
293
  data: payload,
@@ -314,6 +320,9 @@ function leaveProgram(payload) {
314
320
  method: "POST",
315
321
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.LeaveProgram",
316
322
  packageName: PACKAGE_NAME,
323
+ migrationOptions: {
324
+ optInTransformResponse: true
325
+ },
317
326
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
318
327
  protoPath: "/v3/participants/{participantId}/leave",
319
328
  data: payload,
@@ -332,6 +341,9 @@ function queryParticipants(payload) {
332
341
  method: "POST",
333
342
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants",
334
343
  packageName: PACKAGE_NAME,
344
+ migrationOptions: {
345
+ optInTransformResponse: true
346
+ },
335
347
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
336
348
  protoPath: "/v3/participants/query",
337
349
  data: payload,
@@ -364,6 +376,9 @@ function getAccessStatus(payload) {
364
376
  method: "GET",
365
377
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetAccessStatus",
366
378
  packageName: PACKAGE_NAME,
379
+ migrationOptions: {
380
+ optInTransformResponse: true
381
+ },
367
382
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
368
383
  protoPath: "/v3/participants/access",
369
384
  data: payload,
@@ -382,6 +397,9 @@ function applyCoupon(payload) {
382
397
  method: "POST",
383
398
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.ApplyCoupon",
384
399
  packageName: PACKAGE_NAME,
400
+ migrationOptions: {
401
+ optInTransformResponse: true
402
+ },
385
403
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
386
404
  protoPath: "/v3/participants/{participantId}/coupons/{couponCode}/apply",
387
405
  data: payload,
@@ -410,6 +428,9 @@ function revertCoupon(payload) {
410
428
  method: "POST",
411
429
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.RevertCoupon",
412
430
  packageName: PACKAGE_NAME,
431
+ migrationOptions: {
432
+ optInTransformResponse: true
433
+ },
413
434
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
414
435
  protoPath: "/v3/participants/{participantId}/coupons/{couponId}/revert",
415
436
  data: payload,
@@ -434,6 +455,9 @@ function bulkInviteToProgram(payload) {
434
455
  method: "POST",
435
456
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteToProgram",
436
457
  packageName: PACKAGE_NAME,
458
+ migrationOptions: {
459
+ optInTransformResponse: true
460
+ },
437
461
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
438
462
  protoPath: "/v3/bulk/participants/invite",
439
463
  data: payload,
@@ -466,6 +490,9 @@ function bulkInviteAllToProgram(payload) {
466
490
  method: "POST",
467
491
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteAllToProgram",
468
492
  packageName: PACKAGE_NAME,
493
+ migrationOptions: {
494
+ optInTransformResponse: true
495
+ },
469
496
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
470
497
  protoPath: "/v3/bulk/participants/invite-all",
471
498
  data: payload,
@@ -484,6 +511,9 @@ function bulkAddToProgram(payload) {
484
511
  method: "POST",
485
512
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddToProgram",
486
513
  packageName: PACKAGE_NAME,
514
+ migrationOptions: {
515
+ optInTransformResponse: true
516
+ },
487
517
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
488
518
  protoPath: "/v3/bulk/participants/add",
489
519
  data: payload,
@@ -516,6 +546,9 @@ function bulkAddAllToProgram(payload) {
516
546
  method: "POST",
517
547
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddAllToProgram",
518
548
  packageName: PACKAGE_NAME,
549
+ migrationOptions: {
550
+ optInTransformResponse: true
551
+ },
519
552
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
520
553
  protoPath: "/v3/bulk/participants/add-all",
521
554
  data: payload,
@@ -534,6 +567,9 @@ function bulkApproveParticipant(payload) {
534
567
  method: "POST",
535
568
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveParticipant",
536
569
  packageName: PACKAGE_NAME,
570
+ migrationOptions: {
571
+ optInTransformResponse: true
572
+ },
537
573
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
538
574
  protoPath: "/v3/bulk/participants/approve",
539
575
  data: payload,
@@ -566,6 +602,9 @@ function bulkApproveAllParticipant(payload) {
566
602
  method: "POST",
567
603
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveAllParticipant",
568
604
  packageName: PACKAGE_NAME,
605
+ migrationOptions: {
606
+ optInTransformResponse: true
607
+ },
569
608
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
570
609
  protoPath: "/v3/bulk/participants/approve-all",
571
610
  data: payload,
@@ -584,6 +623,9 @@ function deleteParticipant(payload) {
584
623
  method: "DELETE",
585
624
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.DeleteParticipant",
586
625
  packageName: PACKAGE_NAME,
626
+ migrationOptions: {
627
+ optInTransformResponse: true
628
+ },
587
629
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
588
630
  protoPath: "/v3/participants/{participantId}",
589
631
  data: payload,
@@ -602,6 +644,9 @@ function issueCertificate(payload) {
602
644
  method: "POST",
603
645
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.IssueCertificate",
604
646
  packageName: PACKAGE_NAME,
647
+ migrationOptions: {
648
+ optInTransformResponse: true
649
+ },
605
650
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
606
651
  protoPath: "/v3/participants/{participantId}/issue-certificate",
607
652
  data: payload,
@@ -634,6 +679,9 @@ function getCompletionStats(payload) {
634
679
  method: "GET",
635
680
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.GetCompletionStats",
636
681
  packageName: PACKAGE_NAME,
682
+ migrationOptions: {
683
+ optInTransformResponse: true
684
+ },
637
685
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
638
686
  protoPath: "/v3/stats/completion/{programId}",
639
687
  data: payload,
@@ -658,6 +706,9 @@ function getPremiumStats(payload) {
658
706
  method: "GET",
659
707
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.GetPremiumStats",
660
708
  packageName: PACKAGE_NAME,
709
+ migrationOptions: {
710
+ optInTransformResponse: true
711
+ },
661
712
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
662
713
  protoPath: "/v3/stats/premium",
663
714
  data: payload,
@@ -676,6 +727,9 @@ function exportParticipantsStats(payload) {
676
727
  method: "GET",
677
728
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantExportsService.ExportParticipantsStats",
678
729
  packageName: PACKAGE_NAME,
730
+ migrationOptions: {
731
+ optInTransformResponse: true
732
+ },
679
733
  url: resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl({
680
734
  protoPath: "/v3/participants/export/{programId}",
681
735
  data: payload,
@@ -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,IACA,wBAAwB;AAA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C;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.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","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;AA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1E,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"]}