@wix/auto_sdk_online-programs_participants 1.0.13 → 1.0.15

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