@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.
- package/dist/index.cjs.js +5918 -6748
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5919 -6747
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +5918 -6748
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -40
- package/dist/types/models/{VoiceProviderEnum.d.ts → ProviderEnum.d.ts} +1 -1
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/services/AiAccountService.d.ts +66 -41
- package/dist/types/services/AiAnalyticsService.d.ts +2021 -923
- package/dist/types/services/AiIndexService.d.ts +78 -71
- package/dist/types/services/AiMarketingService.d.ts +17 -13
- package/dist/types/services/AiMediaService.d.ts +45 -41
- package/dist/types/services/AiMentorService.d.ts +1545 -1037
- package/dist/types/services/AiPromptService.d.ts +342 -228
- package/dist/types/services/AnalyticsService.d.ts +42 -13
- package/dist/types/services/AudienceService.d.ts +345 -149
- package/dist/types/services/CareerService.d.ts +117 -90
- package/dist/types/services/CatalogService.d.ts +3735 -1072
- package/dist/types/services/CoreService.d.ts +441 -215
- package/dist/types/services/CredentialsService.d.ts +173 -138
- package/dist/types/services/DepartmentsService.d.ts +53 -16
- package/dist/types/services/EngagementService.d.ts +459 -179
- package/dist/types/services/FeaturesService.d.ts +16 -7
- package/dist/types/services/FinanceService.d.ts +49 -20
- package/dist/types/services/MediaResourcesService.d.ts +243 -67
- package/dist/types/services/NotificationBuilderService.d.ts +31 -17
- package/dist/types/services/NotificationService.d.ts +56 -49
- package/dist/types/services/OrgsService.d.ts +106 -77
- package/dist/types/services/OverviewService.d.ts +154 -55
- package/dist/types/services/PerformanceService.d.ts +132 -56
- package/dist/types/services/PerlearnerService.d.ts +431 -217
- package/dist/types/services/PlatformService.d.ts +221 -116
- package/dist/types/services/ProviderAssociationService.d.ts +3 -2
- package/dist/types/services/ProvidersService.d.ts +27 -18
- package/dist/types/services/ProvisionService.d.ts +3 -2
- package/dist/types/services/RecommendationsService.d.ts +3 -3
- package/dist/types/services/ReportsService.d.ts +22 -16
- package/dist/types/services/RolesService.d.ts +8 -6
- package/dist/types/services/SearchService.d.ts +730 -195
- package/dist/types/services/ServiceService.d.ts +33 -29
- package/dist/types/services/SkillsService.d.ts +40 -32
- package/dist/types/services/UserGroupsService.d.ts +53 -16
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -40
- package/src/models/{VoiceProviderEnum.ts → ProviderEnum.ts} +1 -1
- package/src/models/Voice.ts +2 -2
- package/src/services/AiAccountService.ts +81 -55
- package/src/services/AiAnalyticsService.ts +2422 -1181
- package/src/services/AiIndexService.ts +112 -87
- package/src/services/AiMarketingService.ts +25 -16
- package/src/services/AiMediaService.ts +67 -51
- package/src/services/AiMentorService.ts +2105 -1265
- package/src/services/AiPromptService.ts +484 -275
- package/src/services/AnalyticsService.ts +45 -16
- package/src/services/AudienceService.ts +380 -184
- package/src/services/CareerService.ts +144 -117
- package/src/services/CatalogService.ts +3995 -1332
- package/src/services/CoreService.ts +523 -291
- package/src/services/CredentialsService.ts +253 -173
- package/src/services/DepartmentsService.ts +56 -19
- package/src/services/EngagementService.ts +528 -236
- package/src/services/FeaturesService.ts +19 -10
- package/src/services/FinanceService.ts +54 -25
- package/src/services/MediaResourcesService.ts +251 -75
- package/src/services/NotificationBuilderService.ts +36 -22
- package/src/services/NotificationService.ts +73 -61
- package/src/services/OrgsService.ts +135 -106
- package/src/services/OverviewService.ts +172 -73
- package/src/services/PerformanceService.ts +153 -77
- package/src/services/PerlearnerService.ts +591 -279
- package/src/services/PlatformService.ts +278 -157
- package/src/services/ProviderAssociationService.ts +4 -3
- package/src/services/ProvidersService.ts +36 -27
- package/src/services/ProvisionService.ts +4 -3
- package/src/services/RecommendationsService.ts +5 -4
- package/src/services/ReportsService.ts +28 -22
- package/src/services/RolesService.ts +10 -8
- package/src/services/SearchService.ts +771 -236
- package/src/services/ServiceService.ts +49 -39
- package/src/services/SkillsService.ts +56 -44
- package/src/services/UserGroupsService.ts +56 -19
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DiscordConfig.d.ts +0 -7
- package/dist/types/models/DiscordUserConfig.d.ts +0 -10
- package/dist/types/models/DiscordWebhook.d.ts +0 -6
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/Provider05cEnum.d.ts +0 -14
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiBotService.d.ts +0 -486
- package/dist/types/services/AiFinetuningService.d.ts +0 -162
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- package/src/models/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DiscordConfig.ts +0 -12
- package/src/models/DiscordUserConfig.ts +0 -15
- package/src/models/DiscordWebhook.ts +0 -11
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiBotService.ts +0 -1174
- package/src/services/AiFinetuningService.ts +0 -402
|
@@ -19,13 +19,14 @@ export class PlatformService {
|
|
|
19
19
|
*
|
|
20
20
|
* Returns:
|
|
21
21
|
* A list of registered users with their profile information.
|
|
22
|
-
* @param org
|
|
23
22
|
* @returns any No response body
|
|
24
23
|
* @throws ApiError
|
|
25
24
|
*/
|
|
26
|
-
public static platformOrgsRetrieve(
|
|
25
|
+
public static platformOrgsRetrieve({
|
|
26
|
+
org,
|
|
27
|
+
}: {
|
|
27
28
|
org: string,
|
|
28
|
-
): CancelablePromise<any> {
|
|
29
|
+
}): CancelablePromise<any> {
|
|
29
30
|
return __request(OpenAPI, {
|
|
30
31
|
method: 'GET',
|
|
31
32
|
url: '/api/platform/orgs/{org}/',
|
|
@@ -42,15 +43,16 @@ export class PlatformService {
|
|
|
42
43
|
* Query Params
|
|
43
44
|
* course_id <required>
|
|
44
45
|
* user_id <optional>
|
|
45
|
-
* @param courseId
|
|
46
|
-
* @param org
|
|
47
46
|
* @returns any No response body
|
|
48
47
|
* @throws ApiError
|
|
49
48
|
*/
|
|
50
|
-
public static platformOrgsCoursesProgressRetrieve(
|
|
49
|
+
public static platformOrgsCoursesProgressRetrieve({
|
|
50
|
+
courseId,
|
|
51
|
+
org,
|
|
52
|
+
}: {
|
|
51
53
|
courseId: string,
|
|
52
54
|
org: string,
|
|
53
|
-
): CancelablePromise<any> {
|
|
55
|
+
}): CancelablePromise<any> {
|
|
54
56
|
return __request(OpenAPI, {
|
|
55
57
|
method: 'GET',
|
|
56
58
|
url: '/api/platform/orgs/{org}/courses/{course_id}/progress/',
|
|
@@ -65,15 +67,16 @@ export class PlatformService {
|
|
|
65
67
|
*
|
|
66
68
|
* Query Params
|
|
67
69
|
* 1. course_id <optional> e.g course-v1:Org+Course4+Run
|
|
68
|
-
* @param courseId
|
|
69
|
-
* @param org
|
|
70
70
|
* @returns any No response body
|
|
71
71
|
* @throws ApiError
|
|
72
72
|
*/
|
|
73
|
-
public static platformOrgsCoursesProgressAverageDaysToCompleteRetrieve(
|
|
73
|
+
public static platformOrgsCoursesProgressAverageDaysToCompleteRetrieve({
|
|
74
|
+
courseId,
|
|
75
|
+
org,
|
|
76
|
+
}: {
|
|
74
77
|
courseId: string,
|
|
75
78
|
org: string,
|
|
76
|
-
): CancelablePromise<any> {
|
|
79
|
+
}): CancelablePromise<any> {
|
|
77
80
|
return __request(OpenAPI, {
|
|
78
81
|
method: 'GET',
|
|
79
82
|
url: '/api/platform/orgs/{org}/courses/{course_id}/progress/average-days-to-complete',
|
|
@@ -88,15 +91,16 @@ export class PlatformService {
|
|
|
88
91
|
*
|
|
89
92
|
* Query Params
|
|
90
93
|
* 1. course_id <optional> e.g course-v1:Org+Course4+Run
|
|
91
|
-
* @param courseId
|
|
92
|
-
* @param org
|
|
93
94
|
* @returns any No response body
|
|
94
95
|
* @throws ApiError
|
|
95
96
|
*/
|
|
96
|
-
public static platformOrgsCoursesProgressAverageTimeToCompleteRetrieve(
|
|
97
|
+
public static platformOrgsCoursesProgressAverageTimeToCompleteRetrieve({
|
|
98
|
+
courseId,
|
|
99
|
+
org,
|
|
100
|
+
}: {
|
|
97
101
|
courseId: string,
|
|
98
102
|
org: string,
|
|
99
|
-
): CancelablePromise<any> {
|
|
103
|
+
}): CancelablePromise<any> {
|
|
100
104
|
return __request(OpenAPI, {
|
|
101
105
|
method: 'GET',
|
|
102
106
|
url: '/api/platform/orgs/{org}/courses/{course_id}/progress/average-time-to-complete',
|
|
@@ -120,15 +124,16 @@ export class PlatformService {
|
|
|
120
124
|
*
|
|
121
125
|
* Returns:
|
|
122
126
|
* A count of completions based on the specified filters.
|
|
123
|
-
* @param courseId
|
|
124
|
-
* @param org
|
|
125
127
|
* @returns any No response body
|
|
126
128
|
* @throws ApiError
|
|
127
129
|
*/
|
|
128
|
-
public static platformOrgsCoursesProgressCompletedRetrieve(
|
|
130
|
+
public static platformOrgsCoursesProgressCompletedRetrieve({
|
|
131
|
+
courseId,
|
|
132
|
+
org,
|
|
133
|
+
}: {
|
|
129
134
|
courseId: string,
|
|
130
135
|
org: string,
|
|
131
|
-
): CancelablePromise<any> {
|
|
136
|
+
}): CancelablePromise<any> {
|
|
132
137
|
return __request(OpenAPI, {
|
|
133
138
|
method: 'GET',
|
|
134
139
|
url: '/api/platform/orgs/{org}/courses/{course_id}/progress/completed',
|
|
@@ -140,15 +145,16 @@ export class PlatformService {
|
|
|
140
145
|
}
|
|
141
146
|
/**
|
|
142
147
|
* Average of total completed units
|
|
143
|
-
* @param courseId
|
|
144
|
-
* @param org
|
|
145
148
|
* @returns any No response body
|
|
146
149
|
* @throws ApiError
|
|
147
150
|
*/
|
|
148
|
-
public static platformOrgsCoursesProgressCompletionRateRetrieve(
|
|
151
|
+
public static platformOrgsCoursesProgressCompletionRateRetrieve({
|
|
152
|
+
courseId,
|
|
153
|
+
org,
|
|
154
|
+
}: {
|
|
149
155
|
courseId: string,
|
|
150
156
|
org: string,
|
|
151
|
-
): CancelablePromise<any> {
|
|
157
|
+
}): CancelablePromise<any> {
|
|
152
158
|
return __request(OpenAPI, {
|
|
153
159
|
method: 'GET',
|
|
154
160
|
url: '/api/platform/orgs/{org}/courses/{course_id}/progress/completion-rate',
|
|
@@ -168,15 +174,16 @@ export class PlatformService {
|
|
|
168
174
|
* Query Params
|
|
169
175
|
* 1. course_id <optional> e.g course-v1:Org+Course4+Run
|
|
170
176
|
* 2. user_id <optional> e.g developer@ibleducation.com or dev123 (username|email)
|
|
171
|
-
* @param courseId
|
|
172
|
-
* @param org
|
|
173
177
|
* @returns any No response body
|
|
174
178
|
* @throws ApiError
|
|
175
179
|
*/
|
|
176
|
-
public static platformOrgsCoursesProgressInProgressRetrieve(
|
|
180
|
+
public static platformOrgsCoursesProgressInProgressRetrieve({
|
|
181
|
+
courseId,
|
|
182
|
+
org,
|
|
183
|
+
}: {
|
|
177
184
|
courseId: string,
|
|
178
185
|
org: string,
|
|
179
|
-
): CancelablePromise<any> {
|
|
186
|
+
}): CancelablePromise<any> {
|
|
180
187
|
return __request(OpenAPI, {
|
|
181
188
|
method: 'GET',
|
|
182
189
|
url: '/api/platform/orgs/{org}/courses/{course_id}/progress/in-progress',
|
|
@@ -196,15 +203,16 @@ export class PlatformService {
|
|
|
196
203
|
* Query Params
|
|
197
204
|
* 1. course_id <optional> e.g course-v1:Org+Course4+Run
|
|
198
205
|
* 2. user_id <optional> e.g developer@ibleducation.com or dev123 (username|email)
|
|
199
|
-
* @param courseId
|
|
200
|
-
* @param org
|
|
201
206
|
* @returns any No response body
|
|
202
207
|
* @throws ApiError
|
|
203
208
|
*/
|
|
204
|
-
public static platformOrgsCoursesProgressStartedRetrieve(
|
|
209
|
+
public static platformOrgsCoursesProgressStartedRetrieve({
|
|
210
|
+
courseId,
|
|
211
|
+
org,
|
|
212
|
+
}: {
|
|
205
213
|
courseId: string,
|
|
206
214
|
org: string,
|
|
207
|
-
): CancelablePromise<any> {
|
|
215
|
+
}): CancelablePromise<any> {
|
|
208
216
|
return __request(OpenAPI, {
|
|
209
217
|
method: 'GET',
|
|
210
218
|
url: '/api/platform/orgs/{org}/courses/{course_id}/progress/started',
|
|
@@ -222,17 +230,18 @@ export class PlatformService {
|
|
|
222
230
|
*
|
|
223
231
|
* Attributes:
|
|
224
232
|
* value_key: The key used in the response for the count value
|
|
225
|
-
* @param courseId
|
|
226
|
-
* @param org
|
|
227
|
-
* @param userId
|
|
228
233
|
* @returns any No response body
|
|
229
234
|
* @throws ApiError
|
|
230
235
|
*/
|
|
231
|
-
public static platformOrgsCoursesUsersGradesPassedRetrieve(
|
|
236
|
+
public static platformOrgsCoursesUsersGradesPassedRetrieve({
|
|
237
|
+
courseId,
|
|
238
|
+
org,
|
|
239
|
+
userId,
|
|
240
|
+
}: {
|
|
232
241
|
courseId: string,
|
|
233
242
|
org: string,
|
|
234
243
|
userId: string,
|
|
235
|
-
): CancelablePromise<any> {
|
|
244
|
+
}): CancelablePromise<any> {
|
|
236
245
|
return __request(OpenAPI, {
|
|
237
246
|
method: 'GET',
|
|
238
247
|
url: '/api/platform/orgs/{org}/courses/{course_id}/users/{user_id}/grades/passed',
|
|
@@ -245,25 +254,35 @@ export class PlatformService {
|
|
|
245
254
|
}
|
|
246
255
|
/**
|
|
247
256
|
* Gives Percentage of units completed in course for a specific learner
|
|
248
|
-
* @param courseId
|
|
249
|
-
* @param org
|
|
250
|
-
* @param userId
|
|
251
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
252
|
-
* @param format Format
|
|
253
|
-
*
|
|
254
|
-
* * `json` - json
|
|
255
|
-
* @param includeMainPlatform Include main platform data
|
|
256
257
|
* @returns PerlearnerCourseProgress
|
|
257
258
|
* @throws ApiError
|
|
258
259
|
*/
|
|
259
|
-
public static platformOrgsCoursesUsersProgressRetrieve(
|
|
260
|
+
public static platformOrgsCoursesUsersProgressRetrieve({
|
|
261
|
+
courseId,
|
|
262
|
+
org,
|
|
263
|
+
userId,
|
|
264
|
+
departmentId,
|
|
265
|
+
format = 'json',
|
|
266
|
+
includeMainPlatform = true,
|
|
267
|
+
}: {
|
|
260
268
|
courseId: string,
|
|
261
269
|
org: string,
|
|
262
270
|
userId: string,
|
|
271
|
+
/**
|
|
272
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
273
|
+
*/
|
|
263
274
|
departmentId?: number,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
275
|
+
/**
|
|
276
|
+
* Format
|
|
277
|
+
*
|
|
278
|
+
* * `json` - json
|
|
279
|
+
*/
|
|
280
|
+
format?: 'json',
|
|
281
|
+
/**
|
|
282
|
+
* Include main platform data
|
|
283
|
+
*/
|
|
284
|
+
includeMainPlatform?: boolean,
|
|
285
|
+
}): CancelablePromise<PerlearnerCourseProgress> {
|
|
267
286
|
return __request(OpenAPI, {
|
|
268
287
|
method: 'GET',
|
|
269
288
|
url: '/api/platform/orgs/{org}/courses/{course_id}/users/{user_id}/progress',
|
|
@@ -284,17 +303,18 @@ export class PlatformService {
|
|
|
284
303
|
*
|
|
285
304
|
* Query Params
|
|
286
305
|
* 1. course_id <optional> e.g course-v1:Org+Course4+Run
|
|
287
|
-
* @param courseId
|
|
288
|
-
* @param org
|
|
289
|
-
* @param userId
|
|
290
306
|
* @returns any No response body
|
|
291
307
|
* @throws ApiError
|
|
292
308
|
*/
|
|
293
|
-
public static platformOrgsCoursesUsersProgressDaysToCompleteRetrieve(
|
|
309
|
+
public static platformOrgsCoursesUsersProgressDaysToCompleteRetrieve({
|
|
310
|
+
courseId,
|
|
311
|
+
org,
|
|
312
|
+
userId,
|
|
313
|
+
}: {
|
|
294
314
|
courseId: string,
|
|
295
315
|
org: string,
|
|
296
316
|
userId: string,
|
|
297
|
-
): CancelablePromise<any> {
|
|
317
|
+
}): CancelablePromise<any> {
|
|
298
318
|
return __request(OpenAPI, {
|
|
299
319
|
method: 'GET',
|
|
300
320
|
url: '/api/platform/orgs/{org}/courses/{course_id}/users/{user_id}/progress/days-to-complete',
|
|
@@ -307,29 +327,45 @@ export class PlatformService {
|
|
|
307
327
|
}
|
|
308
328
|
/**
|
|
309
329
|
* Time spent count in seconds within a course by a learner
|
|
310
|
-
* @param courseId
|
|
311
|
-
* @param org
|
|
312
|
-
* @param userId
|
|
313
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
314
|
-
* @param endDate end date. ISO 8601
|
|
315
|
-
* @param format Format
|
|
316
|
-
*
|
|
317
|
-
* * `json` - json
|
|
318
|
-
* @param includeMainPlatform Include main platform data
|
|
319
|
-
* @param startDate start date. ISO 8601
|
|
320
330
|
* @returns Count
|
|
321
331
|
* @throws ApiError
|
|
322
332
|
*/
|
|
323
|
-
public static platformOrgsCoursesUsersTimeCountRetrieve(
|
|
333
|
+
public static platformOrgsCoursesUsersTimeCountRetrieve({
|
|
334
|
+
courseId,
|
|
335
|
+
org,
|
|
336
|
+
userId,
|
|
337
|
+
departmentId,
|
|
338
|
+
endDate,
|
|
339
|
+
format = 'json',
|
|
340
|
+
includeMainPlatform = true,
|
|
341
|
+
startDate,
|
|
342
|
+
}: {
|
|
324
343
|
courseId: string,
|
|
325
344
|
org: string,
|
|
326
345
|
userId: string,
|
|
346
|
+
/**
|
|
347
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
348
|
+
*/
|
|
327
349
|
departmentId?: number,
|
|
350
|
+
/**
|
|
351
|
+
* end date. ISO 8601
|
|
352
|
+
*/
|
|
328
353
|
endDate?: string,
|
|
329
|
-
|
|
330
|
-
|
|
354
|
+
/**
|
|
355
|
+
* Format
|
|
356
|
+
*
|
|
357
|
+
* * `json` - json
|
|
358
|
+
*/
|
|
359
|
+
format?: 'json',
|
|
360
|
+
/**
|
|
361
|
+
* Include main platform data
|
|
362
|
+
*/
|
|
363
|
+
includeMainPlatform?: boolean,
|
|
364
|
+
/**
|
|
365
|
+
* start date. ISO 8601
|
|
366
|
+
*/
|
|
331
367
|
startDate?: string,
|
|
332
|
-
): CancelablePromise<Count> {
|
|
368
|
+
}): CancelablePromise<Count> {
|
|
333
369
|
return __request(OpenAPI, {
|
|
334
370
|
method: 'GET',
|
|
335
371
|
url: '/api/platform/orgs/{org}/courses/{course_id}/users/{user_id}/time/count',
|
|
@@ -349,25 +385,35 @@ export class PlatformService {
|
|
|
349
385
|
}
|
|
350
386
|
/**
|
|
351
387
|
* (Total videos watched / Total Course Videos) or Total Videos watched in a course by a learner
|
|
352
|
-
* @param courseId
|
|
353
|
-
* @param org
|
|
354
|
-
* @param userId
|
|
355
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
356
|
-
* @param format Format
|
|
357
|
-
*
|
|
358
|
-
* * `json` - json
|
|
359
|
-
* @param includeMainPlatform Include main platform data
|
|
360
388
|
* @returns VideosCount
|
|
361
389
|
* @throws ApiError
|
|
362
390
|
*/
|
|
363
|
-
public static platformOrgsCoursesUsersVideosCountRetrieve(
|
|
391
|
+
public static platformOrgsCoursesUsersVideosCountRetrieve({
|
|
392
|
+
courseId,
|
|
393
|
+
org,
|
|
394
|
+
userId,
|
|
395
|
+
departmentId,
|
|
396
|
+
format = 'json',
|
|
397
|
+
includeMainPlatform = true,
|
|
398
|
+
}: {
|
|
364
399
|
courseId: string,
|
|
365
400
|
org: string,
|
|
366
401
|
userId: string,
|
|
402
|
+
/**
|
|
403
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
404
|
+
*/
|
|
367
405
|
departmentId?: number,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
406
|
+
/**
|
|
407
|
+
* Format
|
|
408
|
+
*
|
|
409
|
+
* * `json` - json
|
|
410
|
+
*/
|
|
411
|
+
format?: 'json',
|
|
412
|
+
/**
|
|
413
|
+
* Include main platform data
|
|
414
|
+
*/
|
|
415
|
+
includeMainPlatform?: boolean,
|
|
416
|
+
}): CancelablePromise<VideosCount> {
|
|
371
417
|
return __request(OpenAPI, {
|
|
372
418
|
method: 'GET',
|
|
373
419
|
url: '/api/platform/orgs/{org}/courses/{course_id}/users/{user_id}/videos/count',
|
|
@@ -388,15 +434,16 @@ export class PlatformService {
|
|
|
388
434
|
*
|
|
389
435
|
* Query Params
|
|
390
436
|
* course_id e.g course-v1:Org+Course4+Run
|
|
391
|
-
* @param courseId
|
|
392
|
-
* @param org
|
|
393
437
|
* @returns any No response body
|
|
394
438
|
* @throws ApiError
|
|
395
439
|
*/
|
|
396
|
-
public static platformOrgsCoursesVideosRetrieve2(
|
|
440
|
+
public static platformOrgsCoursesVideosRetrieve2({
|
|
441
|
+
courseId,
|
|
442
|
+
org,
|
|
443
|
+
}: {
|
|
397
444
|
courseId: string,
|
|
398
445
|
org: string,
|
|
399
|
-
): CancelablePromise<any> {
|
|
446
|
+
}): CancelablePromise<any> {
|
|
400
447
|
return __request(OpenAPI, {
|
|
401
448
|
method: 'GET',
|
|
402
449
|
url: '/api/platform/orgs/{org}/courses/{course_id}/videos/',
|
|
@@ -413,21 +460,31 @@ export class PlatformService {
|
|
|
413
460
|
*
|
|
414
461
|
* Returns:
|
|
415
462
|
* The total count of courses on the platform.
|
|
416
|
-
* @param org
|
|
417
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
418
|
-
* @param format Format
|
|
419
|
-
*
|
|
420
|
-
* * `json` - json
|
|
421
|
-
* @param includeMainPlatform Include main platform data
|
|
422
463
|
* @returns Count
|
|
423
464
|
* @throws ApiError
|
|
424
465
|
*/
|
|
425
|
-
public static platformOrgsCoursesCountRetrieve(
|
|
466
|
+
public static platformOrgsCoursesCountRetrieve({
|
|
467
|
+
org,
|
|
468
|
+
departmentId,
|
|
469
|
+
format = 'json',
|
|
470
|
+
includeMainPlatform = true,
|
|
471
|
+
}: {
|
|
426
472
|
org: string,
|
|
473
|
+
/**
|
|
474
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
475
|
+
*/
|
|
427
476
|
departmentId?: number,
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
477
|
+
/**
|
|
478
|
+
* Format
|
|
479
|
+
*
|
|
480
|
+
* * `json` - json
|
|
481
|
+
*/
|
|
482
|
+
format?: 'json',
|
|
483
|
+
/**
|
|
484
|
+
* Include main platform data
|
|
485
|
+
*/
|
|
486
|
+
includeMainPlatform?: boolean,
|
|
487
|
+
}): CancelablePromise<Count> {
|
|
431
488
|
return __request(OpenAPI, {
|
|
432
489
|
method: 'GET',
|
|
433
490
|
url: '/api/platform/orgs/{org}/courses/count',
|
|
@@ -449,13 +506,14 @@ export class PlatformService {
|
|
|
449
506
|
*
|
|
450
507
|
* Returns:
|
|
451
508
|
* A list of courses with their associated grading metrics.
|
|
452
|
-
* @param org
|
|
453
509
|
* @returns any No response body
|
|
454
510
|
* @throws ApiError
|
|
455
511
|
*/
|
|
456
|
-
public static platformOrgsCoursesGradesRetrieve(
|
|
512
|
+
public static platformOrgsCoursesGradesRetrieve({
|
|
513
|
+
org,
|
|
514
|
+
}: {
|
|
457
515
|
org: string,
|
|
458
|
-
): CancelablePromise<any> {
|
|
516
|
+
}): CancelablePromise<any> {
|
|
459
517
|
return __request(OpenAPI, {
|
|
460
518
|
method: 'GET',
|
|
461
519
|
url: '/api/platform/orgs/{org}/courses/grades',
|
|
@@ -475,21 +533,31 @@ export class PlatformService {
|
|
|
475
533
|
* - Course identification (ID and name)
|
|
476
534
|
* - Video watch count
|
|
477
535
|
* - Percentage of total videos watched
|
|
478
|
-
* @param org
|
|
479
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
480
|
-
* @param format Format
|
|
481
|
-
*
|
|
482
|
-
* * `json` - json
|
|
483
|
-
* @param includeMainPlatform Include main platform data
|
|
484
536
|
* @returns WatchedVideosPerCourse
|
|
485
537
|
* @throws ApiError
|
|
486
538
|
*/
|
|
487
|
-
public static platformOrgsCoursesVideosRetrieve(
|
|
539
|
+
public static platformOrgsCoursesVideosRetrieve({
|
|
540
|
+
org,
|
|
541
|
+
departmentId,
|
|
542
|
+
format = 'json',
|
|
543
|
+
includeMainPlatform = true,
|
|
544
|
+
}: {
|
|
488
545
|
org: string,
|
|
546
|
+
/**
|
|
547
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
548
|
+
*/
|
|
489
549
|
departmentId?: number,
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
550
|
+
/**
|
|
551
|
+
* Format
|
|
552
|
+
*
|
|
553
|
+
* * `json` - json
|
|
554
|
+
*/
|
|
555
|
+
format?: 'json',
|
|
556
|
+
/**
|
|
557
|
+
* Include main platform data
|
|
558
|
+
*/
|
|
559
|
+
includeMainPlatform?: boolean,
|
|
560
|
+
}): CancelablePromise<WatchedVideosPerCourse> {
|
|
493
561
|
return __request(OpenAPI, {
|
|
494
562
|
method: 'GET',
|
|
495
563
|
url: '/api/platform/orgs/{org}/courses/videos',
|
|
@@ -517,13 +585,14 @@ export class PlatformService {
|
|
|
517
585
|
*
|
|
518
586
|
* Returns:
|
|
519
587
|
* A count of completions based on the specified filters.
|
|
520
|
-
* @param org
|
|
521
588
|
* @returns any No response body
|
|
522
589
|
* @throws ApiError
|
|
523
590
|
*/
|
|
524
|
-
public static platformOrgsProgressCompletedRetrieve(
|
|
591
|
+
public static platformOrgsProgressCompletedRetrieve({
|
|
592
|
+
org,
|
|
593
|
+
}: {
|
|
525
594
|
org: string,
|
|
526
|
-
): CancelablePromise<any> {
|
|
595
|
+
}): CancelablePromise<any> {
|
|
527
596
|
return __request(OpenAPI, {
|
|
528
597
|
method: 'GET',
|
|
529
598
|
url: '/api/platform/orgs/{org}/progress/completed',
|
|
@@ -534,13 +603,14 @@ export class PlatformService {
|
|
|
534
603
|
}
|
|
535
604
|
/**
|
|
536
605
|
* Average of total completed units
|
|
537
|
-
* @param org
|
|
538
606
|
* @returns any No response body
|
|
539
607
|
* @throws ApiError
|
|
540
608
|
*/
|
|
541
|
-
public static platformOrgsProgressCompletionRateRetrieve(
|
|
609
|
+
public static platformOrgsProgressCompletionRateRetrieve({
|
|
610
|
+
org,
|
|
611
|
+
}: {
|
|
542
612
|
org: string,
|
|
543
|
-
): CancelablePromise<any> {
|
|
613
|
+
}): CancelablePromise<any> {
|
|
544
614
|
return __request(OpenAPI, {
|
|
545
615
|
method: 'GET',
|
|
546
616
|
url: '/api/platform/orgs/{org}/progress/completion-rate',
|
|
@@ -559,13 +629,14 @@ export class PlatformService {
|
|
|
559
629
|
* Query Params
|
|
560
630
|
* 1. course_id <optional> e.g course-v1:Org+Course4+Run
|
|
561
631
|
* 2. user_id <optional> e.g developer@ibleducation.com or dev123 (username|email)
|
|
562
|
-
* @param org
|
|
563
632
|
* @returns any No response body
|
|
564
633
|
* @throws ApiError
|
|
565
634
|
*/
|
|
566
|
-
public static platformOrgsProgressInProgressRetrieve(
|
|
635
|
+
public static platformOrgsProgressInProgressRetrieve({
|
|
636
|
+
org,
|
|
637
|
+
}: {
|
|
567
638
|
org: string,
|
|
568
|
-
): CancelablePromise<any> {
|
|
639
|
+
}): CancelablePromise<any> {
|
|
569
640
|
return __request(OpenAPI, {
|
|
570
641
|
method: 'GET',
|
|
571
642
|
url: '/api/platform/orgs/{org}/progress/in-progress',
|
|
@@ -584,13 +655,14 @@ export class PlatformService {
|
|
|
584
655
|
* Query Params
|
|
585
656
|
* 1. course_id <optional> e.g course-v1:Org+Course4+Run
|
|
586
657
|
* 2. user_id <optional> e.g developer@ibleducation.com or dev123 (username|email)
|
|
587
|
-
* @param org
|
|
588
658
|
* @returns any No response body
|
|
589
659
|
* @throws ApiError
|
|
590
660
|
*/
|
|
591
|
-
public static platformOrgsProgressStartedRetrieve(
|
|
661
|
+
public static platformOrgsProgressStartedRetrieve({
|
|
662
|
+
org,
|
|
663
|
+
}: {
|
|
592
664
|
org: string,
|
|
593
|
-
): CancelablePromise<any> {
|
|
665
|
+
}): CancelablePromise<any> {
|
|
594
666
|
return __request(OpenAPI, {
|
|
595
667
|
method: 'GET',
|
|
596
668
|
url: '/api/platform/orgs/{org}/progress/started',
|
|
@@ -607,13 +679,14 @@ export class PlatformService {
|
|
|
607
679
|
* 2. end_date e.g 2020-10-10
|
|
608
680
|
*
|
|
609
681
|
* Default result is all time
|
|
610
|
-
* @param org
|
|
611
682
|
* @returns any No response body
|
|
612
683
|
* @throws ApiError
|
|
613
684
|
*/
|
|
614
|
-
public static platformOrgsTimeCountRetrieve(
|
|
685
|
+
public static platformOrgsTimeCountRetrieve({
|
|
686
|
+
org,
|
|
687
|
+
}: {
|
|
615
688
|
org: string,
|
|
616
|
-
): CancelablePromise<any> {
|
|
689
|
+
}): CancelablePromise<any> {
|
|
617
690
|
return __request(OpenAPI, {
|
|
618
691
|
method: 'GET',
|
|
619
692
|
url: '/api/platform/orgs/{org}/time/count',
|
|
@@ -636,25 +709,41 @@ export class PlatformService {
|
|
|
636
709
|
* The count of active users and change metrics compared to previous periods.
|
|
637
710
|
*
|
|
638
711
|
* Default behavior returns the count for all time if no date range is specified.
|
|
639
|
-
* @param org
|
|
640
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
641
|
-
* @param endDate end date. ISO 8601
|
|
642
|
-
* @param format Format
|
|
643
|
-
*
|
|
644
|
-
* * `json` - json
|
|
645
|
-
* @param includeMainPlatform Include main platform data
|
|
646
|
-
* @param startDate start date. ISO 8601
|
|
647
712
|
* @returns OverTimeWithTotal
|
|
648
713
|
* @throws ApiError
|
|
649
714
|
*/
|
|
650
|
-
public static platformOrgsUsersActiveCountRetrieve(
|
|
715
|
+
public static platformOrgsUsersActiveCountRetrieve({
|
|
716
|
+
org,
|
|
717
|
+
departmentId,
|
|
718
|
+
endDate,
|
|
719
|
+
format = 'json',
|
|
720
|
+
includeMainPlatform = true,
|
|
721
|
+
startDate,
|
|
722
|
+
}: {
|
|
651
723
|
org: string,
|
|
724
|
+
/**
|
|
725
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
726
|
+
*/
|
|
652
727
|
departmentId?: number,
|
|
728
|
+
/**
|
|
729
|
+
* end date. ISO 8601
|
|
730
|
+
*/
|
|
653
731
|
endDate?: string,
|
|
654
|
-
|
|
655
|
-
|
|
732
|
+
/**
|
|
733
|
+
* Format
|
|
734
|
+
*
|
|
735
|
+
* * `json` - json
|
|
736
|
+
*/
|
|
737
|
+
format?: 'json',
|
|
738
|
+
/**
|
|
739
|
+
* Include main platform data
|
|
740
|
+
*/
|
|
741
|
+
includeMainPlatform?: boolean,
|
|
742
|
+
/**
|
|
743
|
+
* start date. ISO 8601
|
|
744
|
+
*/
|
|
656
745
|
startDate?: string,
|
|
657
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
746
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
658
747
|
return __request(OpenAPI, {
|
|
659
748
|
method: 'GET',
|
|
660
749
|
url: '/api/platform/orgs/{org}/users/active/count',
|
|
@@ -684,25 +773,41 @@ export class PlatformService {
|
|
|
684
773
|
* The count of registered users and change metrics compared to previous periods.
|
|
685
774
|
*
|
|
686
775
|
* Default behavior returns the count for all time if no date range is specified.
|
|
687
|
-
* @param org
|
|
688
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
689
|
-
* @param endDate end date. ISO 8601
|
|
690
|
-
* @param format Format
|
|
691
|
-
*
|
|
692
|
-
* * `json` - json
|
|
693
|
-
* @param includeMainPlatform Include main platform data
|
|
694
|
-
* @param startDate start date. ISO 8601
|
|
695
776
|
* @returns OverTimeWithTotal
|
|
696
777
|
* @throws ApiError
|
|
697
778
|
*/
|
|
698
|
-
public static platformOrgsUsersCountRetrieve(
|
|
779
|
+
public static platformOrgsUsersCountRetrieve({
|
|
780
|
+
org,
|
|
781
|
+
departmentId,
|
|
782
|
+
endDate,
|
|
783
|
+
format = 'json',
|
|
784
|
+
includeMainPlatform = true,
|
|
785
|
+
startDate,
|
|
786
|
+
}: {
|
|
699
787
|
org: string,
|
|
788
|
+
/**
|
|
789
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
790
|
+
*/
|
|
700
791
|
departmentId?: number,
|
|
792
|
+
/**
|
|
793
|
+
* end date. ISO 8601
|
|
794
|
+
*/
|
|
701
795
|
endDate?: string,
|
|
702
|
-
|
|
703
|
-
|
|
796
|
+
/**
|
|
797
|
+
* Format
|
|
798
|
+
*
|
|
799
|
+
* * `json` - json
|
|
800
|
+
*/
|
|
801
|
+
format?: 'json',
|
|
802
|
+
/**
|
|
803
|
+
* Include main platform data
|
|
804
|
+
*/
|
|
805
|
+
includeMainPlatform?: boolean,
|
|
806
|
+
/**
|
|
807
|
+
* start date. ISO 8601
|
|
808
|
+
*/
|
|
704
809
|
startDate?: string,
|
|
705
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
810
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
706
811
|
return __request(OpenAPI, {
|
|
707
812
|
method: 'GET',
|
|
708
813
|
url: '/api/platform/orgs/{org}/users/count',
|
|
@@ -726,25 +831,41 @@ export class PlatformService {
|
|
|
726
831
|
* 2. end_date e.g 2020-10-10
|
|
727
832
|
*
|
|
728
833
|
* Default is all time
|
|
729
|
-
* @param org
|
|
730
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
731
|
-
* @param endDate end date. ISO 8601
|
|
732
|
-
* @param format Format
|
|
733
|
-
*
|
|
734
|
-
* * `json` - json
|
|
735
|
-
* @param includeMainPlatform Include main platform data
|
|
736
|
-
* @param startDate start date. ISO 8601
|
|
737
834
|
* @returns OverTimeWithTotal
|
|
738
835
|
* @throws ApiError
|
|
739
836
|
*/
|
|
740
|
-
public static platformOrgsUsersCoursesCompletedCountRetrieve(
|
|
837
|
+
public static platformOrgsUsersCoursesCompletedCountRetrieve({
|
|
838
|
+
org,
|
|
839
|
+
departmentId,
|
|
840
|
+
endDate,
|
|
841
|
+
format = 'json',
|
|
842
|
+
includeMainPlatform = true,
|
|
843
|
+
startDate,
|
|
844
|
+
}: {
|
|
741
845
|
org: string,
|
|
846
|
+
/**
|
|
847
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
848
|
+
*/
|
|
742
849
|
departmentId?: number,
|
|
850
|
+
/**
|
|
851
|
+
* end date. ISO 8601
|
|
852
|
+
*/
|
|
743
853
|
endDate?: string,
|
|
744
|
-
|
|
745
|
-
|
|
854
|
+
/**
|
|
855
|
+
* Format
|
|
856
|
+
*
|
|
857
|
+
* * `json` - json
|
|
858
|
+
*/
|
|
859
|
+
format?: 'json',
|
|
860
|
+
/**
|
|
861
|
+
* Include main platform data
|
|
862
|
+
*/
|
|
863
|
+
includeMainPlatform?: boolean,
|
|
864
|
+
/**
|
|
865
|
+
* start date. ISO 8601
|
|
866
|
+
*/
|
|
746
867
|
startDate?: string,
|
|
747
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
868
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
748
869
|
return __request(OpenAPI, {
|
|
749
870
|
method: 'GET',
|
|
750
871
|
url: '/api/platform/orgs/{org}/users/courses-completed/count',
|