@iblai/iblai-api 4.423.1-ai → 4.424.0-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 +44 -44
- package/dist/index.esm.js +44 -44
- package/dist/index.umd.js +44 -44
- package/dist/types/services/CoreService.d.ts +21 -21
- package/package.json +1 -1
- package/sdk_schema.yml +74 -74
- package/src/core/OpenAPI.ts +1 -1
- package/src/services/CoreService.ts +50 -50
package/dist/index.cjs.js
CHANGED
|
@@ -110,7 +110,7 @@ class CancelablePromise {
|
|
|
110
110
|
|
|
111
111
|
const OpenAPI = {
|
|
112
112
|
BASE: 'https://base.manager.iblai.app',
|
|
113
|
-
VERSION: '4.
|
|
113
|
+
VERSION: '4.424.0-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -39469,6 +39469,49 @@ class CoreService {
|
|
|
39469
39469
|
}
|
|
39470
39470
|
});
|
|
39471
39471
|
}
|
|
39472
|
+
/**
|
|
39473
|
+
* Set student LLM access permissions
|
|
39474
|
+
* Configure which LLM resources students can access on a platform by replacing the LLM Model Access policy resources
|
|
39475
|
+
* @returns StudentLLMAccessResponse
|
|
39476
|
+
* @throws ApiError
|
|
39477
|
+
*/
|
|
39478
|
+
static coreRbacLlmAccessSetCreate({
|
|
39479
|
+
requestBody
|
|
39480
|
+
}) {
|
|
39481
|
+
return request(OpenAPI, {
|
|
39482
|
+
method: 'POST',
|
|
39483
|
+
url: '/api/core/rbac/llm-access/set/',
|
|
39484
|
+
body: requestBody,
|
|
39485
|
+
mediaType: 'application/json',
|
|
39486
|
+
errors: {
|
|
39487
|
+
400: `Invalid request data`,
|
|
39488
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
39489
|
+
404: `Platform or LLM Model Access policy not found`
|
|
39490
|
+
}
|
|
39491
|
+
});
|
|
39492
|
+
}
|
|
39493
|
+
/**
|
|
39494
|
+
* Get student LLM access permissions
|
|
39495
|
+
* Check which LLM resources students are currently allowed to access on a platform
|
|
39496
|
+
* @returns StudentLLMAccessResponse
|
|
39497
|
+
* @throws ApiError
|
|
39498
|
+
*/
|
|
39499
|
+
static coreRbacLlmAccessStatusRetrieve({
|
|
39500
|
+
platformKey
|
|
39501
|
+
}) {
|
|
39502
|
+
return request(OpenAPI, {
|
|
39503
|
+
method: 'GET',
|
|
39504
|
+
url: '/api/core/rbac/llm-access/status/',
|
|
39505
|
+
query: {
|
|
39506
|
+
'platform_key': platformKey
|
|
39507
|
+
},
|
|
39508
|
+
errors: {
|
|
39509
|
+
400: `Missing platform_key parameter`,
|
|
39510
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
39511
|
+
404: `Platform not found`
|
|
39512
|
+
}
|
|
39513
|
+
});
|
|
39514
|
+
}
|
|
39472
39515
|
/**
|
|
39473
39516
|
* @deprecated
|
|
39474
39517
|
* Get mentor access status
|
|
@@ -39910,49 +39953,6 @@ class CoreService {
|
|
|
39910
39953
|
}
|
|
39911
39954
|
});
|
|
39912
39955
|
}
|
|
39913
|
-
/**
|
|
39914
|
-
* Set student LLM access permissions
|
|
39915
|
-
* Configure which LLM resources students can access on a platform by replacing the LLM Users policy resources
|
|
39916
|
-
* @returns StudentLLMAccessResponse
|
|
39917
|
-
* @throws ApiError
|
|
39918
|
-
*/
|
|
39919
|
-
static coreRbacStudentLlmAccessSetCreate({
|
|
39920
|
-
requestBody
|
|
39921
|
-
}) {
|
|
39922
|
-
return request(OpenAPI, {
|
|
39923
|
-
method: 'POST',
|
|
39924
|
-
url: '/api/core/rbac/student-llm-access/set/',
|
|
39925
|
-
body: requestBody,
|
|
39926
|
-
mediaType: 'application/json',
|
|
39927
|
-
errors: {
|
|
39928
|
-
400: `Invalid request data`,
|
|
39929
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
39930
|
-
404: `Platform or LLM Users policy not found`
|
|
39931
|
-
}
|
|
39932
|
-
});
|
|
39933
|
-
}
|
|
39934
|
-
/**
|
|
39935
|
-
* Get student LLM access permissions
|
|
39936
|
-
* Check which LLM resources students are currently allowed to access on a platform
|
|
39937
|
-
* @returns StudentLLMAccessResponse
|
|
39938
|
-
* @throws ApiError
|
|
39939
|
-
*/
|
|
39940
|
-
static coreRbacStudentLlmAccessStatusRetrieve({
|
|
39941
|
-
platformKey
|
|
39942
|
-
}) {
|
|
39943
|
-
return request(OpenAPI, {
|
|
39944
|
-
method: 'GET',
|
|
39945
|
-
url: '/api/core/rbac/student-llm-access/status/',
|
|
39946
|
-
query: {
|
|
39947
|
-
'platform_key': platformKey
|
|
39948
|
-
},
|
|
39949
|
-
errors: {
|
|
39950
|
-
400: `Missing platform_key parameter`,
|
|
39951
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
39952
|
-
404: `Platform not found`
|
|
39953
|
-
}
|
|
39954
|
-
});
|
|
39955
|
-
}
|
|
39956
39956
|
/**
|
|
39957
39957
|
* @deprecated
|
|
39958
39958
|
* Set student mentor creation permission
|
package/dist/index.esm.js
CHANGED
|
@@ -108,7 +108,7 @@ class CancelablePromise {
|
|
|
108
108
|
|
|
109
109
|
const OpenAPI = {
|
|
110
110
|
BASE: 'https://base.manager.iblai.app',
|
|
111
|
-
VERSION: '4.
|
|
111
|
+
VERSION: '4.424.0-ai-plus',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -39467,6 +39467,49 @@ class CoreService {
|
|
|
39467
39467
|
}
|
|
39468
39468
|
});
|
|
39469
39469
|
}
|
|
39470
|
+
/**
|
|
39471
|
+
* Set student LLM access permissions
|
|
39472
|
+
* Configure which LLM resources students can access on a platform by replacing the LLM Model Access policy resources
|
|
39473
|
+
* @returns StudentLLMAccessResponse
|
|
39474
|
+
* @throws ApiError
|
|
39475
|
+
*/
|
|
39476
|
+
static coreRbacLlmAccessSetCreate({
|
|
39477
|
+
requestBody
|
|
39478
|
+
}) {
|
|
39479
|
+
return request(OpenAPI, {
|
|
39480
|
+
method: 'POST',
|
|
39481
|
+
url: '/api/core/rbac/llm-access/set/',
|
|
39482
|
+
body: requestBody,
|
|
39483
|
+
mediaType: 'application/json',
|
|
39484
|
+
errors: {
|
|
39485
|
+
400: `Invalid request data`,
|
|
39486
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
39487
|
+
404: `Platform or LLM Model Access policy not found`
|
|
39488
|
+
}
|
|
39489
|
+
});
|
|
39490
|
+
}
|
|
39491
|
+
/**
|
|
39492
|
+
* Get student LLM access permissions
|
|
39493
|
+
* Check which LLM resources students are currently allowed to access on a platform
|
|
39494
|
+
* @returns StudentLLMAccessResponse
|
|
39495
|
+
* @throws ApiError
|
|
39496
|
+
*/
|
|
39497
|
+
static coreRbacLlmAccessStatusRetrieve({
|
|
39498
|
+
platformKey
|
|
39499
|
+
}) {
|
|
39500
|
+
return request(OpenAPI, {
|
|
39501
|
+
method: 'GET',
|
|
39502
|
+
url: '/api/core/rbac/llm-access/status/',
|
|
39503
|
+
query: {
|
|
39504
|
+
'platform_key': platformKey
|
|
39505
|
+
},
|
|
39506
|
+
errors: {
|
|
39507
|
+
400: `Missing platform_key parameter`,
|
|
39508
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
39509
|
+
404: `Platform not found`
|
|
39510
|
+
}
|
|
39511
|
+
});
|
|
39512
|
+
}
|
|
39470
39513
|
/**
|
|
39471
39514
|
* @deprecated
|
|
39472
39515
|
* Get mentor access status
|
|
@@ -39908,49 +39951,6 @@ class CoreService {
|
|
|
39908
39951
|
}
|
|
39909
39952
|
});
|
|
39910
39953
|
}
|
|
39911
|
-
/**
|
|
39912
|
-
* Set student LLM access permissions
|
|
39913
|
-
* Configure which LLM resources students can access on a platform by replacing the LLM Users policy resources
|
|
39914
|
-
* @returns StudentLLMAccessResponse
|
|
39915
|
-
* @throws ApiError
|
|
39916
|
-
*/
|
|
39917
|
-
static coreRbacStudentLlmAccessSetCreate({
|
|
39918
|
-
requestBody
|
|
39919
|
-
}) {
|
|
39920
|
-
return request(OpenAPI, {
|
|
39921
|
-
method: 'POST',
|
|
39922
|
-
url: '/api/core/rbac/student-llm-access/set/',
|
|
39923
|
-
body: requestBody,
|
|
39924
|
-
mediaType: 'application/json',
|
|
39925
|
-
errors: {
|
|
39926
|
-
400: `Invalid request data`,
|
|
39927
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
39928
|
-
404: `Platform or LLM Users policy not found`
|
|
39929
|
-
}
|
|
39930
|
-
});
|
|
39931
|
-
}
|
|
39932
|
-
/**
|
|
39933
|
-
* Get student LLM access permissions
|
|
39934
|
-
* Check which LLM resources students are currently allowed to access on a platform
|
|
39935
|
-
* @returns StudentLLMAccessResponse
|
|
39936
|
-
* @throws ApiError
|
|
39937
|
-
*/
|
|
39938
|
-
static coreRbacStudentLlmAccessStatusRetrieve({
|
|
39939
|
-
platformKey
|
|
39940
|
-
}) {
|
|
39941
|
-
return request(OpenAPI, {
|
|
39942
|
-
method: 'GET',
|
|
39943
|
-
url: '/api/core/rbac/student-llm-access/status/',
|
|
39944
|
-
query: {
|
|
39945
|
-
'platform_key': platformKey
|
|
39946
|
-
},
|
|
39947
|
-
errors: {
|
|
39948
|
-
400: `Missing platform_key parameter`,
|
|
39949
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
39950
|
-
404: `Platform not found`
|
|
39951
|
-
}
|
|
39952
|
-
});
|
|
39953
|
-
}
|
|
39954
39954
|
/**
|
|
39955
39955
|
* @deprecated
|
|
39956
39956
|
* Set student mentor creation permission
|
package/dist/index.umd.js
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
const OpenAPI = {
|
|
116
116
|
BASE: 'https://base.manager.iblai.app',
|
|
117
|
-
VERSION: '4.
|
|
117
|
+
VERSION: '4.424.0-ai-plus',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -39473,6 +39473,49 @@
|
|
|
39473
39473
|
}
|
|
39474
39474
|
});
|
|
39475
39475
|
}
|
|
39476
|
+
/**
|
|
39477
|
+
* Set student LLM access permissions
|
|
39478
|
+
* Configure which LLM resources students can access on a platform by replacing the LLM Model Access policy resources
|
|
39479
|
+
* @returns StudentLLMAccessResponse
|
|
39480
|
+
* @throws ApiError
|
|
39481
|
+
*/
|
|
39482
|
+
static coreRbacLlmAccessSetCreate({
|
|
39483
|
+
requestBody
|
|
39484
|
+
}) {
|
|
39485
|
+
return request(OpenAPI, {
|
|
39486
|
+
method: 'POST',
|
|
39487
|
+
url: '/api/core/rbac/llm-access/set/',
|
|
39488
|
+
body: requestBody,
|
|
39489
|
+
mediaType: 'application/json',
|
|
39490
|
+
errors: {
|
|
39491
|
+
400: `Invalid request data`,
|
|
39492
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
39493
|
+
404: `Platform or LLM Model Access policy not found`
|
|
39494
|
+
}
|
|
39495
|
+
});
|
|
39496
|
+
}
|
|
39497
|
+
/**
|
|
39498
|
+
* Get student LLM access permissions
|
|
39499
|
+
* Check which LLM resources students are currently allowed to access on a platform
|
|
39500
|
+
* @returns StudentLLMAccessResponse
|
|
39501
|
+
* @throws ApiError
|
|
39502
|
+
*/
|
|
39503
|
+
static coreRbacLlmAccessStatusRetrieve({
|
|
39504
|
+
platformKey
|
|
39505
|
+
}) {
|
|
39506
|
+
return request(OpenAPI, {
|
|
39507
|
+
method: 'GET',
|
|
39508
|
+
url: '/api/core/rbac/llm-access/status/',
|
|
39509
|
+
query: {
|
|
39510
|
+
'platform_key': platformKey
|
|
39511
|
+
},
|
|
39512
|
+
errors: {
|
|
39513
|
+
400: `Missing platform_key parameter`,
|
|
39514
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
39515
|
+
404: `Platform not found`
|
|
39516
|
+
}
|
|
39517
|
+
});
|
|
39518
|
+
}
|
|
39476
39519
|
/**
|
|
39477
39520
|
* @deprecated
|
|
39478
39521
|
* Get mentor access status
|
|
@@ -39914,49 +39957,6 @@
|
|
|
39914
39957
|
}
|
|
39915
39958
|
});
|
|
39916
39959
|
}
|
|
39917
|
-
/**
|
|
39918
|
-
* Set student LLM access permissions
|
|
39919
|
-
* Configure which LLM resources students can access on a platform by replacing the LLM Users policy resources
|
|
39920
|
-
* @returns StudentLLMAccessResponse
|
|
39921
|
-
* @throws ApiError
|
|
39922
|
-
*/
|
|
39923
|
-
static coreRbacStudentLlmAccessSetCreate({
|
|
39924
|
-
requestBody
|
|
39925
|
-
}) {
|
|
39926
|
-
return request(OpenAPI, {
|
|
39927
|
-
method: 'POST',
|
|
39928
|
-
url: '/api/core/rbac/student-llm-access/set/',
|
|
39929
|
-
body: requestBody,
|
|
39930
|
-
mediaType: 'application/json',
|
|
39931
|
-
errors: {
|
|
39932
|
-
400: `Invalid request data`,
|
|
39933
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
39934
|
-
404: `Platform or LLM Users policy not found`
|
|
39935
|
-
}
|
|
39936
|
-
});
|
|
39937
|
-
}
|
|
39938
|
-
/**
|
|
39939
|
-
* Get student LLM access permissions
|
|
39940
|
-
* Check which LLM resources students are currently allowed to access on a platform
|
|
39941
|
-
* @returns StudentLLMAccessResponse
|
|
39942
|
-
* @throws ApiError
|
|
39943
|
-
*/
|
|
39944
|
-
static coreRbacStudentLlmAccessStatusRetrieve({
|
|
39945
|
-
platformKey
|
|
39946
|
-
}) {
|
|
39947
|
-
return request(OpenAPI, {
|
|
39948
|
-
method: 'GET',
|
|
39949
|
-
url: '/api/core/rbac/student-llm-access/status/',
|
|
39950
|
-
query: {
|
|
39951
|
-
'platform_key': platformKey
|
|
39952
|
-
},
|
|
39953
|
-
errors: {
|
|
39954
|
-
400: `Missing platform_key parameter`,
|
|
39955
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
39956
|
-
404: `Platform not found`
|
|
39957
|
-
}
|
|
39958
|
-
});
|
|
39959
|
-
}
|
|
39960
39960
|
/**
|
|
39961
39961
|
* @deprecated
|
|
39962
39962
|
* Set student mentor creation permission
|
|
@@ -1178,6 +1178,27 @@ export declare class CoreService {
|
|
|
1178
1178
|
*/
|
|
1179
1179
|
platformKey: string;
|
|
1180
1180
|
}): CancelablePromise<void>;
|
|
1181
|
+
/**
|
|
1182
|
+
* Set student LLM access permissions
|
|
1183
|
+
* Configure which LLM resources students can access on a platform by replacing the LLM Model Access policy resources
|
|
1184
|
+
* @returns StudentLLMAccessResponse
|
|
1185
|
+
* @throws ApiError
|
|
1186
|
+
*/
|
|
1187
|
+
static coreRbacLlmAccessSetCreate({ requestBody, }: {
|
|
1188
|
+
requestBody: SetStudentLLMAccess;
|
|
1189
|
+
}): CancelablePromise<StudentLLMAccessResponse>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Get student LLM access permissions
|
|
1192
|
+
* Check which LLM resources students are currently allowed to access on a platform
|
|
1193
|
+
* @returns StudentLLMAccessResponse
|
|
1194
|
+
* @throws ApiError
|
|
1195
|
+
*/
|
|
1196
|
+
static coreRbacLlmAccessStatusRetrieve({ platformKey, }: {
|
|
1197
|
+
/**
|
|
1198
|
+
* The platform key to check
|
|
1199
|
+
*/
|
|
1200
|
+
platformKey: string;
|
|
1201
|
+
}): CancelablePromise<StudentLLMAccessResponse>;
|
|
1181
1202
|
/**
|
|
1182
1203
|
* @deprecated
|
|
1183
1204
|
* Get mentor access status
|
|
@@ -1435,27 +1456,6 @@ export declare class CoreService {
|
|
|
1435
1456
|
*/
|
|
1436
1457
|
platformKey: string;
|
|
1437
1458
|
}): CancelablePromise<StudentMentorCreationPermissionResponse>;
|
|
1438
|
-
/**
|
|
1439
|
-
* Set student LLM access permissions
|
|
1440
|
-
* Configure which LLM resources students can access on a platform by replacing the LLM Users policy resources
|
|
1441
|
-
* @returns StudentLLMAccessResponse
|
|
1442
|
-
* @throws ApiError
|
|
1443
|
-
*/
|
|
1444
|
-
static coreRbacStudentLlmAccessSetCreate({ requestBody, }: {
|
|
1445
|
-
requestBody: SetStudentLLMAccess;
|
|
1446
|
-
}): CancelablePromise<StudentLLMAccessResponse>;
|
|
1447
|
-
/**
|
|
1448
|
-
* Get student LLM access permissions
|
|
1449
|
-
* Check which LLM resources students are currently allowed to access on a platform
|
|
1450
|
-
* @returns StudentLLMAccessResponse
|
|
1451
|
-
* @throws ApiError
|
|
1452
|
-
*/
|
|
1453
|
-
static coreRbacStudentLlmAccessStatusRetrieve({ platformKey, }: {
|
|
1454
|
-
/**
|
|
1455
|
-
* The platform key to check
|
|
1456
|
-
*/
|
|
1457
|
-
platformKey: string;
|
|
1458
|
-
}): CancelablePromise<StudentLLMAccessResponse>;
|
|
1459
1459
|
/**
|
|
1460
1460
|
* @deprecated
|
|
1461
1461
|
* Set student mentor creation permission
|
package/package.json
CHANGED
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.424.0-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -76259,6 +76259,79 @@ paths:
|
|
|
76259
76259
|
to delete internal system group
|
|
76260
76260
|
'404':
|
|
76261
76261
|
description: Group not found
|
|
76262
|
+
/api/core/rbac/llm-access/set/:
|
|
76263
|
+
post:
|
|
76264
|
+
operationId: core_rbac_llm_access_set_create
|
|
76265
|
+
description: Configure which LLM resources students can access on a platform
|
|
76266
|
+
by replacing the LLM Model Access policy resources
|
|
76267
|
+
summary: Set student LLM access permissions
|
|
76268
|
+
tags:
|
|
76269
|
+
- core
|
|
76270
|
+
requestBody:
|
|
76271
|
+
content:
|
|
76272
|
+
application/json:
|
|
76273
|
+
schema:
|
|
76274
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
76275
|
+
application/scim+json:
|
|
76276
|
+
schema:
|
|
76277
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
76278
|
+
application/x-www-form-urlencoded:
|
|
76279
|
+
schema:
|
|
76280
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
76281
|
+
multipart/form-data:
|
|
76282
|
+
schema:
|
|
76283
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
76284
|
+
'*/*':
|
|
76285
|
+
schema:
|
|
76286
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
76287
|
+
required: true
|
|
76288
|
+
security:
|
|
76289
|
+
- PlatformApiKeyAuthentication: []
|
|
76290
|
+
responses:
|
|
76291
|
+
'200':
|
|
76292
|
+
content:
|
|
76293
|
+
application/json:
|
|
76294
|
+
schema:
|
|
76295
|
+
$ref: '#/components/schemas/StudentLLMAccessResponse'
|
|
76296
|
+
description: ''
|
|
76297
|
+
'400':
|
|
76298
|
+
description: Invalid request data
|
|
76299
|
+
'403':
|
|
76300
|
+
description: Permission denied - Tenant Admin access required
|
|
76301
|
+
'404':
|
|
76302
|
+
description: Platform or LLM Model Access policy not found
|
|
76303
|
+
/api/core/rbac/llm-access/status/:
|
|
76304
|
+
get:
|
|
76305
|
+
operationId: core_rbac_llm_access_status_retrieve
|
|
76306
|
+
description: Check which LLM resources students are currently allowed to access
|
|
76307
|
+
on a platform
|
|
76308
|
+
summary: Get student LLM access permissions
|
|
76309
|
+
parameters:
|
|
76310
|
+
- in: query
|
|
76311
|
+
name: platform_key
|
|
76312
|
+
schema:
|
|
76313
|
+
type: string
|
|
76314
|
+
maxLength: 255
|
|
76315
|
+
minLength: 1
|
|
76316
|
+
description: The platform key to check
|
|
76317
|
+
required: true
|
|
76318
|
+
tags:
|
|
76319
|
+
- core
|
|
76320
|
+
security:
|
|
76321
|
+
- PlatformApiKeyAuthentication: []
|
|
76322
|
+
responses:
|
|
76323
|
+
'200':
|
|
76324
|
+
content:
|
|
76325
|
+
application/json:
|
|
76326
|
+
schema:
|
|
76327
|
+
$ref: '#/components/schemas/StudentLLMAccessResponse'
|
|
76328
|
+
description: ''
|
|
76329
|
+
'400':
|
|
76330
|
+
description: Missing platform_key parameter
|
|
76331
|
+
'403':
|
|
76332
|
+
description: Permission denied - Tenant Admin access required
|
|
76333
|
+
'404':
|
|
76334
|
+
description: Platform not found
|
|
76262
76335
|
/api/core/rbac/mentor-access/:
|
|
76263
76336
|
get:
|
|
76264
76337
|
operationId: core_rbac_mentor_access_list
|
|
@@ -77000,79 +77073,6 @@ paths:
|
|
|
77000
77073
|
description: Permission denied - Tenant Admin access required
|
|
77001
77074
|
'404':
|
|
77002
77075
|
description: Platform not found
|
|
77003
|
-
/api/core/rbac/student-llm-access/set/:
|
|
77004
|
-
post:
|
|
77005
|
-
operationId: core_rbac_student_llm_access_set_create
|
|
77006
|
-
description: Configure which LLM resources students can access on a platform
|
|
77007
|
-
by replacing the LLM Users policy resources
|
|
77008
|
-
summary: Set student LLM access permissions
|
|
77009
|
-
tags:
|
|
77010
|
-
- core
|
|
77011
|
-
requestBody:
|
|
77012
|
-
content:
|
|
77013
|
-
application/json:
|
|
77014
|
-
schema:
|
|
77015
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
77016
|
-
application/scim+json:
|
|
77017
|
-
schema:
|
|
77018
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
77019
|
-
application/x-www-form-urlencoded:
|
|
77020
|
-
schema:
|
|
77021
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
77022
|
-
multipart/form-data:
|
|
77023
|
-
schema:
|
|
77024
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
77025
|
-
'*/*':
|
|
77026
|
-
schema:
|
|
77027
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
77028
|
-
required: true
|
|
77029
|
-
security:
|
|
77030
|
-
- PlatformApiKeyAuthentication: []
|
|
77031
|
-
responses:
|
|
77032
|
-
'200':
|
|
77033
|
-
content:
|
|
77034
|
-
application/json:
|
|
77035
|
-
schema:
|
|
77036
|
-
$ref: '#/components/schemas/StudentLLMAccessResponse'
|
|
77037
|
-
description: ''
|
|
77038
|
-
'400':
|
|
77039
|
-
description: Invalid request data
|
|
77040
|
-
'403':
|
|
77041
|
-
description: Permission denied - Tenant Admin access required
|
|
77042
|
-
'404':
|
|
77043
|
-
description: Platform or LLM Users policy not found
|
|
77044
|
-
/api/core/rbac/student-llm-access/status/:
|
|
77045
|
-
get:
|
|
77046
|
-
operationId: core_rbac_student_llm_access_status_retrieve
|
|
77047
|
-
description: Check which LLM resources students are currently allowed to access
|
|
77048
|
-
on a platform
|
|
77049
|
-
summary: Get student LLM access permissions
|
|
77050
|
-
parameters:
|
|
77051
|
-
- in: query
|
|
77052
|
-
name: platform_key
|
|
77053
|
-
schema:
|
|
77054
|
-
type: string
|
|
77055
|
-
maxLength: 255
|
|
77056
|
-
minLength: 1
|
|
77057
|
-
description: The platform key to check
|
|
77058
|
-
required: true
|
|
77059
|
-
tags:
|
|
77060
|
-
- core
|
|
77061
|
-
security:
|
|
77062
|
-
- PlatformApiKeyAuthentication: []
|
|
77063
|
-
responses:
|
|
77064
|
-
'200':
|
|
77065
|
-
content:
|
|
77066
|
-
application/json:
|
|
77067
|
-
schema:
|
|
77068
|
-
$ref: '#/components/schemas/StudentLLMAccessResponse'
|
|
77069
|
-
description: ''
|
|
77070
|
-
'400':
|
|
77071
|
-
description: Missing platform_key parameter
|
|
77072
|
-
'403':
|
|
77073
|
-
description: Permission denied - Tenant Admin access required
|
|
77074
|
-
'404':
|
|
77075
|
-
description: Platform not found
|
|
77076
77076
|
/api/core/rbac/student-mentor-creation/set/:
|
|
77077
77077
|
post:
|
|
77078
77078
|
operationId: core_rbac_student_mentor_creation_set_create
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -2315,6 +2315,56 @@ export class CoreService {
|
|
|
2315
2315
|
},
|
|
2316
2316
|
});
|
|
2317
2317
|
}
|
|
2318
|
+
/**
|
|
2319
|
+
* Set student LLM access permissions
|
|
2320
|
+
* Configure which LLM resources students can access on a platform by replacing the LLM Model Access policy resources
|
|
2321
|
+
* @returns StudentLLMAccessResponse
|
|
2322
|
+
* @throws ApiError
|
|
2323
|
+
*/
|
|
2324
|
+
public static coreRbacLlmAccessSetCreate({
|
|
2325
|
+
requestBody,
|
|
2326
|
+
}: {
|
|
2327
|
+
requestBody: SetStudentLLMAccess,
|
|
2328
|
+
}): CancelablePromise<StudentLLMAccessResponse> {
|
|
2329
|
+
return __request(OpenAPI, {
|
|
2330
|
+
method: 'POST',
|
|
2331
|
+
url: '/api/core/rbac/llm-access/set/',
|
|
2332
|
+
body: requestBody,
|
|
2333
|
+
mediaType: 'application/json',
|
|
2334
|
+
errors: {
|
|
2335
|
+
400: `Invalid request data`,
|
|
2336
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
2337
|
+
404: `Platform or LLM Model Access policy not found`,
|
|
2338
|
+
},
|
|
2339
|
+
});
|
|
2340
|
+
}
|
|
2341
|
+
/**
|
|
2342
|
+
* Get student LLM access permissions
|
|
2343
|
+
* Check which LLM resources students are currently allowed to access on a platform
|
|
2344
|
+
* @returns StudentLLMAccessResponse
|
|
2345
|
+
* @throws ApiError
|
|
2346
|
+
*/
|
|
2347
|
+
public static coreRbacLlmAccessStatusRetrieve({
|
|
2348
|
+
platformKey,
|
|
2349
|
+
}: {
|
|
2350
|
+
/**
|
|
2351
|
+
* The platform key to check
|
|
2352
|
+
*/
|
|
2353
|
+
platformKey: string,
|
|
2354
|
+
}): CancelablePromise<StudentLLMAccessResponse> {
|
|
2355
|
+
return __request(OpenAPI, {
|
|
2356
|
+
method: 'GET',
|
|
2357
|
+
url: '/api/core/rbac/llm-access/status/',
|
|
2358
|
+
query: {
|
|
2359
|
+
'platform_key': platformKey,
|
|
2360
|
+
},
|
|
2361
|
+
errors: {
|
|
2362
|
+
400: `Missing platform_key parameter`,
|
|
2363
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
2364
|
+
404: `Platform not found`,
|
|
2365
|
+
},
|
|
2366
|
+
});
|
|
2367
|
+
}
|
|
2318
2368
|
/**
|
|
2319
2369
|
* @deprecated
|
|
2320
2370
|
* Get mentor access status
|
|
@@ -2879,56 +2929,6 @@ export class CoreService {
|
|
|
2879
2929
|
},
|
|
2880
2930
|
});
|
|
2881
2931
|
}
|
|
2882
|
-
/**
|
|
2883
|
-
* Set student LLM access permissions
|
|
2884
|
-
* Configure which LLM resources students can access on a platform by replacing the LLM Users policy resources
|
|
2885
|
-
* @returns StudentLLMAccessResponse
|
|
2886
|
-
* @throws ApiError
|
|
2887
|
-
*/
|
|
2888
|
-
public static coreRbacStudentLlmAccessSetCreate({
|
|
2889
|
-
requestBody,
|
|
2890
|
-
}: {
|
|
2891
|
-
requestBody: SetStudentLLMAccess,
|
|
2892
|
-
}): CancelablePromise<StudentLLMAccessResponse> {
|
|
2893
|
-
return __request(OpenAPI, {
|
|
2894
|
-
method: 'POST',
|
|
2895
|
-
url: '/api/core/rbac/student-llm-access/set/',
|
|
2896
|
-
body: requestBody,
|
|
2897
|
-
mediaType: 'application/json',
|
|
2898
|
-
errors: {
|
|
2899
|
-
400: `Invalid request data`,
|
|
2900
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
2901
|
-
404: `Platform or LLM Users policy not found`,
|
|
2902
|
-
},
|
|
2903
|
-
});
|
|
2904
|
-
}
|
|
2905
|
-
/**
|
|
2906
|
-
* Get student LLM access permissions
|
|
2907
|
-
* Check which LLM resources students are currently allowed to access on a platform
|
|
2908
|
-
* @returns StudentLLMAccessResponse
|
|
2909
|
-
* @throws ApiError
|
|
2910
|
-
*/
|
|
2911
|
-
public static coreRbacStudentLlmAccessStatusRetrieve({
|
|
2912
|
-
platformKey,
|
|
2913
|
-
}: {
|
|
2914
|
-
/**
|
|
2915
|
-
* The platform key to check
|
|
2916
|
-
*/
|
|
2917
|
-
platformKey: string,
|
|
2918
|
-
}): CancelablePromise<StudentLLMAccessResponse> {
|
|
2919
|
-
return __request(OpenAPI, {
|
|
2920
|
-
method: 'GET',
|
|
2921
|
-
url: '/api/core/rbac/student-llm-access/status/',
|
|
2922
|
-
query: {
|
|
2923
|
-
'platform_key': platformKey,
|
|
2924
|
-
},
|
|
2925
|
-
errors: {
|
|
2926
|
-
400: `Missing platform_key parameter`,
|
|
2927
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
2928
|
-
404: `Platform not found`,
|
|
2929
|
-
},
|
|
2930
|
-
});
|
|
2931
|
-
}
|
|
2932
2932
|
/**
|
|
2933
2933
|
* @deprecated
|
|
2934
2934
|
* Set student mentor creation permission
|