@iblai/iblai-api 3.48.3-core → 3.48.4-core

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 (63) hide show
  1. package/dist/index.cjs.js +3038 -2750
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +3038 -2750
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +3038 -2750
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/services/AnalyticsService.d.ts +42 -13
  8. package/dist/types/services/AudienceService.d.ts +345 -149
  9. package/dist/types/services/CareerService.d.ts +117 -90
  10. package/dist/types/services/CatalogService.d.ts +3735 -1072
  11. package/dist/types/services/CoreService.d.ts +421 -210
  12. package/dist/types/services/CredentialsService.d.ts +173 -138
  13. package/dist/types/services/DepartmentsService.d.ts +53 -16
  14. package/dist/types/services/EngagementService.d.ts +459 -179
  15. package/dist/types/services/FeaturesService.d.ts +16 -7
  16. package/dist/types/services/FinanceService.d.ts +49 -20
  17. package/dist/types/services/MediaResourcesService.d.ts +243 -67
  18. package/dist/types/services/NotificationBuilderService.d.ts +31 -17
  19. package/dist/types/services/NotificationService.d.ts +56 -49
  20. package/dist/types/services/OrgsService.d.ts +106 -77
  21. package/dist/types/services/OverviewService.d.ts +154 -55
  22. package/dist/types/services/PerformanceService.d.ts +132 -56
  23. package/dist/types/services/PerlearnerService.d.ts +431 -217
  24. package/dist/types/services/PlatformService.d.ts +221 -116
  25. package/dist/types/services/ProviderAssociationService.d.ts +3 -2
  26. package/dist/types/services/ProvidersService.d.ts +27 -18
  27. package/dist/types/services/ProvisionService.d.ts +3 -2
  28. package/dist/types/services/RecommendationsService.d.ts +3 -3
  29. package/dist/types/services/ReportsService.d.ts +22 -16
  30. package/dist/types/services/RolesService.d.ts +8 -6
  31. package/dist/types/services/SearchService.d.ts +305 -80
  32. package/dist/types/services/ServiceService.d.ts +33 -29
  33. package/dist/types/services/SkillsService.d.ts +40 -32
  34. package/dist/types/services/UserGroupsService.d.ts +53 -16
  35. package/package.json +1 -1
  36. package/src/services/AnalyticsService.ts +45 -16
  37. package/src/services/AudienceService.ts +380 -184
  38. package/src/services/CareerService.ts +144 -117
  39. package/src/services/CatalogService.ts +3995 -1332
  40. package/src/services/CoreService.ts +503 -286
  41. package/src/services/CredentialsService.ts +253 -173
  42. package/src/services/DepartmentsService.ts +56 -19
  43. package/src/services/EngagementService.ts +528 -236
  44. package/src/services/FeaturesService.ts +19 -10
  45. package/src/services/FinanceService.ts +54 -25
  46. package/src/services/MediaResourcesService.ts +251 -75
  47. package/src/services/NotificationBuilderService.ts +36 -22
  48. package/src/services/NotificationService.ts +73 -61
  49. package/src/services/OrgsService.ts +135 -106
  50. package/src/services/OverviewService.ts +172 -73
  51. package/src/services/PerformanceService.ts +153 -77
  52. package/src/services/PerlearnerService.ts +591 -279
  53. package/src/services/PlatformService.ts +278 -157
  54. package/src/services/ProviderAssociationService.ts +4 -3
  55. package/src/services/ProvidersService.ts +36 -27
  56. package/src/services/ProvisionService.ts +4 -3
  57. package/src/services/RecommendationsService.ts +5 -4
  58. package/src/services/ReportsService.ts +28 -22
  59. package/src/services/RolesService.ts +10 -8
  60. package/src/services/SearchService.ts +323 -98
  61. package/src/services/ServiceService.ts +49 -39
  62. package/src/services/SkillsService.ts +56 -44
  63. package/src/services/UserGroupsService.ts +56 -19
@@ -23,18 +23,34 @@ export declare class AudienceService {
23
23
  * Default time range is the last 7 days if no dates are specified.
24
24
  *
25
25
  * An active user is defined as a user with any activity within the past 30 days.
26
- * @param org
27
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
28
- * @param endDate end date. ISO 8601
29
- * @param format Format
30
- *
31
- * * `json` - json
32
- * @param includeMainPlatform Include main platform data
33
- * @param startDate start date. ISO 8601
34
26
  * @returns OvertimeWithChangeInfo
35
27
  * @throws ApiError
36
28
  */
37
- static audienceOrgsActiveUsersOverTimeRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OvertimeWithChangeInfo>;
29
+ static audienceOrgsActiveUsersOverTimeRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
30
+ org: string;
31
+ /**
32
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
33
+ */
34
+ departmentId?: number;
35
+ /**
36
+ * end date. ISO 8601
37
+ */
38
+ endDate?: string;
39
+ /**
40
+ * Format
41
+ *
42
+ * * `json` - json
43
+ */
44
+ format?: 'json';
45
+ /**
46
+ * Include main platform data
47
+ */
48
+ includeMainPlatform?: boolean;
49
+ /**
50
+ * start date. ISO 8601
51
+ */
52
+ startDate?: string;
53
+ }): CancelablePromise<OvertimeWithChangeInfo>;
38
54
  /**
39
55
  * Get active user counts on a per-course basis.
40
56
  *
@@ -49,18 +65,34 @@ export declare class AudienceService {
49
65
  * A list of courses with their active user counts.
50
66
  *
51
67
  * Default time range is the last 7 days if no dates are specified.
52
- * @param org
53
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
54
- * @param endDate end date. ISO 8601
55
- * @param format Format
56
- *
57
- * * `json` - json
58
- * @param includeMainPlatform Include main platform data
59
- * @param startDate start date. ISO 8601
60
68
  * @returns ActiveUsersPerCourse
61
69
  * @throws ApiError
62
70
  */
63
- static audienceOrgsActiveUsersPerCourseRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<ActiveUsersPerCourse>;
71
+ static audienceOrgsActiveUsersPerCourseRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
72
+ org: string;
73
+ /**
74
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
75
+ */
76
+ departmentId?: number;
77
+ /**
78
+ * end date. ISO 8601
79
+ */
80
+ endDate?: string;
81
+ /**
82
+ * Format
83
+ *
84
+ * * `json` - json
85
+ */
86
+ format?: 'json';
87
+ /**
88
+ * Include main platform data
89
+ */
90
+ includeMainPlatform?: boolean;
91
+ /**
92
+ * start date. ISO 8601
93
+ */
94
+ startDate?: string;
95
+ }): CancelablePromise<ActiveUsersPerCourse>;
64
96
  /**
65
97
  * Get a list of active users with activity metrics.
66
98
  *
@@ -78,18 +110,34 @@ export declare class AudienceService {
78
110
  * A paginated list of active users with their activity metrics.
79
111
  *
80
112
  * Default time range is the last 7 days if no dates are specified.
81
- * @param org
82
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
83
- * @param format Format
84
- *
85
- * * `json` - json
86
- * @param includeMainPlatform Include main platform data
87
- * @param length Size of data to return
88
- * @param page Page offset
89
113
  * @returns ActiveUsersList
90
114
  * @throws ApiError
91
115
  */
92
- static audienceOrgsActiveUsersUsersRetrieve(org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number): CancelablePromise<ActiveUsersList>;
116
+ static audienceOrgsActiveUsersUsersRetrieve({ org, departmentId, format, includeMainPlatform, length, page, }: {
117
+ org: string;
118
+ /**
119
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
120
+ */
121
+ departmentId?: number;
122
+ /**
123
+ * Format
124
+ *
125
+ * * `json` - json
126
+ */
127
+ format?: 'json';
128
+ /**
129
+ * Include main platform data
130
+ */
131
+ includeMainPlatform?: boolean;
132
+ /**
133
+ * Size of data to return
134
+ */
135
+ length?: number;
136
+ /**
137
+ * Page offset
138
+ */
139
+ page?: number;
140
+ }): CancelablePromise<ActiveUsersList>;
93
141
  /**
94
142
  * Get enrollment or unenrollment counts over time.
95
143
  *
@@ -107,29 +155,48 @@ export declare class AudienceService {
107
155
  * compared to previous periods.
108
156
  *
109
157
  * Default time range is the last 7 days if no dates are specified.
110
- * @param courseId
111
- * @param org
112
- * @param active Any of `y`, `yes`, `true`. set to false or no for unenrollments
113
- *
114
- * * `y` - y
115
- * * `yes` - yes
116
- * * `true` - true
117
- * * `True` - True
118
- * * `n` - n
119
- * * `no` - no
120
- * * `false` - false
121
- * * `False` - False
122
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
123
- * @param endDate end date. ISO 8601
124
- * @param format Format
125
- *
126
- * * `json` - json
127
- * @param includeMainPlatform Include main platform data
128
- * @param startDate start date. ISO 8601
129
158
  * @returns OvertimeWithChangeInfo
130
159
  * @throws ApiError
131
160
  */
132
- static audienceOrgsEnrollmentsCoursesOverTimeRetrieve(courseId: string, org: string, active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False', departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OvertimeWithChangeInfo>;
161
+ static audienceOrgsEnrollmentsCoursesOverTimeRetrieve({ courseId, org, active, departmentId, endDate, format, includeMainPlatform, startDate, }: {
162
+ courseId: string;
163
+ org: string;
164
+ /**
165
+ * Any of `y`, `yes`, `true`. set to false or no for unenrollments
166
+ *
167
+ * * `y` - y
168
+ * * `yes` - yes
169
+ * * `true` - true
170
+ * * `True` - True
171
+ * * `n` - n
172
+ * * `no` - no
173
+ * * `false` - false
174
+ * * `False` - False
175
+ */
176
+ active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False';
177
+ /**
178
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
179
+ */
180
+ departmentId?: number;
181
+ /**
182
+ * end date. ISO 8601
183
+ */
184
+ endDate?: string;
185
+ /**
186
+ * Format
187
+ *
188
+ * * `json` - json
189
+ */
190
+ format?: 'json';
191
+ /**
192
+ * Include main platform data
193
+ */
194
+ includeMainPlatform?: boolean;
195
+ /**
196
+ * start date. ISO 8601
197
+ */
198
+ startDate?: string;
199
+ }): CancelablePromise<OvertimeWithChangeInfo>;
133
200
  /**
134
201
  * List users enrolled in a specific course.
135
202
  *
@@ -148,31 +215,56 @@ export declare class AudienceService {
148
215
  * - Full name
149
216
  * - Email
150
217
  * - Enrollment timestamp
151
- * @param courseId
152
- * @param org
153
- * @param active Any of `y`, `yes`, `true`. set to false or no for unenrollments
154
- *
155
- * * `y` - y
156
- * * `yes` - yes
157
- * * `true` - true
158
- * * `True` - True
159
- * * `n` - n
160
- * * `no` - no
161
- * * `false` - false
162
- * * `False` - False
163
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
164
- * @param endDate end date. ISO 8601
165
- * @param format Format
166
- *
167
- * * `json` - json
168
- * @param includeMainPlatform Include main platform data
169
- * @param length Size of data to return
170
- * @param page Page offset
171
- * @param startDate start date. ISO 8601
172
218
  * @returns EnrollmentsPerUser
173
219
  * @throws ApiError
174
220
  */
175
- static audienceOrgsEnrollmentsCoursesUsersRetrieve(courseId: string, org: string, active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False', departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number, startDate?: string): CancelablePromise<EnrollmentsPerUser>;
221
+ static audienceOrgsEnrollmentsCoursesUsersRetrieve({ courseId, org, active, departmentId, endDate, format, includeMainPlatform, length, page, startDate, }: {
222
+ courseId: string;
223
+ org: string;
224
+ /**
225
+ * Any of `y`, `yes`, `true`. set to false or no for unenrollments
226
+ *
227
+ * * `y` - y
228
+ * * `yes` - yes
229
+ * * `true` - true
230
+ * * `True` - True
231
+ * * `n` - n
232
+ * * `no` - no
233
+ * * `false` - false
234
+ * * `False` - False
235
+ */
236
+ active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False';
237
+ /**
238
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
239
+ */
240
+ departmentId?: number;
241
+ /**
242
+ * end date. ISO 8601
243
+ */
244
+ endDate?: string;
245
+ /**
246
+ * Format
247
+ *
248
+ * * `json` - json
249
+ */
250
+ format?: 'json';
251
+ /**
252
+ * Include main platform data
253
+ */
254
+ includeMainPlatform?: boolean;
255
+ /**
256
+ * Size of data to return
257
+ */
258
+ length?: number;
259
+ /**
260
+ * Page offset
261
+ */
262
+ page?: number;
263
+ /**
264
+ * start date. ISO 8601
265
+ */
266
+ startDate?: string;
267
+ }): CancelablePromise<EnrollmentsPerUser>;
176
268
  /**
177
269
  * Get enrollment or unenrollment counts over time.
178
270
  *
@@ -190,28 +282,47 @@ export declare class AudienceService {
190
282
  * compared to previous periods.
191
283
  *
192
284
  * Default time range is the last 7 days if no dates are specified.
193
- * @param org
194
- * @param active Any of `y`, `yes`, `true`. set to false or no for unenrollments
195
- *
196
- * * `y` - y
197
- * * `yes` - yes
198
- * * `true` - true
199
- * * `True` - True
200
- * * `n` - n
201
- * * `no` - no
202
- * * `false` - false
203
- * * `False` - False
204
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
205
- * @param endDate end date. ISO 8601
206
- * @param format Format
207
- *
208
- * * `json` - json
209
- * @param includeMainPlatform Include main platform data
210
- * @param startDate start date. ISO 8601
211
285
  * @returns OvertimeWithChangeInfo
212
286
  * @throws ApiError
213
287
  */
214
- static audienceOrgsEnrollmentsOverTimeRetrieve(org: string, active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False', departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OvertimeWithChangeInfo>;
288
+ static audienceOrgsEnrollmentsOverTimeRetrieve({ org, active, departmentId, endDate, format, includeMainPlatform, startDate, }: {
289
+ org: string;
290
+ /**
291
+ * Any of `y`, `yes`, `true`. set to false or no for unenrollments
292
+ *
293
+ * * `y` - y
294
+ * * `yes` - yes
295
+ * * `true` - true
296
+ * * `True` - True
297
+ * * `n` - n
298
+ * * `no` - no
299
+ * * `false` - false
300
+ * * `False` - False
301
+ */
302
+ active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False';
303
+ /**
304
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
305
+ */
306
+ departmentId?: number;
307
+ /**
308
+ * end date. ISO 8601
309
+ */
310
+ endDate?: string;
311
+ /**
312
+ * Format
313
+ *
314
+ * * `json` - json
315
+ */
316
+ format?: 'json';
317
+ /**
318
+ * Include main platform data
319
+ */
320
+ includeMainPlatform?: boolean;
321
+ /**
322
+ * start date. ISO 8601
323
+ */
324
+ startDate?: string;
325
+ }): CancelablePromise<OvertimeWithChangeInfo>;
215
326
  /**
216
327
  * List enrollment statistics on a per-course basis.
217
328
  *
@@ -227,30 +338,55 @@ export declare class AudienceService {
227
338
  *
228
339
  * Returns:
229
340
  * A paginated list of courses with their enrollment counts and percentages.
230
- * @param org
231
- * @param active Any of `y`, `yes`, `true`. set to false or no for unenrollments
232
- *
233
- * * `y` - y
234
- * * `yes` - yes
235
- * * `true` - true
236
- * * `True` - True
237
- * * `n` - n
238
- * * `no` - no
239
- * * `false` - false
240
- * * `False` - False
241
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
242
- * @param endDate end date. ISO 8601
243
- * @param format Format
244
- *
245
- * * `json` - json
246
- * @param includeMainPlatform Include main platform data
247
- * @param length Size of data to return
248
- * @param page Page offset
249
- * @param startDate start date. ISO 8601
250
341
  * @returns Enrollments
251
342
  * @throws ApiError
252
343
  */
253
- static audienceOrgsEnrollmentsPerCourseRetrieve(org: string, active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False', departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number, startDate?: string): CancelablePromise<Enrollments>;
344
+ static audienceOrgsEnrollmentsPerCourseRetrieve({ org, active, departmentId, endDate, format, includeMainPlatform, length, page, startDate, }: {
345
+ org: string;
346
+ /**
347
+ * Any of `y`, `yes`, `true`. set to false or no for unenrollments
348
+ *
349
+ * * `y` - y
350
+ * * `yes` - yes
351
+ * * `true` - true
352
+ * * `True` - True
353
+ * * `n` - n
354
+ * * `no` - no
355
+ * * `false` - false
356
+ * * `False` - False
357
+ */
358
+ active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False';
359
+ /**
360
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
361
+ */
362
+ departmentId?: number;
363
+ /**
364
+ * end date. ISO 8601
365
+ */
366
+ endDate?: string;
367
+ /**
368
+ * Format
369
+ *
370
+ * * `json` - json
371
+ */
372
+ format?: 'json';
373
+ /**
374
+ * Include main platform data
375
+ */
376
+ includeMainPlatform?: boolean;
377
+ /**
378
+ * Size of data to return
379
+ */
380
+ length?: number;
381
+ /**
382
+ * Page offset
383
+ */
384
+ page?: number;
385
+ /**
386
+ * start date. ISO 8601
387
+ */
388
+ startDate?: string;
389
+ }): CancelablePromise<Enrollments>;
254
390
  /**
255
391
  * List all learners on the platform with aggregated metrics.
256
392
  *
@@ -266,19 +402,38 @@ export declare class AudienceService {
266
402
  *
267
403
  * Returns:
268
404
  * A paginated list of learners with their associated metrics.
269
- * @param org
270
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
271
- * @param format Format
272
- *
273
- * * `json` - json
274
- * @param includeMainPlatform Include main platform data
275
- * @param length Size of data to return
276
- * @param page Page offset
277
- * @param search Search string for learner
278
405
  * @returns PerlearnerUserList
279
406
  * @throws ApiError
280
407
  */
281
- static audienceOrgsRegisteredUsersRetrieve(org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number, search?: string): CancelablePromise<PerlearnerUserList>;
408
+ static audienceOrgsRegisteredUsersRetrieve({ org, departmentId, format, includeMainPlatform, length, page, search, }: {
409
+ org: string;
410
+ /**
411
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
412
+ */
413
+ departmentId?: number;
414
+ /**
415
+ * Format
416
+ *
417
+ * * `json` - json
418
+ */
419
+ format?: 'json';
420
+ /**
421
+ * Include main platform data
422
+ */
423
+ includeMainPlatform?: boolean;
424
+ /**
425
+ * Size of data to return
426
+ */
427
+ length?: number;
428
+ /**
429
+ * Page offset
430
+ */
431
+ page?: number;
432
+ /**
433
+ * Search string for learner
434
+ */
435
+ search?: string;
436
+ }): CancelablePromise<PerlearnerUserList>;
282
437
  /**
283
438
  * Get registered user counts over time.
284
439
  *
@@ -294,18 +449,34 @@ export declare class AudienceService {
294
449
  * compared to previous periods.
295
450
  *
296
451
  * Default time range is the last 7 days if no dates are specified.
297
- * @param org
298
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
299
- * @param endDate end date. ISO 8601
300
- * @param format Format
301
- *
302
- * * `json` - json
303
- * @param includeMainPlatform Include main platform data
304
- * @param startDate start date. ISO 8601
305
452
  * @returns OvertimeWithChangeInfo
306
453
  * @throws ApiError
307
454
  */
308
- static audienceOrgsRegisteredUsersOverTimeRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OvertimeWithChangeInfo>;
455
+ static audienceOrgsRegisteredUsersOverTimeRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
456
+ org: string;
457
+ /**
458
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
459
+ */
460
+ departmentId?: number;
461
+ /**
462
+ * end date. ISO 8601
463
+ */
464
+ endDate?: string;
465
+ /**
466
+ * Format
467
+ *
468
+ * * `json` - json
469
+ */
470
+ format?: 'json';
471
+ /**
472
+ * Include main platform data
473
+ */
474
+ includeMainPlatform?: boolean;
475
+ /**
476
+ * start date. ISO 8601
477
+ */
478
+ startDate?: string;
479
+ }): CancelablePromise<OvertimeWithChangeInfo>;
309
480
  /**
310
481
  * List enrollment statistics on a per-course basis.
311
482
  *
@@ -321,28 +492,53 @@ export declare class AudienceService {
321
492
  *
322
493
  * Returns:
323
494
  * A paginated list of courses with their enrollment counts and percentages.
324
- * @param org
325
- * @param active Any of `y`, `yes`, `true`. set to false or no for unenrollments
326
- *
327
- * * `y` - y
328
- * * `yes` - yes
329
- * * `true` - true
330
- * * `True` - True
331
- * * `n` - n
332
- * * `no` - no
333
- * * `false` - false
334
- * * `False` - False
335
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
336
- * @param endDate end date. ISO 8601
337
- * @param format Format
338
- *
339
- * * `json` - json
340
- * @param includeMainPlatform Include main platform data
341
- * @param length Size of data to return
342
- * @param page Page offset
343
- * @param startDate start date. ISO 8601
344
495
  * @returns Enrollments
345
496
  * @throws ApiError
346
497
  */
347
- static audienceOrgsRegisteredUsersPerCourseRetrieve(org: string, active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False', departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number, startDate?: string): CancelablePromise<Enrollments>;
498
+ static audienceOrgsRegisteredUsersPerCourseRetrieve({ org, active, departmentId, endDate, format, includeMainPlatform, length, page, startDate, }: {
499
+ org: string;
500
+ /**
501
+ * Any of `y`, `yes`, `true`. set to false or no for unenrollments
502
+ *
503
+ * * `y` - y
504
+ * * `yes` - yes
505
+ * * `true` - true
506
+ * * `True` - True
507
+ * * `n` - n
508
+ * * `no` - no
509
+ * * `false` - false
510
+ * * `False` - False
511
+ */
512
+ active?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False';
513
+ /**
514
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
515
+ */
516
+ departmentId?: number;
517
+ /**
518
+ * end date. ISO 8601
519
+ */
520
+ endDate?: string;
521
+ /**
522
+ * Format
523
+ *
524
+ * * `json` - json
525
+ */
526
+ format?: 'json';
527
+ /**
528
+ * Include main platform data
529
+ */
530
+ includeMainPlatform?: boolean;
531
+ /**
532
+ * Size of data to return
533
+ */
534
+ length?: number;
535
+ /**
536
+ * Page offset
537
+ */
538
+ page?: number;
539
+ /**
540
+ * start date. ISO 8601
541
+ */
542
+ startDate?: string;
543
+ }): CancelablePromise<Enrollments>;
348
544
  }