@iblai/iblai-api 3.48.3-ai-plus → 3.48.4-ai

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 (162) hide show
  1. package/dist/index.cjs.js +5918 -6748
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +5919 -6747
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +5918 -6748
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +1 -40
  8. package/dist/types/models/{VoiceProviderEnum.d.ts → ProviderEnum.d.ts} +1 -1
  9. package/dist/types/models/Voice.d.ts +2 -2
  10. package/dist/types/services/AiAccountService.d.ts +66 -41
  11. package/dist/types/services/AiAnalyticsService.d.ts +2021 -923
  12. package/dist/types/services/AiIndexService.d.ts +78 -71
  13. package/dist/types/services/AiMarketingService.d.ts +17 -13
  14. package/dist/types/services/AiMediaService.d.ts +45 -41
  15. package/dist/types/services/AiMentorService.d.ts +1545 -1037
  16. package/dist/types/services/AiPromptService.d.ts +342 -228
  17. package/dist/types/services/AnalyticsService.d.ts +42 -13
  18. package/dist/types/services/AudienceService.d.ts +345 -149
  19. package/dist/types/services/CareerService.d.ts +117 -90
  20. package/dist/types/services/CatalogService.d.ts +3735 -1072
  21. package/dist/types/services/CoreService.d.ts +441 -215
  22. package/dist/types/services/CredentialsService.d.ts +173 -138
  23. package/dist/types/services/DepartmentsService.d.ts +53 -16
  24. package/dist/types/services/EngagementService.d.ts +459 -179
  25. package/dist/types/services/FeaturesService.d.ts +16 -7
  26. package/dist/types/services/FinanceService.d.ts +49 -20
  27. package/dist/types/services/MediaResourcesService.d.ts +243 -67
  28. package/dist/types/services/NotificationBuilderService.d.ts +31 -17
  29. package/dist/types/services/NotificationService.d.ts +56 -49
  30. package/dist/types/services/OrgsService.d.ts +106 -77
  31. package/dist/types/services/OverviewService.d.ts +154 -55
  32. package/dist/types/services/PerformanceService.d.ts +132 -56
  33. package/dist/types/services/PerlearnerService.d.ts +431 -217
  34. package/dist/types/services/PlatformService.d.ts +221 -116
  35. package/dist/types/services/ProviderAssociationService.d.ts +3 -2
  36. package/dist/types/services/ProvidersService.d.ts +27 -18
  37. package/dist/types/services/ProvisionService.d.ts +3 -2
  38. package/dist/types/services/RecommendationsService.d.ts +3 -3
  39. package/dist/types/services/ReportsService.d.ts +22 -16
  40. package/dist/types/services/RolesService.d.ts +8 -6
  41. package/dist/types/services/SearchService.d.ts +730 -195
  42. package/dist/types/services/ServiceService.d.ts +33 -29
  43. package/dist/types/services/SkillsService.d.ts +40 -32
  44. package/dist/types/services/UserGroupsService.d.ts +53 -16
  45. package/package.json +1 -1
  46. package/src/core/OpenAPI.ts +1 -1
  47. package/src/index.ts +1 -40
  48. package/src/models/{VoiceProviderEnum.ts → ProviderEnum.ts} +1 -1
  49. package/src/models/Voice.ts +2 -2
  50. package/src/services/AiAccountService.ts +81 -55
  51. package/src/services/AiAnalyticsService.ts +2422 -1181
  52. package/src/services/AiIndexService.ts +112 -87
  53. package/src/services/AiMarketingService.ts +25 -16
  54. package/src/services/AiMediaService.ts +67 -51
  55. package/src/services/AiMentorService.ts +2105 -1265
  56. package/src/services/AiPromptService.ts +484 -275
  57. package/src/services/AnalyticsService.ts +45 -16
  58. package/src/services/AudienceService.ts +380 -184
  59. package/src/services/CareerService.ts +144 -117
  60. package/src/services/CatalogService.ts +3995 -1332
  61. package/src/services/CoreService.ts +523 -291
  62. package/src/services/CredentialsService.ts +253 -173
  63. package/src/services/DepartmentsService.ts +56 -19
  64. package/src/services/EngagementService.ts +528 -236
  65. package/src/services/FeaturesService.ts +19 -10
  66. package/src/services/FinanceService.ts +54 -25
  67. package/src/services/MediaResourcesService.ts +251 -75
  68. package/src/services/NotificationBuilderService.ts +36 -22
  69. package/src/services/NotificationService.ts +73 -61
  70. package/src/services/OrgsService.ts +135 -106
  71. package/src/services/OverviewService.ts +172 -73
  72. package/src/services/PerformanceService.ts +153 -77
  73. package/src/services/PerlearnerService.ts +591 -279
  74. package/src/services/PlatformService.ts +278 -157
  75. package/src/services/ProviderAssociationService.ts +4 -3
  76. package/src/services/ProvidersService.ts +36 -27
  77. package/src/services/ProvisionService.ts +4 -3
  78. package/src/services/RecommendationsService.ts +5 -4
  79. package/src/services/ReportsService.ts +28 -22
  80. package/src/services/RolesService.ts +10 -8
  81. package/src/services/SearchService.ts +771 -236
  82. package/src/services/ServiceService.ts +49 -39
  83. package/src/services/SkillsService.ts +56 -44
  84. package/src/services/UserGroupsService.ts +56 -19
  85. package/dist/types/models/Bot.d.ts +0 -15
  86. package/dist/types/models/BotCommand.d.ts +0 -6
  87. package/dist/types/models/BotCreate.d.ts +0 -12
  88. package/dist/types/models/DataSet.d.ts +0 -21
  89. package/dist/types/models/DataSetCreate.d.ts +0 -12
  90. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  91. package/dist/types/models/DiscordConfig.d.ts +0 -7
  92. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  93. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  94. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  95. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  96. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  97. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  98. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  99. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  100. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  101. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  102. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  103. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  104. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  105. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  106. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  107. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  108. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  109. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  110. package/dist/types/models/SlackConfig.d.ts +0 -8
  111. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  112. package/dist/types/models/SlackWebhook.d.ts +0 -6
  113. package/dist/types/models/TeamsConfig.d.ts +0 -7
  114. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  115. package/dist/types/models/Training.d.ts +0 -41
  116. package/dist/types/models/TrainingCreate.d.ts +0 -31
  117. package/dist/types/models/WebexConfig.d.ts +0 -10
  118. package/dist/types/models/WebexWebhook.d.ts +0 -4
  119. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  120. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  121. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  122. package/dist/types/services/AiBotService.d.ts +0 -486
  123. package/dist/types/services/AiFinetuningService.d.ts +0 -162
  124. package/src/models/Bot.ts +0 -20
  125. package/src/models/BotCommand.ts +0 -11
  126. package/src/models/BotCreate.ts +0 -17
  127. package/src/models/DataSet.ts +0 -26
  128. package/src/models/DataSetCreate.ts +0 -17
  129. package/src/models/DataSetStatusEnum.ts +0 -16
  130. package/src/models/DiscordConfig.ts +0 -12
  131. package/src/models/DiscordUserConfig.ts +0 -15
  132. package/src/models/DiscordWebhook.ts +0 -11
  133. package/src/models/PaginatedDataSetList.ts +0 -12
  134. package/src/models/PaginatedTrainingList.ts +0 -12
  135. package/src/models/PatchedBotCommand.ts +0 -11
  136. package/src/models/PatchedBotCreate.ts +0 -17
  137. package/src/models/PatchedDataSet.ts +0 -26
  138. package/src/models/PatchedDiscordConfig.ts +0 -12
  139. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  140. package/src/models/PatchedSlackConfig.ts +0 -13
  141. package/src/models/PatchedSlackUserConfig.ts +0 -22
  142. package/src/models/PatchedTeamsConfig.ts +0 -12
  143. package/src/models/PatchedTrainingCreate.ts +0 -36
  144. package/src/models/PatchedWebexConfig.ts +0 -15
  145. package/src/models/PatchedWhatsappConfig.ts +0 -16
  146. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  147. package/src/models/Provider05cEnum.ts +0 -18
  148. package/src/models/Provider63aEnum.ts +0 -10
  149. package/src/models/SlackConfig.ts +0 -13
  150. package/src/models/SlackUserConfig.ts +0 -22
  151. package/src/models/SlackWebhook.ts +0 -11
  152. package/src/models/TeamsConfig.ts +0 -12
  153. package/src/models/TeamsWebhook.ts +0 -22
  154. package/src/models/Training.ts +0 -46
  155. package/src/models/TrainingCreate.ts +0 -36
  156. package/src/models/WebexConfig.ts +0 -15
  157. package/src/models/WebexWebhook.ts +0 -9
  158. package/src/models/WhatAppWebHook.ts +0 -8
  159. package/src/models/WhatsappConfig.ts +0 -16
  160. package/src/models/WhatsappUserConfig.ts +0 -15
  161. package/src/services/AiBotService.ts +0 -1174
  162. package/src/services/AiFinetuningService.ts +0 -402
@@ -22,18 +22,34 @@ export declare class OverviewService {
22
22
  * Default time range is the last 7 days if no dates are specified.
23
23
  *
24
24
  * An active user is defined as a user with any activity within the past 30 days.
25
- * @param org
26
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
27
- * @param endDate end date. ISO 8601
28
- * @param format Format
29
- *
30
- * * `json` - json
31
- * @param includeMainPlatform Include main platform data
32
- * @param startDate start date. ISO 8601
33
25
  * @returns OvertimeWithChangeInfo
34
26
  * @throws ApiError
35
27
  */
36
- static overviewOrgsActiveUsersRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OvertimeWithChangeInfo>;
28
+ static overviewOrgsActiveUsersRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
29
+ org: string;
30
+ /**
31
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
32
+ */
33
+ departmentId?: number;
34
+ /**
35
+ * end date. ISO 8601
36
+ */
37
+ endDate?: string;
38
+ /**
39
+ * Format
40
+ *
41
+ * * `json` - json
42
+ */
43
+ format?: 'json';
44
+ /**
45
+ * Include main platform data
46
+ */
47
+ includeMainPlatform?: boolean;
48
+ /**
49
+ * start date. ISO 8601
50
+ */
51
+ startDate?: string;
52
+ }): CancelablePromise<OvertimeWithChangeInfo>;
37
53
  /**
38
54
  * Get average grade value for platform, course, or user.
39
55
  *
@@ -53,16 +69,26 @@ export declare class OverviewService {
53
69
  * Access Control:
54
70
  * - Platform admins can access any grade data
55
71
  * - Learners can access their own grade data
56
- * @param org
57
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
58
- * @param format Format
59
- *
60
- * * `json` - json
61
- * @param includeMainPlatform Include main platform data
62
72
  * @returns Average
63
73
  * @throws ApiError
64
74
  */
65
- static overviewOrgsAverageGradeRetrieve(org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<Average>;
75
+ static overviewOrgsAverageGradeRetrieve({ org, departmentId, format, includeMainPlatform, }: {
76
+ org: string;
77
+ /**
78
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
79
+ */
80
+ departmentId?: number;
81
+ /**
82
+ * Format
83
+ *
84
+ * * `json` - json
85
+ */
86
+ format?: 'json';
87
+ /**
88
+ * Include main platform data
89
+ */
90
+ includeMainPlatform?: boolean;
91
+ }): CancelablePromise<Average>;
66
92
  /**
67
93
  * Get course completion summary metrics over time.
68
94
  *
@@ -82,18 +108,34 @@ export declare class OverviewService {
82
108
  * - Change metrics compared to previous periods
83
109
  *
84
110
  * Default time range is the last 7 days if no dates are specified.
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 endDate end date. ISO 8601
88
- * @param format Format
89
- *
90
- * * `json` - json
91
- * @param includeMainPlatform Include main platform data
92
- * @param startDate start date. ISO 8601
93
111
  * @returns CourseCompletionSummaryOvertime
94
112
  * @throws ApiError
95
113
  */
96
- static overviewOrgsCoursesCompletionsRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<CourseCompletionSummaryOvertime>;
114
+ static overviewOrgsCoursesCompletionsRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
115
+ org: string;
116
+ /**
117
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
118
+ */
119
+ departmentId?: number;
120
+ /**
121
+ * end date. ISO 8601
122
+ */
123
+ endDate?: string;
124
+ /**
125
+ * Format
126
+ *
127
+ * * `json` - json
128
+ */
129
+ format?: 'json';
130
+ /**
131
+ * Include main platform data
132
+ */
133
+ includeMainPlatform?: boolean;
134
+ /**
135
+ * start date. ISO 8601
136
+ */
137
+ startDate?: string;
138
+ }): CancelablePromise<CourseCompletionSummaryOvertime>;
97
139
  /**
98
140
  * List all learners on the platform with aggregated metrics.
99
141
  *
@@ -109,19 +151,38 @@ export declare class OverviewService {
109
151
  *
110
152
  * Returns:
111
153
  * A paginated list of learners with their associated metrics.
112
- * @param org
113
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
114
- * @param format Format
115
- *
116
- * * `json` - json
117
- * @param includeMainPlatform Include main platform data
118
- * @param length Size of data to return
119
- * @param page Page offset
120
- * @param search Search string for learner
121
154
  * @returns PerlearnerUserList
122
155
  * @throws ApiError
123
156
  */
124
- static overviewOrgsLearnersRetrieve(org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number, search?: string): CancelablePromise<PerlearnerUserList>;
157
+ static overviewOrgsLearnersRetrieve({ org, departmentId, format, includeMainPlatform, length, page, search, }: {
158
+ org: string;
159
+ /**
160
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
161
+ */
162
+ departmentId?: number;
163
+ /**
164
+ * Format
165
+ *
166
+ * * `json` - json
167
+ */
168
+ format?: 'json';
169
+ /**
170
+ * Include main platform data
171
+ */
172
+ includeMainPlatform?: boolean;
173
+ /**
174
+ * Size of data to return
175
+ */
176
+ length?: number;
177
+ /**
178
+ * Page offset
179
+ */
180
+ page?: number;
181
+ /**
182
+ * Search string for learner
183
+ */
184
+ search?: string;
185
+ }): CancelablePromise<PerlearnerUserList>;
125
186
  /**
126
187
  * Get time spent statistics on a per-course basis.
127
188
  *
@@ -140,20 +201,42 @@ export declare class OverviewService {
140
201
  * - Total time spent (in seconds)
141
202
  * - Formatted time spent (human-readable)
142
203
  * - Percentage of total platform time
143
- * @param org
144
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
145
- * @param endDate end date. ISO 8601
146
- * @param format Format
147
- *
148
- * * `json` - json
149
- * @param includeMainPlatform Include main platform data
150
- * @param length Size of data to return
151
- * @param page Page offset
152
- * @param startDate start date. ISO 8601
153
204
  * @returns TimeSpentPerCourse
154
205
  * @throws ApiError
155
206
  */
156
- static overviewOrgsMostActiveCoursesRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number, startDate?: string): CancelablePromise<TimeSpentPerCourse>;
207
+ static overviewOrgsMostActiveCoursesRetrieve({ org, departmentId, endDate, format, includeMainPlatform, length, page, startDate, }: {
208
+ org: string;
209
+ /**
210
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
211
+ */
212
+ departmentId?: number;
213
+ /**
214
+ * end date. ISO 8601
215
+ */
216
+ endDate?: string;
217
+ /**
218
+ * Format
219
+ *
220
+ * * `json` - json
221
+ */
222
+ format?: 'json';
223
+ /**
224
+ * Include main platform data
225
+ */
226
+ includeMainPlatform?: boolean;
227
+ /**
228
+ * Size of data to return
229
+ */
230
+ length?: number;
231
+ /**
232
+ * Page offset
233
+ */
234
+ page?: number;
235
+ /**
236
+ * start date. ISO 8601
237
+ */
238
+ startDate?: string;
239
+ }): CancelablePromise<TimeSpentPerCourse>;
157
240
  /**
158
241
  * Get registered user counts over time.
159
242
  *
@@ -169,16 +252,32 @@ export declare class OverviewService {
169
252
  * compared to previous periods.
170
253
  *
171
254
  * Default time range is the last 7 days if no dates are specified.
172
- * @param org
173
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
174
- * @param endDate end date. ISO 8601
175
- * @param format Format
176
- *
177
- * * `json` - json
178
- * @param includeMainPlatform Include main platform data
179
- * @param startDate start date. ISO 8601
180
255
  * @returns OvertimeWithChangeInfo
181
256
  * @throws ApiError
182
257
  */
183
- static overviewOrgsRegisteredUsersRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OvertimeWithChangeInfo>;
258
+ static overviewOrgsRegisteredUsersRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
259
+ org: string;
260
+ /**
261
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
262
+ */
263
+ departmentId?: number;
264
+ /**
265
+ * end date. ISO 8601
266
+ */
267
+ endDate?: string;
268
+ /**
269
+ * Format
270
+ *
271
+ * * `json` - json
272
+ */
273
+ format?: 'json';
274
+ /**
275
+ * Include main platform data
276
+ */
277
+ includeMainPlatform?: boolean;
278
+ /**
279
+ * start date. ISO 8601
280
+ */
281
+ startDate?: string;
282
+ }): CancelablePromise<OvertimeWithChangeInfo>;
184
283
  }
@@ -25,17 +25,27 @@ export declare class PerformanceService {
25
25
  * Access Control:
26
26
  * - Platform admins can access any grade data
27
27
  * - Learners can access their own grade data
28
- * @param courseId
29
- * @param org
30
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
31
- * @param format Format
32
- *
33
- * * `json` - json
34
- * @param includeMainPlatform Include main platform data
35
28
  * @returns Average
36
29
  * @throws ApiError
37
30
  */
38
- static performanceOrgsCoursesGradingAverageRetrieve(courseId: string, org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<Average>;
31
+ static performanceOrgsCoursesGradingAverageRetrieve({ courseId, org, departmentId, format, includeMainPlatform, }: {
32
+ courseId: string;
33
+ org: string;
34
+ /**
35
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
36
+ */
37
+ departmentId?: number;
38
+ /**
39
+ * Format
40
+ *
41
+ * * `json` - json
42
+ */
43
+ format?: 'json';
44
+ /**
45
+ * Include main platform data
46
+ */
47
+ includeMainPlatform?: boolean;
48
+ }): CancelablePromise<Average>;
39
49
  /**
40
50
  * Returns average course grade and grade cuttoff
41
51
  *
@@ -55,49 +65,79 @@ export declare class PerformanceService {
55
65
  *
56
66
  * Kwargs
57
67
  * course_id
58
- * @param courseId
59
- * @param org
60
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
61
- * @param format Format
62
- *
63
- * * `json` - json
64
- * @param includeMainPlatform Include main platform data
65
68
  * @returns AvgCourseGradeWithCutoff
66
69
  * @throws ApiError
67
70
  */
68
- static performanceOrgsCoursesGradingAverageWithCutoffRetrieve(courseId: string, org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<AvgCourseGradeWithCutoff>;
71
+ static performanceOrgsCoursesGradingAverageWithCutoffRetrieve({ courseId, org, departmentId, format, includeMainPlatform, }: {
72
+ courseId: string;
73
+ org: string;
74
+ /**
75
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
76
+ */
77
+ departmentId?: number;
78
+ /**
79
+ * Format
80
+ *
81
+ * * `json` - json
82
+ */
83
+ format?: 'json';
84
+ /**
85
+ * Include main platform data
86
+ */
87
+ includeMainPlatform?: boolean;
88
+ }): CancelablePromise<AvgCourseGradeWithCutoff>;
69
89
  /**
70
90
  * Grading summary for the entire course overview in a tree-like format
71
91
  *
72
92
  * Kwargs
73
93
  * course_id <required>
74
- * @param courseId
75
- * @param org
76
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
77
- * @param format Format
78
- *
79
- * * `json` - json
80
- * @param includeMainPlatform Include main platform data
81
94
  * @returns CourseGradingDetail
82
95
  * @throws ApiError
83
96
  */
84
- static performanceOrgsCoursesGradingDetailRetrieve(courseId: string, org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<CourseGradingDetail>;
97
+ static performanceOrgsCoursesGradingDetailRetrieve({ courseId, org, departmentId, format, includeMainPlatform, }: {
98
+ courseId: string;
99
+ org: string;
100
+ /**
101
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
102
+ */
103
+ departmentId?: number;
104
+ /**
105
+ * Format
106
+ *
107
+ * * `json` - json
108
+ */
109
+ format?: 'json';
110
+ /**
111
+ * Include main platform data
112
+ */
113
+ includeMainPlatform?: boolean;
114
+ }): CancelablePromise<CourseGradingDetail>;
85
115
  /**
86
116
  * Grading information per enrolled user in a course
87
117
  *
88
118
  * Kwargs
89
119
  * course_id <required>
90
- * @param courseId
91
- * @param org
92
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
93
- * @param format Format
94
- *
95
- * * `json` - json
96
- * @param includeMainPlatform Include main platform data
97
120
  * @returns GradingPerUser
98
121
  * @throws ApiError
99
122
  */
100
- static performanceOrgsCoursesGradingPerLearnerRetrieve(courseId: string, org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<GradingPerUser>;
123
+ static performanceOrgsCoursesGradingPerLearnerRetrieve({ courseId, org, departmentId, format, includeMainPlatform, }: {
124
+ courseId: string;
125
+ org: string;
126
+ /**
127
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
128
+ */
129
+ departmentId?: number;
130
+ /**
131
+ * Format
132
+ *
133
+ * * `json` - json
134
+ */
135
+ format?: 'json';
136
+ /**
137
+ * Include main platform data
138
+ */
139
+ includeMainPlatform?: boolean;
140
+ }): CancelablePromise<GradingPerUser>;
101
141
  /**
102
142
  * Returns average grades across various assignment types in a course
103
143
  *
@@ -116,17 +156,27 @@ export declare class PerformanceService {
116
156
  * }, ...
117
157
  * ]
118
158
  * }
119
- * @param courseId
120
- * @param org
121
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
122
- * @param format Format
123
- *
124
- * * `json` - json
125
- * @param includeMainPlatform Include main platform data
126
159
  * @returns CourseGradeSummary
127
160
  * @throws ApiError
128
161
  */
129
- static performanceOrgsCoursesGradingSummaryRetrieve(courseId: string, org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<CourseGradeSummary>;
162
+ static performanceOrgsCoursesGradingSummaryRetrieve({ courseId, org, departmentId, format, includeMainPlatform, }: {
163
+ courseId: string;
164
+ org: string;
165
+ /**
166
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
167
+ */
168
+ departmentId?: number;
169
+ /**
170
+ * Format
171
+ *
172
+ * * `json` - json
173
+ */
174
+ format?: 'json';
175
+ /**
176
+ * Include main platform data
177
+ */
178
+ includeMainPlatform?: boolean;
179
+ }): CancelablePromise<CourseGradeSummary>;
130
180
  /**
131
181
  * Get average grade value for platform, course, or user.
132
182
  *
@@ -146,16 +196,26 @@ export declare class PerformanceService {
146
196
  * Access Control:
147
197
  * - Platform admins can access any grade data
148
198
  * - Learners can access their own grade data
149
- * @param org
150
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
151
- * @param format Format
152
- *
153
- * * `json` - json
154
- * @param includeMainPlatform Include main platform data
155
199
  * @returns Average
156
200
  * @throws ApiError
157
201
  */
158
- static performanceOrgsGradingAverageRetrieve(org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<Average>;
202
+ static performanceOrgsGradingAverageRetrieve({ org, departmentId, format, includeMainPlatform, }: {
203
+ org: string;
204
+ /**
205
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
206
+ */
207
+ departmentId?: number;
208
+ /**
209
+ * Format
210
+ *
211
+ * * `json` - json
212
+ */
213
+ format?: 'json';
214
+ /**
215
+ * Include main platform data
216
+ */
217
+ includeMainPlatform?: boolean;
218
+ }): CancelablePromise<Average>;
159
219
  /**
160
220
  * List grade-related performance data for all courses.
161
221
  *
@@ -168,16 +228,32 @@ export declare class PerformanceService {
168
228
  * - Enrollment count
169
229
  * - Number of students who passed
170
230
  * - Average grade
171
- * @param org
172
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
173
- * @param format Format
174
- *
175
- * * `json` - json
176
- * @param includeMainPlatform Include main platform data
177
- * @param length Size of data to return
178
- * @param page Page offset
179
231
  * @returns PerformanceGradesPerCourse
180
232
  * @throws ApiError
181
233
  */
182
- static performanceOrgsGradingPerCourseRetrieve(org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number): CancelablePromise<PerformanceGradesPerCourse>;
234
+ static performanceOrgsGradingPerCourseRetrieve({ org, departmentId, format, includeMainPlatform, length, page, }: {
235
+ org: string;
236
+ /**
237
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
238
+ */
239
+ departmentId?: number;
240
+ /**
241
+ * Format
242
+ *
243
+ * * `json` - json
244
+ */
245
+ format?: 'json';
246
+ /**
247
+ * Include main platform data
248
+ */
249
+ includeMainPlatform?: boolean;
250
+ /**
251
+ * Size of data to return
252
+ */
253
+ length?: number;
254
+ /**
255
+ * Page offset
256
+ */
257
+ page?: number;
258
+ }): CancelablePromise<PerformanceGradesPerCourse>;
183
259
  }