@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
@@ -28,25 +28,41 @@ export class OverviewService {
28
28
  * Default time range is the last 7 days if no dates are specified.
29
29
  *
30
30
  * An active user is defined as a user with any activity within the past 30 days.
31
- * @param org
32
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
33
- * @param endDate end date. ISO 8601
34
- * @param format Format
35
- *
36
- * * `json` - json
37
- * @param includeMainPlatform Include main platform data
38
- * @param startDate start date. ISO 8601
39
31
  * @returns OvertimeWithChangeInfo
40
32
  * @throws ApiError
41
33
  */
42
- public static overviewOrgsActiveUsersRetrieve(
34
+ public static overviewOrgsActiveUsersRetrieve({
35
+ org,
36
+ departmentId,
37
+ endDate,
38
+ format = 'json',
39
+ includeMainPlatform = true,
40
+ startDate,
41
+ }: {
43
42
  org: string,
43
+ /**
44
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
45
+ */
44
46
  departmentId?: number,
47
+ /**
48
+ * end date. ISO 8601
49
+ */
45
50
  endDate?: string,
46
- format: 'json' = 'json',
47
- includeMainPlatform: boolean = true,
51
+ /**
52
+ * Format
53
+ *
54
+ * * `json` - json
55
+ */
56
+ format?: 'json',
57
+ /**
58
+ * Include main platform data
59
+ */
60
+ includeMainPlatform?: boolean,
61
+ /**
62
+ * start date. ISO 8601
63
+ */
48
64
  startDate?: string,
49
- ): CancelablePromise<OvertimeWithChangeInfo> {
65
+ }): CancelablePromise<OvertimeWithChangeInfo> {
50
66
  return __request(OpenAPI, {
51
67
  method: 'GET',
52
68
  url: '/api/overview/orgs/{org}/active-users',
@@ -81,21 +97,31 @@ export class OverviewService {
81
97
  * Access Control:
82
98
  * - Platform admins can access any grade data
83
99
  * - Learners can access their own grade data
84
- * @param org
85
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
86
- * @param format Format
87
- *
88
- * * `json` - json
89
- * @param includeMainPlatform Include main platform data
90
100
  * @returns Average
91
101
  * @throws ApiError
92
102
  */
93
- public static overviewOrgsAverageGradeRetrieve(
103
+ public static overviewOrgsAverageGradeRetrieve({
104
+ org,
105
+ departmentId,
106
+ format = 'json',
107
+ includeMainPlatform = true,
108
+ }: {
94
109
  org: string,
110
+ /**
111
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
112
+ */
95
113
  departmentId?: number,
96
- format: 'json' = 'json',
97
- includeMainPlatform: boolean = true,
98
- ): CancelablePromise<Average> {
114
+ /**
115
+ * Format
116
+ *
117
+ * * `json` - json
118
+ */
119
+ format?: 'json',
120
+ /**
121
+ * Include main platform data
122
+ */
123
+ includeMainPlatform?: boolean,
124
+ }): CancelablePromise<Average> {
99
125
  return __request(OpenAPI, {
100
126
  method: 'GET',
101
127
  url: '/api/overview/orgs/{org}/average-grade',
@@ -128,25 +154,41 @@ export class OverviewService {
128
154
  * - Change metrics compared to previous periods
129
155
  *
130
156
  * Default time range is the last 7 days if no dates are specified.
131
- * @param org
132
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
133
- * @param endDate end date. ISO 8601
134
- * @param format Format
135
- *
136
- * * `json` - json
137
- * @param includeMainPlatform Include main platform data
138
- * @param startDate start date. ISO 8601
139
157
  * @returns CourseCompletionSummaryOvertime
140
158
  * @throws ApiError
141
159
  */
142
- public static overviewOrgsCoursesCompletionsRetrieve(
160
+ public static overviewOrgsCoursesCompletionsRetrieve({
161
+ org,
162
+ departmentId,
163
+ endDate,
164
+ format = 'json',
165
+ includeMainPlatform = true,
166
+ startDate,
167
+ }: {
143
168
  org: string,
169
+ /**
170
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
171
+ */
144
172
  departmentId?: number,
173
+ /**
174
+ * end date. ISO 8601
175
+ */
145
176
  endDate?: string,
146
- format: 'json' = 'json',
147
- includeMainPlatform: boolean = true,
177
+ /**
178
+ * Format
179
+ *
180
+ * * `json` - json
181
+ */
182
+ format?: 'json',
183
+ /**
184
+ * Include main platform data
185
+ */
186
+ includeMainPlatform?: boolean,
187
+ /**
188
+ * start date. ISO 8601
189
+ */
148
190
  startDate?: string,
149
- ): CancelablePromise<CourseCompletionSummaryOvertime> {
191
+ }): CancelablePromise<CourseCompletionSummaryOvertime> {
150
192
  return __request(OpenAPI, {
151
193
  method: 'GET',
152
194
  url: '/api/overview/orgs/{org}/courses/completions',
@@ -177,27 +219,46 @@ export class OverviewService {
177
219
  *
178
220
  * Returns:
179
221
  * A paginated list of learners with their associated metrics.
180
- * @param org
181
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
182
- * @param format Format
183
- *
184
- * * `json` - json
185
- * @param includeMainPlatform Include main platform data
186
- * @param length Size of data to return
187
- * @param page Page offset
188
- * @param search Search string for learner
189
222
  * @returns PerlearnerUserList
190
223
  * @throws ApiError
191
224
  */
192
- public static overviewOrgsLearnersRetrieve(
225
+ public static overviewOrgsLearnersRetrieve({
226
+ org,
227
+ departmentId,
228
+ format = 'json',
229
+ includeMainPlatform = true,
230
+ length,
231
+ page,
232
+ search,
233
+ }: {
193
234
  org: string,
235
+ /**
236
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
237
+ */
194
238
  departmentId?: number,
195
- format: 'json' = 'json',
196
- includeMainPlatform: boolean = true,
239
+ /**
240
+ * Format
241
+ *
242
+ * * `json` - json
243
+ */
244
+ format?: 'json',
245
+ /**
246
+ * Include main platform data
247
+ */
248
+ includeMainPlatform?: boolean,
249
+ /**
250
+ * Size of data to return
251
+ */
197
252
  length?: number,
253
+ /**
254
+ * Page offset
255
+ */
198
256
  page?: number,
257
+ /**
258
+ * Search string for learner
259
+ */
199
260
  search?: string,
200
- ): CancelablePromise<PerlearnerUserList> {
261
+ }): CancelablePromise<PerlearnerUserList> {
201
262
  return __request(OpenAPI, {
202
263
  method: 'GET',
203
264
  url: '/api/overview/orgs/{org}/learners',
@@ -232,29 +293,51 @@ export class OverviewService {
232
293
  * - Total time spent (in seconds)
233
294
  * - Formatted time spent (human-readable)
234
295
  * - Percentage of total platform time
235
- * @param org
236
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
237
- * @param endDate end date. ISO 8601
238
- * @param format Format
239
- *
240
- * * `json` - json
241
- * @param includeMainPlatform Include main platform data
242
- * @param length Size of data to return
243
- * @param page Page offset
244
- * @param startDate start date. ISO 8601
245
296
  * @returns TimeSpentPerCourse
246
297
  * @throws ApiError
247
298
  */
248
- public static overviewOrgsMostActiveCoursesRetrieve(
299
+ public static overviewOrgsMostActiveCoursesRetrieve({
300
+ org,
301
+ departmentId,
302
+ endDate,
303
+ format = 'json',
304
+ includeMainPlatform = true,
305
+ length,
306
+ page,
307
+ startDate,
308
+ }: {
249
309
  org: string,
310
+ /**
311
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
312
+ */
250
313
  departmentId?: number,
314
+ /**
315
+ * end date. ISO 8601
316
+ */
251
317
  endDate?: string,
252
- format: 'json' = 'json',
253
- includeMainPlatform: boolean = true,
318
+ /**
319
+ * Format
320
+ *
321
+ * * `json` - json
322
+ */
323
+ format?: 'json',
324
+ /**
325
+ * Include main platform data
326
+ */
327
+ includeMainPlatform?: boolean,
328
+ /**
329
+ * Size of data to return
330
+ */
254
331
  length?: number,
332
+ /**
333
+ * Page offset
334
+ */
255
335
  page?: number,
336
+ /**
337
+ * start date. ISO 8601
338
+ */
256
339
  startDate?: string,
257
- ): CancelablePromise<TimeSpentPerCourse> {
340
+ }): CancelablePromise<TimeSpentPerCourse> {
258
341
  return __request(OpenAPI, {
259
342
  method: 'GET',
260
343
  url: '/api/overview/orgs/{org}/most-active-courses',
@@ -287,25 +370,41 @@ export class OverviewService {
287
370
  * compared to previous periods.
288
371
  *
289
372
  * Default time range is the last 7 days if no dates are specified.
290
- * @param org
291
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
292
- * @param endDate end date. ISO 8601
293
- * @param format Format
294
- *
295
- * * `json` - json
296
- * @param includeMainPlatform Include main platform data
297
- * @param startDate start date. ISO 8601
298
373
  * @returns OvertimeWithChangeInfo
299
374
  * @throws ApiError
300
375
  */
301
- public static overviewOrgsRegisteredUsersRetrieve(
376
+ public static overviewOrgsRegisteredUsersRetrieve({
377
+ org,
378
+ departmentId,
379
+ endDate,
380
+ format = 'json',
381
+ includeMainPlatform = true,
382
+ startDate,
383
+ }: {
302
384
  org: string,
385
+ /**
386
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
387
+ */
303
388
  departmentId?: number,
389
+ /**
390
+ * end date. ISO 8601
391
+ */
304
392
  endDate?: string,
305
- format: 'json' = 'json',
306
- includeMainPlatform: boolean = true,
393
+ /**
394
+ * Format
395
+ *
396
+ * * `json` - json
397
+ */
398
+ format?: 'json',
399
+ /**
400
+ * Include main platform data
401
+ */
402
+ includeMainPlatform?: boolean,
403
+ /**
404
+ * start date. ISO 8601
405
+ */
307
406
  startDate?: string,
308
- ): CancelablePromise<OvertimeWithChangeInfo> {
407
+ }): CancelablePromise<OvertimeWithChangeInfo> {
309
408
  return __request(OpenAPI, {
310
409
  method: 'GET',
311
410
  url: '/api/overview/orgs/{org}/registered-users',
@@ -31,23 +31,33 @@ export class PerformanceService {
31
31
  * Access Control:
32
32
  * - Platform admins can access any grade data
33
33
  * - Learners can access their own grade data
34
- * @param courseId
35
- * @param org
36
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
37
- * @param format Format
38
- *
39
- * * `json` - json
40
- * @param includeMainPlatform Include main platform data
41
34
  * @returns Average
42
35
  * @throws ApiError
43
36
  */
44
- public static performanceOrgsCoursesGradingAverageRetrieve(
37
+ public static performanceOrgsCoursesGradingAverageRetrieve({
38
+ courseId,
39
+ org,
40
+ departmentId,
41
+ format = 'json',
42
+ includeMainPlatform = true,
43
+ }: {
45
44
  courseId: string,
46
45
  org: string,
46
+ /**
47
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
48
+ */
47
49
  departmentId?: number,
48
- format: 'json' = 'json',
49
- includeMainPlatform: boolean = true,
50
- ): CancelablePromise<Average> {
50
+ /**
51
+ * Format
52
+ *
53
+ * * `json` - json
54
+ */
55
+ format?: 'json',
56
+ /**
57
+ * Include main platform data
58
+ */
59
+ includeMainPlatform?: boolean,
60
+ }): CancelablePromise<Average> {
51
61
  return __request(OpenAPI, {
52
62
  method: 'GET',
53
63
  url: '/api/performance/orgs/{org}/courses/{course_id}/grading/average',
@@ -81,23 +91,33 @@ export class PerformanceService {
81
91
  *
82
92
  * Kwargs
83
93
  * course_id
84
- * @param courseId
85
- * @param org
86
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
87
- * @param format Format
88
- *
89
- * * `json` - json
90
- * @param includeMainPlatform Include main platform data
91
94
  * @returns AvgCourseGradeWithCutoff
92
95
  * @throws ApiError
93
96
  */
94
- public static performanceOrgsCoursesGradingAverageWithCutoffRetrieve(
97
+ public static performanceOrgsCoursesGradingAverageWithCutoffRetrieve({
98
+ courseId,
99
+ org,
100
+ departmentId,
101
+ format = 'json',
102
+ includeMainPlatform = true,
103
+ }: {
95
104
  courseId: string,
96
105
  org: string,
106
+ /**
107
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
108
+ */
97
109
  departmentId?: number,
98
- format: 'json' = 'json',
99
- includeMainPlatform: boolean = true,
100
- ): CancelablePromise<AvgCourseGradeWithCutoff> {
110
+ /**
111
+ * Format
112
+ *
113
+ * * `json` - json
114
+ */
115
+ format?: 'json',
116
+ /**
117
+ * Include main platform data
118
+ */
119
+ includeMainPlatform?: boolean,
120
+ }): CancelablePromise<AvgCourseGradeWithCutoff> {
101
121
  return __request(OpenAPI, {
102
122
  method: 'GET',
103
123
  url: '/api/performance/orgs/{org}/courses/{course_id}/grading/average-with-cutoff',
@@ -117,23 +137,33 @@ export class PerformanceService {
117
137
  *
118
138
  * Kwargs
119
139
  * course_id <required>
120
- * @param courseId
121
- * @param org
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 format Format
124
- *
125
- * * `json` - json
126
- * @param includeMainPlatform Include main platform data
127
140
  * @returns CourseGradingDetail
128
141
  * @throws ApiError
129
142
  */
130
- public static performanceOrgsCoursesGradingDetailRetrieve(
143
+ public static performanceOrgsCoursesGradingDetailRetrieve({
144
+ courseId,
145
+ org,
146
+ departmentId,
147
+ format = 'json',
148
+ includeMainPlatform = true,
149
+ }: {
131
150
  courseId: string,
132
151
  org: string,
152
+ /**
153
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
154
+ */
133
155
  departmentId?: number,
134
- format: 'json' = 'json',
135
- includeMainPlatform: boolean = true,
136
- ): CancelablePromise<CourseGradingDetail> {
156
+ /**
157
+ * Format
158
+ *
159
+ * * `json` - json
160
+ */
161
+ format?: 'json',
162
+ /**
163
+ * Include main platform data
164
+ */
165
+ includeMainPlatform?: boolean,
166
+ }): CancelablePromise<CourseGradingDetail> {
137
167
  return __request(OpenAPI, {
138
168
  method: 'GET',
139
169
  url: '/api/performance/orgs/{org}/courses/{course_id}/grading/detail',
@@ -153,23 +183,33 @@ export class PerformanceService {
153
183
  *
154
184
  * Kwargs
155
185
  * course_id <required>
156
- * @param courseId
157
- * @param org
158
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
159
- * @param format Format
160
- *
161
- * * `json` - json
162
- * @param includeMainPlatform Include main platform data
163
186
  * @returns GradingPerUser
164
187
  * @throws ApiError
165
188
  */
166
- public static performanceOrgsCoursesGradingPerLearnerRetrieve(
189
+ public static performanceOrgsCoursesGradingPerLearnerRetrieve({
190
+ courseId,
191
+ org,
192
+ departmentId,
193
+ format = 'json',
194
+ includeMainPlatform = true,
195
+ }: {
167
196
  courseId: string,
168
197
  org: string,
198
+ /**
199
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
200
+ */
169
201
  departmentId?: number,
170
- format: 'json' = 'json',
171
- includeMainPlatform: boolean = true,
172
- ): CancelablePromise<GradingPerUser> {
202
+ /**
203
+ * Format
204
+ *
205
+ * * `json` - json
206
+ */
207
+ format?: 'json',
208
+ /**
209
+ * Include main platform data
210
+ */
211
+ includeMainPlatform?: boolean,
212
+ }): CancelablePromise<GradingPerUser> {
173
213
  return __request(OpenAPI, {
174
214
  method: 'GET',
175
215
  url: '/api/performance/orgs/{org}/courses/{course_id}/grading/per-learner',
@@ -202,23 +242,33 @@ export class PerformanceService {
202
242
  * }, ...
203
243
  * ]
204
244
  * }
205
- * @param courseId
206
- * @param org
207
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
208
- * @param format Format
209
- *
210
- * * `json` - json
211
- * @param includeMainPlatform Include main platform data
212
245
  * @returns CourseGradeSummary
213
246
  * @throws ApiError
214
247
  */
215
- public static performanceOrgsCoursesGradingSummaryRetrieve(
248
+ public static performanceOrgsCoursesGradingSummaryRetrieve({
249
+ courseId,
250
+ org,
251
+ departmentId,
252
+ format = 'json',
253
+ includeMainPlatform = true,
254
+ }: {
216
255
  courseId: string,
217
256
  org: string,
257
+ /**
258
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
259
+ */
218
260
  departmentId?: number,
219
- format: 'json' = 'json',
220
- includeMainPlatform: boolean = true,
221
- ): CancelablePromise<CourseGradeSummary> {
261
+ /**
262
+ * Format
263
+ *
264
+ * * `json` - json
265
+ */
266
+ format?: 'json',
267
+ /**
268
+ * Include main platform data
269
+ */
270
+ includeMainPlatform?: boolean,
271
+ }): CancelablePromise<CourseGradeSummary> {
222
272
  return __request(OpenAPI, {
223
273
  method: 'GET',
224
274
  url: '/api/performance/orgs/{org}/courses/{course_id}/grading/summary',
@@ -252,21 +302,31 @@ export class PerformanceService {
252
302
  * Access Control:
253
303
  * - Platform admins can access any grade data
254
304
  * - Learners can access their own grade data
255
- * @param org
256
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
257
- * @param format Format
258
- *
259
- * * `json` - json
260
- * @param includeMainPlatform Include main platform data
261
305
  * @returns Average
262
306
  * @throws ApiError
263
307
  */
264
- public static performanceOrgsGradingAverageRetrieve(
308
+ public static performanceOrgsGradingAverageRetrieve({
309
+ org,
310
+ departmentId,
311
+ format = 'json',
312
+ includeMainPlatform = true,
313
+ }: {
265
314
  org: string,
315
+ /**
316
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
317
+ */
266
318
  departmentId?: number,
267
- format: 'json' = 'json',
268
- includeMainPlatform: boolean = true,
269
- ): CancelablePromise<Average> {
319
+ /**
320
+ * Format
321
+ *
322
+ * * `json` - json
323
+ */
324
+ format?: 'json',
325
+ /**
326
+ * Include main platform data
327
+ */
328
+ includeMainPlatform?: boolean,
329
+ }): CancelablePromise<Average> {
270
330
  return __request(OpenAPI, {
271
331
  method: 'GET',
272
332
  url: '/api/performance/orgs/{org}/grading/average',
@@ -292,25 +352,41 @@ export class PerformanceService {
292
352
  * - Enrollment count
293
353
  * - Number of students who passed
294
354
  * - Average grade
295
- * @param org
296
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
297
- * @param format Format
298
- *
299
- * * `json` - json
300
- * @param includeMainPlatform Include main platform data
301
- * @param length Size of data to return
302
- * @param page Page offset
303
355
  * @returns PerformanceGradesPerCourse
304
356
  * @throws ApiError
305
357
  */
306
- public static performanceOrgsGradingPerCourseRetrieve(
358
+ public static performanceOrgsGradingPerCourseRetrieve({
359
+ org,
360
+ departmentId,
361
+ format = 'json',
362
+ includeMainPlatform = true,
363
+ length,
364
+ page,
365
+ }: {
307
366
  org: string,
367
+ /**
368
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
369
+ */
308
370
  departmentId?: number,
309
- format: 'json' = 'json',
310
- includeMainPlatform: boolean = true,
371
+ /**
372
+ * Format
373
+ *
374
+ * * `json` - json
375
+ */
376
+ format?: 'json',
377
+ /**
378
+ * Include main platform data
379
+ */
380
+ includeMainPlatform?: boolean,
381
+ /**
382
+ * Size of data to return
383
+ */
311
384
  length?: number,
385
+ /**
386
+ * Page offset
387
+ */
312
388
  page?: number,
313
- ): CancelablePromise<PerformanceGradesPerCourse> {
389
+ }): CancelablePromise<PerformanceGradesPerCourse> {
314
390
  return __request(OpenAPI, {
315
391
  method: 'GET',
316
392
  url: '/api/performance/orgs/{org}/grading/per-course',