@iblai/iblai-api 4.7.6-ai-plus → 4.8.0-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1394
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -1393
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1394
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -39
- package/dist/types/models/ConnectedService.d.ts +2 -0
- package/dist/types/models/ExternalServiceInfo.d.ts +6 -0
- package/dist/types/models/IntegrationCredential.d.ts +2 -0
- package/dist/types/models/IntegrationCredentialSchema.d.ts +2 -0
- package/dist/types/models/LLMCredentialResponse.d.ts +2 -0
- package/dist/types/models/LLMCredentialSchema.d.ts +2 -0
- package/dist/types/models/MaskedIntegrationCredential.d.ts +2 -0
- package/dist/types/models/MaskedLLMCredential.d.ts +2 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -39
- package/src/models/ConnectedService.ts +2 -0
- package/src/models/{BotCommand.ts → ExternalServiceInfo.ts} +4 -4
- package/src/models/IntegrationCredential.ts +2 -0
- package/src/models/IntegrationCredentialSchema.ts +2 -0
- package/src/models/LLMCredentialResponse.ts +2 -0
- package/src/models/LLMCredentialSchema.ts +2 -0
- package/src/models/MaskedIntegrationCredential.ts +2 -0
- package/src/models/MaskedLLMCredential.ts +2 -0
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DiscordConfig.d.ts +0 -7
- package/dist/types/models/DiscordUserConfig.d.ts +0 -10
- package/dist/types/models/DiscordWebhook.d.ts +0 -6
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/Provider05cEnum.d.ts +0 -14
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiBotService.d.ts +0 -642
- package/dist/types/services/AiFinetuningService.d.ts +0 -232
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCreate.ts +0 -17
- package/src/models/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DiscordConfig.ts +0 -12
- package/src/models/DiscordUserConfig.ts +0 -15
- package/src/models/DiscordWebhook.ts +0 -11
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiBotService.ts +0 -1330
- package/src/services/AiFinetuningService.ts +0 -472
package/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: '4.
|
|
113
|
+
VERSION: '4.8.0-ai',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -271,24 +271,6 @@ exports.CrawlerPatternTypeEnum = void 0;
|
|
|
271
271
|
CrawlerPatternTypeEnum["REGEX"] = "regex";
|
|
272
272
|
})(exports.CrawlerPatternTypeEnum || (exports.CrawlerPatternTypeEnum = {}));
|
|
273
273
|
|
|
274
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
275
|
-
/* istanbul ignore file */
|
|
276
|
-
/* tslint:disable */
|
|
277
|
-
/* eslint-disable */
|
|
278
|
-
/**
|
|
279
|
-
* * `pending` - Pending
|
|
280
|
-
* * `processing` - Processing
|
|
281
|
-
* * `completed` - Completed
|
|
282
|
-
* * `failed` - Failed
|
|
283
|
-
*/
|
|
284
|
-
exports.DataSetStatusEnum = void 0;
|
|
285
|
-
(function (DataSetStatusEnum) {
|
|
286
|
-
DataSetStatusEnum["PENDING"] = "pending";
|
|
287
|
-
DataSetStatusEnum["PROCESSING"] = "processing";
|
|
288
|
-
DataSetStatusEnum["COMPLETED"] = "completed";
|
|
289
|
-
DataSetStatusEnum["FAILED"] = "failed";
|
|
290
|
-
})(exports.DataSetStatusEnum || (exports.DataSetStatusEnum = {}));
|
|
291
|
-
|
|
292
274
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
293
275
|
/* istanbul ignore file */
|
|
294
276
|
/* tslint:disable */
|
|
@@ -585,26 +567,6 @@ exports.PromptVisibilityEnum = void 0;
|
|
|
585
567
|
PromptVisibilityEnum["VIEWABLE_BY_ANYONE"] = "viewable_by_anyone";
|
|
586
568
|
})(exports.PromptVisibilityEnum || (exports.PromptVisibilityEnum = {}));
|
|
587
569
|
|
|
588
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
589
|
-
/* istanbul ignore file */
|
|
590
|
-
/* tslint:disable */
|
|
591
|
-
/* eslint-disable */
|
|
592
|
-
/**
|
|
593
|
-
* * `webex` - Webex
|
|
594
|
-
* * `slack` - Slack
|
|
595
|
-
* * `whatsapp` - Whatsapp
|
|
596
|
-
* * `discord` - Discord
|
|
597
|
-
* * `teams` - Teams
|
|
598
|
-
*/
|
|
599
|
-
exports.Provider05cEnum = void 0;
|
|
600
|
-
(function (Provider05cEnum) {
|
|
601
|
-
Provider05cEnum["WEBEX"] = "webex";
|
|
602
|
-
Provider05cEnum["SLACK"] = "slack";
|
|
603
|
-
Provider05cEnum["WHATSAPP"] = "whatsapp";
|
|
604
|
-
Provider05cEnum["DISCORD"] = "discord";
|
|
605
|
-
Provider05cEnum["TEAMS"] = "teams";
|
|
606
|
-
})(exports.Provider05cEnum || (exports.Provider05cEnum = {}));
|
|
607
|
-
|
|
608
570
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
609
571
|
/* istanbul ignore file */
|
|
610
572
|
/* tslint:disable */
|
|
@@ -621,18 +583,6 @@ exports.Provider637Enum = void 0;
|
|
|
621
583
|
Provider637Enum["ELEVENLABS"] = "elevenlabs";
|
|
622
584
|
})(exports.Provider637Enum || (exports.Provider637Enum = {}));
|
|
623
585
|
|
|
624
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
625
|
-
/* istanbul ignore file */
|
|
626
|
-
/* tslint:disable */
|
|
627
|
-
/* eslint-disable */
|
|
628
|
-
/**
|
|
629
|
-
* * `openai` - Openai
|
|
630
|
-
*/
|
|
631
|
-
exports.Provider63aEnum = void 0;
|
|
632
|
-
(function (Provider63aEnum) {
|
|
633
|
-
Provider63aEnum["OPENAI"] = "openai";
|
|
634
|
-
})(exports.Provider63aEnum || (exports.Provider63aEnum = {}));
|
|
635
|
-
|
|
636
586
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
637
587
|
/* istanbul ignore file */
|
|
638
588
|
/* tslint:disable */
|
|
@@ -9618,1347 +9568,6 @@ class AiAnalyticsService {
|
|
|
9618
9568
|
}
|
|
9619
9569
|
}
|
|
9620
9570
|
|
|
9621
|
-
class AiBotService {
|
|
9622
|
-
/**
|
|
9623
|
-
* Create modify and update bot information for a specific tenant.
|
|
9624
|
-
* @returns Bot
|
|
9625
|
-
* @throws ApiError
|
|
9626
|
-
*/
|
|
9627
|
-
static aiBotV1BotsBotList({
|
|
9628
|
-
org
|
|
9629
|
-
}) {
|
|
9630
|
-
return request(OpenAPI, {
|
|
9631
|
-
method: 'GET',
|
|
9632
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9633
|
-
path: {
|
|
9634
|
-
'org': org
|
|
9635
|
-
}
|
|
9636
|
-
});
|
|
9637
|
-
}
|
|
9638
|
-
/**
|
|
9639
|
-
* Create modify and update bot information for a specific tenant.
|
|
9640
|
-
* @returns BotCreate
|
|
9641
|
-
* @throws ApiError
|
|
9642
|
-
*/
|
|
9643
|
-
static aiBotV1BotsBotCreate({
|
|
9644
|
-
org,
|
|
9645
|
-
requestBody
|
|
9646
|
-
}) {
|
|
9647
|
-
return request(OpenAPI, {
|
|
9648
|
-
method: 'POST',
|
|
9649
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9650
|
-
path: {
|
|
9651
|
-
'org': org
|
|
9652
|
-
},
|
|
9653
|
-
body: requestBody,
|
|
9654
|
-
mediaType: 'application/json'
|
|
9655
|
-
});
|
|
9656
|
-
}
|
|
9657
|
-
/**
|
|
9658
|
-
* Create slash commands for a specific bot
|
|
9659
|
-
* eg. /iblai-baseline
|
|
9660
|
-
* @returns BotCommand
|
|
9661
|
-
* @throws ApiError
|
|
9662
|
-
*/
|
|
9663
|
-
static aiBotV1BotsBotCommandsList({
|
|
9664
|
-
org
|
|
9665
|
-
}) {
|
|
9666
|
-
return request(OpenAPI, {
|
|
9667
|
-
method: 'GET',
|
|
9668
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9669
|
-
path: {
|
|
9670
|
-
'org': org
|
|
9671
|
-
}
|
|
9672
|
-
});
|
|
9673
|
-
}
|
|
9674
|
-
/**
|
|
9675
|
-
* Create slash commands for a specific bot
|
|
9676
|
-
* eg. /iblai-baseline
|
|
9677
|
-
* @returns BotCommand
|
|
9678
|
-
* @throws ApiError
|
|
9679
|
-
*/
|
|
9680
|
-
static aiBotV1BotsBotCommandsCreate({
|
|
9681
|
-
org,
|
|
9682
|
-
requestBody
|
|
9683
|
-
}) {
|
|
9684
|
-
return request(OpenAPI, {
|
|
9685
|
-
method: 'POST',
|
|
9686
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9687
|
-
path: {
|
|
9688
|
-
'org': org
|
|
9689
|
-
},
|
|
9690
|
-
body: requestBody,
|
|
9691
|
-
mediaType: 'application/json'
|
|
9692
|
-
});
|
|
9693
|
-
}
|
|
9694
|
-
/**
|
|
9695
|
-
* Create slash commands for a specific bot
|
|
9696
|
-
* eg. /iblai-baseline
|
|
9697
|
-
* @returns BotCommand
|
|
9698
|
-
* @throws ApiError
|
|
9699
|
-
*/
|
|
9700
|
-
static aiBotV1BotsBotCommandsRetrieve({
|
|
9701
|
-
id,
|
|
9702
|
-
org
|
|
9703
|
-
}) {
|
|
9704
|
-
return request(OpenAPI, {
|
|
9705
|
-
method: 'GET',
|
|
9706
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9707
|
-
path: {
|
|
9708
|
-
'id': id,
|
|
9709
|
-
'org': org
|
|
9710
|
-
}
|
|
9711
|
-
});
|
|
9712
|
-
}
|
|
9713
|
-
/**
|
|
9714
|
-
* Create slash commands for a specific bot
|
|
9715
|
-
* eg. /iblai-baseline
|
|
9716
|
-
* @returns BotCommand
|
|
9717
|
-
* @throws ApiError
|
|
9718
|
-
*/
|
|
9719
|
-
static aiBotV1BotsBotCommandsUpdate({
|
|
9720
|
-
id,
|
|
9721
|
-
org,
|
|
9722
|
-
requestBody
|
|
9723
|
-
}) {
|
|
9724
|
-
return request(OpenAPI, {
|
|
9725
|
-
method: 'PUT',
|
|
9726
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9727
|
-
path: {
|
|
9728
|
-
'id': id,
|
|
9729
|
-
'org': org
|
|
9730
|
-
},
|
|
9731
|
-
body: requestBody,
|
|
9732
|
-
mediaType: 'application/json'
|
|
9733
|
-
});
|
|
9734
|
-
}
|
|
9735
|
-
/**
|
|
9736
|
-
* Create slash commands for a specific bot
|
|
9737
|
-
* eg. /iblai-baseline
|
|
9738
|
-
* @returns BotCommand
|
|
9739
|
-
* @throws ApiError
|
|
9740
|
-
*/
|
|
9741
|
-
static aiBotV1BotsBotCommandsPartialUpdate({
|
|
9742
|
-
id,
|
|
9743
|
-
org,
|
|
9744
|
-
requestBody
|
|
9745
|
-
}) {
|
|
9746
|
-
return request(OpenAPI, {
|
|
9747
|
-
method: 'PATCH',
|
|
9748
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9749
|
-
path: {
|
|
9750
|
-
'id': id,
|
|
9751
|
-
'org': org
|
|
9752
|
-
},
|
|
9753
|
-
body: requestBody,
|
|
9754
|
-
mediaType: 'application/json'
|
|
9755
|
-
});
|
|
9756
|
-
}
|
|
9757
|
-
/**
|
|
9758
|
-
* Create slash commands for a specific bot
|
|
9759
|
-
* eg. /iblai-baseline
|
|
9760
|
-
* @returns void
|
|
9761
|
-
* @throws ApiError
|
|
9762
|
-
*/
|
|
9763
|
-
static aiBotV1BotsBotCommandsDestroy({
|
|
9764
|
-
id,
|
|
9765
|
-
org
|
|
9766
|
-
}) {
|
|
9767
|
-
return request(OpenAPI, {
|
|
9768
|
-
method: 'DELETE',
|
|
9769
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9770
|
-
path: {
|
|
9771
|
-
'id': id,
|
|
9772
|
-
'org': org
|
|
9773
|
-
}
|
|
9774
|
-
});
|
|
9775
|
-
}
|
|
9776
|
-
/**
|
|
9777
|
-
* Create modify and update bot information for a specific tenant.
|
|
9778
|
-
* @returns Bot
|
|
9779
|
-
* @throws ApiError
|
|
9780
|
-
*/
|
|
9781
|
-
static aiBotV1BotsBotRetrieve({
|
|
9782
|
-
id,
|
|
9783
|
-
org
|
|
9784
|
-
}) {
|
|
9785
|
-
return request(OpenAPI, {
|
|
9786
|
-
method: 'GET',
|
|
9787
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
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 BotCreate
|
|
9797
|
-
* @throws ApiError
|
|
9798
|
-
*/
|
|
9799
|
-
static aiBotV1BotsBotUpdate({
|
|
9800
|
-
id,
|
|
9801
|
-
org,
|
|
9802
|
-
requestBody
|
|
9803
|
-
}) {
|
|
9804
|
-
return request(OpenAPI, {
|
|
9805
|
-
method: 'PUT',
|
|
9806
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
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 BotCreate
|
|
9818
|
-
* @throws ApiError
|
|
9819
|
-
*/
|
|
9820
|
-
static aiBotV1BotsBotPartialUpdate({
|
|
9821
|
-
id,
|
|
9822
|
-
org,
|
|
9823
|
-
requestBody
|
|
9824
|
-
}) {
|
|
9825
|
-
return request(OpenAPI, {
|
|
9826
|
-
method: 'PATCH',
|
|
9827
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9828
|
-
path: {
|
|
9829
|
-
'id': id,
|
|
9830
|
-
'org': org
|
|
9831
|
-
},
|
|
9832
|
-
body: requestBody,
|
|
9833
|
-
mediaType: 'application/json'
|
|
9834
|
-
});
|
|
9835
|
-
}
|
|
9836
|
-
/**
|
|
9837
|
-
* Create modify and update bot information for a specific tenant.
|
|
9838
|
-
* @returns void
|
|
9839
|
-
* @throws ApiError
|
|
9840
|
-
*/
|
|
9841
|
-
static aiBotV1BotsBotDestroy({
|
|
9842
|
-
id,
|
|
9843
|
-
org
|
|
9844
|
-
}) {
|
|
9845
|
-
return request(OpenAPI, {
|
|
9846
|
-
method: 'DELETE',
|
|
9847
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9848
|
-
path: {
|
|
9849
|
-
'id': id,
|
|
9850
|
-
'org': org
|
|
9851
|
-
}
|
|
9852
|
-
});
|
|
9853
|
-
}
|
|
9854
|
-
/**
|
|
9855
|
-
* Create modify and update bot information for a specific tenant.
|
|
9856
|
-
* @returns DiscordConfig
|
|
9857
|
-
* @throws ApiError
|
|
9858
|
-
*/
|
|
9859
|
-
static aiBotV1BotsBotConfigDiscordRetrieve({
|
|
9860
|
-
id,
|
|
9861
|
-
org
|
|
9862
|
-
}) {
|
|
9863
|
-
return request(OpenAPI, {
|
|
9864
|
-
method: 'GET',
|
|
9865
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9866
|
-
path: {
|
|
9867
|
-
'id': id,
|
|
9868
|
-
'org': org
|
|
9869
|
-
}
|
|
9870
|
-
});
|
|
9871
|
-
}
|
|
9872
|
-
/**
|
|
9873
|
-
* Create modify and update bot information for a specific tenant.
|
|
9874
|
-
* @returns DiscordConfig
|
|
9875
|
-
* @throws ApiError
|
|
9876
|
-
*/
|
|
9877
|
-
static aiBotV1BotsBotConfigDiscordPartialUpdate({
|
|
9878
|
-
id,
|
|
9879
|
-
org,
|
|
9880
|
-
requestBody
|
|
9881
|
-
}) {
|
|
9882
|
-
return request(OpenAPI, {
|
|
9883
|
-
method: 'PATCH',
|
|
9884
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9885
|
-
path: {
|
|
9886
|
-
'id': id,
|
|
9887
|
-
'org': org
|
|
9888
|
-
},
|
|
9889
|
-
body: requestBody,
|
|
9890
|
-
mediaType: 'application/json'
|
|
9891
|
-
});
|
|
9892
|
-
}
|
|
9893
|
-
/**
|
|
9894
|
-
* Create modify and update bot information for a specific tenant.
|
|
9895
|
-
* @returns SlackConfig
|
|
9896
|
-
* @throws ApiError
|
|
9897
|
-
*/
|
|
9898
|
-
static aiBotV1BotsBotConfigSlackRetrieve({
|
|
9899
|
-
id,
|
|
9900
|
-
org
|
|
9901
|
-
}) {
|
|
9902
|
-
return request(OpenAPI, {
|
|
9903
|
-
method: 'GET',
|
|
9904
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
|
|
9905
|
-
path: {
|
|
9906
|
-
'id': id,
|
|
9907
|
-
'org': org
|
|
9908
|
-
}
|
|
9909
|
-
});
|
|
9910
|
-
}
|
|
9911
|
-
/**
|
|
9912
|
-
* Create modify and update bot information for a specific tenant.
|
|
9913
|
-
* @returns SlackConfig
|
|
9914
|
-
* @throws ApiError
|
|
9915
|
-
*/
|
|
9916
|
-
static aiBotV1BotsBotConfigSlackUpdateCreate({
|
|
9917
|
-
id,
|
|
9918
|
-
org,
|
|
9919
|
-
requestBody
|
|
9920
|
-
}) {
|
|
9921
|
-
return request(OpenAPI, {
|
|
9922
|
-
method: 'POST',
|
|
9923
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9924
|
-
path: {
|
|
9925
|
-
'id': id,
|
|
9926
|
-
'org': org
|
|
9927
|
-
},
|
|
9928
|
-
body: requestBody,
|
|
9929
|
-
mediaType: 'application/json'
|
|
9930
|
-
});
|
|
9931
|
-
}
|
|
9932
|
-
/**
|
|
9933
|
-
* Create modify and update bot information for a specific tenant.
|
|
9934
|
-
* @returns SlackConfig
|
|
9935
|
-
* @throws ApiError
|
|
9936
|
-
*/
|
|
9937
|
-
static aiBotV1BotsBotConfigSlackUpdateUpdate({
|
|
9938
|
-
id,
|
|
9939
|
-
org,
|
|
9940
|
-
requestBody
|
|
9941
|
-
}) {
|
|
9942
|
-
return request(OpenAPI, {
|
|
9943
|
-
method: 'PUT',
|
|
9944
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9945
|
-
path: {
|
|
9946
|
-
'id': id,
|
|
9947
|
-
'org': org
|
|
9948
|
-
},
|
|
9949
|
-
body: requestBody,
|
|
9950
|
-
mediaType: 'application/json'
|
|
9951
|
-
});
|
|
9952
|
-
}
|
|
9953
|
-
/**
|
|
9954
|
-
* Create modify and update bot information for a specific tenant.
|
|
9955
|
-
* @returns SlackConfig
|
|
9956
|
-
* @throws ApiError
|
|
9957
|
-
*/
|
|
9958
|
-
static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
|
|
9959
|
-
id,
|
|
9960
|
-
org,
|
|
9961
|
-
requestBody
|
|
9962
|
-
}) {
|
|
9963
|
-
return request(OpenAPI, {
|
|
9964
|
-
method: 'PATCH',
|
|
9965
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9966
|
-
path: {
|
|
9967
|
-
'id': id,
|
|
9968
|
-
'org': org
|
|
9969
|
-
},
|
|
9970
|
-
body: requestBody,
|
|
9971
|
-
mediaType: 'application/json'
|
|
9972
|
-
});
|
|
9973
|
-
}
|
|
9974
|
-
/**
|
|
9975
|
-
* Create modify and update bot information for a specific tenant.
|
|
9976
|
-
* @returns TeamsConfig
|
|
9977
|
-
* @throws ApiError
|
|
9978
|
-
*/
|
|
9979
|
-
static aiBotV1BotsBotConfigTeamsRetrieve({
|
|
9980
|
-
id,
|
|
9981
|
-
org
|
|
9982
|
-
}) {
|
|
9983
|
-
return request(OpenAPI, {
|
|
9984
|
-
method: 'GET',
|
|
9985
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
|
|
9986
|
-
path: {
|
|
9987
|
-
'id': id,
|
|
9988
|
-
'org': org
|
|
9989
|
-
}
|
|
9990
|
-
});
|
|
9991
|
-
}
|
|
9992
|
-
/**
|
|
9993
|
-
* Create modify and update bot information for a specific tenant.
|
|
9994
|
-
* @returns TeamsConfig
|
|
9995
|
-
* @throws ApiError
|
|
9996
|
-
*/
|
|
9997
|
-
static aiBotV1BotsBotConfigTeamsUpdateCreate({
|
|
9998
|
-
id,
|
|
9999
|
-
org,
|
|
10000
|
-
requestBody
|
|
10001
|
-
}) {
|
|
10002
|
-
return request(OpenAPI, {
|
|
10003
|
-
method: 'POST',
|
|
10004
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
10005
|
-
path: {
|
|
10006
|
-
'id': id,
|
|
10007
|
-
'org': org
|
|
10008
|
-
},
|
|
10009
|
-
body: requestBody,
|
|
10010
|
-
mediaType: 'application/json'
|
|
10011
|
-
});
|
|
10012
|
-
}
|
|
10013
|
-
/**
|
|
10014
|
-
* Create modify and update bot information for a specific tenant.
|
|
10015
|
-
* @returns TeamsConfig
|
|
10016
|
-
* @throws ApiError
|
|
10017
|
-
*/
|
|
10018
|
-
static aiBotV1BotsBotConfigTeamsUpdateUpdate({
|
|
10019
|
-
id,
|
|
10020
|
-
org,
|
|
10021
|
-
requestBody
|
|
10022
|
-
}) {
|
|
10023
|
-
return request(OpenAPI, {
|
|
10024
|
-
method: 'PUT',
|
|
10025
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
10026
|
-
path: {
|
|
10027
|
-
'id': id,
|
|
10028
|
-
'org': org
|
|
10029
|
-
},
|
|
10030
|
-
body: requestBody,
|
|
10031
|
-
mediaType: 'application/json'
|
|
10032
|
-
});
|
|
10033
|
-
}
|
|
10034
|
-
/**
|
|
10035
|
-
* Create modify and update bot information for a specific tenant.
|
|
10036
|
-
* @returns TeamsConfig
|
|
10037
|
-
* @throws ApiError
|
|
10038
|
-
*/
|
|
10039
|
-
static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
|
|
10040
|
-
id,
|
|
10041
|
-
org,
|
|
10042
|
-
requestBody
|
|
10043
|
-
}) {
|
|
10044
|
-
return request(OpenAPI, {
|
|
10045
|
-
method: 'PATCH',
|
|
10046
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
10047
|
-
path: {
|
|
10048
|
-
'id': id,
|
|
10049
|
-
'org': org
|
|
10050
|
-
},
|
|
10051
|
-
body: requestBody,
|
|
10052
|
-
mediaType: 'application/json'
|
|
10053
|
-
});
|
|
10054
|
-
}
|
|
10055
|
-
/**
|
|
10056
|
-
* Create modify and update bot information for a specific tenant.
|
|
10057
|
-
* @returns WebexConfig
|
|
10058
|
-
* @throws ApiError
|
|
10059
|
-
*/
|
|
10060
|
-
static aiBotV1BotsBotConfigWebexRetrieve({
|
|
10061
|
-
id,
|
|
10062
|
-
org
|
|
10063
|
-
}) {
|
|
10064
|
-
return request(OpenAPI, {
|
|
10065
|
-
method: 'GET',
|
|
10066
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
10067
|
-
path: {
|
|
10068
|
-
'id': id,
|
|
10069
|
-
'org': org
|
|
10070
|
-
}
|
|
10071
|
-
});
|
|
10072
|
-
}
|
|
10073
|
-
/**
|
|
10074
|
-
* Create modify and update bot information for a specific tenant.
|
|
10075
|
-
* @returns WebexConfig
|
|
10076
|
-
* @throws ApiError
|
|
10077
|
-
*/
|
|
10078
|
-
static aiBotV1BotsBotConfigWebexPartialUpdate({
|
|
10079
|
-
id,
|
|
10080
|
-
org,
|
|
10081
|
-
requestBody
|
|
10082
|
-
}) {
|
|
10083
|
-
return request(OpenAPI, {
|
|
10084
|
-
method: 'PATCH',
|
|
10085
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
10086
|
-
path: {
|
|
10087
|
-
'id': id,
|
|
10088
|
-
'org': org
|
|
10089
|
-
},
|
|
10090
|
-
body: requestBody,
|
|
10091
|
-
mediaType: 'application/json'
|
|
10092
|
-
});
|
|
10093
|
-
}
|
|
10094
|
-
/**
|
|
10095
|
-
* Create modify and update bot information for a specific tenant.
|
|
10096
|
-
* @returns WhatsappConfig
|
|
10097
|
-
* @throws ApiError
|
|
10098
|
-
*/
|
|
10099
|
-
static aiBotV1BotsBotConfigWhatsappRetrieve({
|
|
10100
|
-
id,
|
|
10101
|
-
org
|
|
10102
|
-
}) {
|
|
10103
|
-
return request(OpenAPI, {
|
|
10104
|
-
method: 'GET',
|
|
10105
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
|
|
10106
|
-
path: {
|
|
10107
|
-
'id': id,
|
|
10108
|
-
'org': org
|
|
10109
|
-
}
|
|
10110
|
-
});
|
|
10111
|
-
}
|
|
10112
|
-
/**
|
|
10113
|
-
* Create modify and update bot information for a specific tenant.
|
|
10114
|
-
* @returns WhatsappConfig
|
|
10115
|
-
* @throws ApiError
|
|
10116
|
-
*/
|
|
10117
|
-
static aiBotV1BotsBotWhatsappConfigUpdate({
|
|
10118
|
-
id,
|
|
10119
|
-
org,
|
|
10120
|
-
requestBody
|
|
10121
|
-
}) {
|
|
10122
|
-
return request(OpenAPI, {
|
|
10123
|
-
method: 'PUT',
|
|
10124
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
10125
|
-
path: {
|
|
10126
|
-
'id': id,
|
|
10127
|
-
'org': org
|
|
10128
|
-
},
|
|
10129
|
-
body: requestBody,
|
|
10130
|
-
mediaType: 'application/json'
|
|
10131
|
-
});
|
|
10132
|
-
}
|
|
10133
|
-
/**
|
|
10134
|
-
* Create modify and update bot information for a specific tenant.
|
|
10135
|
-
* @returns WhatsappConfig
|
|
10136
|
-
* @throws ApiError
|
|
10137
|
-
*/
|
|
10138
|
-
static aiBotV1BotsBotWhatsappConfigPartialUpdate({
|
|
10139
|
-
id,
|
|
10140
|
-
org,
|
|
10141
|
-
requestBody
|
|
10142
|
-
}) {
|
|
10143
|
-
return request(OpenAPI, {
|
|
10144
|
-
method: 'PATCH',
|
|
10145
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
10146
|
-
path: {
|
|
10147
|
-
'id': id,
|
|
10148
|
-
'org': org
|
|
10149
|
-
},
|
|
10150
|
-
body: requestBody,
|
|
10151
|
-
mediaType: 'application/json'
|
|
10152
|
-
});
|
|
10153
|
-
}
|
|
10154
|
-
/**
|
|
10155
|
-
* Setup discord user id linkage with discord bots
|
|
10156
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
10157
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
10158
|
-
* @returns DiscordUserConfig
|
|
10159
|
-
* @throws ApiError
|
|
10160
|
-
*/
|
|
10161
|
-
static aiBotV1BotsDiscordUserConfigList({
|
|
10162
|
-
org
|
|
10163
|
-
}) {
|
|
10164
|
-
return request(OpenAPI, {
|
|
10165
|
-
method: 'GET',
|
|
10166
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
10167
|
-
path: {
|
|
10168
|
-
'org': org
|
|
10169
|
-
}
|
|
10170
|
-
});
|
|
10171
|
-
}
|
|
10172
|
-
/**
|
|
10173
|
-
* Setup discord user id linkage with discord bots
|
|
10174
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
10175
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
10176
|
-
* @returns DiscordUserConfig
|
|
10177
|
-
* @throws ApiError
|
|
10178
|
-
*/
|
|
10179
|
-
static aiBotV1BotsDiscordUserConfigCreate({
|
|
10180
|
-
org,
|
|
10181
|
-
requestBody
|
|
10182
|
-
}) {
|
|
10183
|
-
return request(OpenAPI, {
|
|
10184
|
-
method: 'POST',
|
|
10185
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
10186
|
-
path: {
|
|
10187
|
-
'org': org
|
|
10188
|
-
},
|
|
10189
|
-
body: requestBody,
|
|
10190
|
-
mediaType: 'application/json'
|
|
10191
|
-
});
|
|
10192
|
-
}
|
|
10193
|
-
/**
|
|
10194
|
-
* Setup discord user id linkage with discord bots
|
|
10195
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
10196
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
10197
|
-
* @returns DiscordUserConfig
|
|
10198
|
-
* @throws ApiError
|
|
10199
|
-
*/
|
|
10200
|
-
static aiBotV1BotsDiscordUserConfigRetrieve({
|
|
10201
|
-
id,
|
|
10202
|
-
org
|
|
10203
|
-
}) {
|
|
10204
|
-
return request(OpenAPI, {
|
|
10205
|
-
method: 'GET',
|
|
10206
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
10207
|
-
path: {
|
|
10208
|
-
'id': id,
|
|
10209
|
-
'org': org
|
|
10210
|
-
}
|
|
10211
|
-
});
|
|
10212
|
-
}
|
|
10213
|
-
/**
|
|
10214
|
-
* Setup discord user id linkage with discord bots
|
|
10215
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
10216
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
10217
|
-
* @returns DiscordUserConfig
|
|
10218
|
-
* @throws ApiError
|
|
10219
|
-
*/
|
|
10220
|
-
static aiBotV1BotsDiscordUserConfigUpdate({
|
|
10221
|
-
id,
|
|
10222
|
-
org,
|
|
10223
|
-
requestBody
|
|
10224
|
-
}) {
|
|
10225
|
-
return request(OpenAPI, {
|
|
10226
|
-
method: 'PUT',
|
|
10227
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
10228
|
-
path: {
|
|
10229
|
-
'id': id,
|
|
10230
|
-
'org': org
|
|
10231
|
-
},
|
|
10232
|
-
body: requestBody,
|
|
10233
|
-
mediaType: 'application/json'
|
|
10234
|
-
});
|
|
10235
|
-
}
|
|
10236
|
-
/**
|
|
10237
|
-
* Setup discord user id linkage with discord bots
|
|
10238
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
10239
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
10240
|
-
* @returns DiscordUserConfig
|
|
10241
|
-
* @throws ApiError
|
|
10242
|
-
*/
|
|
10243
|
-
static aiBotV1BotsDiscordUserConfigPartialUpdate({
|
|
10244
|
-
id,
|
|
10245
|
-
org,
|
|
10246
|
-
requestBody
|
|
10247
|
-
}) {
|
|
10248
|
-
return request(OpenAPI, {
|
|
10249
|
-
method: 'PATCH',
|
|
10250
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
10251
|
-
path: {
|
|
10252
|
-
'id': id,
|
|
10253
|
-
'org': org
|
|
10254
|
-
},
|
|
10255
|
-
body: requestBody,
|
|
10256
|
-
mediaType: 'application/json'
|
|
10257
|
-
});
|
|
10258
|
-
}
|
|
10259
|
-
/**
|
|
10260
|
-
* Setup discord user id linkage with discord bots
|
|
10261
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
10262
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
10263
|
-
* @returns void
|
|
10264
|
-
* @throws ApiError
|
|
10265
|
-
*/
|
|
10266
|
-
static aiBotV1BotsDiscordUserConfigDestroy({
|
|
10267
|
-
id,
|
|
10268
|
-
org
|
|
10269
|
-
}) {
|
|
10270
|
-
return request(OpenAPI, {
|
|
10271
|
-
method: 'DELETE',
|
|
10272
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
10273
|
-
path: {
|
|
10274
|
-
'id': id,
|
|
10275
|
-
'org': org
|
|
10276
|
-
}
|
|
10277
|
-
});
|
|
10278
|
-
}
|
|
10279
|
-
/**
|
|
10280
|
-
* Setup slack username and domain linkage with slack bots
|
|
10281
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
10282
|
-
* @returns SlackUserConfig
|
|
10283
|
-
* @throws ApiError
|
|
10284
|
-
*/
|
|
10285
|
-
static aiBotV1BotsSlackUserConfigList({
|
|
10286
|
-
org
|
|
10287
|
-
}) {
|
|
10288
|
-
return request(OpenAPI, {
|
|
10289
|
-
method: 'GET',
|
|
10290
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
10291
|
-
path: {
|
|
10292
|
-
'org': org
|
|
10293
|
-
}
|
|
10294
|
-
});
|
|
10295
|
-
}
|
|
10296
|
-
/**
|
|
10297
|
-
* Setup slack username and domain linkage with slack bots
|
|
10298
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
10299
|
-
* @returns SlackUserConfig
|
|
10300
|
-
* @throws ApiError
|
|
10301
|
-
*/
|
|
10302
|
-
static aiBotV1BotsSlackUserConfigCreate({
|
|
10303
|
-
org,
|
|
10304
|
-
requestBody
|
|
10305
|
-
}) {
|
|
10306
|
-
return request(OpenAPI, {
|
|
10307
|
-
method: 'POST',
|
|
10308
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
10309
|
-
path: {
|
|
10310
|
-
'org': org
|
|
10311
|
-
},
|
|
10312
|
-
body: requestBody,
|
|
10313
|
-
mediaType: 'application/json'
|
|
10314
|
-
});
|
|
10315
|
-
}
|
|
10316
|
-
/**
|
|
10317
|
-
* Setup slack username and domain linkage with slack bots
|
|
10318
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
10319
|
-
* @returns SlackUserConfig
|
|
10320
|
-
* @throws ApiError
|
|
10321
|
-
*/
|
|
10322
|
-
static aiBotV1BotsSlackUserConfigRetrieve({
|
|
10323
|
-
id,
|
|
10324
|
-
org
|
|
10325
|
-
}) {
|
|
10326
|
-
return request(OpenAPI, {
|
|
10327
|
-
method: 'GET',
|
|
10328
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
10329
|
-
path: {
|
|
10330
|
-
'id': id,
|
|
10331
|
-
'org': org
|
|
10332
|
-
}
|
|
10333
|
-
});
|
|
10334
|
-
}
|
|
10335
|
-
/**
|
|
10336
|
-
* Setup slack username and domain linkage with slack bots
|
|
10337
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
10338
|
-
* @returns SlackUserConfig
|
|
10339
|
-
* @throws ApiError
|
|
10340
|
-
*/
|
|
10341
|
-
static aiBotV1BotsSlackUserConfigUpdate({
|
|
10342
|
-
id,
|
|
10343
|
-
org,
|
|
10344
|
-
requestBody
|
|
10345
|
-
}) {
|
|
10346
|
-
return request(OpenAPI, {
|
|
10347
|
-
method: 'PUT',
|
|
10348
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
10349
|
-
path: {
|
|
10350
|
-
'id': id,
|
|
10351
|
-
'org': org
|
|
10352
|
-
},
|
|
10353
|
-
body: requestBody,
|
|
10354
|
-
mediaType: 'application/json'
|
|
10355
|
-
});
|
|
10356
|
-
}
|
|
10357
|
-
/**
|
|
10358
|
-
* Setup slack username and domain linkage with slack bots
|
|
10359
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
10360
|
-
* @returns SlackUserConfig
|
|
10361
|
-
* @throws ApiError
|
|
10362
|
-
*/
|
|
10363
|
-
static aiBotV1BotsSlackUserConfigPartialUpdate({
|
|
10364
|
-
id,
|
|
10365
|
-
org,
|
|
10366
|
-
requestBody
|
|
10367
|
-
}) {
|
|
10368
|
-
return request(OpenAPI, {
|
|
10369
|
-
method: 'PATCH',
|
|
10370
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
10371
|
-
path: {
|
|
10372
|
-
'id': id,
|
|
10373
|
-
'org': org
|
|
10374
|
-
},
|
|
10375
|
-
body: requestBody,
|
|
10376
|
-
mediaType: 'application/json'
|
|
10377
|
-
});
|
|
10378
|
-
}
|
|
10379
|
-
/**
|
|
10380
|
-
* Setup slack username and domain linkage with slack bots
|
|
10381
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
10382
|
-
* @returns void
|
|
10383
|
-
* @throws ApiError
|
|
10384
|
-
*/
|
|
10385
|
-
static aiBotV1BotsSlackUserConfigDestroy({
|
|
10386
|
-
id,
|
|
10387
|
-
org
|
|
10388
|
-
}) {
|
|
10389
|
-
return request(OpenAPI, {
|
|
10390
|
-
method: 'DELETE',
|
|
10391
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
10392
|
-
path: {
|
|
10393
|
-
'id': id,
|
|
10394
|
-
'org': org
|
|
10395
|
-
}
|
|
10396
|
-
});
|
|
10397
|
-
}
|
|
10398
|
-
/**
|
|
10399
|
-
* Setup phone number linkage with whatsapp bots
|
|
10400
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10401
|
-
* @returns WhatsappUserConfig
|
|
10402
|
-
* @throws ApiError
|
|
10403
|
-
*/
|
|
10404
|
-
static aiBotV1BotsWhatsappUserConfigList({
|
|
10405
|
-
org
|
|
10406
|
-
}) {
|
|
10407
|
-
return request(OpenAPI, {
|
|
10408
|
-
method: 'GET',
|
|
10409
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
10410
|
-
path: {
|
|
10411
|
-
'org': org
|
|
10412
|
-
}
|
|
10413
|
-
});
|
|
10414
|
-
}
|
|
10415
|
-
/**
|
|
10416
|
-
* Setup phone number linkage with whatsapp bots
|
|
10417
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10418
|
-
* @returns WhatsappUserConfig
|
|
10419
|
-
* @throws ApiError
|
|
10420
|
-
*/
|
|
10421
|
-
static aiBotV1BotsWhatsappUserConfigCreate({
|
|
10422
|
-
org,
|
|
10423
|
-
requestBody
|
|
10424
|
-
}) {
|
|
10425
|
-
return request(OpenAPI, {
|
|
10426
|
-
method: 'POST',
|
|
10427
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
10428
|
-
path: {
|
|
10429
|
-
'org': org
|
|
10430
|
-
},
|
|
10431
|
-
body: requestBody,
|
|
10432
|
-
mediaType: 'application/json'
|
|
10433
|
-
});
|
|
10434
|
-
}
|
|
10435
|
-
/**
|
|
10436
|
-
* Setup phone number linkage with whatsapp bots
|
|
10437
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10438
|
-
* @returns WhatsappUserConfig
|
|
10439
|
-
* @throws ApiError
|
|
10440
|
-
*/
|
|
10441
|
-
static aiBotV1BotsWhatsappUserConfigRetrieve({
|
|
10442
|
-
id,
|
|
10443
|
-
org
|
|
10444
|
-
}) {
|
|
10445
|
-
return request(OpenAPI, {
|
|
10446
|
-
method: 'GET',
|
|
10447
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10448
|
-
path: {
|
|
10449
|
-
'id': id,
|
|
10450
|
-
'org': org
|
|
10451
|
-
}
|
|
10452
|
-
});
|
|
10453
|
-
}
|
|
10454
|
-
/**
|
|
10455
|
-
* Setup phone number linkage with whatsapp bots
|
|
10456
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10457
|
-
* @returns WhatsappUserConfig
|
|
10458
|
-
* @throws ApiError
|
|
10459
|
-
*/
|
|
10460
|
-
static aiBotV1BotsWhatsappUserConfigUpdate({
|
|
10461
|
-
id,
|
|
10462
|
-
org,
|
|
10463
|
-
requestBody
|
|
10464
|
-
}) {
|
|
10465
|
-
return request(OpenAPI, {
|
|
10466
|
-
method: 'PUT',
|
|
10467
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10468
|
-
path: {
|
|
10469
|
-
'id': id,
|
|
10470
|
-
'org': org
|
|
10471
|
-
},
|
|
10472
|
-
body: requestBody,
|
|
10473
|
-
mediaType: 'application/json'
|
|
10474
|
-
});
|
|
10475
|
-
}
|
|
10476
|
-
/**
|
|
10477
|
-
* Setup phone number linkage with whatsapp bots
|
|
10478
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10479
|
-
* @returns WhatsappUserConfig
|
|
10480
|
-
* @throws ApiError
|
|
10481
|
-
*/
|
|
10482
|
-
static aiBotV1BotsWhatsappUserConfigPartialUpdate({
|
|
10483
|
-
id,
|
|
10484
|
-
org,
|
|
10485
|
-
requestBody
|
|
10486
|
-
}) {
|
|
10487
|
-
return request(OpenAPI, {
|
|
10488
|
-
method: 'PATCH',
|
|
10489
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10490
|
-
path: {
|
|
10491
|
-
'id': id,
|
|
10492
|
-
'org': org
|
|
10493
|
-
},
|
|
10494
|
-
body: requestBody,
|
|
10495
|
-
mediaType: 'application/json'
|
|
10496
|
-
});
|
|
10497
|
-
}
|
|
10498
|
-
/**
|
|
10499
|
-
* Setup phone number linkage with whatsapp bots
|
|
10500
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10501
|
-
* @returns void
|
|
10502
|
-
* @throws ApiError
|
|
10503
|
-
*/
|
|
10504
|
-
static aiBotV1BotsWhatsappUserConfigDestroy({
|
|
10505
|
-
id,
|
|
10506
|
-
org
|
|
10507
|
-
}) {
|
|
10508
|
-
return request(OpenAPI, {
|
|
10509
|
-
method: 'DELETE',
|
|
10510
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10511
|
-
path: {
|
|
10512
|
-
'id': id,
|
|
10513
|
-
'org': org
|
|
10514
|
-
}
|
|
10515
|
-
});
|
|
10516
|
-
}
|
|
10517
|
-
/**
|
|
10518
|
-
* Webhook endpoint to receive and process discord messages.
|
|
10519
|
-
* @returns DiscordWebhook
|
|
10520
|
-
* @throws ApiError
|
|
10521
|
-
*/
|
|
10522
|
-
static aiBotV1BotsWebhooksDiscordCreate({
|
|
10523
|
-
name,
|
|
10524
|
-
org,
|
|
10525
|
-
requestBody
|
|
10526
|
-
}) {
|
|
10527
|
-
return request(OpenAPI, {
|
|
10528
|
-
method: 'POST',
|
|
10529
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
|
|
10530
|
-
path: {
|
|
10531
|
-
'name': name,
|
|
10532
|
-
'org': org
|
|
10533
|
-
},
|
|
10534
|
-
body: requestBody,
|
|
10535
|
-
mediaType: 'application/json'
|
|
10536
|
-
});
|
|
10537
|
-
}
|
|
10538
|
-
/**
|
|
10539
|
-
* @returns SlackWebhook
|
|
10540
|
-
* @throws ApiError
|
|
10541
|
-
*/
|
|
10542
|
-
static aiBotV1BotsWebhooksSlackCreate({
|
|
10543
|
-
name,
|
|
10544
|
-
org,
|
|
10545
|
-
requestBody
|
|
10546
|
-
}) {
|
|
10547
|
-
return request(OpenAPI, {
|
|
10548
|
-
method: 'POST',
|
|
10549
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
|
|
10550
|
-
path: {
|
|
10551
|
-
'name': name,
|
|
10552
|
-
'org': org
|
|
10553
|
-
},
|
|
10554
|
-
body: requestBody,
|
|
10555
|
-
mediaType: 'application/json'
|
|
10556
|
-
});
|
|
10557
|
-
}
|
|
10558
|
-
/**
|
|
10559
|
-
* @returns TeamsWebhook
|
|
10560
|
-
* @throws ApiError
|
|
10561
|
-
*/
|
|
10562
|
-
static aiBotV1BotsWebhooksTeamsCreate({
|
|
10563
|
-
name,
|
|
10564
|
-
org,
|
|
10565
|
-
requestBody
|
|
10566
|
-
}) {
|
|
10567
|
-
return request(OpenAPI, {
|
|
10568
|
-
method: 'POST',
|
|
10569
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
10570
|
-
path: {
|
|
10571
|
-
'name': name,
|
|
10572
|
-
'org': org
|
|
10573
|
-
},
|
|
10574
|
-
body: requestBody,
|
|
10575
|
-
mediaType: 'application/json'
|
|
10576
|
-
});
|
|
10577
|
-
}
|
|
10578
|
-
/**
|
|
10579
|
-
* Webhook endpoint to receive and process discord messages.
|
|
10580
|
-
* @returns WebexWebhook
|
|
10581
|
-
* @throws ApiError
|
|
10582
|
-
*/
|
|
10583
|
-
static aiBotV1BotsWebhooksWebexCreate({
|
|
10584
|
-
name,
|
|
10585
|
-
org,
|
|
10586
|
-
requestBody
|
|
10587
|
-
}) {
|
|
10588
|
-
return request(OpenAPI, {
|
|
10589
|
-
method: 'POST',
|
|
10590
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
|
|
10591
|
-
path: {
|
|
10592
|
-
'name': name,
|
|
10593
|
-
'org': org
|
|
10594
|
-
},
|
|
10595
|
-
body: requestBody,
|
|
10596
|
-
mediaType: 'application/json'
|
|
10597
|
-
});
|
|
10598
|
-
}
|
|
10599
|
-
/**
|
|
10600
|
-
* Respond to whatsapp's webhook challenge.
|
|
10601
|
-
* Parameters Required include the tenant key (org) and the name of the bot: (name)
|
|
10602
|
-
* @returns WhatAppWebHook
|
|
10603
|
-
* @throws ApiError
|
|
10604
|
-
*/
|
|
10605
|
-
static aiBotV1BotsWebhooksWhatsappRetrieve({
|
|
10606
|
-
name,
|
|
10607
|
-
org
|
|
10608
|
-
}) {
|
|
10609
|
-
return request(OpenAPI, {
|
|
10610
|
-
method: 'GET',
|
|
10611
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10612
|
-
path: {
|
|
10613
|
-
'name': name,
|
|
10614
|
-
'org': org
|
|
10615
|
-
}
|
|
10616
|
-
});
|
|
10617
|
-
}
|
|
10618
|
-
/**
|
|
10619
|
-
* Accept and process webhook events from whatsapp.
|
|
10620
|
-
* @returns WhatAppWebHook
|
|
10621
|
-
* @throws ApiError
|
|
10622
|
-
*/
|
|
10623
|
-
static aiBotV1BotsWebhooksWhatsappCreate({
|
|
10624
|
-
name,
|
|
10625
|
-
org,
|
|
10626
|
-
requestBody
|
|
10627
|
-
}) {
|
|
10628
|
-
return request(OpenAPI, {
|
|
10629
|
-
method: 'POST',
|
|
10630
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10631
|
-
path: {
|
|
10632
|
-
'name': name,
|
|
10633
|
-
'org': org
|
|
10634
|
-
},
|
|
10635
|
-
body: requestBody,
|
|
10636
|
-
mediaType: 'application/json'
|
|
10637
|
-
});
|
|
10638
|
-
}
|
|
10639
|
-
}
|
|
10640
|
-
|
|
10641
|
-
class AiFinetuningService {
|
|
10642
|
-
/**
|
|
10643
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10644
|
-
* @returns PaginatedDataSetList
|
|
10645
|
-
* @throws ApiError
|
|
10646
|
-
*/
|
|
10647
|
-
static aiFinetuningV1OrgUserDatasetsList({
|
|
10648
|
-
org,
|
|
10649
|
-
username,
|
|
10650
|
-
dateCreated,
|
|
10651
|
-
numDataPoints,
|
|
10652
|
-
ordering,
|
|
10653
|
-
page,
|
|
10654
|
-
pageSize,
|
|
10655
|
-
retryAttempts,
|
|
10656
|
-
search,
|
|
10657
|
-
status
|
|
10658
|
-
}) {
|
|
10659
|
-
return request(OpenAPI, {
|
|
10660
|
-
method: 'GET',
|
|
10661
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10662
|
-
path: {
|
|
10663
|
-
'org': org,
|
|
10664
|
-
'username': username
|
|
10665
|
-
},
|
|
10666
|
-
query: {
|
|
10667
|
-
'date_created': dateCreated,
|
|
10668
|
-
'num_data_points': numDataPoints,
|
|
10669
|
-
'ordering': ordering,
|
|
10670
|
-
'page': page,
|
|
10671
|
-
'page_size': pageSize,
|
|
10672
|
-
'retry_attempts': retryAttempts,
|
|
10673
|
-
'search': search,
|
|
10674
|
-
'status': status
|
|
10675
|
-
}
|
|
10676
|
-
});
|
|
10677
|
-
}
|
|
10678
|
-
/**
|
|
10679
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10680
|
-
* @returns DataSetCreate
|
|
10681
|
-
* @throws ApiError
|
|
10682
|
-
*/
|
|
10683
|
-
static aiFinetuningV1OrgUserDatasetsCreate({
|
|
10684
|
-
org,
|
|
10685
|
-
username,
|
|
10686
|
-
requestBody
|
|
10687
|
-
}) {
|
|
10688
|
-
return request(OpenAPI, {
|
|
10689
|
-
method: 'POST',
|
|
10690
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10691
|
-
path: {
|
|
10692
|
-
'org': org,
|
|
10693
|
-
'username': username
|
|
10694
|
-
},
|
|
10695
|
-
body: requestBody,
|
|
10696
|
-
mediaType: 'application/json'
|
|
10697
|
-
});
|
|
10698
|
-
}
|
|
10699
|
-
/**
|
|
10700
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10701
|
-
* @returns DataSet
|
|
10702
|
-
* @throws ApiError
|
|
10703
|
-
*/
|
|
10704
|
-
static aiFinetuningV1OrgUserDatasetsRetrieve({
|
|
10705
|
-
id,
|
|
10706
|
-
org,
|
|
10707
|
-
username
|
|
10708
|
-
}) {
|
|
10709
|
-
return request(OpenAPI, {
|
|
10710
|
-
method: 'GET',
|
|
10711
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10712
|
-
path: {
|
|
10713
|
-
'id': id,
|
|
10714
|
-
'org': org,
|
|
10715
|
-
'username': username
|
|
10716
|
-
}
|
|
10717
|
-
});
|
|
10718
|
-
}
|
|
10719
|
-
/**
|
|
10720
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10721
|
-
* @returns DataSet
|
|
10722
|
-
* @throws ApiError
|
|
10723
|
-
*/
|
|
10724
|
-
static aiFinetuningV1OrgUserDatasetsUpdate({
|
|
10725
|
-
id,
|
|
10726
|
-
org,
|
|
10727
|
-
username,
|
|
10728
|
-
requestBody
|
|
10729
|
-
}) {
|
|
10730
|
-
return request(OpenAPI, {
|
|
10731
|
-
method: 'PUT',
|
|
10732
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10733
|
-
path: {
|
|
10734
|
-
'id': id,
|
|
10735
|
-
'org': org,
|
|
10736
|
-
'username': username
|
|
10737
|
-
},
|
|
10738
|
-
body: requestBody,
|
|
10739
|
-
mediaType: 'application/json'
|
|
10740
|
-
});
|
|
10741
|
-
}
|
|
10742
|
-
/**
|
|
10743
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10744
|
-
* @returns DataSet
|
|
10745
|
-
* @throws ApiError
|
|
10746
|
-
*/
|
|
10747
|
-
static aiFinetuningV1OrgUserDatasetsPartialUpdate({
|
|
10748
|
-
id,
|
|
10749
|
-
org,
|
|
10750
|
-
username,
|
|
10751
|
-
requestBody
|
|
10752
|
-
}) {
|
|
10753
|
-
return request(OpenAPI, {
|
|
10754
|
-
method: 'PATCH',
|
|
10755
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10756
|
-
path: {
|
|
10757
|
-
'id': id,
|
|
10758
|
-
'org': org,
|
|
10759
|
-
'username': username
|
|
10760
|
-
},
|
|
10761
|
-
body: requestBody,
|
|
10762
|
-
mediaType: 'application/json'
|
|
10763
|
-
});
|
|
10764
|
-
}
|
|
10765
|
-
/**
|
|
10766
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10767
|
-
* @returns void
|
|
10768
|
-
* @throws ApiError
|
|
10769
|
-
*/
|
|
10770
|
-
static aiFinetuningV1OrgUserDatasetsDestroy({
|
|
10771
|
-
id,
|
|
10772
|
-
org,
|
|
10773
|
-
username
|
|
10774
|
-
}) {
|
|
10775
|
-
return request(OpenAPI, {
|
|
10776
|
-
method: 'DELETE',
|
|
10777
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10778
|
-
path: {
|
|
10779
|
-
'id': id,
|
|
10780
|
-
'org': org,
|
|
10781
|
-
'username': username
|
|
10782
|
-
}
|
|
10783
|
-
});
|
|
10784
|
-
}
|
|
10785
|
-
/**
|
|
10786
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10787
|
-
* @returns PaginatedTrainingList
|
|
10788
|
-
* @throws ApiError
|
|
10789
|
-
*/
|
|
10790
|
-
static aiFinetuningV1OrgUserTrainingsList({
|
|
10791
|
-
org,
|
|
10792
|
-
username,
|
|
10793
|
-
baseModelName,
|
|
10794
|
-
dataset,
|
|
10795
|
-
dateCreated,
|
|
10796
|
-
fineTunedModel,
|
|
10797
|
-
lastModified,
|
|
10798
|
-
ordering,
|
|
10799
|
-
page,
|
|
10800
|
-
pageSize,
|
|
10801
|
-
preprocessDataset,
|
|
10802
|
-
provider,
|
|
10803
|
-
search,
|
|
10804
|
-
status
|
|
10805
|
-
}) {
|
|
10806
|
-
return request(OpenAPI, {
|
|
10807
|
-
method: 'GET',
|
|
10808
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10809
|
-
path: {
|
|
10810
|
-
'org': org,
|
|
10811
|
-
'username': username
|
|
10812
|
-
},
|
|
10813
|
-
query: {
|
|
10814
|
-
'base_model_name': baseModelName,
|
|
10815
|
-
'dataset': dataset,
|
|
10816
|
-
'date_created': dateCreated,
|
|
10817
|
-
'fine_tuned_model': fineTunedModel,
|
|
10818
|
-
'last_modified': lastModified,
|
|
10819
|
-
'ordering': ordering,
|
|
10820
|
-
'page': page,
|
|
10821
|
-
'page_size': pageSize,
|
|
10822
|
-
'preprocess_dataset': preprocessDataset,
|
|
10823
|
-
'provider': provider,
|
|
10824
|
-
'search': search,
|
|
10825
|
-
'status': status
|
|
10826
|
-
}
|
|
10827
|
-
});
|
|
10828
|
-
}
|
|
10829
|
-
/**
|
|
10830
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10831
|
-
* @returns TrainingCreate
|
|
10832
|
-
* @throws ApiError
|
|
10833
|
-
*/
|
|
10834
|
-
static aiFinetuningV1OrgUserTrainingsCreate({
|
|
10835
|
-
org,
|
|
10836
|
-
username,
|
|
10837
|
-
requestBody
|
|
10838
|
-
}) {
|
|
10839
|
-
return request(OpenAPI, {
|
|
10840
|
-
method: 'POST',
|
|
10841
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10842
|
-
path: {
|
|
10843
|
-
'org': org,
|
|
10844
|
-
'username': username
|
|
10845
|
-
},
|
|
10846
|
-
body: requestBody,
|
|
10847
|
-
mediaType: 'application/json'
|
|
10848
|
-
});
|
|
10849
|
-
}
|
|
10850
|
-
/**
|
|
10851
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10852
|
-
* @returns Training
|
|
10853
|
-
* @throws ApiError
|
|
10854
|
-
*/
|
|
10855
|
-
static aiFinetuningV1OrgUserTrainingsRetrieve({
|
|
10856
|
-
id,
|
|
10857
|
-
org,
|
|
10858
|
-
username
|
|
10859
|
-
}) {
|
|
10860
|
-
return request(OpenAPI, {
|
|
10861
|
-
method: 'GET',
|
|
10862
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10863
|
-
path: {
|
|
10864
|
-
'id': id,
|
|
10865
|
-
'org': org,
|
|
10866
|
-
'username': username
|
|
10867
|
-
}
|
|
10868
|
-
});
|
|
10869
|
-
}
|
|
10870
|
-
/**
|
|
10871
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10872
|
-
* @returns TrainingCreate
|
|
10873
|
-
* @throws ApiError
|
|
10874
|
-
*/
|
|
10875
|
-
static aiFinetuningV1OrgUserTrainingsUpdate({
|
|
10876
|
-
id,
|
|
10877
|
-
org,
|
|
10878
|
-
username,
|
|
10879
|
-
requestBody
|
|
10880
|
-
}) {
|
|
10881
|
-
return request(OpenAPI, {
|
|
10882
|
-
method: 'PUT',
|
|
10883
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10884
|
-
path: {
|
|
10885
|
-
'id': id,
|
|
10886
|
-
'org': org,
|
|
10887
|
-
'username': username
|
|
10888
|
-
},
|
|
10889
|
-
body: requestBody,
|
|
10890
|
-
mediaType: 'application/json'
|
|
10891
|
-
});
|
|
10892
|
-
}
|
|
10893
|
-
/**
|
|
10894
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10895
|
-
* @returns TrainingCreate
|
|
10896
|
-
* @throws ApiError
|
|
10897
|
-
*/
|
|
10898
|
-
static aiFinetuningV1OrgUserTrainingsPartialUpdate({
|
|
10899
|
-
id,
|
|
10900
|
-
org,
|
|
10901
|
-
username,
|
|
10902
|
-
requestBody
|
|
10903
|
-
}) {
|
|
10904
|
-
return request(OpenAPI, {
|
|
10905
|
-
method: 'PATCH',
|
|
10906
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10907
|
-
path: {
|
|
10908
|
-
'id': id,
|
|
10909
|
-
'org': org,
|
|
10910
|
-
'username': username
|
|
10911
|
-
},
|
|
10912
|
-
body: requestBody,
|
|
10913
|
-
mediaType: 'application/json'
|
|
10914
|
-
});
|
|
10915
|
-
}
|
|
10916
|
-
/**
|
|
10917
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10918
|
-
* @returns void
|
|
10919
|
-
* @throws ApiError
|
|
10920
|
-
*/
|
|
10921
|
-
static aiFinetuningV1OrgUserTrainingsDestroy({
|
|
10922
|
-
id,
|
|
10923
|
-
org,
|
|
10924
|
-
username
|
|
10925
|
-
}) {
|
|
10926
|
-
return request(OpenAPI, {
|
|
10927
|
-
method: 'DELETE',
|
|
10928
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10929
|
-
path: {
|
|
10930
|
-
'id': id,
|
|
10931
|
-
'org': org,
|
|
10932
|
-
'username': username
|
|
10933
|
-
}
|
|
10934
|
-
});
|
|
10935
|
-
}
|
|
10936
|
-
/**
|
|
10937
|
-
* Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
|
|
10938
|
-
* Filtering and pagination is allowed.
|
|
10939
|
-
*
|
|
10940
|
-
* NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
|
|
10941
|
-
* training list endpoint.
|
|
10942
|
-
* Returns:
|
|
10943
|
-
* Response: A paginated response containing the serialized fine-tuned models.
|
|
10944
|
-
* @returns Training
|
|
10945
|
-
* @throws ApiError
|
|
10946
|
-
*/
|
|
10947
|
-
static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({
|
|
10948
|
-
org,
|
|
10949
|
-
username
|
|
10950
|
-
}) {
|
|
10951
|
-
return request(OpenAPI, {
|
|
10952
|
-
method: 'GET',
|
|
10953
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/finetuned-models/',
|
|
10954
|
-
path: {
|
|
10955
|
-
'org': org,
|
|
10956
|
-
'username': username
|
|
10957
|
-
}
|
|
10958
|
-
});
|
|
10959
|
-
}
|
|
10960
|
-
}
|
|
10961
|
-
|
|
10962
9571
|
class AiIndexService {
|
|
10963
9572
|
/**
|
|
10964
9573
|
* Retrieve details of a specific document embedding.
|
|
@@ -36501,8 +35110,6 @@ class SkillsService {
|
|
|
36501
35110
|
|
|
36502
35111
|
exports.AiAccountService = AiAccountService;
|
|
36503
35112
|
exports.AiAnalyticsService = AiAnalyticsService;
|
|
36504
|
-
exports.AiBotService = AiBotService;
|
|
36505
|
-
exports.AiFinetuningService = AiFinetuningService;
|
|
36506
35113
|
exports.AiIndexService = AiIndexService;
|
|
36507
35114
|
exports.AiMarketingService = AiMarketingService;
|
|
36508
35115
|
exports.AiMediaService = AiMediaService;
|