@wix/auto_sdk_online-programs_participants 1.0.0

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 (39) hide show
  1. package/build/cjs/index.d.ts +187 -0
  2. package/build/cjs/index.js +1676 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1866 -0
  5. package/build/cjs/index.typings.js +1382 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +599 -0
  8. package/build/cjs/meta.js +1043 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +187 -0
  11. package/build/es/index.mjs +1612 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +1866 -0
  14. package/build/es/index.typings.mjs +1325 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +599 -0
  17. package/build/es/meta.mjs +999 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/es/package.json +3 -0
  20. package/build/internal/cjs/index.d.ts +198 -0
  21. package/build/internal/cjs/index.js +1676 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +1876 -0
  24. package/build/internal/cjs/index.typings.js +1382 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +599 -0
  27. package/build/internal/cjs/meta.js +1043 -0
  28. package/build/internal/cjs/meta.js.map +1 -0
  29. package/build/internal/es/index.d.mts +198 -0
  30. package/build/internal/es/index.mjs +1612 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +1876 -0
  33. package/build/internal/es/index.typings.mjs +1325 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +599 -0
  36. package/build/internal/es/meta.mjs +999 -0
  37. package/build/internal/es/meta.mjs.map +1 -0
  38. package/meta/package.json +3 -0
  39. package/package.json +54 -0
@@ -0,0 +1,599 @@
1
+ import { JoinProgramRequest as JoinProgramRequest$1, JoinProgramResponse as JoinProgramResponse$1, GetParticipantRequest as GetParticipantRequest$1, GetParticipantResponse as GetParticipantResponse$1, LeaveProgramRequest as LeaveProgramRequest$1, LeaveProgramResponse as LeaveProgramResponse$1, QueryParticipantsRequest as QueryParticipantsRequest$1, QueryParticipantsResponse as QueryParticipantsResponse$1, GetAccessStatusRequest as GetAccessStatusRequest$1, GetAccessStatusResponse as GetAccessStatusResponse$1, ApplyCouponRequest as ApplyCouponRequest$1, ApplyCouponResponse as ApplyCouponResponse$1, RevertCouponRequest as RevertCouponRequest$1, RevertCouponResponse as RevertCouponResponse$1, BulkInviteToProgramRequest as BulkInviteToProgramRequest$1, BulkInviteToProgramResponse as BulkInviteToProgramResponse$1, BulkInviteAllToProgramRequest as BulkInviteAllToProgramRequest$1, BulkInviteAllToProgramResponse as BulkInviteAllToProgramResponse$1, BulkAddToProgramRequest as BulkAddToProgramRequest$1, BulkAddToProgramResponse as BulkAddToProgramResponse$1, BulkAddAllToProgramRequest as BulkAddAllToProgramRequest$1, BulkAddAllToProgramResponse as BulkAddAllToProgramResponse$1, BulkApproveParticipantRequest as BulkApproveParticipantRequest$1, BulkApproveParticipantResponse as BulkApproveParticipantResponse$1, BulkApproveAllParticipantRequest as BulkApproveAllParticipantRequest$1, BulkApproveAllParticipantResponse as BulkApproveAllParticipantResponse$1, DeleteParticipantRequest as DeleteParticipantRequest$1, DeleteParticipantResponse as DeleteParticipantResponse$1, IssueCertificateRequest as IssueCertificateRequest$1, IssueCertificateResponse as IssueCertificateResponse$1, GetCompletionStatsRequest as GetCompletionStatsRequest$1, GetCompletionStatsResponse as GetCompletionStatsResponse$1, GetPremiumStatsRequest as GetPremiumStatsRequest$1, GetPremiumStatsResponse as GetPremiumStatsResponse$1, ExportParticipantsStatsRequest as ExportParticipantsStatsRequest$1, ExportParticipantsStatsResponse as ExportParticipantsStatsResponse$1 } from './index.typings.mjs';
2
+ import '@wix/sdk-types';
3
+
4
+ interface Participant extends ParticipantStateOptionsOneOf {
5
+ paymentPendingOptions?: PaymentPendingOptions;
6
+ joinedOptions?: JoinedOptions;
7
+ completedOptions?: CompletedOptions;
8
+ failedOptions?: FailedOptions;
9
+ suspendedOptions?: SuspendedOptions;
10
+ /** options for auto removed participant */
11
+ autoRemovedOptions?: AutoRemovedOptions;
12
+ /**
13
+ * Participant ID.
14
+ * @format GUID
15
+ * @readonly
16
+ */
17
+ id?: string | null;
18
+ /** @readonly */
19
+ revision?: string | null;
20
+ /** @readonly */
21
+ createdDate?: Date | null;
22
+ /** @readonly */
23
+ updatedDate?: Date | null;
24
+ /**
25
+ * Member ID of participant on site
26
+ * @format GUID
27
+ * @readonly
28
+ */
29
+ memberId?: string;
30
+ /**
31
+ * Program ID which participant participates in
32
+ * @format GUID
33
+ * @readonly
34
+ */
35
+ programId?: string;
36
+ /**
37
+ * Program completion progress
38
+ * @readonly
39
+ */
40
+ progress?: Progress;
41
+ /** state of participation in the program */
42
+ state?: StateWithLiterals;
43
+ /** Certificate issued to participant */
44
+ certificate?: Certificate;
45
+ extendedFields?: ExtendedFields;
46
+ }
47
+ /** @oneof */
48
+ interface ParticipantStateOptionsOneOf {
49
+ paymentPendingOptions?: PaymentPendingOptions;
50
+ joinedOptions?: JoinedOptions;
51
+ completedOptions?: CompletedOptions;
52
+ failedOptions?: FailedOptions;
53
+ suspendedOptions?: SuspendedOptions;
54
+ /** options for auto removed participant */
55
+ autoRemovedOptions?: AutoRemovedOptions;
56
+ }
57
+ declare enum JoinPath {
58
+ UNKNOWN_JOIN_PATH = "UNKNOWN_JOIN_PATH",
59
+ /** Member joined to the program for free */
60
+ FREE = "FREE",
61
+ /** Member was added to the program by site owner */
62
+ ADDED = "ADDED",
63
+ /** Member paid once to join the program */
64
+ SINGLE_PAYMENT = "SINGLE_PAYMENT",
65
+ /** Member has Paid Plan to join */
66
+ PAID_PLAN = "PAID_PLAN",
67
+ /** Member joined with the Free Coupon */
68
+ FREE_COUPON = "FREE_COUPON"
69
+ }
70
+ /** @enumType */
71
+ type JoinPathWithLiterals = JoinPath | 'UNKNOWN_JOIN_PATH' | 'FREE' | 'ADDED' | 'SINGLE_PAYMENT' | 'PAID_PLAN' | 'FREE_COUPON';
72
+ interface SinglePaymentOptions {
73
+ orderId?: string;
74
+ }
75
+ interface PaidPlanOptions {
76
+ /** @maxSize 10 */
77
+ planIds?: string[];
78
+ }
79
+ interface FreeCouponOptions {
80
+ couponId?: string;
81
+ }
82
+ interface Progress {
83
+ /** Number of program steps completed by member */
84
+ totalStepsCompleted?: number;
85
+ /** Total number of program steps available to resolve */
86
+ totalStepsAvailable?: number;
87
+ /**
88
+ * Completion percentage
89
+ * @max 100
90
+ */
91
+ completionPercentage?: number;
92
+ }
93
+ declare enum State {
94
+ /** Unknown state */
95
+ UNKNOWN_STATE = "UNKNOWN_STATE",
96
+ /** Member invited to participate in program */
97
+ INVITED = "INVITED",
98
+ /** Member asked owner to participate in program */
99
+ APPROVAL_PENDING = "APPROVAL_PENDING",
100
+ PAYMENT_PENDING = "PAYMENT_PENDING",
101
+ /** Member joined the program and became participant */
102
+ JOINED = "JOINED",
103
+ /** Participant completed the program, and could join again */
104
+ COMPLETED = "COMPLETED",
105
+ /** Participant failed to complete the program, and could join again */
106
+ FAILED = "FAILED",
107
+ /** Participant with ended pricing plan (PP), will be joined as renew PP */
108
+ SUSPENDED = "SUSPENDED",
109
+ /** Participant removed automatically after some program condition */
110
+ AUTO_REMOVED = "AUTO_REMOVED"
111
+ }
112
+ /** @enumType */
113
+ type StateWithLiterals = State | 'UNKNOWN_STATE' | 'INVITED' | 'APPROVAL_PENDING' | 'PAYMENT_PENDING' | 'JOINED' | 'COMPLETED' | 'FAILED' | 'SUSPENDED' | 'AUTO_REMOVED';
114
+ interface Certificate {
115
+ /**
116
+ * when certificate was issued, UTC
117
+ * @readonly
118
+ */
119
+ issuedDate?: Date | null;
120
+ }
121
+ interface ExtendedFields {
122
+ /**
123
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
124
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
125
+ *
126
+ * You can only access fields for which you have the appropriate permissions.
127
+ *
128
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
129
+ */
130
+ namespaces?: Record<string, Record<string, any>>;
131
+ }
132
+ interface PaymentPendingOptions {
133
+ /**
134
+ * Payment order
135
+ * @format GUID
136
+ */
137
+ paymentOrderId?: string | null;
138
+ /**
139
+ * Offline payment transaction
140
+ * @format GUID
141
+ */
142
+ offlineTrxId?: string | null;
143
+ /**
144
+ * Pricing plans
145
+ * @format GUID
146
+ * @maxSize 10
147
+ */
148
+ paidPlanIds?: string[];
149
+ }
150
+ interface JoinedOptions extends JoinedOptionsJoinPathOptionsOneOf {
151
+ singlePaymentOptions?: SinglePaymentOptions;
152
+ paidPlanOptions?: PaidPlanOptions;
153
+ freeCouponOptions?: FreeCouponOptions;
154
+ timeZone?: string;
155
+ /** @format LOCAL_DATE */
156
+ startDate?: string;
157
+ joinPath?: JoinPathWithLiterals;
158
+ }
159
+ /** @oneof */
160
+ interface JoinedOptionsJoinPathOptionsOneOf {
161
+ singlePaymentOptions?: SinglePaymentOptions;
162
+ paidPlanOptions?: PaidPlanOptions;
163
+ freeCouponOptions?: FreeCouponOptions;
164
+ }
165
+ interface CompletedOptions {
166
+ /**
167
+ * date participant started the program
168
+ * @format LOCAL_DATE
169
+ */
170
+ startDate?: string;
171
+ }
172
+ interface FailedOptions {
173
+ /**
174
+ * date participant started the program
175
+ * @format LOCAL_DATE
176
+ */
177
+ startDate?: string;
178
+ }
179
+ interface SuspendedOptions {
180
+ /**
181
+ * date participant started the program
182
+ * @format LOCAL_DATE
183
+ */
184
+ startDate?: string;
185
+ }
186
+ interface AutoRemovedOptions {
187
+ /**
188
+ * date participant started the program
189
+ * @format LOCAL_DATE
190
+ */
191
+ startDate?: string;
192
+ }
193
+ interface JoinProgramRequest {
194
+ /**
195
+ * Program to join
196
+ * @format GUID
197
+ */
198
+ programId: string;
199
+ }
200
+ interface JoinProgramResponse {
201
+ /** Created participant with corresponding state */
202
+ participant?: Participant;
203
+ }
204
+ interface GetParticipantRequest {
205
+ /**
206
+ * Participant id to fetch
207
+ * @format GUID
208
+ */
209
+ participantId: string;
210
+ }
211
+ interface GetParticipantResponse {
212
+ /** existing participant */
213
+ participant?: Participant;
214
+ }
215
+ interface LeaveProgramRequest {
216
+ /**
217
+ * Participant id to leave program
218
+ * @format GUID
219
+ */
220
+ participantId: string;
221
+ }
222
+ interface LeaveProgramResponse {
223
+ }
224
+ interface QueryParticipantsRequest {
225
+ /** Platformized query */
226
+ query?: CursorQuery;
227
+ }
228
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
229
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
230
+ cursorPaging?: CursorPaging;
231
+ /**
232
+ * Filter object in the following format:
233
+ * `"filter" : {
234
+ * "fieldName1": "value1",
235
+ * "fieldName2":{"$operator":"value2"}
236
+ * }`
237
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
238
+ */
239
+ filter?: Record<string, any> | null;
240
+ /**
241
+ * Sort object in the following format:
242
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
243
+ */
244
+ sort?: Sorting[];
245
+ }
246
+ /** @oneof */
247
+ interface CursorQueryPagingMethodOneOf {
248
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
249
+ cursorPaging?: CursorPaging;
250
+ }
251
+ interface Sorting {
252
+ /**
253
+ * Name of the field to sort by.
254
+ * @maxLength 512
255
+ */
256
+ fieldName?: string;
257
+ /** Sort order. */
258
+ order?: SortOrderWithLiterals;
259
+ }
260
+ declare enum SortOrder {
261
+ ASC = "ASC",
262
+ DESC = "DESC"
263
+ }
264
+ /** @enumType */
265
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
266
+ interface CursorPaging {
267
+ /**
268
+ * Number of items to load.
269
+ * @max 100
270
+ */
271
+ limit?: number | null;
272
+ /**
273
+ * Pointer to the next or previous page in the list of results.
274
+ *
275
+ * You can get the relevant cursor token
276
+ * from the `pagingMetadata` object in the previous call's response.
277
+ * Not relevant for the first request.
278
+ */
279
+ cursor?: string | null;
280
+ }
281
+ interface QueryParticipantsResponse {
282
+ /** found participants */
283
+ participants?: Participant[];
284
+ /** paging metadata */
285
+ pagingMetadata?: CursorPagingMetadata;
286
+ }
287
+ interface CursorPagingMetadata {
288
+ /** Number of items returned in the response. */
289
+ count?: number | null;
290
+ /** Offset that was requested. */
291
+ cursors?: Cursors;
292
+ /**
293
+ * Indicates if there are more results after the current page.
294
+ * If `true`, another page of results can be retrieved.
295
+ * If `false`, this is the last page.
296
+ */
297
+ hasNext?: boolean | null;
298
+ }
299
+ interface Cursors {
300
+ /** Cursor pointing to next page in the list of results. */
301
+ next?: string | null;
302
+ /** Cursor pointing to previous page in the list of results. */
303
+ prev?: string | null;
304
+ }
305
+ interface GetAccessStatusRequest {
306
+ }
307
+ interface GetAccessStatusResponse {
308
+ /** True if participants cannot access online programs due to some limitations */
309
+ isBlocked?: boolean;
310
+ }
311
+ interface ApplyCouponRequest {
312
+ /** @format GUID */
313
+ participantId: string;
314
+ /** @format GUID */
315
+ orderId: string;
316
+ couponCode: string;
317
+ }
318
+ interface ApplyCouponResponse {
319
+ /** @format GUID */
320
+ couponId?: string;
321
+ subTotal?: number;
322
+ discount?: number;
323
+ total?: number;
324
+ }
325
+ interface RevertCouponRequest {
326
+ /** @format GUID */
327
+ participantId: string;
328
+ /** @format GUID */
329
+ orderId: string;
330
+ /** @format GUID */
331
+ couponId: string;
332
+ }
333
+ interface RevertCouponResponse {
334
+ total?: number;
335
+ }
336
+ interface BulkInviteToProgramRequest {
337
+ /**
338
+ * Program to which bulk invite participants.
339
+ * @format GUID
340
+ */
341
+ programId: string;
342
+ /**
343
+ * Return added participants in the response or not.
344
+ * @format GUID
345
+ * @minSize 1
346
+ * @maxSize 100
347
+ */
348
+ memberIds?: string[];
349
+ /** Return invited participants in the response or not. */
350
+ returnEntity?: boolean;
351
+ }
352
+ interface BulkInviteToProgramResponse {
353
+ /** Participants created by bulk action */
354
+ results?: BulkInviteToProgramResult[];
355
+ /** Bulk action metadata. */
356
+ bulkActionMetadata?: BulkActionMetadata;
357
+ }
358
+ interface ItemMetadata {
359
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
360
+ id?: string | null;
361
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
362
+ originalIndex?: number;
363
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
364
+ success?: boolean;
365
+ /** Details about the error in case of failure. */
366
+ error?: ApplicationError;
367
+ }
368
+ interface ApplicationError {
369
+ /** Error code. */
370
+ code?: string;
371
+ /** Description of the error. */
372
+ description?: string;
373
+ /** Data related to the error. */
374
+ data?: Record<string, any> | null;
375
+ }
376
+ interface BulkInviteToProgramResult {
377
+ /** Invited participant metadata. */
378
+ itemMetadata?: ItemMetadata;
379
+ /** Invited participant */
380
+ item?: Participant;
381
+ }
382
+ interface BulkActionMetadata {
383
+ /** Number of items that were successfully processed. */
384
+ totalSuccesses?: number;
385
+ /** Number of items that couldn't be processed. */
386
+ totalFailures?: number;
387
+ /** Number of failures without details because detailed failure threshold was exceeded. */
388
+ undetailedFailures?: number;
389
+ }
390
+ interface BulkInviteAllToProgramRequest {
391
+ /**
392
+ * Program to which bulk add participants.
393
+ * @format GUID
394
+ */
395
+ programId: string;
396
+ /**
397
+ * Exclude site members.
398
+ * @format GUID
399
+ * @maxSize 100
400
+ */
401
+ excludeMemberIds?: string[];
402
+ }
403
+ interface BulkInviteAllToProgramResponse {
404
+ /** Bulk action metadata. */
405
+ bulkActionMetadata?: BulkActionMetadata;
406
+ }
407
+ interface BulkAddToProgramRequest {
408
+ /**
409
+ * Program to which bulk add participants.
410
+ * @format GUID
411
+ */
412
+ programId: string;
413
+ /**
414
+ * Site members.
415
+ * @format GUID
416
+ * @minSize 1
417
+ * @maxSize 1000
418
+ */
419
+ memberIds?: string[];
420
+ /** Return added participants in the response or not. */
421
+ returnEntity?: boolean;
422
+ }
423
+ interface BulkAddToProgramResponse {
424
+ /** Participants created by bulk action */
425
+ results?: BulkAddToProgramResult[];
426
+ /** Bulk action metadata. */
427
+ bulkActionMetadata?: BulkActionMetadata;
428
+ }
429
+ interface BulkAddToProgramResult {
430
+ /** Added participant metadata. */
431
+ itemMetadata?: ItemMetadata;
432
+ /** Added participant */
433
+ item?: Participant;
434
+ }
435
+ interface BulkAddAllToProgramRequest {
436
+ /**
437
+ * Program to which bulk add participants.
438
+ * @format GUID
439
+ */
440
+ programId: string;
441
+ /**
442
+ * Exclude site members.
443
+ * @format GUID
444
+ * @maxSize 100
445
+ */
446
+ excludeMemberIds?: string[];
447
+ }
448
+ interface BulkAddAllToProgramResponse {
449
+ /** Bulk action metadata. */
450
+ bulkActionMetadata?: BulkActionMetadata;
451
+ }
452
+ interface BulkApproveParticipantRequest {
453
+ /**
454
+ * Participants to add
455
+ * @format GUID
456
+ * @maxSize 100
457
+ */
458
+ participantIds: string[];
459
+ /**
460
+ * program to approve participant
461
+ * @format GUID
462
+ */
463
+ programId?: string;
464
+ /** Return approved participants in the response or not */
465
+ returnEntity?: boolean;
466
+ }
467
+ interface BulkApproveParticipantResponse {
468
+ /** Participants approved by bulk action */
469
+ results?: BulkApproveParticipantResult[];
470
+ /** Bulk action metadata */
471
+ bulkActionMetadata?: BulkActionMetadata;
472
+ }
473
+ interface BulkApproveParticipantResult {
474
+ /** Approved participant metadata */
475
+ itemMetadata?: ItemMetadata;
476
+ /** Approved or existing participant */
477
+ item?: Participant;
478
+ }
479
+ interface BulkApproveAllParticipantRequest {
480
+ /**
481
+ * Program to approve all participants.
482
+ * @format GUID
483
+ */
484
+ programId?: string;
485
+ /**
486
+ * Exclude site members.
487
+ * @format GUID
488
+ * @maxSize 100
489
+ */
490
+ excludeParticipantIds?: string[];
491
+ }
492
+ interface BulkApproveAllParticipantResponse {
493
+ /**
494
+ * Job id with async process
495
+ * @format GUID
496
+ */
497
+ jobId?: string;
498
+ }
499
+ interface DeleteParticipantRequest {
500
+ /**
501
+ * Participants to delete
502
+ * @format GUID
503
+ */
504
+ participantId: string;
505
+ }
506
+ interface DeleteParticipantResponse {
507
+ }
508
+ interface IssueCertificateRequest {
509
+ /**
510
+ * Participant to get certificate
511
+ * @format GUID
512
+ */
513
+ participantId: string;
514
+ }
515
+ interface IssueCertificateResponse {
516
+ /** Updated participant */
517
+ participant?: Participant;
518
+ }
519
+ interface GetCompletionStatsRequest {
520
+ /**
521
+ * program id to get stats for
522
+ * @format GUID
523
+ */
524
+ programId: string;
525
+ }
526
+ interface GetCompletionStatsResponse {
527
+ /** Number of participants that completed the program */
528
+ completedAll?: number;
529
+ /** Percentage of participants that completed the program */
530
+ completionRate?: number;
531
+ }
532
+ interface GetPremiumStatsRequest {
533
+ }
534
+ interface GetPremiumStatsResponse {
535
+ /** True if site has Online Programs premium feature */
536
+ hasPremium?: boolean;
537
+ /** Count of active participants on the site */
538
+ activeParticipantsCount?: number;
539
+ /** Limit of active participants on a site without premium */
540
+ activeParticipantsLimit?: number;
541
+ }
542
+ interface ExportParticipantsStatsRequest {
543
+ /**
544
+ * program id to export data from
545
+ * @format GUID
546
+ */
547
+ programId: string;
548
+ }
549
+ interface ExportParticipantsStatsResponse {
550
+ }
551
+
552
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
553
+ getUrl: (context: any) => string;
554
+ httpMethod: K;
555
+ path: string;
556
+ pathParams: M;
557
+ __requestType: T;
558
+ __originalRequestType: S;
559
+ __responseType: Q;
560
+ __originalResponseType: R;
561
+ };
562
+ declare function joinProgram(): __PublicMethodMetaInfo<'POST', {}, JoinProgramRequest$1, JoinProgramRequest, JoinProgramResponse$1, JoinProgramResponse>;
563
+ declare function getParticipant(): __PublicMethodMetaInfo<'GET', {
564
+ participantId: string;
565
+ }, GetParticipantRequest$1, GetParticipantRequest, GetParticipantResponse$1, GetParticipantResponse>;
566
+ declare function leaveProgram(): __PublicMethodMetaInfo<'POST', {
567
+ participantId: string;
568
+ }, LeaveProgramRequest$1, LeaveProgramRequest, LeaveProgramResponse$1, LeaveProgramResponse>;
569
+ declare function queryParticipants(): __PublicMethodMetaInfo<'POST', {}, QueryParticipantsRequest$1, QueryParticipantsRequest, QueryParticipantsResponse$1, QueryParticipantsResponse>;
570
+ declare function getAccessStatus(): __PublicMethodMetaInfo<'GET', {}, GetAccessStatusRequest$1, GetAccessStatusRequest, GetAccessStatusResponse$1, GetAccessStatusResponse>;
571
+ declare function applyCoupon(): __PublicMethodMetaInfo<'POST', {
572
+ participantId: string;
573
+ couponCode: string;
574
+ }, ApplyCouponRequest$1, ApplyCouponRequest, ApplyCouponResponse$1, ApplyCouponResponse>;
575
+ declare function revertCoupon(): __PublicMethodMetaInfo<'POST', {
576
+ participantId: string;
577
+ couponId: string;
578
+ }, RevertCouponRequest$1, RevertCouponRequest, RevertCouponResponse$1, RevertCouponResponse>;
579
+ declare function bulkInviteToProgram(): __PublicMethodMetaInfo<'POST', {}, BulkInviteToProgramRequest$1, BulkInviteToProgramRequest, BulkInviteToProgramResponse$1, BulkInviteToProgramResponse>;
580
+ declare function bulkInviteAllToProgram(): __PublicMethodMetaInfo<'POST', {}, BulkInviteAllToProgramRequest$1, BulkInviteAllToProgramRequest, BulkInviteAllToProgramResponse$1, BulkInviteAllToProgramResponse>;
581
+ declare function bulkAddToProgram(): __PublicMethodMetaInfo<'POST', {}, BulkAddToProgramRequest$1, BulkAddToProgramRequest, BulkAddToProgramResponse$1, BulkAddToProgramResponse>;
582
+ declare function bulkAddAllToProgram(): __PublicMethodMetaInfo<'POST', {}, BulkAddAllToProgramRequest$1, BulkAddAllToProgramRequest, BulkAddAllToProgramResponse$1, BulkAddAllToProgramResponse>;
583
+ declare function bulkApproveParticipant(): __PublicMethodMetaInfo<'POST', {}, BulkApproveParticipantRequest$1, BulkApproveParticipantRequest, BulkApproveParticipantResponse$1, BulkApproveParticipantResponse>;
584
+ declare function bulkApproveAllParticipant(): __PublicMethodMetaInfo<'POST', {}, BulkApproveAllParticipantRequest$1, BulkApproveAllParticipantRequest, BulkApproveAllParticipantResponse$1, BulkApproveAllParticipantResponse>;
585
+ declare function deleteParticipant(): __PublicMethodMetaInfo<'DELETE', {
586
+ participantId: string;
587
+ }, DeleteParticipantRequest$1, DeleteParticipantRequest, DeleteParticipantResponse$1, DeleteParticipantResponse>;
588
+ declare function issueCertificate(): __PublicMethodMetaInfo<'POST', {
589
+ participantId: string;
590
+ }, IssueCertificateRequest$1, IssueCertificateRequest, IssueCertificateResponse$1, IssueCertificateResponse>;
591
+ declare function getCompletionStats(): __PublicMethodMetaInfo<'GET', {
592
+ programId: string;
593
+ }, GetCompletionStatsRequest$1, GetCompletionStatsRequest, GetCompletionStatsResponse$1, GetCompletionStatsResponse>;
594
+ declare function getPremiumStats(): __PublicMethodMetaInfo<'GET', {}, GetPremiumStatsRequest$1, GetPremiumStatsRequest, GetPremiumStatsResponse$1, GetPremiumStatsResponse>;
595
+ declare function exportParticipantsStats(): __PublicMethodMetaInfo<'GET', {
596
+ programId: string;
597
+ }, ExportParticipantsStatsRequest$1, ExportParticipantsStatsRequest, ExportParticipantsStatsResponse$1, ExportParticipantsStatsResponse>;
598
+
599
+ export { type __PublicMethodMetaInfo, applyCoupon, bulkAddAllToProgram, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkInviteAllToProgram, bulkInviteToProgram, deleteParticipant, exportParticipantsStats, getAccessStatus, getCompletionStats, getParticipant, getPremiumStats, issueCertificate, joinProgram, leaveProgram, queryParticipants, revertCoupon };