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