@iblai/iblai-api 3.54.2-ai → 3.54.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 +1400 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1399 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1400 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +40 -1
- package/dist/types/models/Bot.d.ts +15 -0
- package/dist/types/models/BotCommand.d.ts +6 -0
- package/dist/types/models/BotCreate.d.ts +12 -0
- package/dist/types/models/DataSet.d.ts +21 -0
- package/dist/types/models/DataSetCreate.d.ts +12 -0
- package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
- package/dist/types/models/DiscordConfig.d.ts +7 -0
- package/dist/types/models/DiscordUserConfig.d.ts +10 -0
- package/dist/types/models/DiscordWebhook.d.ts +6 -0
- package/dist/types/models/PaginatedDataSetList.d.ts +7 -0
- package/dist/types/models/PaginatedTrainingList.d.ts +7 -0
- package/dist/types/models/PatchedBotCommand.d.ts +6 -0
- package/dist/types/models/PatchedBotCreate.d.ts +12 -0
- package/dist/types/models/PatchedDataSet.d.ts +21 -0
- package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
- package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
- package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
- package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
- package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
- package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
- package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
- package/dist/types/models/Provider05cEnum.d.ts +14 -0
- package/dist/types/models/{ProviderEnum.d.ts → Provider637Enum.d.ts} +1 -1
- package/dist/types/models/Provider63aEnum.d.ts +6 -0
- package/dist/types/models/SlackConfig.d.ts +8 -0
- package/dist/types/models/SlackUserConfig.d.ts +17 -0
- package/dist/types/models/SlackWebhook.d.ts +6 -0
- package/dist/types/models/TeamsConfig.d.ts +7 -0
- package/dist/types/models/TeamsWebhook.d.ts +17 -0
- package/dist/types/models/Training.d.ts +41 -0
- package/dist/types/models/TrainingCreate.d.ts +31 -0
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/models/WebexConfig.d.ts +10 -0
- package/dist/types/models/WebexWebhook.d.ts +4 -0
- package/dist/types/models/WhatAppWebHook.d.ts +3 -0
- package/dist/types/models/WhatsappConfig.d.ts +11 -0
- package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
- package/dist/types/services/AiBotService.d.ts +642 -0
- package/dist/types/services/AiFinetuningService.d.ts +232 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +40 -1
- package/src/models/Bot.ts +20 -0
- package/src/models/BotCommand.ts +11 -0
- package/src/models/BotCreate.ts +17 -0
- package/src/models/DataSet.ts +26 -0
- package/src/models/DataSetCreate.ts +17 -0
- package/src/models/DataSetStatusEnum.ts +16 -0
- package/src/models/DiscordConfig.ts +12 -0
- package/src/models/DiscordUserConfig.ts +15 -0
- package/src/models/DiscordWebhook.ts +11 -0
- package/src/models/PaginatedDataSetList.ts +12 -0
- package/src/models/PaginatedTrainingList.ts +12 -0
- package/src/models/PatchedBotCommand.ts +11 -0
- package/src/models/PatchedBotCreate.ts +17 -0
- package/src/models/PatchedDataSet.ts +26 -0
- package/src/models/PatchedDiscordConfig.ts +12 -0
- package/src/models/PatchedDiscordUserConfig.ts +15 -0
- package/src/models/PatchedSlackConfig.ts +13 -0
- package/src/models/PatchedSlackUserConfig.ts +22 -0
- package/src/models/PatchedTeamsConfig.ts +12 -0
- package/src/models/PatchedTrainingCreate.ts +36 -0
- package/src/models/PatchedWebexConfig.ts +15 -0
- package/src/models/PatchedWhatsappConfig.ts +16 -0
- package/src/models/PatchedWhatsappUserConfig.ts +15 -0
- package/src/models/Provider05cEnum.ts +18 -0
- package/src/models/{ProviderEnum.ts → Provider637Enum.ts} +1 -1
- package/src/models/Provider63aEnum.ts +10 -0
- package/src/models/SlackConfig.ts +13 -0
- package/src/models/SlackUserConfig.ts +22 -0
- package/src/models/SlackWebhook.ts +11 -0
- package/src/models/TeamsConfig.ts +12 -0
- package/src/models/TeamsWebhook.ts +22 -0
- package/src/models/Training.ts +46 -0
- package/src/models/TrainingCreate.ts +36 -0
- package/src/models/Voice.ts +2 -2
- package/src/models/WebexConfig.ts +15 -0
- package/src/models/WebexWebhook.ts +9 -0
- package/src/models/WhatAppWebHook.ts +8 -0
- package/src/models/WhatsappConfig.ts +16 -0
- package/src/models/WhatsappUserConfig.ts +15 -0
- package/src/services/AiBotService.ts +1330 -0
- package/src/services/AiFinetuningService.ts +472 -0
package/dist/index.umd.js
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
const OpenAPI = {
|
|
116
116
|
BASE: 'https://base.manager.iblai.app',
|
|
117
|
-
VERSION: '3.54.2-ai',
|
|
117
|
+
VERSION: '3.54.2-ai-plus',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -249,6 +249,24 @@
|
|
|
249
249
|
CourseCreationTaskStatusEnum["IN_PROGRESS"] = "In Progress";
|
|
250
250
|
})(exports.CourseCreationTaskStatusEnum || (exports.CourseCreationTaskStatusEnum = {}));
|
|
251
251
|
|
|
252
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
253
|
+
/* istanbul ignore file */
|
|
254
|
+
/* tslint:disable */
|
|
255
|
+
/* eslint-disable */
|
|
256
|
+
/**
|
|
257
|
+
* * `pending` - Pending
|
|
258
|
+
* * `processing` - Processing
|
|
259
|
+
* * `completed` - Completed
|
|
260
|
+
* * `failed` - Failed
|
|
261
|
+
*/
|
|
262
|
+
exports.DataSetStatusEnum = void 0;
|
|
263
|
+
(function (DataSetStatusEnum) {
|
|
264
|
+
DataSetStatusEnum["PENDING"] = "pending";
|
|
265
|
+
DataSetStatusEnum["PROCESSING"] = "processing";
|
|
266
|
+
DataSetStatusEnum["COMPLETED"] = "completed";
|
|
267
|
+
DataSetStatusEnum["FAILED"] = "failed";
|
|
268
|
+
})(exports.DataSetStatusEnum || (exports.DataSetStatusEnum = {}));
|
|
269
|
+
|
|
252
270
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
253
271
|
/* istanbul ignore file */
|
|
254
272
|
/* tslint:disable */
|
|
@@ -529,6 +547,26 @@
|
|
|
529
547
|
PromptVisibilityEnum["VIEWABLE_BY_ANYONE"] = "viewable_by_anyone";
|
|
530
548
|
})(exports.PromptVisibilityEnum || (exports.PromptVisibilityEnum = {}));
|
|
531
549
|
|
|
550
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
551
|
+
/* istanbul ignore file */
|
|
552
|
+
/* tslint:disable */
|
|
553
|
+
/* eslint-disable */
|
|
554
|
+
/**
|
|
555
|
+
* * `webex` - Webex
|
|
556
|
+
* * `slack` - Slack
|
|
557
|
+
* * `whatsapp` - Whatsapp
|
|
558
|
+
* * `discord` - Discord
|
|
559
|
+
* * `teams` - Teams
|
|
560
|
+
*/
|
|
561
|
+
exports.Provider05cEnum = void 0;
|
|
562
|
+
(function (Provider05cEnum) {
|
|
563
|
+
Provider05cEnum["WEBEX"] = "webex";
|
|
564
|
+
Provider05cEnum["SLACK"] = "slack";
|
|
565
|
+
Provider05cEnum["WHATSAPP"] = "whatsapp";
|
|
566
|
+
Provider05cEnum["DISCORD"] = "discord";
|
|
567
|
+
Provider05cEnum["TEAMS"] = "teams";
|
|
568
|
+
})(exports.Provider05cEnum || (exports.Provider05cEnum = {}));
|
|
569
|
+
|
|
532
570
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
533
571
|
/* istanbul ignore file */
|
|
534
572
|
/* tslint:disable */
|
|
@@ -538,12 +576,24 @@
|
|
|
538
576
|
* * `google` - Google
|
|
539
577
|
* * `elevenlabs` - Elevenlabs
|
|
540
578
|
*/
|
|
541
|
-
exports.
|
|
542
|
-
(function (
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
})(exports.
|
|
579
|
+
exports.Provider637Enum = void 0;
|
|
580
|
+
(function (Provider637Enum) {
|
|
581
|
+
Provider637Enum["OPENAI"] = "openai";
|
|
582
|
+
Provider637Enum["GOOGLE"] = "google";
|
|
583
|
+
Provider637Enum["ELEVENLABS"] = "elevenlabs";
|
|
584
|
+
})(exports.Provider637Enum || (exports.Provider637Enum = {}));
|
|
585
|
+
|
|
586
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
587
|
+
/* istanbul ignore file */
|
|
588
|
+
/* tslint:disable */
|
|
589
|
+
/* eslint-disable */
|
|
590
|
+
/**
|
|
591
|
+
* * `openai` - Openai
|
|
592
|
+
*/
|
|
593
|
+
exports.Provider63aEnum = void 0;
|
|
594
|
+
(function (Provider63aEnum) {
|
|
595
|
+
Provider63aEnum["OPENAI"] = "openai";
|
|
596
|
+
})(exports.Provider63aEnum || (exports.Provider63aEnum = {}));
|
|
547
597
|
|
|
548
598
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
549
599
|
/* istanbul ignore file */
|
|
@@ -5739,6 +5789,1347 @@
|
|
|
5739
5789
|
}
|
|
5740
5790
|
}
|
|
5741
5791
|
|
|
5792
|
+
class AiBotService {
|
|
5793
|
+
/**
|
|
5794
|
+
* Create modify and update bot information for a specific tenant.
|
|
5795
|
+
* @returns Bot
|
|
5796
|
+
* @throws ApiError
|
|
5797
|
+
*/
|
|
5798
|
+
static aiBotV1BotsBotList({
|
|
5799
|
+
org
|
|
5800
|
+
}) {
|
|
5801
|
+
return request(OpenAPI, {
|
|
5802
|
+
method: 'GET',
|
|
5803
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
5804
|
+
path: {
|
|
5805
|
+
'org': org
|
|
5806
|
+
}
|
|
5807
|
+
});
|
|
5808
|
+
}
|
|
5809
|
+
/**
|
|
5810
|
+
* Create modify and update bot information for a specific tenant.
|
|
5811
|
+
* @returns BotCreate
|
|
5812
|
+
* @throws ApiError
|
|
5813
|
+
*/
|
|
5814
|
+
static aiBotV1BotsBotCreate({
|
|
5815
|
+
org,
|
|
5816
|
+
requestBody
|
|
5817
|
+
}) {
|
|
5818
|
+
return request(OpenAPI, {
|
|
5819
|
+
method: 'POST',
|
|
5820
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
5821
|
+
path: {
|
|
5822
|
+
'org': org
|
|
5823
|
+
},
|
|
5824
|
+
body: requestBody,
|
|
5825
|
+
mediaType: 'application/json'
|
|
5826
|
+
});
|
|
5827
|
+
}
|
|
5828
|
+
/**
|
|
5829
|
+
* Create slash commands for a specific bot
|
|
5830
|
+
* eg. /iblai-baseline
|
|
5831
|
+
* @returns BotCommand
|
|
5832
|
+
* @throws ApiError
|
|
5833
|
+
*/
|
|
5834
|
+
static aiBotV1BotsBotCommandsList({
|
|
5835
|
+
org
|
|
5836
|
+
}) {
|
|
5837
|
+
return request(OpenAPI, {
|
|
5838
|
+
method: 'GET',
|
|
5839
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
5840
|
+
path: {
|
|
5841
|
+
'org': org
|
|
5842
|
+
}
|
|
5843
|
+
});
|
|
5844
|
+
}
|
|
5845
|
+
/**
|
|
5846
|
+
* Create slash commands for a specific bot
|
|
5847
|
+
* eg. /iblai-baseline
|
|
5848
|
+
* @returns BotCommand
|
|
5849
|
+
* @throws ApiError
|
|
5850
|
+
*/
|
|
5851
|
+
static aiBotV1BotsBotCommandsCreate({
|
|
5852
|
+
org,
|
|
5853
|
+
requestBody
|
|
5854
|
+
}) {
|
|
5855
|
+
return request(OpenAPI, {
|
|
5856
|
+
method: 'POST',
|
|
5857
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
5858
|
+
path: {
|
|
5859
|
+
'org': org
|
|
5860
|
+
},
|
|
5861
|
+
body: requestBody,
|
|
5862
|
+
mediaType: 'application/json'
|
|
5863
|
+
});
|
|
5864
|
+
}
|
|
5865
|
+
/**
|
|
5866
|
+
* Create slash commands for a specific bot
|
|
5867
|
+
* eg. /iblai-baseline
|
|
5868
|
+
* @returns BotCommand
|
|
5869
|
+
* @throws ApiError
|
|
5870
|
+
*/
|
|
5871
|
+
static aiBotV1BotsBotCommandsRetrieve({
|
|
5872
|
+
id,
|
|
5873
|
+
org
|
|
5874
|
+
}) {
|
|
5875
|
+
return request(OpenAPI, {
|
|
5876
|
+
method: 'GET',
|
|
5877
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
5878
|
+
path: {
|
|
5879
|
+
'id': id,
|
|
5880
|
+
'org': org
|
|
5881
|
+
}
|
|
5882
|
+
});
|
|
5883
|
+
}
|
|
5884
|
+
/**
|
|
5885
|
+
* Create slash commands for a specific bot
|
|
5886
|
+
* eg. /iblai-baseline
|
|
5887
|
+
* @returns BotCommand
|
|
5888
|
+
* @throws ApiError
|
|
5889
|
+
*/
|
|
5890
|
+
static aiBotV1BotsBotCommandsUpdate({
|
|
5891
|
+
id,
|
|
5892
|
+
org,
|
|
5893
|
+
requestBody
|
|
5894
|
+
}) {
|
|
5895
|
+
return request(OpenAPI, {
|
|
5896
|
+
method: 'PUT',
|
|
5897
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
5898
|
+
path: {
|
|
5899
|
+
'id': id,
|
|
5900
|
+
'org': org
|
|
5901
|
+
},
|
|
5902
|
+
body: requestBody,
|
|
5903
|
+
mediaType: 'application/json'
|
|
5904
|
+
});
|
|
5905
|
+
}
|
|
5906
|
+
/**
|
|
5907
|
+
* Create slash commands for a specific bot
|
|
5908
|
+
* eg. /iblai-baseline
|
|
5909
|
+
* @returns BotCommand
|
|
5910
|
+
* @throws ApiError
|
|
5911
|
+
*/
|
|
5912
|
+
static aiBotV1BotsBotCommandsPartialUpdate({
|
|
5913
|
+
id,
|
|
5914
|
+
org,
|
|
5915
|
+
requestBody
|
|
5916
|
+
}) {
|
|
5917
|
+
return request(OpenAPI, {
|
|
5918
|
+
method: 'PATCH',
|
|
5919
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
5920
|
+
path: {
|
|
5921
|
+
'id': id,
|
|
5922
|
+
'org': org
|
|
5923
|
+
},
|
|
5924
|
+
body: requestBody,
|
|
5925
|
+
mediaType: 'application/json'
|
|
5926
|
+
});
|
|
5927
|
+
}
|
|
5928
|
+
/**
|
|
5929
|
+
* Create slash commands for a specific bot
|
|
5930
|
+
* eg. /iblai-baseline
|
|
5931
|
+
* @returns void
|
|
5932
|
+
* @throws ApiError
|
|
5933
|
+
*/
|
|
5934
|
+
static aiBotV1BotsBotCommandsDestroy({
|
|
5935
|
+
id,
|
|
5936
|
+
org
|
|
5937
|
+
}) {
|
|
5938
|
+
return request(OpenAPI, {
|
|
5939
|
+
method: 'DELETE',
|
|
5940
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
5941
|
+
path: {
|
|
5942
|
+
'id': id,
|
|
5943
|
+
'org': org
|
|
5944
|
+
}
|
|
5945
|
+
});
|
|
5946
|
+
}
|
|
5947
|
+
/**
|
|
5948
|
+
* Create modify and update bot information for a specific tenant.
|
|
5949
|
+
* @returns Bot
|
|
5950
|
+
* @throws ApiError
|
|
5951
|
+
*/
|
|
5952
|
+
static aiBotV1BotsBotRetrieve({
|
|
5953
|
+
id,
|
|
5954
|
+
org
|
|
5955
|
+
}) {
|
|
5956
|
+
return request(OpenAPI, {
|
|
5957
|
+
method: 'GET',
|
|
5958
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
5959
|
+
path: {
|
|
5960
|
+
'id': id,
|
|
5961
|
+
'org': org
|
|
5962
|
+
}
|
|
5963
|
+
});
|
|
5964
|
+
}
|
|
5965
|
+
/**
|
|
5966
|
+
* Create modify and update bot information for a specific tenant.
|
|
5967
|
+
* @returns BotCreate
|
|
5968
|
+
* @throws ApiError
|
|
5969
|
+
*/
|
|
5970
|
+
static aiBotV1BotsBotUpdate({
|
|
5971
|
+
id,
|
|
5972
|
+
org,
|
|
5973
|
+
requestBody
|
|
5974
|
+
}) {
|
|
5975
|
+
return request(OpenAPI, {
|
|
5976
|
+
method: 'PUT',
|
|
5977
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
5978
|
+
path: {
|
|
5979
|
+
'id': id,
|
|
5980
|
+
'org': org
|
|
5981
|
+
},
|
|
5982
|
+
body: requestBody,
|
|
5983
|
+
mediaType: 'application/json'
|
|
5984
|
+
});
|
|
5985
|
+
}
|
|
5986
|
+
/**
|
|
5987
|
+
* Create modify and update bot information for a specific tenant.
|
|
5988
|
+
* @returns BotCreate
|
|
5989
|
+
* @throws ApiError
|
|
5990
|
+
*/
|
|
5991
|
+
static aiBotV1BotsBotPartialUpdate({
|
|
5992
|
+
id,
|
|
5993
|
+
org,
|
|
5994
|
+
requestBody
|
|
5995
|
+
}) {
|
|
5996
|
+
return request(OpenAPI, {
|
|
5997
|
+
method: 'PATCH',
|
|
5998
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
5999
|
+
path: {
|
|
6000
|
+
'id': id,
|
|
6001
|
+
'org': org
|
|
6002
|
+
},
|
|
6003
|
+
body: requestBody,
|
|
6004
|
+
mediaType: 'application/json'
|
|
6005
|
+
});
|
|
6006
|
+
}
|
|
6007
|
+
/**
|
|
6008
|
+
* Create modify and update bot information for a specific tenant.
|
|
6009
|
+
* @returns void
|
|
6010
|
+
* @throws ApiError
|
|
6011
|
+
*/
|
|
6012
|
+
static aiBotV1BotsBotDestroy({
|
|
6013
|
+
id,
|
|
6014
|
+
org
|
|
6015
|
+
}) {
|
|
6016
|
+
return request(OpenAPI, {
|
|
6017
|
+
method: 'DELETE',
|
|
6018
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
6019
|
+
path: {
|
|
6020
|
+
'id': id,
|
|
6021
|
+
'org': org
|
|
6022
|
+
}
|
|
6023
|
+
});
|
|
6024
|
+
}
|
|
6025
|
+
/**
|
|
6026
|
+
* Create modify and update bot information for a specific tenant.
|
|
6027
|
+
* @returns DiscordConfig
|
|
6028
|
+
* @throws ApiError
|
|
6029
|
+
*/
|
|
6030
|
+
static aiBotV1BotsBotConfigDiscordRetrieve({
|
|
6031
|
+
id,
|
|
6032
|
+
org
|
|
6033
|
+
}) {
|
|
6034
|
+
return request(OpenAPI, {
|
|
6035
|
+
method: 'GET',
|
|
6036
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
6037
|
+
path: {
|
|
6038
|
+
'id': id,
|
|
6039
|
+
'org': org
|
|
6040
|
+
}
|
|
6041
|
+
});
|
|
6042
|
+
}
|
|
6043
|
+
/**
|
|
6044
|
+
* Create modify and update bot information for a specific tenant.
|
|
6045
|
+
* @returns DiscordConfig
|
|
6046
|
+
* @throws ApiError
|
|
6047
|
+
*/
|
|
6048
|
+
static aiBotV1BotsBotConfigDiscordPartialUpdate({
|
|
6049
|
+
id,
|
|
6050
|
+
org,
|
|
6051
|
+
requestBody
|
|
6052
|
+
}) {
|
|
6053
|
+
return request(OpenAPI, {
|
|
6054
|
+
method: 'PATCH',
|
|
6055
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
6056
|
+
path: {
|
|
6057
|
+
'id': id,
|
|
6058
|
+
'org': org
|
|
6059
|
+
},
|
|
6060
|
+
body: requestBody,
|
|
6061
|
+
mediaType: 'application/json'
|
|
6062
|
+
});
|
|
6063
|
+
}
|
|
6064
|
+
/**
|
|
6065
|
+
* Create modify and update bot information for a specific tenant.
|
|
6066
|
+
* @returns SlackConfig
|
|
6067
|
+
* @throws ApiError
|
|
6068
|
+
*/
|
|
6069
|
+
static aiBotV1BotsBotConfigSlackRetrieve({
|
|
6070
|
+
id,
|
|
6071
|
+
org
|
|
6072
|
+
}) {
|
|
6073
|
+
return request(OpenAPI, {
|
|
6074
|
+
method: 'GET',
|
|
6075
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
|
|
6076
|
+
path: {
|
|
6077
|
+
'id': id,
|
|
6078
|
+
'org': org
|
|
6079
|
+
}
|
|
6080
|
+
});
|
|
6081
|
+
}
|
|
6082
|
+
/**
|
|
6083
|
+
* Create modify and update bot information for a specific tenant.
|
|
6084
|
+
* @returns SlackConfig
|
|
6085
|
+
* @throws ApiError
|
|
6086
|
+
*/
|
|
6087
|
+
static aiBotV1BotsBotConfigSlackUpdateCreate({
|
|
6088
|
+
id,
|
|
6089
|
+
org,
|
|
6090
|
+
requestBody
|
|
6091
|
+
}) {
|
|
6092
|
+
return request(OpenAPI, {
|
|
6093
|
+
method: 'POST',
|
|
6094
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
6095
|
+
path: {
|
|
6096
|
+
'id': id,
|
|
6097
|
+
'org': org
|
|
6098
|
+
},
|
|
6099
|
+
body: requestBody,
|
|
6100
|
+
mediaType: 'application/json'
|
|
6101
|
+
});
|
|
6102
|
+
}
|
|
6103
|
+
/**
|
|
6104
|
+
* Create modify and update bot information for a specific tenant.
|
|
6105
|
+
* @returns SlackConfig
|
|
6106
|
+
* @throws ApiError
|
|
6107
|
+
*/
|
|
6108
|
+
static aiBotV1BotsBotConfigSlackUpdateUpdate({
|
|
6109
|
+
id,
|
|
6110
|
+
org,
|
|
6111
|
+
requestBody
|
|
6112
|
+
}) {
|
|
6113
|
+
return request(OpenAPI, {
|
|
6114
|
+
method: 'PUT',
|
|
6115
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
6116
|
+
path: {
|
|
6117
|
+
'id': id,
|
|
6118
|
+
'org': org
|
|
6119
|
+
},
|
|
6120
|
+
body: requestBody,
|
|
6121
|
+
mediaType: 'application/json'
|
|
6122
|
+
});
|
|
6123
|
+
}
|
|
6124
|
+
/**
|
|
6125
|
+
* Create modify and update bot information for a specific tenant.
|
|
6126
|
+
* @returns SlackConfig
|
|
6127
|
+
* @throws ApiError
|
|
6128
|
+
*/
|
|
6129
|
+
static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
|
|
6130
|
+
id,
|
|
6131
|
+
org,
|
|
6132
|
+
requestBody
|
|
6133
|
+
}) {
|
|
6134
|
+
return request(OpenAPI, {
|
|
6135
|
+
method: 'PATCH',
|
|
6136
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
6137
|
+
path: {
|
|
6138
|
+
'id': id,
|
|
6139
|
+
'org': org
|
|
6140
|
+
},
|
|
6141
|
+
body: requestBody,
|
|
6142
|
+
mediaType: 'application/json'
|
|
6143
|
+
});
|
|
6144
|
+
}
|
|
6145
|
+
/**
|
|
6146
|
+
* Create modify and update bot information for a specific tenant.
|
|
6147
|
+
* @returns TeamsConfig
|
|
6148
|
+
* @throws ApiError
|
|
6149
|
+
*/
|
|
6150
|
+
static aiBotV1BotsBotConfigTeamsRetrieve({
|
|
6151
|
+
id,
|
|
6152
|
+
org
|
|
6153
|
+
}) {
|
|
6154
|
+
return request(OpenAPI, {
|
|
6155
|
+
method: 'GET',
|
|
6156
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
|
|
6157
|
+
path: {
|
|
6158
|
+
'id': id,
|
|
6159
|
+
'org': org
|
|
6160
|
+
}
|
|
6161
|
+
});
|
|
6162
|
+
}
|
|
6163
|
+
/**
|
|
6164
|
+
* Create modify and update bot information for a specific tenant.
|
|
6165
|
+
* @returns TeamsConfig
|
|
6166
|
+
* @throws ApiError
|
|
6167
|
+
*/
|
|
6168
|
+
static aiBotV1BotsBotConfigTeamsUpdateCreate({
|
|
6169
|
+
id,
|
|
6170
|
+
org,
|
|
6171
|
+
requestBody
|
|
6172
|
+
}) {
|
|
6173
|
+
return request(OpenAPI, {
|
|
6174
|
+
method: 'POST',
|
|
6175
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
6176
|
+
path: {
|
|
6177
|
+
'id': id,
|
|
6178
|
+
'org': org
|
|
6179
|
+
},
|
|
6180
|
+
body: requestBody,
|
|
6181
|
+
mediaType: 'application/json'
|
|
6182
|
+
});
|
|
6183
|
+
}
|
|
6184
|
+
/**
|
|
6185
|
+
* Create modify and update bot information for a specific tenant.
|
|
6186
|
+
* @returns TeamsConfig
|
|
6187
|
+
* @throws ApiError
|
|
6188
|
+
*/
|
|
6189
|
+
static aiBotV1BotsBotConfigTeamsUpdateUpdate({
|
|
6190
|
+
id,
|
|
6191
|
+
org,
|
|
6192
|
+
requestBody
|
|
6193
|
+
}) {
|
|
6194
|
+
return request(OpenAPI, {
|
|
6195
|
+
method: 'PUT',
|
|
6196
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
6197
|
+
path: {
|
|
6198
|
+
'id': id,
|
|
6199
|
+
'org': org
|
|
6200
|
+
},
|
|
6201
|
+
body: requestBody,
|
|
6202
|
+
mediaType: 'application/json'
|
|
6203
|
+
});
|
|
6204
|
+
}
|
|
6205
|
+
/**
|
|
6206
|
+
* Create modify and update bot information for a specific tenant.
|
|
6207
|
+
* @returns TeamsConfig
|
|
6208
|
+
* @throws ApiError
|
|
6209
|
+
*/
|
|
6210
|
+
static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
|
|
6211
|
+
id,
|
|
6212
|
+
org,
|
|
6213
|
+
requestBody
|
|
6214
|
+
}) {
|
|
6215
|
+
return request(OpenAPI, {
|
|
6216
|
+
method: 'PATCH',
|
|
6217
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
6218
|
+
path: {
|
|
6219
|
+
'id': id,
|
|
6220
|
+
'org': org
|
|
6221
|
+
},
|
|
6222
|
+
body: requestBody,
|
|
6223
|
+
mediaType: 'application/json'
|
|
6224
|
+
});
|
|
6225
|
+
}
|
|
6226
|
+
/**
|
|
6227
|
+
* Create modify and update bot information for a specific tenant.
|
|
6228
|
+
* @returns WebexConfig
|
|
6229
|
+
* @throws ApiError
|
|
6230
|
+
*/
|
|
6231
|
+
static aiBotV1BotsBotConfigWebexRetrieve({
|
|
6232
|
+
id,
|
|
6233
|
+
org
|
|
6234
|
+
}) {
|
|
6235
|
+
return request(OpenAPI, {
|
|
6236
|
+
method: 'GET',
|
|
6237
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
6238
|
+
path: {
|
|
6239
|
+
'id': id,
|
|
6240
|
+
'org': org
|
|
6241
|
+
}
|
|
6242
|
+
});
|
|
6243
|
+
}
|
|
6244
|
+
/**
|
|
6245
|
+
* Create modify and update bot information for a specific tenant.
|
|
6246
|
+
* @returns WebexConfig
|
|
6247
|
+
* @throws ApiError
|
|
6248
|
+
*/
|
|
6249
|
+
static aiBotV1BotsBotConfigWebexPartialUpdate({
|
|
6250
|
+
id,
|
|
6251
|
+
org,
|
|
6252
|
+
requestBody
|
|
6253
|
+
}) {
|
|
6254
|
+
return request(OpenAPI, {
|
|
6255
|
+
method: 'PATCH',
|
|
6256
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
6257
|
+
path: {
|
|
6258
|
+
'id': id,
|
|
6259
|
+
'org': org
|
|
6260
|
+
},
|
|
6261
|
+
body: requestBody,
|
|
6262
|
+
mediaType: 'application/json'
|
|
6263
|
+
});
|
|
6264
|
+
}
|
|
6265
|
+
/**
|
|
6266
|
+
* Create modify and update bot information for a specific tenant.
|
|
6267
|
+
* @returns WhatsappConfig
|
|
6268
|
+
* @throws ApiError
|
|
6269
|
+
*/
|
|
6270
|
+
static aiBotV1BotsBotConfigWhatsappRetrieve({
|
|
6271
|
+
id,
|
|
6272
|
+
org
|
|
6273
|
+
}) {
|
|
6274
|
+
return request(OpenAPI, {
|
|
6275
|
+
method: 'GET',
|
|
6276
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
|
|
6277
|
+
path: {
|
|
6278
|
+
'id': id,
|
|
6279
|
+
'org': org
|
|
6280
|
+
}
|
|
6281
|
+
});
|
|
6282
|
+
}
|
|
6283
|
+
/**
|
|
6284
|
+
* Create modify and update bot information for a specific tenant.
|
|
6285
|
+
* @returns WhatsappConfig
|
|
6286
|
+
* @throws ApiError
|
|
6287
|
+
*/
|
|
6288
|
+
static aiBotV1BotsBotWhatsappConfigUpdate({
|
|
6289
|
+
id,
|
|
6290
|
+
org,
|
|
6291
|
+
requestBody
|
|
6292
|
+
}) {
|
|
6293
|
+
return request(OpenAPI, {
|
|
6294
|
+
method: 'PUT',
|
|
6295
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
6296
|
+
path: {
|
|
6297
|
+
'id': id,
|
|
6298
|
+
'org': org
|
|
6299
|
+
},
|
|
6300
|
+
body: requestBody,
|
|
6301
|
+
mediaType: 'application/json'
|
|
6302
|
+
});
|
|
6303
|
+
}
|
|
6304
|
+
/**
|
|
6305
|
+
* Create modify and update bot information for a specific tenant.
|
|
6306
|
+
* @returns WhatsappConfig
|
|
6307
|
+
* @throws ApiError
|
|
6308
|
+
*/
|
|
6309
|
+
static aiBotV1BotsBotWhatsappConfigPartialUpdate({
|
|
6310
|
+
id,
|
|
6311
|
+
org,
|
|
6312
|
+
requestBody
|
|
6313
|
+
}) {
|
|
6314
|
+
return request(OpenAPI, {
|
|
6315
|
+
method: 'PATCH',
|
|
6316
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
6317
|
+
path: {
|
|
6318
|
+
'id': id,
|
|
6319
|
+
'org': org
|
|
6320
|
+
},
|
|
6321
|
+
body: requestBody,
|
|
6322
|
+
mediaType: 'application/json'
|
|
6323
|
+
});
|
|
6324
|
+
}
|
|
6325
|
+
/**
|
|
6326
|
+
* Setup discord user id linkage with discord bots
|
|
6327
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
6328
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
6329
|
+
* @returns DiscordUserConfig
|
|
6330
|
+
* @throws ApiError
|
|
6331
|
+
*/
|
|
6332
|
+
static aiBotV1BotsDiscordUserConfigList({
|
|
6333
|
+
org
|
|
6334
|
+
}) {
|
|
6335
|
+
return request(OpenAPI, {
|
|
6336
|
+
method: 'GET',
|
|
6337
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
6338
|
+
path: {
|
|
6339
|
+
'org': org
|
|
6340
|
+
}
|
|
6341
|
+
});
|
|
6342
|
+
}
|
|
6343
|
+
/**
|
|
6344
|
+
* Setup discord user id linkage with discord bots
|
|
6345
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
6346
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
6347
|
+
* @returns DiscordUserConfig
|
|
6348
|
+
* @throws ApiError
|
|
6349
|
+
*/
|
|
6350
|
+
static aiBotV1BotsDiscordUserConfigCreate({
|
|
6351
|
+
org,
|
|
6352
|
+
requestBody
|
|
6353
|
+
}) {
|
|
6354
|
+
return request(OpenAPI, {
|
|
6355
|
+
method: 'POST',
|
|
6356
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
6357
|
+
path: {
|
|
6358
|
+
'org': org
|
|
6359
|
+
},
|
|
6360
|
+
body: requestBody,
|
|
6361
|
+
mediaType: 'application/json'
|
|
6362
|
+
});
|
|
6363
|
+
}
|
|
6364
|
+
/**
|
|
6365
|
+
* Setup discord user id linkage with discord bots
|
|
6366
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
6367
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
6368
|
+
* @returns DiscordUserConfig
|
|
6369
|
+
* @throws ApiError
|
|
6370
|
+
*/
|
|
6371
|
+
static aiBotV1BotsDiscordUserConfigRetrieve({
|
|
6372
|
+
id,
|
|
6373
|
+
org
|
|
6374
|
+
}) {
|
|
6375
|
+
return request(OpenAPI, {
|
|
6376
|
+
method: 'GET',
|
|
6377
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
6378
|
+
path: {
|
|
6379
|
+
'id': id,
|
|
6380
|
+
'org': org
|
|
6381
|
+
}
|
|
6382
|
+
});
|
|
6383
|
+
}
|
|
6384
|
+
/**
|
|
6385
|
+
* Setup discord user id linkage with discord bots
|
|
6386
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
6387
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
6388
|
+
* @returns DiscordUserConfig
|
|
6389
|
+
* @throws ApiError
|
|
6390
|
+
*/
|
|
6391
|
+
static aiBotV1BotsDiscordUserConfigUpdate({
|
|
6392
|
+
id,
|
|
6393
|
+
org,
|
|
6394
|
+
requestBody
|
|
6395
|
+
}) {
|
|
6396
|
+
return request(OpenAPI, {
|
|
6397
|
+
method: 'PUT',
|
|
6398
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
6399
|
+
path: {
|
|
6400
|
+
'id': id,
|
|
6401
|
+
'org': org
|
|
6402
|
+
},
|
|
6403
|
+
body: requestBody,
|
|
6404
|
+
mediaType: 'application/json'
|
|
6405
|
+
});
|
|
6406
|
+
}
|
|
6407
|
+
/**
|
|
6408
|
+
* Setup discord user id linkage with discord bots
|
|
6409
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
6410
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
6411
|
+
* @returns DiscordUserConfig
|
|
6412
|
+
* @throws ApiError
|
|
6413
|
+
*/
|
|
6414
|
+
static aiBotV1BotsDiscordUserConfigPartialUpdate({
|
|
6415
|
+
id,
|
|
6416
|
+
org,
|
|
6417
|
+
requestBody
|
|
6418
|
+
}) {
|
|
6419
|
+
return request(OpenAPI, {
|
|
6420
|
+
method: 'PATCH',
|
|
6421
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
6422
|
+
path: {
|
|
6423
|
+
'id': id,
|
|
6424
|
+
'org': org
|
|
6425
|
+
},
|
|
6426
|
+
body: requestBody,
|
|
6427
|
+
mediaType: 'application/json'
|
|
6428
|
+
});
|
|
6429
|
+
}
|
|
6430
|
+
/**
|
|
6431
|
+
* Setup discord user id linkage with discord bots
|
|
6432
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
6433
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
6434
|
+
* @returns void
|
|
6435
|
+
* @throws ApiError
|
|
6436
|
+
*/
|
|
6437
|
+
static aiBotV1BotsDiscordUserConfigDestroy({
|
|
6438
|
+
id,
|
|
6439
|
+
org
|
|
6440
|
+
}) {
|
|
6441
|
+
return request(OpenAPI, {
|
|
6442
|
+
method: 'DELETE',
|
|
6443
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
6444
|
+
path: {
|
|
6445
|
+
'id': id,
|
|
6446
|
+
'org': org
|
|
6447
|
+
}
|
|
6448
|
+
});
|
|
6449
|
+
}
|
|
6450
|
+
/**
|
|
6451
|
+
* Setup slack username and domain linkage with slack bots
|
|
6452
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
6453
|
+
* @returns SlackUserConfig
|
|
6454
|
+
* @throws ApiError
|
|
6455
|
+
*/
|
|
6456
|
+
static aiBotV1BotsSlackUserConfigList({
|
|
6457
|
+
org
|
|
6458
|
+
}) {
|
|
6459
|
+
return request(OpenAPI, {
|
|
6460
|
+
method: 'GET',
|
|
6461
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
6462
|
+
path: {
|
|
6463
|
+
'org': org
|
|
6464
|
+
}
|
|
6465
|
+
});
|
|
6466
|
+
}
|
|
6467
|
+
/**
|
|
6468
|
+
* Setup slack username and domain linkage with slack bots
|
|
6469
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
6470
|
+
* @returns SlackUserConfig
|
|
6471
|
+
* @throws ApiError
|
|
6472
|
+
*/
|
|
6473
|
+
static aiBotV1BotsSlackUserConfigCreate({
|
|
6474
|
+
org,
|
|
6475
|
+
requestBody
|
|
6476
|
+
}) {
|
|
6477
|
+
return request(OpenAPI, {
|
|
6478
|
+
method: 'POST',
|
|
6479
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
6480
|
+
path: {
|
|
6481
|
+
'org': org
|
|
6482
|
+
},
|
|
6483
|
+
body: requestBody,
|
|
6484
|
+
mediaType: 'application/json'
|
|
6485
|
+
});
|
|
6486
|
+
}
|
|
6487
|
+
/**
|
|
6488
|
+
* Setup slack username and domain linkage with slack bots
|
|
6489
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
6490
|
+
* @returns SlackUserConfig
|
|
6491
|
+
* @throws ApiError
|
|
6492
|
+
*/
|
|
6493
|
+
static aiBotV1BotsSlackUserConfigRetrieve({
|
|
6494
|
+
id,
|
|
6495
|
+
org
|
|
6496
|
+
}) {
|
|
6497
|
+
return request(OpenAPI, {
|
|
6498
|
+
method: 'GET',
|
|
6499
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
6500
|
+
path: {
|
|
6501
|
+
'id': id,
|
|
6502
|
+
'org': org
|
|
6503
|
+
}
|
|
6504
|
+
});
|
|
6505
|
+
}
|
|
6506
|
+
/**
|
|
6507
|
+
* Setup slack username and domain linkage with slack bots
|
|
6508
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
6509
|
+
* @returns SlackUserConfig
|
|
6510
|
+
* @throws ApiError
|
|
6511
|
+
*/
|
|
6512
|
+
static aiBotV1BotsSlackUserConfigUpdate({
|
|
6513
|
+
id,
|
|
6514
|
+
org,
|
|
6515
|
+
requestBody
|
|
6516
|
+
}) {
|
|
6517
|
+
return request(OpenAPI, {
|
|
6518
|
+
method: 'PUT',
|
|
6519
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
6520
|
+
path: {
|
|
6521
|
+
'id': id,
|
|
6522
|
+
'org': org
|
|
6523
|
+
},
|
|
6524
|
+
body: requestBody,
|
|
6525
|
+
mediaType: 'application/json'
|
|
6526
|
+
});
|
|
6527
|
+
}
|
|
6528
|
+
/**
|
|
6529
|
+
* Setup slack username and domain linkage with slack bots
|
|
6530
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
6531
|
+
* @returns SlackUserConfig
|
|
6532
|
+
* @throws ApiError
|
|
6533
|
+
*/
|
|
6534
|
+
static aiBotV1BotsSlackUserConfigPartialUpdate({
|
|
6535
|
+
id,
|
|
6536
|
+
org,
|
|
6537
|
+
requestBody
|
|
6538
|
+
}) {
|
|
6539
|
+
return request(OpenAPI, {
|
|
6540
|
+
method: 'PATCH',
|
|
6541
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
6542
|
+
path: {
|
|
6543
|
+
'id': id,
|
|
6544
|
+
'org': org
|
|
6545
|
+
},
|
|
6546
|
+
body: requestBody,
|
|
6547
|
+
mediaType: 'application/json'
|
|
6548
|
+
});
|
|
6549
|
+
}
|
|
6550
|
+
/**
|
|
6551
|
+
* Setup slack username and domain linkage with slack bots
|
|
6552
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
6553
|
+
* @returns void
|
|
6554
|
+
* @throws ApiError
|
|
6555
|
+
*/
|
|
6556
|
+
static aiBotV1BotsSlackUserConfigDestroy({
|
|
6557
|
+
id,
|
|
6558
|
+
org
|
|
6559
|
+
}) {
|
|
6560
|
+
return request(OpenAPI, {
|
|
6561
|
+
method: 'DELETE',
|
|
6562
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
6563
|
+
path: {
|
|
6564
|
+
'id': id,
|
|
6565
|
+
'org': org
|
|
6566
|
+
}
|
|
6567
|
+
});
|
|
6568
|
+
}
|
|
6569
|
+
/**
|
|
6570
|
+
* Setup phone number linkage with whatsapp bots
|
|
6571
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
6572
|
+
* @returns WhatsappUserConfig
|
|
6573
|
+
* @throws ApiError
|
|
6574
|
+
*/
|
|
6575
|
+
static aiBotV1BotsWhatsappUserConfigList({
|
|
6576
|
+
org
|
|
6577
|
+
}) {
|
|
6578
|
+
return request(OpenAPI, {
|
|
6579
|
+
method: 'GET',
|
|
6580
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
6581
|
+
path: {
|
|
6582
|
+
'org': org
|
|
6583
|
+
}
|
|
6584
|
+
});
|
|
6585
|
+
}
|
|
6586
|
+
/**
|
|
6587
|
+
* Setup phone number linkage with whatsapp bots
|
|
6588
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
6589
|
+
* @returns WhatsappUserConfig
|
|
6590
|
+
* @throws ApiError
|
|
6591
|
+
*/
|
|
6592
|
+
static aiBotV1BotsWhatsappUserConfigCreate({
|
|
6593
|
+
org,
|
|
6594
|
+
requestBody
|
|
6595
|
+
}) {
|
|
6596
|
+
return request(OpenAPI, {
|
|
6597
|
+
method: 'POST',
|
|
6598
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
6599
|
+
path: {
|
|
6600
|
+
'org': org
|
|
6601
|
+
},
|
|
6602
|
+
body: requestBody,
|
|
6603
|
+
mediaType: 'application/json'
|
|
6604
|
+
});
|
|
6605
|
+
}
|
|
6606
|
+
/**
|
|
6607
|
+
* Setup phone number linkage with whatsapp bots
|
|
6608
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
6609
|
+
* @returns WhatsappUserConfig
|
|
6610
|
+
* @throws ApiError
|
|
6611
|
+
*/
|
|
6612
|
+
static aiBotV1BotsWhatsappUserConfigRetrieve({
|
|
6613
|
+
id,
|
|
6614
|
+
org
|
|
6615
|
+
}) {
|
|
6616
|
+
return request(OpenAPI, {
|
|
6617
|
+
method: 'GET',
|
|
6618
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
6619
|
+
path: {
|
|
6620
|
+
'id': id,
|
|
6621
|
+
'org': org
|
|
6622
|
+
}
|
|
6623
|
+
});
|
|
6624
|
+
}
|
|
6625
|
+
/**
|
|
6626
|
+
* Setup phone number linkage with whatsapp bots
|
|
6627
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
6628
|
+
* @returns WhatsappUserConfig
|
|
6629
|
+
* @throws ApiError
|
|
6630
|
+
*/
|
|
6631
|
+
static aiBotV1BotsWhatsappUserConfigUpdate({
|
|
6632
|
+
id,
|
|
6633
|
+
org,
|
|
6634
|
+
requestBody
|
|
6635
|
+
}) {
|
|
6636
|
+
return request(OpenAPI, {
|
|
6637
|
+
method: 'PUT',
|
|
6638
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
6639
|
+
path: {
|
|
6640
|
+
'id': id,
|
|
6641
|
+
'org': org
|
|
6642
|
+
},
|
|
6643
|
+
body: requestBody,
|
|
6644
|
+
mediaType: 'application/json'
|
|
6645
|
+
});
|
|
6646
|
+
}
|
|
6647
|
+
/**
|
|
6648
|
+
* Setup phone number linkage with whatsapp bots
|
|
6649
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
6650
|
+
* @returns WhatsappUserConfig
|
|
6651
|
+
* @throws ApiError
|
|
6652
|
+
*/
|
|
6653
|
+
static aiBotV1BotsWhatsappUserConfigPartialUpdate({
|
|
6654
|
+
id,
|
|
6655
|
+
org,
|
|
6656
|
+
requestBody
|
|
6657
|
+
}) {
|
|
6658
|
+
return request(OpenAPI, {
|
|
6659
|
+
method: 'PATCH',
|
|
6660
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
6661
|
+
path: {
|
|
6662
|
+
'id': id,
|
|
6663
|
+
'org': org
|
|
6664
|
+
},
|
|
6665
|
+
body: requestBody,
|
|
6666
|
+
mediaType: 'application/json'
|
|
6667
|
+
});
|
|
6668
|
+
}
|
|
6669
|
+
/**
|
|
6670
|
+
* Setup phone number linkage with whatsapp bots
|
|
6671
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
6672
|
+
* @returns void
|
|
6673
|
+
* @throws ApiError
|
|
6674
|
+
*/
|
|
6675
|
+
static aiBotV1BotsWhatsappUserConfigDestroy({
|
|
6676
|
+
id,
|
|
6677
|
+
org
|
|
6678
|
+
}) {
|
|
6679
|
+
return request(OpenAPI, {
|
|
6680
|
+
method: 'DELETE',
|
|
6681
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
6682
|
+
path: {
|
|
6683
|
+
'id': id,
|
|
6684
|
+
'org': org
|
|
6685
|
+
}
|
|
6686
|
+
});
|
|
6687
|
+
}
|
|
6688
|
+
/**
|
|
6689
|
+
* Webhook endpoint to receive and process discord messages.
|
|
6690
|
+
* @returns DiscordWebhook
|
|
6691
|
+
* @throws ApiError
|
|
6692
|
+
*/
|
|
6693
|
+
static aiBotV1BotsWebhooksDiscordCreate({
|
|
6694
|
+
name,
|
|
6695
|
+
org,
|
|
6696
|
+
requestBody
|
|
6697
|
+
}) {
|
|
6698
|
+
return request(OpenAPI, {
|
|
6699
|
+
method: 'POST',
|
|
6700
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
|
|
6701
|
+
path: {
|
|
6702
|
+
'name': name,
|
|
6703
|
+
'org': org
|
|
6704
|
+
},
|
|
6705
|
+
body: requestBody,
|
|
6706
|
+
mediaType: 'application/json'
|
|
6707
|
+
});
|
|
6708
|
+
}
|
|
6709
|
+
/**
|
|
6710
|
+
* @returns SlackWebhook
|
|
6711
|
+
* @throws ApiError
|
|
6712
|
+
*/
|
|
6713
|
+
static aiBotV1BotsWebhooksSlackCreate({
|
|
6714
|
+
name,
|
|
6715
|
+
org,
|
|
6716
|
+
requestBody
|
|
6717
|
+
}) {
|
|
6718
|
+
return request(OpenAPI, {
|
|
6719
|
+
method: 'POST',
|
|
6720
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
|
|
6721
|
+
path: {
|
|
6722
|
+
'name': name,
|
|
6723
|
+
'org': org
|
|
6724
|
+
},
|
|
6725
|
+
body: requestBody,
|
|
6726
|
+
mediaType: 'application/json'
|
|
6727
|
+
});
|
|
6728
|
+
}
|
|
6729
|
+
/**
|
|
6730
|
+
* @returns TeamsWebhook
|
|
6731
|
+
* @throws ApiError
|
|
6732
|
+
*/
|
|
6733
|
+
static aiBotV1BotsWebhooksTeamsCreate({
|
|
6734
|
+
name,
|
|
6735
|
+
org,
|
|
6736
|
+
requestBody
|
|
6737
|
+
}) {
|
|
6738
|
+
return request(OpenAPI, {
|
|
6739
|
+
method: 'POST',
|
|
6740
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
6741
|
+
path: {
|
|
6742
|
+
'name': name,
|
|
6743
|
+
'org': org
|
|
6744
|
+
},
|
|
6745
|
+
body: requestBody,
|
|
6746
|
+
mediaType: 'application/json'
|
|
6747
|
+
});
|
|
6748
|
+
}
|
|
6749
|
+
/**
|
|
6750
|
+
* Webhook endpoint to receive and process discord messages.
|
|
6751
|
+
* @returns WebexWebhook
|
|
6752
|
+
* @throws ApiError
|
|
6753
|
+
*/
|
|
6754
|
+
static aiBotV1BotsWebhooksWebexCreate({
|
|
6755
|
+
name,
|
|
6756
|
+
org,
|
|
6757
|
+
requestBody
|
|
6758
|
+
}) {
|
|
6759
|
+
return request(OpenAPI, {
|
|
6760
|
+
method: 'POST',
|
|
6761
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
|
|
6762
|
+
path: {
|
|
6763
|
+
'name': name,
|
|
6764
|
+
'org': org
|
|
6765
|
+
},
|
|
6766
|
+
body: requestBody,
|
|
6767
|
+
mediaType: 'application/json'
|
|
6768
|
+
});
|
|
6769
|
+
}
|
|
6770
|
+
/**
|
|
6771
|
+
* Respond to whatsapp's webhook challenge.
|
|
6772
|
+
* Parameters Required include the tenant key (org) and the name of the bot: (name)
|
|
6773
|
+
* @returns WhatAppWebHook
|
|
6774
|
+
* @throws ApiError
|
|
6775
|
+
*/
|
|
6776
|
+
static aiBotV1BotsWebhooksWhatsappRetrieve({
|
|
6777
|
+
name,
|
|
6778
|
+
org
|
|
6779
|
+
}) {
|
|
6780
|
+
return request(OpenAPI, {
|
|
6781
|
+
method: 'GET',
|
|
6782
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
6783
|
+
path: {
|
|
6784
|
+
'name': name,
|
|
6785
|
+
'org': org
|
|
6786
|
+
}
|
|
6787
|
+
});
|
|
6788
|
+
}
|
|
6789
|
+
/**
|
|
6790
|
+
* Accept and process webhook events from whatsapp.
|
|
6791
|
+
* @returns WhatAppWebHook
|
|
6792
|
+
* @throws ApiError
|
|
6793
|
+
*/
|
|
6794
|
+
static aiBotV1BotsWebhooksWhatsappCreate({
|
|
6795
|
+
name,
|
|
6796
|
+
org,
|
|
6797
|
+
requestBody
|
|
6798
|
+
}) {
|
|
6799
|
+
return request(OpenAPI, {
|
|
6800
|
+
method: 'POST',
|
|
6801
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
6802
|
+
path: {
|
|
6803
|
+
'name': name,
|
|
6804
|
+
'org': org
|
|
6805
|
+
},
|
|
6806
|
+
body: requestBody,
|
|
6807
|
+
mediaType: 'application/json'
|
|
6808
|
+
});
|
|
6809
|
+
}
|
|
6810
|
+
}
|
|
6811
|
+
|
|
6812
|
+
class AiFinetuningService {
|
|
6813
|
+
/**
|
|
6814
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
6815
|
+
* @returns PaginatedDataSetList
|
|
6816
|
+
* @throws ApiError
|
|
6817
|
+
*/
|
|
6818
|
+
static aiFinetuningV1OrgUserDatasetsList({
|
|
6819
|
+
org,
|
|
6820
|
+
username,
|
|
6821
|
+
dateCreated,
|
|
6822
|
+
numDataPoints,
|
|
6823
|
+
ordering,
|
|
6824
|
+
page,
|
|
6825
|
+
pageSize,
|
|
6826
|
+
retryAttempts,
|
|
6827
|
+
search,
|
|
6828
|
+
status
|
|
6829
|
+
}) {
|
|
6830
|
+
return request(OpenAPI, {
|
|
6831
|
+
method: 'GET',
|
|
6832
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
6833
|
+
path: {
|
|
6834
|
+
'org': org,
|
|
6835
|
+
'username': username
|
|
6836
|
+
},
|
|
6837
|
+
query: {
|
|
6838
|
+
'date_created': dateCreated,
|
|
6839
|
+
'num_data_points': numDataPoints,
|
|
6840
|
+
'ordering': ordering,
|
|
6841
|
+
'page': page,
|
|
6842
|
+
'page_size': pageSize,
|
|
6843
|
+
'retry_attempts': retryAttempts,
|
|
6844
|
+
'search': search,
|
|
6845
|
+
'status': status
|
|
6846
|
+
}
|
|
6847
|
+
});
|
|
6848
|
+
}
|
|
6849
|
+
/**
|
|
6850
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
6851
|
+
* @returns DataSetCreate
|
|
6852
|
+
* @throws ApiError
|
|
6853
|
+
*/
|
|
6854
|
+
static aiFinetuningV1OrgUserDatasetsCreate({
|
|
6855
|
+
org,
|
|
6856
|
+
username,
|
|
6857
|
+
requestBody
|
|
6858
|
+
}) {
|
|
6859
|
+
return request(OpenAPI, {
|
|
6860
|
+
method: 'POST',
|
|
6861
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
6862
|
+
path: {
|
|
6863
|
+
'org': org,
|
|
6864
|
+
'username': username
|
|
6865
|
+
},
|
|
6866
|
+
body: requestBody,
|
|
6867
|
+
mediaType: 'application/json'
|
|
6868
|
+
});
|
|
6869
|
+
}
|
|
6870
|
+
/**
|
|
6871
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
6872
|
+
* @returns DataSet
|
|
6873
|
+
* @throws ApiError
|
|
6874
|
+
*/
|
|
6875
|
+
static aiFinetuningV1OrgUserDatasetsRetrieve({
|
|
6876
|
+
id,
|
|
6877
|
+
org,
|
|
6878
|
+
username
|
|
6879
|
+
}) {
|
|
6880
|
+
return request(OpenAPI, {
|
|
6881
|
+
method: 'GET',
|
|
6882
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
6883
|
+
path: {
|
|
6884
|
+
'id': id,
|
|
6885
|
+
'org': org,
|
|
6886
|
+
'username': username
|
|
6887
|
+
}
|
|
6888
|
+
});
|
|
6889
|
+
}
|
|
6890
|
+
/**
|
|
6891
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
6892
|
+
* @returns DataSet
|
|
6893
|
+
* @throws ApiError
|
|
6894
|
+
*/
|
|
6895
|
+
static aiFinetuningV1OrgUserDatasetsUpdate({
|
|
6896
|
+
id,
|
|
6897
|
+
org,
|
|
6898
|
+
username,
|
|
6899
|
+
requestBody
|
|
6900
|
+
}) {
|
|
6901
|
+
return request(OpenAPI, {
|
|
6902
|
+
method: 'PUT',
|
|
6903
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
6904
|
+
path: {
|
|
6905
|
+
'id': id,
|
|
6906
|
+
'org': org,
|
|
6907
|
+
'username': username
|
|
6908
|
+
},
|
|
6909
|
+
body: requestBody,
|
|
6910
|
+
mediaType: 'application/json'
|
|
6911
|
+
});
|
|
6912
|
+
}
|
|
6913
|
+
/**
|
|
6914
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
6915
|
+
* @returns DataSet
|
|
6916
|
+
* @throws ApiError
|
|
6917
|
+
*/
|
|
6918
|
+
static aiFinetuningV1OrgUserDatasetsPartialUpdate({
|
|
6919
|
+
id,
|
|
6920
|
+
org,
|
|
6921
|
+
username,
|
|
6922
|
+
requestBody
|
|
6923
|
+
}) {
|
|
6924
|
+
return request(OpenAPI, {
|
|
6925
|
+
method: 'PATCH',
|
|
6926
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
6927
|
+
path: {
|
|
6928
|
+
'id': id,
|
|
6929
|
+
'org': org,
|
|
6930
|
+
'username': username
|
|
6931
|
+
},
|
|
6932
|
+
body: requestBody,
|
|
6933
|
+
mediaType: 'application/json'
|
|
6934
|
+
});
|
|
6935
|
+
}
|
|
6936
|
+
/**
|
|
6937
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
6938
|
+
* @returns void
|
|
6939
|
+
* @throws ApiError
|
|
6940
|
+
*/
|
|
6941
|
+
static aiFinetuningV1OrgUserDatasetsDestroy({
|
|
6942
|
+
id,
|
|
6943
|
+
org,
|
|
6944
|
+
username
|
|
6945
|
+
}) {
|
|
6946
|
+
return request(OpenAPI, {
|
|
6947
|
+
method: 'DELETE',
|
|
6948
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
6949
|
+
path: {
|
|
6950
|
+
'id': id,
|
|
6951
|
+
'org': org,
|
|
6952
|
+
'username': username
|
|
6953
|
+
}
|
|
6954
|
+
});
|
|
6955
|
+
}
|
|
6956
|
+
/**
|
|
6957
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
6958
|
+
* @returns PaginatedTrainingList
|
|
6959
|
+
* @throws ApiError
|
|
6960
|
+
*/
|
|
6961
|
+
static aiFinetuningV1OrgUserTrainingsList({
|
|
6962
|
+
org,
|
|
6963
|
+
username,
|
|
6964
|
+
baseModelName,
|
|
6965
|
+
dataset,
|
|
6966
|
+
dateCreated,
|
|
6967
|
+
fineTunedModel,
|
|
6968
|
+
lastModified,
|
|
6969
|
+
ordering,
|
|
6970
|
+
page,
|
|
6971
|
+
pageSize,
|
|
6972
|
+
preprocessDataset,
|
|
6973
|
+
provider,
|
|
6974
|
+
search,
|
|
6975
|
+
status
|
|
6976
|
+
}) {
|
|
6977
|
+
return request(OpenAPI, {
|
|
6978
|
+
method: 'GET',
|
|
6979
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
6980
|
+
path: {
|
|
6981
|
+
'org': org,
|
|
6982
|
+
'username': username
|
|
6983
|
+
},
|
|
6984
|
+
query: {
|
|
6985
|
+
'base_model_name': baseModelName,
|
|
6986
|
+
'dataset': dataset,
|
|
6987
|
+
'date_created': dateCreated,
|
|
6988
|
+
'fine_tuned_model': fineTunedModel,
|
|
6989
|
+
'last_modified': lastModified,
|
|
6990
|
+
'ordering': ordering,
|
|
6991
|
+
'page': page,
|
|
6992
|
+
'page_size': pageSize,
|
|
6993
|
+
'preprocess_dataset': preprocessDataset,
|
|
6994
|
+
'provider': provider,
|
|
6995
|
+
'search': search,
|
|
6996
|
+
'status': status
|
|
6997
|
+
}
|
|
6998
|
+
});
|
|
6999
|
+
}
|
|
7000
|
+
/**
|
|
7001
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
7002
|
+
* @returns TrainingCreate
|
|
7003
|
+
* @throws ApiError
|
|
7004
|
+
*/
|
|
7005
|
+
static aiFinetuningV1OrgUserTrainingsCreate({
|
|
7006
|
+
org,
|
|
7007
|
+
username,
|
|
7008
|
+
requestBody
|
|
7009
|
+
}) {
|
|
7010
|
+
return request(OpenAPI, {
|
|
7011
|
+
method: 'POST',
|
|
7012
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
7013
|
+
path: {
|
|
7014
|
+
'org': org,
|
|
7015
|
+
'username': username
|
|
7016
|
+
},
|
|
7017
|
+
body: requestBody,
|
|
7018
|
+
mediaType: 'application/json'
|
|
7019
|
+
});
|
|
7020
|
+
}
|
|
7021
|
+
/**
|
|
7022
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
7023
|
+
* @returns Training
|
|
7024
|
+
* @throws ApiError
|
|
7025
|
+
*/
|
|
7026
|
+
static aiFinetuningV1OrgUserTrainingsRetrieve({
|
|
7027
|
+
id,
|
|
7028
|
+
org,
|
|
7029
|
+
username
|
|
7030
|
+
}) {
|
|
7031
|
+
return request(OpenAPI, {
|
|
7032
|
+
method: 'GET',
|
|
7033
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
7034
|
+
path: {
|
|
7035
|
+
'id': id,
|
|
7036
|
+
'org': org,
|
|
7037
|
+
'username': username
|
|
7038
|
+
}
|
|
7039
|
+
});
|
|
7040
|
+
}
|
|
7041
|
+
/**
|
|
7042
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
7043
|
+
* @returns TrainingCreate
|
|
7044
|
+
* @throws ApiError
|
|
7045
|
+
*/
|
|
7046
|
+
static aiFinetuningV1OrgUserTrainingsUpdate({
|
|
7047
|
+
id,
|
|
7048
|
+
org,
|
|
7049
|
+
username,
|
|
7050
|
+
requestBody
|
|
7051
|
+
}) {
|
|
7052
|
+
return request(OpenAPI, {
|
|
7053
|
+
method: 'PUT',
|
|
7054
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
7055
|
+
path: {
|
|
7056
|
+
'id': id,
|
|
7057
|
+
'org': org,
|
|
7058
|
+
'username': username
|
|
7059
|
+
},
|
|
7060
|
+
body: requestBody,
|
|
7061
|
+
mediaType: 'application/json'
|
|
7062
|
+
});
|
|
7063
|
+
}
|
|
7064
|
+
/**
|
|
7065
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
7066
|
+
* @returns TrainingCreate
|
|
7067
|
+
* @throws ApiError
|
|
7068
|
+
*/
|
|
7069
|
+
static aiFinetuningV1OrgUserTrainingsPartialUpdate({
|
|
7070
|
+
id,
|
|
7071
|
+
org,
|
|
7072
|
+
username,
|
|
7073
|
+
requestBody
|
|
7074
|
+
}) {
|
|
7075
|
+
return request(OpenAPI, {
|
|
7076
|
+
method: 'PATCH',
|
|
7077
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
7078
|
+
path: {
|
|
7079
|
+
'id': id,
|
|
7080
|
+
'org': org,
|
|
7081
|
+
'username': username
|
|
7082
|
+
},
|
|
7083
|
+
body: requestBody,
|
|
7084
|
+
mediaType: 'application/json'
|
|
7085
|
+
});
|
|
7086
|
+
}
|
|
7087
|
+
/**
|
|
7088
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
7089
|
+
* @returns void
|
|
7090
|
+
* @throws ApiError
|
|
7091
|
+
*/
|
|
7092
|
+
static aiFinetuningV1OrgUserTrainingsDestroy({
|
|
7093
|
+
id,
|
|
7094
|
+
org,
|
|
7095
|
+
username
|
|
7096
|
+
}) {
|
|
7097
|
+
return request(OpenAPI, {
|
|
7098
|
+
method: 'DELETE',
|
|
7099
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
7100
|
+
path: {
|
|
7101
|
+
'id': id,
|
|
7102
|
+
'org': org,
|
|
7103
|
+
'username': username
|
|
7104
|
+
}
|
|
7105
|
+
});
|
|
7106
|
+
}
|
|
7107
|
+
/**
|
|
7108
|
+
* Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
|
|
7109
|
+
* Filtering and pagination is allowed.
|
|
7110
|
+
*
|
|
7111
|
+
* NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
|
|
7112
|
+
* training list endpoint.
|
|
7113
|
+
* Returns:
|
|
7114
|
+
* Response: A paginated response containing the serialized fine-tuned models.
|
|
7115
|
+
* @returns Training
|
|
7116
|
+
* @throws ApiError
|
|
7117
|
+
*/
|
|
7118
|
+
static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({
|
|
7119
|
+
org,
|
|
7120
|
+
username
|
|
7121
|
+
}) {
|
|
7122
|
+
return request(OpenAPI, {
|
|
7123
|
+
method: 'GET',
|
|
7124
|
+
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/finetuned-models/',
|
|
7125
|
+
path: {
|
|
7126
|
+
'org': org,
|
|
7127
|
+
'username': username
|
|
7128
|
+
}
|
|
7129
|
+
});
|
|
7130
|
+
}
|
|
7131
|
+
}
|
|
7132
|
+
|
|
5742
7133
|
class AiIndexService {
|
|
5743
7134
|
/**
|
|
5744
7135
|
* Retrieve details of a specific document embedding.
|
|
@@ -33624,6 +35015,8 @@
|
|
|
33624
35015
|
|
|
33625
35016
|
exports.AiAccountService = AiAccountService;
|
|
33626
35017
|
exports.AiAnalyticsService = AiAnalyticsService;
|
|
35018
|
+
exports.AiBotService = AiBotService;
|
|
35019
|
+
exports.AiFinetuningService = AiFinetuningService;
|
|
33627
35020
|
exports.AiIndexService = AiIndexService;
|
|
33628
35021
|
exports.AiMarketingService = AiMarketingService;
|
|
33629
35022
|
exports.AiMediaService = AiMediaService;
|