@iblai/iblai-api 4.6.2-dev1-ai-plus → 4.7.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 +376 -1677
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +377 -1676
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +376 -1677
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +3 -39
- package/dist/types/models/MaskedIntegrationCredential.d.ts +8 -0
- package/dist/types/models/MaskedLLMCredential.d.ts +8 -0
- package/dist/types/models/ToolCategory.d.ts +5 -0
- package/dist/types/models/ToolResponse.d.ts +4 -1
- package/dist/types/services/AiAccountService.d.ts +54 -0
- package/dist/types/services/AiMentorService.d.ts +17 -2
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +3 -39
- package/src/models/MaskedIntegrationCredential.ts +13 -0
- package/src/models/{PatchedBotCommand.ts → MaskedLLMCredential.ts} +7 -5
- package/src/models/{BotCommand.ts → ToolCategory.ts} +3 -4
- package/src/models/ToolResponse.ts +4 -1
- package/src/services/AiAccountService.ts +82 -0
- package/src/services/AiMentorService.ts +36 -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/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/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/Provider63aEnum.ts +0 -10
- 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
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';
|
|
@@ -145,9 +142,6 @@ export type { Credential } from './models/Credential';
|
|
|
145
142
|
export type { CredentialRequest } from './models/CredentialRequest';
|
|
146
143
|
export type { CrontabSchedule } from './models/CrontabSchedule';
|
|
147
144
|
export type { CustomInstructionResponse } from './models/CustomInstructionResponse';
|
|
148
|
-
export type { DataSet } from './models/DataSet';
|
|
149
|
-
export type { DataSetCreate } from './models/DataSetCreate';
|
|
150
|
-
export { DataSetStatusEnum } from './models/DataSetStatusEnum';
|
|
151
145
|
export type { DateRange } from './models/DateRange';
|
|
152
146
|
export type { DesiredRole } from './models/DesiredRole';
|
|
153
147
|
export type { DesiredRoleCreateUpdateRequest } from './models/DesiredRoleCreateUpdateRequest';
|
|
@@ -156,9 +150,6 @@ export type { DesiredSkillCreateUpdateRequest } from './models/DesiredSkillCreat
|
|
|
156
150
|
export type { DetailedGradeSubsection } from './models/DetailedGradeSubsection';
|
|
157
151
|
export type { DetailedGradeView } from './models/DetailedGradeView';
|
|
158
152
|
export type { DetailedGradeViewData } from './models/DetailedGradeViewData';
|
|
159
|
-
export type { DiscordConfig } from './models/DiscordConfig';
|
|
160
|
-
export type { DiscordUserConfig } from './models/DiscordUserConfig';
|
|
161
|
-
export type { DiscordWebhook } from './models/DiscordWebhook';
|
|
162
153
|
export type { Document } from './models/Document';
|
|
163
154
|
export type { DocumentFacet } from './models/DocumentFacet';
|
|
164
155
|
export type { DocumentSearchResponse } from './models/DocumentSearchResponse';
|
|
@@ -235,6 +226,8 @@ export type { LtiTool } from './models/LtiTool';
|
|
|
235
226
|
export type { ManagerAuthToken } from './models/ManagerAuthToken';
|
|
236
227
|
export type { MarkAllReadRequest } from './models/MarkAllReadRequest';
|
|
237
228
|
export type { MarkAllReadResponse } from './models/MarkAllReadResponse';
|
|
229
|
+
export type { MaskedIntegrationCredential } from './models/MaskedIntegrationCredential';
|
|
230
|
+
export type { MaskedLLMCredential } from './models/MaskedLLMCredential';
|
|
238
231
|
export type { MCPServer } from './models/MCPServer';
|
|
239
232
|
export type { MediaResource } from './models/MediaResource';
|
|
240
233
|
export { MediaTypeEnum } from './models/MediaTypeEnum';
|
|
@@ -315,7 +308,6 @@ export type { PaginatedCourseLicense } from './models/PaginatedCourseLicense';
|
|
|
315
308
|
export type { PaginatedCourseLicenseAssignment } from './models/PaginatedCourseLicenseAssignment';
|
|
316
309
|
export type { PaginatedCourseLicenseGroupAssignment } from './models/PaginatedCourseLicenseGroupAssignment';
|
|
317
310
|
export type { PaginatedCourseSuggestion } from './models/PaginatedCourseSuggestion';
|
|
318
|
-
export type { PaginatedDataSetList } from './models/PaginatedDataSetList';
|
|
319
311
|
export type { PaginatedEdxCourseList } from './models/PaginatedEdxCourseList';
|
|
320
312
|
export type { PaginatedEmailPromptListList } from './models/PaginatedEmailPromptListList';
|
|
321
313
|
export type { PaginatedHeygenMarketingVideoListList } from './models/PaginatedHeygenMarketingVideoListList';
|
|
@@ -349,7 +341,6 @@ export type { PaginatedSubSectionList } from './models/PaginatedSubSectionList';
|
|
|
349
341
|
export type { PaginatedTicketMessageList } from './models/PaginatedTicketMessageList';
|
|
350
342
|
export type { PaginatedTopicStatisticsResponse } from './models/PaginatedTopicStatisticsResponse';
|
|
351
343
|
export type { PaginatedTraceList } from './models/PaginatedTraceList';
|
|
352
|
-
export type { PaginatedTrainingList } from './models/PaginatedTrainingList';
|
|
353
344
|
export type { PaginatedUnitList } from './models/PaginatedUnitList';
|
|
354
345
|
export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
|
|
355
346
|
export type { PaginatedUserEdxMemoryList } from './models/PaginatedUserEdxMemoryList';
|
|
@@ -359,15 +350,10 @@ export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUser
|
|
|
359
350
|
export type { PaginatedUserMemoryList } from './models/PaginatedUserMemoryList';
|
|
360
351
|
export type { PaginatedVoiceList } from './models/PaginatedVoiceList';
|
|
361
352
|
export type { Pagination } from './models/Pagination';
|
|
362
|
-
export type { PatchedBotCommand } from './models/PatchedBotCommand';
|
|
363
|
-
export type { PatchedBotCreate } from './models/PatchedBotCreate';
|
|
364
353
|
export type { PatchedCallConfiguration } from './models/PatchedCallConfiguration';
|
|
365
354
|
export type { PatchedConversations } from './models/PatchedConversations';
|
|
366
355
|
export type { PatchedCourseCreationTaskFile } from './models/PatchedCourseCreationTaskFile';
|
|
367
356
|
export type { PatchedCredentialRequest } from './models/PatchedCredentialRequest';
|
|
368
|
-
export type { PatchedDataSet } from './models/PatchedDataSet';
|
|
369
|
-
export type { PatchedDiscordConfig } from './models/PatchedDiscordConfig';
|
|
370
|
-
export type { PatchedDiscordUserConfig } from './models/PatchedDiscordUserConfig';
|
|
371
357
|
export type { PatchedHumanSupportTicket } from './models/PatchedHumanSupportTicket';
|
|
372
358
|
export type { PatchedLLMCredentialRequest } from './models/PatchedLLMCredentialRequest';
|
|
373
359
|
export type { PatchedMCPServer } from './models/PatchedMCPServer';
|
|
@@ -384,16 +370,9 @@ export type { PatchedRbacPolicy } from './models/PatchedRbacPolicy';
|
|
|
384
370
|
export type { PatchedRbacRole } from './models/PatchedRbacRole';
|
|
385
371
|
export type { PatchedSection } from './models/PatchedSection';
|
|
386
372
|
export type { PatchedSkillThreshold } from './models/PatchedSkillThreshold';
|
|
387
|
-
export type { PatchedSlackConfig } from './models/PatchedSlackConfig';
|
|
388
|
-
export type { PatchedSlackUserConfig } from './models/PatchedSlackUserConfig';
|
|
389
373
|
export type { PatchedSubSection } from './models/PatchedSubSection';
|
|
390
|
-
export type { PatchedTeamsConfig } from './models/PatchedTeamsConfig';
|
|
391
374
|
export type { PatchedTicketMessage } from './models/PatchedTicketMessage';
|
|
392
|
-
export type { PatchedTrainingCreate } from './models/PatchedTrainingCreate';
|
|
393
375
|
export type { PatchedUnit } from './models/PatchedUnit';
|
|
394
|
-
export type { PatchedWebexConfig } from './models/PatchedWebexConfig';
|
|
395
|
-
export type { PatchedWhatsappConfig } from './models/PatchedWhatsappConfig';
|
|
396
|
-
export type { PatchedWhatsappUserConfig } from './models/PatchedWhatsappUserConfig';
|
|
397
376
|
export type { Pathway } from './models/Pathway';
|
|
398
377
|
export type { PathwayCompletionResponse } from './models/PathwayCompletionResponse';
|
|
399
378
|
export type { PathwayCreateUpdateRequest } from './models/PathwayCreateUpdateRequest';
|
|
@@ -496,9 +475,7 @@ export type { PromptCategory } from './models/PromptCategory';
|
|
|
496
475
|
export type { PromptFacet } from './models/PromptFacet';
|
|
497
476
|
export type { PromptSearchResponse } from './models/PromptSearchResponse';
|
|
498
477
|
export { PromptVisibilityEnum } from './models/PromptVisibilityEnum';
|
|
499
|
-
export { Provider05cEnum } from './models/Provider05cEnum';
|
|
500
478
|
export { Provider637Enum } from './models/Provider637Enum';
|
|
501
|
-
export { Provider63aEnum } from './models/Provider63aEnum';
|
|
502
479
|
export type { QuestionCardTag } from './models/QuestionCardTag';
|
|
503
480
|
export type { QuestionRequest } from './models/QuestionRequest';
|
|
504
481
|
export type { QuestionResponse } from './models/QuestionResponse';
|
|
@@ -572,9 +549,6 @@ export type { SkillCreateUpdateRequest } from './models/SkillCreateUpdateRequest
|
|
|
572
549
|
export type { SkillDetail } from './models/SkillDetail';
|
|
573
550
|
export type { SkillInfo } from './models/SkillInfo';
|
|
574
551
|
export type { SkillThreshold } from './models/SkillThreshold';
|
|
575
|
-
export type { SlackConfig } from './models/SlackConfig';
|
|
576
|
-
export type { SlackUserConfig } from './models/SlackUserConfig';
|
|
577
|
-
export type { SlackWebhook } from './models/SlackWebhook';
|
|
578
552
|
export type { SpacedRepetitionLearningPath } from './models/SpacedRepetitionLearningPath';
|
|
579
553
|
export type { SpacedRepetitionQuestionStats } from './models/SpacedRepetitionQuestionStats';
|
|
580
554
|
export type { StarMentor } from './models/StarMentor';
|
|
@@ -602,8 +576,6 @@ export type { SubTimeChild } from './models/SubTimeChild';
|
|
|
602
576
|
export type { TagsView } from './models/TagsView';
|
|
603
577
|
export { TargetSystemEnum } from './models/TargetSystemEnum';
|
|
604
578
|
export type { TaskView } from './models/TaskView';
|
|
605
|
-
export type { TeamsConfig } from './models/TeamsConfig';
|
|
606
|
-
export type { TeamsWebhook } from './models/TeamsWebhook';
|
|
607
579
|
export type { TemplateMentor } from './models/TemplateMentor';
|
|
608
580
|
export type { TenantLaunchError } from './models/TenantLaunchError';
|
|
609
581
|
export type { TenantLaunchFailed } from './models/TenantLaunchFailed';
|
|
@@ -628,6 +600,7 @@ export type { TokenProxyOutput } from './models/TokenProxyOutput';
|
|
|
628
600
|
export type { TokenProxyOutputSerializerData } from './models/TokenProxyOutputSerializerData';
|
|
629
601
|
export type { TokenProxyUser } from './models/TokenProxyUser';
|
|
630
602
|
export type { TonesView } from './models/TonesView';
|
|
603
|
+
export type { ToolCategory } from './models/ToolCategory';
|
|
631
604
|
export type { ToolResponse } from './models/ToolResponse';
|
|
632
605
|
export type { TopicModel } from './models/TopicModel';
|
|
633
606
|
export type { TopicRecord } from './models/TopicRecord';
|
|
@@ -639,8 +612,6 @@ export type { TrainChatSessionDocumentView } from './models/TrainChatSessionDocu
|
|
|
639
612
|
export type { TrainChatSessionDocumentViewRequest } from './models/TrainChatSessionDocumentViewRequest';
|
|
640
613
|
export type { TrainDocumentViewRequest } from './models/TrainDocumentViewRequest';
|
|
641
614
|
export type { TrainDocumentViewResponse } from './models/TrainDocumentViewResponse';
|
|
642
|
-
export type { Training } from './models/Training';
|
|
643
|
-
export type { TrainingCreate } from './models/TrainingCreate';
|
|
644
615
|
export { TrainingStatusEnum } from './models/TrainingStatusEnum';
|
|
645
616
|
export { TransportEnum } from './models/TransportEnum';
|
|
646
617
|
export type { TrendEntry } from './models/TrendEntry';
|
|
@@ -718,20 +689,13 @@ export type { WatchedVideosPerCourse } from './models/WatchedVideosPerCourse';
|
|
|
718
689
|
export type { WatchedVideosPerCourseData } from './models/WatchedVideosPerCourseData';
|
|
719
690
|
export type { WatchedVideosPerUser } from './models/WatchedVideosPerUser';
|
|
720
691
|
export type { WatchedVideosPerUserData } from './models/WatchedVideosPerUserData';
|
|
721
|
-
export type { WebexConfig } from './models/WebexConfig';
|
|
722
|
-
export type { WebexWebhook } from './models/WebexWebhook';
|
|
723
692
|
export type { WebResource } from './models/WebResource';
|
|
724
693
|
export type { WebResourceCard } from './models/WebResourceCard';
|
|
725
694
|
export type { WebResourcesQuery } from './models/WebResourcesQuery';
|
|
726
|
-
export type { WhatAppWebHook } from './models/WhatAppWebHook';
|
|
727
|
-
export type { WhatsappConfig } from './models/WhatsappConfig';
|
|
728
|
-
export type { WhatsappUserConfig } from './models/WhatsappUserConfig';
|
|
729
695
|
export type { WhitelistedDomain } from './models/WhitelistedDomain';
|
|
730
696
|
|
|
731
697
|
export { AiAccountService } from './services/AiAccountService';
|
|
732
698
|
export { AiAnalyticsService } from './services/AiAnalyticsService';
|
|
733
|
-
export { AiBotService } from './services/AiBotService';
|
|
734
|
-
export { AiFinetuningService } from './services/AiFinetuningService';
|
|
735
699
|
export { AiIndexService } from './services/AiIndexService';
|
|
736
700
|
export { AiMarketingService } from './services/AiMarketingService';
|
|
737
701
|
export { AiMediaService } from './services/AiMediaService';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type MaskedIntegrationCredential = {
|
|
6
|
+
name: string;
|
|
7
|
+
value?: any;
|
|
8
|
+
/**
|
|
9
|
+
* The platform key
|
|
10
|
+
*/
|
|
11
|
+
platform: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
export type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
export type MaskedLLMCredential = {
|
|
6
|
+
name: string;
|
|
7
|
+
value?: any;
|
|
8
|
+
/**
|
|
9
|
+
* The platform key
|
|
10
|
+
*/
|
|
11
|
+
platform: string;
|
|
10
12
|
};
|
|
11
13
|
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
export type
|
|
5
|
+
export type ToolCategory = {
|
|
6
6
|
readonly id: number;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
bot: number;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
10
9
|
};
|
|
11
10
|
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { ToolCategory } from './ToolCategory';
|
|
5
6
|
export type ToolResponse = {
|
|
6
7
|
readonly id: number;
|
|
7
8
|
name: string;
|
|
8
9
|
display_name?: string;
|
|
9
10
|
slug?: string;
|
|
11
|
+
readonly category: ToolCategory;
|
|
10
12
|
description?: string | null;
|
|
13
|
+
logo?: string | null;
|
|
11
14
|
metadata?: any;
|
|
12
|
-
|
|
15
|
+
allow_base_agent?: boolean;
|
|
13
16
|
allow_openai_agent?: boolean;
|
|
14
17
|
allow_openai_assistant?: boolean;
|
|
15
18
|
allow_google_agent?: boolean;
|
|
@@ -9,6 +9,8 @@ import type { IntegrationCredentialSchema } from '../models/IntegrationCredentia
|
|
|
9
9
|
import type { LLMCredentialRequest } from '../models/LLMCredentialRequest';
|
|
10
10
|
import type { LLMCredentialResponse } from '../models/LLMCredentialResponse';
|
|
11
11
|
import type { LLMCredentialSchema } from '../models/LLMCredentialSchema';
|
|
12
|
+
import type { MaskedIntegrationCredential } from '../models/MaskedIntegrationCredential';
|
|
13
|
+
import type { MaskedLLMCredential } from '../models/MaskedLLMCredential';
|
|
12
14
|
import type { OAuthStartResponse } from '../models/OAuthStartResponse';
|
|
13
15
|
import type { PatchedCredentialRequest } from '../models/PatchedCredentialRequest';
|
|
14
16
|
import type { PatchedLLMCredentialRequest } from '../models/PatchedLLMCredentialRequest';
|
|
@@ -540,6 +542,86 @@ export class AiAccountService {
|
|
|
540
542
|
},
|
|
541
543
|
});
|
|
542
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* Retrieve masked integration credentials for an organization.
|
|
547
|
+
*
|
|
548
|
+
* Query Parameters:
|
|
549
|
+
* name (optional): Filter results by integration service name
|
|
550
|
+
*
|
|
551
|
+
* Args:
|
|
552
|
+
* request: The HTTP request
|
|
553
|
+
* org: Organization key identifier
|
|
554
|
+
*
|
|
555
|
+
* Returns:
|
|
556
|
+
* Response: List of integration credentials for the organization
|
|
557
|
+
*
|
|
558
|
+
* Raises:
|
|
559
|
+
* NotFound: When organization is not found or when no credentials match the filters
|
|
560
|
+
* ValidationError: When query parameters are invalid
|
|
561
|
+
* @returns MaskedIntegrationCredential
|
|
562
|
+
* @throws ApiError
|
|
563
|
+
*/
|
|
564
|
+
public static aiAccountOrgsMaskedIntegrationCredentialList({
|
|
565
|
+
org,
|
|
566
|
+
name,
|
|
567
|
+
}: {
|
|
568
|
+
org: string,
|
|
569
|
+
/**
|
|
570
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
571
|
+
*/
|
|
572
|
+
name?: string,
|
|
573
|
+
}): CancelablePromise<Array<MaskedIntegrationCredential>> {
|
|
574
|
+
return __request(OpenAPI, {
|
|
575
|
+
method: 'GET',
|
|
576
|
+
url: '/api/ai-account/orgs/{org}/masked-integration-credential/',
|
|
577
|
+
path: {
|
|
578
|
+
'org': org,
|
|
579
|
+
},
|
|
580
|
+
query: {
|
|
581
|
+
'name': name,
|
|
582
|
+
},
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* Retrieve LLM credentials for an organization with the value entries masked.
|
|
587
|
+
*
|
|
588
|
+
* Query Parameters:
|
|
589
|
+
* name (optional): Filter results by LLM provider name
|
|
590
|
+
*
|
|
591
|
+
* Args:
|
|
592
|
+
* request: The HTTP request
|
|
593
|
+
* org: Organization key identifier
|
|
594
|
+
*
|
|
595
|
+
* Returns:
|
|
596
|
+
* Response: List of LLM credentials for the organization
|
|
597
|
+
*
|
|
598
|
+
* Raises:
|
|
599
|
+
* NotFound: When organization is not found or when no credentials match the filters
|
|
600
|
+
* ValidationError: When query parameters are invalid
|
|
601
|
+
* @returns MaskedLLMCredential
|
|
602
|
+
* @throws ApiError
|
|
603
|
+
*/
|
|
604
|
+
public static aiAccountOrgsMaskedLlmCredentialRetrieve({
|
|
605
|
+
org,
|
|
606
|
+
name,
|
|
607
|
+
}: {
|
|
608
|
+
org: string,
|
|
609
|
+
/**
|
|
610
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
611
|
+
*/
|
|
612
|
+
name?: string,
|
|
613
|
+
}): CancelablePromise<MaskedLLMCredential> {
|
|
614
|
+
return __request(OpenAPI, {
|
|
615
|
+
method: 'GET',
|
|
616
|
+
url: '/api/ai-account/orgs/{org}/masked-llm-credential/',
|
|
617
|
+
path: {
|
|
618
|
+
'org': org,
|
|
619
|
+
},
|
|
620
|
+
query: {
|
|
621
|
+
'name': name,
|
|
622
|
+
},
|
|
623
|
+
});
|
|
624
|
+
}
|
|
543
625
|
/**
|
|
544
626
|
* Enable or disable the use of main LLM credentials for an organization.
|
|
545
627
|
*
|
|
@@ -127,6 +127,7 @@ import type { SubSection } from '../models/SubSection';
|
|
|
127
127
|
import type { TaskView } from '../models/TaskView';
|
|
128
128
|
import type { TemplateMentor } from '../models/TemplateMentor';
|
|
129
129
|
import type { TicketMessage } from '../models/TicketMessage';
|
|
130
|
+
import type { ToolCategory } from '../models/ToolCategory';
|
|
130
131
|
import type { ToolResponse } from '../models/ToolResponse';
|
|
131
132
|
import type { TriggerRequest } from '../models/TriggerRequest';
|
|
132
133
|
import type { TriggerResponse } from '../models/TriggerResponse';
|
|
@@ -5816,10 +5817,20 @@ export class AiMentorService {
|
|
|
5816
5817
|
mentor,
|
|
5817
5818
|
org,
|
|
5818
5819
|
userId,
|
|
5820
|
+
ordering,
|
|
5821
|
+
search,
|
|
5819
5822
|
}: {
|
|
5820
5823
|
mentor: string,
|
|
5821
5824
|
org: string,
|
|
5822
5825
|
userId: string,
|
|
5826
|
+
/**
|
|
5827
|
+
* Which field to use when ordering the results.
|
|
5828
|
+
*/
|
|
5829
|
+
ordering?: string,
|
|
5830
|
+
/**
|
|
5831
|
+
* A search term.
|
|
5832
|
+
*/
|
|
5833
|
+
search?: string,
|
|
5823
5834
|
}): CancelablePromise<Array<ToolResponse>> {
|
|
5824
5835
|
return __request(OpenAPI, {
|
|
5825
5836
|
method: 'GET',
|
|
@@ -5829,6 +5840,10 @@ export class AiMentorService {
|
|
|
5829
5840
|
'org': org,
|
|
5830
5841
|
'user_id': userId,
|
|
5831
5842
|
},
|
|
5843
|
+
query: {
|
|
5844
|
+
'ordering': ordering,
|
|
5845
|
+
'search': search,
|
|
5846
|
+
},
|
|
5832
5847
|
});
|
|
5833
5848
|
}
|
|
5834
5849
|
/**
|
|
@@ -9858,6 +9873,27 @@ export class AiMentorService {
|
|
|
9858
9873
|
mediaType: 'application/json',
|
|
9859
9874
|
});
|
|
9860
9875
|
}
|
|
9876
|
+
/**
|
|
9877
|
+
* Retrieve Tool Categories
|
|
9878
|
+
* @returns ToolCategory
|
|
9879
|
+
* @throws ApiError
|
|
9880
|
+
*/
|
|
9881
|
+
public static aiMentorOrgsUsersToolCategoriesList({
|
|
9882
|
+
org,
|
|
9883
|
+
userId,
|
|
9884
|
+
}: {
|
|
9885
|
+
org: string,
|
|
9886
|
+
userId: string,
|
|
9887
|
+
}): CancelablePromise<Array<ToolCategory>> {
|
|
9888
|
+
return __request(OpenAPI, {
|
|
9889
|
+
method: 'GET',
|
|
9890
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/tool-categories/',
|
|
9891
|
+
path: {
|
|
9892
|
+
'org': org,
|
|
9893
|
+
'user_id': userId,
|
|
9894
|
+
},
|
|
9895
|
+
});
|
|
9896
|
+
}
|
|
9861
9897
|
/**
|
|
9862
9898
|
* Retrieve a list of available voice options.
|
|
9863
9899
|
*
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Provider05cEnum } from './Provider05cEnum';
|
|
2
|
-
export type Bot = {
|
|
3
|
-
readonly id: number;
|
|
4
|
-
readonly platform: number;
|
|
5
|
-
readonly tenant: string;
|
|
6
|
-
name: string;
|
|
7
|
-
provider: Provider05cEnum;
|
|
8
|
-
readonly is_configured: boolean;
|
|
9
|
-
slack_config: number;
|
|
10
|
-
readonly discord_config: number;
|
|
11
|
-
readonly webex_config: number;
|
|
12
|
-
readonly whatsapp_config: number;
|
|
13
|
-
readonly teams_config: number;
|
|
14
|
-
readonly webhook_url: string;
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Provider05cEnum } from './Provider05cEnum';
|
|
2
|
-
export type BotCreate = {
|
|
3
|
-
readonly id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
provider: Provider05cEnum;
|
|
6
|
-
readonly is_configured: boolean;
|
|
7
|
-
readonly webhook_url: string;
|
|
8
|
-
readonly discord_config: number;
|
|
9
|
-
readonly webex_config: number;
|
|
10
|
-
readonly whatsapp_config: number;
|
|
11
|
-
readonly teams_config: number;
|
|
12
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { DataSetStatusEnum } from './DataSetStatusEnum';
|
|
2
|
-
export type DataSet = {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
readonly platform: Record<string, (string | number)> | null;
|
|
5
|
-
name: string;
|
|
6
|
-
/**
|
|
7
|
-
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
8
|
-
*/
|
|
9
|
-
prompt?: string;
|
|
10
|
-
source_url?: string;
|
|
11
|
-
source_file?: string;
|
|
12
|
-
status?: DataSetStatusEnum;
|
|
13
|
-
num_data_points?: number;
|
|
14
|
-
train_split?: number;
|
|
15
|
-
train_file?: string;
|
|
16
|
-
test_file?: string;
|
|
17
|
-
retry_attempts?: number;
|
|
18
|
-
error_log?: string;
|
|
19
|
-
readonly date_created: string;
|
|
20
|
-
readonly last_modified: string;
|
|
21
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type DataSetCreate = {
|
|
2
|
-
readonly id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
source_url?: string;
|
|
5
|
-
source_file?: string;
|
|
6
|
-
num_data_points?: number;
|
|
7
|
-
train_split?: number;
|
|
8
|
-
/**
|
|
9
|
-
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
10
|
-
*/
|
|
11
|
-
prompt?: string;
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `pending` - Pending
|
|
3
|
-
* * `processing` - Processing
|
|
4
|
-
* * `completed` - Completed
|
|
5
|
-
* * `failed` - Failed
|
|
6
|
-
*/
|
|
7
|
-
export declare enum DataSetStatusEnum {
|
|
8
|
-
PENDING = "pending",
|
|
9
|
-
PROCESSING = "processing",
|
|
10
|
-
COMPLETED = "completed",
|
|
11
|
-
FAILED = "failed"
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Provider05cEnum } from './Provider05cEnum';
|
|
2
|
-
export type PatchedBotCreate = {
|
|
3
|
-
readonly id?: number;
|
|
4
|
-
name?: string;
|
|
5
|
-
provider?: Provider05cEnum;
|
|
6
|
-
readonly is_configured?: boolean;
|
|
7
|
-
readonly webhook_url?: string;
|
|
8
|
-
readonly discord_config?: number;
|
|
9
|
-
readonly webex_config?: number;
|
|
10
|
-
readonly whatsapp_config?: number;
|
|
11
|
-
readonly teams_config?: number;
|
|
12
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { DataSetStatusEnum } from './DataSetStatusEnum';
|
|
2
|
-
export type PatchedDataSet = {
|
|
3
|
-
readonly id?: string;
|
|
4
|
-
readonly platform?: Record<string, (string | number)> | null;
|
|
5
|
-
name?: string;
|
|
6
|
-
/**
|
|
7
|
-
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
8
|
-
*/
|
|
9
|
-
prompt?: string;
|
|
10
|
-
source_url?: string;
|
|
11
|
-
source_file?: string;
|
|
12
|
-
status?: DataSetStatusEnum;
|
|
13
|
-
num_data_points?: number;
|
|
14
|
-
train_split?: number;
|
|
15
|
-
train_file?: string;
|
|
16
|
-
test_file?: string;
|
|
17
|
-
retry_attempts?: number;
|
|
18
|
-
error_log?: string;
|
|
19
|
-
readonly date_created?: string;
|
|
20
|
-
readonly last_modified?: string;
|
|
21
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type PatchedSlackUserConfig = {
|
|
2
|
-
readonly id?: number;
|
|
3
|
-
/**
|
|
4
|
-
* edX user ID
|
|
5
|
-
*/
|
|
6
|
-
readonly user?: number;
|
|
7
|
-
/**
|
|
8
|
-
* Team Domain in the stated slack workspace. This is also the workspace name.
|
|
9
|
-
*/
|
|
10
|
-
slack_team_domain?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Username in the stated slack workspace
|
|
13
|
-
*/
|
|
14
|
-
slack_username?: string;
|
|
15
|
-
readonly date_created?: string;
|
|
16
|
-
readonly last_modified?: string;
|
|
17
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Provider63aEnum } from './Provider63aEnum';
|
|
2
|
-
export type PatchedTrainingCreate = {
|
|
3
|
-
readonly id?: string;
|
|
4
|
-
project_name?: string;
|
|
5
|
-
dataset?: string;
|
|
6
|
-
base_model_name?: string;
|
|
7
|
-
provider?: Provider63aEnum;
|
|
8
|
-
text_column?: string;
|
|
9
|
-
learning_rate?: number;
|
|
10
|
-
batch_size?: number;
|
|
11
|
-
num_epochs?: number;
|
|
12
|
-
block_size?: number;
|
|
13
|
-
warmup_ratio?: number;
|
|
14
|
-
lora_r?: number;
|
|
15
|
-
lora_alpha?: number;
|
|
16
|
-
lora_dropout?: number;
|
|
17
|
-
weight_decay?: number;
|
|
18
|
-
gradient_accumulation?: number;
|
|
19
|
-
use_peft?: boolean;
|
|
20
|
-
use_fp16?: boolean;
|
|
21
|
-
use_int4?: boolean;
|
|
22
|
-
push_to_hub?: boolean;
|
|
23
|
-
repo_id?: string;
|
|
24
|
-
preprocess_dataset?: boolean;
|
|
25
|
-
prompt_column?: string;
|
|
26
|
-
prompt_prefix?: string;
|
|
27
|
-
prompt_suffix?: string;
|
|
28
|
-
response_prefix?: string;
|
|
29
|
-
readonly date_created?: string;
|
|
30
|
-
readonly last_modified?: string;
|
|
31
|
-
};
|