@wix/auto_sdk_online-programs_online-program-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 +208 -0
  2. package/build/cjs/index.js +7335 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1803 -0
  5. package/build/cjs/index.typings.js +6922 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1205 -0
  8. package/build/cjs/meta.js +5346 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +208 -0
  11. package/build/es/index.mjs +7263 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +1803 -0
  14. package/build/es/index.typings.mjs +6853 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +1205 -0
  17. package/build/es/meta.mjs +5290 -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 +208 -0
  21. package/build/internal/cjs/index.js +7335 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +1803 -0
  24. package/build/internal/cjs/index.typings.js +6922 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +1205 -0
  27. package/build/internal/cjs/meta.js +5346 -0
  28. package/build/internal/cjs/meta.js.map +1 -0
  29. package/build/internal/es/index.d.mts +208 -0
  30. package/build/internal/es/index.mjs +7263 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +1803 -0
  33. package/build/internal/es/index.typings.mjs +6853 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +1205 -0
  36. package/build/internal/es/meta.mjs +5290 -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,1205 @@
1
+ import { QueryParticipantsRequest as QueryParticipantsRequest$1, QueryParticipantsResponse as QueryParticipantsResponse$1, ListParticipantsRequest as ListParticipantsRequest$1, ListParticipantsResponse as ListParticipantsResponse$1, JoinParticipantRequest as JoinParticipantRequest$1, JoinParticipantResponse as JoinParticipantResponse$1, AddParticipantRequest as AddParticipantRequest$1, AddParticipantResponse as AddParticipantResponse$1, AddParticipantsRequest as AddParticipantsRequest$1, AddParticipantsResponse as AddParticipantsResponse$1, AddAllParticipantRequest as AddAllParticipantRequest$1, AddAllParticipantResponse as AddAllParticipantResponse$1, CreateJoinRequestRequest as CreateJoinRequestRequest$1, CreateJoinRequestResponse as CreateJoinRequestResponse$1, InviteParticipantsRequest as InviteParticipantsRequest$1, InviteParticipantsResponse as InviteParticipantsResponse$1, InviteAllParticipantsRequest as InviteAllParticipantsRequest$1, InviteAllParticipantsResponse as InviteAllParticipantsResponse$1, GetParticipantRequest as GetParticipantRequest$1, GetParticipantResponse as GetParticipantResponse$1, UpdateParticipantRequest as UpdateParticipantRequest$1, UpdateParticipantResponse as UpdateParticipantResponse$1, DeleteParticipantRequest as DeleteParticipantRequest$1, DeleteParticipantResponse as DeleteParticipantResponse$1, ReviveParticipantRequest as ReviveParticipantRequest$1, ReviveParticipantResponse as ReviveParticipantResponse$1, ResetParticipantProgressRequest as ResetParticipantProgressRequest$1, ResetParticipantProgressResponse as ResetParticipantProgressResponse$1, IssueParticipantCertificateRequest as IssueParticipantCertificateRequest$1, IssueParticipantCertificateResponse as IssueParticipantCertificateResponse$1, IssueCertificateRequest as IssueCertificateRequest$1, IssueCertificateResponse as IssueCertificateResponse$1, GetCertificateRequest as GetCertificateRequest$1, GetCertificateResponse as GetCertificateResponse$1, CreatePaymentOrderRequest as CreatePaymentOrderRequest$1, CreatePaymentOrderResponse as CreatePaymentOrderResponse$1, ApplyCouponToOrderRequest as ApplyCouponToOrderRequest$1, ApplyCouponToOrderResponse as ApplyCouponToOrderResponse$1, RemoveCouponFromOrderRequest as RemoveCouponFromOrderRequest$1, RemoveCouponFromOrderResponse as RemoveCouponFromOrderResponse$1, ListParticipantStepsRequest as ListParticipantStepsRequest$1, ListParticipantStepsResponse as ListParticipantStepsResponse$1, GetParticipantStepRequest as GetParticipantStepRequest$1, GetParticipantStepResponse as GetParticipantStepResponse$1, ResolveParticipantStepRequest as ResolveParticipantStepRequest$1, ResolveParticipantStepResponse as ResolveParticipantStepResponse$1, UpdateStepFeedbackRequest as UpdateStepFeedbackRequest$1, UpdateStepFeedbackResponse as UpdateStepFeedbackResponse$1, GetMediaUploadInfoRequest as GetMediaUploadInfoRequest$1, GetMediaUploadInfoResponse as GetMediaUploadInfoResponse$1, ListParticipantSectionsRequest as ListParticipantSectionsRequest$1, ListParticipantSectionsResponse as ListParticipantSectionsResponse$1, GetParticipantSectionRequest as GetParticipantSectionRequest$1, GetParticipantSectionResponse as GetParticipantSectionResponse$1, MyProgramRequest as MyProgramRequest$1, MyProgramResponse as MyProgramResponse$1, MyProgramStepRequest as MyProgramStepRequest$1, MyProgramStepResponse as MyProgramStepResponse$1, MyProgramSectionRequest as MyProgramSectionRequest$1, MyProgramSectionResponse as MyProgramSectionResponse$1 } from './index.typings.mjs';
2
+ import '@wix/sdk-types';
3
+
4
+ interface Participant {
5
+ /** @format GUID */
6
+ id?: string;
7
+ member?: Member;
8
+ challenge?: EntitySummary;
9
+ timeFrame?: TimeInterval;
10
+ stepsSummary?: StepsSummary;
11
+ orderIds?: string[];
12
+ transitions?: StateTransition[];
13
+ timezone?: string;
14
+ dateFrame?: DateInterval;
15
+ socialGroupId?: string | null;
16
+ performance?: number;
17
+ joinPath?: JoinPath;
18
+ /** Certificate issued to participant on successful program complete */
19
+ certificate?: Certificate;
20
+ }
21
+ interface StepEvent {
22
+ stepId?: string;
23
+ transition?: ParticipantStepStateTransition;
24
+ }
25
+ interface ParticipantStepStateTransition {
26
+ state?: ParticipantStepStateWithLiterals;
27
+ occurredAt?: Date | null;
28
+ }
29
+ declare enum ParticipantStepState {
30
+ PENDING = "PENDING",
31
+ RUNNING = "RUNNING",
32
+ COMPLETED = "COMPLETED",
33
+ SKIPPED = "SKIPPED",
34
+ CONFIRMED = "CONFIRMED",
35
+ REJECTED = "REJECTED",
36
+ OVERDUE = "OVERDUE",
37
+ FAILED = "FAILED"
38
+ }
39
+ /** @enumType */
40
+ type ParticipantStepStateWithLiterals = ParticipantStepState | 'PENDING' | 'RUNNING' | 'COMPLETED' | 'SKIPPED' | 'CONFIRMED' | 'REJECTED' | 'OVERDUE' | 'FAILED';
41
+ declare enum State {
42
+ JOIN_REQUESTED = "JOIN_REQUESTED",
43
+ INVITED = "INVITED",
44
+ JOIN_REJECTED = "JOIN_REJECTED",
45
+ PAYMENT_REQUESTED = "PAYMENT_REQUESTED",
46
+ PAYMENT_STARTED = "PAYMENT_STARTED",
47
+ JOINED = "JOINED",
48
+ LEFT = "LEFT",
49
+ REMOVED = "REMOVED",
50
+ RUNNING = "RUNNING",
51
+ COMPLETED = "COMPLETED",
52
+ FAILED = "FAILED",
53
+ PAYMENT_STARTED_OFFLINE = "PAYMENT_STARTED_OFFLINE",
54
+ SUSPENDED = "SUSPENDED",
55
+ AUTO_REMOVED = "AUTO_REMOVED"
56
+ }
57
+ /** @enumType */
58
+ type StateWithLiterals = State | 'JOIN_REQUESTED' | 'INVITED' | 'JOIN_REJECTED' | 'PAYMENT_REQUESTED' | 'PAYMENT_STARTED' | 'JOINED' | 'LEFT' | 'REMOVED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'PAYMENT_STARTED_OFFLINE' | 'SUSPENDED' | 'AUTO_REMOVED';
59
+ interface Free {
60
+ }
61
+ interface Added {
62
+ }
63
+ interface SinglePayment {
64
+ orderId?: string;
65
+ }
66
+ interface PaidPlan {
67
+ planIds?: string[];
68
+ }
69
+ interface FreeCoupon {
70
+ couponId?: string;
71
+ }
72
+ interface Member {
73
+ /** @format GUID */
74
+ id?: string;
75
+ fullName?: string;
76
+ imageUrl?: string | null;
77
+ /** @format GUID */
78
+ contactId?: string | null;
79
+ /** @format GUID */
80
+ userId?: string | null;
81
+ }
82
+ interface EntitySummary {
83
+ id?: string;
84
+ title?: string | null;
85
+ media?: MediaItem;
86
+ }
87
+ /** Deprecated - Copy this message into your service, do not reference it */
88
+ interface MediaItem extends MediaItemMediaOneOf {
89
+ /** WixMedia image */
90
+ image?: Image;
91
+ /** WixMedia video */
92
+ video?: Video;
93
+ /** WixMedia document */
94
+ document?: Document;
95
+ }
96
+ /** @oneof */
97
+ interface MediaItemMediaOneOf {
98
+ /** WixMedia image */
99
+ image?: Image;
100
+ /** WixMedia video */
101
+ video?: Video;
102
+ /** WixMedia document */
103
+ document?: Document;
104
+ }
105
+ interface Image {
106
+ /** WixMedia image ID. */
107
+ id?: string;
108
+ /** Image URL. */
109
+ url?: string;
110
+ /**
111
+ * Original image height.
112
+ * @readonly
113
+ */
114
+ height?: number;
115
+ /**
116
+ * Original image width.
117
+ * @readonly
118
+ */
119
+ width?: number;
120
+ /** Image alt text. */
121
+ altText?: string | null;
122
+ /**
123
+ * Image filename.
124
+ * @readonly
125
+ */
126
+ filename?: string | null;
127
+ }
128
+ /** Deprecated - use VideoV2 */
129
+ interface Video {
130
+ /** WixMedia ID */
131
+ id?: string;
132
+ /** URL of video */
133
+ url?: string;
134
+ /**
135
+ * Original image height
136
+ * @readonly
137
+ */
138
+ height?: number;
139
+ /**
140
+ * Original image width
141
+ * @readonly
142
+ */
143
+ width?: number;
144
+ /** Video poster */
145
+ thumbnail?: Image;
146
+ }
147
+ interface Document {
148
+ /** WixMedia ID. */
149
+ id?: string;
150
+ /** Document URL. */
151
+ url?: string;
152
+ /** Document filename. */
153
+ filename?: string | null;
154
+ }
155
+ interface TimeInterval {
156
+ start?: Date | null;
157
+ finish?: Date | null;
158
+ }
159
+ interface StepsSummary {
160
+ stepsNumber?: number;
161
+ completedStepsNumber?: number;
162
+ failedStepsNumber?: number;
163
+ postedFeedbacksNumber?: number;
164
+ lastEvent?: StepEvent;
165
+ }
166
+ interface StateTransition {
167
+ state?: StateWithLiterals;
168
+ occurredAt?: Date | null;
169
+ offlineTrxId?: string | null;
170
+ }
171
+ interface DateInterval {
172
+ start?: string;
173
+ finish?: string | null;
174
+ }
175
+ interface JoinPath extends JoinPathPathOneOf {
176
+ free?: Free;
177
+ added?: Added;
178
+ singlePayment?: SinglePayment;
179
+ paidPlan?: PaidPlan;
180
+ freeCoupon?: FreeCoupon;
181
+ }
182
+ /** @oneof */
183
+ interface JoinPathPathOneOf {
184
+ free?: Free;
185
+ added?: Added;
186
+ singlePayment?: SinglePayment;
187
+ paidPlan?: PaidPlan;
188
+ freeCoupon?: FreeCoupon;
189
+ }
190
+ interface Certificate {
191
+ /**
192
+ * when certificate was issued, UTC
193
+ * @readonly
194
+ */
195
+ issuedDate?: Date | null;
196
+ }
197
+ interface QueryParticipantsRequest {
198
+ paging?: Paging;
199
+ /** @format GUID */
200
+ challengeId: string;
201
+ sorting?: QueryParticipantsRequestSorting;
202
+ filter?: ParticipantsFilter;
203
+ }
204
+ interface ParticipantJoinDate {
205
+ start?: string | null;
206
+ end?: string | null;
207
+ }
208
+ declare enum ParticipationState {
209
+ NotStarted = "NotStarted",
210
+ InProgress = "InProgress",
211
+ Finished = "Finished",
212
+ Suspended = "Suspended",
213
+ AutoRemoved = "AutoRemoved"
214
+ }
215
+ /** @enumType */
216
+ type ParticipationStateWithLiterals = ParticipationState | 'NotStarted' | 'InProgress' | 'Finished' | 'Suspended' | 'AutoRemoved';
217
+ interface ParticipantPerformance {
218
+ /** @max 100 */
219
+ start?: number | null;
220
+ /** @max 100 */
221
+ end?: number | null;
222
+ }
223
+ declare enum QueryParticipantsRequestJoinPath {
224
+ UNKNOWN_JOIN_PATH = "UNKNOWN_JOIN_PATH",
225
+ FREE = "FREE",
226
+ ADDED = "ADDED",
227
+ SINGLE_PAYMENT = "SINGLE_PAYMENT",
228
+ PAID_PLAN = "PAID_PLAN"
229
+ }
230
+ /** @enumType */
231
+ type QueryParticipantsRequestJoinPathWithLiterals = QueryParticipantsRequestJoinPath | 'UNKNOWN_JOIN_PATH' | 'FREE' | 'ADDED' | 'SINGLE_PAYMENT' | 'PAID_PLAN';
232
+ declare enum QueryParticipantsRequestSortingCriterion {
233
+ DEFAULT = "DEFAULT",
234
+ JOIN_DATE = "JOIN_DATE",
235
+ NAME = "NAME",
236
+ LAST_EVENT = "LAST_EVENT",
237
+ PERFORMANCE = "PERFORMANCE"
238
+ }
239
+ /** @enumType */
240
+ type QueryParticipantsRequestSortingCriterionWithLiterals = QueryParticipantsRequestSortingCriterion | 'DEFAULT' | 'JOIN_DATE' | 'NAME' | 'LAST_EVENT' | 'PERFORMANCE';
241
+ declare enum QueryParticipantsRequestSortingOrder {
242
+ ORDER_DEFAULT = "ORDER_DEFAULT",
243
+ ORDER_ASC = "ORDER_ASC",
244
+ ORDER_DESC = "ORDER_DESC"
245
+ }
246
+ /** @enumType */
247
+ type QueryParticipantsRequestSortingOrderWithLiterals = QueryParticipantsRequestSortingOrder | 'ORDER_DEFAULT' | 'ORDER_ASC' | 'ORDER_DESC';
248
+ interface Paging {
249
+ /** Number of items to load. */
250
+ limit?: number | null;
251
+ /** Number of items to skip in the current sort order. */
252
+ offset?: number | null;
253
+ }
254
+ interface QueryParticipantsRequestSorting {
255
+ criterion?: QueryParticipantsRequestSortingCriterionWithLiterals;
256
+ order?: QueryParticipantsRequestSortingOrderWithLiterals;
257
+ }
258
+ interface ParticipantsFilter {
259
+ /** @format GUID */
260
+ memberIds?: string[] | null;
261
+ memberName?: string | null;
262
+ states?: StateWithLiterals[];
263
+ joinedAt?: ParticipantJoinDate;
264
+ participationStates?: ParticipationStateWithLiterals[];
265
+ performance?: ParticipantPerformance[];
266
+ joinPath?: QueryParticipantsRequestJoinPathWithLiterals;
267
+ }
268
+ interface QueryParticipantsResponse {
269
+ totalCount?: number;
270
+ participants?: Participant[];
271
+ }
272
+ interface ListParticipantsRequest {
273
+ paging?: Paging;
274
+ /** @format GUID */
275
+ challengeId: string;
276
+ /**
277
+ * @format GUID
278
+ * @deprecated
279
+ */
280
+ memberId?: string | null;
281
+ states?: StateWithLiterals[];
282
+ memberIds?: string[] | null;
283
+ /** @deprecated */
284
+ sortingCriterion?: SortingCriterionWithLiterals;
285
+ /** @minLength 2 */
286
+ memberName?: string | null;
287
+ sorting?: Sorting;
288
+ }
289
+ declare enum SortingCriterion {
290
+ DEFAULT = "DEFAULT",
291
+ JOIN_DATE = "JOIN_DATE",
292
+ NAME = "NAME",
293
+ LAST_EVENT = "LAST_EVENT",
294
+ PERFORMANCE = "PERFORMANCE"
295
+ }
296
+ /** @enumType */
297
+ type SortingCriterionWithLiterals = SortingCriterion | 'DEFAULT' | 'JOIN_DATE' | 'NAME' | 'LAST_EVENT' | 'PERFORMANCE';
298
+ declare enum SortingOrder {
299
+ ORDER_DEFAULT = "ORDER_DEFAULT",
300
+ ORDER_ASC = "ORDER_ASC",
301
+ ORDER_DESC = "ORDER_DESC"
302
+ }
303
+ /** @enumType */
304
+ type SortingOrderWithLiterals = SortingOrder | 'ORDER_DEFAULT' | 'ORDER_ASC' | 'ORDER_DESC';
305
+ interface Sorting {
306
+ criterion?: SortingCriterionWithLiterals;
307
+ order?: SortingOrderWithLiterals;
308
+ }
309
+ interface ListParticipantsResponse {
310
+ totalCount?: number;
311
+ participants?: Participant[];
312
+ }
313
+ interface JoinParticipantRequest {
314
+ /** @format GUID */
315
+ challengeId: string;
316
+ /**
317
+ * ignored, taken from callScope instead
318
+ * @format GUID
319
+ * @deprecated ignored, taken from callScope instead
320
+ * @targetRemovalDate 2024-09-01
321
+ */
322
+ memberId?: string;
323
+ timeZone?: string;
324
+ /** @format GUID */
325
+ actionId?: string;
326
+ startDate?: string | null;
327
+ }
328
+ interface JoinParticipantResponse {
329
+ /** @format GUID */
330
+ participantId?: string;
331
+ /** @format GUID */
332
+ actionId?: string;
333
+ participant?: Participant;
334
+ }
335
+ /** Add participant */
336
+ interface AddParticipantRequest {
337
+ /** @format GUID */
338
+ challengeId: string;
339
+ /** @format GUID */
340
+ memberId?: string;
341
+ /** @format GUID */
342
+ actionId?: string;
343
+ }
344
+ interface AddParticipantResponse {
345
+ participant?: Participant;
346
+ /** @format GUID */
347
+ actionId?: string;
348
+ }
349
+ /** Add participants */
350
+ interface AddParticipantsRequest {
351
+ /** @format GUID */
352
+ challengeId: string;
353
+ /**
354
+ * @format GUID
355
+ * @maxSize 1000
356
+ */
357
+ memberIds?: string[];
358
+ /** @format GUID */
359
+ actionId?: string;
360
+ }
361
+ interface AddParticipantsResponse {
362
+ participants?: Participant[];
363
+ /** @format GUID */
364
+ actionId?: string;
365
+ }
366
+ interface AddAllParticipantRequest {
367
+ /** @format GUID */
368
+ challengeId: string;
369
+ /** @format GUID */
370
+ excludeIds?: string[];
371
+ }
372
+ interface AddAllParticipantResponse {
373
+ }
374
+ interface CreateJoinRequestRequest {
375
+ /** @format GUID */
376
+ challengeId: string;
377
+ /** @format GUID */
378
+ memberId?: string;
379
+ timeZone?: string;
380
+ /** @format GUID */
381
+ actionId?: string;
382
+ startDate?: string | null;
383
+ }
384
+ interface CreateJoinRequestResponse {
385
+ /** @format GUID */
386
+ participantId?: string;
387
+ /** @format GUID */
388
+ approvalRequestId?: string;
389
+ /** @format GUID */
390
+ actionId?: string;
391
+ participant?: Participant;
392
+ }
393
+ interface InviteParticipantsRequest {
394
+ /** @format GUID */
395
+ challengeId: string;
396
+ memberIds?: string[];
397
+ /** @format GUID */
398
+ actionId?: string;
399
+ }
400
+ interface InviteParticipantsResponse {
401
+ invitations?: InvitationDetails[];
402
+ /** @format GUID */
403
+ actionId?: string;
404
+ }
405
+ interface InvitationDetails {
406
+ /** @format GUID */
407
+ participantId?: string;
408
+ /** @format GUID */
409
+ approvalRequestId?: string;
410
+ }
411
+ interface InviteAllParticipantsRequest {
412
+ /** @format GUID */
413
+ challengeId: string;
414
+ /** @format GUID */
415
+ excludeIds?: string[];
416
+ }
417
+ interface InviteAllParticipantsResponse {
418
+ }
419
+ interface GetParticipantRequest {
420
+ /** @format GUID */
421
+ challengeId: string;
422
+ /** @format GUID */
423
+ participantId: string;
424
+ }
425
+ interface GetParticipantResponse {
426
+ participant?: Participant;
427
+ }
428
+ interface UpdateParticipantRequest extends UpdateParticipantRequestUpdateOneOf {
429
+ startDate?: string;
430
+ /** @format GUID */
431
+ challengeId: string;
432
+ /** @format GUID */
433
+ participantId: string;
434
+ /** @format GUID */
435
+ actionId?: string;
436
+ }
437
+ /** @oneof */
438
+ interface UpdateParticipantRequestUpdateOneOf {
439
+ startDate?: string;
440
+ }
441
+ interface UpdateParticipantResponse {
442
+ participant?: Participant;
443
+ /** @format GUID */
444
+ actionId?: string;
445
+ }
446
+ interface DeleteParticipantRequest {
447
+ /** @format GUID */
448
+ challengeId: string;
449
+ /** @format GUID */
450
+ participantId: string;
451
+ /** @format GUID */
452
+ actionId?: string;
453
+ }
454
+ interface DeleteParticipantResponse {
455
+ /** @format GUID */
456
+ actionId?: string;
457
+ }
458
+ interface ReviveParticipantRequest {
459
+ /** @format GUID */
460
+ challengeId: string;
461
+ /** @format GUID */
462
+ participantId: string;
463
+ /** @format GUID */
464
+ actionId?: string;
465
+ }
466
+ interface ReviveParticipantResponse {
467
+ participant?: Participant;
468
+ /** @format GUID */
469
+ actionId?: string;
470
+ }
471
+ interface ResetParticipantProgressRequest {
472
+ /** @format GUID */
473
+ challengeId: string;
474
+ /** @format GUID */
475
+ participantId: string;
476
+ timeZone?: string;
477
+ startDate?: string | null;
478
+ /** @format GUID */
479
+ actionId?: string;
480
+ }
481
+ interface ResetParticipantProgressResponse {
482
+ participant?: Participant;
483
+ /** @format GUID */
484
+ actionId?: string;
485
+ }
486
+ interface IssueParticipantCertificateRequest {
487
+ /**
488
+ * Participant to issue manually certificate
489
+ * @format GUID
490
+ */
491
+ participantId: string;
492
+ /**
493
+ * Program id. TODO: really bad to have it here, needed for url
494
+ * @format GUID
495
+ */
496
+ challengeId: string;
497
+ }
498
+ interface IssueParticipantCertificateResponse {
499
+ /** Updated participant */
500
+ participant?: Participant;
501
+ }
502
+ interface IssueCertificateRequest {
503
+ /**
504
+ * Participant to get certificate
505
+ * @format GUID
506
+ */
507
+ participantId: string;
508
+ /**
509
+ * Program id. TODO: really bad to have it here, needed for url
510
+ * @format GUID
511
+ */
512
+ challengeId: string;
513
+ }
514
+ interface IssueCertificateResponse {
515
+ /** Updated participant */
516
+ participant?: Participant;
517
+ }
518
+ interface GetCertificateRequest {
519
+ /**
520
+ * Participant to get certificate
521
+ * @format GUID
522
+ */
523
+ participantId: string;
524
+ /**
525
+ * Program id. TODO: really bad to have it here, needed for url
526
+ * @format GUID
527
+ */
528
+ challengeId: string;
529
+ }
530
+ interface GetCertificateResponse {
531
+ /**
532
+ * URL on media to get certificate
533
+ * @format WEB_URL
534
+ */
535
+ certificateUrl?: string;
536
+ }
537
+ interface CreatePaymentOrderRequest {
538
+ /** @format GUID */
539
+ challengeId: string;
540
+ /** @format GUID */
541
+ participantId: string;
542
+ /** @format GUID */
543
+ actionId?: string;
544
+ timeZone?: string | null;
545
+ startDate?: string | null;
546
+ paymentType?: PaymentTypeWithLiterals;
547
+ }
548
+ declare enum PaymentType {
549
+ SINGLE_PAYMENT = "SINGLE_PAYMENT",
550
+ PAID_PLANS = "PAID_PLANS"
551
+ }
552
+ /** @enumType */
553
+ type PaymentTypeWithLiterals = PaymentType | 'SINGLE_PAYMENT' | 'PAID_PLANS';
554
+ interface CreatePaymentOrderResponse {
555
+ /** @format GUID */
556
+ orderId?: string;
557
+ /** @format GUID */
558
+ actionId?: string;
559
+ participant?: Participant;
560
+ }
561
+ interface ApplyCouponToOrderRequest {
562
+ /** @format GUID */
563
+ challengeId: string;
564
+ /** @format GUID */
565
+ participantId: string;
566
+ /** @format GUID */
567
+ orderId: string;
568
+ couponCode: string;
569
+ /** @format GUID */
570
+ actionId?: string;
571
+ }
572
+ interface ApplyCouponToOrderResponse {
573
+ /** @format GUID */
574
+ couponId?: string;
575
+ subTotal?: string;
576
+ discount?: string;
577
+ total?: string;
578
+ }
579
+ interface RemoveCouponFromOrderRequest {
580
+ /** @format GUID */
581
+ challengeId: string;
582
+ /** @format GUID */
583
+ participantId: string;
584
+ /** @format GUID */
585
+ orderId: string;
586
+ /** @format GUID */
587
+ couponId: string;
588
+ /** @format GUID */
589
+ actionId?: string;
590
+ }
591
+ interface RemoveCouponFromOrderResponse {
592
+ total?: string;
593
+ }
594
+ interface ListParticipantStepsRequest {
595
+ /** @format GUID */
596
+ challengeId: string;
597
+ /** @format GUID */
598
+ participantId: string;
599
+ parentId?: string;
600
+ timeInterval?: TimeInterval;
601
+ dateInterval?: DateInterval;
602
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
603
+ }
604
+ declare enum DescriptionFieldSet {
605
+ /** title and detailed description. */
606
+ EXTENDED = "EXTENDED",
607
+ /** title only. */
608
+ STANDARD = "STANDARD"
609
+ }
610
+ /** @enumType */
611
+ type DescriptionFieldSetWithLiterals = DescriptionFieldSet | 'EXTENDED' | 'STANDARD';
612
+ interface ListParticipantStepsResponse {
613
+ steps?: ParticipantStep[];
614
+ }
615
+ interface ParticipantStep {
616
+ id?: string;
617
+ source?: ChallengeStep;
618
+ timeFrame?: TimeInterval;
619
+ feedback?: Feedback;
620
+ transitions?: ParticipantStepStateTransition[];
621
+ dateFrame?: DateInterval;
622
+ quizSubmission?: QuizSubmission;
623
+ }
624
+ interface FeedbackItem extends FeedbackItemValueOneOf {
625
+ number?: number | null;
626
+ text?: string | null;
627
+ media?: MediaItems;
628
+ choice?: FeedbackItemChoice;
629
+ quantity?: Quantity;
630
+ multiSelect?: Choices;
631
+ /** @format GUID */
632
+ feedbackItemSettingsId?: string;
633
+ }
634
+ /** @oneof */
635
+ interface FeedbackItemValueOneOf {
636
+ number?: number | null;
637
+ text?: string | null;
638
+ media?: MediaItems;
639
+ choice?: FeedbackItemChoice;
640
+ quantity?: Quantity;
641
+ multiSelect?: Choices;
642
+ }
643
+ interface MediaItems {
644
+ mediaItems?: MediaItem[];
645
+ }
646
+ interface FeedbackItemChoice {
647
+ choiceId?: string;
648
+ }
649
+ interface Quantity {
650
+ unitName?: string;
651
+ amount?: number;
652
+ }
653
+ interface Choices {
654
+ choiceIds?: string[];
655
+ }
656
+ interface ChallengeStep {
657
+ id?: string;
658
+ settings?: ChallengeStepSettings;
659
+ /**
660
+ * @format GUID
661
+ * @deprecated
662
+ */
663
+ recurrenceSourceId?: string | null;
664
+ createdAt?: Date | null;
665
+ updatedAt?: Date | null;
666
+ /**
667
+ * @format GUID
668
+ * @readonly
669
+ */
670
+ sectionId?: string | null;
671
+ }
672
+ interface GeneralSettings extends GeneralSettingsStepTypeOneOf {
673
+ individual?: IndividualSettings;
674
+ /** @deprecated */
675
+ group?: GroupSettings;
676
+ quiz?: QuizSettings;
677
+ video?: VideoStepSettings;
678
+ /** steps description: title, details, image and etc. */
679
+ description?: ObjectDescription;
680
+ duration?: TimeDuration;
681
+ /** @deprecated */
682
+ recurrenceSettings?: RecurrenceSettings;
683
+ }
684
+ /** @oneof */
685
+ interface GeneralSettingsStepTypeOneOf {
686
+ individual?: IndividualSettings;
687
+ /** @deprecated */
688
+ group?: GroupSettings;
689
+ quiz?: QuizSettings;
690
+ video?: VideoStepSettings;
691
+ }
692
+ interface ObjectDescription {
693
+ /** @maxLength 150 */
694
+ title?: string | null;
695
+ /** @maxLength 2000 */
696
+ details?: string | null;
697
+ media?: MediaItem;
698
+ }
699
+ interface IndividualSettings {
700
+ /** should be renamed, it's a flag whether the questionnaire section is enabled. */
701
+ confirmationRequired?: boolean;
702
+ /** feedback list settings. */
703
+ feedbackSettings?: FeedbackItemSettings[];
704
+ /** whether the quiz section in enabled. */
705
+ showQuiz?: boolean;
706
+ /** quiz list settings. */
707
+ quizSettings?: FeedbackItemSettings[];
708
+ }
709
+ interface FeedbackItemSettings {
710
+ id?: string;
711
+ type?: FeedbackItemType;
712
+ question?: string;
713
+ isRequired?: boolean;
714
+ correctAnswerMessage?: string | null;
715
+ wrongAnswerMessage?: string | null;
716
+ }
717
+ interface NumericFeedbackItem {
718
+ /** @min 1 */
719
+ maxValue?: number;
720
+ }
721
+ interface TextFeedbackItem {
722
+ }
723
+ interface MediaFeedbackItem {
724
+ }
725
+ interface MultipleChoiceFeedbackItem {
726
+ choices?: Choice[];
727
+ }
728
+ declare enum ChoiceRightness {
729
+ NEUTRAL = "NEUTRAL",
730
+ RIGHT = "RIGHT",
731
+ WRONG = "WRONG"
732
+ }
733
+ /** @enumType */
734
+ type ChoiceRightnessWithLiterals = ChoiceRightness | 'NEUTRAL' | 'RIGHT' | 'WRONG';
735
+ interface Choice {
736
+ id?: string;
737
+ description?: ObjectDescription;
738
+ rightness?: ChoiceRightnessWithLiterals;
739
+ }
740
+ interface QuantityFeedbackItem {
741
+ unitName?: string | null;
742
+ amount?: number;
743
+ }
744
+ interface FeedbackItemType extends FeedbackItemTypeTypeOneOf {
745
+ numeric?: NumericFeedbackItem;
746
+ text?: TextFeedbackItem;
747
+ media?: MediaFeedbackItem;
748
+ multipleChoice?: MultipleChoiceFeedbackItem;
749
+ quantity?: QuantityFeedbackItem;
750
+ multiSelect?: MultipleChoiceFeedbackItem;
751
+ }
752
+ /** @oneof */
753
+ interface FeedbackItemTypeTypeOneOf {
754
+ numeric?: NumericFeedbackItem;
755
+ text?: TextFeedbackItem;
756
+ media?: MediaFeedbackItem;
757
+ multipleChoice?: MultipleChoiceFeedbackItem;
758
+ quantity?: QuantityFeedbackItem;
759
+ multiSelect?: MultipleChoiceFeedbackItem;
760
+ }
761
+ interface GroupSettings {
762
+ completionCriteria?: CompletionCriteria;
763
+ }
764
+ interface CompletionCriteria {
765
+ completedSteps?: QuantityCriterion;
766
+ completedMilestones?: QuantityCriterion;
767
+ scoredPoints?: MinThreshold;
768
+ }
769
+ interface QuantityCriterion extends QuantityCriterionCriterionOneOf {
770
+ all?: All;
771
+ minThreshold?: MinThreshold;
772
+ }
773
+ /** @oneof */
774
+ interface QuantityCriterionCriterionOneOf {
775
+ all?: All;
776
+ minThreshold?: MinThreshold;
777
+ }
778
+ interface All {
779
+ }
780
+ interface MinThreshold {
781
+ /** @min 1 */
782
+ value?: number;
783
+ }
784
+ interface QuizSettings {
785
+ quizId?: string;
786
+ questionCount?: number;
787
+ passingGrade?: number | null;
788
+ migrationDetails?: QuizMigrationDetails;
789
+ }
790
+ declare enum QuizType {
791
+ QUIZ = "QUIZ",
792
+ QUESTIONNAIRE = "QUESTIONNAIRE"
793
+ }
794
+ /** @enumType */
795
+ type QuizTypeWithLiterals = QuizType | 'QUIZ' | 'QUESTIONNAIRE';
796
+ interface QuizMigrationDetails {
797
+ sourceStepId?: string;
798
+ show?: boolean;
799
+ quizType?: QuizTypeWithLiterals;
800
+ }
801
+ interface VideoStepSettings extends VideoStepSettingsVideoSourceOneOf {
802
+ wixVideo?: WixVideo;
803
+ video?: VideoV2;
804
+ requiredCompletionPercentage?: number;
805
+ coverImage?: Image;
806
+ durationInMilliseconds?: number | null;
807
+ deleted?: boolean;
808
+ }
809
+ /** @oneof */
810
+ interface VideoStepSettingsVideoSourceOneOf {
811
+ wixVideo?: WixVideo;
812
+ video?: VideoV2;
813
+ }
814
+ interface WixVideo {
815
+ /** @format GUID */
816
+ id?: string;
817
+ paid?: boolean;
818
+ }
819
+ interface VideoV2 {
820
+ /** WixMedia ID. */
821
+ id?: string;
822
+ /**
823
+ * Available resolutions for the video, starting with the optimal resolution.
824
+ * @readonly
825
+ * @maxSize 100
826
+ */
827
+ resolutions?: VideoResolution[];
828
+ /**
829
+ * Video filename.
830
+ * @readonly
831
+ */
832
+ filename?: string | null;
833
+ }
834
+ interface VideoResolution {
835
+ /** Video URL. */
836
+ url?: string;
837
+ /** Video height. */
838
+ height?: number;
839
+ /** Video width. */
840
+ width?: number;
841
+ /** Video format for example, mp4, hls. */
842
+ format?: string;
843
+ }
844
+ interface TimeDuration {
845
+ unit?: DurationUnitWithLiterals;
846
+ value?: number;
847
+ }
848
+ declare enum DurationUnit {
849
+ WEEKS = "WEEKS",
850
+ DAYS = "DAYS",
851
+ HOURS = "HOURS",
852
+ MINUTES = "MINUTES"
853
+ }
854
+ /** @enumType */
855
+ type DurationUnitWithLiterals = DurationUnit | 'WEEKS' | 'DAYS' | 'HOURS' | 'MINUTES';
856
+ interface RecurrenceSettings {
857
+ schedules?: RecurrenceSchedule[];
858
+ /** @min 1 */
859
+ recurrencesCount?: number | null;
860
+ }
861
+ interface RecurrenceSchedule {
862
+ startDelay?: TimeDuration;
863
+ interval?: TimeDuration;
864
+ }
865
+ interface EmbeddingSettings {
866
+ /** step start delay. */
867
+ startConditions?: StartCondition[];
868
+ /** @deprecated */
869
+ isMilestone?: boolean;
870
+ /** @deprecated */
871
+ points?: number | null;
872
+ }
873
+ interface StartCondition {
874
+ /** whether the step should start on join. */
875
+ dependency?: StepDependency;
876
+ /** step delay regarding the challenge start. */
877
+ delay?: TimeDuration;
878
+ }
879
+ interface StepDependency extends StepDependencyDependencyTypeOneOf {
880
+ container?: Container;
881
+ /** @deprecated */
882
+ step?: Step;
883
+ }
884
+ /** @oneof */
885
+ interface StepDependencyDependencyTypeOneOf {
886
+ container?: Container;
887
+ /** @deprecated */
888
+ step?: Step;
889
+ }
890
+ interface Container {
891
+ }
892
+ interface Step {
893
+ stepId?: string;
894
+ }
895
+ interface ChallengeStepSettings {
896
+ general?: GeneralSettings;
897
+ embedding?: EmbeddingSettings;
898
+ }
899
+ interface Feedback {
900
+ items?: FeedbackItem[];
901
+ createdAt?: Date | null;
902
+ updatedAt?: Date | null;
903
+ quiz?: FeedbackItem[];
904
+ }
905
+ interface QuizSubmission {
906
+ quizSubmissionId?: string;
907
+ score?: number | null;
908
+ grade?: number | null;
909
+ rightAnswers?: number | null;
910
+ passingGrade?: number | null;
911
+ }
912
+ interface GetParticipantStepRequest {
913
+ /** @format GUID */
914
+ challengeId: string;
915
+ /** @format GUID */
916
+ participantId: string;
917
+ stepId: string;
918
+ timeInterval?: TimeInterval;
919
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
920
+ }
921
+ interface GetParticipantStepResponse {
922
+ step?: ParticipantStep;
923
+ subSteps?: ParticipantStep[];
924
+ }
925
+ interface ResolveParticipantStepRequest {
926
+ /** @format GUID */
927
+ challengeId: string;
928
+ /** @format GUID */
929
+ participantId: string;
930
+ stepId: string;
931
+ status?: ResolutionStatusWithLiterals;
932
+ feedback?: Feedback;
933
+ actionId?: string;
934
+ /** @format GUID */
935
+ quizSubmissionId?: string | null;
936
+ }
937
+ declare enum ResolutionStatus {
938
+ COMPLETED = "COMPLETED",
939
+ SKIPPED = "SKIPPED",
940
+ UNDO = "UNDO",
941
+ QUIZ_SUBMIT = "QUIZ_SUBMIT"
942
+ }
943
+ /** @enumType */
944
+ type ResolutionStatusWithLiterals = ResolutionStatus | 'COMPLETED' | 'SKIPPED' | 'UNDO' | 'QUIZ_SUBMIT';
945
+ interface ResolveParticipantStepResponse {
946
+ step?: ParticipantStep;
947
+ /** @format GUID */
948
+ actionId?: string;
949
+ }
950
+ interface UpdateStepFeedbackRequest {
951
+ /** @format GUID */
952
+ challengeId: string;
953
+ /** @format GUID */
954
+ participantId: string;
955
+ stepId: string;
956
+ feedback?: Feedback;
957
+ /** @format GUID */
958
+ actionId?: string;
959
+ }
960
+ interface UpdateStepFeedbackResponse {
961
+ step?: ParticipantStep;
962
+ /** @format GUID */
963
+ actionId?: string;
964
+ }
965
+ interface GetMediaUploadInfoRequest {
966
+ /** @format GUID */
967
+ challengeId: string;
968
+ /** @format GUID */
969
+ participantId: string;
970
+ fileName?: string;
971
+ }
972
+ interface GetMediaUploadInfoResponse {
973
+ uploadUrl?: string;
974
+ uploadToken?: string;
975
+ }
976
+ interface ListParticipantSectionsRequest {
977
+ /** @format GUID */
978
+ challengeId: string;
979
+ /** @format GUID */
980
+ participantId: string;
981
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
982
+ }
983
+ interface ListParticipantSectionsResponse {
984
+ sections?: ParticipantSection[];
985
+ }
986
+ interface ParticipantSection {
987
+ id?: string;
988
+ source?: ChallengeSection;
989
+ steps?: ParticipantStep[];
990
+ transitions?: ParticipantSectionStateTransition[];
991
+ progress?: Progress;
992
+ }
993
+ interface WaitingDate {
994
+ startDate?: string;
995
+ }
996
+ interface WaitingDependency {
997
+ sectionId?: string;
998
+ }
999
+ interface Running {
1000
+ dateInterval?: DateInterval;
1001
+ }
1002
+ interface Completed {
1003
+ }
1004
+ interface Overdue {
1005
+ }
1006
+ interface ChallengeSection {
1007
+ /** challenge section id. */
1008
+ id?: string;
1009
+ /** challenge section settings. */
1010
+ settings?: Settings;
1011
+ createdAt?: Date | null;
1012
+ updatedAt?: Date | null;
1013
+ /** list of challenge steps laying inside the section. */
1014
+ steps?: ChallengeStep[];
1015
+ }
1016
+ interface Settings {
1017
+ /** section description(title, details, image...) */
1018
+ description?: ObjectDescription;
1019
+ /** condition for the section start. */
1020
+ startCondition?: StartCondition;
1021
+ }
1022
+ interface ParticipantSectionStateTransition extends ParticipantSectionStateTransitionStateOneOf {
1023
+ waitingDate?: WaitingDate;
1024
+ waitingDependency?: WaitingDependency;
1025
+ running?: Running;
1026
+ completed?: Completed;
1027
+ overdue?: Overdue;
1028
+ occurredAt?: Date | null;
1029
+ }
1030
+ /** @oneof */
1031
+ interface ParticipantSectionStateTransitionStateOneOf {
1032
+ waitingDate?: WaitingDate;
1033
+ waitingDependency?: WaitingDependency;
1034
+ running?: Running;
1035
+ completed?: Completed;
1036
+ overdue?: Overdue;
1037
+ }
1038
+ interface Progress {
1039
+ nTotalSteps?: string;
1040
+ nCompletedSteps?: string;
1041
+ }
1042
+ interface GetParticipantSectionRequest {
1043
+ /** @format GUID */
1044
+ challengeId: string;
1045
+ /** @format GUID */
1046
+ participantId: string;
1047
+ /** @format GUID */
1048
+ sectionId: string;
1049
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1050
+ }
1051
+ interface GetParticipantSectionResponse {
1052
+ section?: ParticipantSection;
1053
+ }
1054
+ interface MyProgramRequest {
1055
+ programId: string;
1056
+ }
1057
+ interface MyProgramResponse {
1058
+ participant?: Participant;
1059
+ }
1060
+ interface MyProgramStepRequest {
1061
+ programId: string;
1062
+ programStepId: string;
1063
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1064
+ }
1065
+ interface MyProgramStepResponse {
1066
+ participantStep?: ParticipantStep;
1067
+ }
1068
+ interface MyProgramSectionRequest {
1069
+ programId: string;
1070
+ programSectionId: string;
1071
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1072
+ }
1073
+ interface MyProgramSectionResponse {
1074
+ participantSection?: ParticipantSection;
1075
+ }
1076
+
1077
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1078
+ getUrl: (context: any) => string;
1079
+ httpMethod: K;
1080
+ path: string;
1081
+ pathParams: M;
1082
+ __requestType: T;
1083
+ __originalRequestType: S;
1084
+ __responseType: Q;
1085
+ __originalResponseType: R;
1086
+ };
1087
+ declare function queryParticipants(): __PublicMethodMetaInfo<'POST', {
1088
+ challengeId: string;
1089
+ }, QueryParticipantsRequest$1, QueryParticipantsRequest, QueryParticipantsResponse$1, QueryParticipantsResponse>;
1090
+ declare function listParticipants(): __PublicMethodMetaInfo<'GET', {
1091
+ challengeId: string;
1092
+ }, ListParticipantsRequest$1, ListParticipantsRequest, ListParticipantsResponse$1, ListParticipantsResponse>;
1093
+ declare function joinParticipant(): __PublicMethodMetaInfo<'POST', {
1094
+ challengeId: string;
1095
+ }, JoinParticipantRequest$1, JoinParticipantRequest, JoinParticipantResponse$1, JoinParticipantResponse>;
1096
+ declare function addParticipant(): __PublicMethodMetaInfo<'POST', {
1097
+ challengeId: string;
1098
+ }, AddParticipantRequest$1, AddParticipantRequest, AddParticipantResponse$1, AddParticipantResponse>;
1099
+ declare function addParticipants(): __PublicMethodMetaInfo<'POST', {
1100
+ challengeId: string;
1101
+ }, AddParticipantsRequest$1, AddParticipantsRequest, AddParticipantsResponse$1, AddParticipantsResponse>;
1102
+ declare function addAllParticipant(): __PublicMethodMetaInfo<'POST', {
1103
+ challengeId: string;
1104
+ }, AddAllParticipantRequest$1, AddAllParticipantRequest, AddAllParticipantResponse$1, AddAllParticipantResponse>;
1105
+ declare function createJoinRequest(): __PublicMethodMetaInfo<'POST', {
1106
+ challengeId: string;
1107
+ }, CreateJoinRequestRequest$1, CreateJoinRequestRequest, CreateJoinRequestResponse$1, CreateJoinRequestResponse>;
1108
+ declare function inviteParticipants(): __PublicMethodMetaInfo<'POST', {
1109
+ challengeId: string;
1110
+ }, InviteParticipantsRequest$1, InviteParticipantsRequest, InviteParticipantsResponse$1, InviteParticipantsResponse>;
1111
+ declare function inviteAllParticipants(): __PublicMethodMetaInfo<'POST', {
1112
+ challengeId: string;
1113
+ }, InviteAllParticipantsRequest$1, InviteAllParticipantsRequest, InviteAllParticipantsResponse$1, InviteAllParticipantsResponse>;
1114
+ declare function getParticipant(): __PublicMethodMetaInfo<'GET', {
1115
+ challengeId: string;
1116
+ participantId: string;
1117
+ }, GetParticipantRequest$1, GetParticipantRequest, GetParticipantResponse$1, GetParticipantResponse>;
1118
+ declare function updateParticipant(): __PublicMethodMetaInfo<'PATCH', {
1119
+ challengeId: string;
1120
+ participantId: string;
1121
+ }, UpdateParticipantRequest$1, UpdateParticipantRequest, UpdateParticipantResponse$1, UpdateParticipantResponse>;
1122
+ declare function deleteParticipant(): __PublicMethodMetaInfo<'DELETE', {
1123
+ challengeId: string;
1124
+ participantId: string;
1125
+ }, DeleteParticipantRequest$1, DeleteParticipantRequest, DeleteParticipantResponse$1, DeleteParticipantResponse>;
1126
+ declare function reviveParticipant(): __PublicMethodMetaInfo<'PATCH', {
1127
+ challengeId: string;
1128
+ participantId: string;
1129
+ }, ReviveParticipantRequest$1, ReviveParticipantRequest, ReviveParticipantResponse$1, ReviveParticipantResponse>;
1130
+ declare function resetParticipantProgress(): __PublicMethodMetaInfo<'PATCH', {
1131
+ challengeId: string;
1132
+ participantId: string;
1133
+ }, ResetParticipantProgressRequest$1, ResetParticipantProgressRequest, ResetParticipantProgressResponse$1, ResetParticipantProgressResponse>;
1134
+ declare function issueParticipantCertificate(): __PublicMethodMetaInfo<'POST', {
1135
+ challengeId: string;
1136
+ participantId: string;
1137
+ }, IssueParticipantCertificateRequest$1, IssueParticipantCertificateRequest, IssueParticipantCertificateResponse$1, IssueParticipantCertificateResponse>;
1138
+ declare function issueCertificate(): __PublicMethodMetaInfo<'POST', {
1139
+ challengeId: string;
1140
+ participantId: string;
1141
+ }, IssueCertificateRequest$1, IssueCertificateRequest, IssueCertificateResponse$1, IssueCertificateResponse>;
1142
+ declare function getCertificate(): __PublicMethodMetaInfo<'GET', {
1143
+ challengeId: string;
1144
+ participantId: string;
1145
+ }, GetCertificateRequest$1, GetCertificateRequest, GetCertificateResponse$1, GetCertificateResponse>;
1146
+ declare function createPaymentOrder(): __PublicMethodMetaInfo<'POST', {
1147
+ challengeId: string;
1148
+ participantId: string;
1149
+ }, CreatePaymentOrderRequest$1, CreatePaymentOrderRequest, CreatePaymentOrderResponse$1, CreatePaymentOrderResponse>;
1150
+ declare function applyCouponToOrder(): __PublicMethodMetaInfo<'POST', {
1151
+ challengeId: string;
1152
+ participantId: string;
1153
+ orderId: string;
1154
+ }, ApplyCouponToOrderRequest$1, ApplyCouponToOrderRequest, ApplyCouponToOrderResponse$1, ApplyCouponToOrderResponse>;
1155
+ declare function removeCouponFromOrder(): __PublicMethodMetaInfo<'DELETE', {
1156
+ challengeId: string;
1157
+ participantId: string;
1158
+ orderId: string;
1159
+ couponId: string;
1160
+ }, RemoveCouponFromOrderRequest$1, RemoveCouponFromOrderRequest, RemoveCouponFromOrderResponse$1, RemoveCouponFromOrderResponse>;
1161
+ declare function listSteps(): __PublicMethodMetaInfo<'GET', {
1162
+ challengeId: string;
1163
+ participantId: string;
1164
+ }, ListParticipantStepsRequest$1, ListParticipantStepsRequest, ListParticipantStepsResponse$1, ListParticipantStepsResponse>;
1165
+ declare function getStep(): __PublicMethodMetaInfo<'GET', {
1166
+ challengeId: string;
1167
+ participantId: string;
1168
+ stepId: string;
1169
+ }, GetParticipantStepRequest$1, GetParticipantStepRequest, GetParticipantStepResponse$1, GetParticipantStepResponse>;
1170
+ declare function resolveStep(): __PublicMethodMetaInfo<'PATCH', {
1171
+ challengeId: string;
1172
+ participantId: string;
1173
+ stepId: string;
1174
+ }, ResolveParticipantStepRequest$1, ResolveParticipantStepRequest, ResolveParticipantStepResponse$1, ResolveParticipantStepResponse>;
1175
+ declare function updateStepFeedback(): __PublicMethodMetaInfo<'PUT', {
1176
+ challengeId: string;
1177
+ participantId: string;
1178
+ stepId: string;
1179
+ }, UpdateStepFeedbackRequest$1, UpdateStepFeedbackRequest, UpdateStepFeedbackResponse$1, UpdateStepFeedbackResponse>;
1180
+ declare function getMediaUploadInfo(): __PublicMethodMetaInfo<'GET', {
1181
+ challengeId: string;
1182
+ participantId: string;
1183
+ }, GetMediaUploadInfoRequest$1, GetMediaUploadInfoRequest, GetMediaUploadInfoResponse$1, GetMediaUploadInfoResponse>;
1184
+ declare function listSections(): __PublicMethodMetaInfo<'GET', {
1185
+ challengeId: string;
1186
+ participantId: string;
1187
+ }, ListParticipantSectionsRequest$1, ListParticipantSectionsRequest, ListParticipantSectionsResponse$1, ListParticipantSectionsResponse>;
1188
+ declare function getSection(): __PublicMethodMetaInfo<'GET', {
1189
+ challengeId: string;
1190
+ participantId: string;
1191
+ sectionId: string;
1192
+ }, GetParticipantSectionRequest$1, GetParticipantSectionRequest, GetParticipantSectionResponse$1, GetParticipantSectionResponse>;
1193
+ declare function myProgram(): __PublicMethodMetaInfo<'GET', {
1194
+ programId: string;
1195
+ }, MyProgramRequest$1, MyProgramRequest, MyProgramResponse$1, MyProgramResponse>;
1196
+ declare function myProgramStep(): __PublicMethodMetaInfo<'GET', {
1197
+ programId: string;
1198
+ programStepId: string;
1199
+ }, MyProgramStepRequest$1, MyProgramStepRequest, MyProgramStepResponse$1, MyProgramStepResponse>;
1200
+ declare function myProgramSection(): __PublicMethodMetaInfo<'GET', {
1201
+ programId: string;
1202
+ programSectionId: string;
1203
+ }, MyProgramSectionRequest$1, MyProgramSectionRequest, MyProgramSectionResponse$1, MyProgramSectionResponse>;
1204
+
1205
+ export { type __PublicMethodMetaInfo, addAllParticipant, addParticipant, addParticipants, applyCouponToOrder, createJoinRequest, createPaymentOrder, deleteParticipant, getCertificate, getMediaUploadInfo, getParticipant, getSection, getStep, inviteAllParticipants, inviteParticipants, issueCertificate, issueParticipantCertificate, joinParticipant, listParticipants, listSections, listSteps, myProgram, myProgramSection, myProgramStep, queryParticipants, removeCouponFromOrder, resetParticipantProgress, resolveStep, reviveParticipant, updateParticipant, updateStepFeedback };