@wix/auto_sdk_online-programs_participants 1.0.4 → 1.0.5
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 +70 -99
- package/build/cjs/index.js +447 -705
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +291 -916
- package/build/cjs/index.typings.js +358 -514
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +213 -757
- package/build/cjs/meta.js +277 -418
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +70 -99
- package/build/es/index.mjs +440 -682
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +291 -916
- package/build/es/index.typings.mjs +379 -523
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +213 -757
- package/build/es/meta.mjs +261 -390
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +70 -99
- package/build/internal/cjs/index.js +447 -705
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +291 -916
- package/build/internal/cjs/index.typings.js +358 -514
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +213 -757
- package/build/internal/cjs/meta.js +277 -418
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +70 -99
- package/build/internal/es/index.mjs +440 -682
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +291 -916
- package/build/internal/es/index.typings.mjs +379 -523
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +213 -757
- package/build/internal/es/meta.mjs +261 -390
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -22,27 +22,18 @@ var index_typings_exports = {};
|
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
23
|
BenefitType: () => BenefitType,
|
|
24
24
|
Event: () => Event,
|
|
25
|
-
EventType: () => EventType,
|
|
26
|
-
Initiator: () => Initiator,
|
|
27
25
|
JoinPath: () => JoinPath,
|
|
28
|
-
OrderItemCategory: () => OrderItemCategory,
|
|
29
|
-
RefundStatus: () => RefundStatus,
|
|
30
|
-
RemovalReason: () => RemovalReason,
|
|
31
|
-
ScheduledActionType: () => ScheduledActionType,
|
|
32
26
|
SortOrder: () => SortOrder,
|
|
33
27
|
State: () => State,
|
|
34
|
-
Status: () => Status,
|
|
35
|
-
SubdivisionType: () => SubdivisionType,
|
|
36
|
-
TransactionStatus: () => TransactionStatus,
|
|
37
|
-
VatType: () => VatType,
|
|
38
28
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
39
|
-
applyCoupon: () => applyCoupon2,
|
|
40
29
|
bulkAddAllToProgram: () => bulkAddAllToProgram2,
|
|
41
30
|
bulkAddToProgram: () => bulkAddToProgram2,
|
|
42
31
|
bulkApproveAllParticipant: () => bulkApproveAllParticipant2,
|
|
43
32
|
bulkApproveParticipant: () => bulkApproveParticipant2,
|
|
33
|
+
bulkCreateParticipant: () => bulkCreateParticipant2,
|
|
44
34
|
bulkInviteAllToProgram: () => bulkInviteAllToProgram2,
|
|
45
35
|
bulkInviteToProgram: () => bulkInviteToProgram2,
|
|
36
|
+
createParticipant: () => createParticipant2,
|
|
46
37
|
deleteParticipant: () => deleteParticipant2,
|
|
47
38
|
exportParticipantsStats: () => exportParticipantsStats2,
|
|
48
39
|
getAccessStatus: () => getAccessStatus2,
|
|
@@ -50,10 +41,7 @@ __export(index_typings_exports, {
|
|
|
50
41
|
getParticipant: () => getParticipant2,
|
|
51
42
|
getPremiumStats: () => getPremiumStats2,
|
|
52
43
|
issueCertificate: () => issueCertificate2,
|
|
53
|
-
|
|
54
|
-
leaveProgram: () => leaveProgram2,
|
|
55
|
-
queryParticipants: () => queryParticipants2,
|
|
56
|
-
revertCoupon: () => revertCoupon2
|
|
44
|
+
queryParticipants: () => queryParticipants2
|
|
57
45
|
});
|
|
58
46
|
module.exports = __toCommonJS(index_typings_exports);
|
|
59
47
|
|
|
@@ -65,7 +53,9 @@ var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-
|
|
|
65
53
|
// src/online-programs-v3-participant-participants.http.ts
|
|
66
54
|
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
67
55
|
var import_float = require("@wix/sdk-runtime/transformations/float");
|
|
56
|
+
var import_float2 = require("@wix/sdk-runtime/transformations/float");
|
|
68
57
|
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
58
|
+
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
69
59
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
70
60
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
71
61
|
function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
|
|
@@ -264,88 +254,124 @@ function resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl(opts) {
|
|
|
264
254
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
265
255
|
}
|
|
266
256
|
var PACKAGE_NAME = "@wix/auto_sdk_online-programs_participants";
|
|
267
|
-
function
|
|
268
|
-
function
|
|
257
|
+
function createParticipant(payload) {
|
|
258
|
+
function __createParticipant({ host }) {
|
|
259
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
260
|
+
{
|
|
261
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
262
|
+
paths: [
|
|
263
|
+
{ path: "participant.createdDate" },
|
|
264
|
+
{ path: "participant.updatedDate" },
|
|
265
|
+
{ path: "participant.lastActivityDate" },
|
|
266
|
+
{ path: "participant.certificate.issuedDate" },
|
|
267
|
+
{ path: "participant.joinedInfo.joinedAt" }
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
272
|
+
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
273
|
+
}
|
|
274
|
+
]);
|
|
269
275
|
const metadata = {
|
|
270
276
|
entityFqdn: "wix.online_programs.v3.participant",
|
|
271
277
|
method: "POST",
|
|
272
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.
|
|
278
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.CreateParticipant",
|
|
273
279
|
packageName: PACKAGE_NAME,
|
|
274
280
|
migrationOptions: {
|
|
275
281
|
optInTransformResponse: true
|
|
276
282
|
},
|
|
277
283
|
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
278
|
-
protoPath: "/v3/participants
|
|
279
|
-
data:
|
|
284
|
+
protoPath: "/v3/participants",
|
|
285
|
+
data: serializedData,
|
|
280
286
|
host
|
|
281
287
|
}),
|
|
282
|
-
data:
|
|
288
|
+
data: serializedData,
|
|
283
289
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
284
290
|
{
|
|
285
|
-
transformFn:
|
|
291
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
286
292
|
paths: [
|
|
287
293
|
{ path: "participant.createdDate" },
|
|
288
294
|
{ path: "participant.updatedDate" },
|
|
289
|
-
{ path: "participant.
|
|
295
|
+
{ path: "participant.lastActivityDate" },
|
|
296
|
+
{ path: "participant.certificate.issuedDate" },
|
|
297
|
+
{ path: "participant.joinedInfo.joinedAt" }
|
|
290
298
|
]
|
|
291
299
|
},
|
|
292
300
|
{
|
|
293
|
-
transformFn:
|
|
301
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
294
302
|
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
295
303
|
}
|
|
296
304
|
])
|
|
297
305
|
};
|
|
298
306
|
return metadata;
|
|
299
307
|
}
|
|
300
|
-
return
|
|
308
|
+
return __createParticipant;
|
|
301
309
|
}
|
|
302
|
-
function
|
|
303
|
-
function
|
|
310
|
+
function bulkCreateParticipant(payload) {
|
|
311
|
+
function __bulkCreateParticipant({ host }) {
|
|
312
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
313
|
+
{
|
|
314
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
315
|
+
paths: [
|
|
316
|
+
{ path: "participants.createdDate" },
|
|
317
|
+
{ path: "participants.updatedDate" },
|
|
318
|
+
{ path: "participants.lastActivityDate" },
|
|
319
|
+
{ path: "participants.certificate.issuedDate" },
|
|
320
|
+
{ path: "participants.joinedInfo.joinedAt" }
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
325
|
+
paths: [{ path: "participants.progress.completionPercentage" }]
|
|
326
|
+
}
|
|
327
|
+
]);
|
|
304
328
|
const metadata = {
|
|
305
329
|
entityFqdn: "wix.online_programs.v3.participant",
|
|
306
|
-
method: "
|
|
307
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.
|
|
330
|
+
method: "POST",
|
|
331
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkCreateParticipant",
|
|
308
332
|
packageName: PACKAGE_NAME,
|
|
309
333
|
migrationOptions: {
|
|
310
334
|
optInTransformResponse: true
|
|
311
335
|
},
|
|
312
336
|
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
313
|
-
protoPath: "/v3/participants/
|
|
314
|
-
data:
|
|
337
|
+
protoPath: "/v3/bulk/participants/create",
|
|
338
|
+
data: serializedData,
|
|
315
339
|
host
|
|
316
340
|
}),
|
|
317
|
-
|
|
341
|
+
data: serializedData,
|
|
318
342
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
319
343
|
{
|
|
320
|
-
transformFn:
|
|
344
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
321
345
|
paths: [
|
|
322
|
-
{ path: "
|
|
323
|
-
{ path: "
|
|
324
|
-
{ path: "
|
|
346
|
+
{ path: "results.item.createdDate" },
|
|
347
|
+
{ path: "results.item.updatedDate" },
|
|
348
|
+
{ path: "results.item.lastActivityDate" },
|
|
349
|
+
{ path: "results.item.certificate.issuedDate" },
|
|
350
|
+
{ path: "results.item.joinedInfo.joinedAt" }
|
|
325
351
|
]
|
|
326
352
|
},
|
|
327
353
|
{
|
|
328
|
-
transformFn:
|
|
329
|
-
paths: [{ path: "
|
|
354
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
355
|
+
paths: [{ path: "results.item.progress.completionPercentage" }]
|
|
330
356
|
}
|
|
331
357
|
])
|
|
332
358
|
};
|
|
333
359
|
return metadata;
|
|
334
360
|
}
|
|
335
|
-
return
|
|
361
|
+
return __bulkCreateParticipant;
|
|
336
362
|
}
|
|
337
|
-
function
|
|
338
|
-
function
|
|
363
|
+
function bulkAddAllToProgram(payload) {
|
|
364
|
+
function __bulkAddAllToProgram({ host }) {
|
|
339
365
|
const metadata = {
|
|
340
366
|
entityFqdn: "wix.online_programs.v3.participant",
|
|
341
367
|
method: "POST",
|
|
342
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.
|
|
368
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkAddAllToProgram",
|
|
343
369
|
packageName: PACKAGE_NAME,
|
|
344
370
|
migrationOptions: {
|
|
345
371
|
optInTransformResponse: true
|
|
346
372
|
},
|
|
347
373
|
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
348
|
-
protoPath: "/v3/participants/
|
|
374
|
+
protoPath: "/v3/bulk/participants/add-all",
|
|
349
375
|
data: payload,
|
|
350
376
|
host
|
|
351
377
|
}),
|
|
@@ -353,55 +379,105 @@ function leaveProgram(payload) {
|
|
|
353
379
|
};
|
|
354
380
|
return metadata;
|
|
355
381
|
}
|
|
356
|
-
return
|
|
382
|
+
return __bulkAddAllToProgram;
|
|
357
383
|
}
|
|
358
|
-
function
|
|
359
|
-
function
|
|
384
|
+
function deleteParticipant(payload) {
|
|
385
|
+
function __deleteParticipant({ host }) {
|
|
386
|
+
const metadata = {
|
|
387
|
+
entityFqdn: "wix.online_programs.v3.participant",
|
|
388
|
+
method: "DELETE",
|
|
389
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.DeleteParticipant",
|
|
390
|
+
packageName: PACKAGE_NAME,
|
|
391
|
+
migrationOptions: {
|
|
392
|
+
optInTransformResponse: true
|
|
393
|
+
},
|
|
394
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
395
|
+
protoPath: "/v3/participants/{participantId}",
|
|
396
|
+
data: payload,
|
|
397
|
+
host
|
|
398
|
+
}),
|
|
399
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
400
|
+
};
|
|
401
|
+
return metadata;
|
|
402
|
+
}
|
|
403
|
+
return __deleteParticipant;
|
|
404
|
+
}
|
|
405
|
+
function issueCertificate(payload) {
|
|
406
|
+
function __issueCertificate({ host }) {
|
|
360
407
|
const metadata = {
|
|
361
408
|
entityFqdn: "wix.online_programs.v3.participant",
|
|
362
409
|
method: "POST",
|
|
363
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.
|
|
410
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.IssueCertificate",
|
|
364
411
|
packageName: PACKAGE_NAME,
|
|
365
412
|
migrationOptions: {
|
|
366
413
|
optInTransformResponse: true
|
|
367
414
|
},
|
|
368
415
|
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
369
|
-
protoPath: "/v3/participants/
|
|
416
|
+
protoPath: "/v3/participants/{participantId}/issue-certificate",
|
|
370
417
|
data: payload,
|
|
371
418
|
host
|
|
372
419
|
}),
|
|
373
420
|
data: payload,
|
|
374
421
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
375
422
|
{
|
|
376
|
-
transformFn:
|
|
423
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
377
424
|
paths: [
|
|
378
|
-
{ path: "
|
|
379
|
-
{ path: "
|
|
380
|
-
{ path: "
|
|
425
|
+
{ path: "participant.createdDate" },
|
|
426
|
+
{ path: "participant.updatedDate" },
|
|
427
|
+
{ path: "participant.lastActivityDate" },
|
|
428
|
+
{ path: "participant.certificate.issuedDate" },
|
|
429
|
+
{ path: "participant.joinedInfo.joinedAt" }
|
|
381
430
|
]
|
|
382
431
|
},
|
|
383
432
|
{
|
|
384
|
-
transformFn:
|
|
385
|
-
paths: [{ path: "
|
|
433
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
434
|
+
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
386
435
|
}
|
|
387
436
|
])
|
|
388
437
|
};
|
|
389
438
|
return metadata;
|
|
390
439
|
}
|
|
391
|
-
return
|
|
440
|
+
return __issueCertificate;
|
|
392
441
|
}
|
|
393
|
-
function
|
|
394
|
-
function
|
|
442
|
+
function getCompletionStats(payload) {
|
|
443
|
+
function __getCompletionStats({ host }) {
|
|
395
444
|
const metadata = {
|
|
396
445
|
entityFqdn: "wix.online_programs.v3.participant",
|
|
397
446
|
method: "GET",
|
|
398
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.
|
|
447
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetCompletionStats",
|
|
399
448
|
packageName: PACKAGE_NAME,
|
|
400
449
|
migrationOptions: {
|
|
401
450
|
optInTransformResponse: true
|
|
402
451
|
},
|
|
403
452
|
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
404
|
-
protoPath: "/v3/
|
|
453
|
+
protoPath: "/v3/stats/completion/{programId}",
|
|
454
|
+
data: payload,
|
|
455
|
+
host
|
|
456
|
+
}),
|
|
457
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
458
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
459
|
+
{
|
|
460
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
461
|
+
paths: [{ path: "completionRate" }]
|
|
462
|
+
}
|
|
463
|
+
])
|
|
464
|
+
};
|
|
465
|
+
return metadata;
|
|
466
|
+
}
|
|
467
|
+
return __getCompletionStats;
|
|
468
|
+
}
|
|
469
|
+
function getPremiumStats(payload) {
|
|
470
|
+
function __getPremiumStats({ host }) {
|
|
471
|
+
const metadata = {
|
|
472
|
+
entityFqdn: "wix.online_programs.v3.participant",
|
|
473
|
+
method: "GET",
|
|
474
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetPremiumStats",
|
|
475
|
+
packageName: PACKAGE_NAME,
|
|
476
|
+
migrationOptions: {
|
|
477
|
+
optInTransformResponse: true
|
|
478
|
+
},
|
|
479
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
480
|
+
protoPath: "/v3/stats/premium",
|
|
405
481
|
data: payload,
|
|
406
482
|
host
|
|
407
483
|
}),
|
|
@@ -409,65 +485,102 @@ function getAccessStatus(payload) {
|
|
|
409
485
|
};
|
|
410
486
|
return metadata;
|
|
411
487
|
}
|
|
412
|
-
return
|
|
488
|
+
return __getPremiumStats;
|
|
413
489
|
}
|
|
414
|
-
function
|
|
415
|
-
function
|
|
490
|
+
function getParticipant(payload) {
|
|
491
|
+
function __getParticipant({ host }) {
|
|
416
492
|
const metadata = {
|
|
417
493
|
entityFqdn: "wix.online_programs.v3.participant",
|
|
418
|
-
method: "
|
|
419
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.
|
|
494
|
+
method: "GET",
|
|
495
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant",
|
|
420
496
|
packageName: PACKAGE_NAME,
|
|
421
497
|
migrationOptions: {
|
|
422
498
|
optInTransformResponse: true
|
|
423
499
|
},
|
|
424
500
|
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
425
|
-
protoPath: "/v3/participants/{participantId}
|
|
501
|
+
protoPath: "/v3/participants/{participantId}",
|
|
426
502
|
data: payload,
|
|
427
503
|
host
|
|
428
504
|
}),
|
|
429
|
-
|
|
505
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
430
506
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
431
507
|
{
|
|
432
|
-
transformFn:
|
|
508
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
433
509
|
paths: [
|
|
434
|
-
{ path: "
|
|
435
|
-
{ path: "
|
|
436
|
-
{ path: "
|
|
510
|
+
{ path: "participant.createdDate" },
|
|
511
|
+
{ path: "participant.updatedDate" },
|
|
512
|
+
{ path: "participant.lastActivityDate" },
|
|
513
|
+
{ path: "participant.certificate.issuedDate" },
|
|
514
|
+
{ path: "participant.joinedInfo.joinedAt" }
|
|
437
515
|
]
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
519
|
+
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
438
520
|
}
|
|
439
521
|
])
|
|
440
522
|
};
|
|
441
523
|
return metadata;
|
|
442
524
|
}
|
|
443
|
-
return
|
|
525
|
+
return __getParticipant;
|
|
444
526
|
}
|
|
445
|
-
function
|
|
446
|
-
function
|
|
527
|
+
function queryParticipants(payload) {
|
|
528
|
+
function __queryParticipants({ host }) {
|
|
447
529
|
const metadata = {
|
|
448
530
|
entityFqdn: "wix.online_programs.v3.participant",
|
|
449
531
|
method: "POST",
|
|
450
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.
|
|
532
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants",
|
|
451
533
|
packageName: PACKAGE_NAME,
|
|
452
534
|
migrationOptions: {
|
|
453
535
|
optInTransformResponse: true
|
|
454
536
|
},
|
|
455
537
|
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
456
|
-
protoPath: "/v3/participants/
|
|
538
|
+
protoPath: "/v3/participants/query",
|
|
457
539
|
data: payload,
|
|
458
540
|
host
|
|
459
541
|
}),
|
|
460
542
|
data: payload,
|
|
461
543
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
462
544
|
{
|
|
463
|
-
transformFn:
|
|
464
|
-
paths: [
|
|
545
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
546
|
+
paths: [
|
|
547
|
+
{ path: "participants.createdDate" },
|
|
548
|
+
{ path: "participants.updatedDate" },
|
|
549
|
+
{ path: "participants.lastActivityDate" },
|
|
550
|
+
{ path: "participants.certificate.issuedDate" },
|
|
551
|
+
{ path: "participants.joinedInfo.joinedAt" }
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
556
|
+
paths: [{ path: "participants.progress.completionPercentage" }]
|
|
465
557
|
}
|
|
466
558
|
])
|
|
467
559
|
};
|
|
468
560
|
return metadata;
|
|
469
561
|
}
|
|
470
|
-
return
|
|
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;
|
|
471
584
|
}
|
|
472
585
|
function bulkInviteToProgram(payload) {
|
|
473
586
|
function __bulkInviteToProgram({ host }) {
|
|
@@ -487,15 +600,17 @@ function bulkInviteToProgram(payload) {
|
|
|
487
600
|
data: payload,
|
|
488
601
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
489
602
|
{
|
|
490
|
-
transformFn:
|
|
603
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
491
604
|
paths: [
|
|
492
605
|
{ path: "results.item.createdDate" },
|
|
493
606
|
{ path: "results.item.updatedDate" },
|
|
494
|
-
{ path: "results.item.
|
|
607
|
+
{ path: "results.item.lastActivityDate" },
|
|
608
|
+
{ path: "results.item.certificate.issuedDate" },
|
|
609
|
+
{ path: "results.item.joinedInfo.joinedAt" }
|
|
495
610
|
]
|
|
496
611
|
},
|
|
497
612
|
{
|
|
498
|
-
transformFn:
|
|
613
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
499
614
|
paths: [{ path: "results.item.progress.completionPercentage" }]
|
|
500
615
|
}
|
|
501
616
|
])
|
|
@@ -543,15 +658,17 @@ function bulkAddToProgram(payload) {
|
|
|
543
658
|
data: payload,
|
|
544
659
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
545
660
|
{
|
|
546
|
-
transformFn:
|
|
661
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
547
662
|
paths: [
|
|
548
663
|
{ path: "results.item.createdDate" },
|
|
549
664
|
{ path: "results.item.updatedDate" },
|
|
550
|
-
{ path: "results.item.
|
|
665
|
+
{ path: "results.item.lastActivityDate" },
|
|
666
|
+
{ path: "results.item.certificate.issuedDate" },
|
|
667
|
+
{ path: "results.item.joinedInfo.joinedAt" }
|
|
551
668
|
]
|
|
552
669
|
},
|
|
553
670
|
{
|
|
554
|
-
transformFn:
|
|
671
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
555
672
|
paths: [{ path: "results.item.progress.completionPercentage" }]
|
|
556
673
|
}
|
|
557
674
|
])
|
|
@@ -560,27 +677,6 @@ function bulkAddToProgram(payload) {
|
|
|
560
677
|
}
|
|
561
678
|
return __bulkAddToProgram;
|
|
562
679
|
}
|
|
563
|
-
function bulkAddAllToProgram(payload) {
|
|
564
|
-
function __bulkAddAllToProgram({ host }) {
|
|
565
|
-
const metadata = {
|
|
566
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
567
|
-
method: "POST",
|
|
568
|
-
methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddAllToProgram",
|
|
569
|
-
packageName: PACKAGE_NAME,
|
|
570
|
-
migrationOptions: {
|
|
571
|
-
optInTransformResponse: true
|
|
572
|
-
},
|
|
573
|
-
url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
|
|
574
|
-
protoPath: "/v3/bulk/participants/add-all",
|
|
575
|
-
data: payload,
|
|
576
|
-
host
|
|
577
|
-
}),
|
|
578
|
-
data: payload
|
|
579
|
-
};
|
|
580
|
-
return metadata;
|
|
581
|
-
}
|
|
582
|
-
return __bulkAddAllToProgram;
|
|
583
|
-
}
|
|
584
680
|
function bulkApproveParticipant(payload) {
|
|
585
681
|
function __bulkApproveParticipant({ host }) {
|
|
586
682
|
const metadata = {
|
|
@@ -599,15 +695,17 @@ function bulkApproveParticipant(payload) {
|
|
|
599
695
|
data: payload,
|
|
600
696
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
601
697
|
{
|
|
602
|
-
transformFn:
|
|
698
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
603
699
|
paths: [
|
|
604
700
|
{ path: "results.item.createdDate" },
|
|
605
701
|
{ path: "results.item.updatedDate" },
|
|
606
|
-
{ path: "results.item.
|
|
702
|
+
{ path: "results.item.lastActivityDate" },
|
|
703
|
+
{ path: "results.item.certificate.issuedDate" },
|
|
704
|
+
{ path: "results.item.joinedInfo.joinedAt" }
|
|
607
705
|
]
|
|
608
706
|
},
|
|
609
707
|
{
|
|
610
|
-
transformFn:
|
|
708
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
611
709
|
paths: [{ path: "results.item.progress.completionPercentage" }]
|
|
612
710
|
}
|
|
613
711
|
])
|
|
@@ -637,101 +735,18 @@ function bulkApproveAllParticipant(payload) {
|
|
|
637
735
|
}
|
|
638
736
|
return __bulkApproveAllParticipant;
|
|
639
737
|
}
|
|
640
|
-
function
|
|
641
|
-
function
|
|
642
|
-
const metadata = {
|
|
643
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
644
|
-
method: "DELETE",
|
|
645
|
-
methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.DeleteParticipant",
|
|
646
|
-
packageName: PACKAGE_NAME,
|
|
647
|
-
migrationOptions: {
|
|
648
|
-
optInTransformResponse: true
|
|
649
|
-
},
|
|
650
|
-
url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
|
|
651
|
-
protoPath: "/v3/participants/{participantId}",
|
|
652
|
-
data: payload,
|
|
653
|
-
host
|
|
654
|
-
}),
|
|
655
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
656
|
-
};
|
|
657
|
-
return metadata;
|
|
658
|
-
}
|
|
659
|
-
return __deleteParticipant;
|
|
660
|
-
}
|
|
661
|
-
function issueCertificate(payload) {
|
|
662
|
-
function __issueCertificate({ host }) {
|
|
663
|
-
const metadata = {
|
|
664
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
665
|
-
method: "POST",
|
|
666
|
-
methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.IssueCertificate",
|
|
667
|
-
packageName: PACKAGE_NAME,
|
|
668
|
-
migrationOptions: {
|
|
669
|
-
optInTransformResponse: true
|
|
670
|
-
},
|
|
671
|
-
url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
|
|
672
|
-
protoPath: "/v3/participants/{participantId}/issue-certificate",
|
|
673
|
-
data: payload,
|
|
674
|
-
host
|
|
675
|
-
}),
|
|
676
|
-
data: payload,
|
|
677
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
678
|
-
{
|
|
679
|
-
transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
|
|
680
|
-
paths: [
|
|
681
|
-
{ path: "participant.createdDate" },
|
|
682
|
-
{ path: "participant.updatedDate" },
|
|
683
|
-
{ path: "participant.certificate.issuedDate" }
|
|
684
|
-
]
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
transformFn: import_float.transformRESTFloatToSDKFloat,
|
|
688
|
-
paths: [{ path: "participant.progress.completionPercentage" }]
|
|
689
|
-
}
|
|
690
|
-
])
|
|
691
|
-
};
|
|
692
|
-
return metadata;
|
|
693
|
-
}
|
|
694
|
-
return __issueCertificate;
|
|
695
|
-
}
|
|
696
|
-
function getCompletionStats(payload) {
|
|
697
|
-
function __getCompletionStats({ host }) {
|
|
698
|
-
const metadata = {
|
|
699
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
700
|
-
method: "GET",
|
|
701
|
-
methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.GetCompletionStats",
|
|
702
|
-
packageName: PACKAGE_NAME,
|
|
703
|
-
migrationOptions: {
|
|
704
|
-
optInTransformResponse: true
|
|
705
|
-
},
|
|
706
|
-
url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
|
|
707
|
-
protoPath: "/v3/stats/completion/{programId}",
|
|
708
|
-
data: payload,
|
|
709
|
-
host
|
|
710
|
-
}),
|
|
711
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
712
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
713
|
-
{
|
|
714
|
-
transformFn: import_float.transformRESTFloatToSDKFloat,
|
|
715
|
-
paths: [{ path: "completionRate" }]
|
|
716
|
-
}
|
|
717
|
-
])
|
|
718
|
-
};
|
|
719
|
-
return metadata;
|
|
720
|
-
}
|
|
721
|
-
return __getCompletionStats;
|
|
722
|
-
}
|
|
723
|
-
function getPremiumStats(payload) {
|
|
724
|
-
function __getPremiumStats({ host }) {
|
|
738
|
+
function exportParticipantsStats(payload) {
|
|
739
|
+
function __exportParticipantsStats({ host }) {
|
|
725
740
|
const metadata = {
|
|
726
741
|
entityFqdn: "wix.online_programs.v3.participant",
|
|
727
742
|
method: "GET",
|
|
728
|
-
methodFqn: "wix.onlineprograms.participants.v3.
|
|
743
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantExportsService.ExportParticipantsStats",
|
|
729
744
|
packageName: PACKAGE_NAME,
|
|
730
745
|
migrationOptions: {
|
|
731
746
|
optInTransformResponse: true
|
|
732
747
|
},
|
|
733
|
-
url:
|
|
734
|
-
protoPath: "/v3/
|
|
748
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl({
|
|
749
|
+
protoPath: "/v3/participants/export/{programId}",
|
|
735
750
|
data: payload,
|
|
736
751
|
host
|
|
737
752
|
}),
|
|
@@ -739,28 +754,7 @@ function getPremiumStats(payload) {
|
|
|
739
754
|
};
|
|
740
755
|
return metadata;
|
|
741
756
|
}
|
|
742
|
-
return
|
|
743
|
-
}
|
|
744
|
-
function exportParticipantsStats(payload) {
|
|
745
|
-
function __exportParticipantsStats({ host }) {
|
|
746
|
-
const metadata = {
|
|
747
|
-
entityFqdn: "wix.online_programs.v3.participant",
|
|
748
|
-
method: "GET",
|
|
749
|
-
methodFqn: "wix.onlineprograms.participants.v3.ParticipantExportsService.ExportParticipantsStats",
|
|
750
|
-
packageName: PACKAGE_NAME,
|
|
751
|
-
migrationOptions: {
|
|
752
|
-
optInTransformResponse: true
|
|
753
|
-
},
|
|
754
|
-
url: resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl({
|
|
755
|
-
protoPath: "/v3/participants/export/{programId}",
|
|
756
|
-
data: payload,
|
|
757
|
-
host
|
|
758
|
-
}),
|
|
759
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
760
|
-
};
|
|
761
|
-
return metadata;
|
|
762
|
-
}
|
|
763
|
-
return __exportParticipantsStats;
|
|
757
|
+
return __exportParticipantsStats;
|
|
764
758
|
}
|
|
765
759
|
|
|
766
760
|
// src/online-programs-v3-participant-participants.universal.ts
|
|
@@ -776,101 +770,20 @@ var JoinPath = /* @__PURE__ */ ((JoinPath2) => {
|
|
|
776
770
|
})(JoinPath || {});
|
|
777
771
|
var State = /* @__PURE__ */ ((State2) => {
|
|
778
772
|
State2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
779
|
-
State2["INVITED"] = "INVITED";
|
|
780
|
-
State2["APPROVAL_PENDING"] = "APPROVAL_PENDING";
|
|
781
|
-
State2["PAYMENT_PENDING"] = "PAYMENT_PENDING";
|
|
782
773
|
State2["JOINED"] = "JOINED";
|
|
783
774
|
State2["COMPLETED"] = "COMPLETED";
|
|
784
775
|
State2["FAILED"] = "FAILED";
|
|
785
776
|
State2["SUSPENDED"] = "SUSPENDED";
|
|
786
777
|
State2["AUTO_REMOVED"] = "AUTO_REMOVED";
|
|
778
|
+
State2["REMOVED"] = "REMOVED";
|
|
779
|
+
State2["LEFT"] = "LEFT";
|
|
787
780
|
return State2;
|
|
788
781
|
})(State || {});
|
|
789
|
-
var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
|
|
790
|
-
RemovalReason2["UNKNOWN_REMOVAL_REASON"] = "UNKNOWN_REMOVAL_REASON";
|
|
791
|
-
RemovalReason2["LEGITIMATE_LEAVE"] = "LEGITIMATE_LEAVE";
|
|
792
|
-
RemovalReason2["CLEANUP_FOR_REJOIN"] = "CLEANUP_FOR_REJOIN";
|
|
793
|
-
RemovalReason2["CLEANUP_FOR_MANUAL_ADD"] = "CLEANUP_FOR_MANUAL_ADD";
|
|
794
|
-
return RemovalReason2;
|
|
795
|
-
})(RemovalReason || {});
|
|
796
782
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
797
783
|
SortOrder2["ASC"] = "ASC";
|
|
798
784
|
SortOrder2["DESC"] = "DESC";
|
|
799
785
|
return SortOrder2;
|
|
800
786
|
})(SortOrder || {});
|
|
801
|
-
var EventType = /* @__PURE__ */ ((EventType2) => {
|
|
802
|
-
EventType2["UNDEFINED"] = "UNDEFINED";
|
|
803
|
-
EventType2["TRANSACTION_STATUS_CHANGED"] = "TRANSACTION_STATUS_CHANGED";
|
|
804
|
-
EventType2["REFUND_STATUS_CHANGED"] = "REFUND_STATUS_CHANGED";
|
|
805
|
-
EventType2["RECURRING_PAYMENT_STATUS_CHANGED"] = "RECURRING_PAYMENT_STATUS_CHANGED";
|
|
806
|
-
EventType2["TRANSACTION_UPDATED"] = "TRANSACTION_UPDATED";
|
|
807
|
-
EventType2["TRANSACTION_CREATED"] = "TRANSACTION_CREATED";
|
|
808
|
-
return EventType2;
|
|
809
|
-
})(EventType || {});
|
|
810
|
-
var OrderItemCategory = /* @__PURE__ */ ((OrderItemCategory2) => {
|
|
811
|
-
OrderItemCategory2["UNDEFINED"] = "UNDEFINED";
|
|
812
|
-
OrderItemCategory2["PHYSICAL"] = "PHYSICAL";
|
|
813
|
-
OrderItemCategory2["DIGITAL"] = "DIGITAL";
|
|
814
|
-
return OrderItemCategory2;
|
|
815
|
-
})(OrderItemCategory || {});
|
|
816
|
-
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
817
|
-
SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
818
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
|
|
819
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
|
|
820
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
|
|
821
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
|
|
822
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
|
|
823
|
-
SubdivisionType2["COUNTRY"] = "COUNTRY";
|
|
824
|
-
return SubdivisionType2;
|
|
825
|
-
})(SubdivisionType || {});
|
|
826
|
-
var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
827
|
-
VatType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
828
|
-
VatType2["CPF"] = "CPF";
|
|
829
|
-
VatType2["CNPJ"] = "CNPJ";
|
|
830
|
-
return VatType2;
|
|
831
|
-
})(VatType || {});
|
|
832
|
-
var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
|
|
833
|
-
TransactionStatus2["UNDEFINED"] = "UNDEFINED";
|
|
834
|
-
TransactionStatus2["APPROVED"] = "APPROVED";
|
|
835
|
-
TransactionStatus2["PENDING"] = "PENDING";
|
|
836
|
-
TransactionStatus2["PENDING_MERCHANT"] = "PENDING_MERCHANT";
|
|
837
|
-
TransactionStatus2["CANCELED"] = "CANCELED";
|
|
838
|
-
TransactionStatus2["DECLINED"] = "DECLINED";
|
|
839
|
-
TransactionStatus2["REFUNDED"] = "REFUNDED";
|
|
840
|
-
TransactionStatus2["PARTIALLY_REFUNDED"] = "PARTIALLY_REFUNDED";
|
|
841
|
-
TransactionStatus2["AUTHORIZED"] = "AUTHORIZED";
|
|
842
|
-
TransactionStatus2["VOIDED"] = "VOIDED";
|
|
843
|
-
return TransactionStatus2;
|
|
844
|
-
})(TransactionStatus || {});
|
|
845
|
-
var ScheduledActionType = /* @__PURE__ */ ((ScheduledActionType2) => {
|
|
846
|
-
ScheduledActionType2["VOID"] = "VOID";
|
|
847
|
-
ScheduledActionType2["CAPTURE"] = "CAPTURE";
|
|
848
|
-
return ScheduledActionType2;
|
|
849
|
-
})(ScheduledActionType || {});
|
|
850
|
-
var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
|
|
851
|
-
RefundStatus2["UNDEFINED"] = "UNDEFINED";
|
|
852
|
-
RefundStatus2["APPROVED"] = "APPROVED";
|
|
853
|
-
RefundStatus2["PENDING"] = "PENDING";
|
|
854
|
-
RefundStatus2["DECLINED"] = "DECLINED";
|
|
855
|
-
return RefundStatus2;
|
|
856
|
-
})(RefundStatus || {});
|
|
857
|
-
var Status = /* @__PURE__ */ ((Status2) => {
|
|
858
|
-
Status2["UNDEFINED"] = "UNDEFINED";
|
|
859
|
-
Status2["PENDING"] = "PENDING";
|
|
860
|
-
Status2["ACTIVE"] = "ACTIVE";
|
|
861
|
-
Status2["CANCELLED"] = "CANCELLED";
|
|
862
|
-
Status2["FINISHED"] = "FINISHED";
|
|
863
|
-
Status2["SUSPENDED"] = "SUSPENDED";
|
|
864
|
-
return Status2;
|
|
865
|
-
})(Status || {});
|
|
866
|
-
var Initiator = /* @__PURE__ */ ((Initiator2) => {
|
|
867
|
-
Initiator2["UNDEFINED"] = "UNDEFINED";
|
|
868
|
-
Initiator2["BUYER"] = "BUYER";
|
|
869
|
-
Initiator2["MERCHANT"] = "MERCHANT";
|
|
870
|
-
Initiator2["PAYMENT"] = "PAYMENT";
|
|
871
|
-
Initiator2["SETUP"] = "SETUP";
|
|
872
|
-
return Initiator2;
|
|
873
|
-
})(Initiator || {});
|
|
874
787
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
875
788
|
BenefitType2["UNDEFINED"] = "UNDEFINED";
|
|
876
789
|
BenefitType2["LIMITED"] = "LIMITED";
|
|
@@ -891,12 +804,38 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
891
804
|
WebhookIdentityType2["APP"] = "APP";
|
|
892
805
|
return WebhookIdentityType2;
|
|
893
806
|
})(WebhookIdentityType || {});
|
|
894
|
-
async function
|
|
807
|
+
async function createParticipant2(participant) {
|
|
895
808
|
const { httpClient, sideEffects } = arguments[1];
|
|
896
809
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
897
|
-
|
|
810
|
+
participant
|
|
898
811
|
});
|
|
899
|
-
const reqOpts =
|
|
812
|
+
const reqOpts = createParticipant(payload);
|
|
813
|
+
sideEffects?.onSiteCall?.();
|
|
814
|
+
try {
|
|
815
|
+
const result = await httpClient.request(reqOpts);
|
|
816
|
+
sideEffects?.onSuccess?.(result);
|
|
817
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.participant;
|
|
818
|
+
} catch (err) {
|
|
819
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
820
|
+
err,
|
|
821
|
+
{
|
|
822
|
+
spreadPathsToArguments: {},
|
|
823
|
+
explicitPathsToArguments: { participant: "$[0]" },
|
|
824
|
+
singleArgumentUnchanged: false
|
|
825
|
+
},
|
|
826
|
+
["participant"]
|
|
827
|
+
);
|
|
828
|
+
sideEffects?.onError?.(err);
|
|
829
|
+
throw transformedError;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
async function bulkCreateParticipant2(participants, options) {
|
|
833
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
834
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
835
|
+
participants,
|
|
836
|
+
returnEntity: options?.returnEntity
|
|
837
|
+
});
|
|
838
|
+
const reqOpts = bulkCreateParticipant(payload);
|
|
900
839
|
sideEffects?.onSiteCall?.();
|
|
901
840
|
try {
|
|
902
841
|
const result = await httpClient.request(reqOpts);
|
|
@@ -907,26 +846,57 @@ async function joinProgram2(programId) {
|
|
|
907
846
|
err,
|
|
908
847
|
{
|
|
909
848
|
spreadPathsToArguments: {},
|
|
910
|
-
explicitPathsToArguments: {
|
|
849
|
+
explicitPathsToArguments: {
|
|
850
|
+
participants: "$[0]",
|
|
851
|
+
returnEntity: "$[1].returnEntity"
|
|
852
|
+
},
|
|
911
853
|
singleArgumentUnchanged: false
|
|
912
854
|
},
|
|
913
|
-
["
|
|
855
|
+
["participants", "options"]
|
|
914
856
|
);
|
|
915
857
|
sideEffects?.onError?.(err);
|
|
916
858
|
throw transformedError;
|
|
917
859
|
}
|
|
918
860
|
}
|
|
919
|
-
async function
|
|
861
|
+
async function bulkAddAllToProgram2(programId, options) {
|
|
862
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
863
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
864
|
+
programId,
|
|
865
|
+
excludeMemberIds: options?.excludeMemberIds
|
|
866
|
+
});
|
|
867
|
+
const reqOpts = bulkAddAllToProgram(payload);
|
|
868
|
+
sideEffects?.onSiteCall?.();
|
|
869
|
+
try {
|
|
870
|
+
const result = await httpClient.request(reqOpts);
|
|
871
|
+
sideEffects?.onSuccess?.(result);
|
|
872
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
873
|
+
} catch (err) {
|
|
874
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
875
|
+
err,
|
|
876
|
+
{
|
|
877
|
+
spreadPathsToArguments: {},
|
|
878
|
+
explicitPathsToArguments: {
|
|
879
|
+
programId: "$[0]",
|
|
880
|
+
excludeMemberIds: "$[1].excludeMemberIds"
|
|
881
|
+
},
|
|
882
|
+
singleArgumentUnchanged: false
|
|
883
|
+
},
|
|
884
|
+
["programId", "options"]
|
|
885
|
+
);
|
|
886
|
+
sideEffects?.onError?.(err);
|
|
887
|
+
throw transformedError;
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
async function deleteParticipant2(participantId) {
|
|
920
891
|
const { httpClient, sideEffects } = arguments[1];
|
|
921
892
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
922
893
|
participantId
|
|
923
894
|
});
|
|
924
|
-
const reqOpts =
|
|
895
|
+
const reqOpts = deleteParticipant(payload);
|
|
925
896
|
sideEffects?.onSiteCall?.();
|
|
926
897
|
try {
|
|
927
898
|
const result = await httpClient.request(reqOpts);
|
|
928
899
|
sideEffects?.onSuccess?.(result);
|
|
929
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.participant;
|
|
930
900
|
} catch (err) {
|
|
931
901
|
const transformedError = (0, import_transform_error.transformError)(
|
|
932
902
|
err,
|
|
@@ -941,16 +911,90 @@ async function getParticipant2(participantId) {
|
|
|
941
911
|
throw transformedError;
|
|
942
912
|
}
|
|
943
913
|
}
|
|
944
|
-
async function
|
|
914
|
+
async function issueCertificate2(participantId) {
|
|
915
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
916
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
917
|
+
participantId
|
|
918
|
+
});
|
|
919
|
+
const reqOpts = issueCertificate(payload);
|
|
920
|
+
sideEffects?.onSiteCall?.();
|
|
921
|
+
try {
|
|
922
|
+
const result = await httpClient.request(reqOpts);
|
|
923
|
+
sideEffects?.onSuccess?.(result);
|
|
924
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
925
|
+
} catch (err) {
|
|
926
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
927
|
+
err,
|
|
928
|
+
{
|
|
929
|
+
spreadPathsToArguments: {},
|
|
930
|
+
explicitPathsToArguments: { participantId: "$[0]" },
|
|
931
|
+
singleArgumentUnchanged: false
|
|
932
|
+
},
|
|
933
|
+
["participantId"]
|
|
934
|
+
);
|
|
935
|
+
sideEffects?.onError?.(err);
|
|
936
|
+
throw transformedError;
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
async function getCompletionStats2(programId) {
|
|
940
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
941
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
942
|
+
programId
|
|
943
|
+
});
|
|
944
|
+
const reqOpts = getCompletionStats(payload);
|
|
945
|
+
sideEffects?.onSiteCall?.();
|
|
946
|
+
try {
|
|
947
|
+
const result = await httpClient.request(reqOpts);
|
|
948
|
+
sideEffects?.onSuccess?.(result);
|
|
949
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
950
|
+
} catch (err) {
|
|
951
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
952
|
+
err,
|
|
953
|
+
{
|
|
954
|
+
spreadPathsToArguments: {},
|
|
955
|
+
explicitPathsToArguments: { programId: "$[0]" },
|
|
956
|
+
singleArgumentUnchanged: false
|
|
957
|
+
},
|
|
958
|
+
["programId"]
|
|
959
|
+
);
|
|
960
|
+
sideEffects?.onError?.(err);
|
|
961
|
+
throw transformedError;
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
async function getPremiumStats2() {
|
|
965
|
+
const { httpClient, sideEffects } = arguments[0];
|
|
966
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({});
|
|
967
|
+
const reqOpts = getPremiumStats(payload);
|
|
968
|
+
sideEffects?.onSiteCall?.();
|
|
969
|
+
try {
|
|
970
|
+
const result = await httpClient.request(reqOpts);
|
|
971
|
+
sideEffects?.onSuccess?.(result);
|
|
972
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
973
|
+
} catch (err) {
|
|
974
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
975
|
+
err,
|
|
976
|
+
{
|
|
977
|
+
spreadPathsToArguments: {},
|
|
978
|
+
explicitPathsToArguments: {},
|
|
979
|
+
singleArgumentUnchanged: false
|
|
980
|
+
},
|
|
981
|
+
[]
|
|
982
|
+
);
|
|
983
|
+
sideEffects?.onError?.(err);
|
|
984
|
+
throw transformedError;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
async function getParticipant2(participantId) {
|
|
945
988
|
const { httpClient, sideEffects } = arguments[1];
|
|
946
989
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
947
990
|
participantId
|
|
948
991
|
});
|
|
949
|
-
const reqOpts =
|
|
992
|
+
const reqOpts = getParticipant(payload);
|
|
950
993
|
sideEffects?.onSiteCall?.();
|
|
951
994
|
try {
|
|
952
995
|
const result = await httpClient.request(reqOpts);
|
|
953
996
|
sideEffects?.onSuccess?.(result);
|
|
997
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.participant;
|
|
954
998
|
} catch (err) {
|
|
955
999
|
const transformedError = (0, import_transform_error.transformError)(
|
|
956
1000
|
err,
|
|
@@ -1033,68 +1077,6 @@ async function getAccessStatus2() {
|
|
|
1033
1077
|
throw transformedError;
|
|
1034
1078
|
}
|
|
1035
1079
|
}
|
|
1036
|
-
async function applyCoupon2(identifiers, orderId) {
|
|
1037
|
-
const { httpClient, sideEffects } = arguments[2];
|
|
1038
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1039
|
-
participantId: identifiers?.participantId,
|
|
1040
|
-
couponCode: identifiers?.couponCode,
|
|
1041
|
-
orderId
|
|
1042
|
-
});
|
|
1043
|
-
const reqOpts = applyCoupon(payload);
|
|
1044
|
-
sideEffects?.onSiteCall?.();
|
|
1045
|
-
try {
|
|
1046
|
-
const result = await httpClient.request(reqOpts);
|
|
1047
|
-
sideEffects?.onSuccess?.(result);
|
|
1048
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1049
|
-
} catch (err) {
|
|
1050
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
1051
|
-
err,
|
|
1052
|
-
{
|
|
1053
|
-
spreadPathsToArguments: {},
|
|
1054
|
-
explicitPathsToArguments: {
|
|
1055
|
-
participantId: "$[0].participantId",
|
|
1056
|
-
couponCode: "$[0].couponCode",
|
|
1057
|
-
orderId: "$[1]"
|
|
1058
|
-
},
|
|
1059
|
-
singleArgumentUnchanged: false
|
|
1060
|
-
},
|
|
1061
|
-
["identifiers", "orderId"]
|
|
1062
|
-
);
|
|
1063
|
-
sideEffects?.onError?.(err);
|
|
1064
|
-
throw transformedError;
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
async function revertCoupon2(identifiers, orderId) {
|
|
1068
|
-
const { httpClient, sideEffects } = arguments[2];
|
|
1069
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1070
|
-
participantId: identifiers?.participantId,
|
|
1071
|
-
couponId: identifiers?.couponId,
|
|
1072
|
-
orderId
|
|
1073
|
-
});
|
|
1074
|
-
const reqOpts = revertCoupon(payload);
|
|
1075
|
-
sideEffects?.onSiteCall?.();
|
|
1076
|
-
try {
|
|
1077
|
-
const result = await httpClient.request(reqOpts);
|
|
1078
|
-
sideEffects?.onSuccess?.(result);
|
|
1079
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1080
|
-
} catch (err) {
|
|
1081
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
1082
|
-
err,
|
|
1083
|
-
{
|
|
1084
|
-
spreadPathsToArguments: {},
|
|
1085
|
-
explicitPathsToArguments: {
|
|
1086
|
-
participantId: "$[0].participantId",
|
|
1087
|
-
couponId: "$[0].couponId",
|
|
1088
|
-
orderId: "$[1]"
|
|
1089
|
-
},
|
|
1090
|
-
singleArgumentUnchanged: false
|
|
1091
|
-
},
|
|
1092
|
-
["identifiers", "orderId"]
|
|
1093
|
-
);
|
|
1094
|
-
sideEffects?.onError?.(err);
|
|
1095
|
-
throw transformedError;
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
1080
|
async function bulkInviteToProgram2(programId, options) {
|
|
1099
1081
|
const { httpClient, sideEffects } = arguments[2];
|
|
1100
1082
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1186,35 +1168,6 @@ async function bulkAddToProgram2(programId, options) {
|
|
|
1186
1168
|
throw transformedError;
|
|
1187
1169
|
}
|
|
1188
1170
|
}
|
|
1189
|
-
async function bulkAddAllToProgram2(programId, options) {
|
|
1190
|
-
const { httpClient, sideEffects } = arguments[2];
|
|
1191
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1192
|
-
programId,
|
|
1193
|
-
excludeMemberIds: options?.excludeMemberIds
|
|
1194
|
-
});
|
|
1195
|
-
const reqOpts = bulkAddAllToProgram(payload);
|
|
1196
|
-
sideEffects?.onSiteCall?.();
|
|
1197
|
-
try {
|
|
1198
|
-
const result = await httpClient.request(reqOpts);
|
|
1199
|
-
sideEffects?.onSuccess?.(result);
|
|
1200
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1201
|
-
} catch (err) {
|
|
1202
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
1203
|
-
err,
|
|
1204
|
-
{
|
|
1205
|
-
spreadPathsToArguments: {},
|
|
1206
|
-
explicitPathsToArguments: {
|
|
1207
|
-
programId: "$[0]",
|
|
1208
|
-
excludeMemberIds: "$[1].excludeMemberIds"
|
|
1209
|
-
},
|
|
1210
|
-
singleArgumentUnchanged: false
|
|
1211
|
-
},
|
|
1212
|
-
["programId", "options"]
|
|
1213
|
-
);
|
|
1214
|
-
sideEffects?.onError?.(err);
|
|
1215
|
-
throw transformedError;
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
1171
|
async function bulkApproveParticipant2(participantIds, options) {
|
|
1219
1172
|
const { httpClient, sideEffects } = arguments[2];
|
|
1220
1173
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1275,103 +1228,6 @@ async function bulkApproveAllParticipant2(options) {
|
|
|
1275
1228
|
throw transformedError;
|
|
1276
1229
|
}
|
|
1277
1230
|
}
|
|
1278
|
-
async function deleteParticipant2(participantId) {
|
|
1279
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
1280
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1281
|
-
participantId
|
|
1282
|
-
});
|
|
1283
|
-
const reqOpts = deleteParticipant(payload);
|
|
1284
|
-
sideEffects?.onSiteCall?.();
|
|
1285
|
-
try {
|
|
1286
|
-
const result = await httpClient.request(reqOpts);
|
|
1287
|
-
sideEffects?.onSuccess?.(result);
|
|
1288
|
-
} catch (err) {
|
|
1289
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
1290
|
-
err,
|
|
1291
|
-
{
|
|
1292
|
-
spreadPathsToArguments: {},
|
|
1293
|
-
explicitPathsToArguments: { participantId: "$[0]" },
|
|
1294
|
-
singleArgumentUnchanged: false
|
|
1295
|
-
},
|
|
1296
|
-
["participantId"]
|
|
1297
|
-
);
|
|
1298
|
-
sideEffects?.onError?.(err);
|
|
1299
|
-
throw transformedError;
|
|
1300
|
-
}
|
|
1301
|
-
}
|
|
1302
|
-
async function issueCertificate2(participantId) {
|
|
1303
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
1304
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1305
|
-
participantId
|
|
1306
|
-
});
|
|
1307
|
-
const reqOpts = issueCertificate(payload);
|
|
1308
|
-
sideEffects?.onSiteCall?.();
|
|
1309
|
-
try {
|
|
1310
|
-
const result = await httpClient.request(reqOpts);
|
|
1311
|
-
sideEffects?.onSuccess?.(result);
|
|
1312
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1313
|
-
} catch (err) {
|
|
1314
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
1315
|
-
err,
|
|
1316
|
-
{
|
|
1317
|
-
spreadPathsToArguments: {},
|
|
1318
|
-
explicitPathsToArguments: { participantId: "$[0]" },
|
|
1319
|
-
singleArgumentUnchanged: false
|
|
1320
|
-
},
|
|
1321
|
-
["participantId"]
|
|
1322
|
-
);
|
|
1323
|
-
sideEffects?.onError?.(err);
|
|
1324
|
-
throw transformedError;
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
async function getCompletionStats2(programId) {
|
|
1328
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
1329
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1330
|
-
programId
|
|
1331
|
-
});
|
|
1332
|
-
const reqOpts = getCompletionStats(payload);
|
|
1333
|
-
sideEffects?.onSiteCall?.();
|
|
1334
|
-
try {
|
|
1335
|
-
const result = await httpClient.request(reqOpts);
|
|
1336
|
-
sideEffects?.onSuccess?.(result);
|
|
1337
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1338
|
-
} catch (err) {
|
|
1339
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
1340
|
-
err,
|
|
1341
|
-
{
|
|
1342
|
-
spreadPathsToArguments: {},
|
|
1343
|
-
explicitPathsToArguments: { programId: "$[0]" },
|
|
1344
|
-
singleArgumentUnchanged: false
|
|
1345
|
-
},
|
|
1346
|
-
["programId"]
|
|
1347
|
-
);
|
|
1348
|
-
sideEffects?.onError?.(err);
|
|
1349
|
-
throw transformedError;
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
async function getPremiumStats2() {
|
|
1353
|
-
const { httpClient, sideEffects } = arguments[0];
|
|
1354
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({});
|
|
1355
|
-
const reqOpts = getPremiumStats(payload);
|
|
1356
|
-
sideEffects?.onSiteCall?.();
|
|
1357
|
-
try {
|
|
1358
|
-
const result = await httpClient.request(reqOpts);
|
|
1359
|
-
sideEffects?.onSuccess?.(result);
|
|
1360
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1361
|
-
} catch (err) {
|
|
1362
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
1363
|
-
err,
|
|
1364
|
-
{
|
|
1365
|
-
spreadPathsToArguments: {},
|
|
1366
|
-
explicitPathsToArguments: {},
|
|
1367
|
-
singleArgumentUnchanged: false
|
|
1368
|
-
},
|
|
1369
|
-
[]
|
|
1370
|
-
);
|
|
1371
|
-
sideEffects?.onError?.(err);
|
|
1372
|
-
throw transformedError;
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
1231
|
async function exportParticipantsStats2(programId) {
|
|
1376
1232
|
const { httpClient, sideEffects } = arguments[1];
|
|
1377
1233
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1400,27 +1256,18 @@ async function exportParticipantsStats2(programId) {
|
|
|
1400
1256
|
0 && (module.exports = {
|
|
1401
1257
|
BenefitType,
|
|
1402
1258
|
Event,
|
|
1403
|
-
EventType,
|
|
1404
|
-
Initiator,
|
|
1405
1259
|
JoinPath,
|
|
1406
|
-
OrderItemCategory,
|
|
1407
|
-
RefundStatus,
|
|
1408
|
-
RemovalReason,
|
|
1409
|
-
ScheduledActionType,
|
|
1410
1260
|
SortOrder,
|
|
1411
1261
|
State,
|
|
1412
|
-
Status,
|
|
1413
|
-
SubdivisionType,
|
|
1414
|
-
TransactionStatus,
|
|
1415
|
-
VatType,
|
|
1416
1262
|
WebhookIdentityType,
|
|
1417
|
-
applyCoupon,
|
|
1418
1263
|
bulkAddAllToProgram,
|
|
1419
1264
|
bulkAddToProgram,
|
|
1420
1265
|
bulkApproveAllParticipant,
|
|
1421
1266
|
bulkApproveParticipant,
|
|
1267
|
+
bulkCreateParticipant,
|
|
1422
1268
|
bulkInviteAllToProgram,
|
|
1423
1269
|
bulkInviteToProgram,
|
|
1270
|
+
createParticipant,
|
|
1424
1271
|
deleteParticipant,
|
|
1425
1272
|
exportParticipantsStats,
|
|
1426
1273
|
getAccessStatus,
|
|
@@ -1428,9 +1275,6 @@ async function exportParticipantsStats2(programId) {
|
|
|
1428
1275
|
getParticipant,
|
|
1429
1276
|
getPremiumStats,
|
|
1430
1277
|
issueCertificate,
|
|
1431
|
-
|
|
1432
|
-
leaveProgram,
|
|
1433
|
-
queryParticipants,
|
|
1434
|
-
revertCoupon
|
|
1278
|
+
queryParticipants
|
|
1435
1279
|
});
|
|
1436
1280
|
//# sourceMappingURL=index.typings.js.map
|