@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
package/build/cjs/meta.js
CHANGED
|
@@ -20,684 +20,27 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
-
AggregationTypeOriginal: () => AggregationType,
|
|
24
|
-
BenefitTypeOriginal: () => BenefitType,
|
|
25
|
-
EventOriginal: () => Event,
|
|
26
|
-
IntervalOriginal: () => Interval,
|
|
27
23
|
JoinPathOriginal: () => JoinPath,
|
|
28
|
-
MissingValuesOriginal: () => MissingValues,
|
|
29
|
-
ModeOriginal: () => Mode,
|
|
30
|
-
NestedAggregationTypeOriginal: () => NestedAggregationType,
|
|
31
|
-
ScalarTypeOriginal: () => ScalarType,
|
|
32
|
-
SortDirectionOriginal: () => SortDirection,
|
|
33
|
-
SortOrderOriginal: () => SortOrder,
|
|
34
|
-
SortTypeOriginal: () => SortType,
|
|
35
24
|
StateOriginal: () => State,
|
|
36
|
-
StatusOriginal: () => Status,
|
|
37
25
|
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
38
|
-
bulkAddAllToProgram: () => bulkAddAllToProgram2,
|
|
39
26
|
bulkAddToProgram: () => bulkAddToProgram2,
|
|
40
27
|
bulkApproveAllParticipant: () => bulkApproveAllParticipant2,
|
|
41
28
|
bulkApproveParticipant: () => bulkApproveParticipant2,
|
|
42
|
-
bulkCreateParticipant: () => bulkCreateParticipant2,
|
|
43
29
|
bulkInviteAllToProgram: () => bulkInviteAllToProgram2,
|
|
44
|
-
bulkInviteToProgram: () => bulkInviteToProgram2
|
|
45
|
-
bulkUpdateParticipantTags: () => bulkUpdateParticipantTags2,
|
|
46
|
-
bulkUpdateParticipantTagsByFilter: () => bulkUpdateParticipantTagsByFilter2,
|
|
47
|
-
createParticipant: () => createParticipant2,
|
|
48
|
-
deleteParticipant: () => deleteParticipant2,
|
|
49
|
-
exportParticipantsStats: () => exportParticipantsStats2,
|
|
50
|
-
getAccessStatus: () => getAccessStatus2,
|
|
51
|
-
getCompletionStats: () => getCompletionStats2,
|
|
52
|
-
getParticipant: () => getParticipant2,
|
|
53
|
-
getPremiumStats: () => getPremiumStats2,
|
|
54
|
-
issueCertificate: () => issueCertificate2,
|
|
55
|
-
queryParticipants: () => queryParticipants2,
|
|
56
|
-
searchParticipants: () => searchParticipants2
|
|
30
|
+
bulkInviteToProgram: () => bulkInviteToProgram2
|
|
57
31
|
});
|
|
58
32
|
module.exports = __toCommonJS(meta_exports);
|
|
59
33
|
|
|
60
34
|
// src/online-programs-v3-participant-participants.http.ts
|
|
61
|
-
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
62
35
|
var import_float = require("@wix/sdk-runtime/transformations/float");
|
|
63
|
-
var import_float2 = require("@wix/sdk-runtime/transformations/float");
|
|
64
36
|
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
65
|
-
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
66
37
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
67
|
-
var
|
|
68
|
-
function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
|
|
69
|
-
const domainToMappings = {
|
|
70
|
-
"bo._base_domain_": [
|
|
71
|
-
{
|
|
72
|
-
srcPath: "/participants-service",
|
|
73
|
-
destPath: ""
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"wixbo.ai": [
|
|
77
|
-
{
|
|
78
|
-
srcPath: "/participants-service",
|
|
79
|
-
destPath: ""
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"wix-bo.com": [
|
|
83
|
-
{
|
|
84
|
-
srcPath: "/participants-service",
|
|
85
|
-
destPath: ""
|
|
86
|
-
}
|
|
87
|
-
],
|
|
88
|
-
"manage._base_domain_": [
|
|
89
|
-
{
|
|
90
|
-
srcPath: "/participants-service",
|
|
91
|
-
destPath: ""
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
_: [
|
|
95
|
-
{
|
|
96
|
-
srcPath: "/participants-service",
|
|
97
|
-
destPath: ""
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"editor._base_domain_": [
|
|
101
|
-
{
|
|
102
|
-
srcPath: "/participants-service",
|
|
103
|
-
destPath: ""
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"blocks._base_domain_": [
|
|
107
|
-
{
|
|
108
|
-
srcPath: "/participants-service",
|
|
109
|
-
destPath: ""
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
"create.editorx": [
|
|
113
|
-
{
|
|
114
|
-
srcPath: "/participants-service",
|
|
115
|
-
destPath: ""
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"www._base_domain_": [
|
|
119
|
-
{
|
|
120
|
-
srcPath: "/_api/participants-service",
|
|
121
|
-
destPath: ""
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
"www.wixapis.com": [
|
|
125
|
-
{
|
|
126
|
-
srcPath: "/participants-service",
|
|
127
|
-
destPath: ""
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
};
|
|
131
|
-
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
132
|
-
}
|
|
38
|
+
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
133
39
|
function resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl(opts) {
|
|
134
|
-
const domainToMappings = {
|
|
135
|
-
|
|
136
|
-
{
|
|
137
|
-
srcPath: "/participants-service",
|
|
138
|
-
destPath: ""
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"wixbo.ai": [
|
|
142
|
-
{
|
|
143
|
-
srcPath: "/participants-service",
|
|
144
|
-
destPath: ""
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"wix-bo.com": [
|
|
148
|
-
{
|
|
149
|
-
srcPath: "/participants-service",
|
|
150
|
-
destPath: ""
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
|
-
"manage._base_domain_": [
|
|
154
|
-
{
|
|
155
|
-
srcPath: "/participants-service",
|
|
156
|
-
destPath: ""
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
_: [
|
|
160
|
-
{
|
|
161
|
-
srcPath: "/participants-service",
|
|
162
|
-
destPath: ""
|
|
163
|
-
}
|
|
164
|
-
],
|
|
165
|
-
"editor._base_domain_": [
|
|
166
|
-
{
|
|
167
|
-
srcPath: "/participants-service",
|
|
168
|
-
destPath: ""
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"blocks._base_domain_": [
|
|
172
|
-
{
|
|
173
|
-
srcPath: "/participants-service",
|
|
174
|
-
destPath: ""
|
|
175
|
-
}
|
|
176
|
-
],
|
|
177
|
-
"create.editorx": [
|
|
178
|
-
{
|
|
179
|
-
srcPath: "/participants-service",
|
|
180
|
-
destPath: ""
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"www._base_domain_": [
|
|
184
|
-
{
|
|
185
|
-
srcPath: "/_api/participants-service",
|
|
186
|
-
destPath: ""
|
|
187
|
-
}
|
|
188
|
-
],
|
|
189
|
-
"www.wixapis.com": [
|
|
190
|
-
{
|
|
191
|
-
srcPath: "/participants-service",
|
|
192
|
-
destPath: ""
|
|
193
|
-
}
|
|
194
|
-
]
|
|
195
|
-
};
|
|
196
|
-
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
197
|
-
}
|
|
198
|
-
function resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl(opts) {
|
|
199
|
-
const domainToMappings = {
|
|
200
|
-
"bo._base_domain_": [
|
|
201
|
-
{
|
|
202
|
-
srcPath: "/participants-service",
|
|
203
|
-
destPath: ""
|
|
204
|
-
}
|
|
205
|
-
],
|
|
206
|
-
"wixbo.ai": [
|
|
207
|
-
{
|
|
208
|
-
srcPath: "/participants-service",
|
|
209
|
-
destPath: ""
|
|
210
|
-
}
|
|
211
|
-
],
|
|
212
|
-
"wix-bo.com": [
|
|
213
|
-
{
|
|
214
|
-
srcPath: "/participants-service",
|
|
215
|
-
destPath: ""
|
|
216
|
-
}
|
|
217
|
-
],
|
|
218
|
-
"manage._base_domain_": [
|
|
219
|
-
{
|
|
220
|
-
srcPath: "/participants-service",
|
|
221
|
-
destPath: ""
|
|
222
|
-
}
|
|
223
|
-
],
|
|
224
|
-
_: [
|
|
225
|
-
{
|
|
226
|
-
srcPath: "/participants-service",
|
|
227
|
-
destPath: ""
|
|
228
|
-
}
|
|
229
|
-
],
|
|
230
|
-
"editor._base_domain_": [
|
|
231
|
-
{
|
|
232
|
-
srcPath: "/participants-service",
|
|
233
|
-
destPath: ""
|
|
234
|
-
}
|
|
235
|
-
],
|
|
236
|
-
"blocks._base_domain_": [
|
|
237
|
-
{
|
|
238
|
-
srcPath: "/participants-service",
|
|
239
|
-
destPath: ""
|
|
240
|
-
}
|
|
241
|
-
],
|
|
242
|
-
"create.editorx": [
|
|
243
|
-
{
|
|
244
|
-
srcPath: "/participants-service",
|
|
245
|
-
destPath: ""
|
|
246
|
-
}
|
|
247
|
-
],
|
|
248
|
-
"www._base_domain_": [
|
|
249
|
-
{
|
|
250
|
-
srcPath: "/_api/participants-service",
|
|
251
|
-
destPath: ""
|
|
252
|
-
}
|
|
253
|
-
],
|
|
254
|
-
"www.wixapis.com": [
|
|
255
|
-
{
|
|
256
|
-
srcPath: "/participants-service",
|
|
257
|
-
destPath: ""
|
|
258
|
-
}
|
|
259
|
-
]
|
|
260
|
-
};
|
|
261
|
-
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
40
|
+
const domainToMappings = {};
|
|
41
|
+
return (0, import_rest_modules.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
262
42
|
}
|
|
263
43
|
var PACKAGE_NAME = "@wix/auto_sdk_online-programs_participants";
|
|
264
|
-
function createParticipant(payload) {
|
|
265
|
-
function __createParticipant({ host }) {
|
|
266
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
267
|
-
{
|
|
268
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
269
|
-
paths: [
|
|
270
|
-
{ path: "participant.createdDate" },
|
|
271
|
-
{ path: "participant.updatedDate" },
|
|
272
|
-
{ path: "participant.lastActivityDate" },
|
|
273
|
-
{ path: "participant.certificate.issuedDate" }
|
|
274
|
-
]
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
278
|
-
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
279
|
-
}
|
|
280
|
-
]);
|
|
281
|
-
const metadata = {
|
|
282
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
283
|
-
method: "POST",
|
|
284
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.CreateParticipant",
|
|
285
|
-
packageName: PACKAGE_NAME,
|
|
286
|
-
migrationOptions: {
|
|
287
|
-
optInTransformResponse: true
|
|
288
|
-
},
|
|
289
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
290
|
-
protoPath: "/v3/participants",
|
|
291
|
-
data: serializedData,
|
|
292
|
-
host
|
|
293
|
-
}),
|
|
294
|
-
data: serializedData,
|
|
295
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
296
|
-
{
|
|
297
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
298
|
-
paths: [
|
|
299
|
-
{ path: "participant.createdDate" },
|
|
300
|
-
{ path: "participant.updatedDate" },
|
|
301
|
-
{ path: "participant.lastActivityDate" },
|
|
302
|
-
{ path: "participant.certificate.issuedDate" }
|
|
303
|
-
]
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
307
|
-
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
308
|
-
}
|
|
309
|
-
])
|
|
310
|
-
};
|
|
311
|
-
return metadata;
|
|
312
|
-
}
|
|
313
|
-
return __createParticipant;
|
|
314
|
-
}
|
|
315
|
-
function bulkCreateParticipant(payload) {
|
|
316
|
-
function __bulkCreateParticipant({ host }) {
|
|
317
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
318
|
-
{
|
|
319
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
320
|
-
paths: [
|
|
321
|
-
{ path: "participants.createdDate" },
|
|
322
|
-
{ path: "participants.updatedDate" },
|
|
323
|
-
{ path: "participants.lastActivityDate" },
|
|
324
|
-
{ path: "participants.certificate.issuedDate" }
|
|
325
|
-
]
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
329
|
-
paths: [{ path: "participants.progress.completionPercentage" }]
|
|
330
|
-
}
|
|
331
|
-
]);
|
|
332
|
-
const metadata = {
|
|
333
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
334
|
-
method: "POST",
|
|
335
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipant",
|
|
336
|
-
packageName: PACKAGE_NAME,
|
|
337
|
-
migrationOptions: {
|
|
338
|
-
optInTransformResponse: true
|
|
339
|
-
},
|
|
340
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
341
|
-
protoPath: "/v3/bulk/participants/create",
|
|
342
|
-
data: serializedData,
|
|
343
|
-
host
|
|
344
|
-
}),
|
|
345
|
-
data: serializedData,
|
|
346
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
347
|
-
{
|
|
348
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
349
|
-
paths: [
|
|
350
|
-
{ path: "results.item.createdDate" },
|
|
351
|
-
{ path: "results.item.updatedDate" },
|
|
352
|
-
{ path: "results.item.lastActivityDate" },
|
|
353
|
-
{ path: "results.item.certificate.issuedDate" }
|
|
354
|
-
]
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
358
|
-
paths: [{ path: "results.item.progress.completionPercentage" }]
|
|
359
|
-
}
|
|
360
|
-
])
|
|
361
|
-
};
|
|
362
|
-
return metadata;
|
|
363
|
-
}
|
|
364
|
-
return __bulkCreateParticipant;
|
|
365
|
-
}
|
|
366
|
-
function bulkAddAllToProgram(payload) {
|
|
367
|
-
function __bulkAddAllToProgram({ host }) {
|
|
368
|
-
const metadata = {
|
|
369
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
370
|
-
method: "POST",
|
|
371
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkAddAllToProgram",
|
|
372
|
-
packageName: PACKAGE_NAME,
|
|
373
|
-
migrationOptions: {
|
|
374
|
-
optInTransformResponse: true
|
|
375
|
-
},
|
|
376
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
377
|
-
protoPath: "/v3/bulk/participants/add-all",
|
|
378
|
-
data: payload,
|
|
379
|
-
host
|
|
380
|
-
}),
|
|
381
|
-
data: payload
|
|
382
|
-
};
|
|
383
|
-
return metadata;
|
|
384
|
-
}
|
|
385
|
-
return __bulkAddAllToProgram;
|
|
386
|
-
}
|
|
387
|
-
function deleteParticipant(payload) {
|
|
388
|
-
function __deleteParticipant({ host }) {
|
|
389
|
-
const metadata = {
|
|
390
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
391
|
-
method: "DELETE",
|
|
392
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.DeleteParticipant",
|
|
393
|
-
packageName: PACKAGE_NAME,
|
|
394
|
-
migrationOptions: {
|
|
395
|
-
optInTransformResponse: true
|
|
396
|
-
},
|
|
397
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
398
|
-
protoPath: "/v3/participants/{participantId}",
|
|
399
|
-
data: payload,
|
|
400
|
-
host
|
|
401
|
-
}),
|
|
402
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
403
|
-
};
|
|
404
|
-
return metadata;
|
|
405
|
-
}
|
|
406
|
-
return __deleteParticipant;
|
|
407
|
-
}
|
|
408
|
-
function issueCertificate(payload) {
|
|
409
|
-
function __issueCertificate({ host }) {
|
|
410
|
-
const metadata = {
|
|
411
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
412
|
-
method: "POST",
|
|
413
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.IssueCertificate",
|
|
414
|
-
packageName: PACKAGE_NAME,
|
|
415
|
-
migrationOptions: {
|
|
416
|
-
optInTransformResponse: true
|
|
417
|
-
},
|
|
418
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
419
|
-
protoPath: "/v3/participants/{participantId}/issue-certificate",
|
|
420
|
-
data: payload,
|
|
421
|
-
host
|
|
422
|
-
}),
|
|
423
|
-
data: payload,
|
|
424
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
425
|
-
{
|
|
426
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
427
|
-
paths: [
|
|
428
|
-
{ path: "participant.createdDate" },
|
|
429
|
-
{ path: "participant.updatedDate" },
|
|
430
|
-
{ path: "participant.lastActivityDate" },
|
|
431
|
-
{ path: "participant.certificate.issuedDate" }
|
|
432
|
-
]
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
436
|
-
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
437
|
-
}
|
|
438
|
-
])
|
|
439
|
-
};
|
|
440
|
-
return metadata;
|
|
441
|
-
}
|
|
442
|
-
return __issueCertificate;
|
|
443
|
-
}
|
|
444
|
-
function getCompletionStats(payload) {
|
|
445
|
-
function __getCompletionStats({ host }) {
|
|
446
|
-
const metadata = {
|
|
447
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
448
|
-
method: "GET",
|
|
449
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetCompletionStats",
|
|
450
|
-
packageName: PACKAGE_NAME,
|
|
451
|
-
migrationOptions: {
|
|
452
|
-
optInTransformResponse: true
|
|
453
|
-
},
|
|
454
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
455
|
-
protoPath: "/v3/stats/completion/{programId}",
|
|
456
|
-
data: payload,
|
|
457
|
-
host
|
|
458
|
-
}),
|
|
459
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
460
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
461
|
-
{
|
|
462
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
463
|
-
paths: [{ path: "completionRate" }]
|
|
464
|
-
}
|
|
465
|
-
])
|
|
466
|
-
};
|
|
467
|
-
return metadata;
|
|
468
|
-
}
|
|
469
|
-
return __getCompletionStats;
|
|
470
|
-
}
|
|
471
|
-
function getPremiumStats(payload) {
|
|
472
|
-
function __getPremiumStats({ host }) {
|
|
473
|
-
const metadata = {
|
|
474
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
475
|
-
method: "GET",
|
|
476
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetPremiumStats",
|
|
477
|
-
packageName: PACKAGE_NAME,
|
|
478
|
-
migrationOptions: {
|
|
479
|
-
optInTransformResponse: true
|
|
480
|
-
},
|
|
481
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
482
|
-
protoPath: "/v3/stats/premium",
|
|
483
|
-
data: payload,
|
|
484
|
-
host
|
|
485
|
-
}),
|
|
486
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
487
|
-
};
|
|
488
|
-
return metadata;
|
|
489
|
-
}
|
|
490
|
-
return __getPremiumStats;
|
|
491
|
-
}
|
|
492
|
-
function getParticipant(payload) {
|
|
493
|
-
function __getParticipant({ host }) {
|
|
494
|
-
const metadata = {
|
|
495
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
496
|
-
method: "GET",
|
|
497
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant",
|
|
498
|
-
packageName: PACKAGE_NAME,
|
|
499
|
-
migrationOptions: {
|
|
500
|
-
optInTransformResponse: true
|
|
501
|
-
},
|
|
502
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
503
|
-
protoPath: "/v3/participants/{participantId}",
|
|
504
|
-
data: payload,
|
|
505
|
-
host
|
|
506
|
-
}),
|
|
507
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
508
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
509
|
-
{
|
|
510
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
511
|
-
paths: [
|
|
512
|
-
{ path: "participant.createdDate" },
|
|
513
|
-
{ path: "participant.updatedDate" },
|
|
514
|
-
{ path: "participant.lastActivityDate" },
|
|
515
|
-
{ path: "participant.certificate.issuedDate" }
|
|
516
|
-
]
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
520
|
-
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
521
|
-
}
|
|
522
|
-
])
|
|
523
|
-
};
|
|
524
|
-
return metadata;
|
|
525
|
-
}
|
|
526
|
-
return __getParticipant;
|
|
527
|
-
}
|
|
528
|
-
function queryParticipants(payload) {
|
|
529
|
-
function __queryParticipants({ host }) {
|
|
530
|
-
const metadata = {
|
|
531
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
532
|
-
method: "POST",
|
|
533
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants",
|
|
534
|
-
packageName: PACKAGE_NAME,
|
|
535
|
-
migrationOptions: {
|
|
536
|
-
optInTransformResponse: true
|
|
537
|
-
},
|
|
538
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
539
|
-
protoPath: "/v3/participants/query",
|
|
540
|
-
data: payload,
|
|
541
|
-
host
|
|
542
|
-
}),
|
|
543
|
-
data: payload,
|
|
544
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
545
|
-
{
|
|
546
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
547
|
-
paths: [
|
|
548
|
-
{ path: "participants.createdDate" },
|
|
549
|
-
{ path: "participants.updatedDate" },
|
|
550
|
-
{ path: "participants.lastActivityDate" },
|
|
551
|
-
{ path: "participants.certificate.issuedDate" }
|
|
552
|
-
]
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
556
|
-
paths: [{ path: "participants.progress.completionPercentage" }]
|
|
557
|
-
}
|
|
558
|
-
])
|
|
559
|
-
};
|
|
560
|
-
return metadata;
|
|
561
|
-
}
|
|
562
|
-
return __queryParticipants;
|
|
563
|
-
}
|
|
564
|
-
function getAccessStatus(payload) {
|
|
565
|
-
function __getAccessStatus({ host }) {
|
|
566
|
-
const metadata = {
|
|
567
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
568
|
-
method: "GET",
|
|
569
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetAccessStatus",
|
|
570
|
-
packageName: PACKAGE_NAME,
|
|
571
|
-
migrationOptions: {
|
|
572
|
-
optInTransformResponse: true
|
|
573
|
-
},
|
|
574
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
575
|
-
protoPath: "/v3/participants/access",
|
|
576
|
-
data: payload,
|
|
577
|
-
host
|
|
578
|
-
}),
|
|
579
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
580
|
-
};
|
|
581
|
-
return metadata;
|
|
582
|
-
}
|
|
583
|
-
return __getAccessStatus;
|
|
584
|
-
}
|
|
585
|
-
function bulkUpdateParticipantTags(payload) {
|
|
586
|
-
function __bulkUpdateParticipantTags({ host }) {
|
|
587
|
-
const metadata = {
|
|
588
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
589
|
-
method: "POST",
|
|
590
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTags",
|
|
591
|
-
packageName: PACKAGE_NAME,
|
|
592
|
-
migrationOptions: {
|
|
593
|
-
optInTransformResponse: true
|
|
594
|
-
},
|
|
595
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
596
|
-
protoPath: "/v3/bulk/participants/update-tags",
|
|
597
|
-
data: payload,
|
|
598
|
-
host
|
|
599
|
-
}),
|
|
600
|
-
data: payload
|
|
601
|
-
};
|
|
602
|
-
return metadata;
|
|
603
|
-
}
|
|
604
|
-
return __bulkUpdateParticipantTags;
|
|
605
|
-
}
|
|
606
|
-
function bulkUpdateParticipantTagsByFilter(payload) {
|
|
607
|
-
function __bulkUpdateParticipantTagsByFilter({ host }) {
|
|
608
|
-
const metadata = {
|
|
609
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
610
|
-
method: "POST",
|
|
611
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTagsByFilter",
|
|
612
|
-
packageName: PACKAGE_NAME,
|
|
613
|
-
migrationOptions: {
|
|
614
|
-
optInTransformResponse: true
|
|
615
|
-
},
|
|
616
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
617
|
-
protoPath: "/v3/bulk/participants/update-tags-by-filter",
|
|
618
|
-
data: payload,
|
|
619
|
-
host
|
|
620
|
-
}),
|
|
621
|
-
data: payload
|
|
622
|
-
};
|
|
623
|
-
return metadata;
|
|
624
|
-
}
|
|
625
|
-
return __bulkUpdateParticipantTagsByFilter;
|
|
626
|
-
}
|
|
627
|
-
function searchParticipants(payload) {
|
|
628
|
-
function __searchParticipants({ host }) {
|
|
629
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
630
|
-
{
|
|
631
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
632
|
-
paths: [
|
|
633
|
-
{ path: "search.aggregations.range.buckets.from" },
|
|
634
|
-
{ path: "search.aggregations.range.buckets.to" },
|
|
635
|
-
{
|
|
636
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
640
|
-
}
|
|
641
|
-
]
|
|
642
|
-
}
|
|
643
|
-
]);
|
|
644
|
-
const metadata = {
|
|
645
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
646
|
-
method: "POST",
|
|
647
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.SearchParticipants",
|
|
648
|
-
packageName: PACKAGE_NAME,
|
|
649
|
-
migrationOptions: {
|
|
650
|
-
optInTransformResponse: true
|
|
651
|
-
},
|
|
652
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
653
|
-
protoPath: "/v3/participants/search",
|
|
654
|
-
data: serializedData,
|
|
655
|
-
host
|
|
656
|
-
}),
|
|
657
|
-
data: serializedData,
|
|
658
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
659
|
-
{
|
|
660
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
661
|
-
paths: [
|
|
662
|
-
{ path: "participants.createdDate" },
|
|
663
|
-
{ path: "participants.updatedDate" },
|
|
664
|
-
{ path: "participants.lastActivityDate" },
|
|
665
|
-
{ path: "participants.certificate.issuedDate" }
|
|
666
|
-
]
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
670
|
-
paths: [
|
|
671
|
-
{ path: "participants.progress.completionPercentage" },
|
|
672
|
-
{ path: "aggregationData.results.scalar.value" },
|
|
673
|
-
{
|
|
674
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
678
|
-
},
|
|
679
|
-
{ path: "aggregationData.results.ranges.results.from" },
|
|
680
|
-
{ path: "aggregationData.results.ranges.results.to" },
|
|
681
|
-
{
|
|
682
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
692
|
-
}
|
|
693
|
-
]
|
|
694
|
-
}
|
|
695
|
-
])
|
|
696
|
-
};
|
|
697
|
-
return metadata;
|
|
698
|
-
}
|
|
699
|
-
return __searchParticipants;
|
|
700
|
-
}
|
|
701
44
|
function bulkInviteToProgram(payload) {
|
|
702
45
|
function __bulkInviteToProgram({ host }) {
|
|
703
46
|
const metadata = {
|
|
@@ -716,7 +59,7 @@ function bulkInviteToProgram(payload) {
|
|
|
716
59
|
data: payload,
|
|
717
60
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
718
61
|
{
|
|
719
|
-
transformFn:
|
|
62
|
+
transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
|
|
720
63
|
paths: [
|
|
721
64
|
{ path: "results.item.createdDate" },
|
|
722
65
|
{ path: "results.item.updatedDate" },
|
|
@@ -725,7 +68,7 @@ function bulkInviteToProgram(payload) {
|
|
|
725
68
|
]
|
|
726
69
|
},
|
|
727
70
|
{
|
|
728
|
-
transformFn:
|
|
71
|
+
transformFn: import_float.transformRESTFloatToSDKFloat,
|
|
729
72
|
paths: [{ path: "results.item.progress.completionPercentage" }]
|
|
730
73
|
}
|
|
731
74
|
])
|
|
@@ -773,7 +116,7 @@ function bulkAddToProgram(payload) {
|
|
|
773
116
|
data: payload,
|
|
774
117
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
775
118
|
{
|
|
776
|
-
transformFn:
|
|
119
|
+
transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
|
|
777
120
|
paths: [
|
|
778
121
|
{ path: "results.item.createdDate" },
|
|
779
122
|
{ path: "results.item.updatedDate" },
|
|
@@ -782,7 +125,7 @@ function bulkAddToProgram(payload) {
|
|
|
782
125
|
]
|
|
783
126
|
},
|
|
784
127
|
{
|
|
785
|
-
transformFn:
|
|
128
|
+
transformFn: import_float.transformRESTFloatToSDKFloat,
|
|
786
129
|
paths: [{ path: "results.item.progress.completionPercentage" }]
|
|
787
130
|
}
|
|
788
131
|
])
|
|
@@ -809,7 +152,7 @@ function bulkApproveParticipant(payload) {
|
|
|
809
152
|
data: payload,
|
|
810
153
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
811
154
|
{
|
|
812
|
-
transformFn:
|
|
155
|
+
transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
|
|
813
156
|
paths: [
|
|
814
157
|
{ path: "results.item.createdDate" },
|
|
815
158
|
{ path: "results.item.updatedDate" },
|
|
@@ -818,7 +161,7 @@ function bulkApproveParticipant(payload) {
|
|
|
818
161
|
]
|
|
819
162
|
},
|
|
820
163
|
{
|
|
821
|
-
transformFn:
|
|
164
|
+
transformFn: import_float.transformRESTFloatToSDKFloat,
|
|
822
165
|
paths: [{ path: "results.item.progress.completionPercentage" }]
|
|
823
166
|
}
|
|
824
167
|
])
|
|
@@ -848,27 +191,6 @@ function bulkApproveAllParticipant(payload) {
|
|
|
848
191
|
}
|
|
849
192
|
return __bulkApproveAllParticipant;
|
|
850
193
|
}
|
|
851
|
-
function exportParticipantsStats(payload) {
|
|
852
|
-
function __exportParticipantsStats({ host }) {
|
|
853
|
-
const metadata = {
|
|
854
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
855
|
-
method: "GET",
|
|
856
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantExportsService.ExportParticipantsStats",
|
|
857
|
-
packageName: PACKAGE_NAME,
|
|
858
|
-
migrationOptions: {
|
|
859
|
-
optInTransformResponse: true
|
|
860
|
-
},
|
|
861
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl({
|
|
862
|
-
protoPath: "/v3/participants/export/{programId}",
|
|
863
|
-
data: payload,
|
|
864
|
-
host
|
|
865
|
-
}),
|
|
866
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
867
|
-
};
|
|
868
|
-
return metadata;
|
|
869
|
-
}
|
|
870
|
-
return __exportParticipantsStats;
|
|
871
|
-
}
|
|
872
194
|
|
|
873
195
|
// src/online-programs-v3-participant-participants.types.ts
|
|
874
196
|
var JoinPath = /* @__PURE__ */ ((JoinPath2) => {
|
|
@@ -880,97 +202,6 @@ var JoinPath = /* @__PURE__ */ ((JoinPath2) => {
|
|
|
880
202
|
JoinPath2["FREE_COUPON"] = "FREE_COUPON";
|
|
881
203
|
return JoinPath2;
|
|
882
204
|
})(JoinPath || {});
|
|
883
|
-
var Status = /* @__PURE__ */ ((Status2) => {
|
|
884
|
-
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
885
|
-
Status2["JOINED"] = "JOINED";
|
|
886
|
-
Status2["COMPLETED"] = "COMPLETED";
|
|
887
|
-
Status2["FAILED"] = "FAILED";
|
|
888
|
-
Status2["SUSPENDED"] = "SUSPENDED";
|
|
889
|
-
Status2["AUTO_REMOVED"] = "AUTO_REMOVED";
|
|
890
|
-
Status2["REMOVED"] = "REMOVED";
|
|
891
|
-
Status2["LEFT"] = "LEFT";
|
|
892
|
-
return Status2;
|
|
893
|
-
})(Status || {});
|
|
894
|
-
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
895
|
-
SortOrder2["ASC"] = "ASC";
|
|
896
|
-
SortOrder2["DESC"] = "DESC";
|
|
897
|
-
return SortOrder2;
|
|
898
|
-
})(SortOrder || {});
|
|
899
|
-
var SortType = /* @__PURE__ */ ((SortType2) => {
|
|
900
|
-
SortType2["COUNT"] = "COUNT";
|
|
901
|
-
SortType2["VALUE"] = "VALUE";
|
|
902
|
-
return SortType2;
|
|
903
|
-
})(SortType || {});
|
|
904
|
-
var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
|
|
905
|
-
SortDirection2["DESC"] = "DESC";
|
|
906
|
-
SortDirection2["ASC"] = "ASC";
|
|
907
|
-
return SortDirection2;
|
|
908
|
-
})(SortDirection || {});
|
|
909
|
-
var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
|
|
910
|
-
MissingValues2["EXCLUDE"] = "EXCLUDE";
|
|
911
|
-
MissingValues2["INCLUDE"] = "INCLUDE";
|
|
912
|
-
return MissingValues2;
|
|
913
|
-
})(MissingValues || {});
|
|
914
|
-
var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
915
|
-
ScalarType2["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
|
|
916
|
-
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
917
|
-
ScalarType2["MIN"] = "MIN";
|
|
918
|
-
ScalarType2["MAX"] = "MAX";
|
|
919
|
-
return ScalarType2;
|
|
920
|
-
})(ScalarType || {});
|
|
921
|
-
var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
922
|
-
NestedAggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
923
|
-
NestedAggregationType2["VALUE"] = "VALUE";
|
|
924
|
-
NestedAggregationType2["RANGE"] = "RANGE";
|
|
925
|
-
NestedAggregationType2["SCALAR"] = "SCALAR";
|
|
926
|
-
NestedAggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
927
|
-
return NestedAggregationType2;
|
|
928
|
-
})(NestedAggregationType || {});
|
|
929
|
-
var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
930
|
-
Interval2["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
|
|
931
|
-
Interval2["YEAR"] = "YEAR";
|
|
932
|
-
Interval2["MONTH"] = "MONTH";
|
|
933
|
-
Interval2["WEEK"] = "WEEK";
|
|
934
|
-
Interval2["DAY"] = "DAY";
|
|
935
|
-
Interval2["HOUR"] = "HOUR";
|
|
936
|
-
Interval2["MINUTE"] = "MINUTE";
|
|
937
|
-
Interval2["SECOND"] = "SECOND";
|
|
938
|
-
return Interval2;
|
|
939
|
-
})(Interval || {});
|
|
940
|
-
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
941
|
-
AggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
942
|
-
AggregationType2["VALUE"] = "VALUE";
|
|
943
|
-
AggregationType2["RANGE"] = "RANGE";
|
|
944
|
-
AggregationType2["SCALAR"] = "SCALAR";
|
|
945
|
-
AggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
946
|
-
AggregationType2["NESTED"] = "NESTED";
|
|
947
|
-
return AggregationType2;
|
|
948
|
-
})(AggregationType || {});
|
|
949
|
-
var Mode = /* @__PURE__ */ ((Mode2) => {
|
|
950
|
-
Mode2["OR"] = "OR";
|
|
951
|
-
Mode2["AND"] = "AND";
|
|
952
|
-
return Mode2;
|
|
953
|
-
})(Mode || {});
|
|
954
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
955
|
-
BenefitType2["UNDEFINED"] = "UNDEFINED";
|
|
956
|
-
BenefitType2["LIMITED"] = "LIMITED";
|
|
957
|
-
BenefitType2["UNLIMITED"] = "UNLIMITED";
|
|
958
|
-
return BenefitType2;
|
|
959
|
-
})(BenefitType || {});
|
|
960
|
-
var Event = /* @__PURE__ */ ((Event2) => {
|
|
961
|
-
Event2["Updated"] = "Updated";
|
|
962
|
-
Event2["Deleted"] = "Deleted";
|
|
963
|
-
Event2["Created"] = "Created";
|
|
964
|
-
return Event2;
|
|
965
|
-
})(Event || {});
|
|
966
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
967
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
968
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
969
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
970
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
971
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
972
|
-
return WebhookIdentityType2;
|
|
973
|
-
})(WebhookIdentityType || {});
|
|
974
205
|
var State = /* @__PURE__ */ ((State2) => {
|
|
975
206
|
State2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
976
207
|
State2["JOINED"] = "JOINED";
|
|
@@ -982,244 +213,16 @@ var State = /* @__PURE__ */ ((State2) => {
|
|
|
982
213
|
State2["LEFT"] = "LEFT";
|
|
983
214
|
return State2;
|
|
984
215
|
})(State || {});
|
|
216
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
217
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
218
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
219
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
220
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
221
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
222
|
+
return WebhookIdentityType2;
|
|
223
|
+
})(WebhookIdentityType || {});
|
|
985
224
|
|
|
986
225
|
// src/online-programs-v3-participant-participants.meta.ts
|
|
987
|
-
function createParticipant2() {
|
|
988
|
-
const payload = {};
|
|
989
|
-
const getRequestOptions = createParticipant(payload);
|
|
990
|
-
const getUrl = (context) => {
|
|
991
|
-
const { url } = getRequestOptions(context);
|
|
992
|
-
return url;
|
|
993
|
-
};
|
|
994
|
-
return {
|
|
995
|
-
getUrl,
|
|
996
|
-
httpMethod: "POST",
|
|
997
|
-
path: "/v3/participants",
|
|
998
|
-
pathParams: {},
|
|
999
|
-
__requestType: null,
|
|
1000
|
-
__originalRequestType: null,
|
|
1001
|
-
__responseType: null,
|
|
1002
|
-
__originalResponseType: null
|
|
1003
|
-
};
|
|
1004
|
-
}
|
|
1005
|
-
function bulkCreateParticipant2() {
|
|
1006
|
-
const payload = {};
|
|
1007
|
-
const getRequestOptions = bulkCreateParticipant(payload);
|
|
1008
|
-
const getUrl = (context) => {
|
|
1009
|
-
const { url } = getRequestOptions(context);
|
|
1010
|
-
return url;
|
|
1011
|
-
};
|
|
1012
|
-
return {
|
|
1013
|
-
getUrl,
|
|
1014
|
-
httpMethod: "POST",
|
|
1015
|
-
path: "/v3/bulk/participants/create",
|
|
1016
|
-
pathParams: {},
|
|
1017
|
-
__requestType: null,
|
|
1018
|
-
__originalRequestType: null,
|
|
1019
|
-
__responseType: null,
|
|
1020
|
-
__originalResponseType: null
|
|
1021
|
-
};
|
|
1022
|
-
}
|
|
1023
|
-
function bulkAddAllToProgram2() {
|
|
1024
|
-
const payload = {};
|
|
1025
|
-
const getRequestOptions = bulkAddAllToProgram(payload);
|
|
1026
|
-
const getUrl = (context) => {
|
|
1027
|
-
const { url } = getRequestOptions(context);
|
|
1028
|
-
return url;
|
|
1029
|
-
};
|
|
1030
|
-
return {
|
|
1031
|
-
getUrl,
|
|
1032
|
-
httpMethod: "POST",
|
|
1033
|
-
path: "/v3/bulk/participants/add-all",
|
|
1034
|
-
pathParams: {},
|
|
1035
|
-
__requestType: null,
|
|
1036
|
-
__originalRequestType: null,
|
|
1037
|
-
__responseType: null,
|
|
1038
|
-
__originalResponseType: null
|
|
1039
|
-
};
|
|
1040
|
-
}
|
|
1041
|
-
function deleteParticipant2() {
|
|
1042
|
-
const payload = { participantId: ":participantId" };
|
|
1043
|
-
const getRequestOptions = deleteParticipant(payload);
|
|
1044
|
-
const getUrl = (context) => {
|
|
1045
|
-
const { url } = getRequestOptions(context);
|
|
1046
|
-
return url;
|
|
1047
|
-
};
|
|
1048
|
-
return {
|
|
1049
|
-
getUrl,
|
|
1050
|
-
httpMethod: "DELETE",
|
|
1051
|
-
path: "/v3/participants/{participantId}",
|
|
1052
|
-
pathParams: { participantId: "participantId" },
|
|
1053
|
-
__requestType: null,
|
|
1054
|
-
__originalRequestType: null,
|
|
1055
|
-
__responseType: null,
|
|
1056
|
-
__originalResponseType: null
|
|
1057
|
-
};
|
|
1058
|
-
}
|
|
1059
|
-
function issueCertificate2() {
|
|
1060
|
-
const payload = { participantId: ":participantId" };
|
|
1061
|
-
const getRequestOptions = issueCertificate(payload);
|
|
1062
|
-
const getUrl = (context) => {
|
|
1063
|
-
const { url } = getRequestOptions(context);
|
|
1064
|
-
return url;
|
|
1065
|
-
};
|
|
1066
|
-
return {
|
|
1067
|
-
getUrl,
|
|
1068
|
-
httpMethod: "POST",
|
|
1069
|
-
path: "/v3/participants/{participantId}/issue-certificate",
|
|
1070
|
-
pathParams: { participantId: "participantId" },
|
|
1071
|
-
__requestType: null,
|
|
1072
|
-
__originalRequestType: null,
|
|
1073
|
-
__responseType: null,
|
|
1074
|
-
__originalResponseType: null
|
|
1075
|
-
};
|
|
1076
|
-
}
|
|
1077
|
-
function getCompletionStats2() {
|
|
1078
|
-
const payload = { programId: ":programId" };
|
|
1079
|
-
const getRequestOptions = getCompletionStats(payload);
|
|
1080
|
-
const getUrl = (context) => {
|
|
1081
|
-
const { url } = getRequestOptions(context);
|
|
1082
|
-
return url;
|
|
1083
|
-
};
|
|
1084
|
-
return {
|
|
1085
|
-
getUrl,
|
|
1086
|
-
httpMethod: "GET",
|
|
1087
|
-
path: "/v3/stats/completion/{programId}",
|
|
1088
|
-
pathParams: { programId: "programId" },
|
|
1089
|
-
__requestType: null,
|
|
1090
|
-
__originalRequestType: null,
|
|
1091
|
-
__responseType: null,
|
|
1092
|
-
__originalResponseType: null
|
|
1093
|
-
};
|
|
1094
|
-
}
|
|
1095
|
-
function getPremiumStats2() {
|
|
1096
|
-
const payload = {};
|
|
1097
|
-
const getRequestOptions = getPremiumStats(payload);
|
|
1098
|
-
const getUrl = (context) => {
|
|
1099
|
-
const { url } = getRequestOptions(context);
|
|
1100
|
-
return url;
|
|
1101
|
-
};
|
|
1102
|
-
return {
|
|
1103
|
-
getUrl,
|
|
1104
|
-
httpMethod: "GET",
|
|
1105
|
-
path: "/v3/stats/premium",
|
|
1106
|
-
pathParams: {},
|
|
1107
|
-
__requestType: null,
|
|
1108
|
-
__originalRequestType: null,
|
|
1109
|
-
__responseType: null,
|
|
1110
|
-
__originalResponseType: null
|
|
1111
|
-
};
|
|
1112
|
-
}
|
|
1113
|
-
function getParticipant2() {
|
|
1114
|
-
const payload = { participantId: ":participantId" };
|
|
1115
|
-
const getRequestOptions = getParticipant(payload);
|
|
1116
|
-
const getUrl = (context) => {
|
|
1117
|
-
const { url } = getRequestOptions(context);
|
|
1118
|
-
return url;
|
|
1119
|
-
};
|
|
1120
|
-
return {
|
|
1121
|
-
getUrl,
|
|
1122
|
-
httpMethod: "GET",
|
|
1123
|
-
path: "/v3/participants/{participantId}",
|
|
1124
|
-
pathParams: { participantId: "participantId" },
|
|
1125
|
-
__requestType: null,
|
|
1126
|
-
__originalRequestType: null,
|
|
1127
|
-
__responseType: null,
|
|
1128
|
-
__originalResponseType: null
|
|
1129
|
-
};
|
|
1130
|
-
}
|
|
1131
|
-
function queryParticipants2() {
|
|
1132
|
-
const payload = {};
|
|
1133
|
-
const getRequestOptions = queryParticipants(payload);
|
|
1134
|
-
const getUrl = (context) => {
|
|
1135
|
-
const { url } = getRequestOptions(context);
|
|
1136
|
-
return url;
|
|
1137
|
-
};
|
|
1138
|
-
return {
|
|
1139
|
-
getUrl,
|
|
1140
|
-
httpMethod: "POST",
|
|
1141
|
-
path: "/v3/participants/query",
|
|
1142
|
-
pathParams: {},
|
|
1143
|
-
__requestType: null,
|
|
1144
|
-
__originalRequestType: null,
|
|
1145
|
-
__responseType: null,
|
|
1146
|
-
__originalResponseType: null
|
|
1147
|
-
};
|
|
1148
|
-
}
|
|
1149
|
-
function getAccessStatus2() {
|
|
1150
|
-
const payload = {};
|
|
1151
|
-
const getRequestOptions = getAccessStatus(payload);
|
|
1152
|
-
const getUrl = (context) => {
|
|
1153
|
-
const { url } = getRequestOptions(context);
|
|
1154
|
-
return url;
|
|
1155
|
-
};
|
|
1156
|
-
return {
|
|
1157
|
-
getUrl,
|
|
1158
|
-
httpMethod: "GET",
|
|
1159
|
-
path: "/v3/participants/access",
|
|
1160
|
-
pathParams: {},
|
|
1161
|
-
__requestType: null,
|
|
1162
|
-
__originalRequestType: null,
|
|
1163
|
-
__responseType: null,
|
|
1164
|
-
__originalResponseType: null
|
|
1165
|
-
};
|
|
1166
|
-
}
|
|
1167
|
-
function bulkUpdateParticipantTags2() {
|
|
1168
|
-
const payload = {};
|
|
1169
|
-
const getRequestOptions = bulkUpdateParticipantTags(payload);
|
|
1170
|
-
const getUrl = (context) => {
|
|
1171
|
-
const { url } = getRequestOptions(context);
|
|
1172
|
-
return url;
|
|
1173
|
-
};
|
|
1174
|
-
return {
|
|
1175
|
-
getUrl,
|
|
1176
|
-
httpMethod: "POST",
|
|
1177
|
-
path: "/v3/bulk/participants/update-tags",
|
|
1178
|
-
pathParams: {},
|
|
1179
|
-
__requestType: null,
|
|
1180
|
-
__originalRequestType: null,
|
|
1181
|
-
__responseType: null,
|
|
1182
|
-
__originalResponseType: null
|
|
1183
|
-
};
|
|
1184
|
-
}
|
|
1185
|
-
function bulkUpdateParticipantTagsByFilter2() {
|
|
1186
|
-
const payload = {};
|
|
1187
|
-
const getRequestOptions = bulkUpdateParticipantTagsByFilter(
|
|
1188
|
-
payload
|
|
1189
|
-
);
|
|
1190
|
-
const getUrl = (context) => {
|
|
1191
|
-
const { url } = getRequestOptions(context);
|
|
1192
|
-
return url;
|
|
1193
|
-
};
|
|
1194
|
-
return {
|
|
1195
|
-
getUrl,
|
|
1196
|
-
httpMethod: "POST",
|
|
1197
|
-
path: "/v3/bulk/participants/update-tags-by-filter",
|
|
1198
|
-
pathParams: {},
|
|
1199
|
-
__requestType: null,
|
|
1200
|
-
__originalRequestType: null,
|
|
1201
|
-
__responseType: null,
|
|
1202
|
-
__originalResponseType: null
|
|
1203
|
-
};
|
|
1204
|
-
}
|
|
1205
|
-
function searchParticipants2() {
|
|
1206
|
-
const payload = {};
|
|
1207
|
-
const getRequestOptions = searchParticipants(payload);
|
|
1208
|
-
const getUrl = (context) => {
|
|
1209
|
-
const { url } = getRequestOptions(context);
|
|
1210
|
-
return url;
|
|
1211
|
-
};
|
|
1212
|
-
return {
|
|
1213
|
-
getUrl,
|
|
1214
|
-
httpMethod: "POST",
|
|
1215
|
-
path: "/v3/participants/search",
|
|
1216
|
-
pathParams: {},
|
|
1217
|
-
__requestType: null,
|
|
1218
|
-
__originalRequestType: null,
|
|
1219
|
-
__responseType: null,
|
|
1220
|
-
__originalResponseType: null
|
|
1221
|
-
};
|
|
1222
|
-
}
|
|
1223
226
|
function bulkInviteToProgram2() {
|
|
1224
227
|
const payload = {};
|
|
1225
228
|
const getRequestOptions = bulkInviteToProgram(payload);
|
|
@@ -1310,59 +313,15 @@ function bulkApproveAllParticipant2() {
|
|
|
1310
313
|
__originalResponseType: null
|
|
1311
314
|
};
|
|
1312
315
|
}
|
|
1313
|
-
function exportParticipantsStats2() {
|
|
1314
|
-
const payload = { programId: ":programId" };
|
|
1315
|
-
const getRequestOptions = exportParticipantsStats(payload);
|
|
1316
|
-
const getUrl = (context) => {
|
|
1317
|
-
const { url } = getRequestOptions(context);
|
|
1318
|
-
return url;
|
|
1319
|
-
};
|
|
1320
|
-
return {
|
|
1321
|
-
getUrl,
|
|
1322
|
-
httpMethod: "GET",
|
|
1323
|
-
path: "/v3/participants/export/{programId}",
|
|
1324
|
-
pathParams: { programId: "programId" },
|
|
1325
|
-
__requestType: null,
|
|
1326
|
-
__originalRequestType: null,
|
|
1327
|
-
__responseType: null,
|
|
1328
|
-
__originalResponseType: null
|
|
1329
|
-
};
|
|
1330
|
-
}
|
|
1331
316
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1332
317
|
0 && (module.exports = {
|
|
1333
|
-
AggregationTypeOriginal,
|
|
1334
|
-
BenefitTypeOriginal,
|
|
1335
|
-
EventOriginal,
|
|
1336
|
-
IntervalOriginal,
|
|
1337
318
|
JoinPathOriginal,
|
|
1338
|
-
MissingValuesOriginal,
|
|
1339
|
-
ModeOriginal,
|
|
1340
|
-
NestedAggregationTypeOriginal,
|
|
1341
|
-
ScalarTypeOriginal,
|
|
1342
|
-
SortDirectionOriginal,
|
|
1343
|
-
SortOrderOriginal,
|
|
1344
|
-
SortTypeOriginal,
|
|
1345
319
|
StateOriginal,
|
|
1346
|
-
StatusOriginal,
|
|
1347
320
|
WebhookIdentityTypeOriginal,
|
|
1348
|
-
bulkAddAllToProgram,
|
|
1349
321
|
bulkAddToProgram,
|
|
1350
322
|
bulkApproveAllParticipant,
|
|
1351
323
|
bulkApproveParticipant,
|
|
1352
|
-
bulkCreateParticipant,
|
|
1353
324
|
bulkInviteAllToProgram,
|
|
1354
|
-
bulkInviteToProgram
|
|
1355
|
-
bulkUpdateParticipantTags,
|
|
1356
|
-
bulkUpdateParticipantTagsByFilter,
|
|
1357
|
-
createParticipant,
|
|
1358
|
-
deleteParticipant,
|
|
1359
|
-
exportParticipantsStats,
|
|
1360
|
-
getAccessStatus,
|
|
1361
|
-
getCompletionStats,
|
|
1362
|
-
getParticipant,
|
|
1363
|
-
getPremiumStats,
|
|
1364
|
-
issueCertificate,
|
|
1365
|
-
queryParticipants,
|
|
1366
|
-
searchParticipants
|
|
325
|
+
bulkInviteToProgram
|
|
1367
326
|
});
|
|
1368
327
|
//# sourceMappingURL=meta.js.map
|