@iblai/iblai-api 4.6.2-ai → 4.6.2-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 +1394 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1393 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1394 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +39 -0
- 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/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 +642 -0
- package/dist/types/services/AiFinetuningService.d.ts +232 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +39 -0
- 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/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 +1330 -0
- package/src/services/AiFinetuningService.ts +472 -0
|
@@ -0,0 +1,232 @@
|
|
|
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
|
+
* @returns PaginatedDataSetList
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
static aiFinetuningV1OrgUserDatasetsList({ org, username, dateCreated, numDataPoints, ordering, page, pageSize, retryAttempts, search, status, }: {
|
|
17
|
+
org: string;
|
|
18
|
+
username: string;
|
|
19
|
+
dateCreated?: string;
|
|
20
|
+
numDataPoints?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Which field to use when ordering the results.
|
|
23
|
+
*/
|
|
24
|
+
ordering?: string;
|
|
25
|
+
/**
|
|
26
|
+
* A page number within the paginated result set.
|
|
27
|
+
*/
|
|
28
|
+
page?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Number of results to return per page.
|
|
31
|
+
*/
|
|
32
|
+
pageSize?: number;
|
|
33
|
+
retryAttempts?: number;
|
|
34
|
+
/**
|
|
35
|
+
* A search term.
|
|
36
|
+
*/
|
|
37
|
+
search?: string;
|
|
38
|
+
/**
|
|
39
|
+
* * `pending` - Pending
|
|
40
|
+
* * `processing` - Processing
|
|
41
|
+
* * `completed` - Completed
|
|
42
|
+
* * `failed` - Failed
|
|
43
|
+
*/
|
|
44
|
+
status?: 'completed' | 'failed' | 'pending' | 'processing';
|
|
45
|
+
}): CancelablePromise<PaginatedDataSetList>;
|
|
46
|
+
/**
|
|
47
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
48
|
+
* @returns DataSetCreate
|
|
49
|
+
* @throws ApiError
|
|
50
|
+
*/
|
|
51
|
+
static aiFinetuningV1OrgUserDatasetsCreate({ org, username, requestBody, }: {
|
|
52
|
+
org: string;
|
|
53
|
+
username: string;
|
|
54
|
+
requestBody: DataSetCreate;
|
|
55
|
+
}): CancelablePromise<DataSetCreate>;
|
|
56
|
+
/**
|
|
57
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
58
|
+
* @returns DataSet
|
|
59
|
+
* @throws ApiError
|
|
60
|
+
*/
|
|
61
|
+
static aiFinetuningV1OrgUserDatasetsRetrieve({ id, org, username, }: {
|
|
62
|
+
/**
|
|
63
|
+
* A UUID string identifying this data set.
|
|
64
|
+
*/
|
|
65
|
+
id: string;
|
|
66
|
+
org: string;
|
|
67
|
+
username: string;
|
|
68
|
+
}): CancelablePromise<DataSet>;
|
|
69
|
+
/**
|
|
70
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
71
|
+
* @returns DataSet
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
static aiFinetuningV1OrgUserDatasetsUpdate({ id, org, username, requestBody, }: {
|
|
75
|
+
/**
|
|
76
|
+
* A UUID string identifying this data set.
|
|
77
|
+
*/
|
|
78
|
+
id: string;
|
|
79
|
+
org: string;
|
|
80
|
+
username: string;
|
|
81
|
+
requestBody: DataSet;
|
|
82
|
+
}): CancelablePromise<DataSet>;
|
|
83
|
+
/**
|
|
84
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
85
|
+
* @returns DataSet
|
|
86
|
+
* @throws ApiError
|
|
87
|
+
*/
|
|
88
|
+
static aiFinetuningV1OrgUserDatasetsPartialUpdate({ id, org, username, requestBody, }: {
|
|
89
|
+
/**
|
|
90
|
+
* A UUID string identifying this data set.
|
|
91
|
+
*/
|
|
92
|
+
id: string;
|
|
93
|
+
org: string;
|
|
94
|
+
username: string;
|
|
95
|
+
requestBody?: PatchedDataSet;
|
|
96
|
+
}): CancelablePromise<DataSet>;
|
|
97
|
+
/**
|
|
98
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
99
|
+
* @returns void
|
|
100
|
+
* @throws ApiError
|
|
101
|
+
*/
|
|
102
|
+
static aiFinetuningV1OrgUserDatasetsDestroy({ id, org, username, }: {
|
|
103
|
+
/**
|
|
104
|
+
* A UUID string identifying this data set.
|
|
105
|
+
*/
|
|
106
|
+
id: string;
|
|
107
|
+
org: string;
|
|
108
|
+
username: string;
|
|
109
|
+
}): CancelablePromise<void>;
|
|
110
|
+
/**
|
|
111
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
112
|
+
* @returns PaginatedTrainingList
|
|
113
|
+
* @throws ApiError
|
|
114
|
+
*/
|
|
115
|
+
static aiFinetuningV1OrgUserTrainingsList({ org, username, baseModelName, dataset, dateCreated, fineTunedModel, lastModified, ordering, page, pageSize, preprocessDataset, provider, search, status, }: {
|
|
116
|
+
org: string;
|
|
117
|
+
username: string;
|
|
118
|
+
baseModelName?: string;
|
|
119
|
+
dataset?: string;
|
|
120
|
+
dateCreated?: string;
|
|
121
|
+
fineTunedModel?: string;
|
|
122
|
+
lastModified?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Which field to use when ordering the results.
|
|
125
|
+
*/
|
|
126
|
+
ordering?: string;
|
|
127
|
+
/**
|
|
128
|
+
* A page number within the paginated result set.
|
|
129
|
+
*/
|
|
130
|
+
page?: number;
|
|
131
|
+
/**
|
|
132
|
+
* Number of results to return per page.
|
|
133
|
+
*/
|
|
134
|
+
pageSize?: number;
|
|
135
|
+
preprocessDataset?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* * `openai` - Openai
|
|
138
|
+
*/
|
|
139
|
+
provider?: 'openai';
|
|
140
|
+
/**
|
|
141
|
+
* A search term.
|
|
142
|
+
*/
|
|
143
|
+
search?: string;
|
|
144
|
+
/**
|
|
145
|
+
* * `pending` - Pending
|
|
146
|
+
* * `processing` - Processing
|
|
147
|
+
* * `completed` - Completed
|
|
148
|
+
* * `cancelled` - Cancelled
|
|
149
|
+
* * `failed` - Failed
|
|
150
|
+
*/
|
|
151
|
+
status?: 'cancelled' | 'completed' | 'failed' | 'pending' | 'processing';
|
|
152
|
+
}): CancelablePromise<PaginatedTrainingList>;
|
|
153
|
+
/**
|
|
154
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
155
|
+
* @returns TrainingCreate
|
|
156
|
+
* @throws ApiError
|
|
157
|
+
*/
|
|
158
|
+
static aiFinetuningV1OrgUserTrainingsCreate({ org, username, requestBody, }: {
|
|
159
|
+
org: string;
|
|
160
|
+
username: string;
|
|
161
|
+
requestBody: TrainingCreate;
|
|
162
|
+
}): CancelablePromise<TrainingCreate>;
|
|
163
|
+
/**
|
|
164
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
165
|
+
* @returns Training
|
|
166
|
+
* @throws ApiError
|
|
167
|
+
*/
|
|
168
|
+
static aiFinetuningV1OrgUserTrainingsRetrieve({ id, org, username, }: {
|
|
169
|
+
/**
|
|
170
|
+
* A UUID string identifying this training.
|
|
171
|
+
*/
|
|
172
|
+
id: string;
|
|
173
|
+
org: string;
|
|
174
|
+
username: string;
|
|
175
|
+
}): CancelablePromise<Training>;
|
|
176
|
+
/**
|
|
177
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
178
|
+
* @returns TrainingCreate
|
|
179
|
+
* @throws ApiError
|
|
180
|
+
*/
|
|
181
|
+
static aiFinetuningV1OrgUserTrainingsUpdate({ id, org, username, requestBody, }: {
|
|
182
|
+
/**
|
|
183
|
+
* A UUID string identifying this training.
|
|
184
|
+
*/
|
|
185
|
+
id: string;
|
|
186
|
+
org: string;
|
|
187
|
+
username: string;
|
|
188
|
+
requestBody: TrainingCreate;
|
|
189
|
+
}): CancelablePromise<TrainingCreate>;
|
|
190
|
+
/**
|
|
191
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
192
|
+
* @returns TrainingCreate
|
|
193
|
+
* @throws ApiError
|
|
194
|
+
*/
|
|
195
|
+
static aiFinetuningV1OrgUserTrainingsPartialUpdate({ id, org, username, requestBody, }: {
|
|
196
|
+
/**
|
|
197
|
+
* A UUID string identifying this training.
|
|
198
|
+
*/
|
|
199
|
+
id: string;
|
|
200
|
+
org: string;
|
|
201
|
+
username: string;
|
|
202
|
+
requestBody?: PatchedTrainingCreate;
|
|
203
|
+
}): CancelablePromise<TrainingCreate>;
|
|
204
|
+
/**
|
|
205
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
206
|
+
* @returns void
|
|
207
|
+
* @throws ApiError
|
|
208
|
+
*/
|
|
209
|
+
static aiFinetuningV1OrgUserTrainingsDestroy({ id, org, username, }: {
|
|
210
|
+
/**
|
|
211
|
+
* A UUID string identifying this training.
|
|
212
|
+
*/
|
|
213
|
+
id: string;
|
|
214
|
+
org: string;
|
|
215
|
+
username: string;
|
|
216
|
+
}): CancelablePromise<void>;
|
|
217
|
+
/**
|
|
218
|
+
* Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
|
|
219
|
+
* Filtering and pagination is allowed.
|
|
220
|
+
*
|
|
221
|
+
* NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
|
|
222
|
+
* training list endpoint.
|
|
223
|
+
* Returns:
|
|
224
|
+
* Response: A paginated response containing the serialized fine-tuned models.
|
|
225
|
+
* @returns Training
|
|
226
|
+
* @throws ApiError
|
|
227
|
+
*/
|
|
228
|
+
static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({ org, username, }: {
|
|
229
|
+
org: string;
|
|
230
|
+
username: string;
|
|
231
|
+
}): CancelablePromise<Training>;
|
|
232
|
+
}
|
package/package.json
CHANGED
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -48,6 +48,9 @@ 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';
|
|
51
54
|
export type { BulkCourseInvitationCreate } from './models/BulkCourseInvitationCreate';
|
|
52
55
|
export type { BulkCourseInvitationResponse } from './models/BulkCourseInvitationResponse';
|
|
53
56
|
export type { BulkCreateAssertion } from './models/BulkCreateAssertion';
|
|
@@ -142,6 +145,9 @@ export type { Credential } from './models/Credential';
|
|
|
142
145
|
export type { CredentialRequest } from './models/CredentialRequest';
|
|
143
146
|
export type { CrontabSchedule } from './models/CrontabSchedule';
|
|
144
147
|
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';
|
|
145
151
|
export type { DateRange } from './models/DateRange';
|
|
146
152
|
export type { DesiredRole } from './models/DesiredRole';
|
|
147
153
|
export type { DesiredRoleCreateUpdateRequest } from './models/DesiredRoleCreateUpdateRequest';
|
|
@@ -150,6 +156,9 @@ export type { DesiredSkillCreateUpdateRequest } from './models/DesiredSkillCreat
|
|
|
150
156
|
export type { DetailedGradeSubsection } from './models/DetailedGradeSubsection';
|
|
151
157
|
export type { DetailedGradeView } from './models/DetailedGradeView';
|
|
152
158
|
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';
|
|
153
162
|
export type { Document } from './models/Document';
|
|
154
163
|
export type { DocumentFacet } from './models/DocumentFacet';
|
|
155
164
|
export type { DocumentSearchResponse } from './models/DocumentSearchResponse';
|
|
@@ -306,6 +315,7 @@ export type { PaginatedCourseLicense } from './models/PaginatedCourseLicense';
|
|
|
306
315
|
export type { PaginatedCourseLicenseAssignment } from './models/PaginatedCourseLicenseAssignment';
|
|
307
316
|
export type { PaginatedCourseLicenseGroupAssignment } from './models/PaginatedCourseLicenseGroupAssignment';
|
|
308
317
|
export type { PaginatedCourseSuggestion } from './models/PaginatedCourseSuggestion';
|
|
318
|
+
export type { PaginatedDataSetList } from './models/PaginatedDataSetList';
|
|
309
319
|
export type { PaginatedEdxCourseList } from './models/PaginatedEdxCourseList';
|
|
310
320
|
export type { PaginatedEmailPromptListList } from './models/PaginatedEmailPromptListList';
|
|
311
321
|
export type { PaginatedHeygenMarketingVideoListList } from './models/PaginatedHeygenMarketingVideoListList';
|
|
@@ -339,6 +349,7 @@ export type { PaginatedSubSectionList } from './models/PaginatedSubSectionList';
|
|
|
339
349
|
export type { PaginatedTicketMessageList } from './models/PaginatedTicketMessageList';
|
|
340
350
|
export type { PaginatedTopicStatisticsResponse } from './models/PaginatedTopicStatisticsResponse';
|
|
341
351
|
export type { PaginatedTraceList } from './models/PaginatedTraceList';
|
|
352
|
+
export type { PaginatedTrainingList } from './models/PaginatedTrainingList';
|
|
342
353
|
export type { PaginatedUnitList } from './models/PaginatedUnitList';
|
|
343
354
|
export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
|
|
344
355
|
export type { PaginatedUserEdxMemoryList } from './models/PaginatedUserEdxMemoryList';
|
|
@@ -348,10 +359,15 @@ export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUser
|
|
|
348
359
|
export type { PaginatedUserMemoryList } from './models/PaginatedUserMemoryList';
|
|
349
360
|
export type { PaginatedVoiceList } from './models/PaginatedVoiceList';
|
|
350
361
|
export type { Pagination } from './models/Pagination';
|
|
362
|
+
export type { PatchedBotCommand } from './models/PatchedBotCommand';
|
|
363
|
+
export type { PatchedBotCreate } from './models/PatchedBotCreate';
|
|
351
364
|
export type { PatchedCallConfiguration } from './models/PatchedCallConfiguration';
|
|
352
365
|
export type { PatchedConversations } from './models/PatchedConversations';
|
|
353
366
|
export type { PatchedCourseCreationTaskFile } from './models/PatchedCourseCreationTaskFile';
|
|
354
367
|
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';
|
|
355
371
|
export type { PatchedHumanSupportTicket } from './models/PatchedHumanSupportTicket';
|
|
356
372
|
export type { PatchedLLMCredentialRequest } from './models/PatchedLLMCredentialRequest';
|
|
357
373
|
export type { PatchedMCPServer } from './models/PatchedMCPServer';
|
|
@@ -368,9 +384,16 @@ export type { PatchedRbacPolicy } from './models/PatchedRbacPolicy';
|
|
|
368
384
|
export type { PatchedRbacRole } from './models/PatchedRbacRole';
|
|
369
385
|
export type { PatchedSection } from './models/PatchedSection';
|
|
370
386
|
export type { PatchedSkillThreshold } from './models/PatchedSkillThreshold';
|
|
387
|
+
export type { PatchedSlackConfig } from './models/PatchedSlackConfig';
|
|
388
|
+
export type { PatchedSlackUserConfig } from './models/PatchedSlackUserConfig';
|
|
371
389
|
export type { PatchedSubSection } from './models/PatchedSubSection';
|
|
390
|
+
export type { PatchedTeamsConfig } from './models/PatchedTeamsConfig';
|
|
372
391
|
export type { PatchedTicketMessage } from './models/PatchedTicketMessage';
|
|
392
|
+
export type { PatchedTrainingCreate } from './models/PatchedTrainingCreate';
|
|
373
393
|
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';
|
|
374
397
|
export type { Pathway } from './models/Pathway';
|
|
375
398
|
export type { PathwayCompletionResponse } from './models/PathwayCompletionResponse';
|
|
376
399
|
export type { PathwayCreateUpdateRequest } from './models/PathwayCreateUpdateRequest';
|
|
@@ -473,7 +496,9 @@ export type { PromptCategory } from './models/PromptCategory';
|
|
|
473
496
|
export type { PromptFacet } from './models/PromptFacet';
|
|
474
497
|
export type { PromptSearchResponse } from './models/PromptSearchResponse';
|
|
475
498
|
export { PromptVisibilityEnum } from './models/PromptVisibilityEnum';
|
|
499
|
+
export { Provider05cEnum } from './models/Provider05cEnum';
|
|
476
500
|
export { Provider637Enum } from './models/Provider637Enum';
|
|
501
|
+
export { Provider63aEnum } from './models/Provider63aEnum';
|
|
477
502
|
export type { QuestionCardTag } from './models/QuestionCardTag';
|
|
478
503
|
export type { QuestionRequest } from './models/QuestionRequest';
|
|
479
504
|
export type { QuestionResponse } from './models/QuestionResponse';
|
|
@@ -547,6 +572,9 @@ export type { SkillCreateUpdateRequest } from './models/SkillCreateUpdateRequest
|
|
|
547
572
|
export type { SkillDetail } from './models/SkillDetail';
|
|
548
573
|
export type { SkillInfo } from './models/SkillInfo';
|
|
549
574
|
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';
|
|
550
578
|
export type { SpacedRepetitionLearningPath } from './models/SpacedRepetitionLearningPath';
|
|
551
579
|
export type { SpacedRepetitionQuestionStats } from './models/SpacedRepetitionQuestionStats';
|
|
552
580
|
export type { StarMentor } from './models/StarMentor';
|
|
@@ -574,6 +602,8 @@ export type { SubTimeChild } from './models/SubTimeChild';
|
|
|
574
602
|
export type { TagsView } from './models/TagsView';
|
|
575
603
|
export { TargetSystemEnum } from './models/TargetSystemEnum';
|
|
576
604
|
export type { TaskView } from './models/TaskView';
|
|
605
|
+
export type { TeamsConfig } from './models/TeamsConfig';
|
|
606
|
+
export type { TeamsWebhook } from './models/TeamsWebhook';
|
|
577
607
|
export type { TemplateMentor } from './models/TemplateMentor';
|
|
578
608
|
export type { TenantLaunchError } from './models/TenantLaunchError';
|
|
579
609
|
export type { TenantLaunchFailed } from './models/TenantLaunchFailed';
|
|
@@ -609,6 +639,8 @@ export type { TrainChatSessionDocumentView } from './models/TrainChatSessionDocu
|
|
|
609
639
|
export type { TrainChatSessionDocumentViewRequest } from './models/TrainChatSessionDocumentViewRequest';
|
|
610
640
|
export type { TrainDocumentViewRequest } from './models/TrainDocumentViewRequest';
|
|
611
641
|
export type { TrainDocumentViewResponse } from './models/TrainDocumentViewResponse';
|
|
642
|
+
export type { Training } from './models/Training';
|
|
643
|
+
export type { TrainingCreate } from './models/TrainingCreate';
|
|
612
644
|
export { TrainingStatusEnum } from './models/TrainingStatusEnum';
|
|
613
645
|
export { TransportEnum } from './models/TransportEnum';
|
|
614
646
|
export type { TrendEntry } from './models/TrendEntry';
|
|
@@ -686,13 +718,20 @@ export type { WatchedVideosPerCourse } from './models/WatchedVideosPerCourse';
|
|
|
686
718
|
export type { WatchedVideosPerCourseData } from './models/WatchedVideosPerCourseData';
|
|
687
719
|
export type { WatchedVideosPerUser } from './models/WatchedVideosPerUser';
|
|
688
720
|
export type { WatchedVideosPerUserData } from './models/WatchedVideosPerUserData';
|
|
721
|
+
export type { WebexConfig } from './models/WebexConfig';
|
|
722
|
+
export type { WebexWebhook } from './models/WebexWebhook';
|
|
689
723
|
export type { WebResource } from './models/WebResource';
|
|
690
724
|
export type { WebResourceCard } from './models/WebResourceCard';
|
|
691
725
|
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';
|
|
692
729
|
export type { WhitelistedDomain } from './models/WhitelistedDomain';
|
|
693
730
|
|
|
694
731
|
export { AiAccountService } from './services/AiAccountService';
|
|
695
732
|
export { AiAnalyticsService } from './services/AiAnalyticsService';
|
|
733
|
+
export { AiBotService } from './services/AiBotService';
|
|
734
|
+
export { AiFinetuningService } from './services/AiFinetuningService';
|
|
696
735
|
export { AiIndexService } from './services/AiIndexService';
|
|
697
736
|
export { AiMarketingService } from './services/AiMarketingService';
|
|
698
737
|
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
|
+
|