@iblai/iblai-api 4.423.1-core → 4.424.0-core
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-core',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -19260,6 +19260,49 @@ class CoreService {
|
|
|
19260
19260
|
}
|
|
19261
19261
|
});
|
|
19262
19262
|
}
|
|
19263
|
+
/**
|
|
19264
|
+
* Set student LLM access permissions
|
|
19265
|
+
* Configure which LLM resources students can access on a platform by replacing the LLM Model Access policy resources
|
|
19266
|
+
* @returns StudentLLMAccessResponse
|
|
19267
|
+
* @throws ApiError
|
|
19268
|
+
*/
|
|
19269
|
+
static coreRbacLlmAccessSetCreate({
|
|
19270
|
+
requestBody
|
|
19271
|
+
}) {
|
|
19272
|
+
return request(OpenAPI, {
|
|
19273
|
+
method: 'POST',
|
|
19274
|
+
url: '/api/core/rbac/llm-access/set/',
|
|
19275
|
+
body: requestBody,
|
|
19276
|
+
mediaType: 'application/json',
|
|
19277
|
+
errors: {
|
|
19278
|
+
400: `Invalid request data`,
|
|
19279
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
19280
|
+
404: `Platform or LLM Model Access policy not found`
|
|
19281
|
+
}
|
|
19282
|
+
});
|
|
19283
|
+
}
|
|
19284
|
+
/**
|
|
19285
|
+
* Get student LLM access permissions
|
|
19286
|
+
* Check which LLM resources students are currently allowed to access on a platform
|
|
19287
|
+
* @returns StudentLLMAccessResponse
|
|
19288
|
+
* @throws ApiError
|
|
19289
|
+
*/
|
|
19290
|
+
static coreRbacLlmAccessStatusRetrieve({
|
|
19291
|
+
platformKey
|
|
19292
|
+
}) {
|
|
19293
|
+
return request(OpenAPI, {
|
|
19294
|
+
method: 'GET',
|
|
19295
|
+
url: '/api/core/rbac/llm-access/status/',
|
|
19296
|
+
query: {
|
|
19297
|
+
'platform_key': platformKey
|
|
19298
|
+
},
|
|
19299
|
+
errors: {
|
|
19300
|
+
400: `Missing platform_key parameter`,
|
|
19301
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
19302
|
+
404: `Platform not found`
|
|
19303
|
+
}
|
|
19304
|
+
});
|
|
19305
|
+
}
|
|
19263
19306
|
/**
|
|
19264
19307
|
* @deprecated
|
|
19265
19308
|
* Get mentor access status
|
|
@@ -19701,49 +19744,6 @@ class CoreService {
|
|
|
19701
19744
|
}
|
|
19702
19745
|
});
|
|
19703
19746
|
}
|
|
19704
|
-
/**
|
|
19705
|
-
* Set student LLM access permissions
|
|
19706
|
-
* Configure which LLM resources students can access on a platform by replacing the LLM Users policy resources
|
|
19707
|
-
* @returns StudentLLMAccessResponse
|
|
19708
|
-
* @throws ApiError
|
|
19709
|
-
*/
|
|
19710
|
-
static coreRbacStudentLlmAccessSetCreate({
|
|
19711
|
-
requestBody
|
|
19712
|
-
}) {
|
|
19713
|
-
return request(OpenAPI, {
|
|
19714
|
-
method: 'POST',
|
|
19715
|
-
url: '/api/core/rbac/student-llm-access/set/',
|
|
19716
|
-
body: requestBody,
|
|
19717
|
-
mediaType: 'application/json',
|
|
19718
|
-
errors: {
|
|
19719
|
-
400: `Invalid request data`,
|
|
19720
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
19721
|
-
404: `Platform or LLM Users policy not found`
|
|
19722
|
-
}
|
|
19723
|
-
});
|
|
19724
|
-
}
|
|
19725
|
-
/**
|
|
19726
|
-
* Get student LLM access permissions
|
|
19727
|
-
* Check which LLM resources students are currently allowed to access on a platform
|
|
19728
|
-
* @returns StudentLLMAccessResponse
|
|
19729
|
-
* @throws ApiError
|
|
19730
|
-
*/
|
|
19731
|
-
static coreRbacStudentLlmAccessStatusRetrieve({
|
|
19732
|
-
platformKey
|
|
19733
|
-
}) {
|
|
19734
|
-
return request(OpenAPI, {
|
|
19735
|
-
method: 'GET',
|
|
19736
|
-
url: '/api/core/rbac/student-llm-access/status/',
|
|
19737
|
-
query: {
|
|
19738
|
-
'platform_key': platformKey
|
|
19739
|
-
},
|
|
19740
|
-
errors: {
|
|
19741
|
-
400: `Missing platform_key parameter`,
|
|
19742
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
19743
|
-
404: `Platform not found`
|
|
19744
|
-
}
|
|
19745
|
-
});
|
|
19746
|
-
}
|
|
19747
19747
|
/**
|
|
19748
19748
|
* @deprecated
|
|
19749
19749
|
* 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-core',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -19258,6 +19258,49 @@ class CoreService {
|
|
|
19258
19258
|
}
|
|
19259
19259
|
});
|
|
19260
19260
|
}
|
|
19261
|
+
/**
|
|
19262
|
+
* Set student LLM access permissions
|
|
19263
|
+
* Configure which LLM resources students can access on a platform by replacing the LLM Model Access policy resources
|
|
19264
|
+
* @returns StudentLLMAccessResponse
|
|
19265
|
+
* @throws ApiError
|
|
19266
|
+
*/
|
|
19267
|
+
static coreRbacLlmAccessSetCreate({
|
|
19268
|
+
requestBody
|
|
19269
|
+
}) {
|
|
19270
|
+
return request(OpenAPI, {
|
|
19271
|
+
method: 'POST',
|
|
19272
|
+
url: '/api/core/rbac/llm-access/set/',
|
|
19273
|
+
body: requestBody,
|
|
19274
|
+
mediaType: 'application/json',
|
|
19275
|
+
errors: {
|
|
19276
|
+
400: `Invalid request data`,
|
|
19277
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
19278
|
+
404: `Platform or LLM Model Access policy not found`
|
|
19279
|
+
}
|
|
19280
|
+
});
|
|
19281
|
+
}
|
|
19282
|
+
/**
|
|
19283
|
+
* Get student LLM access permissions
|
|
19284
|
+
* Check which LLM resources students are currently allowed to access on a platform
|
|
19285
|
+
* @returns StudentLLMAccessResponse
|
|
19286
|
+
* @throws ApiError
|
|
19287
|
+
*/
|
|
19288
|
+
static coreRbacLlmAccessStatusRetrieve({
|
|
19289
|
+
platformKey
|
|
19290
|
+
}) {
|
|
19291
|
+
return request(OpenAPI, {
|
|
19292
|
+
method: 'GET',
|
|
19293
|
+
url: '/api/core/rbac/llm-access/status/',
|
|
19294
|
+
query: {
|
|
19295
|
+
'platform_key': platformKey
|
|
19296
|
+
},
|
|
19297
|
+
errors: {
|
|
19298
|
+
400: `Missing platform_key parameter`,
|
|
19299
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
19300
|
+
404: `Platform not found`
|
|
19301
|
+
}
|
|
19302
|
+
});
|
|
19303
|
+
}
|
|
19261
19304
|
/**
|
|
19262
19305
|
* @deprecated
|
|
19263
19306
|
* Get mentor access status
|
|
@@ -19699,49 +19742,6 @@ class CoreService {
|
|
|
19699
19742
|
}
|
|
19700
19743
|
});
|
|
19701
19744
|
}
|
|
19702
|
-
/**
|
|
19703
|
-
* Set student LLM access permissions
|
|
19704
|
-
* Configure which LLM resources students can access on a platform by replacing the LLM Users policy resources
|
|
19705
|
-
* @returns StudentLLMAccessResponse
|
|
19706
|
-
* @throws ApiError
|
|
19707
|
-
*/
|
|
19708
|
-
static coreRbacStudentLlmAccessSetCreate({
|
|
19709
|
-
requestBody
|
|
19710
|
-
}) {
|
|
19711
|
-
return request(OpenAPI, {
|
|
19712
|
-
method: 'POST',
|
|
19713
|
-
url: '/api/core/rbac/student-llm-access/set/',
|
|
19714
|
-
body: requestBody,
|
|
19715
|
-
mediaType: 'application/json',
|
|
19716
|
-
errors: {
|
|
19717
|
-
400: `Invalid request data`,
|
|
19718
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
19719
|
-
404: `Platform or LLM Users policy not found`
|
|
19720
|
-
}
|
|
19721
|
-
});
|
|
19722
|
-
}
|
|
19723
|
-
/**
|
|
19724
|
-
* Get student LLM access permissions
|
|
19725
|
-
* Check which LLM resources students are currently allowed to access on a platform
|
|
19726
|
-
* @returns StudentLLMAccessResponse
|
|
19727
|
-
* @throws ApiError
|
|
19728
|
-
*/
|
|
19729
|
-
static coreRbacStudentLlmAccessStatusRetrieve({
|
|
19730
|
-
platformKey
|
|
19731
|
-
}) {
|
|
19732
|
-
return request(OpenAPI, {
|
|
19733
|
-
method: 'GET',
|
|
19734
|
-
url: '/api/core/rbac/student-llm-access/status/',
|
|
19735
|
-
query: {
|
|
19736
|
-
'platform_key': platformKey
|
|
19737
|
-
},
|
|
19738
|
-
errors: {
|
|
19739
|
-
400: `Missing platform_key parameter`,
|
|
19740
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
19741
|
-
404: `Platform not found`
|
|
19742
|
-
}
|
|
19743
|
-
});
|
|
19744
|
-
}
|
|
19745
19745
|
/**
|
|
19746
19746
|
* @deprecated
|
|
19747
19747
|
* 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-core',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -19264,6 +19264,49 @@
|
|
|
19264
19264
|
}
|
|
19265
19265
|
});
|
|
19266
19266
|
}
|
|
19267
|
+
/**
|
|
19268
|
+
* Set student LLM access permissions
|
|
19269
|
+
* Configure which LLM resources students can access on a platform by replacing the LLM Model Access policy resources
|
|
19270
|
+
* @returns StudentLLMAccessResponse
|
|
19271
|
+
* @throws ApiError
|
|
19272
|
+
*/
|
|
19273
|
+
static coreRbacLlmAccessSetCreate({
|
|
19274
|
+
requestBody
|
|
19275
|
+
}) {
|
|
19276
|
+
return request(OpenAPI, {
|
|
19277
|
+
method: 'POST',
|
|
19278
|
+
url: '/api/core/rbac/llm-access/set/',
|
|
19279
|
+
body: requestBody,
|
|
19280
|
+
mediaType: 'application/json',
|
|
19281
|
+
errors: {
|
|
19282
|
+
400: `Invalid request data`,
|
|
19283
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
19284
|
+
404: `Platform or LLM Model Access policy not found`
|
|
19285
|
+
}
|
|
19286
|
+
});
|
|
19287
|
+
}
|
|
19288
|
+
/**
|
|
19289
|
+
* Get student LLM access permissions
|
|
19290
|
+
* Check which LLM resources students are currently allowed to access on a platform
|
|
19291
|
+
* @returns StudentLLMAccessResponse
|
|
19292
|
+
* @throws ApiError
|
|
19293
|
+
*/
|
|
19294
|
+
static coreRbacLlmAccessStatusRetrieve({
|
|
19295
|
+
platformKey
|
|
19296
|
+
}) {
|
|
19297
|
+
return request(OpenAPI, {
|
|
19298
|
+
method: 'GET',
|
|
19299
|
+
url: '/api/core/rbac/llm-access/status/',
|
|
19300
|
+
query: {
|
|
19301
|
+
'platform_key': platformKey
|
|
19302
|
+
},
|
|
19303
|
+
errors: {
|
|
19304
|
+
400: `Missing platform_key parameter`,
|
|
19305
|
+
403: `Permission denied - Tenant Admin access required`,
|
|
19306
|
+
404: `Platform not found`
|
|
19307
|
+
}
|
|
19308
|
+
});
|
|
19309
|
+
}
|
|
19267
19310
|
/**
|
|
19268
19311
|
* @deprecated
|
|
19269
19312
|
* Get mentor access status
|
|
@@ -19705,49 +19748,6 @@
|
|
|
19705
19748
|
}
|
|
19706
19749
|
});
|
|
19707
19750
|
}
|
|
19708
|
-
/**
|
|
19709
|
-
* Set student LLM access permissions
|
|
19710
|
-
* Configure which LLM resources students can access on a platform by replacing the LLM Users policy resources
|
|
19711
|
-
* @returns StudentLLMAccessResponse
|
|
19712
|
-
* @throws ApiError
|
|
19713
|
-
*/
|
|
19714
|
-
static coreRbacStudentLlmAccessSetCreate({
|
|
19715
|
-
requestBody
|
|
19716
|
-
}) {
|
|
19717
|
-
return request(OpenAPI, {
|
|
19718
|
-
method: 'POST',
|
|
19719
|
-
url: '/api/core/rbac/student-llm-access/set/',
|
|
19720
|
-
body: requestBody,
|
|
19721
|
-
mediaType: 'application/json',
|
|
19722
|
-
errors: {
|
|
19723
|
-
400: `Invalid request data`,
|
|
19724
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
19725
|
-
404: `Platform or LLM Users policy not found`
|
|
19726
|
-
}
|
|
19727
|
-
});
|
|
19728
|
-
}
|
|
19729
|
-
/**
|
|
19730
|
-
* Get student LLM access permissions
|
|
19731
|
-
* Check which LLM resources students are currently allowed to access on a platform
|
|
19732
|
-
* @returns StudentLLMAccessResponse
|
|
19733
|
-
* @throws ApiError
|
|
19734
|
-
*/
|
|
19735
|
-
static coreRbacStudentLlmAccessStatusRetrieve({
|
|
19736
|
-
platformKey
|
|
19737
|
-
}) {
|
|
19738
|
-
return request(OpenAPI, {
|
|
19739
|
-
method: 'GET',
|
|
19740
|
-
url: '/api/core/rbac/student-llm-access/status/',
|
|
19741
|
-
query: {
|
|
19742
|
-
'platform_key': platformKey
|
|
19743
|
-
},
|
|
19744
|
-
errors: {
|
|
19745
|
-
400: `Missing platform_key parameter`,
|
|
19746
|
-
403: `Permission denied - Tenant Admin access required`,
|
|
19747
|
-
404: `Platform not found`
|
|
19748
|
-
}
|
|
19749
|
-
});
|
|
19750
|
-
}
|
|
19751
19751
|
/**
|
|
19752
19752
|
* @deprecated
|
|
19753
19753
|
* 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-core
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/analytics/content/:
|
|
@@ -22260,6 +22260,79 @@ paths:
|
|
|
22260
22260
|
to delete internal system group
|
|
22261
22261
|
'404':
|
|
22262
22262
|
description: Group not found
|
|
22263
|
+
/api/core/rbac/llm-access/set/:
|
|
22264
|
+
post:
|
|
22265
|
+
operationId: core_rbac_llm_access_set_create
|
|
22266
|
+
description: Configure which LLM resources students can access on a platform
|
|
22267
|
+
by replacing the LLM Model Access policy resources
|
|
22268
|
+
summary: Set student LLM access permissions
|
|
22269
|
+
tags:
|
|
22270
|
+
- core
|
|
22271
|
+
requestBody:
|
|
22272
|
+
content:
|
|
22273
|
+
application/json:
|
|
22274
|
+
schema:
|
|
22275
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
22276
|
+
application/scim+json:
|
|
22277
|
+
schema:
|
|
22278
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
22279
|
+
application/x-www-form-urlencoded:
|
|
22280
|
+
schema:
|
|
22281
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
22282
|
+
multipart/form-data:
|
|
22283
|
+
schema:
|
|
22284
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
22285
|
+
'*/*':
|
|
22286
|
+
schema:
|
|
22287
|
+
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
22288
|
+
required: true
|
|
22289
|
+
security:
|
|
22290
|
+
- PlatformApiKeyAuthentication: []
|
|
22291
|
+
responses:
|
|
22292
|
+
'200':
|
|
22293
|
+
content:
|
|
22294
|
+
application/json:
|
|
22295
|
+
schema:
|
|
22296
|
+
$ref: '#/components/schemas/StudentLLMAccessResponse'
|
|
22297
|
+
description: ''
|
|
22298
|
+
'400':
|
|
22299
|
+
description: Invalid request data
|
|
22300
|
+
'403':
|
|
22301
|
+
description: Permission denied - Tenant Admin access required
|
|
22302
|
+
'404':
|
|
22303
|
+
description: Platform or LLM Model Access policy not found
|
|
22304
|
+
/api/core/rbac/llm-access/status/:
|
|
22305
|
+
get:
|
|
22306
|
+
operationId: core_rbac_llm_access_status_retrieve
|
|
22307
|
+
description: Check which LLM resources students are currently allowed to access
|
|
22308
|
+
on a platform
|
|
22309
|
+
summary: Get student LLM access permissions
|
|
22310
|
+
parameters:
|
|
22311
|
+
- in: query
|
|
22312
|
+
name: platform_key
|
|
22313
|
+
schema:
|
|
22314
|
+
type: string
|
|
22315
|
+
maxLength: 255
|
|
22316
|
+
minLength: 1
|
|
22317
|
+
description: The platform key to check
|
|
22318
|
+
required: true
|
|
22319
|
+
tags:
|
|
22320
|
+
- core
|
|
22321
|
+
security:
|
|
22322
|
+
- PlatformApiKeyAuthentication: []
|
|
22323
|
+
responses:
|
|
22324
|
+
'200':
|
|
22325
|
+
content:
|
|
22326
|
+
application/json:
|
|
22327
|
+
schema:
|
|
22328
|
+
$ref: '#/components/schemas/StudentLLMAccessResponse'
|
|
22329
|
+
description: ''
|
|
22330
|
+
'400':
|
|
22331
|
+
description: Missing platform_key parameter
|
|
22332
|
+
'403':
|
|
22333
|
+
description: Permission denied - Tenant Admin access required
|
|
22334
|
+
'404':
|
|
22335
|
+
description: Platform not found
|
|
22263
22336
|
/api/core/rbac/mentor-access/:
|
|
22264
22337
|
get:
|
|
22265
22338
|
operationId: core_rbac_mentor_access_list
|
|
@@ -23001,79 +23074,6 @@ paths:
|
|
|
23001
23074
|
description: Permission denied - Tenant Admin access required
|
|
23002
23075
|
'404':
|
|
23003
23076
|
description: Platform not found
|
|
23004
|
-
/api/core/rbac/student-llm-access/set/:
|
|
23005
|
-
post:
|
|
23006
|
-
operationId: core_rbac_student_llm_access_set_create
|
|
23007
|
-
description: Configure which LLM resources students can access on a platform
|
|
23008
|
-
by replacing the LLM Users policy resources
|
|
23009
|
-
summary: Set student LLM access permissions
|
|
23010
|
-
tags:
|
|
23011
|
-
- core
|
|
23012
|
-
requestBody:
|
|
23013
|
-
content:
|
|
23014
|
-
application/json:
|
|
23015
|
-
schema:
|
|
23016
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
23017
|
-
application/scim+json:
|
|
23018
|
-
schema:
|
|
23019
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
23020
|
-
application/x-www-form-urlencoded:
|
|
23021
|
-
schema:
|
|
23022
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
23023
|
-
multipart/form-data:
|
|
23024
|
-
schema:
|
|
23025
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
23026
|
-
'*/*':
|
|
23027
|
-
schema:
|
|
23028
|
-
$ref: '#/components/schemas/SetStudentLLMAccess'
|
|
23029
|
-
required: true
|
|
23030
|
-
security:
|
|
23031
|
-
- PlatformApiKeyAuthentication: []
|
|
23032
|
-
responses:
|
|
23033
|
-
'200':
|
|
23034
|
-
content:
|
|
23035
|
-
application/json:
|
|
23036
|
-
schema:
|
|
23037
|
-
$ref: '#/components/schemas/StudentLLMAccessResponse'
|
|
23038
|
-
description: ''
|
|
23039
|
-
'400':
|
|
23040
|
-
description: Invalid request data
|
|
23041
|
-
'403':
|
|
23042
|
-
description: Permission denied - Tenant Admin access required
|
|
23043
|
-
'404':
|
|
23044
|
-
description: Platform or LLM Users policy not found
|
|
23045
|
-
/api/core/rbac/student-llm-access/status/:
|
|
23046
|
-
get:
|
|
23047
|
-
operationId: core_rbac_student_llm_access_status_retrieve
|
|
23048
|
-
description: Check which LLM resources students are currently allowed to access
|
|
23049
|
-
on a platform
|
|
23050
|
-
summary: Get student LLM access permissions
|
|
23051
|
-
parameters:
|
|
23052
|
-
- in: query
|
|
23053
|
-
name: platform_key
|
|
23054
|
-
schema:
|
|
23055
|
-
type: string
|
|
23056
|
-
maxLength: 255
|
|
23057
|
-
minLength: 1
|
|
23058
|
-
description: The platform key to check
|
|
23059
|
-
required: true
|
|
23060
|
-
tags:
|
|
23061
|
-
- core
|
|
23062
|
-
security:
|
|
23063
|
-
- PlatformApiKeyAuthentication: []
|
|
23064
|
-
responses:
|
|
23065
|
-
'200':
|
|
23066
|
-
content:
|
|
23067
|
-
application/json:
|
|
23068
|
-
schema:
|
|
23069
|
-
$ref: '#/components/schemas/StudentLLMAccessResponse'
|
|
23070
|
-
description: ''
|
|
23071
|
-
'400':
|
|
23072
|
-
description: Missing platform_key parameter
|
|
23073
|
-
'403':
|
|
23074
|
-
description: Permission denied - Tenant Admin access required
|
|
23075
|
-
'404':
|
|
23076
|
-
description: Platform not found
|
|
23077
23077
|
/api/core/rbac/student-mentor-creation/set/:
|
|
23078
23078
|
post:
|
|
23079
23079
|
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
|