@iblai/iblai-api 2025.11.20-memory-pagination-fix-test-2-ai → 2025.12.3-webhook-tool-dev-test-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 +321 -28
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +322 -29
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +321 -28
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +8 -3
- package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +2 -2
- package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +2 -2
- package/dist/types/models/Artifact.d.ts +3 -7
- package/dist/types/models/ArtifactList.d.ts +1 -4
- package/dist/types/models/ArtifactVersion.d.ts +13 -2
- package/dist/types/models/CallConfiguration.d.ts +4 -0
- package/dist/types/models/ChatHistory.d.ts +2 -0
- package/dist/types/models/ChatSessionResponse.d.ts +2 -0
- package/dist/types/models/Conversations.d.ts +9 -0
- package/dist/types/models/GoogleAgentDetail.d.ts +17 -0
- package/dist/types/models/LlmProviderEnum.d.ts +3 -1
- package/dist/types/models/MessageView.d.ts +1 -0
- package/dist/types/models/MessageViewRequest.d.ts +1 -0
- package/dist/types/models/PaginatedArtifactVersionList.d.ts +7 -0
- package/dist/types/models/PaginatedGoogleAgentDetailList.d.ts +7 -0
- package/dist/types/models/PaginatedUserGroupList.d.ts +7 -0
- package/dist/types/models/PatchedArtifact.d.ts +3 -7
- package/dist/types/models/PatchedCallConfiguration.d.ts +4 -0
- package/dist/types/models/PatchedConversations.d.ts +9 -0
- package/dist/types/models/PatchedGoogleAgentDetail.d.ts +17 -0
- package/dist/types/models/PatchedUserGroup.d.ts +26 -0
- package/dist/types/models/SttProviderEnum.d.ts +3 -1
- package/dist/types/models/TtsProviderEnum.d.ts +3 -1
- package/dist/types/models/UserGroup.d.ts +26 -0
- package/dist/types/models/UserMemory.d.ts +1 -0
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/models/{Provider637Enum.d.ts → VoiceProviderEnum.d.ts} +1 -1
- package/dist/types/services/AiMentorService.d.ts +85 -11
- package/dist/types/services/AiSearchService.d.ts +21 -5
- package/dist/types/services/CoreService.d.ts +97 -3
- package/package.json +1 -1
- package/sdk_schema.yml +1031 -252
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +8 -3
- package/src/models/AccessibleMentorsByEmailRequest.ts +2 -2
- package/src/models/AccessibleMentorsByEmailResponse.ts +2 -2
- package/src/models/Artifact.ts +3 -7
- package/src/models/ArtifactList.ts +1 -4
- package/src/models/ArtifactVersion.ts +13 -2
- package/src/models/CallConfiguration.ts +4 -0
- package/src/models/ChatHistory.ts +2 -0
- package/src/models/ChatSessionResponse.ts +2 -0
- package/src/models/Conversations.ts +9 -0
- package/src/models/GoogleAgentDetail.ts +22 -0
- package/src/models/LlmProviderEnum.ts +2 -0
- package/src/models/MessageView.ts +1 -0
- package/src/models/MessageViewRequest.ts +1 -0
- package/src/models/{PaginatedArtifactVersionListList.ts → PaginatedArtifactVersionList.ts} +3 -3
- package/src/models/PaginatedGoogleAgentDetailList.ts +12 -0
- package/src/models/PaginatedUserGroupList.ts +12 -0
- package/src/models/PatchedArtifact.ts +3 -7
- package/src/models/PatchedCallConfiguration.ts +4 -0
- package/src/models/PatchedConversations.ts +9 -0
- package/src/models/PatchedGoogleAgentDetail.ts +22 -0
- package/src/models/PatchedUserGroup.ts +31 -0
- package/src/models/SttProviderEnum.ts +2 -0
- package/src/models/TtsProviderEnum.ts +2 -0
- package/src/models/UserGroup.ts +31 -0
- package/src/models/UserMemory.ts +1 -0
- package/src/models/Voice.ts +2 -2
- package/src/models/{Provider637Enum.ts → VoiceProviderEnum.ts} +1 -1
- package/src/services/AiMentorService.ts +6051 -5882
- package/src/services/AiSearchService.ts +29 -5
- package/src/services/CoreService.ts +195 -3
- package/dist/types/models/ArtifactVersionList.d.ts +0 -35
- package/dist/types/models/PaginatedArtifactVersionListList.d.ts +0 -7
- package/src/models/ArtifactVersionList.ts +0 -40
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.102.0-ai-plus',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -432,11 +432,13 @@ var KindEnum;
|
|
|
432
432
|
/**
|
|
433
433
|
* * `openai` - Openai
|
|
434
434
|
* * `google` - Google
|
|
435
|
+
* * `azure_openai` - Azure Openai
|
|
435
436
|
*/
|
|
436
437
|
var LlmProviderEnum;
|
|
437
438
|
(function (LlmProviderEnum) {
|
|
438
439
|
LlmProviderEnum["OPENAI"] = "openai";
|
|
439
440
|
LlmProviderEnum["GOOGLE"] = "google";
|
|
441
|
+
LlmProviderEnum["AZURE_OPENAI"] = "azure_openai";
|
|
440
442
|
})(LlmProviderEnum || (LlmProviderEnum = {}));
|
|
441
443
|
|
|
442
444
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
@@ -701,22 +703,6 @@ var Provider05cEnum;
|
|
|
701
703
|
Provider05cEnum["TEAMS"] = "teams";
|
|
702
704
|
})(Provider05cEnum || (Provider05cEnum = {}));
|
|
703
705
|
|
|
704
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
705
|
-
/* istanbul ignore file */
|
|
706
|
-
/* tslint:disable */
|
|
707
|
-
/* eslint-disable */
|
|
708
|
-
/**
|
|
709
|
-
* * `openai` - Openai
|
|
710
|
-
* * `google` - Google
|
|
711
|
-
* * `elevenlabs` - Elevenlabs
|
|
712
|
-
*/
|
|
713
|
-
var Provider637Enum;
|
|
714
|
-
(function (Provider637Enum) {
|
|
715
|
-
Provider637Enum["OPENAI"] = "openai";
|
|
716
|
-
Provider637Enum["GOOGLE"] = "google";
|
|
717
|
-
Provider637Enum["ELEVENLABS"] = "elevenlabs";
|
|
718
|
-
})(Provider637Enum || (Provider637Enum = {}));
|
|
719
|
-
|
|
720
706
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
721
707
|
/* istanbul ignore file */
|
|
722
708
|
/* tslint:disable */
|
|
@@ -862,6 +848,7 @@ var StripeCheckoutSessionRequestModeEnum;
|
|
|
862
848
|
* * `google` - Google
|
|
863
849
|
* * `deepgram` - Deepgram
|
|
864
850
|
* * `cartesia` - Cartesia
|
|
851
|
+
* * `azure_openai` - Azure Openai
|
|
865
852
|
*/
|
|
866
853
|
var SttProviderEnum;
|
|
867
854
|
(function (SttProviderEnum) {
|
|
@@ -869,6 +856,7 @@ var SttProviderEnum;
|
|
|
869
856
|
SttProviderEnum["GOOGLE"] = "google";
|
|
870
857
|
SttProviderEnum["DEEPGRAM"] = "deepgram";
|
|
871
858
|
SttProviderEnum["CARTESIA"] = "cartesia";
|
|
859
|
+
SttProviderEnum["AZURE_OPENAI"] = "azure_openai";
|
|
872
860
|
})(SttProviderEnum || (SttProviderEnum = {}));
|
|
873
861
|
|
|
874
862
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
@@ -941,12 +929,14 @@ var TransportEnum;
|
|
|
941
929
|
* * `openai` - Openai
|
|
942
930
|
* * `google` - Google
|
|
943
931
|
* * `elevenlabs` - Elevenlabs
|
|
932
|
+
* * `azure_openai` - Azure Openai
|
|
944
933
|
*/
|
|
945
934
|
var TtsProviderEnum;
|
|
946
935
|
(function (TtsProviderEnum) {
|
|
947
936
|
TtsProviderEnum["OPENAI"] = "openai";
|
|
948
937
|
TtsProviderEnum["GOOGLE"] = "google";
|
|
949
938
|
TtsProviderEnum["ELEVENLABS"] = "elevenlabs";
|
|
939
|
+
TtsProviderEnum["AZURE_OPENAI"] = "azure_openai";
|
|
950
940
|
})(TtsProviderEnum || (TtsProviderEnum = {}));
|
|
951
941
|
|
|
952
942
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
@@ -1015,6 +1005,22 @@ var TypeC42Enum;
|
|
|
1015
1005
|
TypeC42Enum["ASSESSMENT"] = "assessment";
|
|
1016
1006
|
})(TypeC42Enum || (TypeC42Enum = {}));
|
|
1017
1007
|
|
|
1008
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
1009
|
+
/* istanbul ignore file */
|
|
1010
|
+
/* tslint:disable */
|
|
1011
|
+
/* eslint-disable */
|
|
1012
|
+
/**
|
|
1013
|
+
* * `openai` - Openai
|
|
1014
|
+
* * `google` - Google
|
|
1015
|
+
* * `elevenlabs` - Elevenlabs
|
|
1016
|
+
*/
|
|
1017
|
+
var VoiceProviderEnum;
|
|
1018
|
+
(function (VoiceProviderEnum) {
|
|
1019
|
+
VoiceProviderEnum["OPENAI"] = "openai";
|
|
1020
|
+
VoiceProviderEnum["GOOGLE"] = "google";
|
|
1021
|
+
VoiceProviderEnum["ELEVENLABS"] = "elevenlabs";
|
|
1022
|
+
})(VoiceProviderEnum || (VoiceProviderEnum = {}));
|
|
1023
|
+
|
|
1018
1024
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
1019
1025
|
/* istanbul ignore file */
|
|
1020
1026
|
/* tslint:disable */
|
|
@@ -14203,7 +14209,6 @@ class AiMentorService {
|
|
|
14203
14209
|
static aiMentorOrgsUsersArtifactsList({
|
|
14204
14210
|
org,
|
|
14205
14211
|
userId,
|
|
14206
|
-
chatMessageId,
|
|
14207
14212
|
fileExtension,
|
|
14208
14213
|
llmName,
|
|
14209
14214
|
llmProvider,
|
|
@@ -14223,7 +14228,6 @@ class AiMentorService {
|
|
|
14223
14228
|
'user_id': userId
|
|
14224
14229
|
},
|
|
14225
14230
|
query: {
|
|
14226
|
-
'chat_message_id': chatMessageId,
|
|
14227
14231
|
'file_extension': fileExtension,
|
|
14228
14232
|
'llm_name': llmName,
|
|
14229
14233
|
'llm_provider': llmProvider,
|
|
@@ -14290,7 +14294,7 @@ class AiMentorService {
|
|
|
14290
14294
|
}
|
|
14291
14295
|
/**
|
|
14292
14296
|
* Update an artifact
|
|
14293
|
-
* Update all fields of an artifact (excluding
|
|
14297
|
+
* Update all fields of an artifact (excluding session reference).
|
|
14294
14298
|
* @returns Artifact
|
|
14295
14299
|
* @throws ApiError
|
|
14296
14300
|
*/
|
|
@@ -14377,14 +14381,13 @@ class AiMentorService {
|
|
|
14377
14381
|
/**
|
|
14378
14382
|
* List artifact versions
|
|
14379
14383
|
* Retrieve all versions for a specific artifact.
|
|
14380
|
-
* @returns
|
|
14384
|
+
* @returns PaginatedArtifactVersionList
|
|
14381
14385
|
* @throws ApiError
|
|
14382
14386
|
*/
|
|
14383
14387
|
static aiMentorOrgsUsersArtifactsVersionsList({
|
|
14384
14388
|
id,
|
|
14385
14389
|
org,
|
|
14386
14390
|
userId,
|
|
14387
|
-
chatMessageId,
|
|
14388
14391
|
fileExtension,
|
|
14389
14392
|
llmName,
|
|
14390
14393
|
llmProvider,
|
|
@@ -14405,7 +14408,6 @@ class AiMentorService {
|
|
|
14405
14408
|
'user_id': userId
|
|
14406
14409
|
},
|
|
14407
14410
|
query: {
|
|
14408
|
-
'chat_message_id': chatMessageId,
|
|
14409
14411
|
'file_extension': fileExtension,
|
|
14410
14412
|
'llm_name': llmName,
|
|
14411
14413
|
'llm_provider': llmProvider,
|
|
@@ -18164,6 +18166,128 @@ class AiMentorService {
|
|
|
18164
18166
|
}
|
|
18165
18167
|
});
|
|
18166
18168
|
}
|
|
18169
|
+
/**
|
|
18170
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
18171
|
+
* @returns PaginatedGoogleAgentDetailList
|
|
18172
|
+
* @throws ApiError
|
|
18173
|
+
*/
|
|
18174
|
+
static aiMentorOrgsUsersGoogleAgentsList({
|
|
18175
|
+
org,
|
|
18176
|
+
userId,
|
|
18177
|
+
page,
|
|
18178
|
+
pageSize
|
|
18179
|
+
}) {
|
|
18180
|
+
return request(OpenAPI, {
|
|
18181
|
+
method: 'GET',
|
|
18182
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/',
|
|
18183
|
+
path: {
|
|
18184
|
+
'org': org,
|
|
18185
|
+
'user_id': userId
|
|
18186
|
+
},
|
|
18187
|
+
query: {
|
|
18188
|
+
'page': page,
|
|
18189
|
+
'page_size': pageSize
|
|
18190
|
+
}
|
|
18191
|
+
});
|
|
18192
|
+
}
|
|
18193
|
+
/**
|
|
18194
|
+
* Sample Request
|
|
18195
|
+
* ```
|
|
18196
|
+
* {"name": "my agent", "instruction": "you are a helpful agent",}
|
|
18197
|
+
* ```
|
|
18198
|
+
* @returns GoogleAgentDetail
|
|
18199
|
+
* @throws ApiError
|
|
18200
|
+
*/
|
|
18201
|
+
static aiMentorOrgsUsersGoogleAgentsCreate({
|
|
18202
|
+
org,
|
|
18203
|
+
userId,
|
|
18204
|
+
requestBody
|
|
18205
|
+
}) {
|
|
18206
|
+
return request(OpenAPI, {
|
|
18207
|
+
method: 'POST',
|
|
18208
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/',
|
|
18209
|
+
path: {
|
|
18210
|
+
'org': org,
|
|
18211
|
+
'user_id': userId
|
|
18212
|
+
},
|
|
18213
|
+
body: requestBody,
|
|
18214
|
+
mediaType: 'application/json'
|
|
18215
|
+
});
|
|
18216
|
+
}
|
|
18217
|
+
/**
|
|
18218
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
18219
|
+
* @returns GoogleAgentDetail
|
|
18220
|
+
* @throws ApiError
|
|
18221
|
+
*/
|
|
18222
|
+
static aiMentorOrgsUsersGoogleAgentsRetrieve({
|
|
18223
|
+
org,
|
|
18224
|
+
uniqueId,
|
|
18225
|
+
userId
|
|
18226
|
+
}) {
|
|
18227
|
+
return request(OpenAPI, {
|
|
18228
|
+
method: 'GET',
|
|
18229
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/{unique_id}/',
|
|
18230
|
+
path: {
|
|
18231
|
+
'org': org,
|
|
18232
|
+
'unique_id': uniqueId,
|
|
18233
|
+
'user_id': userId
|
|
18234
|
+
}
|
|
18235
|
+
});
|
|
18236
|
+
}
|
|
18237
|
+
/**
|
|
18238
|
+
* Mainly used to update the sub agent list.
|
|
18239
|
+
*
|
|
18240
|
+
* Sample request:
|
|
18241
|
+
* ```
|
|
18242
|
+
* {
|
|
18243
|
+
* "sub_agents": [
|
|
18244
|
+
* "adc4bf84-c174-47e1-b11c-7713ef2dcd89",
|
|
18245
|
+
* "3fb5806d-3be1-4bfd-bcb0-a48558465644",
|
|
18246
|
+
* "339e44cd-6084-4530-be70-ac2a83759fb6"
|
|
18247
|
+
* ]
|
|
18248
|
+
* }
|
|
18249
|
+
* ```
|
|
18250
|
+
* @returns GoogleAgentDetail
|
|
18251
|
+
* @throws ApiError
|
|
18252
|
+
*/
|
|
18253
|
+
static aiMentorOrgsUsersGoogleAgentsPartialUpdate({
|
|
18254
|
+
org,
|
|
18255
|
+
uniqueId,
|
|
18256
|
+
userId,
|
|
18257
|
+
requestBody
|
|
18258
|
+
}) {
|
|
18259
|
+
return request(OpenAPI, {
|
|
18260
|
+
method: 'PATCH',
|
|
18261
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/{unique_id}/',
|
|
18262
|
+
path: {
|
|
18263
|
+
'org': org,
|
|
18264
|
+
'unique_id': uniqueId,
|
|
18265
|
+
'user_id': userId
|
|
18266
|
+
},
|
|
18267
|
+
body: requestBody,
|
|
18268
|
+
mediaType: 'application/json'
|
|
18269
|
+
});
|
|
18270
|
+
}
|
|
18271
|
+
/**
|
|
18272
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
18273
|
+
* @returns void
|
|
18274
|
+
* @throws ApiError
|
|
18275
|
+
*/
|
|
18276
|
+
static aiMentorOrgsUsersGoogleAgentsDestroy({
|
|
18277
|
+
org,
|
|
18278
|
+
uniqueId,
|
|
18279
|
+
userId
|
|
18280
|
+
}) {
|
|
18281
|
+
return request(OpenAPI, {
|
|
18282
|
+
method: 'DELETE',
|
|
18283
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/{unique_id}/',
|
|
18284
|
+
path: {
|
|
18285
|
+
'org': org,
|
|
18286
|
+
'unique_id': uniqueId,
|
|
18287
|
+
'user_id': userId
|
|
18288
|
+
}
|
|
18289
|
+
});
|
|
18290
|
+
}
|
|
18167
18291
|
/**
|
|
18168
18292
|
* ViewSet for MCP server connections.
|
|
18169
18293
|
*
|
|
@@ -22235,6 +22359,27 @@ class AiMentorService {
|
|
|
22235
22359
|
}
|
|
22236
22360
|
});
|
|
22237
22361
|
}
|
|
22362
|
+
/**
|
|
22363
|
+
* Retrieve Shared Messages
|
|
22364
|
+
* Fetches shared chat messages for a specific session.
|
|
22365
|
+
* @returns MessageView
|
|
22366
|
+
* @throws ApiError
|
|
22367
|
+
*/
|
|
22368
|
+
static aiMentorOrgsUsersSessionsSharedRetrieve({
|
|
22369
|
+
org,
|
|
22370
|
+
sessionId,
|
|
22371
|
+
userId
|
|
22372
|
+
}) {
|
|
22373
|
+
return request(OpenAPI, {
|
|
22374
|
+
method: 'GET',
|
|
22375
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shared/',
|
|
22376
|
+
path: {
|
|
22377
|
+
'org': org,
|
|
22378
|
+
'session_id': sessionId,
|
|
22379
|
+
'user_id': userId
|
|
22380
|
+
}
|
|
22381
|
+
});
|
|
22382
|
+
}
|
|
22238
22383
|
/**
|
|
22239
22384
|
* Retrieve shell logs for a specific session.
|
|
22240
22385
|
*
|
|
@@ -24681,12 +24826,14 @@ class AiSearchService {
|
|
|
24681
24826
|
static v2GlobalMentorSearch({
|
|
24682
24827
|
category,
|
|
24683
24828
|
createdBy,
|
|
24829
|
+
featured,
|
|
24684
24830
|
includeMainPublicMentors = false,
|
|
24685
24831
|
limit,
|
|
24686
24832
|
llm,
|
|
24687
24833
|
offset,
|
|
24688
24834
|
platformKey,
|
|
24689
24835
|
query,
|
|
24836
|
+
starred,
|
|
24690
24837
|
subjects,
|
|
24691
24838
|
tenant,
|
|
24692
24839
|
types,
|
|
@@ -24698,12 +24845,14 @@ class AiSearchService {
|
|
|
24698
24845
|
query: {
|
|
24699
24846
|
'category': category,
|
|
24700
24847
|
'created_by': createdBy,
|
|
24848
|
+
'featured': featured,
|
|
24701
24849
|
'include_main_public_mentors': includeMainPublicMentors,
|
|
24702
24850
|
'limit': limit,
|
|
24703
24851
|
'llm': llm,
|
|
24704
24852
|
'offset': offset,
|
|
24705
24853
|
'platform_key': platformKey,
|
|
24706
24854
|
'query': query,
|
|
24855
|
+
'starred': starred,
|
|
24707
24856
|
'subjects': subjects,
|
|
24708
24857
|
'tenant': tenant,
|
|
24709
24858
|
'types': types,
|
|
@@ -24798,14 +24947,16 @@ class AiSearchService {
|
|
|
24798
24947
|
static v2PersonalizedMentors({
|
|
24799
24948
|
audience,
|
|
24800
24949
|
category,
|
|
24950
|
+
featured,
|
|
24801
24951
|
limit,
|
|
24802
|
-
|
|
24952
|
+
llm,
|
|
24803
24953
|
offset,
|
|
24804
24954
|
orderBy,
|
|
24805
24955
|
orderDirection,
|
|
24806
24956
|
platformKey,
|
|
24807
24957
|
query,
|
|
24808
24958
|
returnFacet,
|
|
24959
|
+
starred,
|
|
24809
24960
|
tags,
|
|
24810
24961
|
tenant,
|
|
24811
24962
|
username,
|
|
@@ -24817,14 +24968,16 @@ class AiSearchService {
|
|
|
24817
24968
|
query: {
|
|
24818
24969
|
'audience': audience,
|
|
24819
24970
|
'category': category,
|
|
24971
|
+
'featured': featured,
|
|
24820
24972
|
'limit': limit,
|
|
24821
|
-
'
|
|
24973
|
+
'llm': llm,
|
|
24822
24974
|
'offset': offset,
|
|
24823
24975
|
'order_by': orderBy,
|
|
24824
24976
|
'order_direction': orderDirection,
|
|
24825
24977
|
'platform_key': platformKey,
|
|
24826
24978
|
'query': query,
|
|
24827
24979
|
'return_facet': returnFacet,
|
|
24980
|
+
'starred': starred,
|
|
24828
24981
|
'tags': tags,
|
|
24829
24982
|
'tenant': tenant,
|
|
24830
24983
|
'username': username,
|
|
@@ -36273,12 +36426,152 @@ class CoreService {
|
|
|
36273
36426
|
url: '/api/core/token/verify/'
|
|
36274
36427
|
});
|
|
36275
36428
|
}
|
|
36429
|
+
/**
|
|
36430
|
+
* List UserGroups
|
|
36431
|
+
* Retrieve a list of UserGroups. Can be filtered by platform_key, name, and include_users.
|
|
36432
|
+
* @returns PaginatedUserGroupList
|
|
36433
|
+
* @throws ApiError
|
|
36434
|
+
*/
|
|
36435
|
+
static coreUserGroupsList({
|
|
36436
|
+
includeUsers = false,
|
|
36437
|
+
name,
|
|
36438
|
+
page,
|
|
36439
|
+
pageSize,
|
|
36440
|
+
platformKey,
|
|
36441
|
+
withPermissions = false
|
|
36442
|
+
}) {
|
|
36443
|
+
return request(OpenAPI, {
|
|
36444
|
+
method: 'GET',
|
|
36445
|
+
url: '/api/core/user-groups/',
|
|
36446
|
+
query: {
|
|
36447
|
+
'include_users': includeUsers,
|
|
36448
|
+
'name': name,
|
|
36449
|
+
'page': page,
|
|
36450
|
+
'page_size': pageSize,
|
|
36451
|
+
'platform_key': platformKey,
|
|
36452
|
+
'with_permissions': withPermissions
|
|
36453
|
+
}
|
|
36454
|
+
});
|
|
36455
|
+
}
|
|
36456
|
+
/**
|
|
36457
|
+
* Create UserGroup
|
|
36458
|
+
* Create a new UserGroup for a platform. Users can be assigned during creation.
|
|
36459
|
+
* @returns UserGroup
|
|
36460
|
+
* @throws ApiError
|
|
36461
|
+
*/
|
|
36462
|
+
static coreUserGroupsCreate({
|
|
36463
|
+
requestBody
|
|
36464
|
+
}) {
|
|
36465
|
+
return request(OpenAPI, {
|
|
36466
|
+
method: 'POST',
|
|
36467
|
+
url: '/api/core/user-groups/',
|
|
36468
|
+
body: requestBody,
|
|
36469
|
+
mediaType: 'application/json',
|
|
36470
|
+
errors: {
|
|
36471
|
+
400: `Invalid input data. Common errors include:
|
|
36472
|
+
- Users do not belong to the specified platform
|
|
36473
|
+
- Invalid user IDs provided`
|
|
36474
|
+
}
|
|
36475
|
+
});
|
|
36476
|
+
}
|
|
36477
|
+
/**
|
|
36478
|
+
* Retrieve UserGroup
|
|
36479
|
+
* Retrieve details of a specific UserGroup including assigned users.
|
|
36480
|
+
* @returns UserGroup
|
|
36481
|
+
* @throws ApiError
|
|
36482
|
+
*/
|
|
36483
|
+
static coreUserGroupsRetrieve({
|
|
36484
|
+
id
|
|
36485
|
+
}) {
|
|
36486
|
+
return request(OpenAPI, {
|
|
36487
|
+
method: 'GET',
|
|
36488
|
+
url: '/api/core/user-groups/{id}/',
|
|
36489
|
+
path: {
|
|
36490
|
+
'id': id
|
|
36491
|
+
},
|
|
36492
|
+
errors: {
|
|
36493
|
+
404: `UserGroup not found`
|
|
36494
|
+
}
|
|
36495
|
+
});
|
|
36496
|
+
}
|
|
36497
|
+
/**
|
|
36498
|
+
* Update UserGroup
|
|
36499
|
+
* Update an existing UserGroup. Platform validation applies for user assignments.
|
|
36500
|
+
* @returns UserGroup
|
|
36501
|
+
* @throws ApiError
|
|
36502
|
+
*/
|
|
36503
|
+
static coreUserGroupsUpdate({
|
|
36504
|
+
id,
|
|
36505
|
+
requestBody
|
|
36506
|
+
}) {
|
|
36507
|
+
return request(OpenAPI, {
|
|
36508
|
+
method: 'PUT',
|
|
36509
|
+
url: '/api/core/user-groups/{id}/',
|
|
36510
|
+
path: {
|
|
36511
|
+
'id': id
|
|
36512
|
+
},
|
|
36513
|
+
body: requestBody,
|
|
36514
|
+
mediaType: 'application/json',
|
|
36515
|
+
errors: {
|
|
36516
|
+
400: `Invalid input data. Common errors include:
|
|
36517
|
+
- Users do not belong to the specified platform
|
|
36518
|
+
- Invalid user IDs provided`,
|
|
36519
|
+
404: `UserGroup not found`
|
|
36520
|
+
}
|
|
36521
|
+
});
|
|
36522
|
+
}
|
|
36523
|
+
/**
|
|
36524
|
+
* Partially update UserGroup
|
|
36525
|
+
* Partially update an existing UserGroup. Platform validation applies for user assignments.
|
|
36526
|
+
* @returns UserGroup
|
|
36527
|
+
* @throws ApiError
|
|
36528
|
+
*/
|
|
36529
|
+
static coreUserGroupsPartialUpdate({
|
|
36530
|
+
id,
|
|
36531
|
+
requestBody
|
|
36532
|
+
}) {
|
|
36533
|
+
return request(OpenAPI, {
|
|
36534
|
+
method: 'PATCH',
|
|
36535
|
+
url: '/api/core/user-groups/{id}/',
|
|
36536
|
+
path: {
|
|
36537
|
+
'id': id
|
|
36538
|
+
},
|
|
36539
|
+
body: requestBody,
|
|
36540
|
+
mediaType: 'application/json',
|
|
36541
|
+
errors: {
|
|
36542
|
+
400: `Invalid input data. Common errors include:
|
|
36543
|
+
- Users do not belong to the specified platform
|
|
36544
|
+
- Invalid user IDs provided`,
|
|
36545
|
+
404: `UserGroup not found`
|
|
36546
|
+
}
|
|
36547
|
+
});
|
|
36548
|
+
}
|
|
36549
|
+
/**
|
|
36550
|
+
* Delete UserGroup
|
|
36551
|
+
* Delete a UserGroup and all associated user group links.
|
|
36552
|
+
* @returns void
|
|
36553
|
+
* @throws ApiError
|
|
36554
|
+
*/
|
|
36555
|
+
static coreUserGroupsDestroy({
|
|
36556
|
+
id
|
|
36557
|
+
}) {
|
|
36558
|
+
return request(OpenAPI, {
|
|
36559
|
+
method: 'DELETE',
|
|
36560
|
+
url: '/api/core/user-groups/{id}/',
|
|
36561
|
+
path: {
|
|
36562
|
+
'id': id
|
|
36563
|
+
},
|
|
36564
|
+
errors: {
|
|
36565
|
+
404: `UserGroup not found`
|
|
36566
|
+
}
|
|
36567
|
+
});
|
|
36568
|
+
}
|
|
36276
36569
|
/**
|
|
36277
36570
|
* Show (active) user groups associated with a platform
|
|
36278
36571
|
* @returns any No response body
|
|
36279
36572
|
* @throws ApiError
|
|
36280
36573
|
*/
|
|
36281
|
-
static
|
|
36574
|
+
static coreUserGroupsRetrieve2() {
|
|
36282
36575
|
return request(OpenAPI, {
|
|
36283
36576
|
method: 'GET',
|
|
36284
36577
|
url: '/api/core/user_groups/'
|
|
@@ -36289,7 +36582,7 @@ class CoreService {
|
|
|
36289
36582
|
* @returns any No response body
|
|
36290
36583
|
* @throws ApiError
|
|
36291
36584
|
*/
|
|
36292
|
-
static
|
|
36585
|
+
static coreUserGroupsCreate2() {
|
|
36293
36586
|
return request(OpenAPI, {
|
|
36294
36587
|
method: 'POST',
|
|
36295
36588
|
url: '/api/core/user_groups/'
|
|
@@ -36300,7 +36593,7 @@ class CoreService {
|
|
|
36300
36593
|
* @returns void
|
|
36301
36594
|
* @throws ApiError
|
|
36302
36595
|
*/
|
|
36303
|
-
static
|
|
36596
|
+
static coreUserGroupsDestroy2() {
|
|
36304
36597
|
return request(OpenAPI, {
|
|
36305
36598
|
method: 'DELETE',
|
|
36306
36599
|
url: '/api/core/user_groups/'
|
|
@@ -41827,5 +42120,5 @@ class SkillsService {
|
|
|
41827
42120
|
}
|
|
41828
42121
|
}
|
|
41829
42122
|
|
|
41830
|
-
export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiBotService, AiFinetuningService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AiSearchService, AlignMentorBubbleEnum, AnalyticsService, ApiError, AuthTypeEnum, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, DataSetStatusEnum, DisclaimerScopeEnum, EntityTypeEnum, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MCPServerConnectionScopeEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationStatusEnum, NotificationsService, OpenAPI, PeriodEnum, PeriodicAgentLogStatusEnum, PeriodicFrequencyEnum, PeriodicLearnerScopeEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider05cEnum,
|
|
42123
|
+
export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiBotService, AiFinetuningService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AiSearchService, AlignMentorBubbleEnum, AnalyticsService, ApiError, AuthTypeEnum, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, DataSetStatusEnum, DisclaimerScopeEnum, EntityTypeEnum, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MCPServerConnectionScopeEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationStatusEnum, NotificationsService, OpenAPI, PeriodEnum, PeriodicAgentLogStatusEnum, PeriodicFrequencyEnum, PeriodicLearnerScopeEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider05cEnum, Provider63aEnum, RatingEnum, RecommendationTypeEnum, RecommendationsService, ReportsService, ResourceScrappedDataStatusEnum, ScimService, SearchService, SkillsService, StateEnum, Status6eeEnum, StepStatusEnum, StripeCheckoutSessionRequestModeEnum, SttProviderEnum, TargetSystemEnum, ThemeEnum, TrainingStatusEnum, TransportEnum, TtsProviderEnum, Type2a5Enum, TypeC42Enum, VoiceProviderEnum };
|
|
41831
42124
|
//# sourceMappingURL=index.esm.js.map
|