@wix/auto_sdk_online-programs_participants 1.0.26 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +12 -12
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +81 -60
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-participants-v3-participant-participants.universal-Cpkfb79r.d.ts → online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.ts} +119 -88
- package/build/es/index.d.mts +12 -12
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +81 -60
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-participants-v3-participant-participants.universal-Cpkfb79r.d.mts → online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.mts} +119 -88
- package/build/internal/cjs/index.d.ts +12 -12
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +81 -60
- package/build/internal/cjs/{online-programs-participants-v3-participant-participants.universal-Ch7bJyn2.d.ts → online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.ts} +119 -88
- package/build/internal/es/index.d.mts +12 -12
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +81 -60
- package/build/internal/es/{online-programs-participants-v3-participant-participants.universal-Ch7bJyn2.d.mts → online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.mts} +119 -88
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ao as CreateParticipantRequest$1, ap as CreateParticipantResponse$1, aq as UpdateParticipantRequest$1, ar as UpdateParticipantResponse$1, as as BulkCreateParticipantsRequest$1, c as BulkCreateParticipantsResponse$1, aH as BulkCreateParticipantsForAllMembersRequest$1, f as BulkCreateParticipantsForAllMembersResponse$1, aI as DeleteParticipantRequest$1, aJ as DeleteParticipantResponse$1, aK as IssueCertificateRequest$1, g as IssueCertificateResponse$1, aL as GetCertificateDownloadUrlRequest$1, G as GetCertificateDownloadUrlResponse$1, aO as GetPremiumStatsRequest$1, j as GetPremiumStatsResponse$1, aP as GetParticipationStatsRequest$1, k as GetParticipationStatsResponse$1, aR as GetParticipantRequest$1, aS as GetParticipantResponse$1, aT as QueryParticipantsRequest$1, aZ as QueryParticipantsResponse$1, b0 as GetAccessStatusRequest$1, m as GetAccessStatusResponse$1, b1 as BulkUpdateParticipantTagsRequest$1, o as BulkUpdateParticipantTagsResponse$1, b3 as BulkUpdateParticipantTagsByFilterRequest$1, r as BulkUpdateParticipantTagsByFilterResponse$1, b4 as SearchParticipantsRequest$1, u as SearchParticipantsResponse$1, bU as ExportParticipantsStatsRequest$1, bV as ExportParticipantsStatsResponse$1 } from './online-programs-participants-v3-participant-participants.universal-
|
|
1
|
+
import { ao as CreateParticipantRequest$1, ap as CreateParticipantResponse$1, aq as UpdateParticipantRequest$1, ar as UpdateParticipantResponse$1, as as BulkCreateParticipantsRequest$1, c as BulkCreateParticipantsResponse$1, aH as BulkCreateParticipantsForAllMembersRequest$1, f as BulkCreateParticipantsForAllMembersResponse$1, aI as DeleteParticipantRequest$1, aJ as DeleteParticipantResponse$1, aK as IssueCertificateRequest$1, g as IssueCertificateResponse$1, aL as GetCertificateDownloadUrlRequest$1, G as GetCertificateDownloadUrlResponse$1, aO as GetPremiumStatsRequest$1, j as GetPremiumStatsResponse$1, aP as GetParticipationStatsRequest$1, k as GetParticipationStatsResponse$1, aR as GetParticipantRequest$1, aS as GetParticipantResponse$1, aT as QueryParticipantsRequest$1, aZ as QueryParticipantsResponse$1, b0 as GetAccessStatusRequest$1, m as GetAccessStatusResponse$1, b1 as BulkUpdateParticipantTagsRequest$1, o as BulkUpdateParticipantTagsResponse$1, b3 as BulkUpdateParticipantTagsByFilterRequest$1, r as BulkUpdateParticipantTagsByFilterResponse$1, b4 as SearchParticipantsRequest$1, u as SearchParticipantsResponse$1, bU as ExportParticipantsStatsRequest$1, bV as ExportParticipantsStatsResponse$1 } from './online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* A participant entity represents a site member who takes part in a specific Online Program.
|
|
6
6
|
* Participants have access to the program's content and progress through the program by completing its steps.
|
|
7
7
|
* A participant can join through a join application flow or be manually added by the program owner.
|
|
8
8
|
* A participant's status depends on their progress and the program's settings (e.g., start and end dates). Participation may also be temporarily suspended.
|
|
@@ -15,17 +15,20 @@ interface Participant {
|
|
|
15
15
|
*/
|
|
16
16
|
id?: string | null;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Revision number, which increments by 1 each time the participant is updated.
|
|
19
|
+
* To prevent conflicting changes, the current revision must be specified when updating the participant.
|
|
20
|
+
*
|
|
21
|
+
* Ignored when creating a participant.
|
|
19
22
|
* @readonly
|
|
20
23
|
*/
|
|
21
24
|
revision?: string | null;
|
|
22
25
|
/**
|
|
23
|
-
*
|
|
26
|
+
* Date and time the participant was created.
|
|
24
27
|
* @readonly
|
|
25
28
|
*/
|
|
26
29
|
createdDate?: Date | null;
|
|
27
30
|
/**
|
|
28
|
-
* Date the participant was
|
|
31
|
+
* Date and time the participant was updated.
|
|
29
32
|
* @readonly
|
|
30
33
|
*/
|
|
31
34
|
updatedDate?: Date | null;
|
|
@@ -42,17 +45,19 @@ interface Participant {
|
|
|
42
45
|
*/
|
|
43
46
|
programId?: string;
|
|
44
47
|
/**
|
|
45
|
-
* Program completion progress. This field is conditional and must be explicitly requested
|
|
48
|
+
* Program completion progress. This field is conditional and must be explicitly requested using the `fields` parameter.
|
|
46
49
|
* @readonly
|
|
47
50
|
*/
|
|
48
51
|
progress?: Progress;
|
|
49
52
|
/**
|
|
50
|
-
*
|
|
53
|
+
* Information about the participant's certificate.
|
|
54
|
+
*
|
|
55
|
+
* Returned only when a certificate has been issued to the participant.
|
|
51
56
|
* @readonly
|
|
52
57
|
*/
|
|
53
58
|
certificateInfo?: CertificateInfo;
|
|
54
59
|
/**
|
|
55
|
-
*
|
|
60
|
+
* Snapshot of the site member identified by `memberId`, copied from the Members API. It isn't the authoritative member record.
|
|
56
61
|
* @readonly
|
|
57
62
|
*/
|
|
58
63
|
member?: Member;
|
|
@@ -73,7 +78,11 @@ interface Participant {
|
|
|
73
78
|
progressStatus?: ProgressStatusWithLiterals;
|
|
74
79
|
/** Additional information about the participant's enrollment and completion timeframe in the program. */
|
|
75
80
|
enrollmentInfo?: EnrollmentInfo;
|
|
76
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Custom field data for the participant object.
|
|
83
|
+
*
|
|
84
|
+
* [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
|
|
85
|
+
*/
|
|
77
86
|
extendedFields?: ExtendedFields;
|
|
78
87
|
/** Tags for categorizing and organizing participants. */
|
|
79
88
|
tags?: Tags;
|
|
@@ -100,7 +109,9 @@ interface SinglePaymentDetails {
|
|
|
100
109
|
*/
|
|
101
110
|
paymentOrderId?: string;
|
|
102
111
|
/**
|
|
103
|
-
* ID of the offline transaction
|
|
112
|
+
* ID of the offline transaction.
|
|
113
|
+
*
|
|
114
|
+
* Available only when the participant paid with an offline payment method, such as cash or check.
|
|
104
115
|
* @format GUID
|
|
105
116
|
* @immutable
|
|
106
117
|
*/
|
|
@@ -128,8 +139,8 @@ interface Progress {
|
|
|
128
139
|
/** Total number of program steps available to resolve. */
|
|
129
140
|
totalStepsAvailable?: number;
|
|
130
141
|
/**
|
|
131
|
-
* Participant's completion percentage. For completed
|
|
132
|
-
* (
|
|
142
|
+
* Participant's completion percentage. For participants who completed the program, this is `100.0`.
|
|
143
|
+
* Otherwise, it's calculated as (`totalStepsCompleted` / `totalStepsAvailable`) * 100, capped at `100`, and rounded to 1 decimal place.
|
|
133
144
|
* @max 100
|
|
134
145
|
*/
|
|
135
146
|
completionPercentage?: number;
|
|
@@ -143,31 +154,41 @@ interface CertificateInfo {
|
|
|
143
154
|
}
|
|
144
155
|
interface Member {
|
|
145
156
|
/**
|
|
146
|
-
* First name of the site member.
|
|
157
|
+
* First name of the site member.
|
|
158
|
+
*
|
|
159
|
+
* Returned only when the member has provided it in their profile.
|
|
147
160
|
* @readonly
|
|
148
161
|
* @maxLength 1000
|
|
149
162
|
*/
|
|
150
163
|
firstName?: string | null;
|
|
151
164
|
/**
|
|
152
|
-
* Last name of the site member.
|
|
165
|
+
* Last name of the site member.
|
|
166
|
+
*
|
|
167
|
+
* Returned only when the member has provided it in their profile.
|
|
153
168
|
* @readonly
|
|
154
169
|
* @maxLength 1000
|
|
155
170
|
*/
|
|
156
171
|
lastName?: string | null;
|
|
157
172
|
/**
|
|
158
|
-
* Email of the site member.
|
|
173
|
+
* Email of the site member.
|
|
174
|
+
*
|
|
175
|
+
* Returned only when the member has provided it in their profile.
|
|
159
176
|
* @readonly
|
|
160
177
|
* @format EMAIL
|
|
161
178
|
*/
|
|
162
179
|
email?: string | null;
|
|
163
180
|
/**
|
|
164
|
-
* Contact ID for accessing additional member information
|
|
181
|
+
* Contact ID for accessing additional member information with the Contacts API, such as phone numbers, addresses, and custom fields.
|
|
182
|
+
*
|
|
183
|
+
* Returned only when the member has provided this information in their profile.
|
|
165
184
|
* @format GUID
|
|
166
185
|
* @readonly
|
|
167
186
|
*/
|
|
168
187
|
contactId?: string | null;
|
|
169
188
|
/**
|
|
170
|
-
* Member nickname.
|
|
189
|
+
* Member nickname.
|
|
190
|
+
*
|
|
191
|
+
* Returned only when the member has provided it in their profile.
|
|
171
192
|
* @readonly
|
|
172
193
|
* @maxLength 1000
|
|
173
194
|
*/
|
|
@@ -202,7 +223,7 @@ declare enum ProgressStatus {
|
|
|
202
223
|
COMPLETED = "COMPLETED",
|
|
203
224
|
/** Participant failed to complete the program within the deadline. */
|
|
204
225
|
FAILED = "FAILED",
|
|
205
|
-
/** Progress tracking
|
|
226
|
+
/** Progress tracking isn't applicable because the participant left, was removed, or was auto-removed. */
|
|
206
227
|
NOT_APPLICABLE = "NOT_APPLICABLE"
|
|
207
228
|
}
|
|
208
229
|
/** @enumType */
|
|
@@ -221,7 +242,8 @@ interface EnrollmentInfo extends EnrollmentInfoPricingTypeDetailsOneOf {
|
|
|
221
242
|
*/
|
|
222
243
|
timeZone?: string;
|
|
223
244
|
/**
|
|
224
|
-
* Date when the participant's program timeline begins
|
|
245
|
+
* Date when the participant's program timeline begins, in `YYYY-MM-DD` format.
|
|
246
|
+
* If the program's `timeline.startDate` is set, this is that date. Otherwise, it's the local calendar date when the participant is created, based on the site's time zone.
|
|
225
247
|
* @format LOCAL_DATE
|
|
226
248
|
* @readonly
|
|
227
249
|
*/
|
|
@@ -229,7 +251,9 @@ interface EnrollmentInfo extends EnrollmentInfoPricingTypeDetailsOneOf {
|
|
|
229
251
|
/** Pricing type used for the participant's enrollment in the program. */
|
|
230
252
|
pricingType?: PricingTypeWithLiterals;
|
|
231
253
|
/**
|
|
232
|
-
* Date by which the participant must complete the program
|
|
254
|
+
* Date by which the participant must complete the program, in `YYYY-MM-DD` format.
|
|
255
|
+
*
|
|
256
|
+
* Returned only when the program has a fixed end date, or a duration-based deadline calculated from the participant's start date.
|
|
233
257
|
* @format LOCAL_DATE
|
|
234
258
|
* @readonly
|
|
235
259
|
*/
|
|
@@ -321,16 +345,13 @@ interface Schema {
|
|
|
321
345
|
label?: string;
|
|
322
346
|
clusterName?: string;
|
|
323
347
|
}
|
|
324
|
-
/**
|
|
325
|
-
* Domain event emitted when a participant's tags are modified.
|
|
326
|
-
* Pre-publication rename from TagsModified; no consumers of the legacy FQN are known.
|
|
327
|
-
*/
|
|
348
|
+
/** Domain event emitted when a participant's tags are modified. */
|
|
328
349
|
interface ParticipantTagsModified {
|
|
329
|
-
/** The
|
|
350
|
+
/** The participant with the updated tags. */
|
|
330
351
|
participant?: Participant;
|
|
331
|
-
/** Tags that were assigned */
|
|
352
|
+
/** Tags that were assigned. */
|
|
332
353
|
assignedTags?: Tags;
|
|
333
|
-
/** Tags that were unassigned */
|
|
354
|
+
/** Tags that were unassigned. */
|
|
334
355
|
unassignedTags?: Tags;
|
|
335
356
|
}
|
|
336
357
|
/** Domain event emitted when a participant completes a program. */
|
|
@@ -434,11 +455,11 @@ interface ParticipantLeft {
|
|
|
434
455
|
participant?: Participant;
|
|
435
456
|
}
|
|
436
457
|
interface CreateParticipantRequest {
|
|
437
|
-
/** Participant to create */
|
|
458
|
+
/** Participant to create. */
|
|
438
459
|
participant: Participant;
|
|
439
460
|
/**
|
|
440
461
|
* Array of conditional fields to include in the response.
|
|
441
|
-
* Use `RequestedFields.PROGRESS` to include the progress field, which requires calculating completion statistics across all program steps. Only request this field when you need current progress data, as it impacts performance.
|
|
462
|
+
* Use `RequestedFields.PROGRESS` to include the `progress` field, which requires calculating completion statistics across all program steps. Only request this field when you need current progress data, as it impacts performance.
|
|
442
463
|
* @maxSize 1
|
|
443
464
|
*/
|
|
444
465
|
fields?: RequestedFieldsWithLiterals[];
|
|
@@ -454,7 +475,7 @@ declare enum RequestedFields {
|
|
|
454
475
|
/** @enumType */
|
|
455
476
|
type RequestedFieldsWithLiterals = RequestedFields | 'PROGRESS';
|
|
456
477
|
interface CreateParticipantResponse {
|
|
457
|
-
/** Created participant */
|
|
478
|
+
/** Created participant. */
|
|
458
479
|
participant?: Participant;
|
|
459
480
|
}
|
|
460
481
|
interface UpdateParticipantRequest {
|
|
@@ -462,13 +483,13 @@ interface UpdateParticipantRequest {
|
|
|
462
483
|
participant: Participant;
|
|
463
484
|
/**
|
|
464
485
|
* Array of conditional fields to include in the response.
|
|
465
|
-
* Use RequestedFields.PROGRESS to include the progress field which
|
|
486
|
+
* Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
|
|
466
487
|
* @maxSize 1
|
|
467
488
|
*/
|
|
468
489
|
fields?: RequestedFieldsWithLiterals[];
|
|
469
490
|
}
|
|
470
491
|
interface UpdateParticipantResponse {
|
|
471
|
-
/** Updated participant */
|
|
492
|
+
/** Updated participant. */
|
|
472
493
|
participant?: Participant;
|
|
473
494
|
}
|
|
474
495
|
interface BulkCreateParticipantsRequest {
|
|
@@ -478,11 +499,11 @@ interface BulkCreateParticipantsRequest {
|
|
|
478
499
|
* @maxSize 100
|
|
479
500
|
*/
|
|
480
501
|
participants: Participant[];
|
|
481
|
-
/** Whether to return
|
|
502
|
+
/** Whether to return the created participants in the response. */
|
|
482
503
|
returnEntity?: boolean;
|
|
483
504
|
/**
|
|
484
505
|
* Array of conditional fields to include in the response.
|
|
485
|
-
* Use RequestedFields.PROGRESS to include the progress field which
|
|
506
|
+
* Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
|
|
486
507
|
* @maxSize 1
|
|
487
508
|
*/
|
|
488
509
|
fields?: RequestedFieldsWithLiterals[];
|
|
@@ -500,7 +521,7 @@ interface BulkCreateParticipantsResponse {
|
|
|
500
521
|
interface BulkParticipantResult {
|
|
501
522
|
/** Metadata for the item. */
|
|
502
523
|
itemMetadata?: ItemMetadata;
|
|
503
|
-
/** The participant entity. Empty if `
|
|
524
|
+
/** The participant entity. Empty if `returnEntity` is `false`. */
|
|
504
525
|
item?: Participant;
|
|
505
526
|
}
|
|
506
527
|
interface ItemMetadata {
|
|
@@ -560,7 +581,7 @@ interface BulkUpsertParticipantsMigrationResponse {
|
|
|
560
581
|
interface BulkParticipantMigrationResult {
|
|
561
582
|
/** Metadata for the item. */
|
|
562
583
|
itemMetadata?: ItemMetadata;
|
|
563
|
-
/** Action type of bulk action (INSERT
|
|
584
|
+
/** Action type of the bulk action (INSERT or UPDATE) for that method. */
|
|
564
585
|
action?: BulkActionTypeWithLiterals;
|
|
565
586
|
}
|
|
566
587
|
declare enum BulkActionType {
|
|
@@ -596,7 +617,7 @@ interface SynchronizeTimeCapsuleTasksRequest {
|
|
|
596
617
|
}
|
|
597
618
|
interface SynchronizeTimeCapsuleTasksResponse {
|
|
598
619
|
/**
|
|
599
|
-
* ID
|
|
620
|
+
* Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.
|
|
600
621
|
* @format GUID
|
|
601
622
|
*/
|
|
602
623
|
jobId?: string;
|
|
@@ -616,7 +637,7 @@ interface BulkCreateParticipantsForAllMembersRequest {
|
|
|
616
637
|
}
|
|
617
638
|
interface BulkCreateParticipantsForAllMembersResponse {
|
|
618
639
|
/**
|
|
619
|
-
* ID
|
|
640
|
+
* Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.
|
|
620
641
|
* @format GUID
|
|
621
642
|
*/
|
|
622
643
|
jobId?: string;
|
|
@@ -638,13 +659,13 @@ interface IssueCertificateRequest {
|
|
|
638
659
|
participantId: string;
|
|
639
660
|
/**
|
|
640
661
|
* Array of conditional fields to include in the response.
|
|
641
|
-
* Use RequestedFields.PROGRESS to include the progress field which
|
|
662
|
+
* Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
|
|
642
663
|
* @maxSize 1
|
|
643
664
|
*/
|
|
644
665
|
fields?: RequestedFieldsWithLiterals[];
|
|
645
666
|
}
|
|
646
667
|
interface IssueCertificateResponse {
|
|
647
|
-
/** Updated participant */
|
|
668
|
+
/** Updated participant. */
|
|
648
669
|
participant?: Participant;
|
|
649
670
|
}
|
|
650
671
|
interface GetCertificateDownloadUrlRequest {
|
|
@@ -671,19 +692,19 @@ interface GetCompletionStatsRequest {
|
|
|
671
692
|
programId?: string;
|
|
672
693
|
}
|
|
673
694
|
interface GetCompletionStatsResponse {
|
|
674
|
-
/** Number of participants
|
|
695
|
+
/** Number of participants who completed the program. */
|
|
675
696
|
completedParticipantsCount?: number;
|
|
676
|
-
/** Percentage of participants
|
|
697
|
+
/** Percentage of participants who completed the program. */
|
|
677
698
|
completionRate?: number;
|
|
678
699
|
}
|
|
679
700
|
interface GetPremiumStatsRequest {
|
|
680
701
|
}
|
|
681
702
|
interface GetPremiumStatsResponse {
|
|
682
|
-
/**
|
|
703
|
+
/** Whether the site has the Online Programs premium feature. */
|
|
683
704
|
premiumEnabled?: boolean;
|
|
684
|
-
/**
|
|
705
|
+
/** Number of active participants on the site. */
|
|
685
706
|
activeParticipantsCount?: number;
|
|
686
|
-
/**
|
|
707
|
+
/** Maximum number of active participants allowed on a site without premium. */
|
|
687
708
|
activeParticipantsLimit?: number;
|
|
688
709
|
}
|
|
689
710
|
interface GetParticipationStatsRequest {
|
|
@@ -721,7 +742,7 @@ interface GetParticipantRequest {
|
|
|
721
742
|
participantId: string;
|
|
722
743
|
/**
|
|
723
744
|
* Array of conditional fields to include in the response.
|
|
724
|
-
* Use RequestedFields.PROGRESS to include the progress field which
|
|
745
|
+
* Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
|
|
725
746
|
* @maxSize 1
|
|
726
747
|
*/
|
|
727
748
|
fields?: RequestedFieldsWithLiterals[];
|
|
@@ -731,11 +752,11 @@ interface GetParticipantResponse {
|
|
|
731
752
|
participant?: Participant;
|
|
732
753
|
}
|
|
733
754
|
interface QueryParticipantsRequest {
|
|
734
|
-
/**
|
|
755
|
+
/** Query options. */
|
|
735
756
|
query?: QueryV2;
|
|
736
757
|
/**
|
|
737
758
|
* Array of conditional fields to include in the response.
|
|
738
|
-
* Use RequestedFields.PROGRESS to include the progress field which
|
|
759
|
+
* Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
|
|
739
760
|
* @maxSize 1
|
|
740
761
|
*/
|
|
741
762
|
fields?: RequestedFieldsWithLiterals[];
|
|
@@ -847,47 +868,47 @@ interface Cursors {
|
|
|
847
868
|
interface GetAccessStatusRequest {
|
|
848
869
|
}
|
|
849
870
|
interface GetAccessStatusResponse {
|
|
850
|
-
/**
|
|
871
|
+
/** Whether participants are blocked from accessing online programs because of site limitations. */
|
|
851
872
|
accessBlocked?: boolean;
|
|
852
873
|
}
|
|
853
874
|
interface BulkUpdateParticipantTagsRequest {
|
|
854
875
|
/**
|
|
855
|
-
*
|
|
876
|
+
* IDs of the participants to update tags for. Provide 1 to 100 IDs.
|
|
856
877
|
* @minSize 1
|
|
857
878
|
* @maxSize 100
|
|
858
879
|
* @format GUID
|
|
859
880
|
*/
|
|
860
881
|
participantIds: string[];
|
|
861
|
-
/** Tags to assign to the
|
|
882
|
+
/** Tags to assign to the participants. */
|
|
862
883
|
assignTags?: Tags;
|
|
863
|
-
/** Tags to unassign from the
|
|
884
|
+
/** Tags to unassign from the participants. */
|
|
864
885
|
unassignTags?: Tags;
|
|
865
886
|
}
|
|
866
887
|
interface BulkUpdateParticipantTagsResponse {
|
|
867
888
|
/**
|
|
868
|
-
* Results for each
|
|
889
|
+
* Results for each participant.
|
|
869
890
|
* @minSize 1
|
|
870
891
|
* @maxSize 100
|
|
871
892
|
*/
|
|
872
893
|
results?: BulkUpdateParticipantTagsResult[];
|
|
873
|
-
/** Metadata about the bulk operation */
|
|
894
|
+
/** Metadata about the bulk operation. */
|
|
874
895
|
bulkActionMetadata?: BulkActionMetadata;
|
|
875
896
|
}
|
|
876
897
|
interface BulkUpdateParticipantTagsResult {
|
|
877
|
-
/** Metadata for this specific item */
|
|
898
|
+
/** Metadata for this specific item. */
|
|
878
899
|
itemMetadata?: ItemMetadata;
|
|
879
900
|
}
|
|
880
901
|
interface BulkUpdateParticipantTagsByFilterRequest {
|
|
881
|
-
/** WQL filter to
|
|
902
|
+
/** WQL filter that selects the participants to update. */
|
|
882
903
|
filter: Record<string, any> | null;
|
|
883
|
-
/** Tags to assign to matching
|
|
904
|
+
/** Tags to assign to matching participants. */
|
|
884
905
|
assignTags?: Tags;
|
|
885
|
-
/** Tags to unassign from matching
|
|
906
|
+
/** Tags to unassign from matching participants. */
|
|
886
907
|
unassignTags?: Tags;
|
|
887
908
|
}
|
|
888
909
|
interface BulkUpdateParticipantTagsByFilterResponse {
|
|
889
910
|
/**
|
|
890
|
-
* Job ID
|
|
911
|
+
* Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.
|
|
891
912
|
* @format GUID
|
|
892
913
|
*/
|
|
893
914
|
jobId?: string;
|
|
@@ -897,7 +918,7 @@ interface SearchParticipantsRequest {
|
|
|
897
918
|
search?: CursorSearch;
|
|
898
919
|
/**
|
|
899
920
|
* Array of conditional fields to include in the response.
|
|
900
|
-
* Use RequestedFields.PROGRESS to include the progress field which
|
|
921
|
+
* Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
|
|
901
922
|
* @maxSize 1
|
|
902
923
|
*/
|
|
903
924
|
fields?: RequestedFieldsWithLiterals[];
|