@iblai/iblai-api 3.63.3-ai → 3.63.3-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 +1400 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1399 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1400 -7
- 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/{ProviderEnum.d.ts → Provider637Enum.d.ts} +1 -1
- 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/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 +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/{ProviderEnum.ts → Provider637Enum.ts} +1 -1
- 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/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
package/dist/index.cjs.js
CHANGED
|
@@ -110,7 +110,7 @@ class CancelablePromise {
|
|
|
110
110
|
|
|
111
111
|
const OpenAPI = {
|
|
112
112
|
BASE: 'https://base.manager.iblai.app',
|
|
113
|
-
VERSION: '3.63.3-ai',
|
|
113
|
+
VERSION: '3.63.3-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -259,6 +259,24 @@ exports.CrawlerPatternTypeEnum = void 0;
|
|
|
259
259
|
CrawlerPatternTypeEnum["REGEX"] = "regex";
|
|
260
260
|
})(exports.CrawlerPatternTypeEnum || (exports.CrawlerPatternTypeEnum = {}));
|
|
261
261
|
|
|
262
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
263
|
+
/* istanbul ignore file */
|
|
264
|
+
/* tslint:disable */
|
|
265
|
+
/* eslint-disable */
|
|
266
|
+
/**
|
|
267
|
+
* * `pending` - Pending
|
|
268
|
+
* * `processing` - Processing
|
|
269
|
+
* * `completed` - Completed
|
|
270
|
+
* * `failed` - Failed
|
|
271
|
+
*/
|
|
272
|
+
exports.DataSetStatusEnum = void 0;
|
|
273
|
+
(function (DataSetStatusEnum) {
|
|
274
|
+
DataSetStatusEnum["PENDING"] = "pending";
|
|
275
|
+
DataSetStatusEnum["PROCESSING"] = "processing";
|
|
276
|
+
DataSetStatusEnum["COMPLETED"] = "completed";
|
|
277
|
+
DataSetStatusEnum["FAILED"] = "failed";
|
|
278
|
+
})(exports.DataSetStatusEnum || (exports.DataSetStatusEnum = {}));
|
|
279
|
+
|
|
262
280
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
263
281
|
/* istanbul ignore file */
|
|
264
282
|
/* tslint:disable */
|
|
@@ -539,6 +557,26 @@ exports.PromptVisibilityEnum = void 0;
|
|
|
539
557
|
PromptVisibilityEnum["VIEWABLE_BY_ANYONE"] = "viewable_by_anyone";
|
|
540
558
|
})(exports.PromptVisibilityEnum || (exports.PromptVisibilityEnum = {}));
|
|
541
559
|
|
|
560
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
561
|
+
/* istanbul ignore file */
|
|
562
|
+
/* tslint:disable */
|
|
563
|
+
/* eslint-disable */
|
|
564
|
+
/**
|
|
565
|
+
* * `webex` - Webex
|
|
566
|
+
* * `slack` - Slack
|
|
567
|
+
* * `whatsapp` - Whatsapp
|
|
568
|
+
* * `discord` - Discord
|
|
569
|
+
* * `teams` - Teams
|
|
570
|
+
*/
|
|
571
|
+
exports.Provider05cEnum = void 0;
|
|
572
|
+
(function (Provider05cEnum) {
|
|
573
|
+
Provider05cEnum["WEBEX"] = "webex";
|
|
574
|
+
Provider05cEnum["SLACK"] = "slack";
|
|
575
|
+
Provider05cEnum["WHATSAPP"] = "whatsapp";
|
|
576
|
+
Provider05cEnum["DISCORD"] = "discord";
|
|
577
|
+
Provider05cEnum["TEAMS"] = "teams";
|
|
578
|
+
})(exports.Provider05cEnum || (exports.Provider05cEnum = {}));
|
|
579
|
+
|
|
542
580
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
543
581
|
/* istanbul ignore file */
|
|
544
582
|
/* tslint:disable */
|
|
@@ -548,12 +586,24 @@ exports.PromptVisibilityEnum = void 0;
|
|
|
548
586
|
* * `google` - Google
|
|
549
587
|
* * `elevenlabs` - Elevenlabs
|
|
550
588
|
*/
|
|
551
|
-
exports.
|
|
552
|
-
(function (
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
})(exports.
|
|
589
|
+
exports.Provider637Enum = void 0;
|
|
590
|
+
(function (Provider637Enum) {
|
|
591
|
+
Provider637Enum["OPENAI"] = "openai";
|
|
592
|
+
Provider637Enum["GOOGLE"] = "google";
|
|
593
|
+
Provider637Enum["ELEVENLABS"] = "elevenlabs";
|
|
594
|
+
})(exports.Provider637Enum || (exports.Provider637Enum = {}));
|
|
595
|
+
|
|
596
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
597
|
+
/* istanbul ignore file */
|
|
598
|
+
/* tslint:disable */
|
|
599
|
+
/* eslint-disable */
|
|
600
|
+
/**
|
|
601
|
+
* * `openai` - Openai
|
|
602
|
+
*/
|
|
603
|
+
exports.Provider63aEnum = void 0;
|
|
604
|
+
(function (Provider63aEnum) {
|
|
605
|
+
Provider63aEnum["OPENAI"] = "openai";
|
|
606
|
+
})(exports.Provider63aEnum || (exports.Provider63aEnum = {}));
|
|
557
607
|
|
|
558
608
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
559
609
|
/* istanbul ignore file */
|
|
@@ -9096,6 +9146,1347 @@ class AiAnalyticsService {
|
|
|
9096
9146
|
}
|
|
9097
9147
|
}
|
|
9098
9148
|
|
|
9149
|
+
class AiBotService {
|
|
9150
|
+
/**
|
|
9151
|
+
* Create modify and update bot information for a specific tenant.
|
|
9152
|
+
* @returns Bot
|
|
9153
|
+
* @throws ApiError
|
|
9154
|
+
*/
|
|
9155
|
+
static aiBotV1BotsBotList({
|
|
9156
|
+
org
|
|
9157
|
+
}) {
|
|
9158
|
+
return request(OpenAPI, {
|
|
9159
|
+
method: 'GET',
|
|
9160
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9161
|
+
path: {
|
|
9162
|
+
'org': org
|
|
9163
|
+
}
|
|
9164
|
+
});
|
|
9165
|
+
}
|
|
9166
|
+
/**
|
|
9167
|
+
* Create modify and update bot information for a specific tenant.
|
|
9168
|
+
* @returns BotCreate
|
|
9169
|
+
* @throws ApiError
|
|
9170
|
+
*/
|
|
9171
|
+
static aiBotV1BotsBotCreate({
|
|
9172
|
+
org,
|
|
9173
|
+
requestBody
|
|
9174
|
+
}) {
|
|
9175
|
+
return request(OpenAPI, {
|
|
9176
|
+
method: 'POST',
|
|
9177
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9178
|
+
path: {
|
|
9179
|
+
'org': org
|
|
9180
|
+
},
|
|
9181
|
+
body: requestBody,
|
|
9182
|
+
mediaType: 'application/json'
|
|
9183
|
+
});
|
|
9184
|
+
}
|
|
9185
|
+
/**
|
|
9186
|
+
* Create slash commands for a specific bot
|
|
9187
|
+
* eg. /iblai-baseline
|
|
9188
|
+
* @returns BotCommand
|
|
9189
|
+
* @throws ApiError
|
|
9190
|
+
*/
|
|
9191
|
+
static aiBotV1BotsBotCommandsList({
|
|
9192
|
+
org
|
|
9193
|
+
}) {
|
|
9194
|
+
return request(OpenAPI, {
|
|
9195
|
+
method: 'GET',
|
|
9196
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9197
|
+
path: {
|
|
9198
|
+
'org': org
|
|
9199
|
+
}
|
|
9200
|
+
});
|
|
9201
|
+
}
|
|
9202
|
+
/**
|
|
9203
|
+
* Create slash commands for a specific bot
|
|
9204
|
+
* eg. /iblai-baseline
|
|
9205
|
+
* @returns BotCommand
|
|
9206
|
+
* @throws ApiError
|
|
9207
|
+
*/
|
|
9208
|
+
static aiBotV1BotsBotCommandsCreate({
|
|
9209
|
+
org,
|
|
9210
|
+
requestBody
|
|
9211
|
+
}) {
|
|
9212
|
+
return request(OpenAPI, {
|
|
9213
|
+
method: 'POST',
|
|
9214
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9215
|
+
path: {
|
|
9216
|
+
'org': org
|
|
9217
|
+
},
|
|
9218
|
+
body: requestBody,
|
|
9219
|
+
mediaType: 'application/json'
|
|
9220
|
+
});
|
|
9221
|
+
}
|
|
9222
|
+
/**
|
|
9223
|
+
* Create slash commands for a specific bot
|
|
9224
|
+
* eg. /iblai-baseline
|
|
9225
|
+
* @returns BotCommand
|
|
9226
|
+
* @throws ApiError
|
|
9227
|
+
*/
|
|
9228
|
+
static aiBotV1BotsBotCommandsRetrieve({
|
|
9229
|
+
id,
|
|
9230
|
+
org
|
|
9231
|
+
}) {
|
|
9232
|
+
return request(OpenAPI, {
|
|
9233
|
+
method: 'GET',
|
|
9234
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9235
|
+
path: {
|
|
9236
|
+
'id': id,
|
|
9237
|
+
'org': org
|
|
9238
|
+
}
|
|
9239
|
+
});
|
|
9240
|
+
}
|
|
9241
|
+
/**
|
|
9242
|
+
* Create slash commands for a specific bot
|
|
9243
|
+
* eg. /iblai-baseline
|
|
9244
|
+
* @returns BotCommand
|
|
9245
|
+
* @throws ApiError
|
|
9246
|
+
*/
|
|
9247
|
+
static aiBotV1BotsBotCommandsUpdate({
|
|
9248
|
+
id,
|
|
9249
|
+
org,
|
|
9250
|
+
requestBody
|
|
9251
|
+
}) {
|
|
9252
|
+
return request(OpenAPI, {
|
|
9253
|
+
method: 'PUT',
|
|
9254
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9255
|
+
path: {
|
|
9256
|
+
'id': id,
|
|
9257
|
+
'org': org
|
|
9258
|
+
},
|
|
9259
|
+
body: requestBody,
|
|
9260
|
+
mediaType: 'application/json'
|
|
9261
|
+
});
|
|
9262
|
+
}
|
|
9263
|
+
/**
|
|
9264
|
+
* Create slash commands for a specific bot
|
|
9265
|
+
* eg. /iblai-baseline
|
|
9266
|
+
* @returns BotCommand
|
|
9267
|
+
* @throws ApiError
|
|
9268
|
+
*/
|
|
9269
|
+
static aiBotV1BotsBotCommandsPartialUpdate({
|
|
9270
|
+
id,
|
|
9271
|
+
org,
|
|
9272
|
+
requestBody
|
|
9273
|
+
}) {
|
|
9274
|
+
return request(OpenAPI, {
|
|
9275
|
+
method: 'PATCH',
|
|
9276
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9277
|
+
path: {
|
|
9278
|
+
'id': id,
|
|
9279
|
+
'org': org
|
|
9280
|
+
},
|
|
9281
|
+
body: requestBody,
|
|
9282
|
+
mediaType: 'application/json'
|
|
9283
|
+
});
|
|
9284
|
+
}
|
|
9285
|
+
/**
|
|
9286
|
+
* Create slash commands for a specific bot
|
|
9287
|
+
* eg. /iblai-baseline
|
|
9288
|
+
* @returns void
|
|
9289
|
+
* @throws ApiError
|
|
9290
|
+
*/
|
|
9291
|
+
static aiBotV1BotsBotCommandsDestroy({
|
|
9292
|
+
id,
|
|
9293
|
+
org
|
|
9294
|
+
}) {
|
|
9295
|
+
return request(OpenAPI, {
|
|
9296
|
+
method: 'DELETE',
|
|
9297
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9298
|
+
path: {
|
|
9299
|
+
'id': id,
|
|
9300
|
+
'org': org
|
|
9301
|
+
}
|
|
9302
|
+
});
|
|
9303
|
+
}
|
|
9304
|
+
/**
|
|
9305
|
+
* Create modify and update bot information for a specific tenant.
|
|
9306
|
+
* @returns Bot
|
|
9307
|
+
* @throws ApiError
|
|
9308
|
+
*/
|
|
9309
|
+
static aiBotV1BotsBotRetrieve({
|
|
9310
|
+
id,
|
|
9311
|
+
org
|
|
9312
|
+
}) {
|
|
9313
|
+
return request(OpenAPI, {
|
|
9314
|
+
method: 'GET',
|
|
9315
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9316
|
+
path: {
|
|
9317
|
+
'id': id,
|
|
9318
|
+
'org': org
|
|
9319
|
+
}
|
|
9320
|
+
});
|
|
9321
|
+
}
|
|
9322
|
+
/**
|
|
9323
|
+
* Create modify and update bot information for a specific tenant.
|
|
9324
|
+
* @returns BotCreate
|
|
9325
|
+
* @throws ApiError
|
|
9326
|
+
*/
|
|
9327
|
+
static aiBotV1BotsBotUpdate({
|
|
9328
|
+
id,
|
|
9329
|
+
org,
|
|
9330
|
+
requestBody
|
|
9331
|
+
}) {
|
|
9332
|
+
return request(OpenAPI, {
|
|
9333
|
+
method: 'PUT',
|
|
9334
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9335
|
+
path: {
|
|
9336
|
+
'id': id,
|
|
9337
|
+
'org': org
|
|
9338
|
+
},
|
|
9339
|
+
body: requestBody,
|
|
9340
|
+
mediaType: 'application/json'
|
|
9341
|
+
});
|
|
9342
|
+
}
|
|
9343
|
+
/**
|
|
9344
|
+
* Create modify and update bot information for a specific tenant.
|
|
9345
|
+
* @returns BotCreate
|
|
9346
|
+
* @throws ApiError
|
|
9347
|
+
*/
|
|
9348
|
+
static aiBotV1BotsBotPartialUpdate({
|
|
9349
|
+
id,
|
|
9350
|
+
org,
|
|
9351
|
+
requestBody
|
|
9352
|
+
}) {
|
|
9353
|
+
return request(OpenAPI, {
|
|
9354
|
+
method: 'PATCH',
|
|
9355
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9356
|
+
path: {
|
|
9357
|
+
'id': id,
|
|
9358
|
+
'org': org
|
|
9359
|
+
},
|
|
9360
|
+
body: requestBody,
|
|
9361
|
+
mediaType: 'application/json'
|
|
9362
|
+
});
|
|
9363
|
+
}
|
|
9364
|
+
/**
|
|
9365
|
+
* Create modify and update bot information for a specific tenant.
|
|
9366
|
+
* @returns void
|
|
9367
|
+
* @throws ApiError
|
|
9368
|
+
*/
|
|
9369
|
+
static aiBotV1BotsBotDestroy({
|
|
9370
|
+
id,
|
|
9371
|
+
org
|
|
9372
|
+
}) {
|
|
9373
|
+
return request(OpenAPI, {
|
|
9374
|
+
method: 'DELETE',
|
|
9375
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9376
|
+
path: {
|
|
9377
|
+
'id': id,
|
|
9378
|
+
'org': org
|
|
9379
|
+
}
|
|
9380
|
+
});
|
|
9381
|
+
}
|
|
9382
|
+
/**
|
|
9383
|
+
* Create modify and update bot information for a specific tenant.
|
|
9384
|
+
* @returns DiscordConfig
|
|
9385
|
+
* @throws ApiError
|
|
9386
|
+
*/
|
|
9387
|
+
static aiBotV1BotsBotConfigDiscordRetrieve({
|
|
9388
|
+
id,
|
|
9389
|
+
org
|
|
9390
|
+
}) {
|
|
9391
|
+
return request(OpenAPI, {
|
|
9392
|
+
method: 'GET',
|
|
9393
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9394
|
+
path: {
|
|
9395
|
+
'id': id,
|
|
9396
|
+
'org': org
|
|
9397
|
+
}
|
|
9398
|
+
});
|
|
9399
|
+
}
|
|
9400
|
+
/**
|
|
9401
|
+
* Create modify and update bot information for a specific tenant.
|
|
9402
|
+
* @returns DiscordConfig
|
|
9403
|
+
* @throws ApiError
|
|
9404
|
+
*/
|
|
9405
|
+
static aiBotV1BotsBotConfigDiscordPartialUpdate({
|
|
9406
|
+
id,
|
|
9407
|
+
org,
|
|
9408
|
+
requestBody
|
|
9409
|
+
}) {
|
|
9410
|
+
return request(OpenAPI, {
|
|
9411
|
+
method: 'PATCH',
|
|
9412
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9413
|
+
path: {
|
|
9414
|
+
'id': id,
|
|
9415
|
+
'org': org
|
|
9416
|
+
},
|
|
9417
|
+
body: requestBody,
|
|
9418
|
+
mediaType: 'application/json'
|
|
9419
|
+
});
|
|
9420
|
+
}
|
|
9421
|
+
/**
|
|
9422
|
+
* Create modify and update bot information for a specific tenant.
|
|
9423
|
+
* @returns SlackConfig
|
|
9424
|
+
* @throws ApiError
|
|
9425
|
+
*/
|
|
9426
|
+
static aiBotV1BotsBotConfigSlackRetrieve({
|
|
9427
|
+
id,
|
|
9428
|
+
org
|
|
9429
|
+
}) {
|
|
9430
|
+
return request(OpenAPI, {
|
|
9431
|
+
method: 'GET',
|
|
9432
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
|
|
9433
|
+
path: {
|
|
9434
|
+
'id': id,
|
|
9435
|
+
'org': org
|
|
9436
|
+
}
|
|
9437
|
+
});
|
|
9438
|
+
}
|
|
9439
|
+
/**
|
|
9440
|
+
* Create modify and update bot information for a specific tenant.
|
|
9441
|
+
* @returns SlackConfig
|
|
9442
|
+
* @throws ApiError
|
|
9443
|
+
*/
|
|
9444
|
+
static aiBotV1BotsBotConfigSlackUpdateCreate({
|
|
9445
|
+
id,
|
|
9446
|
+
org,
|
|
9447
|
+
requestBody
|
|
9448
|
+
}) {
|
|
9449
|
+
return request(OpenAPI, {
|
|
9450
|
+
method: 'POST',
|
|
9451
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9452
|
+
path: {
|
|
9453
|
+
'id': id,
|
|
9454
|
+
'org': org
|
|
9455
|
+
},
|
|
9456
|
+
body: requestBody,
|
|
9457
|
+
mediaType: 'application/json'
|
|
9458
|
+
});
|
|
9459
|
+
}
|
|
9460
|
+
/**
|
|
9461
|
+
* Create modify and update bot information for a specific tenant.
|
|
9462
|
+
* @returns SlackConfig
|
|
9463
|
+
* @throws ApiError
|
|
9464
|
+
*/
|
|
9465
|
+
static aiBotV1BotsBotConfigSlackUpdateUpdate({
|
|
9466
|
+
id,
|
|
9467
|
+
org,
|
|
9468
|
+
requestBody
|
|
9469
|
+
}) {
|
|
9470
|
+
return request(OpenAPI, {
|
|
9471
|
+
method: 'PUT',
|
|
9472
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9473
|
+
path: {
|
|
9474
|
+
'id': id,
|
|
9475
|
+
'org': org
|
|
9476
|
+
},
|
|
9477
|
+
body: requestBody,
|
|
9478
|
+
mediaType: 'application/json'
|
|
9479
|
+
});
|
|
9480
|
+
}
|
|
9481
|
+
/**
|
|
9482
|
+
* Create modify and update bot information for a specific tenant.
|
|
9483
|
+
* @returns SlackConfig
|
|
9484
|
+
* @throws ApiError
|
|
9485
|
+
*/
|
|
9486
|
+
static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
|
|
9487
|
+
id,
|
|
9488
|
+
org,
|
|
9489
|
+
requestBody
|
|
9490
|
+
}) {
|
|
9491
|
+
return request(OpenAPI, {
|
|
9492
|
+
method: 'PATCH',
|
|
9493
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9494
|
+
path: {
|
|
9495
|
+
'id': id,
|
|
9496
|
+
'org': org
|
|
9497
|
+
},
|
|
9498
|
+
body: requestBody,
|
|
9499
|
+
mediaType: 'application/json'
|
|
9500
|
+
});
|
|
9501
|
+
}
|
|
9502
|
+
/**
|
|
9503
|
+
* Create modify and update bot information for a specific tenant.
|
|
9504
|
+
* @returns TeamsConfig
|
|
9505
|
+
* @throws ApiError
|
|
9506
|
+
*/
|
|
9507
|
+
static aiBotV1BotsBotConfigTeamsRetrieve({
|
|
9508
|
+
id,
|
|
9509
|
+
org
|
|
9510
|
+
}) {
|
|
9511
|
+
return request(OpenAPI, {
|
|
9512
|
+
method: 'GET',
|
|
9513
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
|
|
9514
|
+
path: {
|
|
9515
|
+
'id': id,
|
|
9516
|
+
'org': org
|
|
9517
|
+
}
|
|
9518
|
+
});
|
|
9519
|
+
}
|
|
9520
|
+
/**
|
|
9521
|
+
* Create modify and update bot information for a specific tenant.
|
|
9522
|
+
* @returns TeamsConfig
|
|
9523
|
+
* @throws ApiError
|
|
9524
|
+
*/
|
|
9525
|
+
static aiBotV1BotsBotConfigTeamsUpdateCreate({
|
|
9526
|
+
id,
|
|
9527
|
+
org,
|
|
9528
|
+
requestBody
|
|
9529
|
+
}) {
|
|
9530
|
+
return request(OpenAPI, {
|
|
9531
|
+
method: 'POST',
|
|
9532
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9533
|
+
path: {
|
|
9534
|
+
'id': id,
|
|
9535
|
+
'org': org
|
|
9536
|
+
},
|
|
9537
|
+
body: requestBody,
|
|
9538
|
+
mediaType: 'application/json'
|
|
9539
|
+
});
|
|
9540
|
+
}
|
|
9541
|
+
/**
|
|
9542
|
+
* Create modify and update bot information for a specific tenant.
|
|
9543
|
+
* @returns TeamsConfig
|
|
9544
|
+
* @throws ApiError
|
|
9545
|
+
*/
|
|
9546
|
+
static aiBotV1BotsBotConfigTeamsUpdateUpdate({
|
|
9547
|
+
id,
|
|
9548
|
+
org,
|
|
9549
|
+
requestBody
|
|
9550
|
+
}) {
|
|
9551
|
+
return request(OpenAPI, {
|
|
9552
|
+
method: 'PUT',
|
|
9553
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9554
|
+
path: {
|
|
9555
|
+
'id': id,
|
|
9556
|
+
'org': org
|
|
9557
|
+
},
|
|
9558
|
+
body: requestBody,
|
|
9559
|
+
mediaType: 'application/json'
|
|
9560
|
+
});
|
|
9561
|
+
}
|
|
9562
|
+
/**
|
|
9563
|
+
* Create modify and update bot information for a specific tenant.
|
|
9564
|
+
* @returns TeamsConfig
|
|
9565
|
+
* @throws ApiError
|
|
9566
|
+
*/
|
|
9567
|
+
static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
|
|
9568
|
+
id,
|
|
9569
|
+
org,
|
|
9570
|
+
requestBody
|
|
9571
|
+
}) {
|
|
9572
|
+
return request(OpenAPI, {
|
|
9573
|
+
method: 'PATCH',
|
|
9574
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9575
|
+
path: {
|
|
9576
|
+
'id': id,
|
|
9577
|
+
'org': org
|
|
9578
|
+
},
|
|
9579
|
+
body: requestBody,
|
|
9580
|
+
mediaType: 'application/json'
|
|
9581
|
+
});
|
|
9582
|
+
}
|
|
9583
|
+
/**
|
|
9584
|
+
* Create modify and update bot information for a specific tenant.
|
|
9585
|
+
* @returns WebexConfig
|
|
9586
|
+
* @throws ApiError
|
|
9587
|
+
*/
|
|
9588
|
+
static aiBotV1BotsBotConfigWebexRetrieve({
|
|
9589
|
+
id,
|
|
9590
|
+
org
|
|
9591
|
+
}) {
|
|
9592
|
+
return request(OpenAPI, {
|
|
9593
|
+
method: 'GET',
|
|
9594
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
9595
|
+
path: {
|
|
9596
|
+
'id': id,
|
|
9597
|
+
'org': org
|
|
9598
|
+
}
|
|
9599
|
+
});
|
|
9600
|
+
}
|
|
9601
|
+
/**
|
|
9602
|
+
* Create modify and update bot information for a specific tenant.
|
|
9603
|
+
* @returns WebexConfig
|
|
9604
|
+
* @throws ApiError
|
|
9605
|
+
*/
|
|
9606
|
+
static aiBotV1BotsBotConfigWebexPartialUpdate({
|
|
9607
|
+
id,
|
|
9608
|
+
org,
|
|
9609
|
+
requestBody
|
|
9610
|
+
}) {
|
|
9611
|
+
return request(OpenAPI, {
|
|
9612
|
+
method: 'PATCH',
|
|
9613
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
9614
|
+
path: {
|
|
9615
|
+
'id': id,
|
|
9616
|
+
'org': org
|
|
9617
|
+
},
|
|
9618
|
+
body: requestBody,
|
|
9619
|
+
mediaType: 'application/json'
|
|
9620
|
+
});
|
|
9621
|
+
}
|
|
9622
|
+
/**
|
|
9623
|
+
* Create modify and update bot information for a specific tenant.
|
|
9624
|
+
* @returns WhatsappConfig
|
|
9625
|
+
* @throws ApiError
|
|
9626
|
+
*/
|
|
9627
|
+
static aiBotV1BotsBotConfigWhatsappRetrieve({
|
|
9628
|
+
id,
|
|
9629
|
+
org
|
|
9630
|
+
}) {
|
|
9631
|
+
return request(OpenAPI, {
|
|
9632
|
+
method: 'GET',
|
|
9633
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
|
|
9634
|
+
path: {
|
|
9635
|
+
'id': id,
|
|
9636
|
+
'org': org
|
|
9637
|
+
}
|
|
9638
|
+
});
|
|
9639
|
+
}
|
|
9640
|
+
/**
|
|
9641
|
+
* Create modify and update bot information for a specific tenant.
|
|
9642
|
+
* @returns WhatsappConfig
|
|
9643
|
+
* @throws ApiError
|
|
9644
|
+
*/
|
|
9645
|
+
static aiBotV1BotsBotWhatsappConfigUpdate({
|
|
9646
|
+
id,
|
|
9647
|
+
org,
|
|
9648
|
+
requestBody
|
|
9649
|
+
}) {
|
|
9650
|
+
return request(OpenAPI, {
|
|
9651
|
+
method: 'PUT',
|
|
9652
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
9653
|
+
path: {
|
|
9654
|
+
'id': id,
|
|
9655
|
+
'org': org
|
|
9656
|
+
},
|
|
9657
|
+
body: requestBody,
|
|
9658
|
+
mediaType: 'application/json'
|
|
9659
|
+
});
|
|
9660
|
+
}
|
|
9661
|
+
/**
|
|
9662
|
+
* Create modify and update bot information for a specific tenant.
|
|
9663
|
+
* @returns WhatsappConfig
|
|
9664
|
+
* @throws ApiError
|
|
9665
|
+
*/
|
|
9666
|
+
static aiBotV1BotsBotWhatsappConfigPartialUpdate({
|
|
9667
|
+
id,
|
|
9668
|
+
org,
|
|
9669
|
+
requestBody
|
|
9670
|
+
}) {
|
|
9671
|
+
return request(OpenAPI, {
|
|
9672
|
+
method: 'PATCH',
|
|
9673
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
9674
|
+
path: {
|
|
9675
|
+
'id': id,
|
|
9676
|
+
'org': org
|
|
9677
|
+
},
|
|
9678
|
+
body: requestBody,
|
|
9679
|
+
mediaType: 'application/json'
|
|
9680
|
+
});
|
|
9681
|
+
}
|
|
9682
|
+
/**
|
|
9683
|
+
* Setup discord user id linkage with discord bots
|
|
9684
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9685
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9686
|
+
* @returns DiscordUserConfig
|
|
9687
|
+
* @throws ApiError
|
|
9688
|
+
*/
|
|
9689
|
+
static aiBotV1BotsDiscordUserConfigList({
|
|
9690
|
+
org
|
|
9691
|
+
}) {
|
|
9692
|
+
return request(OpenAPI, {
|
|
9693
|
+
method: 'GET',
|
|
9694
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
9695
|
+
path: {
|
|
9696
|
+
'org': org
|
|
9697
|
+
}
|
|
9698
|
+
});
|
|
9699
|
+
}
|
|
9700
|
+
/**
|
|
9701
|
+
* Setup discord user id linkage with discord bots
|
|
9702
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9703
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9704
|
+
* @returns DiscordUserConfig
|
|
9705
|
+
* @throws ApiError
|
|
9706
|
+
*/
|
|
9707
|
+
static aiBotV1BotsDiscordUserConfigCreate({
|
|
9708
|
+
org,
|
|
9709
|
+
requestBody
|
|
9710
|
+
}) {
|
|
9711
|
+
return request(OpenAPI, {
|
|
9712
|
+
method: 'POST',
|
|
9713
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
9714
|
+
path: {
|
|
9715
|
+
'org': org
|
|
9716
|
+
},
|
|
9717
|
+
body: requestBody,
|
|
9718
|
+
mediaType: 'application/json'
|
|
9719
|
+
});
|
|
9720
|
+
}
|
|
9721
|
+
/**
|
|
9722
|
+
* Setup discord user id linkage with discord bots
|
|
9723
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9724
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9725
|
+
* @returns DiscordUserConfig
|
|
9726
|
+
* @throws ApiError
|
|
9727
|
+
*/
|
|
9728
|
+
static aiBotV1BotsDiscordUserConfigRetrieve({
|
|
9729
|
+
id,
|
|
9730
|
+
org
|
|
9731
|
+
}) {
|
|
9732
|
+
return request(OpenAPI, {
|
|
9733
|
+
method: 'GET',
|
|
9734
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9735
|
+
path: {
|
|
9736
|
+
'id': id,
|
|
9737
|
+
'org': org
|
|
9738
|
+
}
|
|
9739
|
+
});
|
|
9740
|
+
}
|
|
9741
|
+
/**
|
|
9742
|
+
* Setup discord user id linkage with discord bots
|
|
9743
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9744
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9745
|
+
* @returns DiscordUserConfig
|
|
9746
|
+
* @throws ApiError
|
|
9747
|
+
*/
|
|
9748
|
+
static aiBotV1BotsDiscordUserConfigUpdate({
|
|
9749
|
+
id,
|
|
9750
|
+
org,
|
|
9751
|
+
requestBody
|
|
9752
|
+
}) {
|
|
9753
|
+
return request(OpenAPI, {
|
|
9754
|
+
method: 'PUT',
|
|
9755
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9756
|
+
path: {
|
|
9757
|
+
'id': id,
|
|
9758
|
+
'org': org
|
|
9759
|
+
},
|
|
9760
|
+
body: requestBody,
|
|
9761
|
+
mediaType: 'application/json'
|
|
9762
|
+
});
|
|
9763
|
+
}
|
|
9764
|
+
/**
|
|
9765
|
+
* Setup discord user id linkage with discord bots
|
|
9766
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9767
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9768
|
+
* @returns DiscordUserConfig
|
|
9769
|
+
* @throws ApiError
|
|
9770
|
+
*/
|
|
9771
|
+
static aiBotV1BotsDiscordUserConfigPartialUpdate({
|
|
9772
|
+
id,
|
|
9773
|
+
org,
|
|
9774
|
+
requestBody
|
|
9775
|
+
}) {
|
|
9776
|
+
return request(OpenAPI, {
|
|
9777
|
+
method: 'PATCH',
|
|
9778
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9779
|
+
path: {
|
|
9780
|
+
'id': id,
|
|
9781
|
+
'org': org
|
|
9782
|
+
},
|
|
9783
|
+
body: requestBody,
|
|
9784
|
+
mediaType: 'application/json'
|
|
9785
|
+
});
|
|
9786
|
+
}
|
|
9787
|
+
/**
|
|
9788
|
+
* Setup discord user id linkage with discord bots
|
|
9789
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9790
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9791
|
+
* @returns void
|
|
9792
|
+
* @throws ApiError
|
|
9793
|
+
*/
|
|
9794
|
+
static aiBotV1BotsDiscordUserConfigDestroy({
|
|
9795
|
+
id,
|
|
9796
|
+
org
|
|
9797
|
+
}) {
|
|
9798
|
+
return request(OpenAPI, {
|
|
9799
|
+
method: 'DELETE',
|
|
9800
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9801
|
+
path: {
|
|
9802
|
+
'id': id,
|
|
9803
|
+
'org': org
|
|
9804
|
+
}
|
|
9805
|
+
});
|
|
9806
|
+
}
|
|
9807
|
+
/**
|
|
9808
|
+
* Setup slack username and domain linkage with slack bots
|
|
9809
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
9810
|
+
* @returns SlackUserConfig
|
|
9811
|
+
* @throws ApiError
|
|
9812
|
+
*/
|
|
9813
|
+
static aiBotV1BotsSlackUserConfigList({
|
|
9814
|
+
org
|
|
9815
|
+
}) {
|
|
9816
|
+
return request(OpenAPI, {
|
|
9817
|
+
method: 'GET',
|
|
9818
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
9819
|
+
path: {
|
|
9820
|
+
'org': org
|
|
9821
|
+
}
|
|
9822
|
+
});
|
|
9823
|
+
}
|
|
9824
|
+
/**
|
|
9825
|
+
* Setup slack username and domain linkage with slack bots
|
|
9826
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
9827
|
+
* @returns SlackUserConfig
|
|
9828
|
+
* @throws ApiError
|
|
9829
|
+
*/
|
|
9830
|
+
static aiBotV1BotsSlackUserConfigCreate({
|
|
9831
|
+
org,
|
|
9832
|
+
requestBody
|
|
9833
|
+
}) {
|
|
9834
|
+
return request(OpenAPI, {
|
|
9835
|
+
method: 'POST',
|
|
9836
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
9837
|
+
path: {
|
|
9838
|
+
'org': org
|
|
9839
|
+
},
|
|
9840
|
+
body: requestBody,
|
|
9841
|
+
mediaType: 'application/json'
|
|
9842
|
+
});
|
|
9843
|
+
}
|
|
9844
|
+
/**
|
|
9845
|
+
* Setup slack username and domain linkage with slack bots
|
|
9846
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
9847
|
+
* @returns SlackUserConfig
|
|
9848
|
+
* @throws ApiError
|
|
9849
|
+
*/
|
|
9850
|
+
static aiBotV1BotsSlackUserConfigRetrieve({
|
|
9851
|
+
id,
|
|
9852
|
+
org
|
|
9853
|
+
}) {
|
|
9854
|
+
return request(OpenAPI, {
|
|
9855
|
+
method: 'GET',
|
|
9856
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9857
|
+
path: {
|
|
9858
|
+
'id': id,
|
|
9859
|
+
'org': org
|
|
9860
|
+
}
|
|
9861
|
+
});
|
|
9862
|
+
}
|
|
9863
|
+
/**
|
|
9864
|
+
* Setup slack username and domain linkage with slack bots
|
|
9865
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
9866
|
+
* @returns SlackUserConfig
|
|
9867
|
+
* @throws ApiError
|
|
9868
|
+
*/
|
|
9869
|
+
static aiBotV1BotsSlackUserConfigUpdate({
|
|
9870
|
+
id,
|
|
9871
|
+
org,
|
|
9872
|
+
requestBody
|
|
9873
|
+
}) {
|
|
9874
|
+
return request(OpenAPI, {
|
|
9875
|
+
method: 'PUT',
|
|
9876
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9877
|
+
path: {
|
|
9878
|
+
'id': id,
|
|
9879
|
+
'org': org
|
|
9880
|
+
},
|
|
9881
|
+
body: requestBody,
|
|
9882
|
+
mediaType: 'application/json'
|
|
9883
|
+
});
|
|
9884
|
+
}
|
|
9885
|
+
/**
|
|
9886
|
+
* Setup slack username and domain linkage with slack bots
|
|
9887
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
9888
|
+
* @returns SlackUserConfig
|
|
9889
|
+
* @throws ApiError
|
|
9890
|
+
*/
|
|
9891
|
+
static aiBotV1BotsSlackUserConfigPartialUpdate({
|
|
9892
|
+
id,
|
|
9893
|
+
org,
|
|
9894
|
+
requestBody
|
|
9895
|
+
}) {
|
|
9896
|
+
return request(OpenAPI, {
|
|
9897
|
+
method: 'PATCH',
|
|
9898
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9899
|
+
path: {
|
|
9900
|
+
'id': id,
|
|
9901
|
+
'org': org
|
|
9902
|
+
},
|
|
9903
|
+
body: requestBody,
|
|
9904
|
+
mediaType: 'application/json'
|
|
9905
|
+
});
|
|
9906
|
+
}
|
|
9907
|
+
/**
|
|
9908
|
+
* Setup slack username and domain linkage with slack bots
|
|
9909
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
9910
|
+
* @returns void
|
|
9911
|
+
* @throws ApiError
|
|
9912
|
+
*/
|
|
9913
|
+
static aiBotV1BotsSlackUserConfigDestroy({
|
|
9914
|
+
id,
|
|
9915
|
+
org
|
|
9916
|
+
}) {
|
|
9917
|
+
return request(OpenAPI, {
|
|
9918
|
+
method: 'DELETE',
|
|
9919
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9920
|
+
path: {
|
|
9921
|
+
'id': id,
|
|
9922
|
+
'org': org
|
|
9923
|
+
}
|
|
9924
|
+
});
|
|
9925
|
+
}
|
|
9926
|
+
/**
|
|
9927
|
+
* Setup phone number linkage with whatsapp bots
|
|
9928
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9929
|
+
* @returns WhatsappUserConfig
|
|
9930
|
+
* @throws ApiError
|
|
9931
|
+
*/
|
|
9932
|
+
static aiBotV1BotsWhatsappUserConfigList({
|
|
9933
|
+
org
|
|
9934
|
+
}) {
|
|
9935
|
+
return request(OpenAPI, {
|
|
9936
|
+
method: 'GET',
|
|
9937
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
9938
|
+
path: {
|
|
9939
|
+
'org': org
|
|
9940
|
+
}
|
|
9941
|
+
});
|
|
9942
|
+
}
|
|
9943
|
+
/**
|
|
9944
|
+
* Setup phone number linkage with whatsapp bots
|
|
9945
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9946
|
+
* @returns WhatsappUserConfig
|
|
9947
|
+
* @throws ApiError
|
|
9948
|
+
*/
|
|
9949
|
+
static aiBotV1BotsWhatsappUserConfigCreate({
|
|
9950
|
+
org,
|
|
9951
|
+
requestBody
|
|
9952
|
+
}) {
|
|
9953
|
+
return request(OpenAPI, {
|
|
9954
|
+
method: 'POST',
|
|
9955
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
9956
|
+
path: {
|
|
9957
|
+
'org': org
|
|
9958
|
+
},
|
|
9959
|
+
body: requestBody,
|
|
9960
|
+
mediaType: 'application/json'
|
|
9961
|
+
});
|
|
9962
|
+
}
|
|
9963
|
+
/**
|
|
9964
|
+
* Setup phone number linkage with whatsapp bots
|
|
9965
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9966
|
+
* @returns WhatsappUserConfig
|
|
9967
|
+
* @throws ApiError
|
|
9968
|
+
*/
|
|
9969
|
+
static aiBotV1BotsWhatsappUserConfigRetrieve({
|
|
9970
|
+
id,
|
|
9971
|
+
org
|
|
9972
|
+
}) {
|
|
9973
|
+
return request(OpenAPI, {
|
|
9974
|
+
method: 'GET',
|
|
9975
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
9976
|
+
path: {
|
|
9977
|
+
'id': id,
|
|
9978
|
+
'org': org
|
|
9979
|
+
}
|
|
9980
|
+
});
|
|
9981
|
+
}
|
|
9982
|
+
/**
|
|
9983
|
+
* Setup phone number linkage with whatsapp bots
|
|
9984
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9985
|
+
* @returns WhatsappUserConfig
|
|
9986
|
+
* @throws ApiError
|
|
9987
|
+
*/
|
|
9988
|
+
static aiBotV1BotsWhatsappUserConfigUpdate({
|
|
9989
|
+
id,
|
|
9990
|
+
org,
|
|
9991
|
+
requestBody
|
|
9992
|
+
}) {
|
|
9993
|
+
return request(OpenAPI, {
|
|
9994
|
+
method: 'PUT',
|
|
9995
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
9996
|
+
path: {
|
|
9997
|
+
'id': id,
|
|
9998
|
+
'org': org
|
|
9999
|
+
},
|
|
10000
|
+
body: requestBody,
|
|
10001
|
+
mediaType: 'application/json'
|
|
10002
|
+
});
|
|
10003
|
+
}
|
|
10004
|
+
/**
|
|
10005
|
+
* Setup phone number linkage with whatsapp bots
|
|
10006
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10007
|
+
* @returns WhatsappUserConfig
|
|
10008
|
+
* @throws ApiError
|
|
10009
|
+
*/
|
|
10010
|
+
static aiBotV1BotsWhatsappUserConfigPartialUpdate({
|
|
10011
|
+
id,
|
|
10012
|
+
org,
|
|
10013
|
+
requestBody
|
|
10014
|
+
}) {
|
|
10015
|
+
return request(OpenAPI, {
|
|
10016
|
+
method: 'PATCH',
|
|
10017
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10018
|
+
path: {
|
|
10019
|
+
'id': id,
|
|
10020
|
+
'org': org
|
|
10021
|
+
},
|
|
10022
|
+
body: requestBody,
|
|
10023
|
+
mediaType: 'application/json'
|
|
10024
|
+
});
|
|
10025
|
+
}
|
|
10026
|
+
/**
|
|
10027
|
+
* Setup phone number linkage with whatsapp bots
|
|
10028
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10029
|
+
* @returns void
|
|
10030
|
+
* @throws ApiError
|
|
10031
|
+
*/
|
|
10032
|
+
static aiBotV1BotsWhatsappUserConfigDestroy({
|
|
10033
|
+
id,
|
|
10034
|
+
org
|
|
10035
|
+
}) {
|
|
10036
|
+
return request(OpenAPI, {
|
|
10037
|
+
method: 'DELETE',
|
|
10038
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10039
|
+
path: {
|
|
10040
|
+
'id': id,
|
|
10041
|
+
'org': org
|
|
10042
|
+
}
|
|
10043
|
+
});
|
|
10044
|
+
}
|
|
10045
|
+
/**
|
|
10046
|
+
* Webhook endpoint to receive and process discord messages.
|
|
10047
|
+
* @returns DiscordWebhook
|
|
10048
|
+
* @throws ApiError
|
|
10049
|
+
*/
|
|
10050
|
+
static aiBotV1BotsWebhooksDiscordCreate({
|
|
10051
|
+
name,
|
|
10052
|
+
org,
|
|
10053
|
+
requestBody
|
|
10054
|
+
}) {
|
|
10055
|
+
return request(OpenAPI, {
|
|
10056
|
+
method: 'POST',
|
|
10057
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
|
|
10058
|
+
path: {
|
|
10059
|
+
'name': name,
|
|
10060
|
+
'org': org
|
|
10061
|
+
},
|
|
10062
|
+
body: requestBody,
|
|
10063
|
+
mediaType: 'application/json'
|
|
10064
|
+
});
|
|
10065
|
+
}
|
|
10066
|
+
/**
|
|
10067
|
+
* @returns SlackWebhook
|
|
10068
|
+
* @throws ApiError
|
|
10069
|
+
*/
|
|
10070
|
+
static aiBotV1BotsWebhooksSlackCreate({
|
|
10071
|
+
name,
|
|
10072
|
+
org,
|
|
10073
|
+
requestBody
|
|
10074
|
+
}) {
|
|
10075
|
+
return request(OpenAPI, {
|
|
10076
|
+
method: 'POST',
|
|
10077
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
|
|
10078
|
+
path: {
|
|
10079
|
+
'name': name,
|
|
10080
|
+
'org': org
|
|
10081
|
+
},
|
|
10082
|
+
body: requestBody,
|
|
10083
|
+
mediaType: 'application/json'
|
|
10084
|
+
});
|
|
10085
|
+
}
|
|
10086
|
+
/**
|
|
10087
|
+
* @returns TeamsWebhook
|
|
10088
|
+
* @throws ApiError
|
|
10089
|
+
*/
|
|
10090
|
+
static aiBotV1BotsWebhooksTeamsCreate({
|
|
10091
|
+
name,
|
|
10092
|
+
org,
|
|
10093
|
+
requestBody
|
|
10094
|
+
}) {
|
|
10095
|
+
return request(OpenAPI, {
|
|
10096
|
+
method: 'POST',
|
|
10097
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
10098
|
+
path: {
|
|
10099
|
+
'name': name,
|
|
10100
|
+
'org': org
|
|
10101
|
+
},
|
|
10102
|
+
body: requestBody,
|
|
10103
|
+
mediaType: 'application/json'
|
|
10104
|
+
});
|
|
10105
|
+
}
|
|
10106
|
+
/**
|
|
10107
|
+
* Webhook endpoint to receive and process discord messages.
|
|
10108
|
+
* @returns WebexWebhook
|
|
10109
|
+
* @throws ApiError
|
|
10110
|
+
*/
|
|
10111
|
+
static aiBotV1BotsWebhooksWebexCreate({
|
|
10112
|
+
name,
|
|
10113
|
+
org,
|
|
10114
|
+
requestBody
|
|
10115
|
+
}) {
|
|
10116
|
+
return request(OpenAPI, {
|
|
10117
|
+
method: 'POST',
|
|
10118
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
|
|
10119
|
+
path: {
|
|
10120
|
+
'name': name,
|
|
10121
|
+
'org': org
|
|
10122
|
+
},
|
|
10123
|
+
body: requestBody,
|
|
10124
|
+
mediaType: 'application/json'
|
|
10125
|
+
});
|
|
10126
|
+
}
|
|
10127
|
+
/**
|
|
10128
|
+
* Respond to whatsapp's webhook challenge.
|
|
10129
|
+
* Parameters Required include the tenant key (org) and the name of the bot: (name)
|
|
10130
|
+
* @returns WhatAppWebHook
|
|
10131
|
+
* @throws ApiError
|
|
10132
|
+
*/
|
|
10133
|
+
static aiBotV1BotsWebhooksWhatsappRetrieve({
|
|
10134
|
+
name,
|
|
10135
|
+
org
|
|
10136
|
+
}) {
|
|
10137
|
+
return request(OpenAPI, {
|
|
10138
|
+
method: 'GET',
|
|
10139
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10140
|
+
path: {
|
|
10141
|
+
'name': name,
|
|
10142
|
+
'org': org
|
|
10143
|
+
}
|
|
10144
|
+
});
|
|
10145
|
+
}
|
|
10146
|
+
/**
|
|
10147
|
+
* Accept and process webhook events from whatsapp.
|
|
10148
|
+
* @returns WhatAppWebHook
|
|
10149
|
+
* @throws ApiError
|
|
10150
|
+
*/
|
|
10151
|
+
static aiBotV1BotsWebhooksWhatsappCreate({
|
|
10152
|
+
name,
|
|
10153
|
+
org,
|
|
10154
|
+
requestBody
|
|
10155
|
+
}) {
|
|
10156
|
+
return request(OpenAPI, {
|
|
10157
|
+
method: 'POST',
|
|
10158
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10159
|
+
path: {
|
|
10160
|
+
'name': name,
|
|
10161
|
+
'org': org
|
|
10162
|
+
},
|
|
10163
|
+
body: requestBody,
|
|
10164
|
+
mediaType: 'application/json'
|
|
10165
|
+
});
|
|
10166
|
+
}
|
|
10167
|
+
}
|
|
10168
|
+
|
|
10169
|
+
class AiFinetuningService {
|
|
10170
|
+
/**
|
|
10171
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10172
|
+
* @returns PaginatedDataSetList
|
|
10173
|
+
* @throws ApiError
|
|
10174
|
+
*/
|
|
10175
|
+
static aiFinetuningV1OrgUserDatasetsList({
|
|
10176
|
+
org,
|
|
10177
|
+
username,
|
|
10178
|
+
dateCreated,
|
|
10179
|
+
numDataPoints,
|
|
10180
|
+
ordering,
|
|
10181
|
+
page,
|
|
10182
|
+
pageSize,
|
|
10183
|
+
retryAttempts,
|
|
10184
|
+
search,
|
|
10185
|
+
status
|
|
10186
|
+
}) {
|
|
10187
|
+
return request(OpenAPI, {
|
|
10188
|
+
method: 'GET',
|
|
10189
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10190
|
+
path: {
|
|
10191
|
+
'org': org,
|
|
10192
|
+
'username': username
|
|
10193
|
+
},
|
|
10194
|
+
query: {
|
|
10195
|
+
'date_created': dateCreated,
|
|
10196
|
+
'num_data_points': numDataPoints,
|
|
10197
|
+
'ordering': ordering,
|
|
10198
|
+
'page': page,
|
|
10199
|
+
'page_size': pageSize,
|
|
10200
|
+
'retry_attempts': retryAttempts,
|
|
10201
|
+
'search': search,
|
|
10202
|
+
'status': status
|
|
10203
|
+
}
|
|
10204
|
+
});
|
|
10205
|
+
}
|
|
10206
|
+
/**
|
|
10207
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10208
|
+
* @returns DataSetCreate
|
|
10209
|
+
* @throws ApiError
|
|
10210
|
+
*/
|
|
10211
|
+
static aiFinetuningV1OrgUserDatasetsCreate({
|
|
10212
|
+
org,
|
|
10213
|
+
username,
|
|
10214
|
+
requestBody
|
|
10215
|
+
}) {
|
|
10216
|
+
return request(OpenAPI, {
|
|
10217
|
+
method: 'POST',
|
|
10218
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10219
|
+
path: {
|
|
10220
|
+
'org': org,
|
|
10221
|
+
'username': username
|
|
10222
|
+
},
|
|
10223
|
+
body: requestBody,
|
|
10224
|
+
mediaType: 'application/json'
|
|
10225
|
+
});
|
|
10226
|
+
}
|
|
10227
|
+
/**
|
|
10228
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10229
|
+
* @returns DataSet
|
|
10230
|
+
* @throws ApiError
|
|
10231
|
+
*/
|
|
10232
|
+
static aiFinetuningV1OrgUserDatasetsRetrieve({
|
|
10233
|
+
id,
|
|
10234
|
+
org,
|
|
10235
|
+
username
|
|
10236
|
+
}) {
|
|
10237
|
+
return request(OpenAPI, {
|
|
10238
|
+
method: 'GET',
|
|
10239
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10240
|
+
path: {
|
|
10241
|
+
'id': id,
|
|
10242
|
+
'org': org,
|
|
10243
|
+
'username': username
|
|
10244
|
+
}
|
|
10245
|
+
});
|
|
10246
|
+
}
|
|
10247
|
+
/**
|
|
10248
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10249
|
+
* @returns DataSet
|
|
10250
|
+
* @throws ApiError
|
|
10251
|
+
*/
|
|
10252
|
+
static aiFinetuningV1OrgUserDatasetsUpdate({
|
|
10253
|
+
id,
|
|
10254
|
+
org,
|
|
10255
|
+
username,
|
|
10256
|
+
requestBody
|
|
10257
|
+
}) {
|
|
10258
|
+
return request(OpenAPI, {
|
|
10259
|
+
method: 'PUT',
|
|
10260
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10261
|
+
path: {
|
|
10262
|
+
'id': id,
|
|
10263
|
+
'org': org,
|
|
10264
|
+
'username': username
|
|
10265
|
+
},
|
|
10266
|
+
body: requestBody,
|
|
10267
|
+
mediaType: 'application/json'
|
|
10268
|
+
});
|
|
10269
|
+
}
|
|
10270
|
+
/**
|
|
10271
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10272
|
+
* @returns DataSet
|
|
10273
|
+
* @throws ApiError
|
|
10274
|
+
*/
|
|
10275
|
+
static aiFinetuningV1OrgUserDatasetsPartialUpdate({
|
|
10276
|
+
id,
|
|
10277
|
+
org,
|
|
10278
|
+
username,
|
|
10279
|
+
requestBody
|
|
10280
|
+
}) {
|
|
10281
|
+
return request(OpenAPI, {
|
|
10282
|
+
method: 'PATCH',
|
|
10283
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10284
|
+
path: {
|
|
10285
|
+
'id': id,
|
|
10286
|
+
'org': org,
|
|
10287
|
+
'username': username
|
|
10288
|
+
},
|
|
10289
|
+
body: requestBody,
|
|
10290
|
+
mediaType: 'application/json'
|
|
10291
|
+
});
|
|
10292
|
+
}
|
|
10293
|
+
/**
|
|
10294
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10295
|
+
* @returns void
|
|
10296
|
+
* @throws ApiError
|
|
10297
|
+
*/
|
|
10298
|
+
static aiFinetuningV1OrgUserDatasetsDestroy({
|
|
10299
|
+
id,
|
|
10300
|
+
org,
|
|
10301
|
+
username
|
|
10302
|
+
}) {
|
|
10303
|
+
return request(OpenAPI, {
|
|
10304
|
+
method: 'DELETE',
|
|
10305
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10306
|
+
path: {
|
|
10307
|
+
'id': id,
|
|
10308
|
+
'org': org,
|
|
10309
|
+
'username': username
|
|
10310
|
+
}
|
|
10311
|
+
});
|
|
10312
|
+
}
|
|
10313
|
+
/**
|
|
10314
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10315
|
+
* @returns PaginatedTrainingList
|
|
10316
|
+
* @throws ApiError
|
|
10317
|
+
*/
|
|
10318
|
+
static aiFinetuningV1OrgUserTrainingsList({
|
|
10319
|
+
org,
|
|
10320
|
+
username,
|
|
10321
|
+
baseModelName,
|
|
10322
|
+
dataset,
|
|
10323
|
+
dateCreated,
|
|
10324
|
+
fineTunedModel,
|
|
10325
|
+
lastModified,
|
|
10326
|
+
ordering,
|
|
10327
|
+
page,
|
|
10328
|
+
pageSize,
|
|
10329
|
+
preprocessDataset,
|
|
10330
|
+
provider,
|
|
10331
|
+
search,
|
|
10332
|
+
status
|
|
10333
|
+
}) {
|
|
10334
|
+
return request(OpenAPI, {
|
|
10335
|
+
method: 'GET',
|
|
10336
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10337
|
+
path: {
|
|
10338
|
+
'org': org,
|
|
10339
|
+
'username': username
|
|
10340
|
+
},
|
|
10341
|
+
query: {
|
|
10342
|
+
'base_model_name': baseModelName,
|
|
10343
|
+
'dataset': dataset,
|
|
10344
|
+
'date_created': dateCreated,
|
|
10345
|
+
'fine_tuned_model': fineTunedModel,
|
|
10346
|
+
'last_modified': lastModified,
|
|
10347
|
+
'ordering': ordering,
|
|
10348
|
+
'page': page,
|
|
10349
|
+
'page_size': pageSize,
|
|
10350
|
+
'preprocess_dataset': preprocessDataset,
|
|
10351
|
+
'provider': provider,
|
|
10352
|
+
'search': search,
|
|
10353
|
+
'status': status
|
|
10354
|
+
}
|
|
10355
|
+
});
|
|
10356
|
+
}
|
|
10357
|
+
/**
|
|
10358
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10359
|
+
* @returns TrainingCreate
|
|
10360
|
+
* @throws ApiError
|
|
10361
|
+
*/
|
|
10362
|
+
static aiFinetuningV1OrgUserTrainingsCreate({
|
|
10363
|
+
org,
|
|
10364
|
+
username,
|
|
10365
|
+
requestBody
|
|
10366
|
+
}) {
|
|
10367
|
+
return request(OpenAPI, {
|
|
10368
|
+
method: 'POST',
|
|
10369
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10370
|
+
path: {
|
|
10371
|
+
'org': org,
|
|
10372
|
+
'username': username
|
|
10373
|
+
},
|
|
10374
|
+
body: requestBody,
|
|
10375
|
+
mediaType: 'application/json'
|
|
10376
|
+
});
|
|
10377
|
+
}
|
|
10378
|
+
/**
|
|
10379
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10380
|
+
* @returns Training
|
|
10381
|
+
* @throws ApiError
|
|
10382
|
+
*/
|
|
10383
|
+
static aiFinetuningV1OrgUserTrainingsRetrieve({
|
|
10384
|
+
id,
|
|
10385
|
+
org,
|
|
10386
|
+
username
|
|
10387
|
+
}) {
|
|
10388
|
+
return request(OpenAPI, {
|
|
10389
|
+
method: 'GET',
|
|
10390
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10391
|
+
path: {
|
|
10392
|
+
'id': id,
|
|
10393
|
+
'org': org,
|
|
10394
|
+
'username': username
|
|
10395
|
+
}
|
|
10396
|
+
});
|
|
10397
|
+
}
|
|
10398
|
+
/**
|
|
10399
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10400
|
+
* @returns TrainingCreate
|
|
10401
|
+
* @throws ApiError
|
|
10402
|
+
*/
|
|
10403
|
+
static aiFinetuningV1OrgUserTrainingsUpdate({
|
|
10404
|
+
id,
|
|
10405
|
+
org,
|
|
10406
|
+
username,
|
|
10407
|
+
requestBody
|
|
10408
|
+
}) {
|
|
10409
|
+
return request(OpenAPI, {
|
|
10410
|
+
method: 'PUT',
|
|
10411
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10412
|
+
path: {
|
|
10413
|
+
'id': id,
|
|
10414
|
+
'org': org,
|
|
10415
|
+
'username': username
|
|
10416
|
+
},
|
|
10417
|
+
body: requestBody,
|
|
10418
|
+
mediaType: 'application/json'
|
|
10419
|
+
});
|
|
10420
|
+
}
|
|
10421
|
+
/**
|
|
10422
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10423
|
+
* @returns TrainingCreate
|
|
10424
|
+
* @throws ApiError
|
|
10425
|
+
*/
|
|
10426
|
+
static aiFinetuningV1OrgUserTrainingsPartialUpdate({
|
|
10427
|
+
id,
|
|
10428
|
+
org,
|
|
10429
|
+
username,
|
|
10430
|
+
requestBody
|
|
10431
|
+
}) {
|
|
10432
|
+
return request(OpenAPI, {
|
|
10433
|
+
method: 'PATCH',
|
|
10434
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10435
|
+
path: {
|
|
10436
|
+
'id': id,
|
|
10437
|
+
'org': org,
|
|
10438
|
+
'username': username
|
|
10439
|
+
},
|
|
10440
|
+
body: requestBody,
|
|
10441
|
+
mediaType: 'application/json'
|
|
10442
|
+
});
|
|
10443
|
+
}
|
|
10444
|
+
/**
|
|
10445
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10446
|
+
* @returns void
|
|
10447
|
+
* @throws ApiError
|
|
10448
|
+
*/
|
|
10449
|
+
static aiFinetuningV1OrgUserTrainingsDestroy({
|
|
10450
|
+
id,
|
|
10451
|
+
org,
|
|
10452
|
+
username
|
|
10453
|
+
}) {
|
|
10454
|
+
return request(OpenAPI, {
|
|
10455
|
+
method: 'DELETE',
|
|
10456
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10457
|
+
path: {
|
|
10458
|
+
'id': id,
|
|
10459
|
+
'org': org,
|
|
10460
|
+
'username': username
|
|
10461
|
+
}
|
|
10462
|
+
});
|
|
10463
|
+
}
|
|
10464
|
+
/**
|
|
10465
|
+
* Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
|
|
10466
|
+
* Filtering and pagination is allowed.
|
|
10467
|
+
*
|
|
10468
|
+
* NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
|
|
10469
|
+
* training list endpoint.
|
|
10470
|
+
* Returns:
|
|
10471
|
+
* Response: A paginated response containing the serialized fine-tuned models.
|
|
10472
|
+
* @returns Training
|
|
10473
|
+
* @throws ApiError
|
|
10474
|
+
*/
|
|
10475
|
+
static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({
|
|
10476
|
+
org,
|
|
10477
|
+
username
|
|
10478
|
+
}) {
|
|
10479
|
+
return request(OpenAPI, {
|
|
10480
|
+
method: 'GET',
|
|
10481
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/finetuned-models/',
|
|
10482
|
+
path: {
|
|
10483
|
+
'org': org,
|
|
10484
|
+
'username': username
|
|
10485
|
+
}
|
|
10486
|
+
});
|
|
10487
|
+
}
|
|
10488
|
+
}
|
|
10489
|
+
|
|
9099
10490
|
class AiIndexService {
|
|
9100
10491
|
/**
|
|
9101
10492
|
* Retrieve details of a specific document embedding.
|
|
@@ -33627,6 +35018,8 @@ class SkillsService {
|
|
|
33627
35018
|
|
|
33628
35019
|
exports.AiAccountService = AiAccountService;
|
|
33629
35020
|
exports.AiAnalyticsService = AiAnalyticsService;
|
|
35021
|
+
exports.AiBotService = AiBotService;
|
|
35022
|
+
exports.AiFinetuningService = AiFinetuningService;
|
|
33630
35023
|
exports.AiIndexService = AiIndexService;
|
|
33631
35024
|
exports.AiMarketingService = AiMarketingService;
|
|
33632
35025
|
exports.AiMediaService = AiMediaService;
|