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