@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
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
* * `openai` - Openai
|
|
3
3
|
* * `google` - Google
|
|
4
4
|
* * `elevenlabs` - Elevenlabs
|
|
5
|
+
* * `azure_openai` - Azure Openai
|
|
5
6
|
*/
|
|
6
7
|
export declare enum TtsProviderEnum {
|
|
7
8
|
OPENAI = "openai",
|
|
8
9
|
GOOGLE = "google",
|
|
9
|
-
ELEVENLABS = "elevenlabs"
|
|
10
|
+
ELEVENLABS = "elevenlabs",
|
|
11
|
+
AZURE_OPENAI = "azure_openai"
|
|
10
12
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { RbacPlatform } from './RbacPlatform';
|
|
2
|
+
import type { RbacUser } from './RbacUser';
|
|
3
|
+
/**
|
|
4
|
+
* Serializer for UserGroups.
|
|
5
|
+
*/
|
|
6
|
+
export type UserGroup = {
|
|
7
|
+
readonly id: number;
|
|
8
|
+
/**
|
|
9
|
+
* Group display name
|
|
10
|
+
*/
|
|
11
|
+
name: string | null;
|
|
12
|
+
readonly platform: RbacPlatform;
|
|
13
|
+
/**
|
|
14
|
+
* The platform key
|
|
15
|
+
*/
|
|
16
|
+
platform_key: string;
|
|
17
|
+
/**
|
|
18
|
+
* Group description
|
|
19
|
+
*/
|
|
20
|
+
description?: string | null;
|
|
21
|
+
readonly owner: RbacUser;
|
|
22
|
+
/**
|
|
23
|
+
* List of user IDs to set in this group (replaces all existing users)
|
|
24
|
+
*/
|
|
25
|
+
users_to_set?: Array<number>;
|
|
26
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { VoiceProviderEnum } from './VoiceProviderEnum';
|
|
2
2
|
export type Voice = {
|
|
3
3
|
readonly id: number;
|
|
4
4
|
name: string;
|
|
5
|
-
provider:
|
|
5
|
+
provider: VoiceProviderEnum;
|
|
6
6
|
language?: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
readonly audio_url: string;
|
|
@@ -31,6 +31,7 @@ import type { FileUploadURLRequest } from '../models/FileUploadURLRequest';
|
|
|
31
31
|
import type { FileUploadURLResponse } from '../models/FileUploadURLResponse';
|
|
32
32
|
import type { FreeUsageCount } from '../models/FreeUsageCount';
|
|
33
33
|
import type { FullCourse } from '../models/FullCourse';
|
|
34
|
+
import type { GoogleAgentDetail } from '../models/GoogleAgentDetail';
|
|
34
35
|
import type { HumanSupportTicket } from '../models/HumanSupportTicket';
|
|
35
36
|
import type { JobRun } from '../models/JobRun';
|
|
36
37
|
import type { LinkCourseRequest } from '../models/LinkCourseRequest';
|
|
@@ -73,13 +74,14 @@ import type { MessageViewUpdatResponse } from '../models/MessageViewUpdatRespons
|
|
|
73
74
|
import type { ModerationLog } from '../models/ModerationLog';
|
|
74
75
|
import type { PaginatedAIGeneratedImageList } from '../models/PaginatedAIGeneratedImageList';
|
|
75
76
|
import type { PaginatedArtifactListList } from '../models/PaginatedArtifactListList';
|
|
76
|
-
import type {
|
|
77
|
+
import type { PaginatedArtifactVersionList } from '../models/PaginatedArtifactVersionList';
|
|
77
78
|
import type { PaginatedCourseCreationTaskFileList } from '../models/PaginatedCourseCreationTaskFileList';
|
|
78
79
|
import type { PaginatedCourseCreationTaskList } from '../models/PaginatedCourseCreationTaskList';
|
|
79
80
|
import type { PaginatedDisclaimerAgreementList } from '../models/PaginatedDisclaimerAgreementList';
|
|
80
81
|
import type { PaginatedDisclaimerList } from '../models/PaginatedDisclaimerList';
|
|
81
82
|
import type { PaginatedEdxCourseList } from '../models/PaginatedEdxCourseList';
|
|
82
83
|
import type { PaginatedEmailPromptListList } from '../models/PaginatedEmailPromptListList';
|
|
84
|
+
import type { PaginatedGoogleAgentDetailList } from '../models/PaginatedGoogleAgentDetailList';
|
|
83
85
|
import type { PaginatedHumanSupportTicketList } from '../models/PaginatedHumanSupportTicketList';
|
|
84
86
|
import type { PaginatedJobRunList } from '../models/PaginatedJobRunList';
|
|
85
87
|
import type { PaginatedMCPServerConnectionList } from '../models/PaginatedMCPServerConnectionList';
|
|
@@ -101,6 +103,7 @@ import type { PatchedArtifact } from '../models/PatchedArtifact';
|
|
|
101
103
|
import type { PatchedCallConfiguration } from '../models/PatchedCallConfiguration';
|
|
102
104
|
import type { PatchedCourseCreationTaskFile } from '../models/PatchedCourseCreationTaskFile';
|
|
103
105
|
import type { PatchedDisclaimer } from '../models/PatchedDisclaimer';
|
|
106
|
+
import type { PatchedGoogleAgentDetail } from '../models/PatchedGoogleAgentDetail';
|
|
104
107
|
import type { PatchedHumanSupportTicket } from '../models/PatchedHumanSupportTicket';
|
|
105
108
|
import type { PatchedMCPServer } from '../models/PatchedMCPServer';
|
|
106
109
|
import type { PatchedMCPServerConnection } from '../models/PatchedMCPServerConnection';
|
|
@@ -296,7 +299,7 @@ export declare class AiMentorService {
|
|
|
296
299
|
*/
|
|
297
300
|
static aiMentorOrgsMentorsByEmailCreate({ org, requestBody, }: {
|
|
298
301
|
org: string;
|
|
299
|
-
requestBody
|
|
302
|
+
requestBody?: AccessibleMentorsByEmailRequest;
|
|
300
303
|
}): CancelablePromise<AccessibleMentorsByEmailResponse>;
|
|
301
304
|
/**
|
|
302
305
|
* Create or update metadata for a mentor.
|
|
@@ -887,11 +890,8 @@ export declare class AiMentorService {
|
|
|
887
890
|
* @returns PaginatedArtifactListList
|
|
888
891
|
* @throws ApiError
|
|
889
892
|
*/
|
|
890
|
-
static aiMentorOrgsUsersArtifactsList({ org, userId,
|
|
893
|
+
static aiMentorOrgsUsersArtifactsList({ org, userId, fileExtension, llmName, llmProvider, mentorId, ordering, page, pageSize, search, sessionId, username, }: {
|
|
891
894
|
org: string; /**
|
|
892
|
-
* Filter by specific chat message UUID
|
|
893
|
-
*/
|
|
894
|
-
chatMessageId?: string; /**
|
|
895
895
|
* Filter by file extension (e.g., 'py', 'md', 'html')
|
|
896
896
|
*/
|
|
897
897
|
fileExtension?: string;
|
|
@@ -953,7 +953,7 @@ export declare class AiMentorService {
|
|
|
953
953
|
}): CancelablePromise<Artifact>;
|
|
954
954
|
/**
|
|
955
955
|
* Update an artifact
|
|
956
|
-
* Update all fields of an artifact (excluding
|
|
956
|
+
* Update all fields of an artifact (excluding session reference).
|
|
957
957
|
* @returns Artifact
|
|
958
958
|
* @throws ApiError
|
|
959
959
|
*/
|
|
@@ -995,16 +995,15 @@ export declare class AiMentorService {
|
|
|
995
995
|
/**
|
|
996
996
|
* List artifact versions
|
|
997
997
|
* Retrieve all versions for a specific artifact.
|
|
998
|
-
* @returns
|
|
998
|
+
* @returns PaginatedArtifactVersionList
|
|
999
999
|
* @throws ApiError
|
|
1000
1000
|
*/
|
|
1001
|
-
static aiMentorOrgsUsersArtifactsVersionsList({ id, org, userId,
|
|
1001
|
+
static aiMentorOrgsUsersArtifactsVersionsList({ id, org, userId, fileExtension, llmName, llmProvider, mentorId, ordering, page, pageSize, search, sessionId, username, }: {
|
|
1002
1002
|
/**
|
|
1003
1003
|
* A unique integer value identifying this artifact.
|
|
1004
1004
|
*/
|
|
1005
1005
|
id: number;
|
|
1006
1006
|
org: string;
|
|
1007
|
-
chatMessageId?: string;
|
|
1008
1007
|
fileExtension?: string;
|
|
1009
1008
|
llmName?: string;
|
|
1010
1009
|
llmProvider?: string;
|
|
@@ -1023,7 +1022,7 @@ export declare class AiMentorService {
|
|
|
1023
1022
|
search?: string;
|
|
1024
1023
|
sessionId?: string;
|
|
1025
1024
|
username?: string;
|
|
1026
|
-
}): CancelablePromise<
|
|
1025
|
+
}): CancelablePromise<PaginatedArtifactVersionList>;
|
|
1027
1026
|
/**
|
|
1028
1027
|
* Get specific artifact version
|
|
1029
1028
|
* Retrieve a specific version of an artifact by version ID.
|
|
@@ -3627,6 +3626,71 @@ export declare class AiMentorService {
|
|
|
3627
3626
|
static aiMentorOrgsUsersFreeUsageCountRetrieve({ org, userId, }: {
|
|
3628
3627
|
org: string;
|
|
3629
3628
|
}): CancelablePromise<FreeUsageCount>;
|
|
3629
|
+
/**
|
|
3630
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
3631
|
+
* @returns PaginatedGoogleAgentDetailList
|
|
3632
|
+
* @throws ApiError
|
|
3633
|
+
*/
|
|
3634
|
+
static aiMentorOrgsUsersGoogleAgentsList({ org, userId, page, pageSize, }: {
|
|
3635
|
+
org: string; /**
|
|
3636
|
+
* A page number within the paginated result set.
|
|
3637
|
+
*/
|
|
3638
|
+
page?: number; /**
|
|
3639
|
+
* Number of results to return per page.
|
|
3640
|
+
*/
|
|
3641
|
+
pageSize?: number;
|
|
3642
|
+
}): CancelablePromise<PaginatedGoogleAgentDetailList>;
|
|
3643
|
+
/**
|
|
3644
|
+
* Sample Request
|
|
3645
|
+
* ```
|
|
3646
|
+
* {"name": "my agent", "instruction": "you are a helpful agent",}
|
|
3647
|
+
* ```
|
|
3648
|
+
* @returns GoogleAgentDetail
|
|
3649
|
+
* @throws ApiError
|
|
3650
|
+
*/
|
|
3651
|
+
static aiMentorOrgsUsersGoogleAgentsCreate({ org, userId, requestBody, }: {
|
|
3652
|
+
org: string;
|
|
3653
|
+
requestBody: GoogleAgentDetail;
|
|
3654
|
+
}): CancelablePromise<GoogleAgentDetail>;
|
|
3655
|
+
/**
|
|
3656
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
3657
|
+
* @returns GoogleAgentDetail
|
|
3658
|
+
* @throws ApiError
|
|
3659
|
+
*/
|
|
3660
|
+
static aiMentorOrgsUsersGoogleAgentsRetrieve({ org, uniqueId, userId, }: {
|
|
3661
|
+
org: string;
|
|
3662
|
+
uniqueId: string;
|
|
3663
|
+
}): CancelablePromise<GoogleAgentDetail>;
|
|
3664
|
+
/**
|
|
3665
|
+
* Mainly used to update the sub agent list.
|
|
3666
|
+
*
|
|
3667
|
+
* Sample request:
|
|
3668
|
+
* ```
|
|
3669
|
+
* {
|
|
3670
|
+
* "sub_agents": [
|
|
3671
|
+
* "adc4bf84-c174-47e1-b11c-7713ef2dcd89",
|
|
3672
|
+
* "3fb5806d-3be1-4bfd-bcb0-a48558465644",
|
|
3673
|
+
* "339e44cd-6084-4530-be70-ac2a83759fb6"
|
|
3674
|
+
* ]
|
|
3675
|
+
* }
|
|
3676
|
+
* ```
|
|
3677
|
+
* @returns GoogleAgentDetail
|
|
3678
|
+
* @throws ApiError
|
|
3679
|
+
*/
|
|
3680
|
+
static aiMentorOrgsUsersGoogleAgentsPartialUpdate({ org, uniqueId, userId, requestBody, }: {
|
|
3681
|
+
org: string;
|
|
3682
|
+
uniqueId: string;
|
|
3683
|
+
requestBody?: PatchedGoogleAgentDetail;
|
|
3684
|
+
}): CancelablePromise<GoogleAgentDetail>;
|
|
3685
|
+
/**
|
|
3686
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
3687
|
+
* @returns void
|
|
3688
|
+
* @throws ApiError
|
|
3689
|
+
*/
|
|
3690
|
+
static aiMentorOrgsUsersGoogleAgentsDestroy({ org, uniqueId, userId, }: {
|
|
3691
|
+
org: string;
|
|
3692
|
+
uniqueId: string;
|
|
3693
|
+
}): CancelablePromise<void>;
|
|
3630
3694
|
/**
|
|
3631
3695
|
* ViewSet for MCP server connections.
|
|
3632
3696
|
*
|
|
@@ -6258,6 +6322,16 @@ export declare class AiMentorService {
|
|
|
6258
6322
|
org: string;
|
|
6259
6323
|
sessionId: string;
|
|
6260
6324
|
}): CancelablePromise<SessionMemoryStorage>;
|
|
6325
|
+
/**
|
|
6326
|
+
* Retrieve Shared Messages
|
|
6327
|
+
* Fetches shared chat messages for a specific session.
|
|
6328
|
+
* @returns MessageView
|
|
6329
|
+
* @throws ApiError
|
|
6330
|
+
*/
|
|
6331
|
+
static aiMentorOrgsUsersSessionsSharedRetrieve({ org, sessionId, userId, }: {
|
|
6332
|
+
org: string;
|
|
6333
|
+
sessionId: string;
|
|
6334
|
+
}): CancelablePromise<MessageView>;
|
|
6261
6335
|
/**
|
|
6262
6336
|
* Retrieve shell logs for a specific session.
|
|
6263
6337
|
*
|
|
@@ -53,7 +53,7 @@ export declare class AiSearchService {
|
|
|
53
53
|
* @returns V2GlobalMentorSearchResponse
|
|
54
54
|
* @throws ApiError
|
|
55
55
|
*/
|
|
56
|
-
static v2GlobalMentorSearch({ category, createdBy, includeMainPublicMentors, limit, llm, offset, platformKey, query, subjects, tenant, types, visibility, }: {
|
|
56
|
+
static v2GlobalMentorSearch({ category, createdBy, featured, includeMainPublicMentors, limit, llm, offset, platformKey, query, starred, subjects, tenant, types, visibility, }: {
|
|
57
57
|
/**
|
|
58
58
|
* Mentor category filter
|
|
59
59
|
*/
|
|
@@ -62,6 +62,10 @@ export declare class AiSearchService {
|
|
|
62
62
|
* Filter mentors created by specific user (for personalized search)
|
|
63
63
|
*/
|
|
64
64
|
createdBy?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Filter by featured status (true/false)
|
|
67
|
+
*/
|
|
68
|
+
featured?: boolean | null;
|
|
65
69
|
/**
|
|
66
70
|
* Include main tenant public mentors (VIEWABLE_BY_ANYONE) when true
|
|
67
71
|
*/
|
|
@@ -86,12 +90,16 @@ export declare class AiSearchService {
|
|
|
86
90
|
* Search query for mentors
|
|
87
91
|
*/
|
|
88
92
|
query?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Filter by starred status (true/false) - only for authenticated users
|
|
95
|
+
*/
|
|
96
|
+
starred?: boolean | null;
|
|
89
97
|
/**
|
|
90
98
|
* Mentor subject filter
|
|
91
99
|
*/
|
|
92
100
|
subjects?: string;
|
|
93
101
|
/**
|
|
94
|
-
* Tenant key(s) (CSV). Can be used as a filter for multiple tenants, or as an alias for 'platform_key'
|
|
102
|
+
* Tenant key(s) (CSV). Can be used as a filter for multiple tenants, or as an alias for 'platform_key' (backward compatibility).
|
|
95
103
|
*/
|
|
96
104
|
tenant?: string;
|
|
97
105
|
/**
|
|
@@ -195,7 +203,7 @@ export declare class AiSearchService {
|
|
|
195
203
|
* @returns V2PersonalizedMentorsResponse
|
|
196
204
|
* @throws ApiError
|
|
197
205
|
*/
|
|
198
|
-
static v2PersonalizedMentors({ audience, category, limit,
|
|
206
|
+
static v2PersonalizedMentors({ audience, category, featured, limit, llm, offset, orderBy, orderDirection, platformKey, query, returnFacet, starred, tags, tenant, username, visibility, }: {
|
|
199
207
|
/**
|
|
200
208
|
* Filter by audience
|
|
201
209
|
*/
|
|
@@ -204,14 +212,18 @@ export declare class AiSearchService {
|
|
|
204
212
|
* Mentor category filter
|
|
205
213
|
*/
|
|
206
214
|
category?: string;
|
|
215
|
+
/**
|
|
216
|
+
* Filter by featured status (true/false)
|
|
217
|
+
*/
|
|
218
|
+
featured?: boolean | null;
|
|
207
219
|
/**
|
|
208
220
|
* Number of results per page
|
|
209
221
|
*/
|
|
210
222
|
limit?: number;
|
|
211
223
|
/**
|
|
212
|
-
*
|
|
224
|
+
* LLM provider filter (frontend uses 'llm', backend maps to 'llm_provider')
|
|
213
225
|
*/
|
|
214
|
-
|
|
226
|
+
llm?: string;
|
|
215
227
|
/**
|
|
216
228
|
* Number of results to skip
|
|
217
229
|
*/
|
|
@@ -239,6 +251,10 @@ export declare class AiSearchService {
|
|
|
239
251
|
* Include facet data in response
|
|
240
252
|
*/
|
|
241
253
|
returnFacet?: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* Filter by starred status (true/false)
|
|
256
|
+
*/
|
|
257
|
+
starred?: boolean | null;
|
|
242
258
|
/**
|
|
243
259
|
* Filter by tags
|
|
244
260
|
*/
|
|
@@ -11,11 +11,13 @@ import type { MentorPolicy } from '../models/MentorPolicy';
|
|
|
11
11
|
import type { PaginatedRbacGroupList } from '../models/PaginatedRbacGroupList';
|
|
12
12
|
import type { PaginatedRbacPolicyList } from '../models/PaginatedRbacPolicyList';
|
|
13
13
|
import type { PaginatedRbacRoleList } from '../models/PaginatedRbacRoleList';
|
|
14
|
+
import type { PaginatedUserGroupList } from '../models/PaginatedUserGroupList';
|
|
14
15
|
import type { PatchedPlatformPublicImageAsset } from '../models/PatchedPlatformPublicImageAsset';
|
|
15
16
|
import type { PatchedPlatformPublicMetadata } from '../models/PatchedPlatformPublicMetadata';
|
|
16
17
|
import type { PatchedRbacGroup } from '../models/PatchedRbacGroup';
|
|
17
18
|
import type { PatchedRbacPolicy } from '../models/PatchedRbacPolicy';
|
|
18
19
|
import type { PatchedRbacRole } from '../models/PatchedRbacRole';
|
|
20
|
+
import type { PatchedUserGroup } from '../models/PatchedUserGroup';
|
|
19
21
|
import type { PermissionCheckRequest } from '../models/PermissionCheckRequest';
|
|
20
22
|
import type { PlatformApiKey } from '../models/PlatformApiKey';
|
|
21
23
|
import type { PlatformConfigurationList } from '../models/PlatformConfigurationList';
|
|
@@ -41,6 +43,7 @@ import type { TokenProxyInput } from '../models/TokenProxyInput';
|
|
|
41
43
|
import type { TokenProxyOutput } from '../models/TokenProxyOutput';
|
|
42
44
|
import type { UserDeleteAPIRequest } from '../models/UserDeleteAPIRequest';
|
|
43
45
|
import type { UserDeleteAPIResponse } from '../models/UserDeleteAPIResponse';
|
|
46
|
+
import type { UserGroup } from '../models/UserGroup';
|
|
44
47
|
import type { UserGroupAccess } from '../models/UserGroupAccess';
|
|
45
48
|
import type { UserPlatformLink } from '../models/UserPlatformLink';
|
|
46
49
|
import type { UserPlatformManagementListViewGetResponse } from '../models/UserPlatformManagementListViewGetResponse';
|
|
@@ -1149,24 +1152,115 @@ export declare class CoreService {
|
|
|
1149
1152
|
* @throws ApiError
|
|
1150
1153
|
*/
|
|
1151
1154
|
static coreTokenVerifyRetrieve(): CancelablePromise<any>;
|
|
1155
|
+
/**
|
|
1156
|
+
* List UserGroups
|
|
1157
|
+
* Retrieve a list of UserGroups. Can be filtered by platform_key, name, and include_users.
|
|
1158
|
+
* @returns PaginatedUserGroupList
|
|
1159
|
+
* @throws ApiError
|
|
1160
|
+
*/
|
|
1161
|
+
static coreUserGroupsList({ includeUsers, name, page, pageSize, platformKey, withPermissions, }: {
|
|
1162
|
+
/**
|
|
1163
|
+
* Include user information in response (default: false for performance)
|
|
1164
|
+
*/
|
|
1165
|
+
includeUsers?: boolean;
|
|
1166
|
+
/**
|
|
1167
|
+
* Fuzzy search by group name
|
|
1168
|
+
*/
|
|
1169
|
+
name?: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* A page number within the paginated result set.
|
|
1172
|
+
*/
|
|
1173
|
+
page?: number;
|
|
1174
|
+
/**
|
|
1175
|
+
* Number of results to return per page.
|
|
1176
|
+
*/
|
|
1177
|
+
pageSize?: number;
|
|
1178
|
+
/**
|
|
1179
|
+
* Filter groups by platform key
|
|
1180
|
+
*/
|
|
1181
|
+
platformKey?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* Include object-level permissions in response
|
|
1184
|
+
*/
|
|
1185
|
+
withPermissions?: boolean;
|
|
1186
|
+
}): CancelablePromise<PaginatedUserGroupList>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Create UserGroup
|
|
1189
|
+
* Create a new UserGroup for a platform. Users can be assigned during creation.
|
|
1190
|
+
* @returns UserGroup
|
|
1191
|
+
* @throws ApiError
|
|
1192
|
+
*/
|
|
1193
|
+
static coreUserGroupsCreate({ requestBody, }: {
|
|
1194
|
+
requestBody: UserGroup;
|
|
1195
|
+
}): CancelablePromise<UserGroup>;
|
|
1196
|
+
/**
|
|
1197
|
+
* Retrieve UserGroup
|
|
1198
|
+
* Retrieve details of a specific UserGroup including assigned users.
|
|
1199
|
+
* @returns UserGroup
|
|
1200
|
+
* @throws ApiError
|
|
1201
|
+
*/
|
|
1202
|
+
static coreUserGroupsRetrieve({ id, }: {
|
|
1203
|
+
/**
|
|
1204
|
+
* A unique integer value identifying this User Group.
|
|
1205
|
+
*/
|
|
1206
|
+
id: number;
|
|
1207
|
+
}): CancelablePromise<UserGroup>;
|
|
1208
|
+
/**
|
|
1209
|
+
* Update UserGroup
|
|
1210
|
+
* Update an existing UserGroup. Platform validation applies for user assignments.
|
|
1211
|
+
* @returns UserGroup
|
|
1212
|
+
* @throws ApiError
|
|
1213
|
+
*/
|
|
1214
|
+
static coreUserGroupsUpdate({ id, requestBody, }: {
|
|
1215
|
+
/**
|
|
1216
|
+
* A unique integer value identifying this User Group.
|
|
1217
|
+
*/
|
|
1218
|
+
id: number;
|
|
1219
|
+
requestBody: UserGroup;
|
|
1220
|
+
}): CancelablePromise<UserGroup>;
|
|
1221
|
+
/**
|
|
1222
|
+
* Partially update UserGroup
|
|
1223
|
+
* Partially update an existing UserGroup. Platform validation applies for user assignments.
|
|
1224
|
+
* @returns UserGroup
|
|
1225
|
+
* @throws ApiError
|
|
1226
|
+
*/
|
|
1227
|
+
static coreUserGroupsPartialUpdate({ id, requestBody, }: {
|
|
1228
|
+
/**
|
|
1229
|
+
* A unique integer value identifying this User Group.
|
|
1230
|
+
*/
|
|
1231
|
+
id: number;
|
|
1232
|
+
requestBody?: PatchedUserGroup;
|
|
1233
|
+
}): CancelablePromise<UserGroup>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Delete UserGroup
|
|
1236
|
+
* Delete a UserGroup and all associated user group links.
|
|
1237
|
+
* @returns void
|
|
1238
|
+
* @throws ApiError
|
|
1239
|
+
*/
|
|
1240
|
+
static coreUserGroupsDestroy({ id, }: {
|
|
1241
|
+
/**
|
|
1242
|
+
* A unique integer value identifying this User Group.
|
|
1243
|
+
*/
|
|
1244
|
+
id: number;
|
|
1245
|
+
}): CancelablePromise<void>;
|
|
1152
1246
|
/**
|
|
1153
1247
|
* Show (active) user groups associated with a platform
|
|
1154
1248
|
* @returns any No response body
|
|
1155
1249
|
* @throws ApiError
|
|
1156
1250
|
*/
|
|
1157
|
-
static
|
|
1251
|
+
static coreUserGroupsRetrieve2(): CancelablePromise<any>;
|
|
1158
1252
|
/**
|
|
1159
1253
|
* Create/update a user group
|
|
1160
1254
|
* @returns any No response body
|
|
1161
1255
|
* @throws ApiError
|
|
1162
1256
|
*/
|
|
1163
|
-
static
|
|
1257
|
+
static coreUserGroupsCreate2(): CancelablePromise<any>;
|
|
1164
1258
|
/**
|
|
1165
1259
|
* Delete user group
|
|
1166
1260
|
* @returns void
|
|
1167
1261
|
* @throws ApiError
|
|
1168
1262
|
*/
|
|
1169
|
-
static
|
|
1263
|
+
static coreUserGroupsDestroy2(): CancelablePromise<void>;
|
|
1170
1264
|
/**
|
|
1171
1265
|
* Show active users in user group (paginated)
|
|
1172
1266
|
*
|