@iblai/iblai-api 3.45.5-ai → 3.45.5-ai-plus
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 +1345 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1344 -10
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1345 -9
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +40 -1
- package/dist/types/models/Bot.d.ts +15 -0
- package/dist/types/models/BotCommand.d.ts +6 -0
- package/dist/types/models/BotCreate.d.ts +12 -0
- package/dist/types/models/DataSet.d.ts +21 -0
- package/dist/types/models/DataSetCreate.d.ts +12 -0
- package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
- package/dist/types/models/DiscordConfig.d.ts +7 -0
- package/dist/types/models/DiscordUserConfig.d.ts +10 -0
- package/dist/types/models/DiscordWebhook.d.ts +6 -0
- package/dist/types/models/PaginatedDataSetList.d.ts +7 -0
- package/dist/types/models/PaginatedTrainingList.d.ts +7 -0
- package/dist/types/models/PatchedBotCommand.d.ts +6 -0
- package/dist/types/models/PatchedBotCreate.d.ts +12 -0
- package/dist/types/models/PatchedDataSet.d.ts +21 -0
- package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
- package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
- package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
- package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
- package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
- package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
- package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
- package/dist/types/models/Provider05cEnum.d.ts +14 -0
- package/dist/types/models/Provider63aEnum.d.ts +6 -0
- package/dist/types/models/SlackConfig.d.ts +8 -0
- package/dist/types/models/SlackUserConfig.d.ts +17 -0
- package/dist/types/models/SlackWebhook.d.ts +6 -0
- package/dist/types/models/TeamsConfig.d.ts +7 -0
- package/dist/types/models/TeamsWebhook.d.ts +17 -0
- package/dist/types/models/Training.d.ts +41 -0
- package/dist/types/models/TrainingCreate.d.ts +31 -0
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/models/{ProviderEnum.d.ts → VoiceProviderEnum.d.ts} +1 -1
- package/dist/types/models/WebexConfig.d.ts +10 -0
- package/dist/types/models/WebexWebhook.d.ts +4 -0
- package/dist/types/models/WhatAppWebHook.d.ts +3 -0
- package/dist/types/models/WhatsappConfig.d.ts +11 -0
- package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
- package/dist/types/services/AiBotService.d.ts +486 -0
- package/dist/types/services/AiFinetuningService.d.ts +162 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +40 -1
- package/src/models/Bot.ts +20 -0
- package/src/models/BotCommand.ts +11 -0
- package/src/models/BotCreate.ts +17 -0
- package/src/models/DataSet.ts +26 -0
- package/src/models/DataSetCreate.ts +17 -0
- package/src/models/DataSetStatusEnum.ts +16 -0
- package/src/models/DiscordConfig.ts +12 -0
- package/src/models/DiscordUserConfig.ts +15 -0
- package/src/models/DiscordWebhook.ts +11 -0
- package/src/models/PaginatedDataSetList.ts +12 -0
- package/src/models/PaginatedTrainingList.ts +12 -0
- package/src/models/PatchedBotCommand.ts +11 -0
- package/src/models/PatchedBotCreate.ts +17 -0
- package/src/models/PatchedDataSet.ts +26 -0
- package/src/models/PatchedDiscordConfig.ts +12 -0
- package/src/models/PatchedDiscordUserConfig.ts +15 -0
- package/src/models/PatchedSlackConfig.ts +13 -0
- package/src/models/PatchedSlackUserConfig.ts +22 -0
- package/src/models/PatchedTeamsConfig.ts +12 -0
- package/src/models/PatchedTrainingCreate.ts +36 -0
- package/src/models/PatchedWebexConfig.ts +15 -0
- package/src/models/PatchedWhatsappConfig.ts +16 -0
- package/src/models/PatchedWhatsappUserConfig.ts +15 -0
- package/src/models/Provider05cEnum.ts +18 -0
- package/src/models/Provider63aEnum.ts +10 -0
- package/src/models/SlackConfig.ts +13 -0
- package/src/models/SlackUserConfig.ts +22 -0
- package/src/models/SlackWebhook.ts +11 -0
- package/src/models/TeamsConfig.ts +12 -0
- package/src/models/TeamsWebhook.ts +22 -0
- package/src/models/Training.ts +46 -0
- package/src/models/TrainingCreate.ts +36 -0
- package/src/models/Voice.ts +2 -2
- package/src/models/{ProviderEnum.ts → VoiceProviderEnum.ts} +1 -1
- package/src/models/WebexConfig.ts +15 -0
- package/src/models/WebexWebhook.ts +9 -0
- package/src/models/WhatAppWebHook.ts +8 -0
- package/src/models/WhatsappConfig.ts +16 -0
- package/src/models/WhatsappUserConfig.ts +15 -0
- package/src/services/AiBotService.ts +1174 -0
- package/src/services/AiFinetuningService.ts +402 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import type { DataSet } from '../models/DataSet';
|
|
2
|
+
import type { DataSetCreate } from '../models/DataSetCreate';
|
|
3
|
+
import type { PaginatedDataSetList } from '../models/PaginatedDataSetList';
|
|
4
|
+
import type { PaginatedTrainingList } from '../models/PaginatedTrainingList';
|
|
5
|
+
import type { PatchedDataSet } from '../models/PatchedDataSet';
|
|
6
|
+
import type { PatchedTrainingCreate } from '../models/PatchedTrainingCreate';
|
|
7
|
+
import type { Training } from '../models/Training';
|
|
8
|
+
import type { TrainingCreate } from '../models/TrainingCreate';
|
|
9
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
|
+
export declare class AiFinetuningService {
|
|
11
|
+
/**
|
|
12
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
13
|
+
* @param org
|
|
14
|
+
* @param username
|
|
15
|
+
* @param dateCreated
|
|
16
|
+
* @param numDataPoints
|
|
17
|
+
* @param ordering Which field to use when ordering the results.
|
|
18
|
+
* @param page A page number within the paginated result set.
|
|
19
|
+
* @param pageSize Number of results to return per page.
|
|
20
|
+
* @param retryAttempts
|
|
21
|
+
* @param search A search term.
|
|
22
|
+
* @param status * `pending` - Pending
|
|
23
|
+
* * `processing` - Processing
|
|
24
|
+
* * `completed` - Completed
|
|
25
|
+
* * `failed` - Failed
|
|
26
|
+
* @returns PaginatedDataSetList
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
static aiFinetuningV1OrgUserDatasetsList(org: string, username: string, dateCreated?: string, numDataPoints?: number, ordering?: string, page?: number, pageSize?: number, retryAttempts?: number, search?: string, status?: 'completed' | 'failed' | 'pending' | 'processing'): CancelablePromise<PaginatedDataSetList>;
|
|
30
|
+
/**
|
|
31
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
32
|
+
* @param org
|
|
33
|
+
* @param username
|
|
34
|
+
* @param requestBody
|
|
35
|
+
* @returns DataSetCreate
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static aiFinetuningV1OrgUserDatasetsCreate(org: string, username: string, requestBody: DataSetCreate): CancelablePromise<DataSetCreate>;
|
|
39
|
+
/**
|
|
40
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
41
|
+
* @param id A UUID string identifying this data set.
|
|
42
|
+
* @param org
|
|
43
|
+
* @param username
|
|
44
|
+
* @returns DataSet
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static aiFinetuningV1OrgUserDatasetsRetrieve(id: string, org: string, username: string): CancelablePromise<DataSet>;
|
|
48
|
+
/**
|
|
49
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
50
|
+
* @param id A UUID string identifying this data set.
|
|
51
|
+
* @param org
|
|
52
|
+
* @param username
|
|
53
|
+
* @param requestBody
|
|
54
|
+
* @returns DataSet
|
|
55
|
+
* @throws ApiError
|
|
56
|
+
*/
|
|
57
|
+
static aiFinetuningV1OrgUserDatasetsUpdate(id: string, org: string, username: string, requestBody: DataSet): CancelablePromise<DataSet>;
|
|
58
|
+
/**
|
|
59
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
60
|
+
* @param id A UUID string identifying this data set.
|
|
61
|
+
* @param org
|
|
62
|
+
* @param username
|
|
63
|
+
* @param requestBody
|
|
64
|
+
* @returns DataSet
|
|
65
|
+
* @throws ApiError
|
|
66
|
+
*/
|
|
67
|
+
static aiFinetuningV1OrgUserDatasetsPartialUpdate(id: string, org: string, username: string, requestBody?: PatchedDataSet): CancelablePromise<DataSet>;
|
|
68
|
+
/**
|
|
69
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
70
|
+
* @param id A UUID string identifying this data set.
|
|
71
|
+
* @param org
|
|
72
|
+
* @param username
|
|
73
|
+
* @returns void
|
|
74
|
+
* @throws ApiError
|
|
75
|
+
*/
|
|
76
|
+
static aiFinetuningV1OrgUserDatasetsDestroy(id: string, org: string, username: string): CancelablePromise<void>;
|
|
77
|
+
/**
|
|
78
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
79
|
+
* @param org
|
|
80
|
+
* @param username
|
|
81
|
+
* @param baseModelName
|
|
82
|
+
* @param dataset
|
|
83
|
+
* @param dateCreated
|
|
84
|
+
* @param fineTunedModel
|
|
85
|
+
* @param lastModified
|
|
86
|
+
* @param ordering Which field to use when ordering the results.
|
|
87
|
+
* @param page A page number within the paginated result set.
|
|
88
|
+
* @param pageSize Number of results to return per page.
|
|
89
|
+
* @param preprocessDataset
|
|
90
|
+
* @param provider * `openai` - Openai
|
|
91
|
+
* @param search A search term.
|
|
92
|
+
* @param status * `pending` - Pending
|
|
93
|
+
* * `processing` - Processing
|
|
94
|
+
* * `completed` - Completed
|
|
95
|
+
* * `cancelled` - Cancelled
|
|
96
|
+
* * `failed` - Failed
|
|
97
|
+
* @returns PaginatedTrainingList
|
|
98
|
+
* @throws ApiError
|
|
99
|
+
*/
|
|
100
|
+
static aiFinetuningV1OrgUserTrainingsList(org: string, username: string, baseModelName?: string, dataset?: string, dateCreated?: string, fineTunedModel?: string, lastModified?: string, ordering?: string, page?: number, pageSize?: number, preprocessDataset?: boolean, provider?: 'openai', search?: string, status?: 'cancelled' | 'completed' | 'failed' | 'pending' | 'processing'): CancelablePromise<PaginatedTrainingList>;
|
|
101
|
+
/**
|
|
102
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
103
|
+
* @param org
|
|
104
|
+
* @param username
|
|
105
|
+
* @param requestBody
|
|
106
|
+
* @returns TrainingCreate
|
|
107
|
+
* @throws ApiError
|
|
108
|
+
*/
|
|
109
|
+
static aiFinetuningV1OrgUserTrainingsCreate(org: string, username: string, requestBody: TrainingCreate): CancelablePromise<TrainingCreate>;
|
|
110
|
+
/**
|
|
111
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
112
|
+
* @param id A UUID string identifying this training.
|
|
113
|
+
* @param org
|
|
114
|
+
* @param username
|
|
115
|
+
* @returns Training
|
|
116
|
+
* @throws ApiError
|
|
117
|
+
*/
|
|
118
|
+
static aiFinetuningV1OrgUserTrainingsRetrieve(id: string, org: string, username: string): CancelablePromise<Training>;
|
|
119
|
+
/**
|
|
120
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
121
|
+
* @param id A UUID string identifying this training.
|
|
122
|
+
* @param org
|
|
123
|
+
* @param username
|
|
124
|
+
* @param requestBody
|
|
125
|
+
* @returns TrainingCreate
|
|
126
|
+
* @throws ApiError
|
|
127
|
+
*/
|
|
128
|
+
static aiFinetuningV1OrgUserTrainingsUpdate(id: string, org: string, username: string, requestBody: TrainingCreate): CancelablePromise<TrainingCreate>;
|
|
129
|
+
/**
|
|
130
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
131
|
+
* @param id A UUID string identifying this training.
|
|
132
|
+
* @param org
|
|
133
|
+
* @param username
|
|
134
|
+
* @param requestBody
|
|
135
|
+
* @returns TrainingCreate
|
|
136
|
+
* @throws ApiError
|
|
137
|
+
*/
|
|
138
|
+
static aiFinetuningV1OrgUserTrainingsPartialUpdate(id: string, org: string, username: string, requestBody?: PatchedTrainingCreate): CancelablePromise<TrainingCreate>;
|
|
139
|
+
/**
|
|
140
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
141
|
+
* @param id A UUID string identifying this training.
|
|
142
|
+
* @param org
|
|
143
|
+
* @param username
|
|
144
|
+
* @returns void
|
|
145
|
+
* @throws ApiError
|
|
146
|
+
*/
|
|
147
|
+
static aiFinetuningV1OrgUserTrainingsDestroy(id: string, org: string, username: string): CancelablePromise<void>;
|
|
148
|
+
/**
|
|
149
|
+
* Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
|
|
150
|
+
* Filtering and pagination is allowed.
|
|
151
|
+
*
|
|
152
|
+
* NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
|
|
153
|
+
* training list endpoint.
|
|
154
|
+
* Returns:
|
|
155
|
+
* Response: A paginated response containing the serialized fine-tuned models.
|
|
156
|
+
* @param org
|
|
157
|
+
* @param username
|
|
158
|
+
* @returns Training
|
|
159
|
+
* @throws ApiError
|
|
160
|
+
*/
|
|
161
|
+
static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve(org: string, username: string): CancelablePromise<Training>;
|
|
162
|
+
}
|
package/package.json
CHANGED
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -49,6 +49,9 @@ export type { BlankPlatformInvitationCreate } from './models/BlankPlatformInvita
|
|
|
49
49
|
export type { BlankProgramInvitationCreate } from './models/BlankProgramInvitationCreate';
|
|
50
50
|
export type { BlockSkillPointInfoRequest } from './models/BlockSkillPointInfoRequest';
|
|
51
51
|
export type { BlockSkillPointInfoResponse } from './models/BlockSkillPointInfoResponse';
|
|
52
|
+
export type { Bot } from './models/Bot';
|
|
53
|
+
export type { BotCommand } from './models/BotCommand';
|
|
54
|
+
export type { BotCreate } from './models/BotCreate';
|
|
52
55
|
export type { BulkCourseInvitationCreate } from './models/BulkCourseInvitationCreate';
|
|
53
56
|
export type { BulkCourseInvitationResponse } from './models/BulkCourseInvitationResponse';
|
|
54
57
|
export type { BulkCreateAssertion } from './models/BulkCreateAssertion';
|
|
@@ -138,6 +141,9 @@ export type { Credential } from './models/Credential';
|
|
|
138
141
|
export type { CredentialRequest } from './models/CredentialRequest';
|
|
139
142
|
export type { CrontabSchedule } from './models/CrontabSchedule';
|
|
140
143
|
export type { CustomInstructionResponse } from './models/CustomInstructionResponse';
|
|
144
|
+
export type { DataSet } from './models/DataSet';
|
|
145
|
+
export type { DataSetCreate } from './models/DataSetCreate';
|
|
146
|
+
export { DataSetStatusEnum } from './models/DataSetStatusEnum';
|
|
141
147
|
export type { DateRange } from './models/DateRange';
|
|
142
148
|
export type { DesiredRole } from './models/DesiredRole';
|
|
143
149
|
export type { DesiredRoleCreateUpdateRequest } from './models/DesiredRoleCreateUpdateRequest';
|
|
@@ -146,6 +152,9 @@ export type { DesiredSkillCreateUpdateRequest } from './models/DesiredSkillCreat
|
|
|
146
152
|
export type { DetailedGradeSubsection } from './models/DetailedGradeSubsection';
|
|
147
153
|
export type { DetailedGradeView } from './models/DetailedGradeView';
|
|
148
154
|
export type { DetailedGradeViewData } from './models/DetailedGradeViewData';
|
|
155
|
+
export type { DiscordConfig } from './models/DiscordConfig';
|
|
156
|
+
export type { DiscordUserConfig } from './models/DiscordUserConfig';
|
|
157
|
+
export type { DiscordWebhook } from './models/DiscordWebhook';
|
|
149
158
|
export type { Document } from './models/Document';
|
|
150
159
|
export type { DocumentFacet } from './models/DocumentFacet';
|
|
151
160
|
export type { DocumentSearchResponse } from './models/DocumentSearchResponse';
|
|
@@ -298,6 +307,7 @@ export type { PaginatedCourseLicense } from './models/PaginatedCourseLicense';
|
|
|
298
307
|
export type { PaginatedCourseLicenseAssignment } from './models/PaginatedCourseLicenseAssignment';
|
|
299
308
|
export type { PaginatedCourseLicenseGroupAssignment } from './models/PaginatedCourseLicenseGroupAssignment';
|
|
300
309
|
export type { PaginatedCourseSuggestion } from './models/PaginatedCourseSuggestion';
|
|
310
|
+
export type { PaginatedDataSetList } from './models/PaginatedDataSetList';
|
|
301
311
|
export type { PaginatedEdxCourseList } from './models/PaginatedEdxCourseList';
|
|
302
312
|
export type { PaginatedEmailPromptListList } from './models/PaginatedEmailPromptListList';
|
|
303
313
|
export type { PaginatedHeygenMarketingVideoListList } from './models/PaginatedHeygenMarketingVideoListList';
|
|
@@ -322,6 +332,7 @@ export type { PaginatedProgramSuggestion } from './models/PaginatedProgramSugges
|
|
|
322
332
|
export type { PaginatedSectionList } from './models/PaginatedSectionList';
|
|
323
333
|
export type { PaginatedSubSectionList } from './models/PaginatedSubSectionList';
|
|
324
334
|
export type { PaginatedTopicStatisticsResponse } from './models/PaginatedTopicStatisticsResponse';
|
|
335
|
+
export type { PaginatedTrainingList } from './models/PaginatedTrainingList';
|
|
325
336
|
export type { PaginatedUnitList } from './models/PaginatedUnitList';
|
|
326
337
|
export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
|
|
327
338
|
export type { PaginatedUserEdxMemoryList } from './models/PaginatedUserEdxMemoryList';
|
|
@@ -330,9 +341,14 @@ export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicen
|
|
|
330
341
|
export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUserLicenseGroupAssignment';
|
|
331
342
|
export type { PaginatedVoiceList } from './models/PaginatedVoiceList';
|
|
332
343
|
export type { Pagination } from './models/Pagination';
|
|
344
|
+
export type { PatchedBotCommand } from './models/PatchedBotCommand';
|
|
345
|
+
export type { PatchedBotCreate } from './models/PatchedBotCreate';
|
|
333
346
|
export type { PatchedConversations } from './models/PatchedConversations';
|
|
334
347
|
export type { PatchedCourseCreationTaskFile } from './models/PatchedCourseCreationTaskFile';
|
|
335
348
|
export type { PatchedCredentialRequest } from './models/PatchedCredentialRequest';
|
|
349
|
+
export type { PatchedDataSet } from './models/PatchedDataSet';
|
|
350
|
+
export type { PatchedDiscordConfig } from './models/PatchedDiscordConfig';
|
|
351
|
+
export type { PatchedDiscordUserConfig } from './models/PatchedDiscordUserConfig';
|
|
336
352
|
export type { PatchedLLMCredentialRequest } from './models/PatchedLLMCredentialRequest';
|
|
337
353
|
export type { PatchedMCPServer } from './models/PatchedMCPServer';
|
|
338
354
|
export type { PatchedMediaResource } from './models/PatchedMediaResource';
|
|
@@ -345,8 +361,15 @@ export type { PatchedPlayWrightScript } from './models/PatchedPlayWrightScript';
|
|
|
345
361
|
export type { PatchedPrompt } from './models/PatchedPrompt';
|
|
346
362
|
export type { PatchedSection } from './models/PatchedSection';
|
|
347
363
|
export type { PatchedSkillThreshold } from './models/PatchedSkillThreshold';
|
|
364
|
+
export type { PatchedSlackConfig } from './models/PatchedSlackConfig';
|
|
365
|
+
export type { PatchedSlackUserConfig } from './models/PatchedSlackUserConfig';
|
|
348
366
|
export type { PatchedSubSection } from './models/PatchedSubSection';
|
|
367
|
+
export type { PatchedTeamsConfig } from './models/PatchedTeamsConfig';
|
|
368
|
+
export type { PatchedTrainingCreate } from './models/PatchedTrainingCreate';
|
|
349
369
|
export type { PatchedUnit } from './models/PatchedUnit';
|
|
370
|
+
export type { PatchedWebexConfig } from './models/PatchedWebexConfig';
|
|
371
|
+
export type { PatchedWhatsappConfig } from './models/PatchedWhatsappConfig';
|
|
372
|
+
export type { PatchedWhatsappUserConfig } from './models/PatchedWhatsappUserConfig';
|
|
350
373
|
export type { Pathway } from './models/Pathway';
|
|
351
374
|
export type { PathwayCompletionResponse } from './models/PathwayCompletionResponse';
|
|
352
375
|
export type { PathwayCreateUpdateRequest } from './models/PathwayCreateUpdateRequest';
|
|
@@ -443,7 +466,8 @@ export { ProgramTypeEnum } from './models/ProgramTypeEnum';
|
|
|
443
466
|
export type { Prompt } from './models/Prompt';
|
|
444
467
|
export type { PromptCategory } from './models/PromptCategory';
|
|
445
468
|
export { PromptVisibilityEnum } from './models/PromptVisibilityEnum';
|
|
446
|
-
export {
|
|
469
|
+
export { Provider05cEnum } from './models/Provider05cEnum';
|
|
470
|
+
export { Provider63aEnum } from './models/Provider63aEnum';
|
|
447
471
|
export type { QuestionCardTag } from './models/QuestionCardTag';
|
|
448
472
|
export type { QuestionRequest } from './models/QuestionRequest';
|
|
449
473
|
export type { QuestionResponse } from './models/QuestionResponse';
|
|
@@ -506,6 +530,9 @@ export type { SkillCreateUpdateRequest } from './models/SkillCreateUpdateRequest
|
|
|
506
530
|
export type { SkillDetail } from './models/SkillDetail';
|
|
507
531
|
export type { SkillInfo } from './models/SkillInfo';
|
|
508
532
|
export type { SkillThreshold } from './models/SkillThreshold';
|
|
533
|
+
export type { SlackConfig } from './models/SlackConfig';
|
|
534
|
+
export type { SlackUserConfig } from './models/SlackUserConfig';
|
|
535
|
+
export type { SlackWebhook } from './models/SlackWebhook';
|
|
509
536
|
export type { SpacedRepetitionLearningPath } from './models/SpacedRepetitionLearningPath';
|
|
510
537
|
export type { SpacedRepetitionQuestionStats } from './models/SpacedRepetitionQuestionStats';
|
|
511
538
|
export type { StarMentor } from './models/StarMentor';
|
|
@@ -529,6 +556,8 @@ export type { Summary } from './models/Summary';
|
|
|
529
556
|
export type { TagsView } from './models/TagsView';
|
|
530
557
|
export { TargetSystemEnum } from './models/TargetSystemEnum';
|
|
531
558
|
export type { TaskView } from './models/TaskView';
|
|
559
|
+
export type { TeamsConfig } from './models/TeamsConfig';
|
|
560
|
+
export type { TeamsWebhook } from './models/TeamsWebhook';
|
|
532
561
|
export type { TemplateMentor } from './models/TemplateMentor';
|
|
533
562
|
export type { TenantLaunchError } from './models/TenantLaunchError';
|
|
534
563
|
export type { TenantLaunchFailed } from './models/TenantLaunchFailed';
|
|
@@ -562,6 +591,8 @@ export type { TrainChatSessionDocumentView } from './models/TrainChatSessionDocu
|
|
|
562
591
|
export type { TrainChatSessionDocumentViewRequest } from './models/TrainChatSessionDocumentViewRequest';
|
|
563
592
|
export type { TrainDocumentViewRequest } from './models/TrainDocumentViewRequest';
|
|
564
593
|
export type { TrainDocumentViewResponse } from './models/TrainDocumentViewResponse';
|
|
594
|
+
export type { Training } from './models/Training';
|
|
595
|
+
export type { TrainingCreate } from './models/TrainingCreate';
|
|
565
596
|
export { TrainingStatusEnum } from './models/TrainingStatusEnum';
|
|
566
597
|
export { TransportEnum } from './models/TransportEnum';
|
|
567
598
|
export type { TrendEntry } from './models/TrendEntry';
|
|
@@ -631,17 +662,25 @@ export type { VideosSpecificCourse } from './models/VideosSpecificCourse';
|
|
|
631
662
|
export type { VideosSpecificCourseData } from './models/VideosSpecificCourseData';
|
|
632
663
|
export type { VideosWatchedSubSection } from './models/VideosWatchedSubSection';
|
|
633
664
|
export type { Voice } from './models/Voice';
|
|
665
|
+
export { VoiceProviderEnum } from './models/VoiceProviderEnum';
|
|
634
666
|
export type { WatchedVideosPerCourse } from './models/WatchedVideosPerCourse';
|
|
635
667
|
export type { WatchedVideosPerCourseData } from './models/WatchedVideosPerCourseData';
|
|
636
668
|
export type { WatchedVideosPerUser } from './models/WatchedVideosPerUser';
|
|
637
669
|
export type { WatchedVideosPerUserData } from './models/WatchedVideosPerUserData';
|
|
670
|
+
export type { WebexConfig } from './models/WebexConfig';
|
|
671
|
+
export type { WebexWebhook } from './models/WebexWebhook';
|
|
638
672
|
export type { WebResource } from './models/WebResource';
|
|
639
673
|
export type { WebResourceCard } from './models/WebResourceCard';
|
|
640
674
|
export type { WebResourcesQuery } from './models/WebResourcesQuery';
|
|
675
|
+
export type { WhatAppWebHook } from './models/WhatAppWebHook';
|
|
676
|
+
export type { WhatsappConfig } from './models/WhatsappConfig';
|
|
677
|
+
export type { WhatsappUserConfig } from './models/WhatsappUserConfig';
|
|
641
678
|
export type { WhitelistedDomain } from './models/WhitelistedDomain';
|
|
642
679
|
|
|
643
680
|
export { AiAccountService } from './services/AiAccountService';
|
|
644
681
|
export { AiAnalyticsService } from './services/AiAnalyticsService';
|
|
682
|
+
export { AiBotService } from './services/AiBotService';
|
|
683
|
+
export { AiFinetuningService } from './services/AiFinetuningService';
|
|
645
684
|
export { AiIndexService } from './services/AiIndexService';
|
|
646
685
|
export { AiMarketingService } from './services/AiMarketingService';
|
|
647
686
|
export { AiMediaService } from './services/AiMediaService';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Provider05cEnum } from './Provider05cEnum';
|
|
6
|
+
export type Bot = {
|
|
7
|
+
readonly id: number;
|
|
8
|
+
readonly platform: number;
|
|
9
|
+
readonly tenant: string;
|
|
10
|
+
name: string;
|
|
11
|
+
provider: Provider05cEnum;
|
|
12
|
+
readonly is_configured: boolean;
|
|
13
|
+
slack_config: number;
|
|
14
|
+
readonly discord_config: number;
|
|
15
|
+
readonly webex_config: number;
|
|
16
|
+
readonly whatsapp_config: number;
|
|
17
|
+
readonly teams_config: number;
|
|
18
|
+
readonly webhook_url: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Provider05cEnum } from './Provider05cEnum';
|
|
6
|
+
export type BotCreate = {
|
|
7
|
+
readonly id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
provider: Provider05cEnum;
|
|
10
|
+
readonly is_configured: boolean;
|
|
11
|
+
readonly webhook_url: string;
|
|
12
|
+
readonly discord_config: number;
|
|
13
|
+
readonly webex_config: number;
|
|
14
|
+
readonly whatsapp_config: number;
|
|
15
|
+
readonly teams_config: number;
|
|
16
|
+
};
|
|
17
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { DataSetStatusEnum } from './DataSetStatusEnum';
|
|
6
|
+
export type DataSet = {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly platform: Record<string, (string | number)> | null;
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
12
|
+
*/
|
|
13
|
+
prompt?: string;
|
|
14
|
+
source_url?: string;
|
|
15
|
+
source_file?: string;
|
|
16
|
+
status?: DataSetStatusEnum;
|
|
17
|
+
num_data_points?: number;
|
|
18
|
+
train_split?: number;
|
|
19
|
+
train_file?: string;
|
|
20
|
+
test_file?: string;
|
|
21
|
+
retry_attempts?: number;
|
|
22
|
+
error_log?: string;
|
|
23
|
+
readonly date_created: string;
|
|
24
|
+
readonly last_modified: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type DataSetCreate = {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
source_url?: string;
|
|
9
|
+
source_file?: string;
|
|
10
|
+
num_data_points?: number;
|
|
11
|
+
train_split?: number;
|
|
12
|
+
/**
|
|
13
|
+
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
14
|
+
*/
|
|
15
|
+
prompt?: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
@@ -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
|
+
* * `pending` - Pending
|
|
7
|
+
* * `processing` - Processing
|
|
8
|
+
* * `completed` - Completed
|
|
9
|
+
* * `failed` - Failed
|
|
10
|
+
*/
|
|
11
|
+
export enum DataSetStatusEnum {
|
|
12
|
+
PENDING = 'pending',
|
|
13
|
+
PROCESSING = 'processing',
|
|
14
|
+
COMPLETED = 'completed',
|
|
15
|
+
FAILED = 'failed',
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type DiscordConfig = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
readonly bot: number;
|
|
8
|
+
client_id: string;
|
|
9
|
+
token: string;
|
|
10
|
+
client_secret: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type DiscordUserConfig = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
/**
|
|
8
|
+
* edX user ID
|
|
9
|
+
*/
|
|
10
|
+
readonly user: number;
|
|
11
|
+
discord_user_id: string;
|
|
12
|
+
readonly date_created: string;
|
|
13
|
+
readonly last_modified: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -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 { DataSet } from './DataSet';
|
|
6
|
+
export type PaginatedDataSetList = {
|
|
7
|
+
count: number;
|
|
8
|
+
next?: string | null;
|
|
9
|
+
previous?: string | null;
|
|
10
|
+
results: Array<DataSet>;
|
|
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 { Training } from './Training';
|
|
6
|
+
export type PaginatedTrainingList = {
|
|
7
|
+
count: number;
|
|
8
|
+
next?: string | null;
|
|
9
|
+
previous?: string | null;
|
|
10
|
+
results: Array<Training>;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PatchedBotCommand = {
|
|
6
|
+
readonly id?: number;
|
|
7
|
+
command?: string;
|
|
8
|
+
mentor?: number;
|
|
9
|
+
bot?: number;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Provider05cEnum } from './Provider05cEnum';
|
|
6
|
+
export type PatchedBotCreate = {
|
|
7
|
+
readonly id?: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
provider?: Provider05cEnum;
|
|
10
|
+
readonly is_configured?: boolean;
|
|
11
|
+
readonly webhook_url?: string;
|
|
12
|
+
readonly discord_config?: number;
|
|
13
|
+
readonly webex_config?: number;
|
|
14
|
+
readonly whatsapp_config?: number;
|
|
15
|
+
readonly teams_config?: number;
|
|
16
|
+
};
|
|
17
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { DataSetStatusEnum } from './DataSetStatusEnum';
|
|
6
|
+
export type PatchedDataSet = {
|
|
7
|
+
readonly id?: string;
|
|
8
|
+
readonly platform?: Record<string, (string | number)> | null;
|
|
9
|
+
name?: string;
|
|
10
|
+
/**
|
|
11
|
+
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
12
|
+
*/
|
|
13
|
+
prompt?: string;
|
|
14
|
+
source_url?: string;
|
|
15
|
+
source_file?: string;
|
|
16
|
+
status?: DataSetStatusEnum;
|
|
17
|
+
num_data_points?: number;
|
|
18
|
+
train_split?: number;
|
|
19
|
+
train_file?: string;
|
|
20
|
+
test_file?: string;
|
|
21
|
+
retry_attempts?: number;
|
|
22
|
+
error_log?: string;
|
|
23
|
+
readonly date_created?: string;
|
|
24
|
+
readonly last_modified?: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PatchedDiscordConfig = {
|
|
6
|
+
readonly id?: number;
|
|
7
|
+
readonly bot?: number;
|
|
8
|
+
client_id?: string;
|
|
9
|
+
token?: string;
|
|
10
|
+
client_secret?: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PatchedDiscordUserConfig = {
|
|
6
|
+
readonly id?: number;
|
|
7
|
+
/**
|
|
8
|
+
* edX user ID
|
|
9
|
+
*/
|
|
10
|
+
readonly user?: number;
|
|
11
|
+
discord_user_id?: string;
|
|
12
|
+
readonly date_created?: string;
|
|
13
|
+
readonly last_modified?: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -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 PatchedSlackConfig = {
|
|
6
|
+
readonly id?: number;
|
|
7
|
+
bot?: number;
|
|
8
|
+
client_id?: string;
|
|
9
|
+
client_secret?: string;
|
|
10
|
+
app_token?: string;
|
|
11
|
+
verification_token?: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -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 PatchedSlackUserConfig = {
|
|
6
|
+
readonly id?: number;
|
|
7
|
+
/**
|
|
8
|
+
* edX user ID
|
|
9
|
+
*/
|
|
10
|
+
readonly user?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Team Domain in the stated slack workspace. This is also the workspace name.
|
|
13
|
+
*/
|
|
14
|
+
slack_team_domain?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Username in the stated slack workspace
|
|
17
|
+
*/
|
|
18
|
+
slack_username?: string;
|
|
19
|
+
readonly date_created?: string;
|
|
20
|
+
readonly last_modified?: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PatchedTeamsConfig = {
|
|
6
|
+
readonly id?: number;
|
|
7
|
+
readonly bot?: number;
|
|
8
|
+
client_id?: string;
|
|
9
|
+
client_secret?: string;
|
|
10
|
+
verification_token?: string;
|
|
11
|
+
};
|
|
12
|
+
|