@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
package/dist/index.esm.js
CHANGED
|
@@ -108,7 +108,7 @@ class CancelablePromise {
|
|
|
108
108
|
|
|
109
109
|
const OpenAPI = {
|
|
110
110
|
BASE: 'https://base.manager.iblai.app',
|
|
111
|
-
VERSION: '4.6.2-ai',
|
|
111
|
+
VERSION: '4.6.2-ai-plus',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -269,6 +269,24 @@ var CrawlerPatternTypeEnum;
|
|
|
269
269
|
CrawlerPatternTypeEnum["REGEX"] = "regex";
|
|
270
270
|
})(CrawlerPatternTypeEnum || (CrawlerPatternTypeEnum = {}));
|
|
271
271
|
|
|
272
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
273
|
+
/* istanbul ignore file */
|
|
274
|
+
/* tslint:disable */
|
|
275
|
+
/* eslint-disable */
|
|
276
|
+
/**
|
|
277
|
+
* * `pending` - Pending
|
|
278
|
+
* * `processing` - Processing
|
|
279
|
+
* * `completed` - Completed
|
|
280
|
+
* * `failed` - Failed
|
|
281
|
+
*/
|
|
282
|
+
var DataSetStatusEnum;
|
|
283
|
+
(function (DataSetStatusEnum) {
|
|
284
|
+
DataSetStatusEnum["PENDING"] = "pending";
|
|
285
|
+
DataSetStatusEnum["PROCESSING"] = "processing";
|
|
286
|
+
DataSetStatusEnum["COMPLETED"] = "completed";
|
|
287
|
+
DataSetStatusEnum["FAILED"] = "failed";
|
|
288
|
+
})(DataSetStatusEnum || (DataSetStatusEnum = {}));
|
|
289
|
+
|
|
272
290
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
273
291
|
/* istanbul ignore file */
|
|
274
292
|
/* tslint:disable */
|
|
@@ -565,6 +583,26 @@ var PromptVisibilityEnum;
|
|
|
565
583
|
PromptVisibilityEnum["VIEWABLE_BY_ANYONE"] = "viewable_by_anyone";
|
|
566
584
|
})(PromptVisibilityEnum || (PromptVisibilityEnum = {}));
|
|
567
585
|
|
|
586
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
587
|
+
/* istanbul ignore file */
|
|
588
|
+
/* tslint:disable */
|
|
589
|
+
/* eslint-disable */
|
|
590
|
+
/**
|
|
591
|
+
* * `webex` - Webex
|
|
592
|
+
* * `slack` - Slack
|
|
593
|
+
* * `whatsapp` - Whatsapp
|
|
594
|
+
* * `discord` - Discord
|
|
595
|
+
* * `teams` - Teams
|
|
596
|
+
*/
|
|
597
|
+
var Provider05cEnum;
|
|
598
|
+
(function (Provider05cEnum) {
|
|
599
|
+
Provider05cEnum["WEBEX"] = "webex";
|
|
600
|
+
Provider05cEnum["SLACK"] = "slack";
|
|
601
|
+
Provider05cEnum["WHATSAPP"] = "whatsapp";
|
|
602
|
+
Provider05cEnum["DISCORD"] = "discord";
|
|
603
|
+
Provider05cEnum["TEAMS"] = "teams";
|
|
604
|
+
})(Provider05cEnum || (Provider05cEnum = {}));
|
|
605
|
+
|
|
568
606
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
569
607
|
/* istanbul ignore file */
|
|
570
608
|
/* tslint:disable */
|
|
@@ -581,6 +619,18 @@ var Provider637Enum;
|
|
|
581
619
|
Provider637Enum["ELEVENLABS"] = "elevenlabs";
|
|
582
620
|
})(Provider637Enum || (Provider637Enum = {}));
|
|
583
621
|
|
|
622
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
623
|
+
/* istanbul ignore file */
|
|
624
|
+
/* tslint:disable */
|
|
625
|
+
/* eslint-disable */
|
|
626
|
+
/**
|
|
627
|
+
* * `openai` - Openai
|
|
628
|
+
*/
|
|
629
|
+
var Provider63aEnum;
|
|
630
|
+
(function (Provider63aEnum) {
|
|
631
|
+
Provider63aEnum["OPENAI"] = "openai";
|
|
632
|
+
})(Provider63aEnum || (Provider63aEnum = {}));
|
|
633
|
+
|
|
584
634
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
585
635
|
/* istanbul ignore file */
|
|
586
636
|
/* tslint:disable */
|
|
@@ -9289,6 +9339,1347 @@ class AiAnalyticsService {
|
|
|
9289
9339
|
}
|
|
9290
9340
|
}
|
|
9291
9341
|
|
|
9342
|
+
class AiBotService {
|
|
9343
|
+
/**
|
|
9344
|
+
* Create modify and update bot information for a specific tenant.
|
|
9345
|
+
* @returns Bot
|
|
9346
|
+
* @throws ApiError
|
|
9347
|
+
*/
|
|
9348
|
+
static aiBotV1BotsBotList({
|
|
9349
|
+
org
|
|
9350
|
+
}) {
|
|
9351
|
+
return request(OpenAPI, {
|
|
9352
|
+
method: 'GET',
|
|
9353
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9354
|
+
path: {
|
|
9355
|
+
'org': org
|
|
9356
|
+
}
|
|
9357
|
+
});
|
|
9358
|
+
}
|
|
9359
|
+
/**
|
|
9360
|
+
* Create modify and update bot information for a specific tenant.
|
|
9361
|
+
* @returns BotCreate
|
|
9362
|
+
* @throws ApiError
|
|
9363
|
+
*/
|
|
9364
|
+
static aiBotV1BotsBotCreate({
|
|
9365
|
+
org,
|
|
9366
|
+
requestBody
|
|
9367
|
+
}) {
|
|
9368
|
+
return request(OpenAPI, {
|
|
9369
|
+
method: 'POST',
|
|
9370
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9371
|
+
path: {
|
|
9372
|
+
'org': org
|
|
9373
|
+
},
|
|
9374
|
+
body: requestBody,
|
|
9375
|
+
mediaType: 'application/json'
|
|
9376
|
+
});
|
|
9377
|
+
}
|
|
9378
|
+
/**
|
|
9379
|
+
* Create slash commands for a specific bot
|
|
9380
|
+
* eg. /iblai-baseline
|
|
9381
|
+
* @returns BotCommand
|
|
9382
|
+
* @throws ApiError
|
|
9383
|
+
*/
|
|
9384
|
+
static aiBotV1BotsBotCommandsList({
|
|
9385
|
+
org
|
|
9386
|
+
}) {
|
|
9387
|
+
return request(OpenAPI, {
|
|
9388
|
+
method: 'GET',
|
|
9389
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9390
|
+
path: {
|
|
9391
|
+
'org': org
|
|
9392
|
+
}
|
|
9393
|
+
});
|
|
9394
|
+
}
|
|
9395
|
+
/**
|
|
9396
|
+
* Create slash commands for a specific bot
|
|
9397
|
+
* eg. /iblai-baseline
|
|
9398
|
+
* @returns BotCommand
|
|
9399
|
+
* @throws ApiError
|
|
9400
|
+
*/
|
|
9401
|
+
static aiBotV1BotsBotCommandsCreate({
|
|
9402
|
+
org,
|
|
9403
|
+
requestBody
|
|
9404
|
+
}) {
|
|
9405
|
+
return request(OpenAPI, {
|
|
9406
|
+
method: 'POST',
|
|
9407
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9408
|
+
path: {
|
|
9409
|
+
'org': org
|
|
9410
|
+
},
|
|
9411
|
+
body: requestBody,
|
|
9412
|
+
mediaType: 'application/json'
|
|
9413
|
+
});
|
|
9414
|
+
}
|
|
9415
|
+
/**
|
|
9416
|
+
* Create slash commands for a specific bot
|
|
9417
|
+
* eg. /iblai-baseline
|
|
9418
|
+
* @returns BotCommand
|
|
9419
|
+
* @throws ApiError
|
|
9420
|
+
*/
|
|
9421
|
+
static aiBotV1BotsBotCommandsRetrieve({
|
|
9422
|
+
id,
|
|
9423
|
+
org
|
|
9424
|
+
}) {
|
|
9425
|
+
return request(OpenAPI, {
|
|
9426
|
+
method: 'GET',
|
|
9427
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9428
|
+
path: {
|
|
9429
|
+
'id': id,
|
|
9430
|
+
'org': org
|
|
9431
|
+
}
|
|
9432
|
+
});
|
|
9433
|
+
}
|
|
9434
|
+
/**
|
|
9435
|
+
* Create slash commands for a specific bot
|
|
9436
|
+
* eg. /iblai-baseline
|
|
9437
|
+
* @returns BotCommand
|
|
9438
|
+
* @throws ApiError
|
|
9439
|
+
*/
|
|
9440
|
+
static aiBotV1BotsBotCommandsUpdate({
|
|
9441
|
+
id,
|
|
9442
|
+
org,
|
|
9443
|
+
requestBody
|
|
9444
|
+
}) {
|
|
9445
|
+
return request(OpenAPI, {
|
|
9446
|
+
method: 'PUT',
|
|
9447
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9448
|
+
path: {
|
|
9449
|
+
'id': id,
|
|
9450
|
+
'org': org
|
|
9451
|
+
},
|
|
9452
|
+
body: requestBody,
|
|
9453
|
+
mediaType: 'application/json'
|
|
9454
|
+
});
|
|
9455
|
+
}
|
|
9456
|
+
/**
|
|
9457
|
+
* Create slash commands for a specific bot
|
|
9458
|
+
* eg. /iblai-baseline
|
|
9459
|
+
* @returns BotCommand
|
|
9460
|
+
* @throws ApiError
|
|
9461
|
+
*/
|
|
9462
|
+
static aiBotV1BotsBotCommandsPartialUpdate({
|
|
9463
|
+
id,
|
|
9464
|
+
org,
|
|
9465
|
+
requestBody
|
|
9466
|
+
}) {
|
|
9467
|
+
return request(OpenAPI, {
|
|
9468
|
+
method: 'PATCH',
|
|
9469
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9470
|
+
path: {
|
|
9471
|
+
'id': id,
|
|
9472
|
+
'org': org
|
|
9473
|
+
},
|
|
9474
|
+
body: requestBody,
|
|
9475
|
+
mediaType: 'application/json'
|
|
9476
|
+
});
|
|
9477
|
+
}
|
|
9478
|
+
/**
|
|
9479
|
+
* Create slash commands for a specific bot
|
|
9480
|
+
* eg. /iblai-baseline
|
|
9481
|
+
* @returns void
|
|
9482
|
+
* @throws ApiError
|
|
9483
|
+
*/
|
|
9484
|
+
static aiBotV1BotsBotCommandsDestroy({
|
|
9485
|
+
id,
|
|
9486
|
+
org
|
|
9487
|
+
}) {
|
|
9488
|
+
return request(OpenAPI, {
|
|
9489
|
+
method: 'DELETE',
|
|
9490
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9491
|
+
path: {
|
|
9492
|
+
'id': id,
|
|
9493
|
+
'org': org
|
|
9494
|
+
}
|
|
9495
|
+
});
|
|
9496
|
+
}
|
|
9497
|
+
/**
|
|
9498
|
+
* Create modify and update bot information for a specific tenant.
|
|
9499
|
+
* @returns Bot
|
|
9500
|
+
* @throws ApiError
|
|
9501
|
+
*/
|
|
9502
|
+
static aiBotV1BotsBotRetrieve({
|
|
9503
|
+
id,
|
|
9504
|
+
org
|
|
9505
|
+
}) {
|
|
9506
|
+
return request(OpenAPI, {
|
|
9507
|
+
method: 'GET',
|
|
9508
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9509
|
+
path: {
|
|
9510
|
+
'id': id,
|
|
9511
|
+
'org': org
|
|
9512
|
+
}
|
|
9513
|
+
});
|
|
9514
|
+
}
|
|
9515
|
+
/**
|
|
9516
|
+
* Create modify and update bot information for a specific tenant.
|
|
9517
|
+
* @returns BotCreate
|
|
9518
|
+
* @throws ApiError
|
|
9519
|
+
*/
|
|
9520
|
+
static aiBotV1BotsBotUpdate({
|
|
9521
|
+
id,
|
|
9522
|
+
org,
|
|
9523
|
+
requestBody
|
|
9524
|
+
}) {
|
|
9525
|
+
return request(OpenAPI, {
|
|
9526
|
+
method: 'PUT',
|
|
9527
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9528
|
+
path: {
|
|
9529
|
+
'id': id,
|
|
9530
|
+
'org': org
|
|
9531
|
+
},
|
|
9532
|
+
body: requestBody,
|
|
9533
|
+
mediaType: 'application/json'
|
|
9534
|
+
});
|
|
9535
|
+
}
|
|
9536
|
+
/**
|
|
9537
|
+
* Create modify and update bot information for a specific tenant.
|
|
9538
|
+
* @returns BotCreate
|
|
9539
|
+
* @throws ApiError
|
|
9540
|
+
*/
|
|
9541
|
+
static aiBotV1BotsBotPartialUpdate({
|
|
9542
|
+
id,
|
|
9543
|
+
org,
|
|
9544
|
+
requestBody
|
|
9545
|
+
}) {
|
|
9546
|
+
return request(OpenAPI, {
|
|
9547
|
+
method: 'PATCH',
|
|
9548
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9549
|
+
path: {
|
|
9550
|
+
'id': id,
|
|
9551
|
+
'org': org
|
|
9552
|
+
},
|
|
9553
|
+
body: requestBody,
|
|
9554
|
+
mediaType: 'application/json'
|
|
9555
|
+
});
|
|
9556
|
+
}
|
|
9557
|
+
/**
|
|
9558
|
+
* Create modify and update bot information for a specific tenant.
|
|
9559
|
+
* @returns void
|
|
9560
|
+
* @throws ApiError
|
|
9561
|
+
*/
|
|
9562
|
+
static aiBotV1BotsBotDestroy({
|
|
9563
|
+
id,
|
|
9564
|
+
org
|
|
9565
|
+
}) {
|
|
9566
|
+
return request(OpenAPI, {
|
|
9567
|
+
method: 'DELETE',
|
|
9568
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9569
|
+
path: {
|
|
9570
|
+
'id': id,
|
|
9571
|
+
'org': org
|
|
9572
|
+
}
|
|
9573
|
+
});
|
|
9574
|
+
}
|
|
9575
|
+
/**
|
|
9576
|
+
* Create modify and update bot information for a specific tenant.
|
|
9577
|
+
* @returns DiscordConfig
|
|
9578
|
+
* @throws ApiError
|
|
9579
|
+
*/
|
|
9580
|
+
static aiBotV1BotsBotConfigDiscordRetrieve({
|
|
9581
|
+
id,
|
|
9582
|
+
org
|
|
9583
|
+
}) {
|
|
9584
|
+
return request(OpenAPI, {
|
|
9585
|
+
method: 'GET',
|
|
9586
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9587
|
+
path: {
|
|
9588
|
+
'id': id,
|
|
9589
|
+
'org': org
|
|
9590
|
+
}
|
|
9591
|
+
});
|
|
9592
|
+
}
|
|
9593
|
+
/**
|
|
9594
|
+
* Create modify and update bot information for a specific tenant.
|
|
9595
|
+
* @returns DiscordConfig
|
|
9596
|
+
* @throws ApiError
|
|
9597
|
+
*/
|
|
9598
|
+
static aiBotV1BotsBotConfigDiscordPartialUpdate({
|
|
9599
|
+
id,
|
|
9600
|
+
org,
|
|
9601
|
+
requestBody
|
|
9602
|
+
}) {
|
|
9603
|
+
return request(OpenAPI, {
|
|
9604
|
+
method: 'PATCH',
|
|
9605
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9606
|
+
path: {
|
|
9607
|
+
'id': id,
|
|
9608
|
+
'org': org
|
|
9609
|
+
},
|
|
9610
|
+
body: requestBody,
|
|
9611
|
+
mediaType: 'application/json'
|
|
9612
|
+
});
|
|
9613
|
+
}
|
|
9614
|
+
/**
|
|
9615
|
+
* Create modify and update bot information for a specific tenant.
|
|
9616
|
+
* @returns SlackConfig
|
|
9617
|
+
* @throws ApiError
|
|
9618
|
+
*/
|
|
9619
|
+
static aiBotV1BotsBotConfigSlackRetrieve({
|
|
9620
|
+
id,
|
|
9621
|
+
org
|
|
9622
|
+
}) {
|
|
9623
|
+
return request(OpenAPI, {
|
|
9624
|
+
method: 'GET',
|
|
9625
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
|
|
9626
|
+
path: {
|
|
9627
|
+
'id': id,
|
|
9628
|
+
'org': org
|
|
9629
|
+
}
|
|
9630
|
+
});
|
|
9631
|
+
}
|
|
9632
|
+
/**
|
|
9633
|
+
* Create modify and update bot information for a specific tenant.
|
|
9634
|
+
* @returns SlackConfig
|
|
9635
|
+
* @throws ApiError
|
|
9636
|
+
*/
|
|
9637
|
+
static aiBotV1BotsBotConfigSlackUpdateCreate({
|
|
9638
|
+
id,
|
|
9639
|
+
org,
|
|
9640
|
+
requestBody
|
|
9641
|
+
}) {
|
|
9642
|
+
return request(OpenAPI, {
|
|
9643
|
+
method: 'POST',
|
|
9644
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9645
|
+
path: {
|
|
9646
|
+
'id': id,
|
|
9647
|
+
'org': org
|
|
9648
|
+
},
|
|
9649
|
+
body: requestBody,
|
|
9650
|
+
mediaType: 'application/json'
|
|
9651
|
+
});
|
|
9652
|
+
}
|
|
9653
|
+
/**
|
|
9654
|
+
* Create modify and update bot information for a specific tenant.
|
|
9655
|
+
* @returns SlackConfig
|
|
9656
|
+
* @throws ApiError
|
|
9657
|
+
*/
|
|
9658
|
+
static aiBotV1BotsBotConfigSlackUpdateUpdate({
|
|
9659
|
+
id,
|
|
9660
|
+
org,
|
|
9661
|
+
requestBody
|
|
9662
|
+
}) {
|
|
9663
|
+
return request(OpenAPI, {
|
|
9664
|
+
method: 'PUT',
|
|
9665
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9666
|
+
path: {
|
|
9667
|
+
'id': id,
|
|
9668
|
+
'org': org
|
|
9669
|
+
},
|
|
9670
|
+
body: requestBody,
|
|
9671
|
+
mediaType: 'application/json'
|
|
9672
|
+
});
|
|
9673
|
+
}
|
|
9674
|
+
/**
|
|
9675
|
+
* Create modify and update bot information for a specific tenant.
|
|
9676
|
+
* @returns SlackConfig
|
|
9677
|
+
* @throws ApiError
|
|
9678
|
+
*/
|
|
9679
|
+
static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
|
|
9680
|
+
id,
|
|
9681
|
+
org,
|
|
9682
|
+
requestBody
|
|
9683
|
+
}) {
|
|
9684
|
+
return request(OpenAPI, {
|
|
9685
|
+
method: 'PATCH',
|
|
9686
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9687
|
+
path: {
|
|
9688
|
+
'id': id,
|
|
9689
|
+
'org': org
|
|
9690
|
+
},
|
|
9691
|
+
body: requestBody,
|
|
9692
|
+
mediaType: 'application/json'
|
|
9693
|
+
});
|
|
9694
|
+
}
|
|
9695
|
+
/**
|
|
9696
|
+
* Create modify and update bot information for a specific tenant.
|
|
9697
|
+
* @returns TeamsConfig
|
|
9698
|
+
* @throws ApiError
|
|
9699
|
+
*/
|
|
9700
|
+
static aiBotV1BotsBotConfigTeamsRetrieve({
|
|
9701
|
+
id,
|
|
9702
|
+
org
|
|
9703
|
+
}) {
|
|
9704
|
+
return request(OpenAPI, {
|
|
9705
|
+
method: 'GET',
|
|
9706
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
|
|
9707
|
+
path: {
|
|
9708
|
+
'id': id,
|
|
9709
|
+
'org': org
|
|
9710
|
+
}
|
|
9711
|
+
});
|
|
9712
|
+
}
|
|
9713
|
+
/**
|
|
9714
|
+
* Create modify and update bot information for a specific tenant.
|
|
9715
|
+
* @returns TeamsConfig
|
|
9716
|
+
* @throws ApiError
|
|
9717
|
+
*/
|
|
9718
|
+
static aiBotV1BotsBotConfigTeamsUpdateCreate({
|
|
9719
|
+
id,
|
|
9720
|
+
org,
|
|
9721
|
+
requestBody
|
|
9722
|
+
}) {
|
|
9723
|
+
return request(OpenAPI, {
|
|
9724
|
+
method: 'POST',
|
|
9725
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9726
|
+
path: {
|
|
9727
|
+
'id': id,
|
|
9728
|
+
'org': org
|
|
9729
|
+
},
|
|
9730
|
+
body: requestBody,
|
|
9731
|
+
mediaType: 'application/json'
|
|
9732
|
+
});
|
|
9733
|
+
}
|
|
9734
|
+
/**
|
|
9735
|
+
* Create modify and update bot information for a specific tenant.
|
|
9736
|
+
* @returns TeamsConfig
|
|
9737
|
+
* @throws ApiError
|
|
9738
|
+
*/
|
|
9739
|
+
static aiBotV1BotsBotConfigTeamsUpdateUpdate({
|
|
9740
|
+
id,
|
|
9741
|
+
org,
|
|
9742
|
+
requestBody
|
|
9743
|
+
}) {
|
|
9744
|
+
return request(OpenAPI, {
|
|
9745
|
+
method: 'PUT',
|
|
9746
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9747
|
+
path: {
|
|
9748
|
+
'id': id,
|
|
9749
|
+
'org': org
|
|
9750
|
+
},
|
|
9751
|
+
body: requestBody,
|
|
9752
|
+
mediaType: 'application/json'
|
|
9753
|
+
});
|
|
9754
|
+
}
|
|
9755
|
+
/**
|
|
9756
|
+
* Create modify and update bot information for a specific tenant.
|
|
9757
|
+
* @returns TeamsConfig
|
|
9758
|
+
* @throws ApiError
|
|
9759
|
+
*/
|
|
9760
|
+
static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
|
|
9761
|
+
id,
|
|
9762
|
+
org,
|
|
9763
|
+
requestBody
|
|
9764
|
+
}) {
|
|
9765
|
+
return request(OpenAPI, {
|
|
9766
|
+
method: 'PATCH',
|
|
9767
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9768
|
+
path: {
|
|
9769
|
+
'id': id,
|
|
9770
|
+
'org': org
|
|
9771
|
+
},
|
|
9772
|
+
body: requestBody,
|
|
9773
|
+
mediaType: 'application/json'
|
|
9774
|
+
});
|
|
9775
|
+
}
|
|
9776
|
+
/**
|
|
9777
|
+
* Create modify and update bot information for a specific tenant.
|
|
9778
|
+
* @returns WebexConfig
|
|
9779
|
+
* @throws ApiError
|
|
9780
|
+
*/
|
|
9781
|
+
static aiBotV1BotsBotConfigWebexRetrieve({
|
|
9782
|
+
id,
|
|
9783
|
+
org
|
|
9784
|
+
}) {
|
|
9785
|
+
return request(OpenAPI, {
|
|
9786
|
+
method: 'GET',
|
|
9787
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
9788
|
+
path: {
|
|
9789
|
+
'id': id,
|
|
9790
|
+
'org': org
|
|
9791
|
+
}
|
|
9792
|
+
});
|
|
9793
|
+
}
|
|
9794
|
+
/**
|
|
9795
|
+
* Create modify and update bot information for a specific tenant.
|
|
9796
|
+
* @returns WebexConfig
|
|
9797
|
+
* @throws ApiError
|
|
9798
|
+
*/
|
|
9799
|
+
static aiBotV1BotsBotConfigWebexPartialUpdate({
|
|
9800
|
+
id,
|
|
9801
|
+
org,
|
|
9802
|
+
requestBody
|
|
9803
|
+
}) {
|
|
9804
|
+
return request(OpenAPI, {
|
|
9805
|
+
method: 'PATCH',
|
|
9806
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
9807
|
+
path: {
|
|
9808
|
+
'id': id,
|
|
9809
|
+
'org': org
|
|
9810
|
+
},
|
|
9811
|
+
body: requestBody,
|
|
9812
|
+
mediaType: 'application/json'
|
|
9813
|
+
});
|
|
9814
|
+
}
|
|
9815
|
+
/**
|
|
9816
|
+
* Create modify and update bot information for a specific tenant.
|
|
9817
|
+
* @returns WhatsappConfig
|
|
9818
|
+
* @throws ApiError
|
|
9819
|
+
*/
|
|
9820
|
+
static aiBotV1BotsBotConfigWhatsappRetrieve({
|
|
9821
|
+
id,
|
|
9822
|
+
org
|
|
9823
|
+
}) {
|
|
9824
|
+
return request(OpenAPI, {
|
|
9825
|
+
method: 'GET',
|
|
9826
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
|
|
9827
|
+
path: {
|
|
9828
|
+
'id': id,
|
|
9829
|
+
'org': org
|
|
9830
|
+
}
|
|
9831
|
+
});
|
|
9832
|
+
}
|
|
9833
|
+
/**
|
|
9834
|
+
* Create modify and update bot information for a specific tenant.
|
|
9835
|
+
* @returns WhatsappConfig
|
|
9836
|
+
* @throws ApiError
|
|
9837
|
+
*/
|
|
9838
|
+
static aiBotV1BotsBotWhatsappConfigUpdate({
|
|
9839
|
+
id,
|
|
9840
|
+
org,
|
|
9841
|
+
requestBody
|
|
9842
|
+
}) {
|
|
9843
|
+
return request(OpenAPI, {
|
|
9844
|
+
method: 'PUT',
|
|
9845
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
9846
|
+
path: {
|
|
9847
|
+
'id': id,
|
|
9848
|
+
'org': org
|
|
9849
|
+
},
|
|
9850
|
+
body: requestBody,
|
|
9851
|
+
mediaType: 'application/json'
|
|
9852
|
+
});
|
|
9853
|
+
}
|
|
9854
|
+
/**
|
|
9855
|
+
* Create modify and update bot information for a specific tenant.
|
|
9856
|
+
* @returns WhatsappConfig
|
|
9857
|
+
* @throws ApiError
|
|
9858
|
+
*/
|
|
9859
|
+
static aiBotV1BotsBotWhatsappConfigPartialUpdate({
|
|
9860
|
+
id,
|
|
9861
|
+
org,
|
|
9862
|
+
requestBody
|
|
9863
|
+
}) {
|
|
9864
|
+
return request(OpenAPI, {
|
|
9865
|
+
method: 'PATCH',
|
|
9866
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
9867
|
+
path: {
|
|
9868
|
+
'id': id,
|
|
9869
|
+
'org': org
|
|
9870
|
+
},
|
|
9871
|
+
body: requestBody,
|
|
9872
|
+
mediaType: 'application/json'
|
|
9873
|
+
});
|
|
9874
|
+
}
|
|
9875
|
+
/**
|
|
9876
|
+
* Setup discord user id linkage with discord bots
|
|
9877
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9878
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9879
|
+
* @returns DiscordUserConfig
|
|
9880
|
+
* @throws ApiError
|
|
9881
|
+
*/
|
|
9882
|
+
static aiBotV1BotsDiscordUserConfigList({
|
|
9883
|
+
org
|
|
9884
|
+
}) {
|
|
9885
|
+
return request(OpenAPI, {
|
|
9886
|
+
method: 'GET',
|
|
9887
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
9888
|
+
path: {
|
|
9889
|
+
'org': org
|
|
9890
|
+
}
|
|
9891
|
+
});
|
|
9892
|
+
}
|
|
9893
|
+
/**
|
|
9894
|
+
* Setup discord user id linkage with discord bots
|
|
9895
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9896
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9897
|
+
* @returns DiscordUserConfig
|
|
9898
|
+
* @throws ApiError
|
|
9899
|
+
*/
|
|
9900
|
+
static aiBotV1BotsDiscordUserConfigCreate({
|
|
9901
|
+
org,
|
|
9902
|
+
requestBody
|
|
9903
|
+
}) {
|
|
9904
|
+
return request(OpenAPI, {
|
|
9905
|
+
method: 'POST',
|
|
9906
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
9907
|
+
path: {
|
|
9908
|
+
'org': org
|
|
9909
|
+
},
|
|
9910
|
+
body: requestBody,
|
|
9911
|
+
mediaType: 'application/json'
|
|
9912
|
+
});
|
|
9913
|
+
}
|
|
9914
|
+
/**
|
|
9915
|
+
* Setup discord user id linkage with discord bots
|
|
9916
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9917
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9918
|
+
* @returns DiscordUserConfig
|
|
9919
|
+
* @throws ApiError
|
|
9920
|
+
*/
|
|
9921
|
+
static aiBotV1BotsDiscordUserConfigRetrieve({
|
|
9922
|
+
id,
|
|
9923
|
+
org
|
|
9924
|
+
}) {
|
|
9925
|
+
return request(OpenAPI, {
|
|
9926
|
+
method: 'GET',
|
|
9927
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9928
|
+
path: {
|
|
9929
|
+
'id': id,
|
|
9930
|
+
'org': org
|
|
9931
|
+
}
|
|
9932
|
+
});
|
|
9933
|
+
}
|
|
9934
|
+
/**
|
|
9935
|
+
* Setup discord user id linkage with discord bots
|
|
9936
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9937
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9938
|
+
* @returns DiscordUserConfig
|
|
9939
|
+
* @throws ApiError
|
|
9940
|
+
*/
|
|
9941
|
+
static aiBotV1BotsDiscordUserConfigUpdate({
|
|
9942
|
+
id,
|
|
9943
|
+
org,
|
|
9944
|
+
requestBody
|
|
9945
|
+
}) {
|
|
9946
|
+
return request(OpenAPI, {
|
|
9947
|
+
method: 'PUT',
|
|
9948
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9949
|
+
path: {
|
|
9950
|
+
'id': id,
|
|
9951
|
+
'org': org
|
|
9952
|
+
},
|
|
9953
|
+
body: requestBody,
|
|
9954
|
+
mediaType: 'application/json'
|
|
9955
|
+
});
|
|
9956
|
+
}
|
|
9957
|
+
/**
|
|
9958
|
+
* Setup discord user id linkage with discord bots
|
|
9959
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9960
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9961
|
+
* @returns DiscordUserConfig
|
|
9962
|
+
* @throws ApiError
|
|
9963
|
+
*/
|
|
9964
|
+
static aiBotV1BotsDiscordUserConfigPartialUpdate({
|
|
9965
|
+
id,
|
|
9966
|
+
org,
|
|
9967
|
+
requestBody
|
|
9968
|
+
}) {
|
|
9969
|
+
return request(OpenAPI, {
|
|
9970
|
+
method: 'PATCH',
|
|
9971
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9972
|
+
path: {
|
|
9973
|
+
'id': id,
|
|
9974
|
+
'org': org
|
|
9975
|
+
},
|
|
9976
|
+
body: requestBody,
|
|
9977
|
+
mediaType: 'application/json'
|
|
9978
|
+
});
|
|
9979
|
+
}
|
|
9980
|
+
/**
|
|
9981
|
+
* Setup discord user id linkage with discord bots
|
|
9982
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
9983
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9984
|
+
* @returns void
|
|
9985
|
+
* @throws ApiError
|
|
9986
|
+
*/
|
|
9987
|
+
static aiBotV1BotsDiscordUserConfigDestroy({
|
|
9988
|
+
id,
|
|
9989
|
+
org
|
|
9990
|
+
}) {
|
|
9991
|
+
return request(OpenAPI, {
|
|
9992
|
+
method: 'DELETE',
|
|
9993
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9994
|
+
path: {
|
|
9995
|
+
'id': id,
|
|
9996
|
+
'org': org
|
|
9997
|
+
}
|
|
9998
|
+
});
|
|
9999
|
+
}
|
|
10000
|
+
/**
|
|
10001
|
+
* Setup slack username and domain linkage with slack bots
|
|
10002
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
10003
|
+
* @returns SlackUserConfig
|
|
10004
|
+
* @throws ApiError
|
|
10005
|
+
*/
|
|
10006
|
+
static aiBotV1BotsSlackUserConfigList({
|
|
10007
|
+
org
|
|
10008
|
+
}) {
|
|
10009
|
+
return request(OpenAPI, {
|
|
10010
|
+
method: 'GET',
|
|
10011
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
10012
|
+
path: {
|
|
10013
|
+
'org': org
|
|
10014
|
+
}
|
|
10015
|
+
});
|
|
10016
|
+
}
|
|
10017
|
+
/**
|
|
10018
|
+
* Setup slack username and domain linkage with slack bots
|
|
10019
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
10020
|
+
* @returns SlackUserConfig
|
|
10021
|
+
* @throws ApiError
|
|
10022
|
+
*/
|
|
10023
|
+
static aiBotV1BotsSlackUserConfigCreate({
|
|
10024
|
+
org,
|
|
10025
|
+
requestBody
|
|
10026
|
+
}) {
|
|
10027
|
+
return request(OpenAPI, {
|
|
10028
|
+
method: 'POST',
|
|
10029
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
10030
|
+
path: {
|
|
10031
|
+
'org': org
|
|
10032
|
+
},
|
|
10033
|
+
body: requestBody,
|
|
10034
|
+
mediaType: 'application/json'
|
|
10035
|
+
});
|
|
10036
|
+
}
|
|
10037
|
+
/**
|
|
10038
|
+
* Setup slack username and domain linkage with slack bots
|
|
10039
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
10040
|
+
* @returns SlackUserConfig
|
|
10041
|
+
* @throws ApiError
|
|
10042
|
+
*/
|
|
10043
|
+
static aiBotV1BotsSlackUserConfigRetrieve({
|
|
10044
|
+
id,
|
|
10045
|
+
org
|
|
10046
|
+
}) {
|
|
10047
|
+
return request(OpenAPI, {
|
|
10048
|
+
method: 'GET',
|
|
10049
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
10050
|
+
path: {
|
|
10051
|
+
'id': id,
|
|
10052
|
+
'org': org
|
|
10053
|
+
}
|
|
10054
|
+
});
|
|
10055
|
+
}
|
|
10056
|
+
/**
|
|
10057
|
+
* Setup slack username and domain linkage with slack bots
|
|
10058
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
10059
|
+
* @returns SlackUserConfig
|
|
10060
|
+
* @throws ApiError
|
|
10061
|
+
*/
|
|
10062
|
+
static aiBotV1BotsSlackUserConfigUpdate({
|
|
10063
|
+
id,
|
|
10064
|
+
org,
|
|
10065
|
+
requestBody
|
|
10066
|
+
}) {
|
|
10067
|
+
return request(OpenAPI, {
|
|
10068
|
+
method: 'PUT',
|
|
10069
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
10070
|
+
path: {
|
|
10071
|
+
'id': id,
|
|
10072
|
+
'org': org
|
|
10073
|
+
},
|
|
10074
|
+
body: requestBody,
|
|
10075
|
+
mediaType: 'application/json'
|
|
10076
|
+
});
|
|
10077
|
+
}
|
|
10078
|
+
/**
|
|
10079
|
+
* Setup slack username and domain linkage with slack bots
|
|
10080
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
10081
|
+
* @returns SlackUserConfig
|
|
10082
|
+
* @throws ApiError
|
|
10083
|
+
*/
|
|
10084
|
+
static aiBotV1BotsSlackUserConfigPartialUpdate({
|
|
10085
|
+
id,
|
|
10086
|
+
org,
|
|
10087
|
+
requestBody
|
|
10088
|
+
}) {
|
|
10089
|
+
return request(OpenAPI, {
|
|
10090
|
+
method: 'PATCH',
|
|
10091
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
10092
|
+
path: {
|
|
10093
|
+
'id': id,
|
|
10094
|
+
'org': org
|
|
10095
|
+
},
|
|
10096
|
+
body: requestBody,
|
|
10097
|
+
mediaType: 'application/json'
|
|
10098
|
+
});
|
|
10099
|
+
}
|
|
10100
|
+
/**
|
|
10101
|
+
* Setup slack username and domain linkage with slack bots
|
|
10102
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
10103
|
+
* @returns void
|
|
10104
|
+
* @throws ApiError
|
|
10105
|
+
*/
|
|
10106
|
+
static aiBotV1BotsSlackUserConfigDestroy({
|
|
10107
|
+
id,
|
|
10108
|
+
org
|
|
10109
|
+
}) {
|
|
10110
|
+
return request(OpenAPI, {
|
|
10111
|
+
method: 'DELETE',
|
|
10112
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
10113
|
+
path: {
|
|
10114
|
+
'id': id,
|
|
10115
|
+
'org': org
|
|
10116
|
+
}
|
|
10117
|
+
});
|
|
10118
|
+
}
|
|
10119
|
+
/**
|
|
10120
|
+
* Setup phone number linkage with whatsapp bots
|
|
10121
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10122
|
+
* @returns WhatsappUserConfig
|
|
10123
|
+
* @throws ApiError
|
|
10124
|
+
*/
|
|
10125
|
+
static aiBotV1BotsWhatsappUserConfigList({
|
|
10126
|
+
org
|
|
10127
|
+
}) {
|
|
10128
|
+
return request(OpenAPI, {
|
|
10129
|
+
method: 'GET',
|
|
10130
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
10131
|
+
path: {
|
|
10132
|
+
'org': org
|
|
10133
|
+
}
|
|
10134
|
+
});
|
|
10135
|
+
}
|
|
10136
|
+
/**
|
|
10137
|
+
* Setup phone number linkage with whatsapp bots
|
|
10138
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10139
|
+
* @returns WhatsappUserConfig
|
|
10140
|
+
* @throws ApiError
|
|
10141
|
+
*/
|
|
10142
|
+
static aiBotV1BotsWhatsappUserConfigCreate({
|
|
10143
|
+
org,
|
|
10144
|
+
requestBody
|
|
10145
|
+
}) {
|
|
10146
|
+
return request(OpenAPI, {
|
|
10147
|
+
method: 'POST',
|
|
10148
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
10149
|
+
path: {
|
|
10150
|
+
'org': org
|
|
10151
|
+
},
|
|
10152
|
+
body: requestBody,
|
|
10153
|
+
mediaType: 'application/json'
|
|
10154
|
+
});
|
|
10155
|
+
}
|
|
10156
|
+
/**
|
|
10157
|
+
* Setup phone number linkage with whatsapp bots
|
|
10158
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10159
|
+
* @returns WhatsappUserConfig
|
|
10160
|
+
* @throws ApiError
|
|
10161
|
+
*/
|
|
10162
|
+
static aiBotV1BotsWhatsappUserConfigRetrieve({
|
|
10163
|
+
id,
|
|
10164
|
+
org
|
|
10165
|
+
}) {
|
|
10166
|
+
return request(OpenAPI, {
|
|
10167
|
+
method: 'GET',
|
|
10168
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10169
|
+
path: {
|
|
10170
|
+
'id': id,
|
|
10171
|
+
'org': org
|
|
10172
|
+
}
|
|
10173
|
+
});
|
|
10174
|
+
}
|
|
10175
|
+
/**
|
|
10176
|
+
* Setup phone number linkage with whatsapp bots
|
|
10177
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10178
|
+
* @returns WhatsappUserConfig
|
|
10179
|
+
* @throws ApiError
|
|
10180
|
+
*/
|
|
10181
|
+
static aiBotV1BotsWhatsappUserConfigUpdate({
|
|
10182
|
+
id,
|
|
10183
|
+
org,
|
|
10184
|
+
requestBody
|
|
10185
|
+
}) {
|
|
10186
|
+
return request(OpenAPI, {
|
|
10187
|
+
method: 'PUT',
|
|
10188
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10189
|
+
path: {
|
|
10190
|
+
'id': id,
|
|
10191
|
+
'org': org
|
|
10192
|
+
},
|
|
10193
|
+
body: requestBody,
|
|
10194
|
+
mediaType: 'application/json'
|
|
10195
|
+
});
|
|
10196
|
+
}
|
|
10197
|
+
/**
|
|
10198
|
+
* Setup phone number linkage with whatsapp bots
|
|
10199
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10200
|
+
* @returns WhatsappUserConfig
|
|
10201
|
+
* @throws ApiError
|
|
10202
|
+
*/
|
|
10203
|
+
static aiBotV1BotsWhatsappUserConfigPartialUpdate({
|
|
10204
|
+
id,
|
|
10205
|
+
org,
|
|
10206
|
+
requestBody
|
|
10207
|
+
}) {
|
|
10208
|
+
return request(OpenAPI, {
|
|
10209
|
+
method: 'PATCH',
|
|
10210
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10211
|
+
path: {
|
|
10212
|
+
'id': id,
|
|
10213
|
+
'org': org
|
|
10214
|
+
},
|
|
10215
|
+
body: requestBody,
|
|
10216
|
+
mediaType: 'application/json'
|
|
10217
|
+
});
|
|
10218
|
+
}
|
|
10219
|
+
/**
|
|
10220
|
+
* Setup phone number linkage with whatsapp bots
|
|
10221
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10222
|
+
* @returns void
|
|
10223
|
+
* @throws ApiError
|
|
10224
|
+
*/
|
|
10225
|
+
static aiBotV1BotsWhatsappUserConfigDestroy({
|
|
10226
|
+
id,
|
|
10227
|
+
org
|
|
10228
|
+
}) {
|
|
10229
|
+
return request(OpenAPI, {
|
|
10230
|
+
method: 'DELETE',
|
|
10231
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10232
|
+
path: {
|
|
10233
|
+
'id': id,
|
|
10234
|
+
'org': org
|
|
10235
|
+
}
|
|
10236
|
+
});
|
|
10237
|
+
}
|
|
10238
|
+
/**
|
|
10239
|
+
* Webhook endpoint to receive and process discord messages.
|
|
10240
|
+
* @returns DiscordWebhook
|
|
10241
|
+
* @throws ApiError
|
|
10242
|
+
*/
|
|
10243
|
+
static aiBotV1BotsWebhooksDiscordCreate({
|
|
10244
|
+
name,
|
|
10245
|
+
org,
|
|
10246
|
+
requestBody
|
|
10247
|
+
}) {
|
|
10248
|
+
return request(OpenAPI, {
|
|
10249
|
+
method: 'POST',
|
|
10250
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
|
|
10251
|
+
path: {
|
|
10252
|
+
'name': name,
|
|
10253
|
+
'org': org
|
|
10254
|
+
},
|
|
10255
|
+
body: requestBody,
|
|
10256
|
+
mediaType: 'application/json'
|
|
10257
|
+
});
|
|
10258
|
+
}
|
|
10259
|
+
/**
|
|
10260
|
+
* @returns SlackWebhook
|
|
10261
|
+
* @throws ApiError
|
|
10262
|
+
*/
|
|
10263
|
+
static aiBotV1BotsWebhooksSlackCreate({
|
|
10264
|
+
name,
|
|
10265
|
+
org,
|
|
10266
|
+
requestBody
|
|
10267
|
+
}) {
|
|
10268
|
+
return request(OpenAPI, {
|
|
10269
|
+
method: 'POST',
|
|
10270
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
|
|
10271
|
+
path: {
|
|
10272
|
+
'name': name,
|
|
10273
|
+
'org': org
|
|
10274
|
+
},
|
|
10275
|
+
body: requestBody,
|
|
10276
|
+
mediaType: 'application/json'
|
|
10277
|
+
});
|
|
10278
|
+
}
|
|
10279
|
+
/**
|
|
10280
|
+
* @returns TeamsWebhook
|
|
10281
|
+
* @throws ApiError
|
|
10282
|
+
*/
|
|
10283
|
+
static aiBotV1BotsWebhooksTeamsCreate({
|
|
10284
|
+
name,
|
|
10285
|
+
org,
|
|
10286
|
+
requestBody
|
|
10287
|
+
}) {
|
|
10288
|
+
return request(OpenAPI, {
|
|
10289
|
+
method: 'POST',
|
|
10290
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
10291
|
+
path: {
|
|
10292
|
+
'name': name,
|
|
10293
|
+
'org': org
|
|
10294
|
+
},
|
|
10295
|
+
body: requestBody,
|
|
10296
|
+
mediaType: 'application/json'
|
|
10297
|
+
});
|
|
10298
|
+
}
|
|
10299
|
+
/**
|
|
10300
|
+
* Webhook endpoint to receive and process discord messages.
|
|
10301
|
+
* @returns WebexWebhook
|
|
10302
|
+
* @throws ApiError
|
|
10303
|
+
*/
|
|
10304
|
+
static aiBotV1BotsWebhooksWebexCreate({
|
|
10305
|
+
name,
|
|
10306
|
+
org,
|
|
10307
|
+
requestBody
|
|
10308
|
+
}) {
|
|
10309
|
+
return request(OpenAPI, {
|
|
10310
|
+
method: 'POST',
|
|
10311
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
|
|
10312
|
+
path: {
|
|
10313
|
+
'name': name,
|
|
10314
|
+
'org': org
|
|
10315
|
+
},
|
|
10316
|
+
body: requestBody,
|
|
10317
|
+
mediaType: 'application/json'
|
|
10318
|
+
});
|
|
10319
|
+
}
|
|
10320
|
+
/**
|
|
10321
|
+
* Respond to whatsapp's webhook challenge.
|
|
10322
|
+
* Parameters Required include the tenant key (org) and the name of the bot: (name)
|
|
10323
|
+
* @returns WhatAppWebHook
|
|
10324
|
+
* @throws ApiError
|
|
10325
|
+
*/
|
|
10326
|
+
static aiBotV1BotsWebhooksWhatsappRetrieve({
|
|
10327
|
+
name,
|
|
10328
|
+
org
|
|
10329
|
+
}) {
|
|
10330
|
+
return request(OpenAPI, {
|
|
10331
|
+
method: 'GET',
|
|
10332
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10333
|
+
path: {
|
|
10334
|
+
'name': name,
|
|
10335
|
+
'org': org
|
|
10336
|
+
}
|
|
10337
|
+
});
|
|
10338
|
+
}
|
|
10339
|
+
/**
|
|
10340
|
+
* Accept and process webhook events from whatsapp.
|
|
10341
|
+
* @returns WhatAppWebHook
|
|
10342
|
+
* @throws ApiError
|
|
10343
|
+
*/
|
|
10344
|
+
static aiBotV1BotsWebhooksWhatsappCreate({
|
|
10345
|
+
name,
|
|
10346
|
+
org,
|
|
10347
|
+
requestBody
|
|
10348
|
+
}) {
|
|
10349
|
+
return request(OpenAPI, {
|
|
10350
|
+
method: 'POST',
|
|
10351
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10352
|
+
path: {
|
|
10353
|
+
'name': name,
|
|
10354
|
+
'org': org
|
|
10355
|
+
},
|
|
10356
|
+
body: requestBody,
|
|
10357
|
+
mediaType: 'application/json'
|
|
10358
|
+
});
|
|
10359
|
+
}
|
|
10360
|
+
}
|
|
10361
|
+
|
|
10362
|
+
class AiFinetuningService {
|
|
10363
|
+
/**
|
|
10364
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10365
|
+
* @returns PaginatedDataSetList
|
|
10366
|
+
* @throws ApiError
|
|
10367
|
+
*/
|
|
10368
|
+
static aiFinetuningV1OrgUserDatasetsList({
|
|
10369
|
+
org,
|
|
10370
|
+
username,
|
|
10371
|
+
dateCreated,
|
|
10372
|
+
numDataPoints,
|
|
10373
|
+
ordering,
|
|
10374
|
+
page,
|
|
10375
|
+
pageSize,
|
|
10376
|
+
retryAttempts,
|
|
10377
|
+
search,
|
|
10378
|
+
status
|
|
10379
|
+
}) {
|
|
10380
|
+
return request(OpenAPI, {
|
|
10381
|
+
method: 'GET',
|
|
10382
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10383
|
+
path: {
|
|
10384
|
+
'org': org,
|
|
10385
|
+
'username': username
|
|
10386
|
+
},
|
|
10387
|
+
query: {
|
|
10388
|
+
'date_created': dateCreated,
|
|
10389
|
+
'num_data_points': numDataPoints,
|
|
10390
|
+
'ordering': ordering,
|
|
10391
|
+
'page': page,
|
|
10392
|
+
'page_size': pageSize,
|
|
10393
|
+
'retry_attempts': retryAttempts,
|
|
10394
|
+
'search': search,
|
|
10395
|
+
'status': status
|
|
10396
|
+
}
|
|
10397
|
+
});
|
|
10398
|
+
}
|
|
10399
|
+
/**
|
|
10400
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10401
|
+
* @returns DataSetCreate
|
|
10402
|
+
* @throws ApiError
|
|
10403
|
+
*/
|
|
10404
|
+
static aiFinetuningV1OrgUserDatasetsCreate({
|
|
10405
|
+
org,
|
|
10406
|
+
username,
|
|
10407
|
+
requestBody
|
|
10408
|
+
}) {
|
|
10409
|
+
return request(OpenAPI, {
|
|
10410
|
+
method: 'POST',
|
|
10411
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10412
|
+
path: {
|
|
10413
|
+
'org': org,
|
|
10414
|
+
'username': username
|
|
10415
|
+
},
|
|
10416
|
+
body: requestBody,
|
|
10417
|
+
mediaType: 'application/json'
|
|
10418
|
+
});
|
|
10419
|
+
}
|
|
10420
|
+
/**
|
|
10421
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10422
|
+
* @returns DataSet
|
|
10423
|
+
* @throws ApiError
|
|
10424
|
+
*/
|
|
10425
|
+
static aiFinetuningV1OrgUserDatasetsRetrieve({
|
|
10426
|
+
id,
|
|
10427
|
+
org,
|
|
10428
|
+
username
|
|
10429
|
+
}) {
|
|
10430
|
+
return request(OpenAPI, {
|
|
10431
|
+
method: 'GET',
|
|
10432
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10433
|
+
path: {
|
|
10434
|
+
'id': id,
|
|
10435
|
+
'org': org,
|
|
10436
|
+
'username': username
|
|
10437
|
+
}
|
|
10438
|
+
});
|
|
10439
|
+
}
|
|
10440
|
+
/**
|
|
10441
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10442
|
+
* @returns DataSet
|
|
10443
|
+
* @throws ApiError
|
|
10444
|
+
*/
|
|
10445
|
+
static aiFinetuningV1OrgUserDatasetsUpdate({
|
|
10446
|
+
id,
|
|
10447
|
+
org,
|
|
10448
|
+
username,
|
|
10449
|
+
requestBody
|
|
10450
|
+
}) {
|
|
10451
|
+
return request(OpenAPI, {
|
|
10452
|
+
method: 'PUT',
|
|
10453
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10454
|
+
path: {
|
|
10455
|
+
'id': id,
|
|
10456
|
+
'org': org,
|
|
10457
|
+
'username': username
|
|
10458
|
+
},
|
|
10459
|
+
body: requestBody,
|
|
10460
|
+
mediaType: 'application/json'
|
|
10461
|
+
});
|
|
10462
|
+
}
|
|
10463
|
+
/**
|
|
10464
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10465
|
+
* @returns DataSet
|
|
10466
|
+
* @throws ApiError
|
|
10467
|
+
*/
|
|
10468
|
+
static aiFinetuningV1OrgUserDatasetsPartialUpdate({
|
|
10469
|
+
id,
|
|
10470
|
+
org,
|
|
10471
|
+
username,
|
|
10472
|
+
requestBody
|
|
10473
|
+
}) {
|
|
10474
|
+
return request(OpenAPI, {
|
|
10475
|
+
method: 'PATCH',
|
|
10476
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10477
|
+
path: {
|
|
10478
|
+
'id': id,
|
|
10479
|
+
'org': org,
|
|
10480
|
+
'username': username
|
|
10481
|
+
},
|
|
10482
|
+
body: requestBody,
|
|
10483
|
+
mediaType: 'application/json'
|
|
10484
|
+
});
|
|
10485
|
+
}
|
|
10486
|
+
/**
|
|
10487
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10488
|
+
* @returns void
|
|
10489
|
+
* @throws ApiError
|
|
10490
|
+
*/
|
|
10491
|
+
static aiFinetuningV1OrgUserDatasetsDestroy({
|
|
10492
|
+
id,
|
|
10493
|
+
org,
|
|
10494
|
+
username
|
|
10495
|
+
}) {
|
|
10496
|
+
return request(OpenAPI, {
|
|
10497
|
+
method: 'DELETE',
|
|
10498
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10499
|
+
path: {
|
|
10500
|
+
'id': id,
|
|
10501
|
+
'org': org,
|
|
10502
|
+
'username': username
|
|
10503
|
+
}
|
|
10504
|
+
});
|
|
10505
|
+
}
|
|
10506
|
+
/**
|
|
10507
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10508
|
+
* @returns PaginatedTrainingList
|
|
10509
|
+
* @throws ApiError
|
|
10510
|
+
*/
|
|
10511
|
+
static aiFinetuningV1OrgUserTrainingsList({
|
|
10512
|
+
org,
|
|
10513
|
+
username,
|
|
10514
|
+
baseModelName,
|
|
10515
|
+
dataset,
|
|
10516
|
+
dateCreated,
|
|
10517
|
+
fineTunedModel,
|
|
10518
|
+
lastModified,
|
|
10519
|
+
ordering,
|
|
10520
|
+
page,
|
|
10521
|
+
pageSize,
|
|
10522
|
+
preprocessDataset,
|
|
10523
|
+
provider,
|
|
10524
|
+
search,
|
|
10525
|
+
status
|
|
10526
|
+
}) {
|
|
10527
|
+
return request(OpenAPI, {
|
|
10528
|
+
method: 'GET',
|
|
10529
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10530
|
+
path: {
|
|
10531
|
+
'org': org,
|
|
10532
|
+
'username': username
|
|
10533
|
+
},
|
|
10534
|
+
query: {
|
|
10535
|
+
'base_model_name': baseModelName,
|
|
10536
|
+
'dataset': dataset,
|
|
10537
|
+
'date_created': dateCreated,
|
|
10538
|
+
'fine_tuned_model': fineTunedModel,
|
|
10539
|
+
'last_modified': lastModified,
|
|
10540
|
+
'ordering': ordering,
|
|
10541
|
+
'page': page,
|
|
10542
|
+
'page_size': pageSize,
|
|
10543
|
+
'preprocess_dataset': preprocessDataset,
|
|
10544
|
+
'provider': provider,
|
|
10545
|
+
'search': search,
|
|
10546
|
+
'status': status
|
|
10547
|
+
}
|
|
10548
|
+
});
|
|
10549
|
+
}
|
|
10550
|
+
/**
|
|
10551
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10552
|
+
* @returns TrainingCreate
|
|
10553
|
+
* @throws ApiError
|
|
10554
|
+
*/
|
|
10555
|
+
static aiFinetuningV1OrgUserTrainingsCreate({
|
|
10556
|
+
org,
|
|
10557
|
+
username,
|
|
10558
|
+
requestBody
|
|
10559
|
+
}) {
|
|
10560
|
+
return request(OpenAPI, {
|
|
10561
|
+
method: 'POST',
|
|
10562
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10563
|
+
path: {
|
|
10564
|
+
'org': org,
|
|
10565
|
+
'username': username
|
|
10566
|
+
},
|
|
10567
|
+
body: requestBody,
|
|
10568
|
+
mediaType: 'application/json'
|
|
10569
|
+
});
|
|
10570
|
+
}
|
|
10571
|
+
/**
|
|
10572
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10573
|
+
* @returns Training
|
|
10574
|
+
* @throws ApiError
|
|
10575
|
+
*/
|
|
10576
|
+
static aiFinetuningV1OrgUserTrainingsRetrieve({
|
|
10577
|
+
id,
|
|
10578
|
+
org,
|
|
10579
|
+
username
|
|
10580
|
+
}) {
|
|
10581
|
+
return request(OpenAPI, {
|
|
10582
|
+
method: 'GET',
|
|
10583
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10584
|
+
path: {
|
|
10585
|
+
'id': id,
|
|
10586
|
+
'org': org,
|
|
10587
|
+
'username': username
|
|
10588
|
+
}
|
|
10589
|
+
});
|
|
10590
|
+
}
|
|
10591
|
+
/**
|
|
10592
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10593
|
+
* @returns TrainingCreate
|
|
10594
|
+
* @throws ApiError
|
|
10595
|
+
*/
|
|
10596
|
+
static aiFinetuningV1OrgUserTrainingsUpdate({
|
|
10597
|
+
id,
|
|
10598
|
+
org,
|
|
10599
|
+
username,
|
|
10600
|
+
requestBody
|
|
10601
|
+
}) {
|
|
10602
|
+
return request(OpenAPI, {
|
|
10603
|
+
method: 'PUT',
|
|
10604
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10605
|
+
path: {
|
|
10606
|
+
'id': id,
|
|
10607
|
+
'org': org,
|
|
10608
|
+
'username': username
|
|
10609
|
+
},
|
|
10610
|
+
body: requestBody,
|
|
10611
|
+
mediaType: 'application/json'
|
|
10612
|
+
});
|
|
10613
|
+
}
|
|
10614
|
+
/**
|
|
10615
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10616
|
+
* @returns TrainingCreate
|
|
10617
|
+
* @throws ApiError
|
|
10618
|
+
*/
|
|
10619
|
+
static aiFinetuningV1OrgUserTrainingsPartialUpdate({
|
|
10620
|
+
id,
|
|
10621
|
+
org,
|
|
10622
|
+
username,
|
|
10623
|
+
requestBody
|
|
10624
|
+
}) {
|
|
10625
|
+
return request(OpenAPI, {
|
|
10626
|
+
method: 'PATCH',
|
|
10627
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10628
|
+
path: {
|
|
10629
|
+
'id': id,
|
|
10630
|
+
'org': org,
|
|
10631
|
+
'username': username
|
|
10632
|
+
},
|
|
10633
|
+
body: requestBody,
|
|
10634
|
+
mediaType: 'application/json'
|
|
10635
|
+
});
|
|
10636
|
+
}
|
|
10637
|
+
/**
|
|
10638
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10639
|
+
* @returns void
|
|
10640
|
+
* @throws ApiError
|
|
10641
|
+
*/
|
|
10642
|
+
static aiFinetuningV1OrgUserTrainingsDestroy({
|
|
10643
|
+
id,
|
|
10644
|
+
org,
|
|
10645
|
+
username
|
|
10646
|
+
}) {
|
|
10647
|
+
return request(OpenAPI, {
|
|
10648
|
+
method: 'DELETE',
|
|
10649
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10650
|
+
path: {
|
|
10651
|
+
'id': id,
|
|
10652
|
+
'org': org,
|
|
10653
|
+
'username': username
|
|
10654
|
+
}
|
|
10655
|
+
});
|
|
10656
|
+
}
|
|
10657
|
+
/**
|
|
10658
|
+
* Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
|
|
10659
|
+
* Filtering and pagination is allowed.
|
|
10660
|
+
*
|
|
10661
|
+
* NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
|
|
10662
|
+
* training list endpoint.
|
|
10663
|
+
* Returns:
|
|
10664
|
+
* Response: A paginated response containing the serialized fine-tuned models.
|
|
10665
|
+
* @returns Training
|
|
10666
|
+
* @throws ApiError
|
|
10667
|
+
*/
|
|
10668
|
+
static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({
|
|
10669
|
+
org,
|
|
10670
|
+
username
|
|
10671
|
+
}) {
|
|
10672
|
+
return request(OpenAPI, {
|
|
10673
|
+
method: 'GET',
|
|
10674
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/finetuned-models/',
|
|
10675
|
+
path: {
|
|
10676
|
+
'org': org,
|
|
10677
|
+
'username': username
|
|
10678
|
+
}
|
|
10679
|
+
});
|
|
10680
|
+
}
|
|
10681
|
+
}
|
|
10682
|
+
|
|
9292
10683
|
class AiIndexService {
|
|
9293
10684
|
/**
|
|
9294
10685
|
* Retrieve details of a specific document embedding.
|
|
@@ -34593,5 +35984,5 @@ class SkillsService {
|
|
|
34593
35984
|
}
|
|
34594
35985
|
}
|
|
34595
35986
|
|
|
34596
|
-
export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AlignMentorBubbleEnum, ApiError, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, ConnectedServiceProviderEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationStatusEnum, NotificationsService, OpenAPI, PeriodicAgentLogStatusEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider637Enum, RatingEnum, RecommendationsService, ReportsService, ResourceScrappedDataStatusEnum, ScimService, SearchService, ServiceEnum, SkillsService, StateEnum, Status6eeEnum, StepStatusEnum, StripeCheckoutSessionRequestModeEnum, SttProviderEnum, TargetSystemEnum, ThemeEnum, TrainingStatusEnum, TransportEnum, TtsProviderEnum, TypeC42Enum };
|
|
35987
|
+
export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiBotService, AiFinetuningService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AlignMentorBubbleEnum, ApiError, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, ConnectedServiceProviderEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, DataSetStatusEnum, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationStatusEnum, NotificationsService, OpenAPI, PeriodicAgentLogStatusEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider05cEnum, Provider637Enum, Provider63aEnum, RatingEnum, RecommendationsService, ReportsService, ResourceScrappedDataStatusEnum, ScimService, SearchService, ServiceEnum, SkillsService, StateEnum, Status6eeEnum, StepStatusEnum, StripeCheckoutSessionRequestModeEnum, SttProviderEnum, TargetSystemEnum, ThemeEnum, TrainingStatusEnum, TransportEnum, TtsProviderEnum, TypeC42Enum };
|
|
34597
35988
|
//# sourceMappingURL=index.esm.js.map
|