@wix/auto_sdk_online-programs_participants 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +71 -103
  2. package/build/cjs/index.js +490 -706
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +295 -914
  5. package/build/cjs/index.typings.js +370 -501
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +213 -757
  8. package/build/cjs/meta.js +277 -418
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +71 -103
  11. package/build/es/index.mjs +495 -695
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +295 -914
  14. package/build/es/index.typings.mjs +391 -511
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +213 -757
  17. package/build/es/meta.mjs +261 -390
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +71 -103
  20. package/build/internal/cjs/index.js +490 -706
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +295 -914
  23. package/build/internal/cjs/index.typings.js +370 -501
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +213 -757
  26. package/build/internal/cjs/meta.js +277 -418
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +71 -103
  29. package/build/internal/es/index.mjs +495 -695
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +295 -914
  32. package/build/internal/es/index.typings.mjs +391 -511
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +213 -757
  35. package/build/internal/es/meta.mjs +261 -390
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -1,6 +1,8 @@
1
1
  // src/online-programs-v3-participant-participants.http.ts
2
2
  import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
+ import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
3
4
  import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
5
+ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
4
6
  import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
5
7
  import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
6
8
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
@@ -200,29 +202,47 @@ function resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl(opts) {
200
202
  return resolveUrl(Object.assign(opts, { domainToMappings }));
201
203
  }
202
204
  var PACKAGE_NAME = "@wix/auto_sdk_online-programs_participants";
203
- function joinProgram(payload) {
204
- function __joinProgram({ host }) {
205
+ function createParticipant(payload) {
206
+ function __createParticipant({ host }) {
207
+ const serializedData = transformPaths(payload, [
208
+ {
209
+ transformFn: transformSDKTimestampToRESTTimestamp,
210
+ paths: [
211
+ { path: "participant.createdDate" },
212
+ { path: "participant.updatedDate" },
213
+ { path: "participant.lastActivityDate" },
214
+ { path: "participant.certificate.issuedDate" },
215
+ { path: "participant.joinedInfo.joinedAt" }
216
+ ]
217
+ },
218
+ {
219
+ transformFn: transformSDKFloatToRESTFloat,
220
+ paths: [{ path: "participant.progress.completionPercentage" }]
221
+ }
222
+ ]);
205
223
  const metadata = {
206
224
  entityFqdn: "wix.online_programs.v3.participant",
207
225
  method: "POST",
208
- methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.JoinProgram",
226
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.CreateParticipant",
209
227
  packageName: PACKAGE_NAME,
210
228
  migrationOptions: {
211
229
  optInTransformResponse: true
212
230
  },
213
231
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
214
- protoPath: "/v3/participants/join",
215
- data: payload,
232
+ protoPath: "/v3/participants",
233
+ data: serializedData,
216
234
  host
217
235
  }),
218
- data: payload,
236
+ data: serializedData,
219
237
  transformResponse: (payload2) => transformPaths(payload2, [
220
238
  {
221
239
  transformFn: transformRESTTimestampToSDKTimestamp,
222
240
  paths: [
223
241
  { path: "participant.createdDate" },
224
242
  { path: "participant.updatedDate" },
225
- { path: "participant.certificate.issuedDate" }
243
+ { path: "participant.lastActivityDate" },
244
+ { path: "participant.certificate.issuedDate" },
245
+ { path: "participant.joinedInfo.joinedAt" }
226
246
  ]
227
247
  },
228
248
  {
@@ -233,55 +253,73 @@ function joinProgram(payload) {
233
253
  };
234
254
  return metadata;
235
255
  }
236
- return __joinProgram;
256
+ return __createParticipant;
237
257
  }
238
- function getParticipant(payload) {
239
- function __getParticipant({ host }) {
258
+ function bulkCreateParticipant(payload) {
259
+ function __bulkCreateParticipant({ host }) {
260
+ const serializedData = transformPaths(payload, [
261
+ {
262
+ transformFn: transformSDKTimestampToRESTTimestamp,
263
+ paths: [
264
+ { path: "participants.createdDate" },
265
+ { path: "participants.updatedDate" },
266
+ { path: "participants.lastActivityDate" },
267
+ { path: "participants.certificate.issuedDate" },
268
+ { path: "participants.joinedInfo.joinedAt" }
269
+ ]
270
+ },
271
+ {
272
+ transformFn: transformSDKFloatToRESTFloat,
273
+ paths: [{ path: "participants.progress.completionPercentage" }]
274
+ }
275
+ ]);
240
276
  const metadata = {
241
277
  entityFqdn: "wix.online_programs.v3.participant",
242
- method: "GET",
243
- methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant",
278
+ method: "POST",
279
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipant",
244
280
  packageName: PACKAGE_NAME,
245
281
  migrationOptions: {
246
282
  optInTransformResponse: true
247
283
  },
248
284
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
249
- protoPath: "/v3/participants/{participantId}",
250
- data: payload,
285
+ protoPath: "/v3/bulk/participants/create",
286
+ data: serializedData,
251
287
  host
252
288
  }),
253
- params: toURLSearchParams(payload),
289
+ data: serializedData,
254
290
  transformResponse: (payload2) => transformPaths(payload2, [
255
291
  {
256
292
  transformFn: transformRESTTimestampToSDKTimestamp,
257
293
  paths: [
258
- { path: "participant.createdDate" },
259
- { path: "participant.updatedDate" },
260
- { path: "participant.certificate.issuedDate" }
294
+ { path: "results.item.createdDate" },
295
+ { path: "results.item.updatedDate" },
296
+ { path: "results.item.lastActivityDate" },
297
+ { path: "results.item.certificate.issuedDate" },
298
+ { path: "results.item.joinedInfo.joinedAt" }
261
299
  ]
262
300
  },
263
301
  {
264
302
  transformFn: transformRESTFloatToSDKFloat,
265
- paths: [{ path: "participant.progress.completionPercentage" }]
303
+ paths: [{ path: "results.item.progress.completionPercentage" }]
266
304
  }
267
305
  ])
268
306
  };
269
307
  return metadata;
270
308
  }
271
- return __getParticipant;
309
+ return __bulkCreateParticipant;
272
310
  }
273
- function leaveProgram(payload) {
274
- function __leaveProgram({ host }) {
311
+ function bulkAddAllToProgram(payload) {
312
+ function __bulkAddAllToProgram({ host }) {
275
313
  const metadata = {
276
314
  entityFqdn: "wix.online_programs.v3.participant",
277
315
  method: "POST",
278
- methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.LeaveProgram",
316
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkAddAllToProgram",
279
317
  packageName: PACKAGE_NAME,
280
318
  migrationOptions: {
281
319
  optInTransformResponse: true
282
320
  },
283
321
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
284
- protoPath: "/v3/participants/{participantId}/leave",
322
+ protoPath: "/v3/bulk/participants/add-all",
285
323
  data: payload,
286
324
  host
287
325
  }),
@@ -289,20 +327,41 @@ function leaveProgram(payload) {
289
327
  };
290
328
  return metadata;
291
329
  }
292
- return __leaveProgram;
330
+ return __bulkAddAllToProgram;
293
331
  }
294
- function queryParticipants(payload) {
295
- function __queryParticipants({ host }) {
332
+ function deleteParticipant(payload) {
333
+ function __deleteParticipant({ host }) {
334
+ const metadata = {
335
+ entityFqdn: "wix.online_programs.v3.participant",
336
+ method: "DELETE",
337
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.DeleteParticipant",
338
+ packageName: PACKAGE_NAME,
339
+ migrationOptions: {
340
+ optInTransformResponse: true
341
+ },
342
+ url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
343
+ protoPath: "/v3/participants/{participantId}",
344
+ data: payload,
345
+ host
346
+ }),
347
+ params: toURLSearchParams(payload)
348
+ };
349
+ return metadata;
350
+ }
351
+ return __deleteParticipant;
352
+ }
353
+ function issueCertificate(payload) {
354
+ function __issueCertificate({ host }) {
296
355
  const metadata = {
297
356
  entityFqdn: "wix.online_programs.v3.participant",
298
357
  method: "POST",
299
- methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants",
358
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.IssueCertificate",
300
359
  packageName: PACKAGE_NAME,
301
360
  migrationOptions: {
302
361
  optInTransformResponse: true
303
362
  },
304
363
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
305
- protoPath: "/v3/participants/query",
364
+ protoPath: "/v3/participants/{participantId}/issue-certificate",
306
365
  data: payload,
307
366
  host
308
367
  }),
@@ -311,33 +370,62 @@ function queryParticipants(payload) {
311
370
  {
312
371
  transformFn: transformRESTTimestampToSDKTimestamp,
313
372
  paths: [
314
- { path: "participants.createdDate" },
315
- { path: "participants.updatedDate" },
316
- { path: "participants.certificate.issuedDate" }
373
+ { path: "participant.createdDate" },
374
+ { path: "participant.updatedDate" },
375
+ { path: "participant.lastActivityDate" },
376
+ { path: "participant.certificate.issuedDate" },
377
+ { path: "participant.joinedInfo.joinedAt" }
317
378
  ]
318
379
  },
319
380
  {
320
381
  transformFn: transformRESTFloatToSDKFloat,
321
- paths: [{ path: "participants.progress.completionPercentage" }]
382
+ paths: [{ path: "participant.progress.completionPercentage" }]
322
383
  }
323
384
  ])
324
385
  };
325
386
  return metadata;
326
387
  }
327
- return __queryParticipants;
388
+ return __issueCertificate;
328
389
  }
329
- function getAccessStatus(payload) {
330
- function __getAccessStatus({ host }) {
390
+ function getCompletionStats(payload) {
391
+ function __getCompletionStats({ host }) {
331
392
  const metadata = {
332
393
  entityFqdn: "wix.online_programs.v3.participant",
333
394
  method: "GET",
334
- methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetAccessStatus",
395
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetCompletionStats",
335
396
  packageName: PACKAGE_NAME,
336
397
  migrationOptions: {
337
398
  optInTransformResponse: true
338
399
  },
339
400
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
340
- protoPath: "/v3/participants/access",
401
+ protoPath: "/v3/stats/completion/{programId}",
402
+ data: payload,
403
+ host
404
+ }),
405
+ params: toURLSearchParams(payload),
406
+ transformResponse: (payload2) => transformPaths(payload2, [
407
+ {
408
+ transformFn: transformRESTFloatToSDKFloat,
409
+ paths: [{ path: "completionRate" }]
410
+ }
411
+ ])
412
+ };
413
+ return metadata;
414
+ }
415
+ return __getCompletionStats;
416
+ }
417
+ function getPremiumStats(payload) {
418
+ function __getPremiumStats({ host }) {
419
+ const metadata = {
420
+ entityFqdn: "wix.online_programs.v3.participant",
421
+ method: "GET",
422
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetPremiumStats",
423
+ packageName: PACKAGE_NAME,
424
+ migrationOptions: {
425
+ optInTransformResponse: true
426
+ },
427
+ url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
428
+ protoPath: "/v3/stats/premium",
341
429
  data: payload,
342
430
  host
343
431
  }),
@@ -345,65 +433,102 @@ function getAccessStatus(payload) {
345
433
  };
346
434
  return metadata;
347
435
  }
348
- return __getAccessStatus;
436
+ return __getPremiumStats;
349
437
  }
350
- function applyCoupon(payload) {
351
- function __applyCoupon({ host }) {
438
+ function getParticipant(payload) {
439
+ function __getParticipant({ host }) {
352
440
  const metadata = {
353
441
  entityFqdn: "wix.online_programs.v3.participant",
354
- method: "POST",
355
- methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.ApplyCoupon",
442
+ method: "GET",
443
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant",
356
444
  packageName: PACKAGE_NAME,
357
445
  migrationOptions: {
358
446
  optInTransformResponse: true
359
447
  },
360
448
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
361
- protoPath: "/v3/participants/{participantId}/coupons/{couponCode}/apply",
449
+ protoPath: "/v3/participants/{participantId}",
362
450
  data: payload,
363
451
  host
364
452
  }),
365
- data: payload,
453
+ params: toURLSearchParams(payload),
366
454
  transformResponse: (payload2) => transformPaths(payload2, [
367
455
  {
368
- transformFn: transformRESTFloatToSDKFloat,
456
+ transformFn: transformRESTTimestampToSDKTimestamp,
369
457
  paths: [
370
- { path: "subTotal" },
371
- { path: "discount" },
372
- { path: "total" }
458
+ { path: "participant.createdDate" },
459
+ { path: "participant.updatedDate" },
460
+ { path: "participant.lastActivityDate" },
461
+ { path: "participant.certificate.issuedDate" },
462
+ { path: "participant.joinedInfo.joinedAt" }
373
463
  ]
464
+ },
465
+ {
466
+ transformFn: transformRESTFloatToSDKFloat,
467
+ paths: [{ path: "participant.progress.completionPercentage" }]
374
468
  }
375
469
  ])
376
470
  };
377
471
  return metadata;
378
472
  }
379
- return __applyCoupon;
473
+ return __getParticipant;
380
474
  }
381
- function revertCoupon(payload) {
382
- function __revertCoupon({ host }) {
475
+ function queryParticipants(payload) {
476
+ function __queryParticipants({ host }) {
383
477
  const metadata = {
384
478
  entityFqdn: "wix.online_programs.v3.participant",
385
479
  method: "POST",
386
- methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.RevertCoupon",
480
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants",
387
481
  packageName: PACKAGE_NAME,
388
482
  migrationOptions: {
389
483
  optInTransformResponse: true
390
484
  },
391
485
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
392
- protoPath: "/v3/participants/{participantId}/coupons/{couponId}/revert",
486
+ protoPath: "/v3/participants/query",
393
487
  data: payload,
394
488
  host
395
489
  }),
396
490
  data: payload,
397
491
  transformResponse: (payload2) => transformPaths(payload2, [
492
+ {
493
+ transformFn: transformRESTTimestampToSDKTimestamp,
494
+ paths: [
495
+ { path: "participants.createdDate" },
496
+ { path: "participants.updatedDate" },
497
+ { path: "participants.lastActivityDate" },
498
+ { path: "participants.certificate.issuedDate" },
499
+ { path: "participants.joinedInfo.joinedAt" }
500
+ ]
501
+ },
398
502
  {
399
503
  transformFn: transformRESTFloatToSDKFloat,
400
- paths: [{ path: "total" }]
504
+ paths: [{ path: "participants.progress.completionPercentage" }]
401
505
  }
402
506
  ])
403
507
  };
404
508
  return metadata;
405
509
  }
406
- return __revertCoupon;
510
+ return __queryParticipants;
511
+ }
512
+ function getAccessStatus(payload) {
513
+ function __getAccessStatus({ host }) {
514
+ const metadata = {
515
+ entityFqdn: "wix.online_programs.v3.participant",
516
+ method: "GET",
517
+ methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetAccessStatus",
518
+ packageName: PACKAGE_NAME,
519
+ migrationOptions: {
520
+ optInTransformResponse: true
521
+ },
522
+ url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
523
+ protoPath: "/v3/participants/access",
524
+ data: payload,
525
+ host
526
+ }),
527
+ params: toURLSearchParams(payload)
528
+ };
529
+ return metadata;
530
+ }
531
+ return __getAccessStatus;
407
532
  }
408
533
  function bulkInviteToProgram(payload) {
409
534
  function __bulkInviteToProgram({ host }) {
@@ -427,7 +552,9 @@ function bulkInviteToProgram(payload) {
427
552
  paths: [
428
553
  { path: "results.item.createdDate" },
429
554
  { path: "results.item.updatedDate" },
430
- { path: "results.item.certificate.issuedDate" }
555
+ { path: "results.item.lastActivityDate" },
556
+ { path: "results.item.certificate.issuedDate" },
557
+ { path: "results.item.joinedInfo.joinedAt" }
431
558
  ]
432
559
  },
433
560
  {
@@ -483,7 +610,9 @@ function bulkAddToProgram(payload) {
483
610
  paths: [
484
611
  { path: "results.item.createdDate" },
485
612
  { path: "results.item.updatedDate" },
486
- { path: "results.item.certificate.issuedDate" }
613
+ { path: "results.item.lastActivityDate" },
614
+ { path: "results.item.certificate.issuedDate" },
615
+ { path: "results.item.joinedInfo.joinedAt" }
487
616
  ]
488
617
  },
489
618
  {
@@ -496,27 +625,6 @@ function bulkAddToProgram(payload) {
496
625
  }
497
626
  return __bulkAddToProgram;
498
627
  }
499
- function bulkAddAllToProgram(payload) {
500
- function __bulkAddAllToProgram({ host }) {
501
- const metadata = {
502
- entityFqdn: "wix.online_programs.v3.participant",
503
- method: "POST",
504
- methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddAllToProgram",
505
- packageName: PACKAGE_NAME,
506
- migrationOptions: {
507
- optInTransformResponse: true
508
- },
509
- url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
510
- protoPath: "/v3/bulk/participants/add-all",
511
- data: payload,
512
- host
513
- }),
514
- data: payload
515
- };
516
- return metadata;
517
- }
518
- return __bulkAddAllToProgram;
519
- }
520
628
  function bulkApproveParticipant(payload) {
521
629
  function __bulkApproveParticipant({ host }) {
522
630
  const metadata = {
@@ -539,7 +647,9 @@ function bulkApproveParticipant(payload) {
539
647
  paths: [
540
648
  { path: "results.item.createdDate" },
541
649
  { path: "results.item.updatedDate" },
542
- { path: "results.item.certificate.issuedDate" }
650
+ { path: "results.item.lastActivityDate" },
651
+ { path: "results.item.certificate.issuedDate" },
652
+ { path: "results.item.joinedInfo.joinedAt" }
543
653
  ]
544
654
  },
545
655
  {
@@ -573,110 +683,6 @@ function bulkApproveAllParticipant(payload) {
573
683
  }
574
684
  return __bulkApproveAllParticipant;
575
685
  }
576
- function deleteParticipant(payload) {
577
- function __deleteParticipant({ host }) {
578
- const metadata = {
579
- entityFqdn: "wix.online_programs.v3.participant",
580
- method: "DELETE",
581
- methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.DeleteParticipant",
582
- packageName: PACKAGE_NAME,
583
- migrationOptions: {
584
- optInTransformResponse: true
585
- },
586
- url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
587
- protoPath: "/v3/participants/{participantId}",
588
- data: payload,
589
- host
590
- }),
591
- params: toURLSearchParams(payload)
592
- };
593
- return metadata;
594
- }
595
- return __deleteParticipant;
596
- }
597
- function issueCertificate(payload) {
598
- function __issueCertificate({ host }) {
599
- const metadata = {
600
- entityFqdn: "wix.online_programs.v3.participant",
601
- method: "POST",
602
- methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.IssueCertificate",
603
- packageName: PACKAGE_NAME,
604
- migrationOptions: {
605
- optInTransformResponse: true
606
- },
607
- url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
608
- protoPath: "/v3/participants/{participantId}/issue-certificate",
609
- data: payload,
610
- host
611
- }),
612
- data: payload,
613
- transformResponse: (payload2) => transformPaths(payload2, [
614
- {
615
- transformFn: transformRESTTimestampToSDKTimestamp,
616
- paths: [
617
- { path: "participant.createdDate" },
618
- { path: "participant.updatedDate" },
619
- { path: "participant.certificate.issuedDate" }
620
- ]
621
- },
622
- {
623
- transformFn: transformRESTFloatToSDKFloat,
624
- paths: [{ path: "participant.progress.completionPercentage" }]
625
- }
626
- ])
627
- };
628
- return metadata;
629
- }
630
- return __issueCertificate;
631
- }
632
- function getCompletionStats(payload) {
633
- function __getCompletionStats({ host }) {
634
- const metadata = {
635
- entityFqdn: "wix.online_programs.v3.participant",
636
- method: "GET",
637
- methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.GetCompletionStats",
638
- packageName: PACKAGE_NAME,
639
- migrationOptions: {
640
- optInTransformResponse: true
641
- },
642
- url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
643
- protoPath: "/v3/stats/completion/{programId}",
644
- data: payload,
645
- host
646
- }),
647
- params: toURLSearchParams(payload),
648
- transformResponse: (payload2) => transformPaths(payload2, [
649
- {
650
- transformFn: transformRESTFloatToSDKFloat,
651
- paths: [{ path: "completionRate" }]
652
- }
653
- ])
654
- };
655
- return metadata;
656
- }
657
- return __getCompletionStats;
658
- }
659
- function getPremiumStats(payload) {
660
- function __getPremiumStats({ host }) {
661
- const metadata = {
662
- entityFqdn: "wix.online_programs.v3.participant",
663
- method: "GET",
664
- methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.GetPremiumStats",
665
- packageName: PACKAGE_NAME,
666
- migrationOptions: {
667
- optInTransformResponse: true
668
- },
669
- url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
670
- protoPath: "/v3/stats/premium",
671
- data: payload,
672
- host
673
- }),
674
- params: toURLSearchParams(payload)
675
- };
676
- return metadata;
677
- }
678
- return __getPremiumStats;
679
- }
680
686
  function exportParticipantsStats(payload) {
681
687
  function __exportParticipantsStats({ host }) {
682
688
  const metadata = {
@@ -711,101 +717,20 @@ var JoinPath = /* @__PURE__ */ ((JoinPath2) => {
711
717
  })(JoinPath || {});
712
718
  var State = /* @__PURE__ */ ((State2) => {
713
719
  State2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
714
- State2["INVITED"] = "INVITED";
715
- State2["APPROVAL_PENDING"] = "APPROVAL_PENDING";
716
- State2["PAYMENT_PENDING"] = "PAYMENT_PENDING";
717
720
  State2["JOINED"] = "JOINED";
718
721
  State2["COMPLETED"] = "COMPLETED";
719
722
  State2["FAILED"] = "FAILED";
720
723
  State2["SUSPENDED"] = "SUSPENDED";
721
724
  State2["AUTO_REMOVED"] = "AUTO_REMOVED";
725
+ State2["REMOVED"] = "REMOVED";
726
+ State2["LEFT"] = "LEFT";
722
727
  return State2;
723
728
  })(State || {});
724
- var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
725
- RemovalReason2["UNKNOWN_REMOVAL_REASON"] = "UNKNOWN_REMOVAL_REASON";
726
- RemovalReason2["LEGITIMATE_LEAVE"] = "LEGITIMATE_LEAVE";
727
- RemovalReason2["CLEANUP_FOR_REJOIN"] = "CLEANUP_FOR_REJOIN";
728
- RemovalReason2["CLEANUP_FOR_MANUAL_ADD"] = "CLEANUP_FOR_MANUAL_ADD";
729
- return RemovalReason2;
730
- })(RemovalReason || {});
731
729
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
732
730
  SortOrder2["ASC"] = "ASC";
733
731
  SortOrder2["DESC"] = "DESC";
734
732
  return SortOrder2;
735
733
  })(SortOrder || {});
736
- var EventType = /* @__PURE__ */ ((EventType2) => {
737
- EventType2["UNDEFINED"] = "UNDEFINED";
738
- EventType2["TRANSACTION_STATUS_CHANGED"] = "TRANSACTION_STATUS_CHANGED";
739
- EventType2["REFUND_STATUS_CHANGED"] = "REFUND_STATUS_CHANGED";
740
- EventType2["RECURRING_PAYMENT_STATUS_CHANGED"] = "RECURRING_PAYMENT_STATUS_CHANGED";
741
- EventType2["TRANSACTION_UPDATED"] = "TRANSACTION_UPDATED";
742
- EventType2["TRANSACTION_CREATED"] = "TRANSACTION_CREATED";
743
- return EventType2;
744
- })(EventType || {});
745
- var OrderItemCategory = /* @__PURE__ */ ((OrderItemCategory2) => {
746
- OrderItemCategory2["UNDEFINED"] = "UNDEFINED";
747
- OrderItemCategory2["PHYSICAL"] = "PHYSICAL";
748
- OrderItemCategory2["DIGITAL"] = "DIGITAL";
749
- return OrderItemCategory2;
750
- })(OrderItemCategory || {});
751
- var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
752
- SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
753
- SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
754
- SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
755
- SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
756
- SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
757
- SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
758
- SubdivisionType2["COUNTRY"] = "COUNTRY";
759
- return SubdivisionType2;
760
- })(SubdivisionType || {});
761
- var VatType = /* @__PURE__ */ ((VatType2) => {
762
- VatType2["UNSPECIFIED"] = "UNSPECIFIED";
763
- VatType2["CPF"] = "CPF";
764
- VatType2["CNPJ"] = "CNPJ";
765
- return VatType2;
766
- })(VatType || {});
767
- var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
768
- TransactionStatus2["UNDEFINED"] = "UNDEFINED";
769
- TransactionStatus2["APPROVED"] = "APPROVED";
770
- TransactionStatus2["PENDING"] = "PENDING";
771
- TransactionStatus2["PENDING_MERCHANT"] = "PENDING_MERCHANT";
772
- TransactionStatus2["CANCELED"] = "CANCELED";
773
- TransactionStatus2["DECLINED"] = "DECLINED";
774
- TransactionStatus2["REFUNDED"] = "REFUNDED";
775
- TransactionStatus2["PARTIALLY_REFUNDED"] = "PARTIALLY_REFUNDED";
776
- TransactionStatus2["AUTHORIZED"] = "AUTHORIZED";
777
- TransactionStatus2["VOIDED"] = "VOIDED";
778
- return TransactionStatus2;
779
- })(TransactionStatus || {});
780
- var ScheduledActionType = /* @__PURE__ */ ((ScheduledActionType2) => {
781
- ScheduledActionType2["VOID"] = "VOID";
782
- ScheduledActionType2["CAPTURE"] = "CAPTURE";
783
- return ScheduledActionType2;
784
- })(ScheduledActionType || {});
785
- var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
786
- RefundStatus2["UNDEFINED"] = "UNDEFINED";
787
- RefundStatus2["APPROVED"] = "APPROVED";
788
- RefundStatus2["PENDING"] = "PENDING";
789
- RefundStatus2["DECLINED"] = "DECLINED";
790
- return RefundStatus2;
791
- })(RefundStatus || {});
792
- var Status = /* @__PURE__ */ ((Status2) => {
793
- Status2["UNDEFINED"] = "UNDEFINED";
794
- Status2["PENDING"] = "PENDING";
795
- Status2["ACTIVE"] = "ACTIVE";
796
- Status2["CANCELLED"] = "CANCELLED";
797
- Status2["FINISHED"] = "FINISHED";
798
- Status2["SUSPENDED"] = "SUSPENDED";
799
- return Status2;
800
- })(Status || {});
801
- var Initiator = /* @__PURE__ */ ((Initiator2) => {
802
- Initiator2["UNDEFINED"] = "UNDEFINED";
803
- Initiator2["BUYER"] = "BUYER";
804
- Initiator2["MERCHANT"] = "MERCHANT";
805
- Initiator2["PAYMENT"] = "PAYMENT";
806
- Initiator2["SETUP"] = "SETUP";
807
- return Initiator2;
808
- })(Initiator || {});
809
734
  var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
810
735
  BenefitType2["UNDEFINED"] = "UNDEFINED";
811
736
  BenefitType2["LIMITED"] = "LIMITED";
@@ -828,9 +753,9 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
828
753
  })(WebhookIdentityType || {});
829
754
 
830
755
  // src/online-programs-v3-participant-participants.meta.ts
831
- function joinProgram2() {
756
+ function createParticipant2() {
832
757
  const payload = {};
833
- const getRequestOptions = joinProgram(payload);
758
+ const getRequestOptions = createParticipant(payload);
834
759
  const getUrl = (context) => {
835
760
  const { url } = getRequestOptions(context);
836
761
  return url;
@@ -838,7 +763,7 @@ function joinProgram2() {
838
763
  return {
839
764
  getUrl,
840
765
  httpMethod: "POST",
841
- path: "/v3/participants/join",
766
+ path: "/v3/participants",
842
767
  pathParams: {},
843
768
  __requestType: null,
844
769
  __originalRequestType: null,
@@ -846,27 +771,9 @@ function joinProgram2() {
846
771
  __originalResponseType: null
847
772
  };
848
773
  }
849
- function getParticipant2() {
850
- const payload = { participantId: ":participantId" };
851
- const getRequestOptions = getParticipant(payload);
852
- const getUrl = (context) => {
853
- const { url } = getRequestOptions(context);
854
- return url;
855
- };
856
- return {
857
- getUrl,
858
- httpMethod: "GET",
859
- path: "/v3/participants/{participantId}",
860
- pathParams: { participantId: "participantId" },
861
- __requestType: null,
862
- __originalRequestType: null,
863
- __responseType: null,
864
- __originalResponseType: null
865
- };
866
- }
867
- function leaveProgram2() {
868
- const payload = { participantId: ":participantId" };
869
- const getRequestOptions = leaveProgram(payload);
774
+ function bulkCreateParticipant2() {
775
+ const payload = {};
776
+ const getRequestOptions = bulkCreateParticipant(payload);
870
777
  const getUrl = (context) => {
871
778
  const { url } = getRequestOptions(context);
872
779
  return url;
@@ -874,17 +781,17 @@ function leaveProgram2() {
874
781
  return {
875
782
  getUrl,
876
783
  httpMethod: "POST",
877
- path: "/v3/participants/{participantId}/leave",
878
- pathParams: { participantId: "participantId" },
784
+ path: "/v3/bulk/participants/create",
785
+ pathParams: {},
879
786
  __requestType: null,
880
787
  __originalRequestType: null,
881
788
  __responseType: null,
882
789
  __originalResponseType: null
883
790
  };
884
791
  }
885
- function queryParticipants2() {
792
+ function bulkAddAllToProgram2() {
886
793
  const payload = {};
887
- const getRequestOptions = queryParticipants(payload);
794
+ const getRequestOptions = bulkAddAllToProgram(payload);
888
795
  const getUrl = (context) => {
889
796
  const { url } = getRequestOptions(context);
890
797
  return url;
@@ -892,7 +799,7 @@ function queryParticipants2() {
892
799
  return {
893
800
  getUrl,
894
801
  httpMethod: "POST",
895
- path: "/v3/participants/query",
802
+ path: "/v3/bulk/participants/add-all",
896
803
  pathParams: {},
897
804
  __requestType: null,
898
805
  __originalRequestType: null,
@@ -900,30 +807,27 @@ function queryParticipants2() {
900
807
  __originalResponseType: null
901
808
  };
902
809
  }
903
- function getAccessStatus2() {
904
- const payload = {};
905
- const getRequestOptions = getAccessStatus(payload);
810
+ function deleteParticipant2() {
811
+ const payload = { participantId: ":participantId" };
812
+ const getRequestOptions = deleteParticipant(payload);
906
813
  const getUrl = (context) => {
907
814
  const { url } = getRequestOptions(context);
908
815
  return url;
909
816
  };
910
817
  return {
911
818
  getUrl,
912
- httpMethod: "GET",
913
- path: "/v3/participants/access",
914
- pathParams: {},
819
+ httpMethod: "DELETE",
820
+ path: "/v3/participants/{participantId}",
821
+ pathParams: { participantId: "participantId" },
915
822
  __requestType: null,
916
823
  __originalRequestType: null,
917
824
  __responseType: null,
918
825
  __originalResponseType: null
919
826
  };
920
827
  }
921
- function applyCoupon2() {
922
- const payload = {
923
- participantId: ":participantId",
924
- couponCode: ":couponCode"
925
- };
926
- const getRequestOptions = applyCoupon(payload);
828
+ function issueCertificate2() {
829
+ const payload = { participantId: ":participantId" };
830
+ const getRequestOptions = issueCertificate(payload);
927
831
  const getUrl = (context) => {
928
832
  const { url } = getRequestOptions(context);
929
833
  return url;
@@ -931,46 +835,43 @@ function applyCoupon2() {
931
835
  return {
932
836
  getUrl,
933
837
  httpMethod: "POST",
934
- path: "/v3/participants/{participantId}/coupons/{couponCode}/apply",
935
- pathParams: { participantId: "participantId", couponCode: "couponCode" },
838
+ path: "/v3/participants/{participantId}/issue-certificate",
839
+ pathParams: { participantId: "participantId" },
936
840
  __requestType: null,
937
841
  __originalRequestType: null,
938
842
  __responseType: null,
939
843
  __originalResponseType: null
940
844
  };
941
845
  }
942
- function revertCoupon2() {
943
- const payload = {
944
- participantId: ":participantId",
945
- couponId: ":couponId"
946
- };
947
- const getRequestOptions = revertCoupon(payload);
846
+ function getCompletionStats2() {
847
+ const payload = { programId: ":programId" };
848
+ const getRequestOptions = getCompletionStats(payload);
948
849
  const getUrl = (context) => {
949
850
  const { url } = getRequestOptions(context);
950
851
  return url;
951
852
  };
952
853
  return {
953
854
  getUrl,
954
- httpMethod: "POST",
955
- path: "/v3/participants/{participantId}/coupons/{couponId}/revert",
956
- pathParams: { participantId: "participantId", couponId: "couponId" },
855
+ httpMethod: "GET",
856
+ path: "/v3/stats/completion/{programId}",
857
+ pathParams: { programId: "programId" },
957
858
  __requestType: null,
958
859
  __originalRequestType: null,
959
860
  __responseType: null,
960
861
  __originalResponseType: null
961
862
  };
962
863
  }
963
- function bulkInviteToProgram2() {
864
+ function getPremiumStats2() {
964
865
  const payload = {};
965
- const getRequestOptions = bulkInviteToProgram(payload);
866
+ const getRequestOptions = getPremiumStats(payload);
966
867
  const getUrl = (context) => {
967
868
  const { url } = getRequestOptions(context);
968
869
  return url;
969
870
  };
970
871
  return {
971
872
  getUrl,
972
- httpMethod: "POST",
973
- path: "/v3/bulk/participants/invite",
873
+ httpMethod: "GET",
874
+ path: "/v3/stats/premium",
974
875
  pathParams: {},
975
876
  __requestType: null,
976
877
  __originalRequestType: null,
@@ -978,27 +879,27 @@ function bulkInviteToProgram2() {
978
879
  __originalResponseType: null
979
880
  };
980
881
  }
981
- function bulkInviteAllToProgram2() {
982
- const payload = {};
983
- const getRequestOptions = bulkInviteAllToProgram(payload);
882
+ function getParticipant2() {
883
+ const payload = { participantId: ":participantId" };
884
+ const getRequestOptions = getParticipant(payload);
984
885
  const getUrl = (context) => {
985
886
  const { url } = getRequestOptions(context);
986
887
  return url;
987
888
  };
988
889
  return {
989
890
  getUrl,
990
- httpMethod: "POST",
991
- path: "/v3/bulk/participants/invite-all",
992
- pathParams: {},
891
+ httpMethod: "GET",
892
+ path: "/v3/participants/{participantId}",
893
+ pathParams: { participantId: "participantId" },
993
894
  __requestType: null,
994
895
  __originalRequestType: null,
995
896
  __responseType: null,
996
897
  __originalResponseType: null
997
898
  };
998
899
  }
999
- function bulkAddToProgram2() {
900
+ function queryParticipants2() {
1000
901
  const payload = {};
1001
- const getRequestOptions = bulkAddToProgram(payload);
902
+ const getRequestOptions = queryParticipants(payload);
1002
903
  const getUrl = (context) => {
1003
904
  const { url } = getRequestOptions(context);
1004
905
  return url;
@@ -1006,7 +907,7 @@ function bulkAddToProgram2() {
1006
907
  return {
1007
908
  getUrl,
1008
909
  httpMethod: "POST",
1009
- path: "/v3/bulk/participants/add",
910
+ path: "/v3/participants/query",
1010
911
  pathParams: {},
1011
912
  __requestType: null,
1012
913
  __originalRequestType: null,
@@ -1014,17 +915,17 @@ function bulkAddToProgram2() {
1014
915
  __originalResponseType: null
1015
916
  };
1016
917
  }
1017
- function bulkAddAllToProgram2() {
918
+ function getAccessStatus2() {
1018
919
  const payload = {};
1019
- const getRequestOptions = bulkAddAllToProgram(payload);
920
+ const getRequestOptions = getAccessStatus(payload);
1020
921
  const getUrl = (context) => {
1021
922
  const { url } = getRequestOptions(context);
1022
923
  return url;
1023
924
  };
1024
925
  return {
1025
926
  getUrl,
1026
- httpMethod: "POST",
1027
- path: "/v3/bulk/participants/add-all",
927
+ httpMethod: "GET",
928
+ path: "/v3/participants/access",
1028
929
  pathParams: {},
1029
930
  __requestType: null,
1030
931
  __originalRequestType: null,
@@ -1032,9 +933,9 @@ function bulkAddAllToProgram2() {
1032
933
  __originalResponseType: null
1033
934
  };
1034
935
  }
1035
- function bulkApproveParticipant2() {
936
+ function bulkInviteToProgram2() {
1036
937
  const payload = {};
1037
- const getRequestOptions = bulkApproveParticipant(payload);
938
+ const getRequestOptions = bulkInviteToProgram(payload);
1038
939
  const getUrl = (context) => {
1039
940
  const { url } = getRequestOptions(context);
1040
941
  return url;
@@ -1042,7 +943,7 @@ function bulkApproveParticipant2() {
1042
943
  return {
1043
944
  getUrl,
1044
945
  httpMethod: "POST",
1045
- path: "/v3/bulk/participants/approve",
946
+ path: "/v3/bulk/participants/invite",
1046
947
  pathParams: {},
1047
948
  __requestType: null,
1048
949
  __originalRequestType: null,
@@ -1050,9 +951,9 @@ function bulkApproveParticipant2() {
1050
951
  __originalResponseType: null
1051
952
  };
1052
953
  }
1053
- function bulkApproveAllParticipant2() {
954
+ function bulkInviteAllToProgram2() {
1054
955
  const payload = {};
1055
- const getRequestOptions = bulkApproveAllParticipant(payload);
956
+ const getRequestOptions = bulkInviteAllToProgram(payload);
1056
957
  const getUrl = (context) => {
1057
958
  const { url } = getRequestOptions(context);
1058
959
  return url;
@@ -1060,7 +961,7 @@ function bulkApproveAllParticipant2() {
1060
961
  return {
1061
962
  getUrl,
1062
963
  httpMethod: "POST",
1063
- path: "/v3/bulk/participants/approve-all",
964
+ path: "/v3/bulk/participants/invite-all",
1064
965
  pathParams: {},
1065
966
  __requestType: null,
1066
967
  __originalRequestType: null,
@@ -1068,27 +969,9 @@ function bulkApproveAllParticipant2() {
1068
969
  __originalResponseType: null
1069
970
  };
1070
971
  }
1071
- function deleteParticipant2() {
1072
- const payload = { participantId: ":participantId" };
1073
- const getRequestOptions = deleteParticipant(payload);
1074
- const getUrl = (context) => {
1075
- const { url } = getRequestOptions(context);
1076
- return url;
1077
- };
1078
- return {
1079
- getUrl,
1080
- httpMethod: "DELETE",
1081
- path: "/v3/participants/{participantId}",
1082
- pathParams: { participantId: "participantId" },
1083
- __requestType: null,
1084
- __originalRequestType: null,
1085
- __responseType: null,
1086
- __originalResponseType: null
1087
- };
1088
- }
1089
- function issueCertificate2() {
1090
- const payload = { participantId: ":participantId" };
1091
- const getRequestOptions = issueCertificate(payload);
972
+ function bulkAddToProgram2() {
973
+ const payload = {};
974
+ const getRequestOptions = bulkAddToProgram(payload);
1092
975
  const getUrl = (context) => {
1093
976
  const { url } = getRequestOptions(context);
1094
977
  return url;
@@ -1096,43 +979,43 @@ function issueCertificate2() {
1096
979
  return {
1097
980
  getUrl,
1098
981
  httpMethod: "POST",
1099
- path: "/v3/participants/{participantId}/issue-certificate",
1100
- pathParams: { participantId: "participantId" },
982
+ path: "/v3/bulk/participants/add",
983
+ pathParams: {},
1101
984
  __requestType: null,
1102
985
  __originalRequestType: null,
1103
986
  __responseType: null,
1104
987
  __originalResponseType: null
1105
988
  };
1106
989
  }
1107
- function getCompletionStats2() {
1108
- const payload = { programId: ":programId" };
1109
- const getRequestOptions = getCompletionStats(payload);
990
+ function bulkApproveParticipant2() {
991
+ const payload = {};
992
+ const getRequestOptions = bulkApproveParticipant(payload);
1110
993
  const getUrl = (context) => {
1111
994
  const { url } = getRequestOptions(context);
1112
995
  return url;
1113
996
  };
1114
997
  return {
1115
998
  getUrl,
1116
- httpMethod: "GET",
1117
- path: "/v3/stats/completion/{programId}",
1118
- pathParams: { programId: "programId" },
999
+ httpMethod: "POST",
1000
+ path: "/v3/bulk/participants/approve",
1001
+ pathParams: {},
1119
1002
  __requestType: null,
1120
1003
  __originalRequestType: null,
1121
1004
  __responseType: null,
1122
1005
  __originalResponseType: null
1123
1006
  };
1124
1007
  }
1125
- function getPremiumStats2() {
1008
+ function bulkApproveAllParticipant2() {
1126
1009
  const payload = {};
1127
- const getRequestOptions = getPremiumStats(payload);
1010
+ const getRequestOptions = bulkApproveAllParticipant(payload);
1128
1011
  const getUrl = (context) => {
1129
1012
  const { url } = getRequestOptions(context);
1130
1013
  return url;
1131
1014
  };
1132
1015
  return {
1133
1016
  getUrl,
1134
- httpMethod: "GET",
1135
- path: "/v3/stats/premium",
1017
+ httpMethod: "POST",
1018
+ path: "/v3/bulk/participants/approve-all",
1136
1019
  pathParams: {},
1137
1020
  __requestType: null,
1138
1021
  __originalRequestType: null,
@@ -1161,27 +1044,18 @@ function exportParticipantsStats2() {
1161
1044
  export {
1162
1045
  BenefitType as BenefitTypeOriginal,
1163
1046
  Event as EventOriginal,
1164
- EventType as EventTypeOriginal,
1165
- Initiator as InitiatorOriginal,
1166
1047
  JoinPath as JoinPathOriginal,
1167
- OrderItemCategory as OrderItemCategoryOriginal,
1168
- RefundStatus as RefundStatusOriginal,
1169
- RemovalReason as RemovalReasonOriginal,
1170
- ScheduledActionType as ScheduledActionTypeOriginal,
1171
1048
  SortOrder as SortOrderOriginal,
1172
1049
  State as StateOriginal,
1173
- Status as StatusOriginal,
1174
- SubdivisionType as SubdivisionTypeOriginal,
1175
- TransactionStatus as TransactionStatusOriginal,
1176
- VatType as VatTypeOriginal,
1177
1050
  WebhookIdentityType as WebhookIdentityTypeOriginal,
1178
- applyCoupon2 as applyCoupon,
1179
1051
  bulkAddAllToProgram2 as bulkAddAllToProgram,
1180
1052
  bulkAddToProgram2 as bulkAddToProgram,
1181
1053
  bulkApproveAllParticipant2 as bulkApproveAllParticipant,
1182
1054
  bulkApproveParticipant2 as bulkApproveParticipant,
1055
+ bulkCreateParticipant2 as bulkCreateParticipant,
1183
1056
  bulkInviteAllToProgram2 as bulkInviteAllToProgram,
1184
1057
  bulkInviteToProgram2 as bulkInviteToProgram,
1058
+ createParticipant2 as createParticipant,
1185
1059
  deleteParticipant2 as deleteParticipant,
1186
1060
  exportParticipantsStats2 as exportParticipantsStats,
1187
1061
  getAccessStatus2 as getAccessStatus,
@@ -1189,9 +1063,6 @@ export {
1189
1063
  getParticipant2 as getParticipant,
1190
1064
  getPremiumStats2 as getPremiumStats,
1191
1065
  issueCertificate2 as issueCertificate,
1192
- joinProgram2 as joinProgram,
1193
- leaveProgram2 as leaveProgram,
1194
- queryParticipants2 as queryParticipants,
1195
- revertCoupon2 as revertCoupon
1066
+ queryParticipants2 as queryParticipants
1196
1067
  };
1197
1068
  //# sourceMappingURL=meta.mjs.map