@iblai/iblai-api 3.48.5-ai-plus → 3.49.0-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +638 -1729
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +639 -1728
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +638 -1729
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +8 -41
- package/dist/types/models/CallConfiguration.d.ts +26 -0
- package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
- package/dist/types/models/LlmProviderEnum.d.ts +8 -0
- package/dist/types/models/Mentor.d.ts +2 -0
- package/dist/types/models/MentorSettings.d.ts +2 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +26 -0
- package/dist/types/models/{VoiceProviderEnum.d.ts → ProviderEnum.d.ts} +1 -1
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
- package/dist/types/models/{ModeEnum.d.ts → StripeCheckoutSessionRequestModeEnum.d.ts} +1 -1
- package/dist/types/models/SttProviderEnum.d.ts +12 -0
- package/dist/types/models/TtsProviderEnum.d.ts +10 -0
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/services/AiMentorService.d.ts +193 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +8 -41
- package/src/models/CallConfiguration.ts +31 -0
- package/src/models/CallConfigurationModeEnum.ts +12 -0
- package/src/models/{Provider63aEnum.ts → LlmProviderEnum.ts} +3 -1
- package/src/models/Mentor.ts +2 -0
- package/src/models/MentorSettings.ts +2 -0
- package/src/models/PatchedCallConfiguration.ts +31 -0
- package/src/models/{VoiceProviderEnum.ts → ProviderEnum.ts} +1 -1
- package/src/models/StripeCheckoutSessionRequest.ts +2 -2
- package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
- package/src/models/SttProviderEnum.ts +16 -0
- package/src/models/TtsProviderEnum.ts +14 -0
- package/src/models/Voice.ts +2 -2
- package/src/services/AiMentorService.ts +286 -0
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DiscordConfig.d.ts +0 -7
- package/dist/types/models/DiscordUserConfig.d.ts +0 -10
- package/dist/types/models/DiscordWebhook.d.ts +0 -6
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/Provider05cEnum.d.ts +0 -14
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiBotService.d.ts +0 -642
- package/dist/types/services/AiFinetuningService.d.ts +0 -232
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- package/src/models/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DiscordConfig.ts +0 -12
- package/src/models/DiscordUserConfig.ts +0 -15
- package/src/models/DiscordWebhook.ts +0 -11
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiBotService.ts +0 -1330
- package/src/services/AiFinetuningService.ts +0 -472
|
@@ -6,6 +6,7 @@ import type { AudioToTextRequest } from '../models/AudioToTextRequest';
|
|
|
6
6
|
import type { AudioToTextResponse } from '../models/AudioToTextResponse';
|
|
7
7
|
import type { CallAuthenticationRequest } from '../models/CallAuthenticationRequest';
|
|
8
8
|
import type { CallAuthenticationResponse } from '../models/CallAuthenticationResponse';
|
|
9
|
+
import type { CallConfiguration } from '../models/CallConfiguration';
|
|
9
10
|
import type { ChatHistoryItem } from '../models/ChatHistoryItem';
|
|
10
11
|
import type { ChatHistorySessionId } from '../models/ChatHistorySessionId';
|
|
11
12
|
import type { ChatSessionRequest } from '../models/ChatSessionRequest';
|
|
@@ -73,6 +74,7 @@ import type { PaginatedSubSectionList } from '../models/PaginatedSubSectionList'
|
|
|
73
74
|
import type { PaginatedUnitList } from '../models/PaginatedUnitList';
|
|
74
75
|
import type { PaginatedUserEdxMemoryList } from '../models/PaginatedUserEdxMemoryList';
|
|
75
76
|
import type { PaginatedVoiceList } from '../models/PaginatedVoiceList';
|
|
77
|
+
import type { PatchedCallConfiguration } from '../models/PatchedCallConfiguration';
|
|
76
78
|
import type { PatchedCourseCreationTaskFile } from '../models/PatchedCourseCreationTaskFile';
|
|
77
79
|
import type { PatchedMCPServer } from '../models/PatchedMCPServer';
|
|
78
80
|
import type { PatchedMentorCategoryGroupCreate } from '../models/PatchedMentorCategoryGroupCreate';
|
|
@@ -765,6 +767,197 @@ export declare class AiMentorService {
|
|
|
765
767
|
static aiMentorOrgsUsersAvailableTemplateMentorsRetrieve({ org, userId, }: {
|
|
766
768
|
org: string;
|
|
767
769
|
}): CancelablePromise<TemplateMentor>;
|
|
770
|
+
/**
|
|
771
|
+
* API ViewSet for managing call configurations.
|
|
772
|
+
*
|
|
773
|
+
* This ViewSet provides endpoints to retrieve, create, and update call configurations
|
|
774
|
+
* for mentors. Call configurations define how voice calls are handled for a mentor.
|
|
775
|
+
*
|
|
776
|
+
* Permissions:
|
|
777
|
+
* - Accessible only to platform admins.
|
|
778
|
+
*
|
|
779
|
+
* Endpoints:
|
|
780
|
+
* GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
781
|
+
* - List all call configurations for a specific mentor
|
|
782
|
+
* - Returns paginated list of call configurations
|
|
783
|
+
*
|
|
784
|
+
* POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
785
|
+
* - Create a new call configuration for a mentor
|
|
786
|
+
* - Requires call configuration data in request body
|
|
787
|
+
*
|
|
788
|
+
* PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
|
|
789
|
+
* - Update an existing call configuration
|
|
790
|
+
* - Requires call configuration data in request body
|
|
791
|
+
*
|
|
792
|
+
* Query Parameters:
|
|
793
|
+
* - mentor: Filter configurations by mentor ID
|
|
794
|
+
*
|
|
795
|
+
* Returns:
|
|
796
|
+
* - CallConfigurationSerializer data
|
|
797
|
+
* @returns CallConfiguration
|
|
798
|
+
* @throws ApiError
|
|
799
|
+
*/
|
|
800
|
+
static aiMentorOrgsUsersCallConfigurationsList({ org, userId, mentor, mode, ordering, search, }: {
|
|
801
|
+
org: string;
|
|
802
|
+
mentor?: number; /**
|
|
803
|
+
* * `realtime` - Realtime
|
|
804
|
+
* * `inference` - Inference
|
|
805
|
+
*/
|
|
806
|
+
mode?: 'inference' | 'realtime'; /**
|
|
807
|
+
* Which field to use when ordering the results.
|
|
808
|
+
*/
|
|
809
|
+
ordering?: string; /**
|
|
810
|
+
* A search term.
|
|
811
|
+
*/
|
|
812
|
+
search?: string;
|
|
813
|
+
}): CancelablePromise<Array<CallConfiguration>>;
|
|
814
|
+
/**
|
|
815
|
+
* API ViewSet for managing call configurations.
|
|
816
|
+
*
|
|
817
|
+
* This ViewSet provides endpoints to retrieve, create, and update call configurations
|
|
818
|
+
* for mentors. Call configurations define how voice calls are handled for a mentor.
|
|
819
|
+
*
|
|
820
|
+
* Permissions:
|
|
821
|
+
* - Accessible only to platform admins.
|
|
822
|
+
*
|
|
823
|
+
* Endpoints:
|
|
824
|
+
* GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
825
|
+
* - List all call configurations for a specific mentor
|
|
826
|
+
* - Returns paginated list of call configurations
|
|
827
|
+
*
|
|
828
|
+
* POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
829
|
+
* - Create a new call configuration for a mentor
|
|
830
|
+
* - Requires call configuration data in request body
|
|
831
|
+
*
|
|
832
|
+
* PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
|
|
833
|
+
* - Update an existing call configuration
|
|
834
|
+
* - Requires call configuration data in request body
|
|
835
|
+
*
|
|
836
|
+
* Query Parameters:
|
|
837
|
+
* - mentor: Filter configurations by mentor ID
|
|
838
|
+
*
|
|
839
|
+
* Returns:
|
|
840
|
+
* - CallConfigurationSerializer data
|
|
841
|
+
* @returns CallConfiguration
|
|
842
|
+
* @throws ApiError
|
|
843
|
+
*/
|
|
844
|
+
static aiMentorOrgsUsersCallConfigurationsCreate({ org, userId, requestBody, }: {
|
|
845
|
+
org: string;
|
|
846
|
+
requestBody: CallConfiguration;
|
|
847
|
+
}): CancelablePromise<CallConfiguration>;
|
|
848
|
+
/**
|
|
849
|
+
* API ViewSet for managing call configurations.
|
|
850
|
+
*
|
|
851
|
+
* This ViewSet provides endpoints to retrieve, create, and update call configurations
|
|
852
|
+
* for mentors. Call configurations define how voice calls are handled for a mentor.
|
|
853
|
+
*
|
|
854
|
+
* Permissions:
|
|
855
|
+
* - Accessible only to platform admins.
|
|
856
|
+
*
|
|
857
|
+
* Endpoints:
|
|
858
|
+
* GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
859
|
+
* - List all call configurations for a specific mentor
|
|
860
|
+
* - Returns paginated list of call configurations
|
|
861
|
+
*
|
|
862
|
+
* POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
863
|
+
* - Create a new call configuration for a mentor
|
|
864
|
+
* - Requires call configuration data in request body
|
|
865
|
+
*
|
|
866
|
+
* PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
|
|
867
|
+
* - Update an existing call configuration
|
|
868
|
+
* - Requires call configuration data in request body
|
|
869
|
+
*
|
|
870
|
+
* Query Parameters:
|
|
871
|
+
* - mentor: Filter configurations by mentor ID
|
|
872
|
+
*
|
|
873
|
+
* Returns:
|
|
874
|
+
* - CallConfigurationSerializer data
|
|
875
|
+
* @returns CallConfiguration
|
|
876
|
+
* @throws ApiError
|
|
877
|
+
*/
|
|
878
|
+
static aiMentorOrgsUsersCallConfigurationsRetrieve({ id, org, userId, }: {
|
|
879
|
+
/**
|
|
880
|
+
* A unique integer value identifying this call configuration.
|
|
881
|
+
*/
|
|
882
|
+
id: number;
|
|
883
|
+
org: string;
|
|
884
|
+
}): CancelablePromise<CallConfiguration>;
|
|
885
|
+
/**
|
|
886
|
+
* API ViewSet for managing call configurations.
|
|
887
|
+
*
|
|
888
|
+
* This ViewSet provides endpoints to retrieve, create, and update call configurations
|
|
889
|
+
* for mentors. Call configurations define how voice calls are handled for a mentor.
|
|
890
|
+
*
|
|
891
|
+
* Permissions:
|
|
892
|
+
* - Accessible only to platform admins.
|
|
893
|
+
*
|
|
894
|
+
* Endpoints:
|
|
895
|
+
* GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
896
|
+
* - List all call configurations for a specific mentor
|
|
897
|
+
* - Returns paginated list of call configurations
|
|
898
|
+
*
|
|
899
|
+
* POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
900
|
+
* - Create a new call configuration for a mentor
|
|
901
|
+
* - Requires call configuration data in request body
|
|
902
|
+
*
|
|
903
|
+
* PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
|
|
904
|
+
* - Update an existing call configuration
|
|
905
|
+
* - Requires call configuration data in request body
|
|
906
|
+
*
|
|
907
|
+
* Query Parameters:
|
|
908
|
+
* - mentor: Filter configurations by mentor ID
|
|
909
|
+
*
|
|
910
|
+
* Returns:
|
|
911
|
+
* - CallConfigurationSerializer data
|
|
912
|
+
* @returns CallConfiguration
|
|
913
|
+
* @throws ApiError
|
|
914
|
+
*/
|
|
915
|
+
static aiMentorOrgsUsersCallConfigurationsUpdate({ id, org, userId, requestBody, }: {
|
|
916
|
+
/**
|
|
917
|
+
* A unique integer value identifying this call configuration.
|
|
918
|
+
*/
|
|
919
|
+
id: number;
|
|
920
|
+
org: string;
|
|
921
|
+
requestBody: CallConfiguration;
|
|
922
|
+
}): CancelablePromise<CallConfiguration>;
|
|
923
|
+
/**
|
|
924
|
+
* API ViewSet for managing call configurations.
|
|
925
|
+
*
|
|
926
|
+
* This ViewSet provides endpoints to retrieve, create, and update call configurations
|
|
927
|
+
* for mentors. Call configurations define how voice calls are handled for a mentor.
|
|
928
|
+
*
|
|
929
|
+
* Permissions:
|
|
930
|
+
* - Accessible only to platform admins.
|
|
931
|
+
*
|
|
932
|
+
* Endpoints:
|
|
933
|
+
* GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
934
|
+
* - List all call configurations for a specific mentor
|
|
935
|
+
* - Returns paginated list of call configurations
|
|
936
|
+
*
|
|
937
|
+
* POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
|
|
938
|
+
* - Create a new call configuration for a mentor
|
|
939
|
+
* - Requires call configuration data in request body
|
|
940
|
+
*
|
|
941
|
+
* PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
|
|
942
|
+
* - Update an existing call configuration
|
|
943
|
+
* - Requires call configuration data in request body
|
|
944
|
+
*
|
|
945
|
+
* Query Parameters:
|
|
946
|
+
* - mentor: Filter configurations by mentor ID
|
|
947
|
+
*
|
|
948
|
+
* Returns:
|
|
949
|
+
* - CallConfigurationSerializer data
|
|
950
|
+
* @returns CallConfiguration
|
|
951
|
+
* @throws ApiError
|
|
952
|
+
*/
|
|
953
|
+
static aiMentorOrgsUsersCallConfigurationsPartialUpdate({ id, org, userId, requestBody, }: {
|
|
954
|
+
/**
|
|
955
|
+
* A unique integer value identifying this call configuration.
|
|
956
|
+
*/
|
|
957
|
+
id: number;
|
|
958
|
+
org: string;
|
|
959
|
+
requestBody?: PatchedCallConfiguration;
|
|
960
|
+
}): CancelablePromise<CallConfiguration>;
|
|
768
961
|
/**
|
|
769
962
|
* Retrieve a list of Mentor Category Groups.
|
|
770
963
|
* @returns MentorCategoryGroup
|
package/package.json
CHANGED
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -48,9 +48,6 @@ export { BlankEnum } from './models/BlankEnum';
|
|
|
48
48
|
export type { BlankPlatformInvitationCreate } from './models/BlankPlatformInvitationCreate';
|
|
49
49
|
export type { BlankProgramInvitationCreate } from './models/BlankProgramInvitationCreate';
|
|
50
50
|
export type { BlockSkillPointInfoRequest } from './models/BlockSkillPointInfoRequest';
|
|
51
|
-
export type { Bot } from './models/Bot';
|
|
52
|
-
export type { BotCommand } from './models/BotCommand';
|
|
53
|
-
export type { BotCreate } from './models/BotCreate';
|
|
54
51
|
export type { BulkCourseInvitationCreate } from './models/BulkCourseInvitationCreate';
|
|
55
52
|
export type { BulkCourseInvitationResponse } from './models/BulkCourseInvitationResponse';
|
|
56
53
|
export type { BulkCreateAssertion } from './models/BulkCreateAssertion';
|
|
@@ -61,6 +58,8 @@ export type { BulkProgramInvitationResponse } from './models/BulkProgramInvitati
|
|
|
61
58
|
export type { BulkSuggestionResponse } from './models/BulkSuggestionResponse';
|
|
62
59
|
export type { CallAuthenticationRequest } from './models/CallAuthenticationRequest';
|
|
63
60
|
export type { CallAuthenticationResponse } from './models/CallAuthenticationResponse';
|
|
61
|
+
export type { CallConfiguration } from './models/CallConfiguration';
|
|
62
|
+
export { CallConfigurationModeEnum } from './models/CallConfigurationModeEnum';
|
|
64
63
|
export type { CampaignEnablement } from './models/CampaignEnablement';
|
|
65
64
|
export type { CampaignExclusion } from './models/CampaignExclusion';
|
|
66
65
|
export type { CatalogAutoIncrementResponse } from './models/CatalogAutoIncrementResponse';
|
|
@@ -140,9 +139,6 @@ export type { Credential } from './models/Credential';
|
|
|
140
139
|
export type { CredentialRequest } from './models/CredentialRequest';
|
|
141
140
|
export type { CrontabSchedule } from './models/CrontabSchedule';
|
|
142
141
|
export type { CustomInstructionResponse } from './models/CustomInstructionResponse';
|
|
143
|
-
export type { DataSet } from './models/DataSet';
|
|
144
|
-
export type { DataSetCreate } from './models/DataSetCreate';
|
|
145
|
-
export { DataSetStatusEnum } from './models/DataSetStatusEnum';
|
|
146
142
|
export type { DateRange } from './models/DateRange';
|
|
147
143
|
export type { DesiredRole } from './models/DesiredRole';
|
|
148
144
|
export type { DesiredRoleCreateUpdateRequest } from './models/DesiredRoleCreateUpdateRequest';
|
|
@@ -151,9 +147,6 @@ export type { DesiredSkillCreateUpdateRequest } from './models/DesiredSkillCreat
|
|
|
151
147
|
export type { DetailedGradeSubsection } from './models/DetailedGradeSubsection';
|
|
152
148
|
export type { DetailedGradeView } from './models/DetailedGradeView';
|
|
153
149
|
export type { DetailedGradeViewData } from './models/DetailedGradeViewData';
|
|
154
|
-
export type { DiscordConfig } from './models/DiscordConfig';
|
|
155
|
-
export type { DiscordUserConfig } from './models/DiscordUserConfig';
|
|
156
|
-
export type { DiscordWebhook } from './models/DiscordWebhook';
|
|
157
150
|
export type { Document } from './models/Document';
|
|
158
151
|
export type { DocumentFacet } from './models/DocumentFacet';
|
|
159
152
|
export type { DocumentSearchResponse } from './models/DocumentSearchResponse';
|
|
@@ -217,6 +210,7 @@ export type { LinkCourseResponse } from './models/LinkCourseResponse';
|
|
|
217
210
|
export type { LLMCredentialRequest } from './models/LLMCredentialRequest';
|
|
218
211
|
export type { LLMCredentialResponse } from './models/LLMCredentialResponse';
|
|
219
212
|
export type { LLMModelForTenant } from './models/LLMModelForTenant';
|
|
213
|
+
export { LlmProviderEnum } from './models/LlmProviderEnum';
|
|
220
214
|
export type { LLMQuestion } from './models/LLMQuestion';
|
|
221
215
|
export type { LLMResponse } from './models/LLMResponse';
|
|
222
216
|
export type { LLMTracesListResponse } from './models/LLMTracesListResponse';
|
|
@@ -274,7 +268,6 @@ export type { MessageViewRequest } from './models/MessageViewRequest';
|
|
|
274
268
|
export type { MessageViewUpdatResponse } from './models/MessageViewUpdatResponse';
|
|
275
269
|
export type { Metadata } from './models/Metadata';
|
|
276
270
|
export type { MetricChange } from './models/MetricChange';
|
|
277
|
-
export { ModeEnum } from './models/ModeEnum';
|
|
278
271
|
export type { ModelCost } from './models/ModelCost';
|
|
279
272
|
export type { ModerationLog } from './models/ModerationLog';
|
|
280
273
|
export type { NetRevenueOverTime } from './models/NetRevenueOverTime';
|
|
@@ -307,7 +300,6 @@ export type { PaginatedCourseLicense } from './models/PaginatedCourseLicense';
|
|
|
307
300
|
export type { PaginatedCourseLicenseAssignment } from './models/PaginatedCourseLicenseAssignment';
|
|
308
301
|
export type { PaginatedCourseLicenseGroupAssignment } from './models/PaginatedCourseLicenseGroupAssignment';
|
|
309
302
|
export type { PaginatedCourseSuggestion } from './models/PaginatedCourseSuggestion';
|
|
310
|
-
export type { PaginatedDataSetList } from './models/PaginatedDataSetList';
|
|
311
303
|
export type { PaginatedEdxCourseList } from './models/PaginatedEdxCourseList';
|
|
312
304
|
export type { PaginatedEmailPromptListList } from './models/PaginatedEmailPromptListList';
|
|
313
305
|
export type { PaginatedHeygenMarketingVideoListList } from './models/PaginatedHeygenMarketingVideoListList';
|
|
@@ -338,7 +330,6 @@ export type { PaginatedSectionList } from './models/PaginatedSectionList';
|
|
|
338
330
|
export type { PaginatedSkill } from './models/PaginatedSkill';
|
|
339
331
|
export type { PaginatedSubSectionList } from './models/PaginatedSubSectionList';
|
|
340
332
|
export type { PaginatedTopicStatisticsResponse } from './models/PaginatedTopicStatisticsResponse';
|
|
341
|
-
export type { PaginatedTrainingList } from './models/PaginatedTrainingList';
|
|
342
333
|
export type { PaginatedUnitList } from './models/PaginatedUnitList';
|
|
343
334
|
export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
|
|
344
335
|
export type { PaginatedUserEdxMemoryList } from './models/PaginatedUserEdxMemoryList';
|
|
@@ -347,14 +338,10 @@ export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicen
|
|
|
347
338
|
export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUserLicenseGroupAssignment';
|
|
348
339
|
export type { PaginatedVoiceList } from './models/PaginatedVoiceList';
|
|
349
340
|
export type { Pagination } from './models/Pagination';
|
|
350
|
-
export type {
|
|
351
|
-
export type { PatchedBotCreate } from './models/PatchedBotCreate';
|
|
341
|
+
export type { PatchedCallConfiguration } from './models/PatchedCallConfiguration';
|
|
352
342
|
export type { PatchedConversations } from './models/PatchedConversations';
|
|
353
343
|
export type { PatchedCourseCreationTaskFile } from './models/PatchedCourseCreationTaskFile';
|
|
354
344
|
export type { PatchedCredentialRequest } from './models/PatchedCredentialRequest';
|
|
355
|
-
export type { PatchedDataSet } from './models/PatchedDataSet';
|
|
356
|
-
export type { PatchedDiscordConfig } from './models/PatchedDiscordConfig';
|
|
357
|
-
export type { PatchedDiscordUserConfig } from './models/PatchedDiscordUserConfig';
|
|
358
345
|
export type { PatchedLLMCredentialRequest } from './models/PatchedLLMCredentialRequest';
|
|
359
346
|
export type { PatchedMCPServer } from './models/PatchedMCPServer';
|
|
360
347
|
export type { PatchedMediaResource } from './models/PatchedMediaResource';
|
|
@@ -372,15 +359,8 @@ export type { PatchedRbacRole } from './models/PatchedRbacRole';
|
|
|
372
359
|
export type { PatchedRbacUserRole } from './models/PatchedRbacUserRole';
|
|
373
360
|
export type { PatchedSection } from './models/PatchedSection';
|
|
374
361
|
export type { PatchedSkillThreshold } from './models/PatchedSkillThreshold';
|
|
375
|
-
export type { PatchedSlackConfig } from './models/PatchedSlackConfig';
|
|
376
|
-
export type { PatchedSlackUserConfig } from './models/PatchedSlackUserConfig';
|
|
377
362
|
export type { PatchedSubSection } from './models/PatchedSubSection';
|
|
378
|
-
export type { PatchedTeamsConfig } from './models/PatchedTeamsConfig';
|
|
379
|
-
export type { PatchedTrainingCreate } from './models/PatchedTrainingCreate';
|
|
380
363
|
export type { PatchedUnit } from './models/PatchedUnit';
|
|
381
|
-
export type { PatchedWebexConfig } from './models/PatchedWebexConfig';
|
|
382
|
-
export type { PatchedWhatsappConfig } from './models/PatchedWhatsappConfig';
|
|
383
|
-
export type { PatchedWhatsappUserConfig } from './models/PatchedWhatsappUserConfig';
|
|
384
364
|
export type { Pathway } from './models/Pathway';
|
|
385
365
|
export type { PathwayCompletionResponse } from './models/PathwayCompletionResponse';
|
|
386
366
|
export type { PathwayCreateUpdateRequest } from './models/PathwayCreateUpdateRequest';
|
|
@@ -485,8 +465,7 @@ export type { PromptCategory } from './models/PromptCategory';
|
|
|
485
465
|
export type { PromptFacet } from './models/PromptFacet';
|
|
486
466
|
export type { PromptSearchResponse } from './models/PromptSearchResponse';
|
|
487
467
|
export { PromptVisibilityEnum } from './models/PromptVisibilityEnum';
|
|
488
|
-
export {
|
|
489
|
-
export { Provider63aEnum } from './models/Provider63aEnum';
|
|
468
|
+
export { ProviderEnum } from './models/ProviderEnum';
|
|
490
469
|
export type { QuestionCardTag } from './models/QuestionCardTag';
|
|
491
470
|
export type { QuestionRequest } from './models/QuestionRequest';
|
|
492
471
|
export type { QuestionResponse } from './models/QuestionResponse';
|
|
@@ -558,9 +537,6 @@ export type { SkillCreateUpdateRequest } from './models/SkillCreateUpdateRequest
|
|
|
558
537
|
export type { SkillDetail } from './models/SkillDetail';
|
|
559
538
|
export type { SkillInfo } from './models/SkillInfo';
|
|
560
539
|
export type { SkillThreshold } from './models/SkillThreshold';
|
|
561
|
-
export type { SlackConfig } from './models/SlackConfig';
|
|
562
|
-
export type { SlackUserConfig } from './models/SlackUserConfig';
|
|
563
|
-
export type { SlackWebhook } from './models/SlackWebhook';
|
|
564
540
|
export type { SpacedRepetitionLearningPath } from './models/SpacedRepetitionLearningPath';
|
|
565
541
|
export type { SpacedRepetitionQuestionStats } from './models/SpacedRepetitionQuestionStats';
|
|
566
542
|
export type { StarMentor } from './models/StarMentor';
|
|
@@ -569,12 +545,14 @@ export { Status6eeEnum } from './models/Status6eeEnum';
|
|
|
569
545
|
export type { Step } from './models/Step';
|
|
570
546
|
export { StepStatusEnum } from './models/StepStatusEnum';
|
|
571
547
|
export type { StripeCheckoutSessionRequest } from './models/StripeCheckoutSessionRequest';
|
|
548
|
+
export { StripeCheckoutSessionRequestModeEnum } from './models/StripeCheckoutSessionRequestModeEnum';
|
|
572
549
|
export type { StripeCheckoutSessionResponse } from './models/StripeCheckoutSessionResponse';
|
|
573
550
|
export type { StripeCustomerPortalRequest } from './models/StripeCustomerPortalRequest';
|
|
574
551
|
export type { StripeCustomerPortalResponse } from './models/StripeCustomerPortalResponse';
|
|
575
552
|
export type { StripeLocalProduct } from './models/StripeLocalProduct';
|
|
576
553
|
export type { StripeSubscriptionRenewalRequest } from './models/StripeSubscriptionRenewalRequest';
|
|
577
554
|
export type { StripeSubscriptionRenewalResponse } from './models/StripeSubscriptionRenewalResponse';
|
|
555
|
+
export { SttProviderEnum } from './models/SttProviderEnum';
|
|
578
556
|
export type { StudentChatMessage } from './models/StudentChatMessage';
|
|
579
557
|
export type { StylesView } from './models/StylesView';
|
|
580
558
|
export type { SubSection } from './models/SubSection';
|
|
@@ -584,8 +562,6 @@ export type { Summary } from './models/Summary';
|
|
|
584
562
|
export type { TagsView } from './models/TagsView';
|
|
585
563
|
export { TargetSystemEnum } from './models/TargetSystemEnum';
|
|
586
564
|
export type { TaskView } from './models/TaskView';
|
|
587
|
-
export type { TeamsConfig } from './models/TeamsConfig';
|
|
588
|
-
export type { TeamsWebhook } from './models/TeamsWebhook';
|
|
589
565
|
export type { TemplateMentor } from './models/TemplateMentor';
|
|
590
566
|
export type { TenantLaunchError } from './models/TenantLaunchError';
|
|
591
567
|
export type { TenantLaunchFailed } from './models/TenantLaunchFailed';
|
|
@@ -619,13 +595,12 @@ export type { TrainChatSessionDocumentView } from './models/TrainChatSessionDocu
|
|
|
619
595
|
export type { TrainChatSessionDocumentViewRequest } from './models/TrainChatSessionDocumentViewRequest';
|
|
620
596
|
export type { TrainDocumentViewRequest } from './models/TrainDocumentViewRequest';
|
|
621
597
|
export type { TrainDocumentViewResponse } from './models/TrainDocumentViewResponse';
|
|
622
|
-
export type { Training } from './models/Training';
|
|
623
|
-
export type { TrainingCreate } from './models/TrainingCreate';
|
|
624
598
|
export { TrainingStatusEnum } from './models/TrainingStatusEnum';
|
|
625
599
|
export { TransportEnum } from './models/TransportEnum';
|
|
626
600
|
export type { TrendEntry } from './models/TrendEntry';
|
|
627
601
|
export type { TriggerRequest } from './models/TriggerRequest';
|
|
628
602
|
export type { TriggerResponse } from './models/TriggerResponse';
|
|
603
|
+
export { TtsProviderEnum } from './models/TtsProviderEnum';
|
|
629
604
|
export { TypeC42Enum } from './models/TypeC42Enum';
|
|
630
605
|
export type { Unit } from './models/Unit';
|
|
631
606
|
export type { UnitWithChildren } from './models/UnitWithChildren';
|
|
@@ -689,25 +664,17 @@ export type { VideosSpecificCourse } from './models/VideosSpecificCourse';
|
|
|
689
664
|
export type { VideosSpecificCourseData } from './models/VideosSpecificCourseData';
|
|
690
665
|
export type { VideosWatchedSubSection } from './models/VideosWatchedSubSection';
|
|
691
666
|
export type { Voice } from './models/Voice';
|
|
692
|
-
export { VoiceProviderEnum } from './models/VoiceProviderEnum';
|
|
693
667
|
export type { WatchedVideosPerCourse } from './models/WatchedVideosPerCourse';
|
|
694
668
|
export type { WatchedVideosPerCourseData } from './models/WatchedVideosPerCourseData';
|
|
695
669
|
export type { WatchedVideosPerUser } from './models/WatchedVideosPerUser';
|
|
696
670
|
export type { WatchedVideosPerUserData } from './models/WatchedVideosPerUserData';
|
|
697
|
-
export type { WebexConfig } from './models/WebexConfig';
|
|
698
|
-
export type { WebexWebhook } from './models/WebexWebhook';
|
|
699
671
|
export type { WebResource } from './models/WebResource';
|
|
700
672
|
export type { WebResourceCard } from './models/WebResourceCard';
|
|
701
673
|
export type { WebResourcesQuery } from './models/WebResourcesQuery';
|
|
702
|
-
export type { WhatAppWebHook } from './models/WhatAppWebHook';
|
|
703
|
-
export type { WhatsappConfig } from './models/WhatsappConfig';
|
|
704
|
-
export type { WhatsappUserConfig } from './models/WhatsappUserConfig';
|
|
705
674
|
export type { WhitelistedDomain } from './models/WhitelistedDomain';
|
|
706
675
|
|
|
707
676
|
export { AiAccountService } from './services/AiAccountService';
|
|
708
677
|
export { AiAnalyticsService } from './services/AiAnalyticsService';
|
|
709
|
-
export { AiBotService } from './services/AiBotService';
|
|
710
|
-
export { AiFinetuningService } from './services/AiFinetuningService';
|
|
711
678
|
export { AiIndexService } from './services/AiIndexService';
|
|
712
679
|
export { AiMarketingService } from './services/AiMarketingService';
|
|
713
680
|
export { AiMediaService } from './services/AiMediaService';
|
|
@@ -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 { CallConfigurationModeEnum } from './CallConfigurationModeEnum';
|
|
6
|
+
import type { LlmProviderEnum } from './LlmProviderEnum';
|
|
7
|
+
import type { SttProviderEnum } from './SttProviderEnum';
|
|
8
|
+
import type { TtsProviderEnum } from './TtsProviderEnum';
|
|
9
|
+
import type { Voice } from './Voice';
|
|
10
|
+
export type CallConfiguration = {
|
|
11
|
+
readonly id: number;
|
|
12
|
+
mentor: number;
|
|
13
|
+
mode?: CallConfigurationModeEnum;
|
|
14
|
+
tts_provider?: TtsProviderEnum;
|
|
15
|
+
stt_provider?: SttProviderEnum;
|
|
16
|
+
llm_provider?: LlmProviderEnum;
|
|
17
|
+
/**
|
|
18
|
+
* Whether to use function calls in the agent or force RAG calls before LLM generation
|
|
19
|
+
*/
|
|
20
|
+
use_function_calling_for_rag?: boolean;
|
|
21
|
+
google_voice?: Voice;
|
|
22
|
+
openai_voice?: Voice;
|
|
23
|
+
openai_voice_id: number | null;
|
|
24
|
+
google_voice_id: number | null;
|
|
25
|
+
/**
|
|
26
|
+
* Whether to enable video for the call. (applicable only for realtime mode)
|
|
27
|
+
*/
|
|
28
|
+
enable_video?: boolean;
|
|
29
|
+
readonly platform_key: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `realtime` - Realtime
|
|
7
|
+
* * `inference` - Inference
|
|
8
|
+
*/
|
|
9
|
+
export enum CallConfigurationModeEnum {
|
|
10
|
+
REALTIME = 'realtime',
|
|
11
|
+
INFERENCE = 'inference',
|
|
12
|
+
}
|
package/src/models/Mentor.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { CallConfiguration } from './CallConfiguration';
|
|
5
6
|
import type { GreetingMethodEnum } from './GreetingMethodEnum';
|
|
6
7
|
import type { MCPServer } from './MCPServer';
|
|
7
8
|
import type { MentorCategory } from './MentorCategory';
|
|
@@ -77,6 +78,7 @@ export type Mentor = {
|
|
|
77
78
|
* * `proactive_response` - Proactive Response
|
|
78
79
|
*/
|
|
79
80
|
greeting_method?: GreetingMethodEnum;
|
|
81
|
+
call_configuration?: CallConfiguration;
|
|
80
82
|
mcp_servers: Array<MCPServer>;
|
|
81
83
|
/**
|
|
82
84
|
* edX user ID
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { AlignMentorBubbleEnum } from './AlignMentorBubbleEnum';
|
|
6
6
|
import type { BlankEnum } from './BlankEnum';
|
|
7
|
+
import type { CallConfiguration } from './CallConfiguration';
|
|
7
8
|
import type { MCPServer } from './MCPServer';
|
|
8
9
|
import type { MentorVisibilityEnum } from './MentorVisibilityEnum';
|
|
9
10
|
import type { NullEnum } from './NullEnum';
|
|
@@ -59,5 +60,6 @@ export type MentorSettings = {
|
|
|
59
60
|
readonly mcp_servers: Array<MCPServer>;
|
|
60
61
|
readonly department: string;
|
|
61
62
|
readonly disable_chathistory: string;
|
|
63
|
+
readonly call_configuration: CallConfiguration;
|
|
62
64
|
};
|
|
63
65
|
|
|
@@ -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 { CallConfigurationModeEnum } from './CallConfigurationModeEnum';
|
|
6
|
+
import type { LlmProviderEnum } from './LlmProviderEnum';
|
|
7
|
+
import type { SttProviderEnum } from './SttProviderEnum';
|
|
8
|
+
import type { TtsProviderEnum } from './TtsProviderEnum';
|
|
9
|
+
import type { Voice } from './Voice';
|
|
10
|
+
export type PatchedCallConfiguration = {
|
|
11
|
+
readonly id?: number;
|
|
12
|
+
mentor?: number;
|
|
13
|
+
mode?: CallConfigurationModeEnum;
|
|
14
|
+
tts_provider?: TtsProviderEnum;
|
|
15
|
+
stt_provider?: SttProviderEnum;
|
|
16
|
+
llm_provider?: LlmProviderEnum;
|
|
17
|
+
/**
|
|
18
|
+
* Whether to use function calls in the agent or force RAG calls before LLM generation
|
|
19
|
+
*/
|
|
20
|
+
use_function_calling_for_rag?: boolean;
|
|
21
|
+
google_voice?: Voice;
|
|
22
|
+
openai_voice?: Voice;
|
|
23
|
+
openai_voice_id?: number | null;
|
|
24
|
+
google_voice_id?: number | null;
|
|
25
|
+
/**
|
|
26
|
+
* Whether to enable video for the call. (applicable only for realtime mode)
|
|
27
|
+
*/
|
|
28
|
+
enable_video?: boolean;
|
|
29
|
+
readonly platform_key?: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type {
|
|
5
|
+
import type { StripeCheckoutSessionRequestModeEnum } from './StripeCheckoutSessionRequestModeEnum';
|
|
6
6
|
/**
|
|
7
7
|
* Serializer for Stripe checkout session creation requests.
|
|
8
8
|
*/
|
|
@@ -30,7 +30,7 @@ export type StripeCheckoutSessionRequest = {
|
|
|
30
30
|
* * `payment` - payment
|
|
31
31
|
* * `setup` - setup
|
|
32
32
|
*/
|
|
33
|
-
mode?:
|
|
33
|
+
mode?: StripeCheckoutSessionRequestModeEnum;
|
|
34
34
|
/**
|
|
35
35
|
* Whether to use metered billing
|
|
36
36
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `openai` - Openai
|
|
7
|
+
* * `google` - Google
|
|
8
|
+
* * `deepgram` - Deepgram
|
|
9
|
+
* * `cartesia` - Cartesia
|
|
10
|
+
*/
|
|
11
|
+
export enum SttProviderEnum {
|
|
12
|
+
OPENAI = 'openai',
|
|
13
|
+
GOOGLE = 'google',
|
|
14
|
+
DEEPGRAM = 'deepgram',
|
|
15
|
+
CARTESIA = 'cartesia',
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `openai` - Openai
|
|
7
|
+
* * `google` - Google
|
|
8
|
+
* * `elevenlabs` - Elevenlabs
|
|
9
|
+
*/
|
|
10
|
+
export enum TtsProviderEnum {
|
|
11
|
+
OPENAI = 'openai',
|
|
12
|
+
GOOGLE = 'google',
|
|
13
|
+
ELEVENLABS = 'elevenlabs',
|
|
14
|
+
}
|
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 { ProviderEnum } from './ProviderEnum';
|
|
6
6
|
export type Voice = {
|
|
7
7
|
readonly id: number;
|
|
8
8
|
name: string;
|
|
9
|
-
provider:
|
|
9
|
+
provider: ProviderEnum;
|
|
10
10
|
language?: string;
|
|
11
11
|
description?: string;
|
|
12
12
|
readonly audio_url: string;
|