@wix/auto_sdk_online-programs_participants 1.0.13 → 1.0.15
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 +137 -49
- package/build/cjs/index.js +1188 -205
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -690
- package/build/cjs/index.typings.js +1074 -129
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1301 -165
- package/build/cjs/meta.js +924 -110
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/online-programs-participants-v3-participant-participants.universal-B-mpcshi.d.ts +2268 -0
- package/build/es/index.d.mts +137 -49
- package/build/es/index.mjs +1150 -186
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -690
- package/build/es/index.typings.mjs +1036 -114
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1301 -165
- package/build/es/meta.mjs +888 -95
- package/build/es/meta.mjs.map +1 -1
- package/build/es/online-programs-participants-v3-participant-participants.universal-B-mpcshi.d.mts +2268 -0
- package/build/internal/cjs/index.d.ts +152 -49
- package/build/internal/cjs/index.typings.d.ts +12 -690
- package/build/internal/cjs/meta.d.ts +1472 -265
- package/build/internal/cjs/online-programs-participants-v3-participant-participants.universal-Cicta6rs.d.ts +2311 -0
- package/build/internal/es/index.d.mts +152 -49
- package/build/internal/es/index.typings.d.mts +12 -690
- package/build/internal/es/meta.d.mts +1472 -265
- package/build/internal/es/online-programs-participants-v3-participant-participants.universal-Cicta6rs.d.mts +2311 -0
- package/package.json +5 -5
- package/build/internal/cjs/index.js +0 -495
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -390
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -327
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/es/index.mjs +0 -461
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -359
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -293
- package/build/internal/es/meta.mjs.map +0 -1
package/build/es/meta.mjs
CHANGED
|
@@ -1,29 +1,324 @@
|
|
|
1
|
-
// src/online-programs-v3-participant-participants.http.ts
|
|
1
|
+
// src/online-programs-participants-v3-participant-participants.http.ts
|
|
2
|
+
import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
3
|
+
import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
|
|
2
4
|
import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
|
|
5
|
+
import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
3
6
|
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
7
|
+
import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
|
|
4
8
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
5
9
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
6
|
-
function
|
|
7
|
-
const domainToMappings = {
|
|
10
|
+
function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
|
|
11
|
+
const domainToMappings = {
|
|
12
|
+
"bo._base_domain_": [
|
|
13
|
+
{
|
|
14
|
+
srcPath: "/participants-service",
|
|
15
|
+
destPath: ""
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"wixbo.ai": [
|
|
19
|
+
{
|
|
20
|
+
srcPath: "/participants-service",
|
|
21
|
+
destPath: ""
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"wix-bo.com": [
|
|
25
|
+
{
|
|
26
|
+
srcPath: "/participants-service",
|
|
27
|
+
destPath: ""
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"manage._base_domain_": [
|
|
31
|
+
{
|
|
32
|
+
srcPath: "/participants-service",
|
|
33
|
+
destPath: ""
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
_: [
|
|
37
|
+
{
|
|
38
|
+
srcPath: "/participants-service",
|
|
39
|
+
destPath: ""
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"editor._base_domain_": [
|
|
43
|
+
{
|
|
44
|
+
srcPath: "/participants-service",
|
|
45
|
+
destPath: ""
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"blocks._base_domain_": [
|
|
49
|
+
{
|
|
50
|
+
srcPath: "/participants-service",
|
|
51
|
+
destPath: ""
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"create.editorx": [
|
|
55
|
+
{
|
|
56
|
+
srcPath: "/participants-service",
|
|
57
|
+
destPath: ""
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"www._base_domain_": [
|
|
61
|
+
{
|
|
62
|
+
srcPath: "/_api/participants-service",
|
|
63
|
+
destPath: ""
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"www.wixapis.com": [
|
|
67
|
+
{
|
|
68
|
+
srcPath: "/online-programs/v3/participants",
|
|
69
|
+
destPath: "/v3/participants"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
srcPath: "/online-programs/v3/bulk/participants",
|
|
73
|
+
destPath: "/v3/bulk/participants"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
srcPath: "/online-programs/participants/v3/participants",
|
|
77
|
+
destPath: "/v3/participants"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
srcPath: "/online-programs/participants/v3/bulk/participants",
|
|
81
|
+
destPath: "/v3/bulk/participants"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
srcPath: "/online-programs/participants/v3/stats/premium",
|
|
85
|
+
destPath: "/v3/stats/premium"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"*.dev.wix-code.com": [
|
|
89
|
+
{
|
|
90
|
+
srcPath: "/_api/participants-service",
|
|
91
|
+
destPath: ""
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
};
|
|
95
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
96
|
+
}
|
|
97
|
+
function resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl(opts) {
|
|
98
|
+
const domainToMappings = {
|
|
99
|
+
"bo._base_domain_": [
|
|
100
|
+
{
|
|
101
|
+
srcPath: "/participants-service",
|
|
102
|
+
destPath: ""
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"wixbo.ai": [
|
|
106
|
+
{
|
|
107
|
+
srcPath: "/participants-service",
|
|
108
|
+
destPath: ""
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"wix-bo.com": [
|
|
112
|
+
{
|
|
113
|
+
srcPath: "/participants-service",
|
|
114
|
+
destPath: ""
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"manage._base_domain_": [
|
|
118
|
+
{
|
|
119
|
+
srcPath: "/participants-service",
|
|
120
|
+
destPath: ""
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
_: [
|
|
124
|
+
{
|
|
125
|
+
srcPath: "/participants-service",
|
|
126
|
+
destPath: ""
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"editor._base_domain_": [
|
|
130
|
+
{
|
|
131
|
+
srcPath: "/participants-service",
|
|
132
|
+
destPath: ""
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"blocks._base_domain_": [
|
|
136
|
+
{
|
|
137
|
+
srcPath: "/participants-service",
|
|
138
|
+
destPath: ""
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"create.editorx": [
|
|
142
|
+
{
|
|
143
|
+
srcPath: "/participants-service",
|
|
144
|
+
destPath: ""
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"www._base_domain_": [
|
|
148
|
+
{
|
|
149
|
+
srcPath: "/_api/participants-service",
|
|
150
|
+
destPath: ""
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"www.wixapis.com": [
|
|
154
|
+
{
|
|
155
|
+
srcPath: "/online-programs/v3/participants",
|
|
156
|
+
destPath: "/v3/participants"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
srcPath: "/online-programs/v3/bulk/participants",
|
|
160
|
+
destPath: "/v3/bulk/participants"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
srcPath: "/online-programs/participants/v3/participants",
|
|
164
|
+
destPath: "/v3/participants"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
srcPath: "/online-programs/participants/v3/bulk/participants",
|
|
168
|
+
destPath: "/v3/bulk/participants"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
srcPath: "/online-programs/participants/v3/stats/premium",
|
|
172
|
+
destPath: "/v3/stats/premium"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"*.dev.wix-code.com": [
|
|
176
|
+
{
|
|
177
|
+
srcPath: "/_api/participants-service",
|
|
178
|
+
destPath: ""
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
};
|
|
8
182
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
9
183
|
}
|
|
10
184
|
var PACKAGE_NAME = "@wix/auto_sdk_online-programs_participants";
|
|
11
|
-
function
|
|
12
|
-
function
|
|
185
|
+
function createParticipant(payload) {
|
|
186
|
+
function __createParticipant({ host }) {
|
|
187
|
+
const serializedData = transformPaths(payload, [
|
|
188
|
+
{
|
|
189
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
190
|
+
paths: [
|
|
191
|
+
{ path: "participant.createdDate" },
|
|
192
|
+
{ path: "participant.updatedDate" },
|
|
193
|
+
{ path: "participant.lastActivityDate" },
|
|
194
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
199
|
+
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
200
|
+
}
|
|
201
|
+
]);
|
|
13
202
|
const metadata = {
|
|
14
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
203
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
15
204
|
method: "POST",
|
|
16
|
-
methodFqn: "wix.onlineprograms.participants.v3.
|
|
205
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.CreateParticipant",
|
|
17
206
|
packageName: PACKAGE_NAME,
|
|
18
207
|
migrationOptions: {
|
|
19
208
|
optInTransformResponse: true
|
|
20
209
|
},
|
|
21
|
-
url:
|
|
22
|
-
protoPath: "/v3/
|
|
23
|
-
data:
|
|
210
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
211
|
+
protoPath: "/v3/participants",
|
|
212
|
+
data: serializedData,
|
|
24
213
|
host
|
|
25
214
|
}),
|
|
26
|
-
data:
|
|
215
|
+
data: serializedData,
|
|
216
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
217
|
+
{
|
|
218
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
219
|
+
paths: [
|
|
220
|
+
{ path: "participant.createdDate" },
|
|
221
|
+
{ path: "participant.updatedDate" },
|
|
222
|
+
{ path: "participant.lastActivityDate" },
|
|
223
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
228
|
+
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
229
|
+
}
|
|
230
|
+
])
|
|
231
|
+
};
|
|
232
|
+
return metadata;
|
|
233
|
+
}
|
|
234
|
+
return __createParticipant;
|
|
235
|
+
}
|
|
236
|
+
function updateParticipant(payload) {
|
|
237
|
+
function __updateParticipant({ host }) {
|
|
238
|
+
const serializedData = transformPaths(payload, [
|
|
239
|
+
{
|
|
240
|
+
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
241
|
+
paths: [{ path: "fieldMask" }]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
245
|
+
paths: [
|
|
246
|
+
{ path: "participant.createdDate" },
|
|
247
|
+
{ path: "participant.updatedDate" },
|
|
248
|
+
{ path: "participant.lastActivityDate" },
|
|
249
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
254
|
+
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
255
|
+
}
|
|
256
|
+
]);
|
|
257
|
+
const metadata = {
|
|
258
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
259
|
+
method: "PATCH",
|
|
260
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.UpdateParticipant",
|
|
261
|
+
packageName: PACKAGE_NAME,
|
|
262
|
+
migrationOptions: {
|
|
263
|
+
optInTransformResponse: true
|
|
264
|
+
},
|
|
265
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
266
|
+
protoPath: "/v3/participants/{participant.id}",
|
|
267
|
+
data: serializedData,
|
|
268
|
+
host
|
|
269
|
+
}),
|
|
270
|
+
data: serializedData,
|
|
271
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
272
|
+
{
|
|
273
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
274
|
+
paths: [
|
|
275
|
+
{ path: "participant.createdDate" },
|
|
276
|
+
{ path: "participant.updatedDate" },
|
|
277
|
+
{ path: "participant.lastActivityDate" },
|
|
278
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
283
|
+
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
284
|
+
}
|
|
285
|
+
])
|
|
286
|
+
};
|
|
287
|
+
return metadata;
|
|
288
|
+
}
|
|
289
|
+
return __updateParticipant;
|
|
290
|
+
}
|
|
291
|
+
function bulkCreateParticipants(payload) {
|
|
292
|
+
function __bulkCreateParticipants({ host }) {
|
|
293
|
+
const serializedData = transformPaths(payload, [
|
|
294
|
+
{
|
|
295
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
296
|
+
paths: [
|
|
297
|
+
{ path: "participants.createdDate" },
|
|
298
|
+
{ path: "participants.updatedDate" },
|
|
299
|
+
{ path: "participants.lastActivityDate" },
|
|
300
|
+
{ path: "participants.certificateInfo.issueDate" }
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
305
|
+
paths: [{ path: "participants.progress.completionPercentage" }]
|
|
306
|
+
}
|
|
307
|
+
]);
|
|
308
|
+
const metadata = {
|
|
309
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
310
|
+
method: "POST",
|
|
311
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipants",
|
|
312
|
+
packageName: PACKAGE_NAME,
|
|
313
|
+
migrationOptions: {
|
|
314
|
+
optInTransformResponse: true
|
|
315
|
+
},
|
|
316
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
317
|
+
protoPath: "/v3/bulk/participants/create",
|
|
318
|
+
data: serializedData,
|
|
319
|
+
host
|
|
320
|
+
}),
|
|
321
|
+
data: serializedData,
|
|
27
322
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
28
323
|
{
|
|
29
324
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
@@ -31,7 +326,7 @@ function bulkInviteToProgram(payload) {
|
|
|
31
326
|
{ path: "results.item.createdDate" },
|
|
32
327
|
{ path: "results.item.updatedDate" },
|
|
33
328
|
{ path: "results.item.lastActivityDate" },
|
|
34
|
-
{ path: "results.item.
|
|
329
|
+
{ path: "results.item.certificateInfo.issueDate" }
|
|
35
330
|
]
|
|
36
331
|
},
|
|
37
332
|
{
|
|
@@ -42,20 +337,20 @@ function bulkInviteToProgram(payload) {
|
|
|
42
337
|
};
|
|
43
338
|
return metadata;
|
|
44
339
|
}
|
|
45
|
-
return
|
|
340
|
+
return __bulkCreateParticipants;
|
|
46
341
|
}
|
|
47
|
-
function
|
|
48
|
-
function
|
|
342
|
+
function bulkCreateParticipantsForAllMembers(payload) {
|
|
343
|
+
function __bulkCreateParticipantsForAllMembers({ host }) {
|
|
49
344
|
const metadata = {
|
|
50
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
345
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
51
346
|
method: "POST",
|
|
52
|
-
methodFqn: "wix.onlineprograms.participants.v3.
|
|
347
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipantsForAllMembers",
|
|
53
348
|
packageName: PACKAGE_NAME,
|
|
54
349
|
migrationOptions: {
|
|
55
350
|
optInTransformResponse: true
|
|
56
351
|
},
|
|
57
|
-
url:
|
|
58
|
-
protoPath: "/v3/bulk/participants/
|
|
352
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
353
|
+
protoPath: "/v3/bulk/participants/create-for-all-members",
|
|
59
354
|
data: payload,
|
|
60
355
|
host
|
|
61
356
|
}),
|
|
@@ -63,20 +358,41 @@ function bulkInviteAllToProgram(payload) {
|
|
|
63
358
|
};
|
|
64
359
|
return metadata;
|
|
65
360
|
}
|
|
66
|
-
return
|
|
361
|
+
return __bulkCreateParticipantsForAllMembers;
|
|
362
|
+
}
|
|
363
|
+
function deleteParticipant(payload) {
|
|
364
|
+
function __deleteParticipant({ host }) {
|
|
365
|
+
const metadata = {
|
|
366
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
367
|
+
method: "DELETE",
|
|
368
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.DeleteParticipant",
|
|
369
|
+
packageName: PACKAGE_NAME,
|
|
370
|
+
migrationOptions: {
|
|
371
|
+
optInTransformResponse: true
|
|
372
|
+
},
|
|
373
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
374
|
+
protoPath: "/v3/participants/{participantId}",
|
|
375
|
+
data: payload,
|
|
376
|
+
host
|
|
377
|
+
}),
|
|
378
|
+
params: toURLSearchParams(payload)
|
|
379
|
+
};
|
|
380
|
+
return metadata;
|
|
381
|
+
}
|
|
382
|
+
return __deleteParticipant;
|
|
67
383
|
}
|
|
68
|
-
function
|
|
69
|
-
function
|
|
384
|
+
function issueCertificate(payload) {
|
|
385
|
+
function __issueCertificate({ host }) {
|
|
70
386
|
const metadata = {
|
|
71
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
387
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
72
388
|
method: "POST",
|
|
73
|
-
methodFqn: "wix.onlineprograms.participants.v3.
|
|
389
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.IssueCertificate",
|
|
74
390
|
packageName: PACKAGE_NAME,
|
|
75
391
|
migrationOptions: {
|
|
76
392
|
optInTransformResponse: true
|
|
77
393
|
},
|
|
78
|
-
url:
|
|
79
|
-
protoPath: "/v3/
|
|
394
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
395
|
+
protoPath: "/v3/participants/{participantId}/issue-certificate",
|
|
80
396
|
data: payload,
|
|
81
397
|
host
|
|
82
398
|
}),
|
|
@@ -85,34 +401,91 @@ function bulkAddToProgram(payload) {
|
|
|
85
401
|
{
|
|
86
402
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
87
403
|
paths: [
|
|
88
|
-
{ path: "
|
|
89
|
-
{ path: "
|
|
90
|
-
{ path: "
|
|
91
|
-
{ path: "
|
|
404
|
+
{ path: "participant.createdDate" },
|
|
405
|
+
{ path: "participant.updatedDate" },
|
|
406
|
+
{ path: "participant.lastActivityDate" },
|
|
407
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
92
408
|
]
|
|
93
409
|
},
|
|
94
410
|
{
|
|
95
411
|
transformFn: transformRESTFloatToSDKFloat,
|
|
96
|
-
paths: [{ path: "
|
|
412
|
+
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
413
|
+
}
|
|
414
|
+
])
|
|
415
|
+
};
|
|
416
|
+
return metadata;
|
|
417
|
+
}
|
|
418
|
+
return __issueCertificate;
|
|
419
|
+
}
|
|
420
|
+
function getPremiumStats(payload) {
|
|
421
|
+
function __getPremiumStats({ host }) {
|
|
422
|
+
const metadata = {
|
|
423
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
424
|
+
method: "GET",
|
|
425
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetPremiumStats",
|
|
426
|
+
packageName: PACKAGE_NAME,
|
|
427
|
+
migrationOptions: {
|
|
428
|
+
optInTransformResponse: true
|
|
429
|
+
},
|
|
430
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
431
|
+
protoPath: "/v3/stats/premium",
|
|
432
|
+
data: payload,
|
|
433
|
+
host
|
|
434
|
+
}),
|
|
435
|
+
params: toURLSearchParams(payload)
|
|
436
|
+
};
|
|
437
|
+
return metadata;
|
|
438
|
+
}
|
|
439
|
+
return __getPremiumStats;
|
|
440
|
+
}
|
|
441
|
+
function getParticipant(payload) {
|
|
442
|
+
function __getParticipant({ host }) {
|
|
443
|
+
const metadata = {
|
|
444
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
445
|
+
method: "GET",
|
|
446
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant",
|
|
447
|
+
packageName: PACKAGE_NAME,
|
|
448
|
+
migrationOptions: {
|
|
449
|
+
optInTransformResponse: true
|
|
450
|
+
},
|
|
451
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
452
|
+
protoPath: "/v3/participants/{participantId}",
|
|
453
|
+
data: payload,
|
|
454
|
+
host
|
|
455
|
+
}),
|
|
456
|
+
params: toURLSearchParams(payload),
|
|
457
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
458
|
+
{
|
|
459
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
460
|
+
paths: [
|
|
461
|
+
{ path: "participant.createdDate" },
|
|
462
|
+
{ path: "participant.updatedDate" },
|
|
463
|
+
{ path: "participant.lastActivityDate" },
|
|
464
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
465
|
+
]
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
469
|
+
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
97
470
|
}
|
|
98
471
|
])
|
|
99
472
|
};
|
|
100
473
|
return metadata;
|
|
101
474
|
}
|
|
102
|
-
return
|
|
475
|
+
return __getParticipant;
|
|
103
476
|
}
|
|
104
|
-
function
|
|
105
|
-
function
|
|
477
|
+
function queryParticipants(payload) {
|
|
478
|
+
function __queryParticipants({ host }) {
|
|
106
479
|
const metadata = {
|
|
107
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
480
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
108
481
|
method: "POST",
|
|
109
|
-
methodFqn: "wix.onlineprograms.participants.v3.
|
|
482
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants",
|
|
110
483
|
packageName: PACKAGE_NAME,
|
|
111
484
|
migrationOptions: {
|
|
112
485
|
optInTransformResponse: true
|
|
113
486
|
},
|
|
114
|
-
url:
|
|
115
|
-
protoPath: "/v3/
|
|
487
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
488
|
+
protoPath: "/v3/participants/query",
|
|
116
489
|
data: payload,
|
|
117
490
|
host
|
|
118
491
|
}),
|
|
@@ -121,34 +494,55 @@ function bulkApproveParticipant(payload) {
|
|
|
121
494
|
{
|
|
122
495
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
123
496
|
paths: [
|
|
124
|
-
{ path: "
|
|
125
|
-
{ path: "
|
|
126
|
-
{ path: "
|
|
127
|
-
{ path: "
|
|
497
|
+
{ path: "participants.createdDate" },
|
|
498
|
+
{ path: "participants.updatedDate" },
|
|
499
|
+
{ path: "participants.lastActivityDate" },
|
|
500
|
+
{ path: "participants.certificateInfo.issueDate" }
|
|
128
501
|
]
|
|
129
502
|
},
|
|
130
503
|
{
|
|
131
504
|
transformFn: transformRESTFloatToSDKFloat,
|
|
132
|
-
paths: [{ path: "
|
|
505
|
+
paths: [{ path: "participants.progress.completionPercentage" }]
|
|
133
506
|
}
|
|
134
507
|
])
|
|
135
508
|
};
|
|
136
509
|
return metadata;
|
|
137
510
|
}
|
|
138
|
-
return
|
|
511
|
+
return __queryParticipants;
|
|
139
512
|
}
|
|
140
|
-
function
|
|
141
|
-
function
|
|
513
|
+
function getAccessStatus(payload) {
|
|
514
|
+
function __getAccessStatus({ host }) {
|
|
142
515
|
const metadata = {
|
|
143
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
516
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
517
|
+
method: "GET",
|
|
518
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetAccessStatus",
|
|
519
|
+
packageName: PACKAGE_NAME,
|
|
520
|
+
migrationOptions: {
|
|
521
|
+
optInTransformResponse: true
|
|
522
|
+
},
|
|
523
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
524
|
+
protoPath: "/v3/participants/access",
|
|
525
|
+
data: payload,
|
|
526
|
+
host
|
|
527
|
+
}),
|
|
528
|
+
params: toURLSearchParams(payload)
|
|
529
|
+
};
|
|
530
|
+
return metadata;
|
|
531
|
+
}
|
|
532
|
+
return __getAccessStatus;
|
|
533
|
+
}
|
|
534
|
+
function bulkUpdateParticipantTags(payload) {
|
|
535
|
+
function __bulkUpdateParticipantTags({ host }) {
|
|
536
|
+
const metadata = {
|
|
537
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
144
538
|
method: "POST",
|
|
145
|
-
methodFqn: "wix.onlineprograms.participants.v3.
|
|
539
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTags",
|
|
146
540
|
packageName: PACKAGE_NAME,
|
|
147
541
|
migrationOptions: {
|
|
148
542
|
optInTransformResponse: true
|
|
149
543
|
},
|
|
150
|
-
url:
|
|
151
|
-
protoPath: "/v3/bulk/participants/
|
|
544
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
545
|
+
protoPath: "/v3/bulk/participants/update-tags",
|
|
152
546
|
data: payload,
|
|
153
547
|
host
|
|
154
548
|
}),
|
|
@@ -156,30 +550,218 @@ function bulkApproveAllParticipant(payload) {
|
|
|
156
550
|
};
|
|
157
551
|
return metadata;
|
|
158
552
|
}
|
|
159
|
-
return
|
|
553
|
+
return __bulkUpdateParticipantTags;
|
|
554
|
+
}
|
|
555
|
+
function bulkUpdateParticipantTagsByFilter(payload) {
|
|
556
|
+
function __bulkUpdateParticipantTagsByFilter({ host }) {
|
|
557
|
+
const metadata = {
|
|
558
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
559
|
+
method: "POST",
|
|
560
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTagsByFilter",
|
|
561
|
+
packageName: PACKAGE_NAME,
|
|
562
|
+
migrationOptions: {
|
|
563
|
+
optInTransformResponse: true
|
|
564
|
+
},
|
|
565
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
566
|
+
protoPath: "/v3/bulk/participants/update-tags-by-filter",
|
|
567
|
+
data: payload,
|
|
568
|
+
host
|
|
569
|
+
}),
|
|
570
|
+
data: payload
|
|
571
|
+
};
|
|
572
|
+
return metadata;
|
|
573
|
+
}
|
|
574
|
+
return __bulkUpdateParticipantTagsByFilter;
|
|
575
|
+
}
|
|
576
|
+
function searchParticipants(payload) {
|
|
577
|
+
function __searchParticipants({ host }) {
|
|
578
|
+
const serializedData = transformPaths(payload, [
|
|
579
|
+
{
|
|
580
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
581
|
+
paths: [
|
|
582
|
+
{ path: "search.aggregations.range.buckets.from" },
|
|
583
|
+
{ path: "search.aggregations.range.buckets.to" },
|
|
584
|
+
{
|
|
585
|
+
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
589
|
+
}
|
|
590
|
+
]
|
|
591
|
+
}
|
|
592
|
+
]);
|
|
593
|
+
const metadata = {
|
|
594
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
595
|
+
method: "POST",
|
|
596
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.SearchParticipants",
|
|
597
|
+
packageName: PACKAGE_NAME,
|
|
598
|
+
migrationOptions: {
|
|
599
|
+
optInTransformResponse: true
|
|
600
|
+
},
|
|
601
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
602
|
+
protoPath: "/v3/participants/search",
|
|
603
|
+
data: serializedData,
|
|
604
|
+
host
|
|
605
|
+
}),
|
|
606
|
+
data: serializedData,
|
|
607
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
608
|
+
{
|
|
609
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
610
|
+
paths: [
|
|
611
|
+
{ path: "participants.createdDate" },
|
|
612
|
+
{ path: "participants.updatedDate" },
|
|
613
|
+
{ path: "participants.lastActivityDate" },
|
|
614
|
+
{ path: "participants.certificateInfo.issueDate" }
|
|
615
|
+
]
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
619
|
+
paths: [
|
|
620
|
+
{ path: "participants.progress.completionPercentage" },
|
|
621
|
+
{ path: "aggregationData.results.scalar.value" },
|
|
622
|
+
{
|
|
623
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
627
|
+
},
|
|
628
|
+
{ path: "aggregationData.results.ranges.results.from" },
|
|
629
|
+
{ path: "aggregationData.results.ranges.results.to" },
|
|
630
|
+
{
|
|
631
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
641
|
+
}
|
|
642
|
+
]
|
|
643
|
+
}
|
|
644
|
+
])
|
|
645
|
+
};
|
|
646
|
+
return metadata;
|
|
647
|
+
}
|
|
648
|
+
return __searchParticipants;
|
|
649
|
+
}
|
|
650
|
+
function exportParticipantsStats(payload) {
|
|
651
|
+
function __exportParticipantsStats({ host }) {
|
|
652
|
+
const metadata = {
|
|
653
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
654
|
+
method: "GET",
|
|
655
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantExportsService.ExportParticipantsStats",
|
|
656
|
+
packageName: PACKAGE_NAME,
|
|
657
|
+
migrationOptions: {
|
|
658
|
+
optInTransformResponse: true
|
|
659
|
+
},
|
|
660
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl({
|
|
661
|
+
protoPath: "/v3/participants/export/{programId}",
|
|
662
|
+
data: payload,
|
|
663
|
+
host
|
|
664
|
+
}),
|
|
665
|
+
params: toURLSearchParams(payload)
|
|
666
|
+
};
|
|
667
|
+
return metadata;
|
|
668
|
+
}
|
|
669
|
+
return __exportParticipantsStats;
|
|
160
670
|
}
|
|
161
671
|
|
|
162
|
-
// src/online-programs-v3-participant-participants.types.ts
|
|
163
|
-
var
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
672
|
+
// src/online-programs-participants-v3-participant-participants.types.ts
|
|
673
|
+
var PricingType = /* @__PURE__ */ ((PricingType2) => {
|
|
674
|
+
PricingType2["FREE"] = "FREE";
|
|
675
|
+
PricingType2["ADDED_MANUALLY"] = "ADDED_MANUALLY";
|
|
676
|
+
PricingType2["SINGLE_PAYMENT"] = "SINGLE_PAYMENT";
|
|
677
|
+
PricingType2["PAID_PLAN"] = "PAID_PLAN";
|
|
678
|
+
PricingType2["FREE_COUPON"] = "FREE_COUPON";
|
|
679
|
+
return PricingType2;
|
|
680
|
+
})(PricingType || {});
|
|
681
|
+
var EnrollmentStatus = /* @__PURE__ */ ((EnrollmentStatus2) => {
|
|
682
|
+
EnrollmentStatus2["JOINED"] = "JOINED";
|
|
683
|
+
EnrollmentStatus2["SUSPENDED"] = "SUSPENDED";
|
|
684
|
+
EnrollmentStatus2["AUTO_REMOVED"] = "AUTO_REMOVED";
|
|
685
|
+
EnrollmentStatus2["REMOVED"] = "REMOVED";
|
|
686
|
+
EnrollmentStatus2["LEFT"] = "LEFT";
|
|
687
|
+
return EnrollmentStatus2;
|
|
688
|
+
})(EnrollmentStatus || {});
|
|
689
|
+
var ProgressStatus = /* @__PURE__ */ ((ProgressStatus2) => {
|
|
690
|
+
ProgressStatus2["NOT_STARTED"] = "NOT_STARTED";
|
|
691
|
+
ProgressStatus2["IN_PROGRESS"] = "IN_PROGRESS";
|
|
692
|
+
ProgressStatus2["COMPLETED"] = "COMPLETED";
|
|
693
|
+
ProgressStatus2["FAILED"] = "FAILED";
|
|
694
|
+
ProgressStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
695
|
+
return ProgressStatus2;
|
|
696
|
+
})(ProgressStatus || {});
|
|
697
|
+
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
698
|
+
RequestedFields2["PROGRESS"] = "PROGRESS";
|
|
699
|
+
return RequestedFields2;
|
|
700
|
+
})(RequestedFields || {});
|
|
701
|
+
var BulkActionType = /* @__PURE__ */ ((BulkActionType2) => {
|
|
702
|
+
BulkActionType2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
703
|
+
BulkActionType2["INSERT"] = "INSERT";
|
|
704
|
+
BulkActionType2["UPDATE"] = "UPDATE";
|
|
705
|
+
return BulkActionType2;
|
|
706
|
+
})(BulkActionType || {});
|
|
707
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
708
|
+
SortOrder2["ASC"] = "ASC";
|
|
709
|
+
SortOrder2["DESC"] = "DESC";
|
|
710
|
+
return SortOrder2;
|
|
711
|
+
})(SortOrder || {});
|
|
712
|
+
var SortType = /* @__PURE__ */ ((SortType2) => {
|
|
713
|
+
SortType2["COUNT"] = "COUNT";
|
|
714
|
+
SortType2["VALUE"] = "VALUE";
|
|
715
|
+
return SortType2;
|
|
716
|
+
})(SortType || {});
|
|
717
|
+
var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
|
|
718
|
+
SortDirection2["DESC"] = "DESC";
|
|
719
|
+
SortDirection2["ASC"] = "ASC";
|
|
720
|
+
return SortDirection2;
|
|
721
|
+
})(SortDirection || {});
|
|
722
|
+
var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
|
|
723
|
+
MissingValues2["EXCLUDE"] = "EXCLUDE";
|
|
724
|
+
MissingValues2["INCLUDE"] = "INCLUDE";
|
|
725
|
+
return MissingValues2;
|
|
726
|
+
})(MissingValues || {});
|
|
727
|
+
var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
728
|
+
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
729
|
+
ScalarType2["MIN"] = "MIN";
|
|
730
|
+
ScalarType2["MAX"] = "MAX";
|
|
731
|
+
ScalarType2["SUM"] = "SUM";
|
|
732
|
+
ScalarType2["AVG"] = "AVG";
|
|
733
|
+
return ScalarType2;
|
|
734
|
+
})(ScalarType || {});
|
|
735
|
+
var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
736
|
+
NestedAggregationType2["VALUE"] = "VALUE";
|
|
737
|
+
NestedAggregationType2["RANGE"] = "RANGE";
|
|
738
|
+
NestedAggregationType2["SCALAR"] = "SCALAR";
|
|
739
|
+
NestedAggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
740
|
+
return NestedAggregationType2;
|
|
741
|
+
})(NestedAggregationType || {});
|
|
742
|
+
var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
743
|
+
Interval2["YEAR"] = "YEAR";
|
|
744
|
+
Interval2["MONTH"] = "MONTH";
|
|
745
|
+
Interval2["WEEK"] = "WEEK";
|
|
746
|
+
Interval2["DAY"] = "DAY";
|
|
747
|
+
Interval2["HOUR"] = "HOUR";
|
|
748
|
+
Interval2["MINUTE"] = "MINUTE";
|
|
749
|
+
Interval2["SECOND"] = "SECOND";
|
|
750
|
+
return Interval2;
|
|
751
|
+
})(Interval || {});
|
|
752
|
+
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
753
|
+
AggregationType2["VALUE"] = "VALUE";
|
|
754
|
+
AggregationType2["RANGE"] = "RANGE";
|
|
755
|
+
AggregationType2["SCALAR"] = "SCALAR";
|
|
756
|
+
AggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
757
|
+
AggregationType2["NESTED"] = "NESTED";
|
|
758
|
+
return AggregationType2;
|
|
759
|
+
})(AggregationType || {});
|
|
760
|
+
var Mode = /* @__PURE__ */ ((Mode2) => {
|
|
761
|
+
Mode2["OR"] = "OR";
|
|
762
|
+
Mode2["AND"] = "AND";
|
|
763
|
+
return Mode2;
|
|
764
|
+
})(Mode || {});
|
|
183
765
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
184
766
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
185
767
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -189,10 +771,112 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
189
771
|
return WebhookIdentityType2;
|
|
190
772
|
})(WebhookIdentityType || {});
|
|
191
773
|
|
|
192
|
-
// src/online-programs-v3-participant-participants.meta.ts
|
|
193
|
-
function
|
|
774
|
+
// src/online-programs-participants-v3-participant-participants.meta.ts
|
|
775
|
+
function createParticipant2() {
|
|
776
|
+
const payload = {};
|
|
777
|
+
const getRequestOptions = createParticipant(
|
|
778
|
+
payload
|
|
779
|
+
);
|
|
780
|
+
const getUrl = (context) => {
|
|
781
|
+
const { url } = getRequestOptions(context);
|
|
782
|
+
return url;
|
|
783
|
+
};
|
|
784
|
+
return {
|
|
785
|
+
getUrl,
|
|
786
|
+
httpMethod: "POST",
|
|
787
|
+
path: "/v3/participants",
|
|
788
|
+
pathParams: {},
|
|
789
|
+
__requestType: null,
|
|
790
|
+
__originalRequestType: null,
|
|
791
|
+
__responseType: null,
|
|
792
|
+
__originalResponseType: null
|
|
793
|
+
};
|
|
794
|
+
}
|
|
795
|
+
function updateParticipant2() {
|
|
796
|
+
const payload = { participant: { id: ":participantId" } };
|
|
797
|
+
const getRequestOptions = updateParticipant(
|
|
798
|
+
payload
|
|
799
|
+
);
|
|
800
|
+
const getUrl = (context) => {
|
|
801
|
+
const { url } = getRequestOptions(context);
|
|
802
|
+
return url;
|
|
803
|
+
};
|
|
804
|
+
return {
|
|
805
|
+
getUrl,
|
|
806
|
+
httpMethod: "PATCH",
|
|
807
|
+
path: "/v3/participants/{participant.id}",
|
|
808
|
+
pathParams: { participantId: "participantId" },
|
|
809
|
+
__requestType: null,
|
|
810
|
+
__originalRequestType: null,
|
|
811
|
+
__responseType: null,
|
|
812
|
+
__originalResponseType: null
|
|
813
|
+
};
|
|
814
|
+
}
|
|
815
|
+
function bulkCreateParticipants2() {
|
|
194
816
|
const payload = {};
|
|
195
|
-
const getRequestOptions =
|
|
817
|
+
const getRequestOptions = bulkCreateParticipants(
|
|
818
|
+
payload
|
|
819
|
+
);
|
|
820
|
+
const getUrl = (context) => {
|
|
821
|
+
const { url } = getRequestOptions(context);
|
|
822
|
+
return url;
|
|
823
|
+
};
|
|
824
|
+
return {
|
|
825
|
+
getUrl,
|
|
826
|
+
httpMethod: "POST",
|
|
827
|
+
path: "/v3/bulk/participants/create",
|
|
828
|
+
pathParams: {},
|
|
829
|
+
__requestType: null,
|
|
830
|
+
__originalRequestType: null,
|
|
831
|
+
__responseType: null,
|
|
832
|
+
__originalResponseType: null
|
|
833
|
+
};
|
|
834
|
+
}
|
|
835
|
+
function bulkCreateParticipantsForAllMembers2() {
|
|
836
|
+
const payload = {};
|
|
837
|
+
const getRequestOptions = bulkCreateParticipantsForAllMembers(
|
|
838
|
+
payload
|
|
839
|
+
);
|
|
840
|
+
const getUrl = (context) => {
|
|
841
|
+
const { url } = getRequestOptions(context);
|
|
842
|
+
return url;
|
|
843
|
+
};
|
|
844
|
+
return {
|
|
845
|
+
getUrl,
|
|
846
|
+
httpMethod: "POST",
|
|
847
|
+
path: "/v3/bulk/participants/create-for-all-members",
|
|
848
|
+
pathParams: {},
|
|
849
|
+
__requestType: null,
|
|
850
|
+
__originalRequestType: null,
|
|
851
|
+
__responseType: null,
|
|
852
|
+
__originalResponseType: null
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
function deleteParticipant2() {
|
|
856
|
+
const payload = { participantId: ":participantId" };
|
|
857
|
+
const getRequestOptions = deleteParticipant(
|
|
858
|
+
payload
|
|
859
|
+
);
|
|
860
|
+
const getUrl = (context) => {
|
|
861
|
+
const { url } = getRequestOptions(context);
|
|
862
|
+
return url;
|
|
863
|
+
};
|
|
864
|
+
return {
|
|
865
|
+
getUrl,
|
|
866
|
+
httpMethod: "DELETE",
|
|
867
|
+
path: "/v3/participants/{participantId}",
|
|
868
|
+
pathParams: { participantId: "participantId" },
|
|
869
|
+
__requestType: null,
|
|
870
|
+
__originalRequestType: null,
|
|
871
|
+
__responseType: null,
|
|
872
|
+
__originalResponseType: null
|
|
873
|
+
};
|
|
874
|
+
}
|
|
875
|
+
function issueCertificate2() {
|
|
876
|
+
const payload = { participantId: ":participantId" };
|
|
877
|
+
const getRequestOptions = issueCertificate(
|
|
878
|
+
payload
|
|
879
|
+
);
|
|
196
880
|
const getUrl = (context) => {
|
|
197
881
|
const { url } = getRequestOptions(context);
|
|
198
882
|
return url;
|
|
@@ -200,7 +884,27 @@ function bulkInviteToProgram2() {
|
|
|
200
884
|
return {
|
|
201
885
|
getUrl,
|
|
202
886
|
httpMethod: "POST",
|
|
203
|
-
path: "/v3/
|
|
887
|
+
path: "/v3/participants/{participantId}/issue-certificate",
|
|
888
|
+
pathParams: { participantId: "participantId" },
|
|
889
|
+
__requestType: null,
|
|
890
|
+
__originalRequestType: null,
|
|
891
|
+
__responseType: null,
|
|
892
|
+
__originalResponseType: null
|
|
893
|
+
};
|
|
894
|
+
}
|
|
895
|
+
function getPremiumStats2() {
|
|
896
|
+
const payload = {};
|
|
897
|
+
const getRequestOptions = getPremiumStats(
|
|
898
|
+
payload
|
|
899
|
+
);
|
|
900
|
+
const getUrl = (context) => {
|
|
901
|
+
const { url } = getRequestOptions(context);
|
|
902
|
+
return url;
|
|
903
|
+
};
|
|
904
|
+
return {
|
|
905
|
+
getUrl,
|
|
906
|
+
httpMethod: "GET",
|
|
907
|
+
path: "/v3/stats/premium",
|
|
204
908
|
pathParams: {},
|
|
205
909
|
__requestType: null,
|
|
206
910
|
__originalRequestType: null,
|
|
@@ -208,9 +912,31 @@ function bulkInviteToProgram2() {
|
|
|
208
912
|
__originalResponseType: null
|
|
209
913
|
};
|
|
210
914
|
}
|
|
211
|
-
function
|
|
915
|
+
function getParticipant2() {
|
|
916
|
+
const payload = { participantId: ":participantId" };
|
|
917
|
+
const getRequestOptions = getParticipant(
|
|
918
|
+
payload
|
|
919
|
+
);
|
|
920
|
+
const getUrl = (context) => {
|
|
921
|
+
const { url } = getRequestOptions(context);
|
|
922
|
+
return url;
|
|
923
|
+
};
|
|
924
|
+
return {
|
|
925
|
+
getUrl,
|
|
926
|
+
httpMethod: "GET",
|
|
927
|
+
path: "/v3/participants/{participantId}",
|
|
928
|
+
pathParams: { participantId: "participantId" },
|
|
929
|
+
__requestType: null,
|
|
930
|
+
__originalRequestType: null,
|
|
931
|
+
__responseType: null,
|
|
932
|
+
__originalResponseType: null
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
function queryParticipants2() {
|
|
212
936
|
const payload = {};
|
|
213
|
-
const getRequestOptions =
|
|
937
|
+
const getRequestOptions = queryParticipants(
|
|
938
|
+
payload
|
|
939
|
+
);
|
|
214
940
|
const getUrl = (context) => {
|
|
215
941
|
const { url } = getRequestOptions(context);
|
|
216
942
|
return url;
|
|
@@ -218,7 +944,7 @@ function bulkInviteAllToProgram2() {
|
|
|
218
944
|
return {
|
|
219
945
|
getUrl,
|
|
220
946
|
httpMethod: "POST",
|
|
221
|
-
path: "/v3/
|
|
947
|
+
path: "/v3/participants/query",
|
|
222
948
|
pathParams: {},
|
|
223
949
|
__requestType: null,
|
|
224
950
|
__originalRequestType: null,
|
|
@@ -226,9 +952,31 @@ function bulkInviteAllToProgram2() {
|
|
|
226
952
|
__originalResponseType: null
|
|
227
953
|
};
|
|
228
954
|
}
|
|
229
|
-
function
|
|
955
|
+
function getAccessStatus2() {
|
|
230
956
|
const payload = {};
|
|
231
|
-
const getRequestOptions =
|
|
957
|
+
const getRequestOptions = getAccessStatus(
|
|
958
|
+
payload
|
|
959
|
+
);
|
|
960
|
+
const getUrl = (context) => {
|
|
961
|
+
const { url } = getRequestOptions(context);
|
|
962
|
+
return url;
|
|
963
|
+
};
|
|
964
|
+
return {
|
|
965
|
+
getUrl,
|
|
966
|
+
httpMethod: "GET",
|
|
967
|
+
path: "/v3/participants/access",
|
|
968
|
+
pathParams: {},
|
|
969
|
+
__requestType: null,
|
|
970
|
+
__originalRequestType: null,
|
|
971
|
+
__responseType: null,
|
|
972
|
+
__originalResponseType: null
|
|
973
|
+
};
|
|
974
|
+
}
|
|
975
|
+
function bulkUpdateParticipantTags2() {
|
|
976
|
+
const payload = {};
|
|
977
|
+
const getRequestOptions = bulkUpdateParticipantTags(
|
|
978
|
+
payload
|
|
979
|
+
);
|
|
232
980
|
const getUrl = (context) => {
|
|
233
981
|
const { url } = getRequestOptions(context);
|
|
234
982
|
return url;
|
|
@@ -236,7 +984,7 @@ function bulkAddToProgram2() {
|
|
|
236
984
|
return {
|
|
237
985
|
getUrl,
|
|
238
986
|
httpMethod: "POST",
|
|
239
|
-
path: "/v3/bulk/participants/
|
|
987
|
+
path: "/v3/bulk/participants/update-tags",
|
|
240
988
|
pathParams: {},
|
|
241
989
|
__requestType: null,
|
|
242
990
|
__originalRequestType: null,
|
|
@@ -244,9 +992,11 @@ function bulkAddToProgram2() {
|
|
|
244
992
|
__originalResponseType: null
|
|
245
993
|
};
|
|
246
994
|
}
|
|
247
|
-
function
|
|
995
|
+
function bulkUpdateParticipantTagsByFilter2() {
|
|
248
996
|
const payload = {};
|
|
249
|
-
const getRequestOptions =
|
|
997
|
+
const getRequestOptions = bulkUpdateParticipantTagsByFilter(
|
|
998
|
+
payload
|
|
999
|
+
);
|
|
250
1000
|
const getUrl = (context) => {
|
|
251
1001
|
const { url } = getRequestOptions(context);
|
|
252
1002
|
return url;
|
|
@@ -254,7 +1004,7 @@ function bulkApproveParticipant2() {
|
|
|
254
1004
|
return {
|
|
255
1005
|
getUrl,
|
|
256
1006
|
httpMethod: "POST",
|
|
257
|
-
path: "/v3/bulk/participants/
|
|
1007
|
+
path: "/v3/bulk/participants/update-tags-by-filter",
|
|
258
1008
|
pathParams: {},
|
|
259
1009
|
__requestType: null,
|
|
260
1010
|
__originalRequestType: null,
|
|
@@ -262,9 +1012,11 @@ function bulkApproveParticipant2() {
|
|
|
262
1012
|
__originalResponseType: null
|
|
263
1013
|
};
|
|
264
1014
|
}
|
|
265
|
-
function
|
|
1015
|
+
function searchParticipants2() {
|
|
266
1016
|
const payload = {};
|
|
267
|
-
const getRequestOptions =
|
|
1017
|
+
const getRequestOptions = searchParticipants(
|
|
1018
|
+
payload
|
|
1019
|
+
);
|
|
268
1020
|
const getUrl = (context) => {
|
|
269
1021
|
const { url } = getRequestOptions(context);
|
|
270
1022
|
return url;
|
|
@@ -272,7 +1024,7 @@ function bulkApproveAllParticipant2() {
|
|
|
272
1024
|
return {
|
|
273
1025
|
getUrl,
|
|
274
1026
|
httpMethod: "POST",
|
|
275
|
-
path: "/v3/
|
|
1027
|
+
path: "/v3/participants/search",
|
|
276
1028
|
pathParams: {},
|
|
277
1029
|
__requestType: null,
|
|
278
1030
|
__originalRequestType: null,
|
|
@@ -280,14 +1032,55 @@ function bulkApproveAllParticipant2() {
|
|
|
280
1032
|
__originalResponseType: null
|
|
281
1033
|
};
|
|
282
1034
|
}
|
|
1035
|
+
function exportParticipantsStats2() {
|
|
1036
|
+
const payload = { programId: ":programId" };
|
|
1037
|
+
const getRequestOptions = exportParticipantsStats(
|
|
1038
|
+
payload
|
|
1039
|
+
);
|
|
1040
|
+
const getUrl = (context) => {
|
|
1041
|
+
const { url } = getRequestOptions(context);
|
|
1042
|
+
return url;
|
|
1043
|
+
};
|
|
1044
|
+
return {
|
|
1045
|
+
getUrl,
|
|
1046
|
+
httpMethod: "GET",
|
|
1047
|
+
path: "/v3/participants/export/{programId}",
|
|
1048
|
+
pathParams: { programId: "programId" },
|
|
1049
|
+
__requestType: null,
|
|
1050
|
+
__originalRequestType: null,
|
|
1051
|
+
__responseType: null,
|
|
1052
|
+
__originalResponseType: null
|
|
1053
|
+
};
|
|
1054
|
+
}
|
|
283
1055
|
export {
|
|
284
|
-
|
|
285
|
-
|
|
1056
|
+
AggregationType as AggregationTypeOriginal,
|
|
1057
|
+
BulkActionType as BulkActionTypeOriginal,
|
|
1058
|
+
EnrollmentStatus as EnrollmentStatusOriginal,
|
|
1059
|
+
Interval as IntervalOriginal,
|
|
1060
|
+
MissingValues as MissingValuesOriginal,
|
|
1061
|
+
Mode as ModeOriginal,
|
|
1062
|
+
NestedAggregationType as NestedAggregationTypeOriginal,
|
|
1063
|
+
PricingType as PricingTypeOriginal,
|
|
1064
|
+
ProgressStatus as ProgressStatusOriginal,
|
|
1065
|
+
RequestedFields as RequestedFieldsOriginal,
|
|
1066
|
+
ScalarType as ScalarTypeOriginal,
|
|
1067
|
+
SortDirection as SortDirectionOriginal,
|
|
1068
|
+
SortOrder as SortOrderOriginal,
|
|
1069
|
+
SortType as SortTypeOriginal,
|
|
286
1070
|
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
1071
|
+
bulkCreateParticipants2 as bulkCreateParticipants,
|
|
1072
|
+
bulkCreateParticipantsForAllMembers2 as bulkCreateParticipantsForAllMembers,
|
|
1073
|
+
bulkUpdateParticipantTags2 as bulkUpdateParticipantTags,
|
|
1074
|
+
bulkUpdateParticipantTagsByFilter2 as bulkUpdateParticipantTagsByFilter,
|
|
1075
|
+
createParticipant2 as createParticipant,
|
|
1076
|
+
deleteParticipant2 as deleteParticipant,
|
|
1077
|
+
exportParticipantsStats2 as exportParticipantsStats,
|
|
1078
|
+
getAccessStatus2 as getAccessStatus,
|
|
1079
|
+
getParticipant2 as getParticipant,
|
|
1080
|
+
getPremiumStats2 as getPremiumStats,
|
|
1081
|
+
issueCertificate2 as issueCertificate,
|
|
1082
|
+
queryParticipants2 as queryParticipants,
|
|
1083
|
+
searchParticipants2 as searchParticipants,
|
|
1084
|
+
updateParticipant2 as updateParticipant
|
|
292
1085
|
};
|
|
293
1086
|
//# sourceMappingURL=meta.mjs.map
|