@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
|
@@ -53,13 +53,14 @@ export class CoreService {
|
|
|
53
53
|
* Params:
|
|
54
54
|
* - Any of user_id, username, or email (choose one only, required)
|
|
55
55
|
* - platform_key: str (required)
|
|
56
|
-
* @param requestBody
|
|
57
56
|
* @returns TokenProxyOutput
|
|
58
57
|
* @throws ApiError
|
|
59
58
|
*/
|
|
60
|
-
public static coreConsolidatedTokenProxyCreate(
|
|
59
|
+
public static coreConsolidatedTokenProxyCreate({
|
|
60
|
+
requestBody,
|
|
61
|
+
}: {
|
|
61
62
|
requestBody: TokenProxyInput,
|
|
62
|
-
): CancelablePromise<TokenProxyOutput> {
|
|
63
|
+
}): CancelablePromise<TokenProxyOutput> {
|
|
63
64
|
return __request(OpenAPI, {
|
|
64
65
|
method: 'POST',
|
|
65
66
|
url: '/api/core/consolidated-token/proxy/',
|
|
@@ -157,15 +158,16 @@ export class CoreService {
|
|
|
157
158
|
}
|
|
158
159
|
/**
|
|
159
160
|
* Check if a domain is whitelisted
|
|
160
|
-
* @param url
|
|
161
|
-
* @param isActive
|
|
162
161
|
* @returns any No response body
|
|
163
162
|
* @throws ApiError
|
|
164
163
|
*/
|
|
165
|
-
public static coreDomainsWhitelistRetrieve(
|
|
164
|
+
public static coreDomainsWhitelistRetrieve({
|
|
165
|
+
url,
|
|
166
|
+
isActive,
|
|
167
|
+
}: {
|
|
166
168
|
url: string,
|
|
167
169
|
isActive?: boolean,
|
|
168
|
-
): CancelablePromise<any> {
|
|
170
|
+
}): CancelablePromise<any> {
|
|
169
171
|
return __request(OpenAPI, {
|
|
170
172
|
method: 'GET',
|
|
171
173
|
url: '/api/core/domains/whitelist/',
|
|
@@ -177,13 +179,14 @@ export class CoreService {
|
|
|
177
179
|
}
|
|
178
180
|
/**
|
|
179
181
|
* Add a new domain to whitelist
|
|
180
|
-
* @param requestBody
|
|
181
182
|
* @returns WhitelistedDomain
|
|
182
183
|
* @throws ApiError
|
|
183
184
|
*/
|
|
184
|
-
public static coreDomainsWhitelistCreate(
|
|
185
|
+
public static coreDomainsWhitelistCreate({
|
|
186
|
+
requestBody,
|
|
187
|
+
}: {
|
|
185
188
|
requestBody: WhitelistedDomain,
|
|
186
|
-
): CancelablePromise<WhitelistedDomain> {
|
|
189
|
+
}): CancelablePromise<WhitelistedDomain> {
|
|
187
190
|
return __request(OpenAPI, {
|
|
188
191
|
method: 'POST',
|
|
189
192
|
url: '/api/core/domains/whitelist/',
|
|
@@ -241,15 +244,16 @@ export class CoreService {
|
|
|
241
244
|
* Params:
|
|
242
245
|
* key
|
|
243
246
|
* user_id: Optional
|
|
244
|
-
* @param key
|
|
245
|
-
* @param userId
|
|
246
247
|
* @returns PlatformList
|
|
247
248
|
* @throws ApiError
|
|
248
249
|
*/
|
|
249
|
-
public static coreLauncherRetrieve(
|
|
250
|
+
public static coreLauncherRetrieve({
|
|
251
|
+
key,
|
|
252
|
+
userId,
|
|
253
|
+
}: {
|
|
250
254
|
key: string,
|
|
251
255
|
userId?: number,
|
|
252
|
-
): CancelablePromise<PlatformList> {
|
|
256
|
+
}): CancelablePromise<PlatformList> {
|
|
253
257
|
return __request(OpenAPI, {
|
|
254
258
|
method: 'GET',
|
|
255
259
|
url: '/api/core/launcher/',
|
|
@@ -270,13 +274,14 @@ export class CoreService {
|
|
|
270
274
|
* lms_url: LMS URL ("optional")
|
|
271
275
|
* cms_url: CMS URL ("optional")
|
|
272
276
|
* portal_url: Portal URL ("optional")
|
|
273
|
-
* @param requestBody
|
|
274
277
|
* @returns PlatformList
|
|
275
278
|
* @throws ApiError
|
|
276
279
|
*/
|
|
277
|
-
public static coreLauncherCreate(
|
|
280
|
+
public static coreLauncherCreate({
|
|
281
|
+
requestBody,
|
|
282
|
+
}: {
|
|
278
283
|
requestBody: LauncherViewPostRequest,
|
|
279
|
-
): CancelablePromise<PlatformList> {
|
|
284
|
+
}): CancelablePromise<PlatformList> {
|
|
280
285
|
return __request(OpenAPI, {
|
|
281
286
|
method: 'POST',
|
|
282
287
|
url: '/api/core/launcher/',
|
|
@@ -286,13 +291,17 @@ export class CoreService {
|
|
|
286
291
|
}
|
|
287
292
|
/**
|
|
288
293
|
* List your LTI Provider Key's
|
|
289
|
-
* @param platformKey Platform Key
|
|
290
294
|
* @returns LtiKey
|
|
291
295
|
* @throws ApiError
|
|
292
296
|
*/
|
|
293
|
-
public static coreLti1P3ProviderLtiKeysList(
|
|
297
|
+
public static coreLti1P3ProviderLtiKeysList({
|
|
298
|
+
platformKey,
|
|
299
|
+
}: {
|
|
300
|
+
/**
|
|
301
|
+
* Platform Key
|
|
302
|
+
*/
|
|
294
303
|
platformKey: string,
|
|
295
|
-
): CancelablePromise<Array<LtiKey>> {
|
|
304
|
+
}): CancelablePromise<Array<LtiKey>> {
|
|
296
305
|
return __request(OpenAPI, {
|
|
297
306
|
method: 'GET',
|
|
298
307
|
url: '/api/core/lti/1p3/provider/lti-keys/',
|
|
@@ -303,13 +312,14 @@ export class CoreService {
|
|
|
303
312
|
}
|
|
304
313
|
/**
|
|
305
314
|
* Create a new LTI Provider Key
|
|
306
|
-
* @param requestBody
|
|
307
315
|
* @returns LtiKey
|
|
308
316
|
* @throws ApiError
|
|
309
317
|
*/
|
|
310
|
-
public static coreLti1P3ProviderLtiKeysCreate(
|
|
318
|
+
public static coreLti1P3ProviderLtiKeysCreate({
|
|
319
|
+
requestBody,
|
|
320
|
+
}: {
|
|
311
321
|
requestBody: LtiKey,
|
|
312
|
-
): CancelablePromise<LtiKey> {
|
|
322
|
+
}): CancelablePromise<LtiKey> {
|
|
313
323
|
return __request(OpenAPI, {
|
|
314
324
|
method: 'POST',
|
|
315
325
|
url: '/api/core/lti/1p3/provider/lti-keys/',
|
|
@@ -319,15 +329,19 @@ export class CoreService {
|
|
|
319
329
|
}
|
|
320
330
|
/**
|
|
321
331
|
* Get details about a specific LTI Provider Key
|
|
322
|
-
* @param id
|
|
323
|
-
* @param platformKey Platform Key
|
|
324
332
|
* @returns LtiKey
|
|
325
333
|
* @throws ApiError
|
|
326
334
|
*/
|
|
327
|
-
public static coreLti1P3ProviderLtiKeysRetrieve(
|
|
335
|
+
public static coreLti1P3ProviderLtiKeysRetrieve({
|
|
336
|
+
id,
|
|
337
|
+
platformKey,
|
|
338
|
+
}: {
|
|
328
339
|
id: string,
|
|
340
|
+
/**
|
|
341
|
+
* Platform Key
|
|
342
|
+
*/
|
|
329
343
|
platformKey: string,
|
|
330
|
-
): CancelablePromise<LtiKey> {
|
|
344
|
+
}): CancelablePromise<LtiKey> {
|
|
331
345
|
return __request(OpenAPI, {
|
|
332
346
|
method: 'GET',
|
|
333
347
|
url: '/api/core/lti/1p3/provider/lti-keys/{id}/',
|
|
@@ -341,15 +355,16 @@ export class CoreService {
|
|
|
341
355
|
}
|
|
342
356
|
/**
|
|
343
357
|
* Update an LTI Provider Key
|
|
344
|
-
* @param id
|
|
345
|
-
* @param requestBody
|
|
346
358
|
* @returns LtiKey
|
|
347
359
|
* @throws ApiError
|
|
348
360
|
*/
|
|
349
|
-
public static coreLti1P3ProviderLtiKeysUpdate(
|
|
361
|
+
public static coreLti1P3ProviderLtiKeysUpdate({
|
|
362
|
+
id,
|
|
363
|
+
requestBody,
|
|
364
|
+
}: {
|
|
350
365
|
id: string,
|
|
351
366
|
requestBody: LtiKey,
|
|
352
|
-
): CancelablePromise<LtiKey> {
|
|
367
|
+
}): CancelablePromise<LtiKey> {
|
|
353
368
|
return __request(OpenAPI, {
|
|
354
369
|
method: 'PUT',
|
|
355
370
|
url: '/api/core/lti/1p3/provider/lti-keys/{id}/',
|
|
@@ -364,15 +379,19 @@ export class CoreService {
|
|
|
364
379
|
* Delete an LTI Provider Key
|
|
365
380
|
*
|
|
366
381
|
* **DANGER:** Deleting a key will also delete all Tools that reference that Key. If you need to delete a Key you should first create a new one and update all Tools to reference the new Key before deleting the old one.
|
|
367
|
-
* @param id
|
|
368
|
-
* @param platformKey Platform Key
|
|
369
382
|
* @returns void
|
|
370
383
|
* @throws ApiError
|
|
371
384
|
*/
|
|
372
|
-
public static coreLti1P3ProviderLtiKeysDestroy(
|
|
385
|
+
public static coreLti1P3ProviderLtiKeysDestroy({
|
|
386
|
+
id,
|
|
387
|
+
platformKey,
|
|
388
|
+
}: {
|
|
373
389
|
id: string,
|
|
390
|
+
/**
|
|
391
|
+
* Platform Key
|
|
392
|
+
*/
|
|
374
393
|
platformKey: string,
|
|
375
|
-
): CancelablePromise<void> {
|
|
394
|
+
}): CancelablePromise<void> {
|
|
376
395
|
return __request(OpenAPI, {
|
|
377
396
|
method: 'DELETE',
|
|
378
397
|
url: '/api/core/lti/1p3/provider/lti-keys/{id}/',
|
|
@@ -386,13 +405,17 @@ export class CoreService {
|
|
|
386
405
|
}
|
|
387
406
|
/**
|
|
388
407
|
* List your LTI Tool's
|
|
389
|
-
* @param platformKey Platform Key
|
|
390
408
|
* @returns LtiTool
|
|
391
409
|
* @throws ApiError
|
|
392
410
|
*/
|
|
393
|
-
public static coreLti1P3ProviderLtiToolsList(
|
|
411
|
+
public static coreLti1P3ProviderLtiToolsList({
|
|
412
|
+
platformKey,
|
|
413
|
+
}: {
|
|
414
|
+
/**
|
|
415
|
+
* Platform Key
|
|
416
|
+
*/
|
|
394
417
|
platformKey: string,
|
|
395
|
-
): CancelablePromise<Array<LtiTool>> {
|
|
418
|
+
}): CancelablePromise<Array<LtiTool>> {
|
|
396
419
|
return __request(OpenAPI, {
|
|
397
420
|
method: 'GET',
|
|
398
421
|
url: '/api/core/lti/1p3/provider/lti-tools/',
|
|
@@ -403,13 +426,14 @@ export class CoreService {
|
|
|
403
426
|
}
|
|
404
427
|
/**
|
|
405
428
|
* Create a new LTI Tool
|
|
406
|
-
* @param requestBody
|
|
407
429
|
* @returns LtiTool
|
|
408
430
|
* @throws ApiError
|
|
409
431
|
*/
|
|
410
|
-
public static coreLti1P3ProviderLtiToolsCreate(
|
|
432
|
+
public static coreLti1P3ProviderLtiToolsCreate({
|
|
433
|
+
requestBody,
|
|
434
|
+
}: {
|
|
411
435
|
requestBody: LtiTool,
|
|
412
|
-
): CancelablePromise<LtiTool> {
|
|
436
|
+
}): CancelablePromise<LtiTool> {
|
|
413
437
|
return __request(OpenAPI, {
|
|
414
438
|
method: 'POST',
|
|
415
439
|
url: '/api/core/lti/1p3/provider/lti-tools/',
|
|
@@ -419,15 +443,19 @@ export class CoreService {
|
|
|
419
443
|
}
|
|
420
444
|
/**
|
|
421
445
|
* Get details about a specific LTI Tool
|
|
422
|
-
* @param id
|
|
423
|
-
* @param platformKey Platform Key
|
|
424
446
|
* @returns LtiTool
|
|
425
447
|
* @throws ApiError
|
|
426
448
|
*/
|
|
427
|
-
public static coreLti1P3ProviderLtiToolsRetrieve(
|
|
449
|
+
public static coreLti1P3ProviderLtiToolsRetrieve({
|
|
450
|
+
id,
|
|
451
|
+
platformKey,
|
|
452
|
+
}: {
|
|
428
453
|
id: string,
|
|
454
|
+
/**
|
|
455
|
+
* Platform Key
|
|
456
|
+
*/
|
|
429
457
|
platformKey: string,
|
|
430
|
-
): CancelablePromise<LtiTool> {
|
|
458
|
+
}): CancelablePromise<LtiTool> {
|
|
431
459
|
return __request(OpenAPI, {
|
|
432
460
|
method: 'GET',
|
|
433
461
|
url: '/api/core/lti/1p3/provider/lti-tools/{id}/',
|
|
@@ -441,15 +469,16 @@ export class CoreService {
|
|
|
441
469
|
}
|
|
442
470
|
/**
|
|
443
471
|
* Update an LTI Tool
|
|
444
|
-
* @param id
|
|
445
|
-
* @param requestBody
|
|
446
472
|
* @returns LtiTool
|
|
447
473
|
* @throws ApiError
|
|
448
474
|
*/
|
|
449
|
-
public static coreLti1P3ProviderLtiToolsUpdate(
|
|
475
|
+
public static coreLti1P3ProviderLtiToolsUpdate({
|
|
476
|
+
id,
|
|
477
|
+
requestBody,
|
|
478
|
+
}: {
|
|
450
479
|
id: string,
|
|
451
480
|
requestBody: LtiTool,
|
|
452
|
-
): CancelablePromise<LtiTool> {
|
|
481
|
+
}): CancelablePromise<LtiTool> {
|
|
453
482
|
return __request(OpenAPI, {
|
|
454
483
|
method: 'PUT',
|
|
455
484
|
url: '/api/core/lti/1p3/provider/lti-tools/{id}/',
|
|
@@ -462,15 +491,19 @@ export class CoreService {
|
|
|
462
491
|
}
|
|
463
492
|
/**
|
|
464
493
|
* Delete an LTI Tool
|
|
465
|
-
* @param id
|
|
466
|
-
* @param platformKey Platform Key
|
|
467
494
|
* @returns void
|
|
468
495
|
* @throws ApiError
|
|
469
496
|
*/
|
|
470
|
-
public static coreLti1P3ProviderLtiToolsDestroy(
|
|
497
|
+
public static coreLti1P3ProviderLtiToolsDestroy({
|
|
498
|
+
id,
|
|
499
|
+
platformKey,
|
|
500
|
+
}: {
|
|
471
501
|
id: string,
|
|
502
|
+
/**
|
|
503
|
+
* Platform Key
|
|
504
|
+
*/
|
|
472
505
|
platformKey: string,
|
|
473
|
-
): CancelablePromise<void> {
|
|
506
|
+
}): CancelablePromise<void> {
|
|
474
507
|
return __request(OpenAPI, {
|
|
475
508
|
method: 'DELETE',
|
|
476
509
|
url: '/api/core/lti/1p3/provider/lti-tools/{id}/',
|
|
@@ -484,13 +517,14 @@ export class CoreService {
|
|
|
484
517
|
}
|
|
485
518
|
/**
|
|
486
519
|
* Get platform logo
|
|
487
|
-
* @param org
|
|
488
520
|
* @returns any
|
|
489
521
|
* @throws ApiError
|
|
490
522
|
*/
|
|
491
|
-
public static coreOrgsDarkModeLogoRetrieve(
|
|
523
|
+
public static coreOrgsDarkModeLogoRetrieve({
|
|
524
|
+
org,
|
|
525
|
+
}: {
|
|
492
526
|
org: string,
|
|
493
|
-
): CancelablePromise<Record<string, any>> {
|
|
527
|
+
}): CancelablePromise<Record<string, any>> {
|
|
494
528
|
return __request(OpenAPI, {
|
|
495
529
|
method: 'GET',
|
|
496
530
|
url: '/api/core/orgs/{org}/dark-mode-logo/',
|
|
@@ -501,15 +535,16 @@ export class CoreService {
|
|
|
501
535
|
}
|
|
502
536
|
/**
|
|
503
537
|
* Upload a new platform logo
|
|
504
|
-
* @param org
|
|
505
|
-
* @param requestBody
|
|
506
538
|
* @returns ImageUpload
|
|
507
539
|
* @throws ApiError
|
|
508
540
|
*/
|
|
509
|
-
public static coreOrgsDarkModeLogoCreateCreate(
|
|
541
|
+
public static coreOrgsDarkModeLogoCreateCreate({
|
|
542
|
+
org,
|
|
543
|
+
requestBody,
|
|
544
|
+
}: {
|
|
510
545
|
org: string,
|
|
511
546
|
requestBody: ImageUpload,
|
|
512
|
-
): CancelablePromise<ImageUpload> {
|
|
547
|
+
}): CancelablePromise<ImageUpload> {
|
|
513
548
|
return __request(OpenAPI, {
|
|
514
549
|
method: 'POST',
|
|
515
550
|
url: '/api/core/orgs/{org}/dark-mode-logo/create/',
|
|
@@ -522,13 +557,14 @@ export class CoreService {
|
|
|
522
557
|
}
|
|
523
558
|
/**
|
|
524
559
|
* Get platform logo
|
|
525
|
-
* @param org
|
|
526
560
|
* @returns any
|
|
527
561
|
* @throws ApiError
|
|
528
562
|
*/
|
|
529
|
-
public static coreOrgsFaviconRetrieve(
|
|
563
|
+
public static coreOrgsFaviconRetrieve({
|
|
564
|
+
org,
|
|
565
|
+
}: {
|
|
530
566
|
org: string,
|
|
531
|
-
): CancelablePromise<Record<string, any>> {
|
|
567
|
+
}): CancelablePromise<Record<string, any>> {
|
|
532
568
|
return __request(OpenAPI, {
|
|
533
569
|
method: 'GET',
|
|
534
570
|
url: '/api/core/orgs/{org}/favicon/',
|
|
@@ -539,15 +575,16 @@ export class CoreService {
|
|
|
539
575
|
}
|
|
540
576
|
/**
|
|
541
577
|
* Upload a new platform logo
|
|
542
|
-
* @param org
|
|
543
|
-
* @param requestBody
|
|
544
578
|
* @returns ImageUpload
|
|
545
579
|
* @throws ApiError
|
|
546
580
|
*/
|
|
547
|
-
public static coreOrgsFaviconCreateCreate(
|
|
581
|
+
public static coreOrgsFaviconCreateCreate({
|
|
582
|
+
org,
|
|
583
|
+
requestBody,
|
|
584
|
+
}: {
|
|
548
585
|
org: string,
|
|
549
586
|
requestBody: ImageUpload,
|
|
550
|
-
): CancelablePromise<ImageUpload> {
|
|
587
|
+
}): CancelablePromise<ImageUpload> {
|
|
551
588
|
return __request(OpenAPI, {
|
|
552
589
|
method: 'POST',
|
|
553
590
|
url: '/api/core/orgs/{org}/favicon/create/',
|
|
@@ -560,13 +597,14 @@ export class CoreService {
|
|
|
560
597
|
}
|
|
561
598
|
/**
|
|
562
599
|
* Get platform logo
|
|
563
|
-
* @param org
|
|
564
600
|
* @returns any
|
|
565
601
|
* @throws ApiError
|
|
566
602
|
*/
|
|
567
|
-
public static coreOrgsLogoRetrieve(
|
|
603
|
+
public static coreOrgsLogoRetrieve({
|
|
604
|
+
org,
|
|
605
|
+
}: {
|
|
568
606
|
org: string,
|
|
569
|
-
): CancelablePromise<Record<string, any>> {
|
|
607
|
+
}): CancelablePromise<Record<string, any>> {
|
|
570
608
|
return __request(OpenAPI, {
|
|
571
609
|
method: 'GET',
|
|
572
610
|
url: '/api/core/orgs/{org}/logo/',
|
|
@@ -577,15 +615,16 @@ export class CoreService {
|
|
|
577
615
|
}
|
|
578
616
|
/**
|
|
579
617
|
* Upload a new platform logo
|
|
580
|
-
* @param org
|
|
581
|
-
* @param requestBody
|
|
582
618
|
* @returns ImageUpload
|
|
583
619
|
* @throws ApiError
|
|
584
620
|
*/
|
|
585
|
-
public static coreOrgsLogoCreateCreate(
|
|
621
|
+
public static coreOrgsLogoCreateCreate({
|
|
622
|
+
org,
|
|
623
|
+
requestBody,
|
|
624
|
+
}: {
|
|
586
625
|
org: string,
|
|
587
626
|
requestBody: ImageUpload,
|
|
588
|
-
): CancelablePromise<ImageUpload> {
|
|
627
|
+
}): CancelablePromise<ImageUpload> {
|
|
589
628
|
return __request(OpenAPI, {
|
|
590
629
|
method: 'POST',
|
|
591
630
|
url: '/api/core/orgs/{org}/logo/create/',
|
|
@@ -597,13 +636,14 @@ export class CoreService {
|
|
|
597
636
|
});
|
|
598
637
|
}
|
|
599
638
|
/**
|
|
600
|
-
* @param org
|
|
601
639
|
* @returns PlatformPublicMetadata
|
|
602
640
|
* @throws ApiError
|
|
603
641
|
*/
|
|
604
|
-
public static coreOrgsMetadataRetrieve(
|
|
642
|
+
public static coreOrgsMetadataRetrieve({
|
|
643
|
+
org,
|
|
644
|
+
}: {
|
|
605
645
|
org: string,
|
|
606
|
-
): CancelablePromise<PlatformPublicMetadata> {
|
|
646
|
+
}): CancelablePromise<PlatformPublicMetadata> {
|
|
607
647
|
return __request(OpenAPI, {
|
|
608
648
|
method: 'GET',
|
|
609
649
|
url: '/api/core/orgs/{org}/metadata/',
|
|
@@ -613,15 +653,16 @@ export class CoreService {
|
|
|
613
653
|
});
|
|
614
654
|
}
|
|
615
655
|
/**
|
|
616
|
-
* @param org
|
|
617
|
-
* @param requestBody
|
|
618
656
|
* @returns PlatformPublicMetadata
|
|
619
657
|
* @throws ApiError
|
|
620
658
|
*/
|
|
621
|
-
public static coreOrgsMetadataUpdate(
|
|
659
|
+
public static coreOrgsMetadataUpdate({
|
|
660
|
+
org,
|
|
661
|
+
requestBody,
|
|
662
|
+
}: {
|
|
622
663
|
org: string,
|
|
623
664
|
requestBody?: PlatformPublicMetadata,
|
|
624
|
-
): CancelablePromise<PlatformPublicMetadata> {
|
|
665
|
+
}): CancelablePromise<PlatformPublicMetadata> {
|
|
625
666
|
return __request(OpenAPI, {
|
|
626
667
|
method: 'PUT',
|
|
627
668
|
url: '/api/core/orgs/{org}/metadata/',
|
|
@@ -633,15 +674,16 @@ export class CoreService {
|
|
|
633
674
|
});
|
|
634
675
|
}
|
|
635
676
|
/**
|
|
636
|
-
* @param org
|
|
637
|
-
* @param requestBody
|
|
638
677
|
* @returns PlatformPublicMetadata
|
|
639
678
|
* @throws ApiError
|
|
640
679
|
*/
|
|
641
|
-
public static coreOrgsMetadataPartialUpdate(
|
|
680
|
+
public static coreOrgsMetadataPartialUpdate({
|
|
681
|
+
org,
|
|
682
|
+
requestBody,
|
|
683
|
+
}: {
|
|
642
684
|
org: string,
|
|
643
685
|
requestBody?: PatchedPlatformPublicMetadata,
|
|
644
|
-
): CancelablePromise<PlatformPublicMetadata> {
|
|
686
|
+
}): CancelablePromise<PlatformPublicMetadata> {
|
|
645
687
|
return __request(OpenAPI, {
|
|
646
688
|
method: 'PATCH',
|
|
647
689
|
url: '/api/core/orgs/{org}/metadata/',
|
|
@@ -654,15 +696,16 @@ export class CoreService {
|
|
|
654
696
|
}
|
|
655
697
|
/**
|
|
656
698
|
* Creates redirect tokens for a URL specified by for a platform
|
|
657
|
-
* @param org
|
|
658
|
-
* @param requestBody
|
|
659
699
|
* @returns RedirectTokenResponse
|
|
660
700
|
* @throws ApiError
|
|
661
701
|
*/
|
|
662
|
-
public static coreOrgsRedirectTokensCreate(
|
|
702
|
+
public static coreOrgsRedirectTokensCreate({
|
|
703
|
+
org,
|
|
704
|
+
requestBody,
|
|
705
|
+
}: {
|
|
663
706
|
org: string,
|
|
664
707
|
requestBody: RedirectTokenRequest,
|
|
665
|
-
): CancelablePromise<RedirectTokenResponse> {
|
|
708
|
+
}): CancelablePromise<RedirectTokenResponse> {
|
|
666
709
|
return __request(OpenAPI, {
|
|
667
710
|
method: 'POST',
|
|
668
711
|
url: '/api/core/orgs/{org}/redirect-tokens/',
|
|
@@ -679,15 +722,16 @@ export class CoreService {
|
|
|
679
722
|
* ```
|
|
680
723
|
* Requires user to be a member of the platform with the token passed
|
|
681
724
|
* ```
|
|
682
|
-
* @param org
|
|
683
|
-
* @param redirectToken
|
|
684
725
|
* @returns RedirectTokenResponse
|
|
685
726
|
* @throws ApiError
|
|
686
727
|
*/
|
|
687
|
-
public static coreOrgsRedirectTokensRetrieve(
|
|
728
|
+
public static coreOrgsRedirectTokensRetrieve({
|
|
729
|
+
org,
|
|
730
|
+
redirectToken,
|
|
731
|
+
}: {
|
|
688
732
|
org: string,
|
|
689
733
|
redirectToken: string,
|
|
690
|
-
): CancelablePromise<RedirectTokenResponse> {
|
|
734
|
+
}): CancelablePromise<RedirectTokenResponse> {
|
|
691
735
|
return __request(OpenAPI, {
|
|
692
736
|
method: 'GET',
|
|
693
737
|
url: '/api/core/orgs/{org}/redirect-tokens/{redirect_token}/',
|
|
@@ -699,15 +743,16 @@ export class CoreService {
|
|
|
699
743
|
}
|
|
700
744
|
/**
|
|
701
745
|
* Delete specific token
|
|
702
|
-
* @param org
|
|
703
|
-
* @param redirectToken
|
|
704
746
|
* @returns void
|
|
705
747
|
* @throws ApiError
|
|
706
748
|
*/
|
|
707
|
-
public static coreOrgsRedirectTokensDeleteDestroy(
|
|
749
|
+
public static coreOrgsRedirectTokensDeleteDestroy({
|
|
750
|
+
org,
|
|
751
|
+
redirectToken,
|
|
752
|
+
}: {
|
|
708
753
|
org: string,
|
|
709
754
|
redirectToken: string,
|
|
710
|
-
): CancelablePromise<void> {
|
|
755
|
+
}): CancelablePromise<void> {
|
|
711
756
|
return __request(OpenAPI, {
|
|
712
757
|
method: 'DELETE',
|
|
713
758
|
url: '/api/core/orgs/{org}/redirect-tokens/{redirect_token}/delete',
|
|
@@ -719,13 +764,14 @@ export class CoreService {
|
|
|
719
764
|
}
|
|
720
765
|
/**
|
|
721
766
|
* Get platform logo
|
|
722
|
-
* @param org
|
|
723
767
|
* @returns any
|
|
724
768
|
* @throws ApiError
|
|
725
769
|
*/
|
|
726
|
-
public static coreOrgsThumbnailRetrieve(
|
|
770
|
+
public static coreOrgsThumbnailRetrieve({
|
|
771
|
+
org,
|
|
772
|
+
}: {
|
|
727
773
|
org: string,
|
|
728
|
-
): CancelablePromise<Record<string, any>> {
|
|
774
|
+
}): CancelablePromise<Record<string, any>> {
|
|
729
775
|
return __request(OpenAPI, {
|
|
730
776
|
method: 'GET',
|
|
731
777
|
url: '/api/core/orgs/{org}/thumbnail/',
|
|
@@ -736,15 +782,16 @@ export class CoreService {
|
|
|
736
782
|
}
|
|
737
783
|
/**
|
|
738
784
|
* Upload a new platform logo
|
|
739
|
-
* @param org
|
|
740
|
-
* @param requestBody
|
|
741
785
|
* @returns ImageUpload
|
|
742
786
|
* @throws ApiError
|
|
743
787
|
*/
|
|
744
|
-
public static coreOrgsThumbnailCreateCreate(
|
|
788
|
+
public static coreOrgsThumbnailCreateCreate({
|
|
789
|
+
org,
|
|
790
|
+
requestBody,
|
|
791
|
+
}: {
|
|
745
792
|
org: string,
|
|
746
793
|
requestBody: ImageUpload,
|
|
747
|
-
): CancelablePromise<ImageUpload> {
|
|
794
|
+
}): CancelablePromise<ImageUpload> {
|
|
748
795
|
return __request(OpenAPI, {
|
|
749
796
|
method: 'POST',
|
|
750
797
|
url: '/api/core/orgs/{org}/thumbnail/create/',
|
|
@@ -767,15 +814,16 @@ export class CoreService {
|
|
|
767
814
|
* key
|
|
768
815
|
* field_key (POST)
|
|
769
816
|
* value (POST)
|
|
770
|
-
* @param key
|
|
771
|
-
* @param userId
|
|
772
817
|
* @returns PlatformList
|
|
773
818
|
* @throws ApiError
|
|
774
819
|
*/
|
|
775
|
-
public static corePlatformRetrieve(
|
|
820
|
+
public static corePlatformRetrieve({
|
|
821
|
+
key,
|
|
822
|
+
userId,
|
|
823
|
+
}: {
|
|
776
824
|
key: string,
|
|
777
825
|
userId?: number,
|
|
778
|
-
): CancelablePromise<PlatformList> {
|
|
826
|
+
}): CancelablePromise<PlatformList> {
|
|
779
827
|
return __request(OpenAPI, {
|
|
780
828
|
method: 'GET',
|
|
781
829
|
url: '/api/core/platform/',
|
|
@@ -799,13 +847,14 @@ export class CoreService {
|
|
|
799
847
|
* lms_url
|
|
800
848
|
* cms_url
|
|
801
849
|
* portal_url
|
|
802
|
-
* @param requestBody
|
|
803
850
|
* @returns PlatformList
|
|
804
851
|
* @throws ApiError
|
|
805
852
|
*/
|
|
806
|
-
public static corePlatformCreate(
|
|
853
|
+
public static corePlatformCreate({
|
|
854
|
+
requestBody,
|
|
855
|
+
}: {
|
|
807
856
|
requestBody: PlatformUpdatePostRequest,
|
|
808
|
-
): CancelablePromise<PlatformList> {
|
|
857
|
+
}): CancelablePromise<PlatformList> {
|
|
809
858
|
return __request(OpenAPI, {
|
|
810
859
|
method: 'POST',
|
|
811
860
|
url: '/api/core/platform/',
|
|
@@ -815,13 +864,17 @@ export class CoreService {
|
|
|
815
864
|
}
|
|
816
865
|
/**
|
|
817
866
|
* List Platform API Key's belonging to the target platform
|
|
818
|
-
* @param platformKey Platform key of target platform
|
|
819
867
|
* @returns PlatformApiKey
|
|
820
868
|
* @throws ApiError
|
|
821
869
|
*/
|
|
822
|
-
public static corePlatformApiTokensList(
|
|
870
|
+
public static corePlatformApiTokensList({
|
|
871
|
+
platformKey,
|
|
872
|
+
}: {
|
|
873
|
+
/**
|
|
874
|
+
* Platform key of target platform
|
|
875
|
+
*/
|
|
823
876
|
platformKey: string,
|
|
824
|
-
): CancelablePromise<Array<PlatformApiKey>> {
|
|
877
|
+
}): CancelablePromise<Array<PlatformApiKey>> {
|
|
825
878
|
return __request(OpenAPI, {
|
|
826
879
|
method: 'GET',
|
|
827
880
|
url: '/api/core/platform/api-tokens/',
|
|
@@ -832,13 +885,14 @@ export class CoreService {
|
|
|
832
885
|
}
|
|
833
886
|
/**
|
|
834
887
|
* Create a new Platform Api Key for the target platform
|
|
835
|
-
* @param requestBody
|
|
836
888
|
* @returns PlatformApiKey
|
|
837
889
|
* @throws ApiError
|
|
838
890
|
*/
|
|
839
|
-
public static corePlatformApiTokensCreate(
|
|
891
|
+
public static corePlatformApiTokensCreate({
|
|
892
|
+
requestBody,
|
|
893
|
+
}: {
|
|
840
894
|
requestBody: PlatformApiKey,
|
|
841
|
-
): CancelablePromise<PlatformApiKey> {
|
|
895
|
+
}): CancelablePromise<PlatformApiKey> {
|
|
842
896
|
return __request(OpenAPI, {
|
|
843
897
|
method: 'POST',
|
|
844
898
|
url: '/api/core/platform/api-tokens/',
|
|
@@ -848,15 +902,19 @@ export class CoreService {
|
|
|
848
902
|
}
|
|
849
903
|
/**
|
|
850
904
|
* Delete Platform Api Key by name in the target platform
|
|
851
|
-
* @param name
|
|
852
|
-
* @param platformKey Platform key of target platform
|
|
853
905
|
* @returns void
|
|
854
906
|
* @throws ApiError
|
|
855
907
|
*/
|
|
856
|
-
public static corePlatformApiTokensDestroy(
|
|
908
|
+
public static corePlatformApiTokensDestroy({
|
|
909
|
+
name,
|
|
910
|
+
platformKey,
|
|
911
|
+
}: {
|
|
857
912
|
name: string,
|
|
913
|
+
/**
|
|
914
|
+
* Platform key of target platform
|
|
915
|
+
*/
|
|
858
916
|
platformKey: string,
|
|
859
|
-
): CancelablePromise<void> {
|
|
917
|
+
}): CancelablePromise<void> {
|
|
860
918
|
return __request(OpenAPI, {
|
|
861
919
|
method: 'DELETE',
|
|
862
920
|
url: '/api/core/platform/api-tokens/{name}',
|
|
@@ -880,15 +938,16 @@ export class CoreService {
|
|
|
880
938
|
* key
|
|
881
939
|
* field_key (POST)
|
|
882
940
|
* value (POST)
|
|
883
|
-
* @param key
|
|
884
|
-
* @param userId
|
|
885
941
|
* @returns any
|
|
886
942
|
* @throws ApiError
|
|
887
943
|
*/
|
|
888
|
-
public static corePlatformConfigSiteRetrieve(
|
|
944
|
+
public static corePlatformConfigSiteRetrieve({
|
|
945
|
+
key,
|
|
946
|
+
userId,
|
|
947
|
+
}: {
|
|
889
948
|
key: string,
|
|
890
949
|
userId?: number,
|
|
891
|
-
): CancelablePromise<Record<string, any>> {
|
|
950
|
+
}): CancelablePromise<Record<string, any>> {
|
|
892
951
|
return __request(OpenAPI, {
|
|
893
952
|
method: 'GET',
|
|
894
953
|
url: '/api/core/platform/config/site/',
|
|
@@ -910,13 +969,14 @@ export class CoreService {
|
|
|
910
969
|
* key
|
|
911
970
|
* field_key (POST)
|
|
912
971
|
* value (POST)
|
|
913
|
-
* @param requestBody
|
|
914
972
|
* @returns any
|
|
915
973
|
* @throws ApiError
|
|
916
974
|
*/
|
|
917
|
-
public static corePlatformConfigSiteCreate(
|
|
975
|
+
public static corePlatformConfigSiteCreate({
|
|
976
|
+
requestBody,
|
|
977
|
+
}: {
|
|
918
978
|
requestBody?: Record<string, any>,
|
|
919
|
-
): CancelablePromise<Record<string, any>> {
|
|
979
|
+
}): CancelablePromise<Record<string, any>> {
|
|
920
980
|
return __request(OpenAPI, {
|
|
921
981
|
method: 'POST',
|
|
922
982
|
url: '/api/core/platform/config/site/',
|
|
@@ -935,23 +995,24 @@ export class CoreService {
|
|
|
935
995
|
* sort
|
|
936
996
|
*
|
|
937
997
|
* is_admin: Return tenant admin users
|
|
938
|
-
* @param page
|
|
939
|
-
* @param pageSize
|
|
940
|
-
* @param platformKey
|
|
941
|
-
* @param platformOrg
|
|
942
|
-
* @param query
|
|
943
|
-
* @param sort
|
|
944
998
|
* @returns UserPlatformManagementListViewGetResponse
|
|
945
999
|
* @throws ApiError
|
|
946
1000
|
*/
|
|
947
|
-
public static corePlatformUsersRetrieve(
|
|
1001
|
+
public static corePlatformUsersRetrieve({
|
|
1002
|
+
page,
|
|
1003
|
+
pageSize,
|
|
1004
|
+
platformKey,
|
|
1005
|
+
platformOrg,
|
|
1006
|
+
query,
|
|
1007
|
+
sort,
|
|
1008
|
+
}: {
|
|
948
1009
|
page?: number,
|
|
949
1010
|
pageSize?: number,
|
|
950
1011
|
platformKey?: string,
|
|
951
1012
|
platformOrg?: string,
|
|
952
1013
|
query?: string,
|
|
953
1014
|
sort?: string,
|
|
954
|
-
): CancelablePromise<UserPlatformManagementListViewGetResponse> {
|
|
1015
|
+
}): CancelablePromise<UserPlatformManagementListViewGetResponse> {
|
|
955
1016
|
return __request(OpenAPI, {
|
|
956
1017
|
method: 'GET',
|
|
957
1018
|
url: '/api/core/platform/users/',
|
|
@@ -968,21 +1029,37 @@ export class CoreService {
|
|
|
968
1029
|
/**
|
|
969
1030
|
* List group role assignments
|
|
970
1031
|
* Retrieve a list of group role assignments. Can be filtered by platform_key, group_id, or role_id.
|
|
971
|
-
* @param groupId Filter group roles by group ID
|
|
972
|
-
* @param page A page number within the paginated result set.
|
|
973
|
-
* @param pageSize Number of results to return per page.
|
|
974
|
-
* @param platformKey Filter group roles by platform key
|
|
975
|
-
* @param roleId Filter group roles by role ID
|
|
976
1032
|
* @returns PaginatedRbacGroupRoleList
|
|
977
1033
|
* @throws ApiError
|
|
978
1034
|
*/
|
|
979
|
-
public static coreRbacGroupRolesList(
|
|
1035
|
+
public static coreRbacGroupRolesList({
|
|
1036
|
+
groupId,
|
|
1037
|
+
page,
|
|
1038
|
+
pageSize,
|
|
1039
|
+
platformKey,
|
|
1040
|
+
roleId,
|
|
1041
|
+
}: {
|
|
1042
|
+
/**
|
|
1043
|
+
* Filter group roles by group ID
|
|
1044
|
+
*/
|
|
980
1045
|
groupId?: number,
|
|
1046
|
+
/**
|
|
1047
|
+
* A page number within the paginated result set.
|
|
1048
|
+
*/
|
|
981
1049
|
page?: number,
|
|
1050
|
+
/**
|
|
1051
|
+
* Number of results to return per page.
|
|
1052
|
+
*/
|
|
982
1053
|
pageSize?: number,
|
|
1054
|
+
/**
|
|
1055
|
+
* Filter group roles by platform key
|
|
1056
|
+
*/
|
|
983
1057
|
platformKey?: string,
|
|
1058
|
+
/**
|
|
1059
|
+
* Filter group roles by role ID
|
|
1060
|
+
*/
|
|
984
1061
|
roleId?: number,
|
|
985
|
-
): CancelablePromise<PaginatedRbacGroupRoleList> {
|
|
1062
|
+
}): CancelablePromise<PaginatedRbacGroupRoleList> {
|
|
986
1063
|
return __request(OpenAPI, {
|
|
987
1064
|
method: 'GET',
|
|
988
1065
|
url: '/api/core/rbac/group-roles/',
|
|
@@ -998,13 +1075,14 @@ export class CoreService {
|
|
|
998
1075
|
/**
|
|
999
1076
|
* Create group role assignment
|
|
1000
1077
|
* Assign a role to a group. The group and role must belong to the same platform.
|
|
1001
|
-
* @param requestBody
|
|
1002
1078
|
* @returns RbacGroupRole
|
|
1003
1079
|
* @throws ApiError
|
|
1004
1080
|
*/
|
|
1005
|
-
public static coreRbacGroupRolesCreate(
|
|
1081
|
+
public static coreRbacGroupRolesCreate({
|
|
1082
|
+
requestBody,
|
|
1083
|
+
}: {
|
|
1006
1084
|
requestBody: RbacGroupRole,
|
|
1007
|
-
): CancelablePromise<RbacGroupRole> {
|
|
1085
|
+
}): CancelablePromise<RbacGroupRole> {
|
|
1008
1086
|
return __request(OpenAPI, {
|
|
1009
1087
|
method: 'POST',
|
|
1010
1088
|
url: '/api/core/rbac/group-roles/',
|
|
@@ -1021,13 +1099,17 @@ export class CoreService {
|
|
|
1021
1099
|
/**
|
|
1022
1100
|
* Retrieve group role assignment
|
|
1023
1101
|
* Retrieve details of a specific group role assignment.
|
|
1024
|
-
* @param id A unique integer value identifying this RBAC Group Role.
|
|
1025
1102
|
* @returns RbacGroupRole
|
|
1026
1103
|
* @throws ApiError
|
|
1027
1104
|
*/
|
|
1028
|
-
public static coreRbacGroupRolesRetrieve(
|
|
1105
|
+
public static coreRbacGroupRolesRetrieve({
|
|
1106
|
+
id,
|
|
1107
|
+
}: {
|
|
1108
|
+
/**
|
|
1109
|
+
* A unique integer value identifying this RBAC Group Role.
|
|
1110
|
+
*/
|
|
1029
1111
|
id: number,
|
|
1030
|
-
): CancelablePromise<RbacGroupRole> {
|
|
1112
|
+
}): CancelablePromise<RbacGroupRole> {
|
|
1031
1113
|
return __request(OpenAPI, {
|
|
1032
1114
|
method: 'GET',
|
|
1033
1115
|
url: '/api/core/rbac/group-roles/{id}/',
|
|
@@ -1042,15 +1124,19 @@ export class CoreService {
|
|
|
1042
1124
|
/**
|
|
1043
1125
|
* Update group role assignment
|
|
1044
1126
|
* Update an existing group role assignment. Platform validation applies.
|
|
1045
|
-
* @param id A unique integer value identifying this RBAC Group Role.
|
|
1046
|
-
* @param requestBody
|
|
1047
1127
|
* @returns RbacGroupRole
|
|
1048
1128
|
* @throws ApiError
|
|
1049
1129
|
*/
|
|
1050
|
-
public static coreRbacGroupRolesUpdate(
|
|
1130
|
+
public static coreRbacGroupRolesUpdate({
|
|
1131
|
+
id,
|
|
1132
|
+
requestBody,
|
|
1133
|
+
}: {
|
|
1134
|
+
/**
|
|
1135
|
+
* A unique integer value identifying this RBAC Group Role.
|
|
1136
|
+
*/
|
|
1051
1137
|
id: number,
|
|
1052
1138
|
requestBody: RbacGroupRole,
|
|
1053
|
-
): CancelablePromise<RbacGroupRole> {
|
|
1139
|
+
}): CancelablePromise<RbacGroupRole> {
|
|
1054
1140
|
return __request(OpenAPI, {
|
|
1055
1141
|
method: 'PUT',
|
|
1056
1142
|
url: '/api/core/rbac/group-roles/{id}/',
|
|
@@ -1071,15 +1157,19 @@ export class CoreService {
|
|
|
1071
1157
|
/**
|
|
1072
1158
|
* Partially update group role assignment
|
|
1073
1159
|
* Partially update an existing group role assignment. Platform validation applies.
|
|
1074
|
-
* @param id A unique integer value identifying this RBAC Group Role.
|
|
1075
|
-
* @param requestBody
|
|
1076
1160
|
* @returns RbacGroupRole
|
|
1077
1161
|
* @throws ApiError
|
|
1078
1162
|
*/
|
|
1079
|
-
public static coreRbacGroupRolesPartialUpdate(
|
|
1163
|
+
public static coreRbacGroupRolesPartialUpdate({
|
|
1164
|
+
id,
|
|
1165
|
+
requestBody,
|
|
1166
|
+
}: {
|
|
1167
|
+
/**
|
|
1168
|
+
* A unique integer value identifying this RBAC Group Role.
|
|
1169
|
+
*/
|
|
1080
1170
|
id: number,
|
|
1081
1171
|
requestBody?: PatchedRbacGroupRole,
|
|
1082
|
-
): CancelablePromise<RbacGroupRole> {
|
|
1172
|
+
}): CancelablePromise<RbacGroupRole> {
|
|
1083
1173
|
return __request(OpenAPI, {
|
|
1084
1174
|
method: 'PATCH',
|
|
1085
1175
|
url: '/api/core/rbac/group-roles/{id}/',
|
|
@@ -1100,15 +1190,22 @@ export class CoreService {
|
|
|
1100
1190
|
/**
|
|
1101
1191
|
* Delete group role assignment
|
|
1102
1192
|
* Remove a role assignment from a group.
|
|
1103
|
-
* @param id A unique integer value identifying this RBAC Group Role.
|
|
1104
|
-
* @param platformKey platform key for authorization check
|
|
1105
1193
|
* @returns void
|
|
1106
1194
|
* @throws ApiError
|
|
1107
1195
|
*/
|
|
1108
|
-
public static coreRbacGroupRolesDestroy(
|
|
1196
|
+
public static coreRbacGroupRolesDestroy({
|
|
1197
|
+
id,
|
|
1198
|
+
platformKey,
|
|
1199
|
+
}: {
|
|
1200
|
+
/**
|
|
1201
|
+
* A unique integer value identifying this RBAC Group Role.
|
|
1202
|
+
*/
|
|
1109
1203
|
id: number,
|
|
1204
|
+
/**
|
|
1205
|
+
* platform key for authorization check
|
|
1206
|
+
*/
|
|
1110
1207
|
platformKey?: string,
|
|
1111
|
-
): CancelablePromise<void> {
|
|
1208
|
+
}): CancelablePromise<void> {
|
|
1112
1209
|
return __request(OpenAPI, {
|
|
1113
1210
|
method: 'DELETE',
|
|
1114
1211
|
url: '/api/core/rbac/group-roles/{id}/',
|
|
@@ -1126,17 +1223,27 @@ export class CoreService {
|
|
|
1126
1223
|
/**
|
|
1127
1224
|
* List RBAC groups
|
|
1128
1225
|
* Retrieve a list of RBAC groups. Can be filtered by platform_key.
|
|
1129
|
-
* @param page A page number within the paginated result set.
|
|
1130
|
-
* @param pageSize Number of results to return per page.
|
|
1131
|
-
* @param platformKey Filter groups by platform key
|
|
1132
1226
|
* @returns PaginatedRbacGroupList
|
|
1133
1227
|
* @throws ApiError
|
|
1134
1228
|
*/
|
|
1135
|
-
public static coreRbacGroupsList(
|
|
1229
|
+
public static coreRbacGroupsList({
|
|
1230
|
+
page,
|
|
1231
|
+
pageSize,
|
|
1232
|
+
platformKey,
|
|
1233
|
+
}: {
|
|
1234
|
+
/**
|
|
1235
|
+
* A page number within the paginated result set.
|
|
1236
|
+
*/
|
|
1136
1237
|
page?: number,
|
|
1238
|
+
/**
|
|
1239
|
+
* Number of results to return per page.
|
|
1240
|
+
*/
|
|
1137
1241
|
pageSize?: number,
|
|
1242
|
+
/**
|
|
1243
|
+
* Filter groups by platform key
|
|
1244
|
+
*/
|
|
1138
1245
|
platformKey?: string,
|
|
1139
|
-
): CancelablePromise<PaginatedRbacGroupList> {
|
|
1246
|
+
}): CancelablePromise<PaginatedRbacGroupList> {
|
|
1140
1247
|
return __request(OpenAPI, {
|
|
1141
1248
|
method: 'GET',
|
|
1142
1249
|
url: '/api/core/rbac/groups/',
|
|
@@ -1150,13 +1257,14 @@ export class CoreService {
|
|
|
1150
1257
|
/**
|
|
1151
1258
|
* Create RBAC group
|
|
1152
1259
|
* Create a new RBAC group for a platform. Users can be assigned during creation.
|
|
1153
|
-
* @param requestBody
|
|
1154
1260
|
* @returns RbacGroup
|
|
1155
1261
|
* @throws ApiError
|
|
1156
1262
|
*/
|
|
1157
|
-
public static coreRbacGroupsCreate(
|
|
1263
|
+
public static coreRbacGroupsCreate({
|
|
1264
|
+
requestBody,
|
|
1265
|
+
}: {
|
|
1158
1266
|
requestBody: RbacGroup,
|
|
1159
|
-
): CancelablePromise<RbacGroup> {
|
|
1267
|
+
}): CancelablePromise<RbacGroup> {
|
|
1160
1268
|
return __request(OpenAPI, {
|
|
1161
1269
|
method: 'POST',
|
|
1162
1270
|
url: '/api/core/rbac/groups/',
|
|
@@ -1172,13 +1280,17 @@ export class CoreService {
|
|
|
1172
1280
|
/**
|
|
1173
1281
|
* Retrieve RBAC group
|
|
1174
1282
|
* Retrieve details of a specific RBAC group including assigned users.
|
|
1175
|
-
* @param id A unique integer value identifying this RBAC Group.
|
|
1176
1283
|
* @returns RbacGroup
|
|
1177
1284
|
* @throws ApiError
|
|
1178
1285
|
*/
|
|
1179
|
-
public static coreRbacGroupsRetrieve(
|
|
1286
|
+
public static coreRbacGroupsRetrieve({
|
|
1287
|
+
id,
|
|
1288
|
+
}: {
|
|
1289
|
+
/**
|
|
1290
|
+
* A unique integer value identifying this RBAC Group.
|
|
1291
|
+
*/
|
|
1180
1292
|
id: number,
|
|
1181
|
-
): CancelablePromise<RbacGroup> {
|
|
1293
|
+
}): CancelablePromise<RbacGroup> {
|
|
1182
1294
|
return __request(OpenAPI, {
|
|
1183
1295
|
method: 'GET',
|
|
1184
1296
|
url: '/api/core/rbac/groups/{id}/',
|
|
@@ -1193,15 +1305,19 @@ export class CoreService {
|
|
|
1193
1305
|
/**
|
|
1194
1306
|
* Update RBAC group
|
|
1195
1307
|
* Update an existing RBAC group. Platform validation applies for user assignments.
|
|
1196
|
-
* @param id A unique integer value identifying this RBAC Group.
|
|
1197
|
-
* @param requestBody
|
|
1198
1308
|
* @returns RbacGroup
|
|
1199
1309
|
* @throws ApiError
|
|
1200
1310
|
*/
|
|
1201
|
-
public static coreRbacGroupsUpdate(
|
|
1311
|
+
public static coreRbacGroupsUpdate({
|
|
1312
|
+
id,
|
|
1313
|
+
requestBody,
|
|
1314
|
+
}: {
|
|
1315
|
+
/**
|
|
1316
|
+
* A unique integer value identifying this RBAC Group.
|
|
1317
|
+
*/
|
|
1202
1318
|
id: number,
|
|
1203
1319
|
requestBody: RbacGroup,
|
|
1204
|
-
): CancelablePromise<RbacGroup> {
|
|
1320
|
+
}): CancelablePromise<RbacGroup> {
|
|
1205
1321
|
return __request(OpenAPI, {
|
|
1206
1322
|
method: 'PUT',
|
|
1207
1323
|
url: '/api/core/rbac/groups/{id}/',
|
|
@@ -1221,15 +1337,19 @@ export class CoreService {
|
|
|
1221
1337
|
/**
|
|
1222
1338
|
* Partially update RBAC group
|
|
1223
1339
|
* Partially update an existing RBAC group. Platform validation applies for user assignments.
|
|
1224
|
-
* @param id A unique integer value identifying this RBAC Group.
|
|
1225
|
-
* @param requestBody
|
|
1226
1340
|
* @returns RbacGroup
|
|
1227
1341
|
* @throws ApiError
|
|
1228
1342
|
*/
|
|
1229
|
-
public static coreRbacGroupsPartialUpdate(
|
|
1343
|
+
public static coreRbacGroupsPartialUpdate({
|
|
1344
|
+
id,
|
|
1345
|
+
requestBody,
|
|
1346
|
+
}: {
|
|
1347
|
+
/**
|
|
1348
|
+
* A unique integer value identifying this RBAC Group.
|
|
1349
|
+
*/
|
|
1230
1350
|
id: number,
|
|
1231
1351
|
requestBody?: PatchedRbacGroup,
|
|
1232
|
-
): CancelablePromise<RbacGroup> {
|
|
1352
|
+
}): CancelablePromise<RbacGroup> {
|
|
1233
1353
|
return __request(OpenAPI, {
|
|
1234
1354
|
method: 'PATCH',
|
|
1235
1355
|
url: '/api/core/rbac/groups/{id}/',
|
|
@@ -1249,15 +1369,22 @@ export class CoreService {
|
|
|
1249
1369
|
/**
|
|
1250
1370
|
* Delete RBAC group
|
|
1251
1371
|
* Delete an RBAC group and all associated group role assignments.
|
|
1252
|
-
* @param id A unique integer value identifying this RBAC Group.
|
|
1253
|
-
* @param platformKey platform key for authorization check
|
|
1254
1372
|
* @returns void
|
|
1255
1373
|
* @throws ApiError
|
|
1256
1374
|
*/
|
|
1257
|
-
public static coreRbacGroupsDestroy(
|
|
1375
|
+
public static coreRbacGroupsDestroy({
|
|
1376
|
+
id,
|
|
1377
|
+
platformKey,
|
|
1378
|
+
}: {
|
|
1379
|
+
/**
|
|
1380
|
+
* A unique integer value identifying this RBAC Group.
|
|
1381
|
+
*/
|
|
1258
1382
|
id: number,
|
|
1383
|
+
/**
|
|
1384
|
+
* platform key for authorization check
|
|
1385
|
+
*/
|
|
1259
1386
|
platformKey?: string,
|
|
1260
|
-
): CancelablePromise<void> {
|
|
1387
|
+
}): CancelablePromise<void> {
|
|
1261
1388
|
return __request(OpenAPI, {
|
|
1262
1389
|
method: 'DELETE',
|
|
1263
1390
|
url: '/api/core/rbac/groups/{id}/',
|
|
@@ -1275,19 +1402,32 @@ export class CoreService {
|
|
|
1275
1402
|
/**
|
|
1276
1403
|
* List RBAC policies
|
|
1277
1404
|
* Retrieve a list of RBAC policies. Can be filtered by platform_key or role_id.
|
|
1278
|
-
* @param page A page number within the paginated result set.
|
|
1279
|
-
* @param pageSize Number of results to return per page.
|
|
1280
|
-
* @param platformKey Filter policies by platform key
|
|
1281
|
-
* @param roleId Filter policies by role ID
|
|
1282
1405
|
* @returns PaginatedRbacPolicyList
|
|
1283
1406
|
* @throws ApiError
|
|
1284
1407
|
*/
|
|
1285
|
-
public static coreRbacPoliciesList(
|
|
1408
|
+
public static coreRbacPoliciesList({
|
|
1409
|
+
page,
|
|
1410
|
+
pageSize,
|
|
1411
|
+
platformKey,
|
|
1412
|
+
roleId,
|
|
1413
|
+
}: {
|
|
1414
|
+
/**
|
|
1415
|
+
* A page number within the paginated result set.
|
|
1416
|
+
*/
|
|
1286
1417
|
page?: number,
|
|
1418
|
+
/**
|
|
1419
|
+
* Number of results to return per page.
|
|
1420
|
+
*/
|
|
1287
1421
|
pageSize?: number,
|
|
1422
|
+
/**
|
|
1423
|
+
* Filter policies by platform key
|
|
1424
|
+
*/
|
|
1288
1425
|
platformKey?: string,
|
|
1426
|
+
/**
|
|
1427
|
+
* Filter policies by role ID
|
|
1428
|
+
*/
|
|
1289
1429
|
roleId?: number,
|
|
1290
|
-
): CancelablePromise<PaginatedRbacPolicyList> {
|
|
1430
|
+
}): CancelablePromise<PaginatedRbacPolicyList> {
|
|
1291
1431
|
return __request(OpenAPI, {
|
|
1292
1432
|
method: 'GET',
|
|
1293
1433
|
url: '/api/core/rbac/policies/',
|
|
@@ -1302,13 +1442,14 @@ export class CoreService {
|
|
|
1302
1442
|
/**
|
|
1303
1443
|
* Create RBAC policy
|
|
1304
1444
|
* Create a new RBAC policy that defines resource access for a role.
|
|
1305
|
-
* @param requestBody
|
|
1306
1445
|
* @returns RbacPolicy
|
|
1307
1446
|
* @throws ApiError
|
|
1308
1447
|
*/
|
|
1309
|
-
public static coreRbacPoliciesCreate(
|
|
1448
|
+
public static coreRbacPoliciesCreate({
|
|
1449
|
+
requestBody,
|
|
1450
|
+
}: {
|
|
1310
1451
|
requestBody: RbacPolicy,
|
|
1311
|
-
): CancelablePromise<RbacPolicy> {
|
|
1452
|
+
}): CancelablePromise<RbacPolicy> {
|
|
1312
1453
|
return __request(OpenAPI, {
|
|
1313
1454
|
method: 'POST',
|
|
1314
1455
|
url: '/api/core/rbac/policies/',
|
|
@@ -1322,13 +1463,17 @@ export class CoreService {
|
|
|
1322
1463
|
/**
|
|
1323
1464
|
* Retrieve RBAC policy
|
|
1324
1465
|
* Retrieve details of a specific RBAC policy.
|
|
1325
|
-
* @param id A unique integer value identifying this RBAC Policy.
|
|
1326
1466
|
* @returns RbacPolicy
|
|
1327
1467
|
* @throws ApiError
|
|
1328
1468
|
*/
|
|
1329
|
-
public static coreRbacPoliciesRetrieve(
|
|
1469
|
+
public static coreRbacPoliciesRetrieve({
|
|
1470
|
+
id,
|
|
1471
|
+
}: {
|
|
1472
|
+
/**
|
|
1473
|
+
* A unique integer value identifying this RBAC Policy.
|
|
1474
|
+
*/
|
|
1330
1475
|
id: number,
|
|
1331
|
-
): CancelablePromise<RbacPolicy> {
|
|
1476
|
+
}): CancelablePromise<RbacPolicy> {
|
|
1332
1477
|
return __request(OpenAPI, {
|
|
1333
1478
|
method: 'GET',
|
|
1334
1479
|
url: '/api/core/rbac/policies/{id}/',
|
|
@@ -1343,15 +1488,19 @@ export class CoreService {
|
|
|
1343
1488
|
/**
|
|
1344
1489
|
* Update RBAC policy
|
|
1345
1490
|
* Update an existing RBAC policy.
|
|
1346
|
-
* @param id A unique integer value identifying this RBAC Policy.
|
|
1347
|
-
* @param requestBody
|
|
1348
1491
|
* @returns RbacPolicy
|
|
1349
1492
|
* @throws ApiError
|
|
1350
1493
|
*/
|
|
1351
|
-
public static coreRbacPoliciesUpdate(
|
|
1494
|
+
public static coreRbacPoliciesUpdate({
|
|
1495
|
+
id,
|
|
1496
|
+
requestBody,
|
|
1497
|
+
}: {
|
|
1498
|
+
/**
|
|
1499
|
+
* A unique integer value identifying this RBAC Policy.
|
|
1500
|
+
*/
|
|
1352
1501
|
id: number,
|
|
1353
1502
|
requestBody: RbacPolicy,
|
|
1354
|
-
): CancelablePromise<RbacPolicy> {
|
|
1503
|
+
}): CancelablePromise<RbacPolicy> {
|
|
1355
1504
|
return __request(OpenAPI, {
|
|
1356
1505
|
method: 'PUT',
|
|
1357
1506
|
url: '/api/core/rbac/policies/{id}/',
|
|
@@ -1369,15 +1518,19 @@ export class CoreService {
|
|
|
1369
1518
|
/**
|
|
1370
1519
|
* Partially update RBAC policy
|
|
1371
1520
|
* Partially update an existing RBAC policy.
|
|
1372
|
-
* @param id A unique integer value identifying this RBAC Policy.
|
|
1373
|
-
* @param requestBody
|
|
1374
1521
|
* @returns RbacPolicy
|
|
1375
1522
|
* @throws ApiError
|
|
1376
1523
|
*/
|
|
1377
|
-
public static coreRbacPoliciesPartialUpdate(
|
|
1524
|
+
public static coreRbacPoliciesPartialUpdate({
|
|
1525
|
+
id,
|
|
1526
|
+
requestBody,
|
|
1527
|
+
}: {
|
|
1528
|
+
/**
|
|
1529
|
+
* A unique integer value identifying this RBAC Policy.
|
|
1530
|
+
*/
|
|
1378
1531
|
id: number,
|
|
1379
1532
|
requestBody?: PatchedRbacPolicy,
|
|
1380
|
-
): CancelablePromise<RbacPolicy> {
|
|
1533
|
+
}): CancelablePromise<RbacPolicy> {
|
|
1381
1534
|
return __request(OpenAPI, {
|
|
1382
1535
|
method: 'PATCH',
|
|
1383
1536
|
url: '/api/core/rbac/policies/{id}/',
|
|
@@ -1395,15 +1548,22 @@ export class CoreService {
|
|
|
1395
1548
|
/**
|
|
1396
1549
|
* Delete RBAC policy
|
|
1397
1550
|
* Delete an RBAC policy.
|
|
1398
|
-
* @param id A unique integer value identifying this RBAC Policy.
|
|
1399
|
-
* @param platformKey platform key for authorization check
|
|
1400
1551
|
* @returns void
|
|
1401
1552
|
* @throws ApiError
|
|
1402
1553
|
*/
|
|
1403
|
-
public static coreRbacPoliciesDestroy(
|
|
1554
|
+
public static coreRbacPoliciesDestroy({
|
|
1555
|
+
id,
|
|
1556
|
+
platformKey,
|
|
1557
|
+
}: {
|
|
1558
|
+
/**
|
|
1559
|
+
* A unique integer value identifying this RBAC Policy.
|
|
1560
|
+
*/
|
|
1404
1561
|
id: number,
|
|
1562
|
+
/**
|
|
1563
|
+
* platform key for authorization check
|
|
1564
|
+
*/
|
|
1405
1565
|
platformKey?: string,
|
|
1406
|
-
): CancelablePromise<void> {
|
|
1566
|
+
}): CancelablePromise<void> {
|
|
1407
1567
|
return __request(OpenAPI, {
|
|
1408
1568
|
method: 'DELETE',
|
|
1409
1569
|
url: '/api/core/rbac/policies/{id}/',
|
|
@@ -1421,17 +1581,27 @@ export class CoreService {
|
|
|
1421
1581
|
/**
|
|
1422
1582
|
* List RBAC roles
|
|
1423
1583
|
* Retrieve a list of RBAC roles. Can be filtered by platform_key.
|
|
1424
|
-
* @param page A page number within the paginated result set.
|
|
1425
|
-
* @param pageSize Number of results to return per page.
|
|
1426
|
-
* @param platformKey Filter roles by platform key
|
|
1427
1584
|
* @returns PaginatedRbacRoleList
|
|
1428
1585
|
* @throws ApiError
|
|
1429
1586
|
*/
|
|
1430
|
-
public static coreRbacRolesList(
|
|
1587
|
+
public static coreRbacRolesList({
|
|
1588
|
+
page,
|
|
1589
|
+
pageSize,
|
|
1590
|
+
platformKey,
|
|
1591
|
+
}: {
|
|
1592
|
+
/**
|
|
1593
|
+
* A page number within the paginated result set.
|
|
1594
|
+
*/
|
|
1431
1595
|
page?: number,
|
|
1596
|
+
/**
|
|
1597
|
+
* Number of results to return per page.
|
|
1598
|
+
*/
|
|
1432
1599
|
pageSize?: number,
|
|
1600
|
+
/**
|
|
1601
|
+
* Filter roles by platform key
|
|
1602
|
+
*/
|
|
1433
1603
|
platformKey?: string,
|
|
1434
|
-
): CancelablePromise<PaginatedRbacRoleList> {
|
|
1604
|
+
}): CancelablePromise<PaginatedRbacRoleList> {
|
|
1435
1605
|
return __request(OpenAPI, {
|
|
1436
1606
|
method: 'GET',
|
|
1437
1607
|
url: '/api/core/rbac/roles/',
|
|
@@ -1445,13 +1615,14 @@ export class CoreService {
|
|
|
1445
1615
|
/**
|
|
1446
1616
|
* Create RBAC role
|
|
1447
1617
|
* Create a new RBAC role for a platform.
|
|
1448
|
-
* @param requestBody
|
|
1449
1618
|
* @returns RbacRole
|
|
1450
1619
|
* @throws ApiError
|
|
1451
1620
|
*/
|
|
1452
|
-
public static coreRbacRolesCreate(
|
|
1621
|
+
public static coreRbacRolesCreate({
|
|
1622
|
+
requestBody,
|
|
1623
|
+
}: {
|
|
1453
1624
|
requestBody: RbacRole,
|
|
1454
|
-
): CancelablePromise<RbacRole> {
|
|
1625
|
+
}): CancelablePromise<RbacRole> {
|
|
1455
1626
|
return __request(OpenAPI, {
|
|
1456
1627
|
method: 'POST',
|
|
1457
1628
|
url: '/api/core/rbac/roles/',
|
|
@@ -1465,13 +1636,17 @@ export class CoreService {
|
|
|
1465
1636
|
/**
|
|
1466
1637
|
* Retrieve RBAC role
|
|
1467
1638
|
* Retrieve details of a specific RBAC role.
|
|
1468
|
-
* @param id A unique integer value identifying this RBAC Role.
|
|
1469
1639
|
* @returns RbacRole
|
|
1470
1640
|
* @throws ApiError
|
|
1471
1641
|
*/
|
|
1472
|
-
public static coreRbacRolesRetrieve(
|
|
1642
|
+
public static coreRbacRolesRetrieve({
|
|
1643
|
+
id,
|
|
1644
|
+
}: {
|
|
1645
|
+
/**
|
|
1646
|
+
* A unique integer value identifying this RBAC Role.
|
|
1647
|
+
*/
|
|
1473
1648
|
id: number,
|
|
1474
|
-
): CancelablePromise<RbacRole> {
|
|
1649
|
+
}): CancelablePromise<RbacRole> {
|
|
1475
1650
|
return __request(OpenAPI, {
|
|
1476
1651
|
method: 'GET',
|
|
1477
1652
|
url: '/api/core/rbac/roles/{id}/',
|
|
@@ -1486,15 +1661,19 @@ export class CoreService {
|
|
|
1486
1661
|
/**
|
|
1487
1662
|
* Update RBAC role
|
|
1488
1663
|
* Update an existing RBAC role.
|
|
1489
|
-
* @param id A unique integer value identifying this RBAC Role.
|
|
1490
|
-
* @param requestBody
|
|
1491
1664
|
* @returns RbacRole
|
|
1492
1665
|
* @throws ApiError
|
|
1493
1666
|
*/
|
|
1494
|
-
public static coreRbacRolesUpdate(
|
|
1667
|
+
public static coreRbacRolesUpdate({
|
|
1668
|
+
id,
|
|
1669
|
+
requestBody,
|
|
1670
|
+
}: {
|
|
1671
|
+
/**
|
|
1672
|
+
* A unique integer value identifying this RBAC Role.
|
|
1673
|
+
*/
|
|
1495
1674
|
id: number,
|
|
1496
1675
|
requestBody: RbacRole,
|
|
1497
|
-
): CancelablePromise<RbacRole> {
|
|
1676
|
+
}): CancelablePromise<RbacRole> {
|
|
1498
1677
|
return __request(OpenAPI, {
|
|
1499
1678
|
method: 'PUT',
|
|
1500
1679
|
url: '/api/core/rbac/roles/{id}/',
|
|
@@ -1512,15 +1691,19 @@ export class CoreService {
|
|
|
1512
1691
|
/**
|
|
1513
1692
|
* Partially update RBAC role
|
|
1514
1693
|
* Partially update an existing RBAC role.
|
|
1515
|
-
* @param id A unique integer value identifying this RBAC Role.
|
|
1516
|
-
* @param requestBody
|
|
1517
1694
|
* @returns RbacRole
|
|
1518
1695
|
* @throws ApiError
|
|
1519
1696
|
*/
|
|
1520
|
-
public static coreRbacRolesPartialUpdate(
|
|
1697
|
+
public static coreRbacRolesPartialUpdate({
|
|
1698
|
+
id,
|
|
1699
|
+
requestBody,
|
|
1700
|
+
}: {
|
|
1701
|
+
/**
|
|
1702
|
+
* A unique integer value identifying this RBAC Role.
|
|
1703
|
+
*/
|
|
1521
1704
|
id: number,
|
|
1522
1705
|
requestBody?: PatchedRbacRole,
|
|
1523
|
-
): CancelablePromise<RbacRole> {
|
|
1706
|
+
}): CancelablePromise<RbacRole> {
|
|
1524
1707
|
return __request(OpenAPI, {
|
|
1525
1708
|
method: 'PATCH',
|
|
1526
1709
|
url: '/api/core/rbac/roles/{id}/',
|
|
@@ -1538,15 +1721,22 @@ export class CoreService {
|
|
|
1538
1721
|
/**
|
|
1539
1722
|
* Delete RBAC role
|
|
1540
1723
|
* Delete an RBAC role.
|
|
1541
|
-
* @param id A unique integer value identifying this RBAC Role.
|
|
1542
|
-
* @param platformKey platform key for authorization check
|
|
1543
1724
|
* @returns void
|
|
1544
1725
|
* @throws ApiError
|
|
1545
1726
|
*/
|
|
1546
|
-
public static coreRbacRolesDestroy(
|
|
1727
|
+
public static coreRbacRolesDestroy({
|
|
1728
|
+
id,
|
|
1729
|
+
platformKey,
|
|
1730
|
+
}: {
|
|
1731
|
+
/**
|
|
1732
|
+
* A unique integer value identifying this RBAC Role.
|
|
1733
|
+
*/
|
|
1547
1734
|
id: number,
|
|
1735
|
+
/**
|
|
1736
|
+
* platform key for authorization check
|
|
1737
|
+
*/
|
|
1548
1738
|
platformKey?: string,
|
|
1549
|
-
): CancelablePromise<void> {
|
|
1739
|
+
}): CancelablePromise<void> {
|
|
1550
1740
|
return __request(OpenAPI, {
|
|
1551
1741
|
method: 'DELETE',
|
|
1552
1742
|
url: '/api/core/rbac/roles/{id}/',
|
|
@@ -1564,19 +1754,32 @@ export class CoreService {
|
|
|
1564
1754
|
/**
|
|
1565
1755
|
* List user role assignments
|
|
1566
1756
|
* Retrieve a list of user role assignments. Can be filtered by platform_key or user_id.
|
|
1567
|
-
* @param page A page number within the paginated result set.
|
|
1568
|
-
* @param pageSize Number of results to return per page.
|
|
1569
|
-
* @param platformKey Filter user roles by platform key
|
|
1570
|
-
* @param userId Filter user roles by user ID
|
|
1571
1757
|
* @returns PaginatedRbacUserRoleList
|
|
1572
1758
|
* @throws ApiError
|
|
1573
1759
|
*/
|
|
1574
|
-
public static coreRbacUserRolesList(
|
|
1760
|
+
public static coreRbacUserRolesList({
|
|
1761
|
+
page,
|
|
1762
|
+
pageSize,
|
|
1763
|
+
platformKey,
|
|
1764
|
+
userId,
|
|
1765
|
+
}: {
|
|
1766
|
+
/**
|
|
1767
|
+
* A page number within the paginated result set.
|
|
1768
|
+
*/
|
|
1575
1769
|
page?: number,
|
|
1770
|
+
/**
|
|
1771
|
+
* Number of results to return per page.
|
|
1772
|
+
*/
|
|
1576
1773
|
pageSize?: number,
|
|
1774
|
+
/**
|
|
1775
|
+
* Filter user roles by platform key
|
|
1776
|
+
*/
|
|
1577
1777
|
platformKey?: string,
|
|
1778
|
+
/**
|
|
1779
|
+
* Filter user roles by user ID
|
|
1780
|
+
*/
|
|
1578
1781
|
userId?: number,
|
|
1579
|
-
): CancelablePromise<PaginatedRbacUserRoleList> {
|
|
1782
|
+
}): CancelablePromise<PaginatedRbacUserRoleList> {
|
|
1580
1783
|
return __request(OpenAPI, {
|
|
1581
1784
|
method: 'GET',
|
|
1582
1785
|
url: '/api/core/rbac/user-roles/',
|
|
@@ -1591,13 +1794,14 @@ export class CoreService {
|
|
|
1591
1794
|
/**
|
|
1592
1795
|
* Create user role assignment
|
|
1593
1796
|
* Assign a role to a user. The user must belong to the same platform as the role.
|
|
1594
|
-
* @param requestBody
|
|
1595
1797
|
* @returns RbacUserRole
|
|
1596
1798
|
* @throws ApiError
|
|
1597
1799
|
*/
|
|
1598
|
-
public static coreRbacUserRolesCreate(
|
|
1800
|
+
public static coreRbacUserRolesCreate({
|
|
1801
|
+
requestBody,
|
|
1802
|
+
}: {
|
|
1599
1803
|
requestBody: RbacUserRole,
|
|
1600
|
-
): CancelablePromise<RbacUserRole> {
|
|
1804
|
+
}): CancelablePromise<RbacUserRole> {
|
|
1601
1805
|
return __request(OpenAPI, {
|
|
1602
1806
|
method: 'POST',
|
|
1603
1807
|
url: '/api/core/rbac/user-roles/',
|
|
@@ -1613,13 +1817,17 @@ export class CoreService {
|
|
|
1613
1817
|
/**
|
|
1614
1818
|
* Retrieve user role assignment
|
|
1615
1819
|
* Retrieve details of a specific user role assignment.
|
|
1616
|
-
* @param id A unique integer value identifying this RBAC User Role.
|
|
1617
1820
|
* @returns RbacUserRole
|
|
1618
1821
|
* @throws ApiError
|
|
1619
1822
|
*/
|
|
1620
|
-
public static coreRbacUserRolesRetrieve(
|
|
1823
|
+
public static coreRbacUserRolesRetrieve({
|
|
1824
|
+
id,
|
|
1825
|
+
}: {
|
|
1826
|
+
/**
|
|
1827
|
+
* A unique integer value identifying this RBAC User Role.
|
|
1828
|
+
*/
|
|
1621
1829
|
id: number,
|
|
1622
|
-
): CancelablePromise<RbacUserRole> {
|
|
1830
|
+
}): CancelablePromise<RbacUserRole> {
|
|
1623
1831
|
return __request(OpenAPI, {
|
|
1624
1832
|
method: 'GET',
|
|
1625
1833
|
url: '/api/core/rbac/user-roles/{id}/',
|
|
@@ -1634,15 +1842,19 @@ export class CoreService {
|
|
|
1634
1842
|
/**
|
|
1635
1843
|
* Update user role assignment
|
|
1636
1844
|
* Update an existing user role assignment. Platform validation applies.
|
|
1637
|
-
* @param id A unique integer value identifying this RBAC User Role.
|
|
1638
|
-
* @param requestBody
|
|
1639
1845
|
* @returns RbacUserRole
|
|
1640
1846
|
* @throws ApiError
|
|
1641
1847
|
*/
|
|
1642
|
-
public static coreRbacUserRolesUpdate(
|
|
1848
|
+
public static coreRbacUserRolesUpdate({
|
|
1849
|
+
id,
|
|
1850
|
+
requestBody,
|
|
1851
|
+
}: {
|
|
1852
|
+
/**
|
|
1853
|
+
* A unique integer value identifying this RBAC User Role.
|
|
1854
|
+
*/
|
|
1643
1855
|
id: number,
|
|
1644
1856
|
requestBody: RbacUserRole,
|
|
1645
|
-
): CancelablePromise<RbacUserRole> {
|
|
1857
|
+
}): CancelablePromise<RbacUserRole> {
|
|
1646
1858
|
return __request(OpenAPI, {
|
|
1647
1859
|
method: 'PUT',
|
|
1648
1860
|
url: '/api/core/rbac/user-roles/{id}/',
|
|
@@ -1662,15 +1874,19 @@ export class CoreService {
|
|
|
1662
1874
|
/**
|
|
1663
1875
|
* Partially update user role assignment
|
|
1664
1876
|
* Partially update an existing user role assignment. Platform validation applies.
|
|
1665
|
-
* @param id A unique integer value identifying this RBAC User Role.
|
|
1666
|
-
* @param requestBody
|
|
1667
1877
|
* @returns RbacUserRole
|
|
1668
1878
|
* @throws ApiError
|
|
1669
1879
|
*/
|
|
1670
|
-
public static coreRbacUserRolesPartialUpdate(
|
|
1880
|
+
public static coreRbacUserRolesPartialUpdate({
|
|
1881
|
+
id,
|
|
1882
|
+
requestBody,
|
|
1883
|
+
}: {
|
|
1884
|
+
/**
|
|
1885
|
+
* A unique integer value identifying this RBAC User Role.
|
|
1886
|
+
*/
|
|
1671
1887
|
id: number,
|
|
1672
1888
|
requestBody?: PatchedRbacUserRole,
|
|
1673
|
-
): CancelablePromise<RbacUserRole> {
|
|
1889
|
+
}): CancelablePromise<RbacUserRole> {
|
|
1674
1890
|
return __request(OpenAPI, {
|
|
1675
1891
|
method: 'PATCH',
|
|
1676
1892
|
url: '/api/core/rbac/user-roles/{id}/',
|
|
@@ -1690,15 +1906,22 @@ export class CoreService {
|
|
|
1690
1906
|
/**
|
|
1691
1907
|
* Delete user role assignment
|
|
1692
1908
|
* Remove a role assignment from a user.
|
|
1693
|
-
* @param id A unique integer value identifying this RBAC User Role.
|
|
1694
|
-
* @param platformKey platform key for authorization check
|
|
1695
1909
|
* @returns void
|
|
1696
1910
|
* @throws ApiError
|
|
1697
1911
|
*/
|
|
1698
|
-
public static coreRbacUserRolesDestroy(
|
|
1912
|
+
public static coreRbacUserRolesDestroy({
|
|
1913
|
+
id,
|
|
1914
|
+
platformKey,
|
|
1915
|
+
}: {
|
|
1916
|
+
/**
|
|
1917
|
+
* A unique integer value identifying this RBAC User Role.
|
|
1918
|
+
*/
|
|
1699
1919
|
id: number,
|
|
1920
|
+
/**
|
|
1921
|
+
* platform key for authorization check
|
|
1922
|
+
*/
|
|
1700
1923
|
platformKey?: string,
|
|
1701
|
-
): CancelablePromise<void> {
|
|
1924
|
+
}): CancelablePromise<void> {
|
|
1702
1925
|
return __request(OpenAPI, {
|
|
1703
1926
|
method: 'DELETE',
|
|
1704
1927
|
url: '/api/core/rbac/user-roles/{id}/',
|
|
@@ -1726,13 +1949,14 @@ export class CoreService {
|
|
|
1726
1949
|
}
|
|
1727
1950
|
/**
|
|
1728
1951
|
* POST signals/edx/
|
|
1729
|
-
* @param requestBody
|
|
1730
1952
|
* @returns any No response body
|
|
1731
1953
|
* @throws ApiError
|
|
1732
1954
|
*/
|
|
1733
|
-
public static coreSignalsEdxCreate(
|
|
1955
|
+
public static coreSignalsEdxCreate({
|
|
1956
|
+
requestBody,
|
|
1957
|
+
}: {
|
|
1734
1958
|
requestBody: EdxSignalReceiverRequest,
|
|
1735
|
-
): CancelablePromise<any> {
|
|
1959
|
+
}): CancelablePromise<any> {
|
|
1736
1960
|
return __request(OpenAPI, {
|
|
1737
1961
|
method: 'POST',
|
|
1738
1962
|
url: '/api/core/signals/edx/',
|
|
@@ -1844,13 +2068,14 @@ export class CoreService {
|
|
|
1844
2068
|
}
|
|
1845
2069
|
/**
|
|
1846
2070
|
* Initiates the account deletion process for the authenticated user or specified username.
|
|
1847
|
-
* @param requestBody
|
|
1848
2071
|
* @returns UserDeleteAPIResponse
|
|
1849
2072
|
* @throws ApiError
|
|
1850
2073
|
*/
|
|
1851
|
-
public static coreUsersDeleteCreate(
|
|
2074
|
+
public static coreUsersDeleteCreate({
|
|
2075
|
+
requestBody,
|
|
2076
|
+
}: {
|
|
1852
2077
|
requestBody?: UserDeleteAPIRequest,
|
|
1853
|
-
): CancelablePromise<UserDeleteAPIResponse> {
|
|
2078
|
+
}): CancelablePromise<UserDeleteAPIResponse> {
|
|
1854
2079
|
return __request(OpenAPI, {
|
|
1855
2080
|
method: 'POST',
|
|
1856
2081
|
url: '/api/core/users/delete/',
|
|
@@ -1863,17 +2088,18 @@ export class CoreService {
|
|
|
1863
2088
|
*
|
|
1864
2089
|
* Make permission check for platform admins here,
|
|
1865
2090
|
* then proxy request to edx.
|
|
1866
|
-
* @param email
|
|
1867
|
-
* @param userId
|
|
1868
|
-
* @param username
|
|
1869
2091
|
* @returns any No response body
|
|
1870
2092
|
* @throws ApiError
|
|
1871
2093
|
*/
|
|
1872
|
-
public static coreUsersMetadataProxyRetrieve(
|
|
2094
|
+
public static coreUsersMetadataProxyRetrieve({
|
|
2095
|
+
email,
|
|
2096
|
+
userId,
|
|
2097
|
+
username,
|
|
2098
|
+
}: {
|
|
1873
2099
|
email?: string,
|
|
1874
2100
|
userId?: number,
|
|
1875
2101
|
username?: string,
|
|
1876
|
-
): CancelablePromise<any> {
|
|
2102
|
+
}): CancelablePromise<any> {
|
|
1877
2103
|
return __request(OpenAPI, {
|
|
1878
2104
|
method: 'GET',
|
|
1879
2105
|
url: '/api/core/users/metadata/proxy/',
|
|
@@ -1891,17 +2117,18 @@ export class CoreService {
|
|
|
1891
2117
|
* user_id
|
|
1892
2118
|
* username
|
|
1893
2119
|
* email
|
|
1894
|
-
* @param email
|
|
1895
|
-
* @param userId
|
|
1896
|
-
* @param username
|
|
1897
2120
|
* @returns UserPlatformLink
|
|
1898
2121
|
* @throws ApiError
|
|
1899
2122
|
*/
|
|
1900
|
-
public static coreUsersPlatformsList(
|
|
2123
|
+
public static coreUsersPlatformsList({
|
|
2124
|
+
email,
|
|
2125
|
+
userId,
|
|
2126
|
+
username,
|
|
2127
|
+
}: {
|
|
1901
2128
|
email?: string,
|
|
1902
2129
|
userId?: number,
|
|
1903
2130
|
username?: string,
|
|
1904
|
-
): CancelablePromise<Array<UserPlatformLink>> {
|
|
2131
|
+
}): CancelablePromise<Array<UserPlatformLink>> {
|
|
1905
2132
|
return __request(OpenAPI, {
|
|
1906
2133
|
method: 'GET',
|
|
1907
2134
|
url: '/api/core/users/platforms/',
|
|
@@ -1922,13 +2149,14 @@ export class CoreService {
|
|
|
1922
2149
|
* expired_on (optional)
|
|
1923
2150
|
* is_admin (optional)
|
|
1924
2151
|
* active (optional)
|
|
1925
|
-
* @param requestBody
|
|
1926
2152
|
* @returns any No response body
|
|
1927
2153
|
* @throws ApiError
|
|
1928
2154
|
*/
|
|
1929
|
-
public static coreUsersPlatformsCreate(
|
|
2155
|
+
public static coreUsersPlatformsCreate({
|
|
2156
|
+
requestBody,
|
|
2157
|
+
}: {
|
|
1930
2158
|
requestBody: UserPlatformViewPostRequest,
|
|
1931
|
-
): CancelablePromise<any> {
|
|
2159
|
+
}): CancelablePromise<any> {
|
|
1932
2160
|
return __request(OpenAPI, {
|
|
1933
2161
|
method: 'POST',
|
|
1934
2162
|
url: '/api/core/users/platforms/',
|
|
@@ -1938,17 +2166,18 @@ export class CoreService {
|
|
|
1938
2166
|
}
|
|
1939
2167
|
/**
|
|
1940
2168
|
* Retrieve proxy user information by user_id
|
|
1941
|
-
* @param email
|
|
1942
|
-
* @param userId
|
|
1943
|
-
* @param username
|
|
1944
2169
|
* @returns UserProxyGetResponse
|
|
1945
2170
|
* @throws ApiError
|
|
1946
2171
|
*/
|
|
1947
|
-
public static coreUsersProxyRetrieve(
|
|
2172
|
+
public static coreUsersProxyRetrieve({
|
|
2173
|
+
email,
|
|
2174
|
+
userId,
|
|
2175
|
+
username,
|
|
2176
|
+
}: {
|
|
1948
2177
|
email?: string,
|
|
1949
2178
|
userId?: number,
|
|
1950
2179
|
username?: string,
|
|
1951
|
-
): CancelablePromise<UserProxyGetResponse> {
|
|
2180
|
+
}): CancelablePromise<UserProxyGetResponse> {
|
|
1952
2181
|
return __request(OpenAPI, {
|
|
1953
2182
|
method: 'GET',
|
|
1954
2183
|
url: '/api/core/users/proxy/',
|
|
@@ -1968,13 +2197,14 @@ export class CoreService {
|
|
|
1968
2197
|
* email
|
|
1969
2198
|
* edx_data
|
|
1970
2199
|
* data
|
|
1971
|
-
* @param requestBody
|
|
1972
2200
|
* @returns UserProxyPostResponse
|
|
1973
2201
|
* @throws ApiError
|
|
1974
2202
|
*/
|
|
1975
|
-
public static coreUsersProxyCreate(
|
|
2203
|
+
public static coreUsersProxyCreate({
|
|
2204
|
+
requestBody,
|
|
2205
|
+
}: {
|
|
1976
2206
|
requestBody: UserProxyPostRequest,
|
|
1977
|
-
): CancelablePromise<UserProxyPostResponse> {
|
|
2207
|
+
}): CancelablePromise<UserProxyPostResponse> {
|
|
1978
2208
|
return __request(OpenAPI, {
|
|
1979
2209
|
method: 'POST',
|
|
1980
2210
|
url: '/api/core/users/proxy/',
|
|
@@ -1993,13 +2223,14 @@ export class CoreService {
|
|
|
1993
2223
|
* {"user_id": 2, ...}
|
|
1994
2224
|
* ]
|
|
1995
2225
|
* ```
|
|
1996
|
-
* @param requestBody
|
|
1997
2226
|
* @returns string
|
|
1998
2227
|
* @throws ApiError
|
|
1999
2228
|
*/
|
|
2000
|
-
public static coreUsersProxyBulkCreate(
|
|
2229
|
+
public static coreUsersProxyBulkCreate({
|
|
2230
|
+
requestBody,
|
|
2231
|
+
}: {
|
|
2001
2232
|
requestBody: UserProxyBulkRequest,
|
|
2002
|
-
): CancelablePromise<Array<Record<string, string>>> {
|
|
2233
|
+
}): CancelablePromise<Array<Record<string, string>>> {
|
|
2003
2234
|
return __request(OpenAPI, {
|
|
2004
2235
|
method: 'POST',
|
|
2005
2236
|
url: '/api/core/users/proxy/bulk/',
|
|
@@ -2014,19 +2245,20 @@ export class CoreService {
|
|
|
2014
2245
|
* Params:
|
|
2015
2246
|
* query
|
|
2016
2247
|
* sort
|
|
2017
|
-
* @param page
|
|
2018
|
-
* @param pageSize
|
|
2019
|
-
* @param query
|
|
2020
|
-
* @param sort
|
|
2021
2248
|
* @returns UserSearchViewGetResponse
|
|
2022
2249
|
* @throws ApiError
|
|
2023
2250
|
*/
|
|
2024
|
-
public static coreUsersSearchRetrieve(
|
|
2251
|
+
public static coreUsersSearchRetrieve({
|
|
2252
|
+
page,
|
|
2253
|
+
pageSize,
|
|
2254
|
+
query,
|
|
2255
|
+
sort,
|
|
2256
|
+
}: {
|
|
2025
2257
|
page?: number,
|
|
2026
2258
|
pageSize?: number,
|
|
2027
2259
|
query?: string,
|
|
2028
2260
|
sort?: string,
|
|
2029
|
-
): CancelablePromise<UserSearchViewGetResponse> {
|
|
2261
|
+
}): CancelablePromise<UserSearchViewGetResponse> {
|
|
2030
2262
|
return __request(OpenAPI, {
|
|
2031
2263
|
method: 'GET',
|
|
2032
2264
|
url: '/api/core/users/search/',
|