@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/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -35,7 +35,6 @@ export type { AppleVerifyTransactionId } from './models/AppleVerifyTransactionId
|
|
|
35
35
|
export type { Artifact } from './models/Artifact';
|
|
36
36
|
export type { ArtifactList } from './models/ArtifactList';
|
|
37
37
|
export type { ArtifactVersion } from './models/ArtifactVersion';
|
|
38
|
-
export type { ArtifactVersionList } from './models/ArtifactVersionList';
|
|
39
38
|
export type { Assertion } from './models/Assertion';
|
|
40
39
|
export type { AssociateAccountResponse } from './models/AssociateAccountResponse';
|
|
41
40
|
export type { AssociateAppleAccount } from './models/AssociateAppleAccount';
|
|
@@ -235,6 +234,7 @@ export type { FreeUsageCount } from './models/FreeUsageCount';
|
|
|
235
234
|
export type { FullCourse } from './models/FullCourse';
|
|
236
235
|
export type { GCPTenantLaunchRequest } from './models/GCPTenantLaunchRequest';
|
|
237
236
|
export type { GlobalCatalogSearchResponse } from './models/GlobalCatalogSearchResponse';
|
|
237
|
+
export type { GoogleAgentDetail } from './models/GoogleAgentDetail';
|
|
238
238
|
export type { GooglePayAccountResponse } from './models/GooglePayAccountResponse';
|
|
239
239
|
export { GooglePayAccountResponseStatusEnum } from './models/GooglePayAccountResponseStatusEnum';
|
|
240
240
|
export type { GooglePayVerifyToken } from './models/GooglePayVerifyToken';
|
|
@@ -389,7 +389,7 @@ export type { OverTimeWithTotal } from './models/OverTimeWithTotal';
|
|
|
389
389
|
export type { PageContent } from './models/PageContent';
|
|
390
390
|
export type { PaginatedAIGeneratedImageList } from './models/PaginatedAIGeneratedImageList';
|
|
391
391
|
export type { PaginatedArtifactListList } from './models/PaginatedArtifactListList';
|
|
392
|
-
export type {
|
|
392
|
+
export type { PaginatedArtifactVersionList } from './models/PaginatedArtifactVersionList';
|
|
393
393
|
export type { PaginatedAssertionsResponse } from './models/PaginatedAssertionsResponse';
|
|
394
394
|
export type { PaginatedConversationsList } from './models/PaginatedConversationsList';
|
|
395
395
|
export type { PaginatedCourseAccessRequest } from './models/PaginatedCourseAccessRequest';
|
|
@@ -406,6 +406,7 @@ export type { PaginatedDisclaimerAgreementList } from './models/PaginatedDisclai
|
|
|
406
406
|
export type { PaginatedDisclaimerList } from './models/PaginatedDisclaimerList';
|
|
407
407
|
export type { PaginatedEdxCourseList } from './models/PaginatedEdxCourseList';
|
|
408
408
|
export type { PaginatedEmailPromptListList } from './models/PaginatedEmailPromptListList';
|
|
409
|
+
export type { PaginatedGoogleAgentDetailList } from './models/PaginatedGoogleAgentDetailList';
|
|
409
410
|
export type { PaginatedHeygenMarketingVideoListList } from './models/PaginatedHeygenMarketingVideoListList';
|
|
410
411
|
export type { PaginatedHeygenTemplateResponseSingleList } from './models/PaginatedHeygenTemplateResponseSingleList';
|
|
411
412
|
export type { PaginatedHumanSupportTicketList } from './models/PaginatedHumanSupportTicketList';
|
|
@@ -443,6 +444,7 @@ export type { PaginatedTrainingList } from './models/PaginatedTrainingList';
|
|
|
443
444
|
export type { PaginatedUnitList } from './models/PaginatedUnitList';
|
|
444
445
|
export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
|
|
445
446
|
export type { PaginatedUserEdxMemoryList } from './models/PaginatedUserEdxMemoryList';
|
|
447
|
+
export type { PaginatedUserGroupList } from './models/PaginatedUserGroupList';
|
|
446
448
|
export type { PaginatedUserLicense } from './models/PaginatedUserLicense';
|
|
447
449
|
export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicenseAssignment';
|
|
448
450
|
export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUserLicenseGroupAssignment';
|
|
@@ -461,6 +463,7 @@ export type { PatchedDataSet } from './models/PatchedDataSet';
|
|
|
461
463
|
export type { PatchedDisclaimer } from './models/PatchedDisclaimer';
|
|
462
464
|
export type { PatchedDiscordConfig } from './models/PatchedDiscordConfig';
|
|
463
465
|
export type { PatchedDiscordUserConfig } from './models/PatchedDiscordUserConfig';
|
|
466
|
+
export type { PatchedGoogleAgentDetail } from './models/PatchedGoogleAgentDetail';
|
|
464
467
|
export type { PatchedHumanSupportTicket } from './models/PatchedHumanSupportTicket';
|
|
465
468
|
export type { PatchedLLMCredentialRequest } from './models/PatchedLLMCredentialRequest';
|
|
466
469
|
export type { PatchedMCPServer } from './models/PatchedMCPServer';
|
|
@@ -491,6 +494,7 @@ export type { PatchedTeamsConfig } from './models/PatchedTeamsConfig';
|
|
|
491
494
|
export type { PatchedTicketMessage } from './models/PatchedTicketMessage';
|
|
492
495
|
export type { PatchedTrainingCreate } from './models/PatchedTrainingCreate';
|
|
493
496
|
export type { PatchedUnit } from './models/PatchedUnit';
|
|
497
|
+
export type { PatchedUserGroup } from './models/PatchedUserGroup';
|
|
494
498
|
export type { PatchedWebexConfig } from './models/PatchedWebexConfig';
|
|
495
499
|
export type { PatchedWhatsappConfig } from './models/PatchedWhatsappConfig';
|
|
496
500
|
export type { PatchedWhatsappUserConfig } from './models/PatchedWhatsappUserConfig';
|
|
@@ -621,7 +625,6 @@ export type { PromptFacet } from './models/PromptFacet';
|
|
|
621
625
|
export type { PromptSearchResponse } from './models/PromptSearchResponse';
|
|
622
626
|
export { PromptVisibilityEnum } from './models/PromptVisibilityEnum';
|
|
623
627
|
export { Provider05cEnum } from './models/Provider05cEnum';
|
|
624
|
-
export { Provider637Enum } from './models/Provider637Enum';
|
|
625
628
|
export { Provider63aEnum } from './models/Provider63aEnum';
|
|
626
629
|
export type { ProviderBreakdown } from './models/ProviderBreakdown';
|
|
627
630
|
export type { QuestionCardTag } from './models/QuestionCardTag';
|
|
@@ -830,6 +833,7 @@ export type { UserDeleteAPIRequest } from './models/UserDeleteAPIRequest';
|
|
|
830
833
|
export type { UserDeleteAPIResponse } from './models/UserDeleteAPIResponse';
|
|
831
834
|
export type { UserDetail } from './models/UserDetail';
|
|
832
835
|
export type { UserEdxMemory } from './models/UserEdxMemory';
|
|
836
|
+
export type { UserGroup } from './models/UserGroup';
|
|
833
837
|
export type { UserGroupAccess } from './models/UserGroupAccess';
|
|
834
838
|
export type { UserGroupAccessInfo } from './models/UserGroupAccessInfo';
|
|
835
839
|
export type { UserInfo } from './models/UserInfo';
|
|
@@ -894,6 +898,7 @@ export type { VideosSpecificCourse } from './models/VideosSpecificCourse';
|
|
|
894
898
|
export type { VideosSpecificCourseData } from './models/VideosSpecificCourseData';
|
|
895
899
|
export type { VideosWatchedSubSection } from './models/VideosWatchedSubSection';
|
|
896
900
|
export type { Voice } from './models/Voice';
|
|
901
|
+
export { VoiceProviderEnum } from './models/VoiceProviderEnum';
|
|
897
902
|
export type { WatchedVideosPerCourse } from './models/WatchedVideosPerCourse';
|
|
898
903
|
export type { WatchedVideosPerCourseData } from './models/WatchedVideosPerCourseData';
|
|
899
904
|
export type { WatchedVideosPerUser } from './models/WatchedVideosPerUser';
|
|
@@ -9,9 +9,9 @@ export type AccessibleMentorsByEmailRequest = {
|
|
|
9
9
|
/**
|
|
10
10
|
* The user email to check mentor access for
|
|
11
11
|
*/
|
|
12
|
-
email
|
|
12
|
+
email?: string;
|
|
13
13
|
/**
|
|
14
|
-
* If true, return all mentors in the platform. If false (default), return only mentors owned by the user's email.
|
|
14
|
+
* If true, return all mentors in the platform (ignoring email if present). If false (default), return only mentors owned by the user's email.
|
|
15
15
|
*/
|
|
16
16
|
all_mentors?: boolean;
|
|
17
17
|
};
|
|
@@ -11,8 +11,8 @@ export type AccessibleMentorsByEmailResponse = {
|
|
|
11
11
|
*/
|
|
12
12
|
readonly mentors: Array<string>;
|
|
13
13
|
/**
|
|
14
|
-
* The user ID that mentors belong to
|
|
14
|
+
* The user ID that mentors belong to when all_mentors is False
|
|
15
15
|
*/
|
|
16
|
-
readonly user_id: number;
|
|
16
|
+
readonly user_id: number | null;
|
|
17
17
|
};
|
|
18
18
|
|
package/src/models/Artifact.ts
CHANGED
|
@@ -33,14 +33,13 @@ export type Artifact = {
|
|
|
33
33
|
*/
|
|
34
34
|
title: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Content of the artifact
|
|
37
37
|
*/
|
|
38
|
-
content: string;
|
|
38
|
+
readonly content: string;
|
|
39
39
|
/**
|
|
40
40
|
* The extension of the file for the artifact. eg. `py`, `md`, `html`, `json`, `csv`, etc
|
|
41
41
|
*/
|
|
42
42
|
readonly file_extension: string;
|
|
43
|
-
readonly chat_message: number;
|
|
44
43
|
readonly llm_name: string;
|
|
45
44
|
readonly llm_provider: string;
|
|
46
45
|
readonly date_created: string;
|
|
@@ -53,10 +52,7 @@ export type Artifact = {
|
|
|
53
52
|
* Username of the student who owns this artifact
|
|
54
53
|
*/
|
|
55
54
|
readonly username: string;
|
|
56
|
-
|
|
57
|
-
* UUID of the session that generated this artifact
|
|
58
|
-
*/
|
|
59
|
-
readonly session_id: string;
|
|
55
|
+
readonly session_id: string | null;
|
|
60
56
|
/**
|
|
61
57
|
* Version number of the current version
|
|
62
58
|
*/
|
|
@@ -38,10 +38,7 @@ export type ArtifactList = {
|
|
|
38
38
|
* Username of the student who owns this artifact
|
|
39
39
|
*/
|
|
40
40
|
readonly username: string;
|
|
41
|
-
|
|
42
|
-
* UUID of the session that generated this artifact
|
|
43
|
-
*/
|
|
44
|
-
readonly session_id: string;
|
|
41
|
+
readonly session_id: string | null;
|
|
45
42
|
/**
|
|
46
43
|
* Length of the artifact content in characters
|
|
47
44
|
*/
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { Artifact } from './Artifact';
|
|
5
6
|
/**
|
|
6
7
|
* Serializer for ArtifactVersion model.
|
|
7
8
|
*
|
|
@@ -9,18 +10,28 @@
|
|
|
9
10
|
*/
|
|
10
11
|
export type ArtifactVersion = {
|
|
11
12
|
readonly id: number;
|
|
13
|
+
artifact: Artifact;
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
15
|
+
* Get the title of the artifact version.
|
|
14
16
|
*/
|
|
15
|
-
readonly
|
|
17
|
+
readonly title: string;
|
|
16
18
|
/**
|
|
17
19
|
* The markdown-styled content of this artifact version
|
|
18
20
|
*/
|
|
19
21
|
content: string;
|
|
22
|
+
/**
|
|
23
|
+
* UUID of the session that generated this artifact version
|
|
24
|
+
*/
|
|
25
|
+
readonly session_id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Length of the version content in characters
|
|
28
|
+
*/
|
|
29
|
+
readonly content_length: number;
|
|
20
30
|
/**
|
|
21
31
|
* Whether this version is the current/active version
|
|
22
32
|
*/
|
|
23
33
|
readonly is_current: boolean;
|
|
34
|
+
readonly chat_message: number | null;
|
|
24
35
|
/**
|
|
25
36
|
* Sequential version number for display purposes
|
|
26
37
|
*/
|
|
@@ -14,6 +14,10 @@ export type CallConfiguration = {
|
|
|
14
14
|
tts_provider?: TtsProviderEnum;
|
|
15
15
|
stt_provider?: SttProviderEnum;
|
|
16
16
|
llm_provider?: LlmProviderEnum;
|
|
17
|
+
/**
|
|
18
|
+
* Language code for TTS, STT, and LLM (e.g., 'en', 'en-US', 'es', 'fr'). Defaults to 'en' (English).
|
|
19
|
+
*/
|
|
20
|
+
language?: string;
|
|
17
21
|
/**
|
|
18
22
|
* Whether to use function calls in the agent or force RAG calls before LLM generation
|
|
19
23
|
*/
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { ArtifactVersion } from './ArtifactVersion';
|
|
5
6
|
export type ChatHistory = {
|
|
6
7
|
readonly id: number;
|
|
7
8
|
readonly message: any;
|
|
@@ -10,5 +11,6 @@ export type ChatHistory = {
|
|
|
10
11
|
readonly feedback: any;
|
|
11
12
|
document_sources?: any;
|
|
12
13
|
readonly files: any;
|
|
14
|
+
artifact_versions: Array<ArtifactVersion>;
|
|
13
15
|
};
|
|
14
16
|
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { Artifact } from './Artifact';
|
|
5
6
|
import type { ToolResponse } from './ToolResponse';
|
|
6
7
|
export type ChatSessionResponse = {
|
|
7
8
|
session_id: string;
|
|
8
9
|
tools: Array<ToolResponse>;
|
|
9
10
|
enable_artifacts?: boolean;
|
|
11
|
+
artifacts: Array<Artifact>;
|
|
10
12
|
};
|
|
11
13
|
|
|
@@ -26,6 +26,7 @@ export type Conversations = {
|
|
|
26
26
|
has_document?: boolean;
|
|
27
27
|
memory_tracked?: boolean;
|
|
28
28
|
enable_artifacts?: boolean;
|
|
29
|
+
is_shared?: boolean;
|
|
29
30
|
llm_name?: string | null;
|
|
30
31
|
llm_provider?: string | null;
|
|
31
32
|
metadata?: any;
|
|
@@ -33,6 +34,14 @@ export type Conversations = {
|
|
|
33
34
|
* True if the session has both user and AI messages
|
|
34
35
|
*/
|
|
35
36
|
is_conversation?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Count of human messages in this session
|
|
39
|
+
*/
|
|
40
|
+
message_count_human?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Count of AI messages in this session
|
|
43
|
+
*/
|
|
44
|
+
message_count_ai?: number;
|
|
36
45
|
tools?: Array<number>;
|
|
37
46
|
};
|
|
38
47
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type GoogleAgentDetail = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
readonly sub_agents: string;
|
|
8
|
+
readonly platform: string;
|
|
9
|
+
unique_id?: string;
|
|
10
|
+
model: string;
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
instruction: string;
|
|
14
|
+
output_key?: string | null;
|
|
15
|
+
readonly inserted_at: string;
|
|
16
|
+
readonly updated_at: string;
|
|
17
|
+
/**
|
|
18
|
+
* edX user ID
|
|
19
|
+
*/
|
|
20
|
+
created_by?: number | null;
|
|
21
|
+
};
|
|
22
|
+
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type {
|
|
6
|
-
export type
|
|
5
|
+
import type { ArtifactVersion } from './ArtifactVersion';
|
|
6
|
+
export type PaginatedArtifactVersionList = {
|
|
7
7
|
count: number;
|
|
8
8
|
next?: string | null;
|
|
9
9
|
previous?: string | null;
|
|
10
|
-
results: Array<
|
|
10
|
+
results: Array<ArtifactVersion>;
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { GoogleAgentDetail } from './GoogleAgentDetail';
|
|
6
|
+
export type PaginatedGoogleAgentDetailList = {
|
|
7
|
+
count: number;
|
|
8
|
+
next?: string | null;
|
|
9
|
+
previous?: string | null;
|
|
10
|
+
results: Array<GoogleAgentDetail>;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { UserGroup } from './UserGroup';
|
|
6
|
+
export type PaginatedUserGroupList = {
|
|
7
|
+
count: number;
|
|
8
|
+
next?: string | null;
|
|
9
|
+
previous?: string | null;
|
|
10
|
+
results: Array<UserGroup>;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -33,14 +33,13 @@ export type PatchedArtifact = {
|
|
|
33
33
|
*/
|
|
34
34
|
title?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Content of the artifact
|
|
37
37
|
*/
|
|
38
|
-
content?: string;
|
|
38
|
+
readonly content?: string;
|
|
39
39
|
/**
|
|
40
40
|
* The extension of the file for the artifact. eg. `py`, `md`, `html`, `json`, `csv`, etc
|
|
41
41
|
*/
|
|
42
42
|
readonly file_extension?: string;
|
|
43
|
-
readonly chat_message?: number;
|
|
44
43
|
readonly llm_name?: string;
|
|
45
44
|
readonly llm_provider?: string;
|
|
46
45
|
readonly date_created?: string;
|
|
@@ -53,10 +52,7 @@ export type PatchedArtifact = {
|
|
|
53
52
|
* Username of the student who owns this artifact
|
|
54
53
|
*/
|
|
55
54
|
readonly username?: string;
|
|
56
|
-
|
|
57
|
-
* UUID of the session that generated this artifact
|
|
58
|
-
*/
|
|
59
|
-
readonly session_id?: string;
|
|
55
|
+
readonly session_id?: string | null;
|
|
60
56
|
/**
|
|
61
57
|
* Version number of the current version
|
|
62
58
|
*/
|
|
@@ -14,6 +14,10 @@ export type PatchedCallConfiguration = {
|
|
|
14
14
|
tts_provider?: TtsProviderEnum;
|
|
15
15
|
stt_provider?: SttProviderEnum;
|
|
16
16
|
llm_provider?: LlmProviderEnum;
|
|
17
|
+
/**
|
|
18
|
+
* Language code for TTS, STT, and LLM (e.g., 'en', 'en-US', 'es', 'fr'). Defaults to 'en' (English).
|
|
19
|
+
*/
|
|
20
|
+
language?: string;
|
|
17
21
|
/**
|
|
18
22
|
* Whether to use function calls in the agent or force RAG calls before LLM generation
|
|
19
23
|
*/
|
|
@@ -26,6 +26,7 @@ export type PatchedConversations = {
|
|
|
26
26
|
has_document?: boolean;
|
|
27
27
|
memory_tracked?: boolean;
|
|
28
28
|
enable_artifacts?: boolean;
|
|
29
|
+
is_shared?: boolean;
|
|
29
30
|
llm_name?: string | null;
|
|
30
31
|
llm_provider?: string | null;
|
|
31
32
|
metadata?: any;
|
|
@@ -33,6 +34,14 @@ export type PatchedConversations = {
|
|
|
33
34
|
* True if the session has both user and AI messages
|
|
34
35
|
*/
|
|
35
36
|
is_conversation?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Count of human messages in this session
|
|
39
|
+
*/
|
|
40
|
+
message_count_human?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Count of AI messages in this session
|
|
43
|
+
*/
|
|
44
|
+
message_count_ai?: number;
|
|
36
45
|
tools?: Array<number>;
|
|
37
46
|
};
|
|
38
47
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PatchedGoogleAgentDetail = {
|
|
6
|
+
readonly id?: number;
|
|
7
|
+
readonly sub_agents?: string;
|
|
8
|
+
readonly platform?: string;
|
|
9
|
+
unique_id?: string;
|
|
10
|
+
model?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
instruction?: string;
|
|
14
|
+
output_key?: string | null;
|
|
15
|
+
readonly inserted_at?: string;
|
|
16
|
+
readonly updated_at?: string;
|
|
17
|
+
/**
|
|
18
|
+
* edX user ID
|
|
19
|
+
*/
|
|
20
|
+
created_by?: number | null;
|
|
21
|
+
};
|
|
22
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { RbacPlatform } from './RbacPlatform';
|
|
6
|
+
import type { RbacUser } from './RbacUser';
|
|
7
|
+
/**
|
|
8
|
+
* Serializer for UserGroups.
|
|
9
|
+
*/
|
|
10
|
+
export type PatchedUserGroup = {
|
|
11
|
+
readonly id?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Group display name
|
|
14
|
+
*/
|
|
15
|
+
name?: string | null;
|
|
16
|
+
readonly platform?: RbacPlatform;
|
|
17
|
+
/**
|
|
18
|
+
* The platform key
|
|
19
|
+
*/
|
|
20
|
+
platform_key?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Group description
|
|
23
|
+
*/
|
|
24
|
+
description?: string | null;
|
|
25
|
+
readonly owner?: RbacUser;
|
|
26
|
+
/**
|
|
27
|
+
* List of user IDs to set in this group (replaces all existing users)
|
|
28
|
+
*/
|
|
29
|
+
users_to_set?: Array<number>;
|
|
30
|
+
};
|
|
31
|
+
|
|
@@ -7,10 +7,12 @@
|
|
|
7
7
|
* * `google` - Google
|
|
8
8
|
* * `deepgram` - Deepgram
|
|
9
9
|
* * `cartesia` - Cartesia
|
|
10
|
+
* * `azure_openai` - Azure Openai
|
|
10
11
|
*/
|
|
11
12
|
export enum SttProviderEnum {
|
|
12
13
|
OPENAI = 'openai',
|
|
13
14
|
GOOGLE = 'google',
|
|
14
15
|
DEEPGRAM = 'deepgram',
|
|
15
16
|
CARTESIA = 'cartesia',
|
|
17
|
+
AZURE_OPENAI = 'azure_openai',
|
|
16
18
|
}
|
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
* * `openai` - Openai
|
|
7
7
|
* * `google` - Google
|
|
8
8
|
* * `elevenlabs` - Elevenlabs
|
|
9
|
+
* * `azure_openai` - Azure Openai
|
|
9
10
|
*/
|
|
10
11
|
export enum TtsProviderEnum {
|
|
11
12
|
OPENAI = 'openai',
|
|
12
13
|
GOOGLE = 'google',
|
|
13
14
|
ELEVENLABS = 'elevenlabs',
|
|
15
|
+
AZURE_OPENAI = 'azure_openai',
|
|
14
16
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { RbacPlatform } from './RbacPlatform';
|
|
6
|
+
import type { RbacUser } from './RbacUser';
|
|
7
|
+
/**
|
|
8
|
+
* Serializer for UserGroups.
|
|
9
|
+
*/
|
|
10
|
+
export type UserGroup = {
|
|
11
|
+
readonly id: number;
|
|
12
|
+
/**
|
|
13
|
+
* Group display name
|
|
14
|
+
*/
|
|
15
|
+
name: string | null;
|
|
16
|
+
readonly platform: RbacPlatform;
|
|
17
|
+
/**
|
|
18
|
+
* The platform key
|
|
19
|
+
*/
|
|
20
|
+
platform_key: string;
|
|
21
|
+
/**
|
|
22
|
+
* Group description
|
|
23
|
+
*/
|
|
24
|
+
description?: string | null;
|
|
25
|
+
readonly owner: RbacUser;
|
|
26
|
+
/**
|
|
27
|
+
* List of user IDs to set in this group (replaces all existing users)
|
|
28
|
+
*/
|
|
29
|
+
users_to_set?: Array<number>;
|
|
30
|
+
};
|
|
31
|
+
|
package/src/models/UserMemory.ts
CHANGED
package/src/models/Voice.ts
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type {
|
|
5
|
+
import type { VoiceProviderEnum } from './VoiceProviderEnum';
|
|
6
6
|
export type Voice = {
|
|
7
7
|
readonly id: number;
|
|
8
8
|
name: string;
|
|
9
|
-
provider:
|
|
9
|
+
provider: VoiceProviderEnum;
|
|
10
10
|
language?: string;
|
|
11
11
|
description?: string;
|
|
12
12
|
readonly audio_url: string;
|