@wix/auto_sdk_online-programs_participants 1.0.11 → 1.0.13
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 +6 -134
- package/build/cjs/index.js +161 -1489
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +691 -12
- package/build/cjs/index.typings.js +174 -1372
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +184 -1274
- package/build/cjs/meta.js +19 -1060
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +6 -134
- package/build/es/index.mjs +144 -1446
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +691 -12
- package/build/es/index.typings.mjs +166 -1337
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +184 -1274
- package/build/es/meta.mjs +10 -1025
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -145
- package/build/internal/cjs/index.js +161 -1489
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +691 -12
- package/build/internal/cjs/index.typings.js +174 -1372
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +184 -1274
- package/build/internal/cjs/meta.js +19 -1060
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +6 -145
- package/build/internal/es/index.mjs +144 -1446
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +691 -12
- package/build/internal/es/index.typings.mjs +166 -1337
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +184 -1274
- package/build/internal/es/meta.mjs +10 -1025
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
- package/build/cjs/online-programs-v3-participant-participants.universal-DRubTE1O.d.ts +0 -2228
- package/build/es/online-programs-v3-participant-participants.universal-DRubTE1O.d.mts +0 -2228
- package/build/internal/cjs/online-programs-v3-participant-participants.universal-DUdmZP01.d.ts +0 -2238
- package/build/internal/es/online-programs-v3-participant-participants.universal-DUdmZP01.d.mts +0 -2238
|
@@ -1,18 +1,697 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { bg as ActionEvent, aC as Aggregation, aR as AggregationData, aD as AggregationKindOneOf, b8 as AggregationResults, b9 as AggregationResultsResultOneOf, aY as AggregationResultsScalarResult, Q as AggregationType, bV as AggregationTypeWithLiterals, ad as ApplicationError, bH as BaseEventMetadata, bn as Behavior, bo as BehaviorBehaviorOneOf, bj as Benefit, bi as BenefitNotification, T as BenefitType, bX as BenefitTypeWithLiterals, bv as BulkActionMetadata, b as BulkAddAllToProgramOptions, af as BulkAddAllToProgramRequest, c as BulkAddAllToProgramResponse, q as BulkAddToProgramOptions, by as BulkAddToProgramRequest, r as BulkAddToProgramResponse, bz as BulkAddToProgramResult, u as BulkApproveAllParticipantOptions, bD as BulkApproveAllParticipantRequest, v as BulkApproveAllParticipantResponse, s as BulkApproveParticipantOptions, bA as BulkApproveParticipantRequest, t as BulkApproveParticipantResponse, bB as BulkApproveParticipantResult, B as BulkCreateParticipantOptions, aa as BulkCreateParticipantRequest, a as BulkCreateParticipantResponse, o as BulkInviteAllToProgramOptions, bx as BulkInviteAllToProgramRequest, p as BulkInviteAllToProgramResponse, m as BulkInviteToProgramOptions, bs as BulkInviteToProgramRequest, n as BulkInviteToProgramResponse, bu as BulkInviteToProgramResult, ab as BulkParticipantResult, h as BulkUpdateParticipantTagsApplicationErrors, k as BulkUpdateParticipantTagsByFilterApplicationErrors, i as BulkUpdateParticipantTagsByFilterOptions, ay as BulkUpdateParticipantTagsByFilterRequest, j as BulkUpdateParticipantTagsByFilterResponse, f as BulkUpdateParticipantTagsOptions, aw as BulkUpdateParticipantTagsRequest, g as BulkUpdateParticipantTagsResponse, ax as BulkUpdateParticipantTagsResult, $ as Certificate, ae as CommonBulkActionMetadata, ac as CommonItemMetadata, b$ as CommonQueryWithEntityContext, c0 as CommonSearchWithEntityContext, C as CreateParticipantApplicationErrors, a8 as CreateParticipantRequest, a9 as CreateParticipantResponse, ar as CursorPaging, at as CursorPagingMetadata, ao as CursorQuery, ap as CursorQueryPagingMethodOneOf, aB as CursorSearchPagingMethodOneOf, au as Cursors, aK as DateHistogramAggregation, b4 as DateHistogramResult, b6 as DateHistogramResults, ag as DeleteParticipantRequest, ah as DeleteParticipantResponse, bl as Discount, bm as DiscountDiscountOneOf, ba as DomainEvent, bb as DomainEventBodyOneOf, bh as Empty, bc as EntityCreatedEvent, bf as EntityDeletedEvent, be as EntityUpdatedEvent, bk as EntryPass, U as Event, bI as EventMetadata, bY as EventWithLiterals, bE as ExportParticipantsStatsRequest, bF as ExportParticipantsStatsResponse, a3 as ExtendedFields, Z as FreeCouponDetails, av as GetAccessStatusRequest, e as GetAccessStatusResponse, aj as GetCompletionStatsRequest, G as GetCompletionStatsResponse, al as GetParticipantRequest, am as GetParticipantResponse, ak as GetPremiumStatsRequest, d as GetPremiumStatsResponse, aO as GroupByAggregation, aP as GroupByAggregationKindOneOf, b5 as GroupByValueResults, bq as IdentificationData, br as IdentificationDataIdOneOf, aF as IncludeMissingValuesOptions, O as Interval, bU as IntervalWithLiterals, ai as IssueCertificateRequest, I as IssueCertificateResponse, bt as ItemMetadata, J as JoinPath, bM as JoinPathWithLiterals, a0 as JoinedInfo, a1 as JoinedInfoJoinPathDetailsOneOf, a2 as Member, bp as MessageEnvelope, M as MissingValues, bR as MissingValuesWithLiterals, R as Mode, bW as ModeWithLiterals, aN as NestedAggregation, aL as NestedAggregationItem, aM as NestedAggregationItemKindOneOf, aU as NestedAggregationResults, aV as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bT as NestedAggregationTypeWithLiterals, b1 as NestedResultValue, b2 as NestedResultValueResultOneOf, b7 as NestedResults, aZ as NestedValueAggregationResult, Y as PaidPlanDetails, P as Participant, a6 as ParticipantAdded, w as ParticipantAddedEnvelope, bC as ParticipantApproved, x as ParticipantApprovedEnvelope, bG as ParticipantExportsFinished, bw as ParticipantInvited, y as ParticipantInvitedEnvelope, A as ParticipantQuery, bK as ParticipantQuerySpec, bL as ParticipantSearchSpec, z as ParticipantsQueryBuilder, bJ as ParticipantsQueryResult, _ as Progress, an as QueryParticipantsRequest, as as QueryParticipantsResponse, aI as RangeAggregation, aT as RangeAggregationResult, aE as RangeBucket, a$ as RangeResult, aX as RangeResults, bd as RestoreInfo, b3 as Results, aJ as ScalarAggregation, b0 as ScalarResult, L as ScalarType, bS as ScalarTypeWithLiterals, aQ as SearchDetails, az as SearchParticipantsRequest, X as SinglePaymentDetails, K as SortDirection, bQ as SortDirectionWithLiterals, F as SortOrder, bO as SortOrderWithLiterals, H as SortType, bP as SortTypeWithLiterals, aq as Sorting, V as State, b_ as StateWithLiterals, E as Status, bN as StatusWithLiterals, a5 as TagList, a4 as Tags, a7 as TagsModified, aG as ValueAggregation, aH as ValueAggregationOptionsOneOf, aS as ValueAggregationResult, a_ as ValueResult, aW as ValueResults, W as WebhookIdentityType, bZ as WebhookIdentityTypeWithLiterals, c6 as bulkAddAllToProgram, ci as bulkAddToProgram, ck as bulkApproveAllParticipant, cj as bulkApproveParticipant, c5 as bulkCreateParticipant, ch as bulkInviteAllToProgram, cg as bulkInviteToProgram, ce as bulkUpdateParticipantTags, cf as bulkUpdateParticipantTagsByFilter, c4 as createParticipant, c7 as deleteParticipant, cd as getAccessStatus, c9 as getCompletionStats, cb as getParticipant, ca as getPremiumStats, c8 as issueCertificate, c1 as onParticipantAdded, c2 as onParticipantApproved, c3 as onParticipantInvited, cc as queryParticipants, D as typedQueryParticipants } from './online-programs-v3-participant-participants.universal-DRubTE1O.js';
|
|
3
|
-
import '@wix/sdk-types';
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
interface Participant {
|
|
4
|
+
/**
|
|
5
|
+
* Participant ID.
|
|
6
|
+
* @format GUID
|
|
7
|
+
* @readonly
|
|
8
|
+
*/
|
|
9
|
+
_id?: string | null;
|
|
10
|
+
/** @readonly */
|
|
11
|
+
revision?: string | null;
|
|
12
|
+
/** @readonly */
|
|
13
|
+
_createdDate?: Date | null;
|
|
14
|
+
/** @readonly */
|
|
15
|
+
_updatedDate?: Date | null;
|
|
16
|
+
/**
|
|
17
|
+
* Member ID of participant on site
|
|
18
|
+
* @format GUID
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
memberId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Program ID which participant participates in
|
|
24
|
+
* @format GUID
|
|
25
|
+
* @readonly
|
|
26
|
+
*/
|
|
27
|
+
programId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Program completion progress
|
|
30
|
+
* @readonly
|
|
31
|
+
*/
|
|
32
|
+
progress?: Progress;
|
|
33
|
+
/** state of participation in the program */
|
|
34
|
+
state?: StateWithLiterals;
|
|
35
|
+
/**
|
|
36
|
+
* Certificate issued to participant
|
|
37
|
+
* @readonly
|
|
38
|
+
*/
|
|
39
|
+
certificate?: Certificate;
|
|
40
|
+
joinedInfo?: JoinedInfo;
|
|
41
|
+
/** @readonly */
|
|
42
|
+
member?: Member;
|
|
43
|
+
/** @readonly */
|
|
44
|
+
lastActivityDate?: Date | null;
|
|
45
|
+
extendedFields?: ExtendedFields;
|
|
46
|
+
}
|
|
47
|
+
declare enum JoinPath {
|
|
48
|
+
UNKNOWN_JOIN_PATH = "UNKNOWN_JOIN_PATH",
|
|
49
|
+
/** Member joined to the program for free */
|
|
50
|
+
FREE = "FREE",
|
|
51
|
+
/** Member was added to the program by site owner */
|
|
52
|
+
ADDED = "ADDED",
|
|
53
|
+
/** Member paid once to join the program */
|
|
54
|
+
SINGLE_PAYMENT = "SINGLE_PAYMENT",
|
|
55
|
+
/** Member has Paid Plan to join */
|
|
56
|
+
PAID_PLAN = "PAID_PLAN",
|
|
57
|
+
/** Member joined with the Free Coupon */
|
|
58
|
+
FREE_COUPON = "FREE_COUPON"
|
|
59
|
+
}
|
|
60
|
+
/** @enumType */
|
|
61
|
+
type JoinPathWithLiterals = JoinPath | 'UNKNOWN_JOIN_PATH' | 'FREE' | 'ADDED' | 'SINGLE_PAYMENT' | 'PAID_PLAN' | 'FREE_COUPON';
|
|
62
|
+
interface SinglePaymentDetails {
|
|
63
|
+
/** @format GUID */
|
|
64
|
+
paymentOrderId?: string;
|
|
65
|
+
/** @format GUID */
|
|
66
|
+
offlineTransactionId?: string | null;
|
|
67
|
+
}
|
|
68
|
+
interface PaidPlanDetails {
|
|
69
|
+
/** @format GUID */
|
|
70
|
+
paidPlanId?: string;
|
|
71
|
+
}
|
|
72
|
+
interface FreeCouponDetails {
|
|
73
|
+
/** @format GUID */
|
|
74
|
+
freeCouponId?: string;
|
|
75
|
+
}
|
|
76
|
+
interface Progress {
|
|
77
|
+
/** Number of program steps completed by member */
|
|
78
|
+
totalStepsCompleted?: number;
|
|
79
|
+
/** Total number of program steps available to resolve */
|
|
80
|
+
totalStepsAvailable?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Completion percentage
|
|
83
|
+
* @max 100
|
|
84
|
+
*/
|
|
85
|
+
completionPercentage?: number;
|
|
86
|
+
}
|
|
87
|
+
declare enum State {
|
|
88
|
+
/** Unknown state */
|
|
89
|
+
UNKNOWN_STATE = "UNKNOWN_STATE",
|
|
90
|
+
/** Member joined the program and became participant */
|
|
91
|
+
JOINED = "JOINED",
|
|
92
|
+
/** Participant completed the program, and could join again */
|
|
93
|
+
COMPLETED = "COMPLETED",
|
|
94
|
+
/** Participant failed to complete the program, and could join again */
|
|
95
|
+
FAILED = "FAILED",
|
|
96
|
+
/** Participant with ended pricing plan (PP), will be joined as renew PP */
|
|
97
|
+
SUSPENDED = "SUSPENDED",
|
|
98
|
+
/** Participant removed automatically after some program condition */
|
|
99
|
+
AUTO_REMOVED = "AUTO_REMOVED",
|
|
100
|
+
/** Participant removed by site owner */
|
|
101
|
+
REMOVED = "REMOVED",
|
|
102
|
+
/** Participant left the program by himself */
|
|
103
|
+
LEFT = "LEFT"
|
|
104
|
+
}
|
|
105
|
+
/** @enumType */
|
|
106
|
+
type StateWithLiterals = State | 'UNKNOWN_STATE' | 'JOINED' | 'COMPLETED' | 'FAILED' | 'SUSPENDED' | 'AUTO_REMOVED' | 'REMOVED' | 'LEFT';
|
|
107
|
+
interface Certificate {
|
|
108
|
+
/**
|
|
109
|
+
* when certificate was issued, UTC
|
|
110
|
+
* @readonly
|
|
111
|
+
*/
|
|
112
|
+
issuedDate?: Date | null;
|
|
113
|
+
}
|
|
114
|
+
interface JoinedInfo extends JoinedInfoJoinPathDetailsOneOf {
|
|
115
|
+
singlePaymentDetails?: SinglePaymentDetails;
|
|
116
|
+
paidPlanDetails?: PaidPlanDetails;
|
|
117
|
+
freeCouponDetails?: FreeCouponDetails;
|
|
118
|
+
/**
|
|
119
|
+
* @maxLength 50
|
|
120
|
+
* @readonly
|
|
121
|
+
*/
|
|
122
|
+
timeZone?: string;
|
|
123
|
+
/**
|
|
124
|
+
* @format LOCAL_DATE
|
|
125
|
+
* @readonly
|
|
126
|
+
*/
|
|
127
|
+
startDate?: string;
|
|
128
|
+
joinPath?: JoinPathWithLiterals;
|
|
129
|
+
/**
|
|
130
|
+
* @format LOCAL_DATE
|
|
131
|
+
* @readonly
|
|
132
|
+
*/
|
|
133
|
+
finishDate?: string | null;
|
|
134
|
+
}
|
|
135
|
+
/** @oneof */
|
|
136
|
+
interface JoinedInfoJoinPathDetailsOneOf {
|
|
137
|
+
singlePaymentDetails?: SinglePaymentDetails;
|
|
138
|
+
paidPlanDetails?: PaidPlanDetails;
|
|
139
|
+
freeCouponDetails?: FreeCouponDetails;
|
|
140
|
+
}
|
|
141
|
+
interface Member {
|
|
142
|
+
/**
|
|
143
|
+
* @readonly
|
|
144
|
+
* @maxLength 100
|
|
145
|
+
*/
|
|
146
|
+
firstName?: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* @readonly
|
|
149
|
+
* @maxLength 100
|
|
150
|
+
*/
|
|
151
|
+
lastName?: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* @readonly
|
|
154
|
+
* @format EMAIL
|
|
155
|
+
*/
|
|
156
|
+
email?: string | null;
|
|
157
|
+
/** @format GUID */
|
|
158
|
+
contactId?: string;
|
|
159
|
+
/**
|
|
160
|
+
* @readonly
|
|
161
|
+
* @format WEB_URL
|
|
162
|
+
*/
|
|
163
|
+
profileImageUrl?: string | null;
|
|
164
|
+
}
|
|
165
|
+
interface ExtendedFields {
|
|
166
|
+
/**
|
|
167
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
168
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
169
|
+
*
|
|
170
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
171
|
+
*
|
|
172
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
173
|
+
*/
|
|
174
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
175
|
+
}
|
|
176
|
+
interface ParticipantAdded {
|
|
177
|
+
/**
|
|
178
|
+
* Program ID which participant was added
|
|
179
|
+
* @format GUID
|
|
180
|
+
*/
|
|
181
|
+
programId?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Member ID of participant on site
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
186
|
+
memberId?: string;
|
|
187
|
+
}
|
|
188
|
+
interface BulkInviteToProgramRequest {
|
|
189
|
+
/**
|
|
190
|
+
* Program to which bulk invite participants.
|
|
191
|
+
* @format GUID
|
|
192
|
+
*/
|
|
193
|
+
programId: string;
|
|
194
|
+
/**
|
|
195
|
+
* Return added participants in the response or not.
|
|
196
|
+
* @format GUID
|
|
197
|
+
* @minSize 1
|
|
198
|
+
* @maxSize 100
|
|
199
|
+
*/
|
|
200
|
+
memberIds?: string[];
|
|
201
|
+
/** Return invited participants in the response or not. */
|
|
202
|
+
returnEntity?: boolean;
|
|
203
|
+
}
|
|
204
|
+
interface BulkInviteToProgramResponse {
|
|
205
|
+
/** Participants created by bulk action */
|
|
206
|
+
results?: BulkInviteToProgramResult[];
|
|
207
|
+
/** Bulk action metadata. */
|
|
208
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
209
|
+
}
|
|
210
|
+
interface ItemMetadata {
|
|
211
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
212
|
+
_id?: string | null;
|
|
213
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
214
|
+
originalIndex?: number;
|
|
215
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
216
|
+
success?: boolean;
|
|
217
|
+
/** Details about the error in case of failure. */
|
|
218
|
+
error?: ApplicationError;
|
|
219
|
+
}
|
|
220
|
+
interface ApplicationError {
|
|
221
|
+
/** Error code. */
|
|
222
|
+
code?: string;
|
|
223
|
+
/** Description of the error. */
|
|
224
|
+
description?: string;
|
|
225
|
+
/** Data related to the error. */
|
|
226
|
+
data?: Record<string, any> | null;
|
|
227
|
+
}
|
|
228
|
+
interface BulkInviteToProgramResult {
|
|
229
|
+
/** Invited participant metadata. */
|
|
230
|
+
itemMetadata?: ItemMetadata;
|
|
231
|
+
/** Invited participant */
|
|
232
|
+
item?: Participant;
|
|
233
|
+
}
|
|
234
|
+
interface BulkActionMetadata {
|
|
235
|
+
/** Number of items that were successfully processed. */
|
|
236
|
+
totalSuccesses?: number;
|
|
237
|
+
/** Number of items that couldn't be processed. */
|
|
238
|
+
totalFailures?: number;
|
|
239
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
240
|
+
undetailedFailures?: number;
|
|
241
|
+
}
|
|
242
|
+
interface ParticipantInvited {
|
|
243
|
+
/**
|
|
244
|
+
* Program to which bulk invite participants.
|
|
245
|
+
* @format GUID
|
|
246
|
+
*/
|
|
247
|
+
programId?: string;
|
|
248
|
+
/**
|
|
249
|
+
* Invited member to program
|
|
250
|
+
* @format GUID
|
|
251
|
+
*/
|
|
252
|
+
memberId?: string;
|
|
253
|
+
}
|
|
254
|
+
interface BulkInviteAllToProgramRequest {
|
|
255
|
+
/**
|
|
256
|
+
* Program to which bulk add participants.
|
|
257
|
+
* @format GUID
|
|
258
|
+
*/
|
|
259
|
+
programId: string;
|
|
260
|
+
/**
|
|
261
|
+
* Exclude site members.
|
|
262
|
+
* @format GUID
|
|
263
|
+
* @maxSize 100
|
|
264
|
+
*/
|
|
265
|
+
excludeMemberIds?: string[];
|
|
266
|
+
}
|
|
267
|
+
interface BulkInviteAllToProgramResponse {
|
|
268
|
+
/** Bulk action metadata. */
|
|
269
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
270
|
+
}
|
|
271
|
+
interface BulkAddToProgramRequest {
|
|
272
|
+
/**
|
|
273
|
+
* Program to which bulk add participants.
|
|
274
|
+
* @format GUID
|
|
275
|
+
*/
|
|
276
|
+
programId: string;
|
|
277
|
+
/**
|
|
278
|
+
* Site members.
|
|
279
|
+
* @format GUID
|
|
280
|
+
* @minSize 1
|
|
281
|
+
* @maxSize 1000
|
|
282
|
+
*/
|
|
283
|
+
memberIds?: string[];
|
|
284
|
+
/** Return added participants in the response or not. */
|
|
285
|
+
returnEntity?: boolean;
|
|
286
|
+
}
|
|
287
|
+
interface BulkAddToProgramResponse {
|
|
288
|
+
/** Participants created by bulk action */
|
|
289
|
+
results?: BulkAddToProgramResult[];
|
|
290
|
+
/** Bulk action metadata. */
|
|
291
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
292
|
+
}
|
|
293
|
+
interface BulkAddToProgramResult {
|
|
294
|
+
/** Added participant metadata. */
|
|
295
|
+
itemMetadata?: ItemMetadata;
|
|
296
|
+
/** Added participant */
|
|
297
|
+
item?: Participant;
|
|
298
|
+
}
|
|
299
|
+
interface BulkApproveParticipantRequest {
|
|
300
|
+
/**
|
|
301
|
+
* Participants to add
|
|
302
|
+
* @format GUID
|
|
303
|
+
* @maxSize 100
|
|
304
|
+
*/
|
|
305
|
+
participantIds: string[];
|
|
306
|
+
/**
|
|
307
|
+
* program to approve participant
|
|
308
|
+
* @format GUID
|
|
309
|
+
*/
|
|
310
|
+
programId?: string;
|
|
311
|
+
/** Return approved participants in the response or not */
|
|
312
|
+
returnEntity?: boolean;
|
|
313
|
+
}
|
|
314
|
+
interface BulkApproveParticipantResponse {
|
|
315
|
+
/** Participants approved by bulk action */
|
|
316
|
+
results?: BulkApproveParticipantResult[];
|
|
317
|
+
/** Bulk action metadata */
|
|
318
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
319
|
+
}
|
|
320
|
+
interface BulkApproveParticipantResult {
|
|
321
|
+
/** Approved participant metadata */
|
|
322
|
+
itemMetadata?: ItemMetadata;
|
|
323
|
+
/** Approved or existing participant */
|
|
324
|
+
item?: Participant;
|
|
325
|
+
}
|
|
326
|
+
interface ParticipantApproved {
|
|
327
|
+
/**
|
|
328
|
+
* Program ID which participant approved
|
|
329
|
+
* @format GUID
|
|
330
|
+
*/
|
|
331
|
+
programId?: string;
|
|
332
|
+
/**
|
|
333
|
+
* Member ID of participant approved
|
|
334
|
+
* @format GUID
|
|
335
|
+
*/
|
|
336
|
+
memberId?: string;
|
|
337
|
+
}
|
|
338
|
+
interface BulkApproveAllParticipantRequest {
|
|
339
|
+
/**
|
|
340
|
+
* Program to approve all participants.
|
|
341
|
+
* @format GUID
|
|
342
|
+
*/
|
|
343
|
+
programId?: string;
|
|
344
|
+
/**
|
|
345
|
+
* Exclude site members.
|
|
346
|
+
* @format GUID
|
|
347
|
+
* @maxSize 100
|
|
348
|
+
*/
|
|
349
|
+
excludeParticipantIds?: string[];
|
|
350
|
+
}
|
|
351
|
+
interface BulkApproveAllParticipantResponse {
|
|
352
|
+
/**
|
|
353
|
+
* Job id with async process
|
|
354
|
+
* @format GUID
|
|
355
|
+
*/
|
|
356
|
+
jobId?: string;
|
|
357
|
+
}
|
|
358
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
359
|
+
createdEvent?: EntityCreatedEvent;
|
|
360
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
361
|
+
deletedEvent?: EntityDeletedEvent;
|
|
362
|
+
actionEvent?: ActionEvent;
|
|
363
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
364
|
+
_id?: string;
|
|
365
|
+
/**
|
|
366
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
367
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
368
|
+
*/
|
|
369
|
+
entityFqdn?: string;
|
|
370
|
+
/**
|
|
371
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
372
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
373
|
+
*/
|
|
374
|
+
slug?: string;
|
|
375
|
+
/** ID of the entity associated with the event. */
|
|
376
|
+
entityId?: string;
|
|
377
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
378
|
+
eventTime?: Date | null;
|
|
379
|
+
/**
|
|
380
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
381
|
+
* (for example, GDPR).
|
|
382
|
+
*/
|
|
383
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
384
|
+
/** If present, indicates the action that triggered the event. */
|
|
385
|
+
originatedFrom?: string | null;
|
|
386
|
+
/**
|
|
387
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
388
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
389
|
+
*/
|
|
390
|
+
entityEventSequence?: string | null;
|
|
391
|
+
}
|
|
392
|
+
/** @oneof */
|
|
393
|
+
interface DomainEventBodyOneOf {
|
|
394
|
+
createdEvent?: EntityCreatedEvent;
|
|
395
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
396
|
+
deletedEvent?: EntityDeletedEvent;
|
|
397
|
+
actionEvent?: ActionEvent;
|
|
398
|
+
}
|
|
399
|
+
interface EntityCreatedEvent {
|
|
400
|
+
entity?: string;
|
|
401
|
+
}
|
|
402
|
+
interface RestoreInfo {
|
|
403
|
+
deletedDate?: Date | null;
|
|
404
|
+
}
|
|
405
|
+
interface EntityUpdatedEvent {
|
|
406
|
+
/**
|
|
407
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
408
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
409
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
410
|
+
*/
|
|
411
|
+
currentEntity?: string;
|
|
412
|
+
}
|
|
413
|
+
interface EntityDeletedEvent {
|
|
414
|
+
/** Entity that was deleted. */
|
|
415
|
+
deletedEntity?: string | null;
|
|
416
|
+
}
|
|
417
|
+
interface ActionEvent {
|
|
418
|
+
body?: string;
|
|
419
|
+
}
|
|
420
|
+
interface MessageEnvelope {
|
|
421
|
+
/**
|
|
422
|
+
* App instance ID.
|
|
423
|
+
* @format GUID
|
|
424
|
+
*/
|
|
425
|
+
instanceId?: string | null;
|
|
426
|
+
/**
|
|
427
|
+
* Event type.
|
|
428
|
+
* @maxLength 150
|
|
429
|
+
*/
|
|
430
|
+
eventType?: string;
|
|
431
|
+
/** The identification type and identity data. */
|
|
432
|
+
identity?: IdentificationData;
|
|
433
|
+
/** Stringify payload. */
|
|
434
|
+
data?: string;
|
|
435
|
+
}
|
|
436
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
437
|
+
/**
|
|
438
|
+
* ID of a site visitor that has not logged in to the site.
|
|
439
|
+
* @format GUID
|
|
440
|
+
*/
|
|
441
|
+
anonymousVisitorId?: string;
|
|
442
|
+
/**
|
|
443
|
+
* ID of a site visitor that has logged in to the site.
|
|
444
|
+
* @format GUID
|
|
445
|
+
*/
|
|
446
|
+
memberId?: string;
|
|
447
|
+
/**
|
|
448
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
449
|
+
* @format GUID
|
|
450
|
+
*/
|
|
451
|
+
wixUserId?: string;
|
|
452
|
+
/**
|
|
453
|
+
* ID of an app.
|
|
454
|
+
* @format GUID
|
|
455
|
+
*/
|
|
456
|
+
appId?: string;
|
|
457
|
+
/** @readonly */
|
|
458
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
459
|
+
}
|
|
460
|
+
/** @oneof */
|
|
461
|
+
interface IdentificationDataIdOneOf {
|
|
462
|
+
/**
|
|
463
|
+
* ID of a site visitor that has not logged in to the site.
|
|
464
|
+
* @format GUID
|
|
465
|
+
*/
|
|
466
|
+
anonymousVisitorId?: string;
|
|
467
|
+
/**
|
|
468
|
+
* ID of a site visitor that has logged in to the site.
|
|
469
|
+
* @format GUID
|
|
470
|
+
*/
|
|
471
|
+
memberId?: string;
|
|
472
|
+
/**
|
|
473
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
474
|
+
* @format GUID
|
|
475
|
+
*/
|
|
476
|
+
wixUserId?: string;
|
|
477
|
+
/**
|
|
478
|
+
* ID of an app.
|
|
479
|
+
* @format GUID
|
|
480
|
+
*/
|
|
481
|
+
appId?: string;
|
|
482
|
+
}
|
|
483
|
+
declare enum WebhookIdentityType {
|
|
484
|
+
UNKNOWN = "UNKNOWN",
|
|
485
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
486
|
+
MEMBER = "MEMBER",
|
|
487
|
+
WIX_USER = "WIX_USER",
|
|
488
|
+
APP = "APP"
|
|
489
|
+
}
|
|
490
|
+
/** @enumType */
|
|
491
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
492
|
+
interface BaseEventMetadata {
|
|
493
|
+
/**
|
|
494
|
+
* App instance ID.
|
|
495
|
+
* @format GUID
|
|
496
|
+
*/
|
|
497
|
+
instanceId?: string | null;
|
|
498
|
+
/**
|
|
499
|
+
* Event type.
|
|
500
|
+
* @maxLength 150
|
|
501
|
+
*/
|
|
502
|
+
eventType?: string;
|
|
503
|
+
/** The identification type and identity data. */
|
|
504
|
+
identity?: IdentificationData;
|
|
505
|
+
}
|
|
506
|
+
interface EventMetadata extends BaseEventMetadata {
|
|
507
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
508
|
+
_id?: string;
|
|
509
|
+
/**
|
|
510
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
511
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
512
|
+
*/
|
|
513
|
+
entityFqdn?: string;
|
|
514
|
+
/**
|
|
515
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
516
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
517
|
+
*/
|
|
518
|
+
slug?: string;
|
|
519
|
+
/** ID of the entity associated with the event. */
|
|
520
|
+
entityId?: string;
|
|
521
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
522
|
+
eventTime?: Date | null;
|
|
523
|
+
/**
|
|
524
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
525
|
+
* (for example, GDPR).
|
|
526
|
+
*/
|
|
527
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
528
|
+
/** If present, indicates the action that triggered the event. */
|
|
529
|
+
originatedFrom?: string | null;
|
|
530
|
+
/**
|
|
531
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
532
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
533
|
+
*/
|
|
534
|
+
entityEventSequence?: string | null;
|
|
535
|
+
accountInfo?: AccountInfoMetadata;
|
|
536
|
+
}
|
|
537
|
+
interface AccountInfoMetadata {
|
|
538
|
+
/** ID of the Wix account associated with the event */
|
|
539
|
+
accountId: string;
|
|
540
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
541
|
+
siteId?: string;
|
|
542
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
543
|
+
parentAccountId?: string;
|
|
544
|
+
}
|
|
545
|
+
interface ParticipantAddedEnvelope {
|
|
546
|
+
data: ParticipantAdded;
|
|
547
|
+
metadata: EventMetadata;
|
|
548
|
+
}
|
|
549
|
+
/** @permissionScope Manage Challenges
|
|
550
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
551
|
+
* @permissionId ONLINE_PROGRAMS.PARTICIPANT_READ
|
|
552
|
+
* @webhook
|
|
553
|
+
* @eventType wix.online_programs.v3.participant_added
|
|
554
|
+
* @slug added
|
|
555
|
+
* @documentationMaturity preview
|
|
556
|
+
*/
|
|
557
|
+
declare function onParticipantAdded(handler: (event: ParticipantAddedEnvelope) => void | Promise<void>): void;
|
|
558
|
+
interface ParticipantApprovedEnvelope {
|
|
559
|
+
data: ParticipantApproved;
|
|
560
|
+
metadata: EventMetadata;
|
|
561
|
+
}
|
|
562
|
+
/** @permissionScope Manage Challenges
|
|
563
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
564
|
+
* @permissionId ONLINE_PROGRAMS.PARTICIPANT_READ
|
|
565
|
+
* @webhook
|
|
566
|
+
* @eventType wix.online_programs.v3.participant_participant_approved
|
|
567
|
+
* @serviceIdentifier wix.onlineprograms.participants.v3.ManageParticipantsService
|
|
568
|
+
* @slug participant_approved
|
|
569
|
+
* @documentationMaturity preview
|
|
570
|
+
*/
|
|
571
|
+
declare function onParticipantApproved(handler: (event: ParticipantApprovedEnvelope) => void | Promise<void>): void;
|
|
572
|
+
interface ParticipantInvitedEnvelope {
|
|
573
|
+
data: ParticipantInvited;
|
|
574
|
+
metadata: EventMetadata;
|
|
575
|
+
}
|
|
576
|
+
/** @permissionScope Manage Challenges
|
|
577
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
578
|
+
* @permissionId ONLINE_PROGRAMS.PARTICIPANT_READ
|
|
579
|
+
* @webhook
|
|
580
|
+
* @eventType wix.online_programs.v3.participant_participant_invited
|
|
581
|
+
* @serviceIdentifier wix.onlineprograms.participants.v3.ManageParticipantsService
|
|
582
|
+
* @slug participant_invited
|
|
583
|
+
* @documentationMaturity preview
|
|
584
|
+
*/
|
|
585
|
+
declare function onParticipantInvited(handler: (event: ParticipantInvitedEnvelope) => void | Promise<void>): void;
|
|
586
|
+
/**
|
|
587
|
+
* Bulk invites participants to program.
|
|
588
|
+
* For each member participant in Invited state is created.
|
|
589
|
+
* @param programId - Program to which bulk invite participants.
|
|
590
|
+
* @public
|
|
591
|
+
* @documentationMaturity preview
|
|
592
|
+
* @requiredField programId
|
|
593
|
+
* @permissionId ONLINE_PROGRAMS.PARTICIPANT_INVITE
|
|
594
|
+
* @applicableIdentity APP
|
|
595
|
+
* @fqn wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteToProgram
|
|
596
|
+
*/
|
|
597
|
+
declare function bulkInviteToProgram(programId: string, options?: BulkInviteToProgramOptions): Promise<NonNullablePaths<BulkInviteToProgramResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.memberId` | `results.${number}.item.programId` | `results.${number}.item.progress.totalStepsCompleted` | `results.${number}.item.progress.totalStepsAvailable` | `results.${number}.item.progress.completionPercentage` | `results.${number}.item.state` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
598
|
+
interface BulkInviteToProgramOptions {
|
|
599
|
+
/**
|
|
600
|
+
* Return added participants in the response or not.
|
|
601
|
+
* @format GUID
|
|
602
|
+
* @minSize 1
|
|
603
|
+
* @maxSize 100
|
|
604
|
+
*/
|
|
605
|
+
memberIds?: string[];
|
|
606
|
+
/** Return invited participants in the response or not. */
|
|
607
|
+
returnEntity?: boolean;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Bulk invites all participants to program, but not more then 1000.
|
|
611
|
+
* For each member participant in Invited state is created.
|
|
612
|
+
* @param programId - Program to which bulk add participants.
|
|
613
|
+
* @public
|
|
614
|
+
* @documentationMaturity preview
|
|
615
|
+
* @requiredField programId
|
|
616
|
+
* @permissionId ONLINE_PROGRAMS.PARTICIPANT_INVITE
|
|
617
|
+
* @applicableIdentity APP
|
|
618
|
+
* @fqn wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteAllToProgram
|
|
619
|
+
*/
|
|
620
|
+
declare function bulkInviteAllToProgram(programId: string, options?: BulkInviteAllToProgramOptions): Promise<NonNullablePaths<BulkInviteAllToProgramResponse, `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 3>>;
|
|
621
|
+
interface BulkInviteAllToProgramOptions {
|
|
622
|
+
/**
|
|
623
|
+
* Exclude site members.
|
|
624
|
+
* @format GUID
|
|
625
|
+
* @maxSize 100
|
|
626
|
+
*/
|
|
627
|
+
excludeMemberIds?: string[];
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* Bulk adds participants to program.
|
|
631
|
+
* Participant will be either created in state Joined, or updated to that state
|
|
632
|
+
* from pending one.
|
|
633
|
+
* @param programId - Program to which bulk add participants.
|
|
634
|
+
* @public
|
|
635
|
+
* @documentationMaturity preview
|
|
636
|
+
* @requiredField programId
|
|
637
|
+
* @permissionId ONLINE_PROGRAMS.PARTICIPANT_ADD
|
|
638
|
+
* @applicableIdentity APP
|
|
639
|
+
* @fqn wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddToProgram
|
|
640
|
+
*/
|
|
641
|
+
declare function bulkAddToProgram(programId: string, options?: BulkAddToProgramOptions): Promise<NonNullablePaths<BulkAddToProgramResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.memberId` | `results.${number}.item.programId` | `results.${number}.item.progress.totalStepsCompleted` | `results.${number}.item.progress.totalStepsAvailable` | `results.${number}.item.progress.completionPercentage` | `results.${number}.item.state` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
642
|
+
interface BulkAddToProgramOptions {
|
|
643
|
+
/**
|
|
644
|
+
* Site members.
|
|
645
|
+
* @format GUID
|
|
646
|
+
* @minSize 1
|
|
647
|
+
* @maxSize 1000
|
|
648
|
+
*/
|
|
649
|
+
memberIds?: string[];
|
|
650
|
+
/** Return added participants in the response or not. */
|
|
651
|
+
returnEntity?: boolean;
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* Bulk approves participants, who asked to join private program (aka in
|
|
655
|
+
* state `APPROVAL_PENDING`). If participant was in other state, no effect and
|
|
656
|
+
* error returned.
|
|
657
|
+
* @param participantIds - Participants to add
|
|
658
|
+
* @public
|
|
659
|
+
* @documentationMaturity preview
|
|
660
|
+
* @requiredField participantIds
|
|
661
|
+
* @permissionId ONLINE_PROGRAMS.PARTICIPANT_APPROVE
|
|
662
|
+
* @fqn wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveParticipant
|
|
663
|
+
*/
|
|
664
|
+
declare function bulkApproveParticipant(participantIds: string[], options?: BulkApproveParticipantOptions): Promise<NonNullablePaths<BulkApproveParticipantResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.memberId` | `results.${number}.item.programId` | `results.${number}.item.progress.totalStepsCompleted` | `results.${number}.item.progress.totalStepsAvailable` | `results.${number}.item.progress.completionPercentage` | `results.${number}.item.state` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
665
|
+
interface BulkApproveParticipantOptions {
|
|
666
|
+
/**
|
|
667
|
+
* program to approve participant
|
|
668
|
+
* @format GUID
|
|
669
|
+
*/
|
|
670
|
+
programId?: string;
|
|
671
|
+
/** Return approved participants in the response or not */
|
|
672
|
+
returnEntity?: boolean;
|
|
673
|
+
}
|
|
7
674
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
675
|
+
* Bulk approves all pending participants, who asked to join private program (aka
|
|
676
|
+
* in state `APPROVAL_PENDING`).
|
|
10
677
|
* @public
|
|
11
678
|
* @documentationMaturity preview
|
|
12
|
-
* @
|
|
13
|
-
* @
|
|
14
|
-
* @fqn wix.onlineprograms.participants.v3.ParticipantsService.SearchParticipants
|
|
679
|
+
* @permissionId ONLINE_PROGRAMS.PARTICIPANT_APPROVE
|
|
680
|
+
* @fqn wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveAllParticipant
|
|
15
681
|
*/
|
|
16
|
-
declare function
|
|
682
|
+
declare function bulkApproveAllParticipant(options?: BulkApproveAllParticipantOptions): Promise<NonNullablePaths<BulkApproveAllParticipantResponse, `jobId`, 2>>;
|
|
683
|
+
interface BulkApproveAllParticipantOptions {
|
|
684
|
+
/**
|
|
685
|
+
* Program to approve all participants.
|
|
686
|
+
* @format GUID
|
|
687
|
+
*/
|
|
688
|
+
programId?: string;
|
|
689
|
+
/**
|
|
690
|
+
* Exclude site members.
|
|
691
|
+
* @format GUID
|
|
692
|
+
* @maxSize 100
|
|
693
|
+
*/
|
|
694
|
+
excludeParticipantIds?: string[];
|
|
695
|
+
}
|
|
17
696
|
|
|
18
|
-
export {
|
|
697
|
+
export { type ActionEvent, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkAddToProgramOptions, type BulkAddToProgramRequest, type BulkAddToProgramResponse, type BulkAddToProgramResult, type BulkApproveAllParticipantOptions, type BulkApproveAllParticipantRequest, type BulkApproveAllParticipantResponse, type BulkApproveParticipantOptions, type BulkApproveParticipantRequest, type BulkApproveParticipantResponse, type BulkApproveParticipantResult, type BulkInviteAllToProgramOptions, type BulkInviteAllToProgramRequest, type BulkInviteAllToProgramResponse, type BulkInviteToProgramOptions, type BulkInviteToProgramRequest, type BulkInviteToProgramResponse, type BulkInviteToProgramResult, type Certificate, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FreeCouponDetails, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, JoinPath, type JoinPathWithLiterals, type JoinedInfo, type JoinedInfoJoinPathDetailsOneOf, type Member, type MessageEnvelope, type PaidPlanDetails, type Participant, type ParticipantAdded, type ParticipantAddedEnvelope, type ParticipantApproved, type ParticipantApprovedEnvelope, type ParticipantInvited, type ParticipantInvitedEnvelope, type Progress, type RestoreInfo, type SinglePaymentDetails, State, type StateWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkInviteAllToProgram, bulkInviteToProgram, onParticipantAdded, onParticipantApproved, onParticipantInvited };
|