@iblai/iblai-api 4.2.1-ai-plus → 4.3.0-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +43 -1507
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +44 -1506
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +43 -1507
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -44
- package/dist/types/models/{Provider637Enum.d.ts → ProviderEnum.d.ts} +1 -1
- package/dist/types/models/UserMemoryEntry.d.ts +1 -1
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/services/AiAccountService.d.ts +26 -83
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -44
- package/src/models/{Provider637Enum.ts → ProviderEnum.ts} +1 -1
- package/src/models/UserMemoryEntry.ts +1 -1
- package/src/models/Voice.ts +2 -2
- package/src/services/AiAccountService.ts +38 -127
- package/dist/types/models/APITokenCost.d.ts +0 -14
- 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/IBLAIPlatformMeta.d.ts +0 -3
- package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +0 -6
- package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +0 -10
- 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/APITokenCost.ts +0 -19
- 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/IBLAIPlatformMeta.ts +0 -8
- package/src/models/IBLAIPlatformMetaRequest.ts +0 -11
- package/src/models/IBLAIPlatformMetaUpdateRequest.ts +0 -15
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiBotService.ts +0 -1330
- package/src/services/AiFinetuningService.ts +0 -472
package/dist/index.cjs.js
CHANGED
|
@@ -110,7 +110,7 @@ class CancelablePromise {
|
|
|
110
110
|
|
|
111
111
|
const OpenAPI = {
|
|
112
112
|
BASE: 'https://base.manager.iblai.app',
|
|
113
|
-
VERSION: '4.
|
|
113
|
+
VERSION: '4.3.0-ai',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -259,24 +259,6 @@ exports.CrawlerPatternTypeEnum = void 0;
|
|
|
259
259
|
CrawlerPatternTypeEnum["REGEX"] = "regex";
|
|
260
260
|
})(exports.CrawlerPatternTypeEnum || (exports.CrawlerPatternTypeEnum = {}));
|
|
261
261
|
|
|
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
262
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
281
263
|
/* istanbul ignore file */
|
|
282
264
|
/* tslint:disable */
|
|
@@ -573,26 +555,6 @@ exports.PromptVisibilityEnum = void 0;
|
|
|
573
555
|
PromptVisibilityEnum["VIEWABLE_BY_ANYONE"] = "viewable_by_anyone";
|
|
574
556
|
})(exports.PromptVisibilityEnum || (exports.PromptVisibilityEnum = {}));
|
|
575
557
|
|
|
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
558
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
597
559
|
/* istanbul ignore file */
|
|
598
560
|
/* tslint:disable */
|
|
@@ -602,24 +564,12 @@ exports.Provider05cEnum = void 0;
|
|
|
602
564
|
* * `google` - Google
|
|
603
565
|
* * `elevenlabs` - Elevenlabs
|
|
604
566
|
*/
|
|
605
|
-
exports.
|
|
606
|
-
(function (
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
})(exports.
|
|
611
|
-
|
|
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 = {}));
|
|
567
|
+
exports.ProviderEnum = void 0;
|
|
568
|
+
(function (ProviderEnum) {
|
|
569
|
+
ProviderEnum["OPENAI"] = "openai";
|
|
570
|
+
ProviderEnum["GOOGLE"] = "google";
|
|
571
|
+
ProviderEnum["ELEVENLABS"] = "elevenlabs";
|
|
572
|
+
})(exports.ProviderEnum || (exports.ProviderEnum = {}));
|
|
623
573
|
|
|
624
574
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
625
575
|
/* istanbul ignore file */
|
|
@@ -1176,6 +1126,33 @@ class AiAccountService {
|
|
|
1176
1126
|
mediaType: 'application/json'
|
|
1177
1127
|
});
|
|
1178
1128
|
}
|
|
1129
|
+
/**
|
|
1130
|
+
* Delete an existing LLM credential for an organization.
|
|
1131
|
+
*
|
|
1132
|
+
* Args:
|
|
1133
|
+
* request: The HTTP request containing updated credential information
|
|
1134
|
+
* org: Organization key identifier
|
|
1135
|
+
*
|
|
1136
|
+
* Returns:
|
|
1137
|
+
* Response: 204
|
|
1138
|
+
*
|
|
1139
|
+
* Raises:
|
|
1140
|
+
* NotFound: When organization or credential is not found
|
|
1141
|
+
* ValidationError: When request data is invalid
|
|
1142
|
+
* @returns void
|
|
1143
|
+
* @throws ApiError
|
|
1144
|
+
*/
|
|
1145
|
+
static aiAccountOrgsCredentialDestroy({
|
|
1146
|
+
org
|
|
1147
|
+
}) {
|
|
1148
|
+
return request(OpenAPI, {
|
|
1149
|
+
method: 'DELETE',
|
|
1150
|
+
url: '/api/ai-account/orgs/{org}/credential/',
|
|
1151
|
+
path: {
|
|
1152
|
+
'org': org
|
|
1153
|
+
}
|
|
1154
|
+
});
|
|
1155
|
+
}
|
|
1179
1156
|
/**
|
|
1180
1157
|
* Retrieve integration credentials for an organization.
|
|
1181
1158
|
*
|
|
@@ -1271,127 +1248,29 @@ class AiAccountService {
|
|
|
1271
1248
|
});
|
|
1272
1249
|
}
|
|
1273
1250
|
/**
|
|
1274
|
-
*
|
|
1275
|
-
*
|
|
1276
|
-
* Args:
|
|
1277
|
-
* request: The HTTP request
|
|
1278
|
-
* org: Organization key identifier
|
|
1279
|
-
*
|
|
1280
|
-
* Returns:
|
|
1281
|
-
* Response: Platform metadata including service configurations and active services
|
|
1282
|
-
*
|
|
1283
|
-
* Raises:
|
|
1284
|
-
* NotFound: When platform metadata is not found
|
|
1285
|
-
* @returns IBLAIPlatformMeta
|
|
1286
|
-
* @throws ApiError
|
|
1287
|
-
*/
|
|
1288
|
-
static aiAccountOrgsPlatformMetadataList({
|
|
1289
|
-
org
|
|
1290
|
-
}) {
|
|
1291
|
-
return request(OpenAPI, {
|
|
1292
|
-
method: 'GET',
|
|
1293
|
-
url: '/api/ai-account/orgs/{org}/platform-metadata/',
|
|
1294
|
-
path: {
|
|
1295
|
-
'org': org
|
|
1296
|
-
}
|
|
1297
|
-
});
|
|
1298
|
-
}
|
|
1299
|
-
/**
|
|
1300
|
-
* Create or update platform metadata for a specific organization.
|
|
1301
|
-
*
|
|
1302
|
-
* Args:
|
|
1303
|
-
* request: The HTTP request containing metadata information
|
|
1304
|
-
* org: Organization key identifier
|
|
1305
|
-
*
|
|
1306
|
-
* Returns:
|
|
1307
|
-
* Response: Created/updated platform metadata
|
|
1308
|
-
*
|
|
1309
|
-
* Raises:
|
|
1310
|
-
* NotFound: When platform is not found
|
|
1311
|
-
* ValidationError: When request data is invalid
|
|
1312
|
-
* @returns IBLAIPlatformMeta
|
|
1313
|
-
* @throws ApiError
|
|
1314
|
-
*/
|
|
1315
|
-
static aiAccountOrgsPlatformMetadataCreate({
|
|
1316
|
-
org,
|
|
1317
|
-
requestBody
|
|
1318
|
-
}) {
|
|
1319
|
-
return request(OpenAPI, {
|
|
1320
|
-
method: 'POST',
|
|
1321
|
-
url: '/api/ai-account/orgs/{org}/platform-metadata/',
|
|
1322
|
-
path: {
|
|
1323
|
-
'org': org
|
|
1324
|
-
},
|
|
1325
|
-
body: requestBody,
|
|
1326
|
-
mediaType: 'application/json'
|
|
1327
|
-
});
|
|
1328
|
-
}
|
|
1329
|
-
/**
|
|
1330
|
-
* Update specific fields of platform metadata for an organization.
|
|
1331
|
-
*
|
|
1332
|
-
* This endpoint allows updating the active LLM provider and available LLMs.
|
|
1251
|
+
* Delete an existing integration credential for an organization.
|
|
1333
1252
|
*
|
|
1334
1253
|
* Args:
|
|
1335
|
-
* request: The HTTP request containing
|
|
1254
|
+
* request: The HTTP request containing credential information (must include 'id')
|
|
1336
1255
|
* org: Organization key identifier
|
|
1337
1256
|
*
|
|
1338
1257
|
* Returns:
|
|
1339
|
-
* Response:
|
|
1258
|
+
* Response: 204
|
|
1340
1259
|
*
|
|
1341
1260
|
* Raises:
|
|
1342
|
-
* NotFound: When
|
|
1261
|
+
* NotFound: When organization or credential is not found
|
|
1343
1262
|
* ValidationError: When request data is invalid
|
|
1344
|
-
* @returns
|
|
1345
|
-
* @throws ApiError
|
|
1346
|
-
*/
|
|
1347
|
-
static aiAccountOrgsPlatformMetadataUpdate({
|
|
1348
|
-
org,
|
|
1349
|
-
requestBody
|
|
1350
|
-
}) {
|
|
1351
|
-
return request(OpenAPI, {
|
|
1352
|
-
method: 'PUT',
|
|
1353
|
-
url: '/api/ai-account/orgs/{org}/platform-metadata/',
|
|
1354
|
-
path: {
|
|
1355
|
-
'org': org
|
|
1356
|
-
},
|
|
1357
|
-
body: requestBody,
|
|
1358
|
-
mediaType: 'application/json'
|
|
1359
|
-
});
|
|
1360
|
-
}
|
|
1361
|
-
/**
|
|
1362
|
-
* Retrieve weekly token usage statistics for an organization.
|
|
1363
|
-
*
|
|
1364
|
-
* Query Parameters:
|
|
1365
|
-
* username (optional): Filter results by specific username
|
|
1366
|
-
* session_id (optional): Filter results by specific session ID
|
|
1367
|
-
*
|
|
1368
|
-
* Args:
|
|
1369
|
-
* request: The HTTP request
|
|
1370
|
-
* org: Organization key identifier
|
|
1371
|
-
*
|
|
1372
|
-
* Returns:
|
|
1373
|
-
* Response: List of weekly token usage records with prompt and completion tokens
|
|
1374
|
-
*
|
|
1375
|
-
* Raises:
|
|
1376
|
-
* NotFound: When organization is not found or when no sessions match the filters
|
|
1377
|
-
* ValidationError: When query parameters are invalid
|
|
1378
|
-
* @returns APITokenCost
|
|
1263
|
+
* @returns void
|
|
1379
1264
|
* @throws ApiError
|
|
1380
1265
|
*/
|
|
1381
|
-
static
|
|
1382
|
-
org
|
|
1383
|
-
sessionId,
|
|
1384
|
-
username
|
|
1266
|
+
static aiAccountOrgsIntegrationCredentialDestroy({
|
|
1267
|
+
org
|
|
1385
1268
|
}) {
|
|
1386
1269
|
return request(OpenAPI, {
|
|
1387
|
-
method: '
|
|
1388
|
-
url: '/api/ai-account/orgs/{org}/
|
|
1270
|
+
method: 'DELETE',
|
|
1271
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/',
|
|
1389
1272
|
path: {
|
|
1390
1273
|
'org': org
|
|
1391
|
-
},
|
|
1392
|
-
query: {
|
|
1393
|
-
'session_id': sessionId,
|
|
1394
|
-
'username': username
|
|
1395
1274
|
}
|
|
1396
1275
|
});
|
|
1397
1276
|
}
|
|
@@ -9162,1347 +9041,6 @@ class AiAnalyticsService {
|
|
|
9162
9041
|
}
|
|
9163
9042
|
}
|
|
9164
9043
|
|
|
9165
|
-
class AiBotService {
|
|
9166
|
-
/**
|
|
9167
|
-
* Create modify and update bot information for a specific tenant.
|
|
9168
|
-
* @returns Bot
|
|
9169
|
-
* @throws ApiError
|
|
9170
|
-
*/
|
|
9171
|
-
static aiBotV1BotsBotList({
|
|
9172
|
-
org
|
|
9173
|
-
}) {
|
|
9174
|
-
return request(OpenAPI, {
|
|
9175
|
-
method: 'GET',
|
|
9176
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9177
|
-
path: {
|
|
9178
|
-
'org': org
|
|
9179
|
-
}
|
|
9180
|
-
});
|
|
9181
|
-
}
|
|
9182
|
-
/**
|
|
9183
|
-
* Create modify and update bot information for a specific tenant.
|
|
9184
|
-
* @returns BotCreate
|
|
9185
|
-
* @throws ApiError
|
|
9186
|
-
*/
|
|
9187
|
-
static aiBotV1BotsBotCreate({
|
|
9188
|
-
org,
|
|
9189
|
-
requestBody
|
|
9190
|
-
}) {
|
|
9191
|
-
return request(OpenAPI, {
|
|
9192
|
-
method: 'POST',
|
|
9193
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9194
|
-
path: {
|
|
9195
|
-
'org': org
|
|
9196
|
-
},
|
|
9197
|
-
body: requestBody,
|
|
9198
|
-
mediaType: 'application/json'
|
|
9199
|
-
});
|
|
9200
|
-
}
|
|
9201
|
-
/**
|
|
9202
|
-
* Create slash commands for a specific bot
|
|
9203
|
-
* eg. /iblai-baseline
|
|
9204
|
-
* @returns BotCommand
|
|
9205
|
-
* @throws ApiError
|
|
9206
|
-
*/
|
|
9207
|
-
static aiBotV1BotsBotCommandsList({
|
|
9208
|
-
org
|
|
9209
|
-
}) {
|
|
9210
|
-
return request(OpenAPI, {
|
|
9211
|
-
method: 'GET',
|
|
9212
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9213
|
-
path: {
|
|
9214
|
-
'org': org
|
|
9215
|
-
}
|
|
9216
|
-
});
|
|
9217
|
-
}
|
|
9218
|
-
/**
|
|
9219
|
-
* Create slash commands for a specific bot
|
|
9220
|
-
* eg. /iblai-baseline
|
|
9221
|
-
* @returns BotCommand
|
|
9222
|
-
* @throws ApiError
|
|
9223
|
-
*/
|
|
9224
|
-
static aiBotV1BotsBotCommandsCreate({
|
|
9225
|
-
org,
|
|
9226
|
-
requestBody
|
|
9227
|
-
}) {
|
|
9228
|
-
return request(OpenAPI, {
|
|
9229
|
-
method: 'POST',
|
|
9230
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9231
|
-
path: {
|
|
9232
|
-
'org': org
|
|
9233
|
-
},
|
|
9234
|
-
body: requestBody,
|
|
9235
|
-
mediaType: 'application/json'
|
|
9236
|
-
});
|
|
9237
|
-
}
|
|
9238
|
-
/**
|
|
9239
|
-
* Create slash commands for a specific bot
|
|
9240
|
-
* eg. /iblai-baseline
|
|
9241
|
-
* @returns BotCommand
|
|
9242
|
-
* @throws ApiError
|
|
9243
|
-
*/
|
|
9244
|
-
static aiBotV1BotsBotCommandsRetrieve({
|
|
9245
|
-
id,
|
|
9246
|
-
org
|
|
9247
|
-
}) {
|
|
9248
|
-
return request(OpenAPI, {
|
|
9249
|
-
method: 'GET',
|
|
9250
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9251
|
-
path: {
|
|
9252
|
-
'id': id,
|
|
9253
|
-
'org': org
|
|
9254
|
-
}
|
|
9255
|
-
});
|
|
9256
|
-
}
|
|
9257
|
-
/**
|
|
9258
|
-
* Create slash commands for a specific bot
|
|
9259
|
-
* eg. /iblai-baseline
|
|
9260
|
-
* @returns BotCommand
|
|
9261
|
-
* @throws ApiError
|
|
9262
|
-
*/
|
|
9263
|
-
static aiBotV1BotsBotCommandsUpdate({
|
|
9264
|
-
id,
|
|
9265
|
-
org,
|
|
9266
|
-
requestBody
|
|
9267
|
-
}) {
|
|
9268
|
-
return request(OpenAPI, {
|
|
9269
|
-
method: 'PUT',
|
|
9270
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9271
|
-
path: {
|
|
9272
|
-
'id': id,
|
|
9273
|
-
'org': org
|
|
9274
|
-
},
|
|
9275
|
-
body: requestBody,
|
|
9276
|
-
mediaType: 'application/json'
|
|
9277
|
-
});
|
|
9278
|
-
}
|
|
9279
|
-
/**
|
|
9280
|
-
* Create slash commands for a specific bot
|
|
9281
|
-
* eg. /iblai-baseline
|
|
9282
|
-
* @returns BotCommand
|
|
9283
|
-
* @throws ApiError
|
|
9284
|
-
*/
|
|
9285
|
-
static aiBotV1BotsBotCommandsPartialUpdate({
|
|
9286
|
-
id,
|
|
9287
|
-
org,
|
|
9288
|
-
requestBody
|
|
9289
|
-
}) {
|
|
9290
|
-
return request(OpenAPI, {
|
|
9291
|
-
method: 'PATCH',
|
|
9292
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9293
|
-
path: {
|
|
9294
|
-
'id': id,
|
|
9295
|
-
'org': org
|
|
9296
|
-
},
|
|
9297
|
-
body: requestBody,
|
|
9298
|
-
mediaType: 'application/json'
|
|
9299
|
-
});
|
|
9300
|
-
}
|
|
9301
|
-
/**
|
|
9302
|
-
* Create slash commands for a specific bot
|
|
9303
|
-
* eg. /iblai-baseline
|
|
9304
|
-
* @returns void
|
|
9305
|
-
* @throws ApiError
|
|
9306
|
-
*/
|
|
9307
|
-
static aiBotV1BotsBotCommandsDestroy({
|
|
9308
|
-
id,
|
|
9309
|
-
org
|
|
9310
|
-
}) {
|
|
9311
|
-
return request(OpenAPI, {
|
|
9312
|
-
method: 'DELETE',
|
|
9313
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9314
|
-
path: {
|
|
9315
|
-
'id': id,
|
|
9316
|
-
'org': org
|
|
9317
|
-
}
|
|
9318
|
-
});
|
|
9319
|
-
}
|
|
9320
|
-
/**
|
|
9321
|
-
* Create modify and update bot information for a specific tenant.
|
|
9322
|
-
* @returns Bot
|
|
9323
|
-
* @throws ApiError
|
|
9324
|
-
*/
|
|
9325
|
-
static aiBotV1BotsBotRetrieve({
|
|
9326
|
-
id,
|
|
9327
|
-
org
|
|
9328
|
-
}) {
|
|
9329
|
-
return request(OpenAPI, {
|
|
9330
|
-
method: 'GET',
|
|
9331
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9332
|
-
path: {
|
|
9333
|
-
'id': id,
|
|
9334
|
-
'org': org
|
|
9335
|
-
}
|
|
9336
|
-
});
|
|
9337
|
-
}
|
|
9338
|
-
/**
|
|
9339
|
-
* Create modify and update bot information for a specific tenant.
|
|
9340
|
-
* @returns BotCreate
|
|
9341
|
-
* @throws ApiError
|
|
9342
|
-
*/
|
|
9343
|
-
static aiBotV1BotsBotUpdate({
|
|
9344
|
-
id,
|
|
9345
|
-
org,
|
|
9346
|
-
requestBody
|
|
9347
|
-
}) {
|
|
9348
|
-
return request(OpenAPI, {
|
|
9349
|
-
method: 'PUT',
|
|
9350
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9351
|
-
path: {
|
|
9352
|
-
'id': id,
|
|
9353
|
-
'org': org
|
|
9354
|
-
},
|
|
9355
|
-
body: requestBody,
|
|
9356
|
-
mediaType: 'application/json'
|
|
9357
|
-
});
|
|
9358
|
-
}
|
|
9359
|
-
/**
|
|
9360
|
-
* Create modify and update bot information for a specific tenant.
|
|
9361
|
-
* @returns BotCreate
|
|
9362
|
-
* @throws ApiError
|
|
9363
|
-
*/
|
|
9364
|
-
static aiBotV1BotsBotPartialUpdate({
|
|
9365
|
-
id,
|
|
9366
|
-
org,
|
|
9367
|
-
requestBody
|
|
9368
|
-
}) {
|
|
9369
|
-
return request(OpenAPI, {
|
|
9370
|
-
method: 'PATCH',
|
|
9371
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9372
|
-
path: {
|
|
9373
|
-
'id': id,
|
|
9374
|
-
'org': org
|
|
9375
|
-
},
|
|
9376
|
-
body: requestBody,
|
|
9377
|
-
mediaType: 'application/json'
|
|
9378
|
-
});
|
|
9379
|
-
}
|
|
9380
|
-
/**
|
|
9381
|
-
* Create modify and update bot information for a specific tenant.
|
|
9382
|
-
* @returns void
|
|
9383
|
-
* @throws ApiError
|
|
9384
|
-
*/
|
|
9385
|
-
static aiBotV1BotsBotDestroy({
|
|
9386
|
-
id,
|
|
9387
|
-
org
|
|
9388
|
-
}) {
|
|
9389
|
-
return request(OpenAPI, {
|
|
9390
|
-
method: 'DELETE',
|
|
9391
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9392
|
-
path: {
|
|
9393
|
-
'id': id,
|
|
9394
|
-
'org': org
|
|
9395
|
-
}
|
|
9396
|
-
});
|
|
9397
|
-
}
|
|
9398
|
-
/**
|
|
9399
|
-
* Create modify and update bot information for a specific tenant.
|
|
9400
|
-
* @returns DiscordConfig
|
|
9401
|
-
* @throws ApiError
|
|
9402
|
-
*/
|
|
9403
|
-
static aiBotV1BotsBotConfigDiscordRetrieve({
|
|
9404
|
-
id,
|
|
9405
|
-
org
|
|
9406
|
-
}) {
|
|
9407
|
-
return request(OpenAPI, {
|
|
9408
|
-
method: 'GET',
|
|
9409
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9410
|
-
path: {
|
|
9411
|
-
'id': id,
|
|
9412
|
-
'org': org
|
|
9413
|
-
}
|
|
9414
|
-
});
|
|
9415
|
-
}
|
|
9416
|
-
/**
|
|
9417
|
-
* Create modify and update bot information for a specific tenant.
|
|
9418
|
-
* @returns DiscordConfig
|
|
9419
|
-
* @throws ApiError
|
|
9420
|
-
*/
|
|
9421
|
-
static aiBotV1BotsBotConfigDiscordPartialUpdate({
|
|
9422
|
-
id,
|
|
9423
|
-
org,
|
|
9424
|
-
requestBody
|
|
9425
|
-
}) {
|
|
9426
|
-
return request(OpenAPI, {
|
|
9427
|
-
method: 'PATCH',
|
|
9428
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9429
|
-
path: {
|
|
9430
|
-
'id': id,
|
|
9431
|
-
'org': org
|
|
9432
|
-
},
|
|
9433
|
-
body: requestBody,
|
|
9434
|
-
mediaType: 'application/json'
|
|
9435
|
-
});
|
|
9436
|
-
}
|
|
9437
|
-
/**
|
|
9438
|
-
* Create modify and update bot information for a specific tenant.
|
|
9439
|
-
* @returns SlackConfig
|
|
9440
|
-
* @throws ApiError
|
|
9441
|
-
*/
|
|
9442
|
-
static aiBotV1BotsBotConfigSlackRetrieve({
|
|
9443
|
-
id,
|
|
9444
|
-
org
|
|
9445
|
-
}) {
|
|
9446
|
-
return request(OpenAPI, {
|
|
9447
|
-
method: 'GET',
|
|
9448
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
|
|
9449
|
-
path: {
|
|
9450
|
-
'id': id,
|
|
9451
|
-
'org': org
|
|
9452
|
-
}
|
|
9453
|
-
});
|
|
9454
|
-
}
|
|
9455
|
-
/**
|
|
9456
|
-
* Create modify and update bot information for a specific tenant.
|
|
9457
|
-
* @returns SlackConfig
|
|
9458
|
-
* @throws ApiError
|
|
9459
|
-
*/
|
|
9460
|
-
static aiBotV1BotsBotConfigSlackUpdateCreate({
|
|
9461
|
-
id,
|
|
9462
|
-
org,
|
|
9463
|
-
requestBody
|
|
9464
|
-
}) {
|
|
9465
|
-
return request(OpenAPI, {
|
|
9466
|
-
method: 'POST',
|
|
9467
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9468
|
-
path: {
|
|
9469
|
-
'id': id,
|
|
9470
|
-
'org': org
|
|
9471
|
-
},
|
|
9472
|
-
body: requestBody,
|
|
9473
|
-
mediaType: 'application/json'
|
|
9474
|
-
});
|
|
9475
|
-
}
|
|
9476
|
-
/**
|
|
9477
|
-
* Create modify and update bot information for a specific tenant.
|
|
9478
|
-
* @returns SlackConfig
|
|
9479
|
-
* @throws ApiError
|
|
9480
|
-
*/
|
|
9481
|
-
static aiBotV1BotsBotConfigSlackUpdateUpdate({
|
|
9482
|
-
id,
|
|
9483
|
-
org,
|
|
9484
|
-
requestBody
|
|
9485
|
-
}) {
|
|
9486
|
-
return request(OpenAPI, {
|
|
9487
|
-
method: 'PUT',
|
|
9488
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9489
|
-
path: {
|
|
9490
|
-
'id': id,
|
|
9491
|
-
'org': org
|
|
9492
|
-
},
|
|
9493
|
-
body: requestBody,
|
|
9494
|
-
mediaType: 'application/json'
|
|
9495
|
-
});
|
|
9496
|
-
}
|
|
9497
|
-
/**
|
|
9498
|
-
* Create modify and update bot information for a specific tenant.
|
|
9499
|
-
* @returns SlackConfig
|
|
9500
|
-
* @throws ApiError
|
|
9501
|
-
*/
|
|
9502
|
-
static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
|
|
9503
|
-
id,
|
|
9504
|
-
org,
|
|
9505
|
-
requestBody
|
|
9506
|
-
}) {
|
|
9507
|
-
return request(OpenAPI, {
|
|
9508
|
-
method: 'PATCH',
|
|
9509
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9510
|
-
path: {
|
|
9511
|
-
'id': id,
|
|
9512
|
-
'org': org
|
|
9513
|
-
},
|
|
9514
|
-
body: requestBody,
|
|
9515
|
-
mediaType: 'application/json'
|
|
9516
|
-
});
|
|
9517
|
-
}
|
|
9518
|
-
/**
|
|
9519
|
-
* Create modify and update bot information for a specific tenant.
|
|
9520
|
-
* @returns TeamsConfig
|
|
9521
|
-
* @throws ApiError
|
|
9522
|
-
*/
|
|
9523
|
-
static aiBotV1BotsBotConfigTeamsRetrieve({
|
|
9524
|
-
id,
|
|
9525
|
-
org
|
|
9526
|
-
}) {
|
|
9527
|
-
return request(OpenAPI, {
|
|
9528
|
-
method: 'GET',
|
|
9529
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
|
|
9530
|
-
path: {
|
|
9531
|
-
'id': id,
|
|
9532
|
-
'org': org
|
|
9533
|
-
}
|
|
9534
|
-
});
|
|
9535
|
-
}
|
|
9536
|
-
/**
|
|
9537
|
-
* Create modify and update bot information for a specific tenant.
|
|
9538
|
-
* @returns TeamsConfig
|
|
9539
|
-
* @throws ApiError
|
|
9540
|
-
*/
|
|
9541
|
-
static aiBotV1BotsBotConfigTeamsUpdateCreate({
|
|
9542
|
-
id,
|
|
9543
|
-
org,
|
|
9544
|
-
requestBody
|
|
9545
|
-
}) {
|
|
9546
|
-
return request(OpenAPI, {
|
|
9547
|
-
method: 'POST',
|
|
9548
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9549
|
-
path: {
|
|
9550
|
-
'id': id,
|
|
9551
|
-
'org': org
|
|
9552
|
-
},
|
|
9553
|
-
body: requestBody,
|
|
9554
|
-
mediaType: 'application/json'
|
|
9555
|
-
});
|
|
9556
|
-
}
|
|
9557
|
-
/**
|
|
9558
|
-
* Create modify and update bot information for a specific tenant.
|
|
9559
|
-
* @returns TeamsConfig
|
|
9560
|
-
* @throws ApiError
|
|
9561
|
-
*/
|
|
9562
|
-
static aiBotV1BotsBotConfigTeamsUpdateUpdate({
|
|
9563
|
-
id,
|
|
9564
|
-
org,
|
|
9565
|
-
requestBody
|
|
9566
|
-
}) {
|
|
9567
|
-
return request(OpenAPI, {
|
|
9568
|
-
method: 'PUT',
|
|
9569
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9570
|
-
path: {
|
|
9571
|
-
'id': id,
|
|
9572
|
-
'org': org
|
|
9573
|
-
},
|
|
9574
|
-
body: requestBody,
|
|
9575
|
-
mediaType: 'application/json'
|
|
9576
|
-
});
|
|
9577
|
-
}
|
|
9578
|
-
/**
|
|
9579
|
-
* Create modify and update bot information for a specific tenant.
|
|
9580
|
-
* @returns TeamsConfig
|
|
9581
|
-
* @throws ApiError
|
|
9582
|
-
*/
|
|
9583
|
-
static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
|
|
9584
|
-
id,
|
|
9585
|
-
org,
|
|
9586
|
-
requestBody
|
|
9587
|
-
}) {
|
|
9588
|
-
return request(OpenAPI, {
|
|
9589
|
-
method: 'PATCH',
|
|
9590
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9591
|
-
path: {
|
|
9592
|
-
'id': id,
|
|
9593
|
-
'org': org
|
|
9594
|
-
},
|
|
9595
|
-
body: requestBody,
|
|
9596
|
-
mediaType: 'application/json'
|
|
9597
|
-
});
|
|
9598
|
-
}
|
|
9599
|
-
/**
|
|
9600
|
-
* Create modify and update bot information for a specific tenant.
|
|
9601
|
-
* @returns WebexConfig
|
|
9602
|
-
* @throws ApiError
|
|
9603
|
-
*/
|
|
9604
|
-
static aiBotV1BotsBotConfigWebexRetrieve({
|
|
9605
|
-
id,
|
|
9606
|
-
org
|
|
9607
|
-
}) {
|
|
9608
|
-
return request(OpenAPI, {
|
|
9609
|
-
method: 'GET',
|
|
9610
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
9611
|
-
path: {
|
|
9612
|
-
'id': id,
|
|
9613
|
-
'org': org
|
|
9614
|
-
}
|
|
9615
|
-
});
|
|
9616
|
-
}
|
|
9617
|
-
/**
|
|
9618
|
-
* Create modify and update bot information for a specific tenant.
|
|
9619
|
-
* @returns WebexConfig
|
|
9620
|
-
* @throws ApiError
|
|
9621
|
-
*/
|
|
9622
|
-
static aiBotV1BotsBotConfigWebexPartialUpdate({
|
|
9623
|
-
id,
|
|
9624
|
-
org,
|
|
9625
|
-
requestBody
|
|
9626
|
-
}) {
|
|
9627
|
-
return request(OpenAPI, {
|
|
9628
|
-
method: 'PATCH',
|
|
9629
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
9630
|
-
path: {
|
|
9631
|
-
'id': id,
|
|
9632
|
-
'org': org
|
|
9633
|
-
},
|
|
9634
|
-
body: requestBody,
|
|
9635
|
-
mediaType: 'application/json'
|
|
9636
|
-
});
|
|
9637
|
-
}
|
|
9638
|
-
/**
|
|
9639
|
-
* Create modify and update bot information for a specific tenant.
|
|
9640
|
-
* @returns WhatsappConfig
|
|
9641
|
-
* @throws ApiError
|
|
9642
|
-
*/
|
|
9643
|
-
static aiBotV1BotsBotConfigWhatsappRetrieve({
|
|
9644
|
-
id,
|
|
9645
|
-
org
|
|
9646
|
-
}) {
|
|
9647
|
-
return request(OpenAPI, {
|
|
9648
|
-
method: 'GET',
|
|
9649
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
|
|
9650
|
-
path: {
|
|
9651
|
-
'id': id,
|
|
9652
|
-
'org': org
|
|
9653
|
-
}
|
|
9654
|
-
});
|
|
9655
|
-
}
|
|
9656
|
-
/**
|
|
9657
|
-
* Create modify and update bot information for a specific tenant.
|
|
9658
|
-
* @returns WhatsappConfig
|
|
9659
|
-
* @throws ApiError
|
|
9660
|
-
*/
|
|
9661
|
-
static aiBotV1BotsBotWhatsappConfigUpdate({
|
|
9662
|
-
id,
|
|
9663
|
-
org,
|
|
9664
|
-
requestBody
|
|
9665
|
-
}) {
|
|
9666
|
-
return request(OpenAPI, {
|
|
9667
|
-
method: 'PUT',
|
|
9668
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
9669
|
-
path: {
|
|
9670
|
-
'id': id,
|
|
9671
|
-
'org': org
|
|
9672
|
-
},
|
|
9673
|
-
body: requestBody,
|
|
9674
|
-
mediaType: 'application/json'
|
|
9675
|
-
});
|
|
9676
|
-
}
|
|
9677
|
-
/**
|
|
9678
|
-
* Create modify and update bot information for a specific tenant.
|
|
9679
|
-
* @returns WhatsappConfig
|
|
9680
|
-
* @throws ApiError
|
|
9681
|
-
*/
|
|
9682
|
-
static aiBotV1BotsBotWhatsappConfigPartialUpdate({
|
|
9683
|
-
id,
|
|
9684
|
-
org,
|
|
9685
|
-
requestBody
|
|
9686
|
-
}) {
|
|
9687
|
-
return request(OpenAPI, {
|
|
9688
|
-
method: 'PATCH',
|
|
9689
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
9690
|
-
path: {
|
|
9691
|
-
'id': id,
|
|
9692
|
-
'org': org
|
|
9693
|
-
},
|
|
9694
|
-
body: requestBody,
|
|
9695
|
-
mediaType: 'application/json'
|
|
9696
|
-
});
|
|
9697
|
-
}
|
|
9698
|
-
/**
|
|
9699
|
-
* Setup discord user id linkage with discord bots
|
|
9700
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9701
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9702
|
-
* @returns DiscordUserConfig
|
|
9703
|
-
* @throws ApiError
|
|
9704
|
-
*/
|
|
9705
|
-
static aiBotV1BotsDiscordUserConfigList({
|
|
9706
|
-
org
|
|
9707
|
-
}) {
|
|
9708
|
-
return request(OpenAPI, {
|
|
9709
|
-
method: 'GET',
|
|
9710
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
9711
|
-
path: {
|
|
9712
|
-
'org': org
|
|
9713
|
-
}
|
|
9714
|
-
});
|
|
9715
|
-
}
|
|
9716
|
-
/**
|
|
9717
|
-
* Setup discord user id linkage with discord bots
|
|
9718
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9719
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9720
|
-
* @returns DiscordUserConfig
|
|
9721
|
-
* @throws ApiError
|
|
9722
|
-
*/
|
|
9723
|
-
static aiBotV1BotsDiscordUserConfigCreate({
|
|
9724
|
-
org,
|
|
9725
|
-
requestBody
|
|
9726
|
-
}) {
|
|
9727
|
-
return request(OpenAPI, {
|
|
9728
|
-
method: 'POST',
|
|
9729
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
9730
|
-
path: {
|
|
9731
|
-
'org': org
|
|
9732
|
-
},
|
|
9733
|
-
body: requestBody,
|
|
9734
|
-
mediaType: 'application/json'
|
|
9735
|
-
});
|
|
9736
|
-
}
|
|
9737
|
-
/**
|
|
9738
|
-
* Setup discord user id linkage with discord bots
|
|
9739
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9740
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9741
|
-
* @returns DiscordUserConfig
|
|
9742
|
-
* @throws ApiError
|
|
9743
|
-
*/
|
|
9744
|
-
static aiBotV1BotsDiscordUserConfigRetrieve({
|
|
9745
|
-
id,
|
|
9746
|
-
org
|
|
9747
|
-
}) {
|
|
9748
|
-
return request(OpenAPI, {
|
|
9749
|
-
method: 'GET',
|
|
9750
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9751
|
-
path: {
|
|
9752
|
-
'id': id,
|
|
9753
|
-
'org': org
|
|
9754
|
-
}
|
|
9755
|
-
});
|
|
9756
|
-
}
|
|
9757
|
-
/**
|
|
9758
|
-
* Setup discord user id linkage with discord bots
|
|
9759
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9760
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9761
|
-
* @returns DiscordUserConfig
|
|
9762
|
-
* @throws ApiError
|
|
9763
|
-
*/
|
|
9764
|
-
static aiBotV1BotsDiscordUserConfigUpdate({
|
|
9765
|
-
id,
|
|
9766
|
-
org,
|
|
9767
|
-
requestBody
|
|
9768
|
-
}) {
|
|
9769
|
-
return request(OpenAPI, {
|
|
9770
|
-
method: 'PUT',
|
|
9771
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9772
|
-
path: {
|
|
9773
|
-
'id': id,
|
|
9774
|
-
'org': org
|
|
9775
|
-
},
|
|
9776
|
-
body: requestBody,
|
|
9777
|
-
mediaType: 'application/json'
|
|
9778
|
-
});
|
|
9779
|
-
}
|
|
9780
|
-
/**
|
|
9781
|
-
* Setup discord user id linkage with discord bots
|
|
9782
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9783
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9784
|
-
* @returns DiscordUserConfig
|
|
9785
|
-
* @throws ApiError
|
|
9786
|
-
*/
|
|
9787
|
-
static aiBotV1BotsDiscordUserConfigPartialUpdate({
|
|
9788
|
-
id,
|
|
9789
|
-
org,
|
|
9790
|
-
requestBody
|
|
9791
|
-
}) {
|
|
9792
|
-
return request(OpenAPI, {
|
|
9793
|
-
method: 'PATCH',
|
|
9794
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9795
|
-
path: {
|
|
9796
|
-
'id': id,
|
|
9797
|
-
'org': org
|
|
9798
|
-
},
|
|
9799
|
-
body: requestBody,
|
|
9800
|
-
mediaType: 'application/json'
|
|
9801
|
-
});
|
|
9802
|
-
}
|
|
9803
|
-
/**
|
|
9804
|
-
* Setup discord user id linkage with discord bots
|
|
9805
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9806
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9807
|
-
* @returns void
|
|
9808
|
-
* @throws ApiError
|
|
9809
|
-
*/
|
|
9810
|
-
static aiBotV1BotsDiscordUserConfigDestroy({
|
|
9811
|
-
id,
|
|
9812
|
-
org
|
|
9813
|
-
}) {
|
|
9814
|
-
return request(OpenAPI, {
|
|
9815
|
-
method: 'DELETE',
|
|
9816
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9817
|
-
path: {
|
|
9818
|
-
'id': id,
|
|
9819
|
-
'org': org
|
|
9820
|
-
}
|
|
9821
|
-
});
|
|
9822
|
-
}
|
|
9823
|
-
/**
|
|
9824
|
-
* Setup slack username and domain linkage with slack bots
|
|
9825
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9826
|
-
* @returns SlackUserConfig
|
|
9827
|
-
* @throws ApiError
|
|
9828
|
-
*/
|
|
9829
|
-
static aiBotV1BotsSlackUserConfigList({
|
|
9830
|
-
org
|
|
9831
|
-
}) {
|
|
9832
|
-
return request(OpenAPI, {
|
|
9833
|
-
method: 'GET',
|
|
9834
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
9835
|
-
path: {
|
|
9836
|
-
'org': org
|
|
9837
|
-
}
|
|
9838
|
-
});
|
|
9839
|
-
}
|
|
9840
|
-
/**
|
|
9841
|
-
* Setup slack username and domain linkage with slack bots
|
|
9842
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9843
|
-
* @returns SlackUserConfig
|
|
9844
|
-
* @throws ApiError
|
|
9845
|
-
*/
|
|
9846
|
-
static aiBotV1BotsSlackUserConfigCreate({
|
|
9847
|
-
org,
|
|
9848
|
-
requestBody
|
|
9849
|
-
}) {
|
|
9850
|
-
return request(OpenAPI, {
|
|
9851
|
-
method: 'POST',
|
|
9852
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
9853
|
-
path: {
|
|
9854
|
-
'org': org
|
|
9855
|
-
},
|
|
9856
|
-
body: requestBody,
|
|
9857
|
-
mediaType: 'application/json'
|
|
9858
|
-
});
|
|
9859
|
-
}
|
|
9860
|
-
/**
|
|
9861
|
-
* Setup slack username and domain linkage with slack bots
|
|
9862
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9863
|
-
* @returns SlackUserConfig
|
|
9864
|
-
* @throws ApiError
|
|
9865
|
-
*/
|
|
9866
|
-
static aiBotV1BotsSlackUserConfigRetrieve({
|
|
9867
|
-
id,
|
|
9868
|
-
org
|
|
9869
|
-
}) {
|
|
9870
|
-
return request(OpenAPI, {
|
|
9871
|
-
method: 'GET',
|
|
9872
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9873
|
-
path: {
|
|
9874
|
-
'id': id,
|
|
9875
|
-
'org': org
|
|
9876
|
-
}
|
|
9877
|
-
});
|
|
9878
|
-
}
|
|
9879
|
-
/**
|
|
9880
|
-
* Setup slack username and domain linkage with slack bots
|
|
9881
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9882
|
-
* @returns SlackUserConfig
|
|
9883
|
-
* @throws ApiError
|
|
9884
|
-
*/
|
|
9885
|
-
static aiBotV1BotsSlackUserConfigUpdate({
|
|
9886
|
-
id,
|
|
9887
|
-
org,
|
|
9888
|
-
requestBody
|
|
9889
|
-
}) {
|
|
9890
|
-
return request(OpenAPI, {
|
|
9891
|
-
method: 'PUT',
|
|
9892
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9893
|
-
path: {
|
|
9894
|
-
'id': id,
|
|
9895
|
-
'org': org
|
|
9896
|
-
},
|
|
9897
|
-
body: requestBody,
|
|
9898
|
-
mediaType: 'application/json'
|
|
9899
|
-
});
|
|
9900
|
-
}
|
|
9901
|
-
/**
|
|
9902
|
-
* Setup slack username and domain linkage with slack bots
|
|
9903
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9904
|
-
* @returns SlackUserConfig
|
|
9905
|
-
* @throws ApiError
|
|
9906
|
-
*/
|
|
9907
|
-
static aiBotV1BotsSlackUserConfigPartialUpdate({
|
|
9908
|
-
id,
|
|
9909
|
-
org,
|
|
9910
|
-
requestBody
|
|
9911
|
-
}) {
|
|
9912
|
-
return request(OpenAPI, {
|
|
9913
|
-
method: 'PATCH',
|
|
9914
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9915
|
-
path: {
|
|
9916
|
-
'id': id,
|
|
9917
|
-
'org': org
|
|
9918
|
-
},
|
|
9919
|
-
body: requestBody,
|
|
9920
|
-
mediaType: 'application/json'
|
|
9921
|
-
});
|
|
9922
|
-
}
|
|
9923
|
-
/**
|
|
9924
|
-
* Setup slack username and domain linkage with slack bots
|
|
9925
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9926
|
-
* @returns void
|
|
9927
|
-
* @throws ApiError
|
|
9928
|
-
*/
|
|
9929
|
-
static aiBotV1BotsSlackUserConfigDestroy({
|
|
9930
|
-
id,
|
|
9931
|
-
org
|
|
9932
|
-
}) {
|
|
9933
|
-
return request(OpenAPI, {
|
|
9934
|
-
method: 'DELETE',
|
|
9935
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9936
|
-
path: {
|
|
9937
|
-
'id': id,
|
|
9938
|
-
'org': org
|
|
9939
|
-
}
|
|
9940
|
-
});
|
|
9941
|
-
}
|
|
9942
|
-
/**
|
|
9943
|
-
* Setup phone number linkage with whatsapp bots
|
|
9944
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9945
|
-
* @returns WhatsappUserConfig
|
|
9946
|
-
* @throws ApiError
|
|
9947
|
-
*/
|
|
9948
|
-
static aiBotV1BotsWhatsappUserConfigList({
|
|
9949
|
-
org
|
|
9950
|
-
}) {
|
|
9951
|
-
return request(OpenAPI, {
|
|
9952
|
-
method: 'GET',
|
|
9953
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
9954
|
-
path: {
|
|
9955
|
-
'org': org
|
|
9956
|
-
}
|
|
9957
|
-
});
|
|
9958
|
-
}
|
|
9959
|
-
/**
|
|
9960
|
-
* Setup phone number linkage with whatsapp bots
|
|
9961
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9962
|
-
* @returns WhatsappUserConfig
|
|
9963
|
-
* @throws ApiError
|
|
9964
|
-
*/
|
|
9965
|
-
static aiBotV1BotsWhatsappUserConfigCreate({
|
|
9966
|
-
org,
|
|
9967
|
-
requestBody
|
|
9968
|
-
}) {
|
|
9969
|
-
return request(OpenAPI, {
|
|
9970
|
-
method: 'POST',
|
|
9971
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
9972
|
-
path: {
|
|
9973
|
-
'org': org
|
|
9974
|
-
},
|
|
9975
|
-
body: requestBody,
|
|
9976
|
-
mediaType: 'application/json'
|
|
9977
|
-
});
|
|
9978
|
-
}
|
|
9979
|
-
/**
|
|
9980
|
-
* Setup phone number linkage with whatsapp bots
|
|
9981
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9982
|
-
* @returns WhatsappUserConfig
|
|
9983
|
-
* @throws ApiError
|
|
9984
|
-
*/
|
|
9985
|
-
static aiBotV1BotsWhatsappUserConfigRetrieve({
|
|
9986
|
-
id,
|
|
9987
|
-
org
|
|
9988
|
-
}) {
|
|
9989
|
-
return request(OpenAPI, {
|
|
9990
|
-
method: 'GET',
|
|
9991
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
9992
|
-
path: {
|
|
9993
|
-
'id': id,
|
|
9994
|
-
'org': org
|
|
9995
|
-
}
|
|
9996
|
-
});
|
|
9997
|
-
}
|
|
9998
|
-
/**
|
|
9999
|
-
* Setup phone number linkage with whatsapp bots
|
|
10000
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10001
|
-
* @returns WhatsappUserConfig
|
|
10002
|
-
* @throws ApiError
|
|
10003
|
-
*/
|
|
10004
|
-
static aiBotV1BotsWhatsappUserConfigUpdate({
|
|
10005
|
-
id,
|
|
10006
|
-
org,
|
|
10007
|
-
requestBody
|
|
10008
|
-
}) {
|
|
10009
|
-
return request(OpenAPI, {
|
|
10010
|
-
method: 'PUT',
|
|
10011
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10012
|
-
path: {
|
|
10013
|
-
'id': id,
|
|
10014
|
-
'org': org
|
|
10015
|
-
},
|
|
10016
|
-
body: requestBody,
|
|
10017
|
-
mediaType: 'application/json'
|
|
10018
|
-
});
|
|
10019
|
-
}
|
|
10020
|
-
/**
|
|
10021
|
-
* Setup phone number linkage with whatsapp bots
|
|
10022
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10023
|
-
* @returns WhatsappUserConfig
|
|
10024
|
-
* @throws ApiError
|
|
10025
|
-
*/
|
|
10026
|
-
static aiBotV1BotsWhatsappUserConfigPartialUpdate({
|
|
10027
|
-
id,
|
|
10028
|
-
org,
|
|
10029
|
-
requestBody
|
|
10030
|
-
}) {
|
|
10031
|
-
return request(OpenAPI, {
|
|
10032
|
-
method: 'PATCH',
|
|
10033
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10034
|
-
path: {
|
|
10035
|
-
'id': id,
|
|
10036
|
-
'org': org
|
|
10037
|
-
},
|
|
10038
|
-
body: requestBody,
|
|
10039
|
-
mediaType: 'application/json'
|
|
10040
|
-
});
|
|
10041
|
-
}
|
|
10042
|
-
/**
|
|
10043
|
-
* Setup phone number linkage with whatsapp bots
|
|
10044
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10045
|
-
* @returns void
|
|
10046
|
-
* @throws ApiError
|
|
10047
|
-
*/
|
|
10048
|
-
static aiBotV1BotsWhatsappUserConfigDestroy({
|
|
10049
|
-
id,
|
|
10050
|
-
org
|
|
10051
|
-
}) {
|
|
10052
|
-
return request(OpenAPI, {
|
|
10053
|
-
method: 'DELETE',
|
|
10054
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10055
|
-
path: {
|
|
10056
|
-
'id': id,
|
|
10057
|
-
'org': org
|
|
10058
|
-
}
|
|
10059
|
-
});
|
|
10060
|
-
}
|
|
10061
|
-
/**
|
|
10062
|
-
* Webhook endpoint to receive and process discord messages.
|
|
10063
|
-
* @returns DiscordWebhook
|
|
10064
|
-
* @throws ApiError
|
|
10065
|
-
*/
|
|
10066
|
-
static aiBotV1BotsWebhooksDiscordCreate({
|
|
10067
|
-
name,
|
|
10068
|
-
org,
|
|
10069
|
-
requestBody
|
|
10070
|
-
}) {
|
|
10071
|
-
return request(OpenAPI, {
|
|
10072
|
-
method: 'POST',
|
|
10073
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
|
|
10074
|
-
path: {
|
|
10075
|
-
'name': name,
|
|
10076
|
-
'org': org
|
|
10077
|
-
},
|
|
10078
|
-
body: requestBody,
|
|
10079
|
-
mediaType: 'application/json'
|
|
10080
|
-
});
|
|
10081
|
-
}
|
|
10082
|
-
/**
|
|
10083
|
-
* @returns SlackWebhook
|
|
10084
|
-
* @throws ApiError
|
|
10085
|
-
*/
|
|
10086
|
-
static aiBotV1BotsWebhooksSlackCreate({
|
|
10087
|
-
name,
|
|
10088
|
-
org,
|
|
10089
|
-
requestBody
|
|
10090
|
-
}) {
|
|
10091
|
-
return request(OpenAPI, {
|
|
10092
|
-
method: 'POST',
|
|
10093
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
|
|
10094
|
-
path: {
|
|
10095
|
-
'name': name,
|
|
10096
|
-
'org': org
|
|
10097
|
-
},
|
|
10098
|
-
body: requestBody,
|
|
10099
|
-
mediaType: 'application/json'
|
|
10100
|
-
});
|
|
10101
|
-
}
|
|
10102
|
-
/**
|
|
10103
|
-
* @returns TeamsWebhook
|
|
10104
|
-
* @throws ApiError
|
|
10105
|
-
*/
|
|
10106
|
-
static aiBotV1BotsWebhooksTeamsCreate({
|
|
10107
|
-
name,
|
|
10108
|
-
org,
|
|
10109
|
-
requestBody
|
|
10110
|
-
}) {
|
|
10111
|
-
return request(OpenAPI, {
|
|
10112
|
-
method: 'POST',
|
|
10113
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
10114
|
-
path: {
|
|
10115
|
-
'name': name,
|
|
10116
|
-
'org': org
|
|
10117
|
-
},
|
|
10118
|
-
body: requestBody,
|
|
10119
|
-
mediaType: 'application/json'
|
|
10120
|
-
});
|
|
10121
|
-
}
|
|
10122
|
-
/**
|
|
10123
|
-
* Webhook endpoint to receive and process discord messages.
|
|
10124
|
-
* @returns WebexWebhook
|
|
10125
|
-
* @throws ApiError
|
|
10126
|
-
*/
|
|
10127
|
-
static aiBotV1BotsWebhooksWebexCreate({
|
|
10128
|
-
name,
|
|
10129
|
-
org,
|
|
10130
|
-
requestBody
|
|
10131
|
-
}) {
|
|
10132
|
-
return request(OpenAPI, {
|
|
10133
|
-
method: 'POST',
|
|
10134
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
|
|
10135
|
-
path: {
|
|
10136
|
-
'name': name,
|
|
10137
|
-
'org': org
|
|
10138
|
-
},
|
|
10139
|
-
body: requestBody,
|
|
10140
|
-
mediaType: 'application/json'
|
|
10141
|
-
});
|
|
10142
|
-
}
|
|
10143
|
-
/**
|
|
10144
|
-
* Respond to whatsapp's webhook challenge.
|
|
10145
|
-
* Parameters Required include the tenant key (org) and the name of the bot: (name)
|
|
10146
|
-
* @returns WhatAppWebHook
|
|
10147
|
-
* @throws ApiError
|
|
10148
|
-
*/
|
|
10149
|
-
static aiBotV1BotsWebhooksWhatsappRetrieve({
|
|
10150
|
-
name,
|
|
10151
|
-
org
|
|
10152
|
-
}) {
|
|
10153
|
-
return request(OpenAPI, {
|
|
10154
|
-
method: 'GET',
|
|
10155
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10156
|
-
path: {
|
|
10157
|
-
'name': name,
|
|
10158
|
-
'org': org
|
|
10159
|
-
}
|
|
10160
|
-
});
|
|
10161
|
-
}
|
|
10162
|
-
/**
|
|
10163
|
-
* Accept and process webhook events from whatsapp.
|
|
10164
|
-
* @returns WhatAppWebHook
|
|
10165
|
-
* @throws ApiError
|
|
10166
|
-
*/
|
|
10167
|
-
static aiBotV1BotsWebhooksWhatsappCreate({
|
|
10168
|
-
name,
|
|
10169
|
-
org,
|
|
10170
|
-
requestBody
|
|
10171
|
-
}) {
|
|
10172
|
-
return request(OpenAPI, {
|
|
10173
|
-
method: 'POST',
|
|
10174
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10175
|
-
path: {
|
|
10176
|
-
'name': name,
|
|
10177
|
-
'org': org
|
|
10178
|
-
},
|
|
10179
|
-
body: requestBody,
|
|
10180
|
-
mediaType: 'application/json'
|
|
10181
|
-
});
|
|
10182
|
-
}
|
|
10183
|
-
}
|
|
10184
|
-
|
|
10185
|
-
class AiFinetuningService {
|
|
10186
|
-
/**
|
|
10187
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10188
|
-
* @returns PaginatedDataSetList
|
|
10189
|
-
* @throws ApiError
|
|
10190
|
-
*/
|
|
10191
|
-
static aiFinetuningV1OrgUserDatasetsList({
|
|
10192
|
-
org,
|
|
10193
|
-
username,
|
|
10194
|
-
dateCreated,
|
|
10195
|
-
numDataPoints,
|
|
10196
|
-
ordering,
|
|
10197
|
-
page,
|
|
10198
|
-
pageSize,
|
|
10199
|
-
retryAttempts,
|
|
10200
|
-
search,
|
|
10201
|
-
status
|
|
10202
|
-
}) {
|
|
10203
|
-
return request(OpenAPI, {
|
|
10204
|
-
method: 'GET',
|
|
10205
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10206
|
-
path: {
|
|
10207
|
-
'org': org,
|
|
10208
|
-
'username': username
|
|
10209
|
-
},
|
|
10210
|
-
query: {
|
|
10211
|
-
'date_created': dateCreated,
|
|
10212
|
-
'num_data_points': numDataPoints,
|
|
10213
|
-
'ordering': ordering,
|
|
10214
|
-
'page': page,
|
|
10215
|
-
'page_size': pageSize,
|
|
10216
|
-
'retry_attempts': retryAttempts,
|
|
10217
|
-
'search': search,
|
|
10218
|
-
'status': status
|
|
10219
|
-
}
|
|
10220
|
-
});
|
|
10221
|
-
}
|
|
10222
|
-
/**
|
|
10223
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10224
|
-
* @returns DataSetCreate
|
|
10225
|
-
* @throws ApiError
|
|
10226
|
-
*/
|
|
10227
|
-
static aiFinetuningV1OrgUserDatasetsCreate({
|
|
10228
|
-
org,
|
|
10229
|
-
username,
|
|
10230
|
-
requestBody
|
|
10231
|
-
}) {
|
|
10232
|
-
return request(OpenAPI, {
|
|
10233
|
-
method: 'POST',
|
|
10234
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10235
|
-
path: {
|
|
10236
|
-
'org': org,
|
|
10237
|
-
'username': username
|
|
10238
|
-
},
|
|
10239
|
-
body: requestBody,
|
|
10240
|
-
mediaType: 'application/json'
|
|
10241
|
-
});
|
|
10242
|
-
}
|
|
10243
|
-
/**
|
|
10244
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10245
|
-
* @returns DataSet
|
|
10246
|
-
* @throws ApiError
|
|
10247
|
-
*/
|
|
10248
|
-
static aiFinetuningV1OrgUserDatasetsRetrieve({
|
|
10249
|
-
id,
|
|
10250
|
-
org,
|
|
10251
|
-
username
|
|
10252
|
-
}) {
|
|
10253
|
-
return request(OpenAPI, {
|
|
10254
|
-
method: 'GET',
|
|
10255
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10256
|
-
path: {
|
|
10257
|
-
'id': id,
|
|
10258
|
-
'org': org,
|
|
10259
|
-
'username': username
|
|
10260
|
-
}
|
|
10261
|
-
});
|
|
10262
|
-
}
|
|
10263
|
-
/**
|
|
10264
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10265
|
-
* @returns DataSet
|
|
10266
|
-
* @throws ApiError
|
|
10267
|
-
*/
|
|
10268
|
-
static aiFinetuningV1OrgUserDatasetsUpdate({
|
|
10269
|
-
id,
|
|
10270
|
-
org,
|
|
10271
|
-
username,
|
|
10272
|
-
requestBody
|
|
10273
|
-
}) {
|
|
10274
|
-
return request(OpenAPI, {
|
|
10275
|
-
method: 'PUT',
|
|
10276
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10277
|
-
path: {
|
|
10278
|
-
'id': id,
|
|
10279
|
-
'org': org,
|
|
10280
|
-
'username': username
|
|
10281
|
-
},
|
|
10282
|
-
body: requestBody,
|
|
10283
|
-
mediaType: 'application/json'
|
|
10284
|
-
});
|
|
10285
|
-
}
|
|
10286
|
-
/**
|
|
10287
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10288
|
-
* @returns DataSet
|
|
10289
|
-
* @throws ApiError
|
|
10290
|
-
*/
|
|
10291
|
-
static aiFinetuningV1OrgUserDatasetsPartialUpdate({
|
|
10292
|
-
id,
|
|
10293
|
-
org,
|
|
10294
|
-
username,
|
|
10295
|
-
requestBody
|
|
10296
|
-
}) {
|
|
10297
|
-
return request(OpenAPI, {
|
|
10298
|
-
method: 'PATCH',
|
|
10299
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10300
|
-
path: {
|
|
10301
|
-
'id': id,
|
|
10302
|
-
'org': org,
|
|
10303
|
-
'username': username
|
|
10304
|
-
},
|
|
10305
|
-
body: requestBody,
|
|
10306
|
-
mediaType: 'application/json'
|
|
10307
|
-
});
|
|
10308
|
-
}
|
|
10309
|
-
/**
|
|
10310
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10311
|
-
* @returns void
|
|
10312
|
-
* @throws ApiError
|
|
10313
|
-
*/
|
|
10314
|
-
static aiFinetuningV1OrgUserDatasetsDestroy({
|
|
10315
|
-
id,
|
|
10316
|
-
org,
|
|
10317
|
-
username
|
|
10318
|
-
}) {
|
|
10319
|
-
return request(OpenAPI, {
|
|
10320
|
-
method: 'DELETE',
|
|
10321
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10322
|
-
path: {
|
|
10323
|
-
'id': id,
|
|
10324
|
-
'org': org,
|
|
10325
|
-
'username': username
|
|
10326
|
-
}
|
|
10327
|
-
});
|
|
10328
|
-
}
|
|
10329
|
-
/**
|
|
10330
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10331
|
-
* @returns PaginatedTrainingList
|
|
10332
|
-
* @throws ApiError
|
|
10333
|
-
*/
|
|
10334
|
-
static aiFinetuningV1OrgUserTrainingsList({
|
|
10335
|
-
org,
|
|
10336
|
-
username,
|
|
10337
|
-
baseModelName,
|
|
10338
|
-
dataset,
|
|
10339
|
-
dateCreated,
|
|
10340
|
-
fineTunedModel,
|
|
10341
|
-
lastModified,
|
|
10342
|
-
ordering,
|
|
10343
|
-
page,
|
|
10344
|
-
pageSize,
|
|
10345
|
-
preprocessDataset,
|
|
10346
|
-
provider,
|
|
10347
|
-
search,
|
|
10348
|
-
status
|
|
10349
|
-
}) {
|
|
10350
|
-
return request(OpenAPI, {
|
|
10351
|
-
method: 'GET',
|
|
10352
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10353
|
-
path: {
|
|
10354
|
-
'org': org,
|
|
10355
|
-
'username': username
|
|
10356
|
-
},
|
|
10357
|
-
query: {
|
|
10358
|
-
'base_model_name': baseModelName,
|
|
10359
|
-
'dataset': dataset,
|
|
10360
|
-
'date_created': dateCreated,
|
|
10361
|
-
'fine_tuned_model': fineTunedModel,
|
|
10362
|
-
'last_modified': lastModified,
|
|
10363
|
-
'ordering': ordering,
|
|
10364
|
-
'page': page,
|
|
10365
|
-
'page_size': pageSize,
|
|
10366
|
-
'preprocess_dataset': preprocessDataset,
|
|
10367
|
-
'provider': provider,
|
|
10368
|
-
'search': search,
|
|
10369
|
-
'status': status
|
|
10370
|
-
}
|
|
10371
|
-
});
|
|
10372
|
-
}
|
|
10373
|
-
/**
|
|
10374
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10375
|
-
* @returns TrainingCreate
|
|
10376
|
-
* @throws ApiError
|
|
10377
|
-
*/
|
|
10378
|
-
static aiFinetuningV1OrgUserTrainingsCreate({
|
|
10379
|
-
org,
|
|
10380
|
-
username,
|
|
10381
|
-
requestBody
|
|
10382
|
-
}) {
|
|
10383
|
-
return request(OpenAPI, {
|
|
10384
|
-
method: 'POST',
|
|
10385
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10386
|
-
path: {
|
|
10387
|
-
'org': org,
|
|
10388
|
-
'username': username
|
|
10389
|
-
},
|
|
10390
|
-
body: requestBody,
|
|
10391
|
-
mediaType: 'application/json'
|
|
10392
|
-
});
|
|
10393
|
-
}
|
|
10394
|
-
/**
|
|
10395
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10396
|
-
* @returns Training
|
|
10397
|
-
* @throws ApiError
|
|
10398
|
-
*/
|
|
10399
|
-
static aiFinetuningV1OrgUserTrainingsRetrieve({
|
|
10400
|
-
id,
|
|
10401
|
-
org,
|
|
10402
|
-
username
|
|
10403
|
-
}) {
|
|
10404
|
-
return request(OpenAPI, {
|
|
10405
|
-
method: 'GET',
|
|
10406
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10407
|
-
path: {
|
|
10408
|
-
'id': id,
|
|
10409
|
-
'org': org,
|
|
10410
|
-
'username': username
|
|
10411
|
-
}
|
|
10412
|
-
});
|
|
10413
|
-
}
|
|
10414
|
-
/**
|
|
10415
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10416
|
-
* @returns TrainingCreate
|
|
10417
|
-
* @throws ApiError
|
|
10418
|
-
*/
|
|
10419
|
-
static aiFinetuningV1OrgUserTrainingsUpdate({
|
|
10420
|
-
id,
|
|
10421
|
-
org,
|
|
10422
|
-
username,
|
|
10423
|
-
requestBody
|
|
10424
|
-
}) {
|
|
10425
|
-
return request(OpenAPI, {
|
|
10426
|
-
method: 'PUT',
|
|
10427
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10428
|
-
path: {
|
|
10429
|
-
'id': id,
|
|
10430
|
-
'org': org,
|
|
10431
|
-
'username': username
|
|
10432
|
-
},
|
|
10433
|
-
body: requestBody,
|
|
10434
|
-
mediaType: 'application/json'
|
|
10435
|
-
});
|
|
10436
|
-
}
|
|
10437
|
-
/**
|
|
10438
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10439
|
-
* @returns TrainingCreate
|
|
10440
|
-
* @throws ApiError
|
|
10441
|
-
*/
|
|
10442
|
-
static aiFinetuningV1OrgUserTrainingsPartialUpdate({
|
|
10443
|
-
id,
|
|
10444
|
-
org,
|
|
10445
|
-
username,
|
|
10446
|
-
requestBody
|
|
10447
|
-
}) {
|
|
10448
|
-
return request(OpenAPI, {
|
|
10449
|
-
method: 'PATCH',
|
|
10450
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10451
|
-
path: {
|
|
10452
|
-
'id': id,
|
|
10453
|
-
'org': org,
|
|
10454
|
-
'username': username
|
|
10455
|
-
},
|
|
10456
|
-
body: requestBody,
|
|
10457
|
-
mediaType: 'application/json'
|
|
10458
|
-
});
|
|
10459
|
-
}
|
|
10460
|
-
/**
|
|
10461
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10462
|
-
* @returns void
|
|
10463
|
-
* @throws ApiError
|
|
10464
|
-
*/
|
|
10465
|
-
static aiFinetuningV1OrgUserTrainingsDestroy({
|
|
10466
|
-
id,
|
|
10467
|
-
org,
|
|
10468
|
-
username
|
|
10469
|
-
}) {
|
|
10470
|
-
return request(OpenAPI, {
|
|
10471
|
-
method: 'DELETE',
|
|
10472
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10473
|
-
path: {
|
|
10474
|
-
'id': id,
|
|
10475
|
-
'org': org,
|
|
10476
|
-
'username': username
|
|
10477
|
-
}
|
|
10478
|
-
});
|
|
10479
|
-
}
|
|
10480
|
-
/**
|
|
10481
|
-
* Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
|
|
10482
|
-
* Filtering and pagination is allowed.
|
|
10483
|
-
*
|
|
10484
|
-
* NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
|
|
10485
|
-
* training list endpoint.
|
|
10486
|
-
* Returns:
|
|
10487
|
-
* Response: A paginated response containing the serialized fine-tuned models.
|
|
10488
|
-
* @returns Training
|
|
10489
|
-
* @throws ApiError
|
|
10490
|
-
*/
|
|
10491
|
-
static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({
|
|
10492
|
-
org,
|
|
10493
|
-
username
|
|
10494
|
-
}) {
|
|
10495
|
-
return request(OpenAPI, {
|
|
10496
|
-
method: 'GET',
|
|
10497
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/finetuned-models/',
|
|
10498
|
-
path: {
|
|
10499
|
-
'org': org,
|
|
10500
|
-
'username': username
|
|
10501
|
-
}
|
|
10502
|
-
});
|
|
10503
|
-
}
|
|
10504
|
-
}
|
|
10505
|
-
|
|
10506
9044
|
class AiIndexService {
|
|
10507
9045
|
/**
|
|
10508
9046
|
* Retrieve details of a specific document embedding.
|
|
@@ -35644,8 +34182,6 @@ class SkillsService {
|
|
|
35644
34182
|
|
|
35645
34183
|
exports.AiAccountService = AiAccountService;
|
|
35646
34184
|
exports.AiAnalyticsService = AiAnalyticsService;
|
|
35647
|
-
exports.AiBotService = AiBotService;
|
|
35648
|
-
exports.AiFinetuningService = AiFinetuningService;
|
|
35649
34185
|
exports.AiIndexService = AiIndexService;
|
|
35650
34186
|
exports.AiMarketingService = AiMarketingService;
|
|
35651
34187
|
exports.AiMediaService = AiMediaService;
|