@iblai/iblai-api 3.63.3-ai-plus → 3.64.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 +427 -1400
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +428 -1399
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +427 -1400
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +8 -40
- package/dist/types/models/HumanSupportTicket.d.ts +21 -0
- package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +10 -0
- package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +7 -0
- package/dist/types/models/PaginatedTicketMessageList.d.ts +7 -0
- package/dist/types/models/PatchedHumanSupportTicket.d.ts +21 -0
- package/dist/types/models/PatchedTicketMessage.d.ts +10 -0
- package/dist/types/models/{Provider637Enum.d.ts → ProviderEnum.d.ts} +1 -1
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +1 -1
- package/dist/types/models/TicketMessage.d.ts +10 -0
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/services/AiMentorService.d.ts +296 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +8 -40
- package/src/models/HumanSupportTicket.ts +26 -0
- package/src/models/HumanSupportTicketStatusEnum.ts +14 -0
- package/src/models/{PaginatedDataSetList.ts → PaginatedHumanSupportTicketList.ts} +3 -3
- package/src/models/{PaginatedTrainingList.ts → PaginatedTicketMessageList.ts} +3 -3
- package/src/models/PatchedHumanSupportTicket.ts +26 -0
- package/src/models/{PatchedWhatsappUserConfig.ts → PatchedTicketMessage.ts} +5 -5
- package/src/models/{Provider637Enum.ts → ProviderEnum.ts} +1 -1
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +1 -1
- package/src/models/{WhatsappUserConfig.ts → TicketMessage.ts} +5 -5
- package/src/models/Voice.ts +2 -2
- package/src/services/AiMentorService.ts +514 -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/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/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/services/AiBotService.ts +0 -1330
- package/src/services/AiFinetuningService.ts +0 -472
package/dist/index.umd.js
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
const OpenAPI = {
|
|
116
116
|
BASE: 'https://base.manager.iblai.app',
|
|
117
|
-
VERSION: '3.
|
|
117
|
+
VERSION: '3.64.0-ai',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -263,24 +263,6 @@
|
|
|
263
263
|
CrawlerPatternTypeEnum["REGEX"] = "regex";
|
|
264
264
|
})(exports.CrawlerPatternTypeEnum || (exports.CrawlerPatternTypeEnum = {}));
|
|
265
265
|
|
|
266
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
267
|
-
/* istanbul ignore file */
|
|
268
|
-
/* tslint:disable */
|
|
269
|
-
/* eslint-disable */
|
|
270
|
-
/**
|
|
271
|
-
* * `pending` - Pending
|
|
272
|
-
* * `processing` - Processing
|
|
273
|
-
* * `completed` - Completed
|
|
274
|
-
* * `failed` - Failed
|
|
275
|
-
*/
|
|
276
|
-
exports.DataSetStatusEnum = void 0;
|
|
277
|
-
(function (DataSetStatusEnum) {
|
|
278
|
-
DataSetStatusEnum["PENDING"] = "pending";
|
|
279
|
-
DataSetStatusEnum["PROCESSING"] = "processing";
|
|
280
|
-
DataSetStatusEnum["COMPLETED"] = "completed";
|
|
281
|
-
DataSetStatusEnum["FAILED"] = "failed";
|
|
282
|
-
})(exports.DataSetStatusEnum || (exports.DataSetStatusEnum = {}));
|
|
283
|
-
|
|
284
266
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
285
267
|
/* istanbul ignore file */
|
|
286
268
|
/* tslint:disable */
|
|
@@ -309,6 +291,22 @@
|
|
|
309
291
|
GreetingMethodEnum["PROACTIVE_RESPONSE"] = "proactive_response";
|
|
310
292
|
})(exports.GreetingMethodEnum || (exports.GreetingMethodEnum = {}));
|
|
311
293
|
|
|
294
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
295
|
+
/* istanbul ignore file */
|
|
296
|
+
/* tslint:disable */
|
|
297
|
+
/* eslint-disable */
|
|
298
|
+
/**
|
|
299
|
+
* * `open` - Open
|
|
300
|
+
* * `in_progress` - In Progress
|
|
301
|
+
* * `closed` - Closed
|
|
302
|
+
*/
|
|
303
|
+
exports.HumanSupportTicketStatusEnum = void 0;
|
|
304
|
+
(function (HumanSupportTicketStatusEnum) {
|
|
305
|
+
HumanSupportTicketStatusEnum["OPEN"] = "open";
|
|
306
|
+
HumanSupportTicketStatusEnum["IN_PROGRESS"] = "in_progress";
|
|
307
|
+
HumanSupportTicketStatusEnum["CLOSED"] = "closed";
|
|
308
|
+
})(exports.HumanSupportTicketStatusEnum || (exports.HumanSupportTicketStatusEnum = {}));
|
|
309
|
+
|
|
312
310
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
313
311
|
/* istanbul ignore file */
|
|
314
312
|
/* tslint:disable */
|
|
@@ -561,26 +559,6 @@
|
|
|
561
559
|
PromptVisibilityEnum["VIEWABLE_BY_ANYONE"] = "viewable_by_anyone";
|
|
562
560
|
})(exports.PromptVisibilityEnum || (exports.PromptVisibilityEnum = {}));
|
|
563
561
|
|
|
564
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
565
|
-
/* istanbul ignore file */
|
|
566
|
-
/* tslint:disable */
|
|
567
|
-
/* eslint-disable */
|
|
568
|
-
/**
|
|
569
|
-
* * `webex` - Webex
|
|
570
|
-
* * `slack` - Slack
|
|
571
|
-
* * `whatsapp` - Whatsapp
|
|
572
|
-
* * `discord` - Discord
|
|
573
|
-
* * `teams` - Teams
|
|
574
|
-
*/
|
|
575
|
-
exports.Provider05cEnum = void 0;
|
|
576
|
-
(function (Provider05cEnum) {
|
|
577
|
-
Provider05cEnum["WEBEX"] = "webex";
|
|
578
|
-
Provider05cEnum["SLACK"] = "slack";
|
|
579
|
-
Provider05cEnum["WHATSAPP"] = "whatsapp";
|
|
580
|
-
Provider05cEnum["DISCORD"] = "discord";
|
|
581
|
-
Provider05cEnum["TEAMS"] = "teams";
|
|
582
|
-
})(exports.Provider05cEnum || (exports.Provider05cEnum = {}));
|
|
583
|
-
|
|
584
562
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
585
563
|
/* istanbul ignore file */
|
|
586
564
|
/* tslint:disable */
|
|
@@ -590,24 +568,12 @@
|
|
|
590
568
|
* * `google` - Google
|
|
591
569
|
* * `elevenlabs` - Elevenlabs
|
|
592
570
|
*/
|
|
593
|
-
exports.
|
|
594
|
-
(function (
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
})(exports.
|
|
599
|
-
|
|
600
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
601
|
-
/* istanbul ignore file */
|
|
602
|
-
/* tslint:disable */
|
|
603
|
-
/* eslint-disable */
|
|
604
|
-
/**
|
|
605
|
-
* * `openai` - Openai
|
|
606
|
-
*/
|
|
607
|
-
exports.Provider63aEnum = void 0;
|
|
608
|
-
(function (Provider63aEnum) {
|
|
609
|
-
Provider63aEnum["OPENAI"] = "openai";
|
|
610
|
-
})(exports.Provider63aEnum || (exports.Provider63aEnum = {}));
|
|
571
|
+
exports.ProviderEnum = void 0;
|
|
572
|
+
(function (ProviderEnum) {
|
|
573
|
+
ProviderEnum["OPENAI"] = "openai";
|
|
574
|
+
ProviderEnum["GOOGLE"] = "google";
|
|
575
|
+
ProviderEnum["ELEVENLABS"] = "elevenlabs";
|
|
576
|
+
})(exports.ProviderEnum || (exports.ProviderEnum = {}));
|
|
611
577
|
|
|
612
578
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
613
579
|
/* istanbul ignore file */
|
|
@@ -9150,1347 +9116,6 @@
|
|
|
9150
9116
|
}
|
|
9151
9117
|
}
|
|
9152
9118
|
|
|
9153
|
-
class AiBotService {
|
|
9154
|
-
/**
|
|
9155
|
-
* Create modify and update bot information for a specific tenant.
|
|
9156
|
-
* @returns Bot
|
|
9157
|
-
* @throws ApiError
|
|
9158
|
-
*/
|
|
9159
|
-
static aiBotV1BotsBotList({
|
|
9160
|
-
org
|
|
9161
|
-
}) {
|
|
9162
|
-
return request(OpenAPI, {
|
|
9163
|
-
method: 'GET',
|
|
9164
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9165
|
-
path: {
|
|
9166
|
-
'org': org
|
|
9167
|
-
}
|
|
9168
|
-
});
|
|
9169
|
-
}
|
|
9170
|
-
/**
|
|
9171
|
-
* Create modify and update bot information for a specific tenant.
|
|
9172
|
-
* @returns BotCreate
|
|
9173
|
-
* @throws ApiError
|
|
9174
|
-
*/
|
|
9175
|
-
static aiBotV1BotsBotCreate({
|
|
9176
|
-
org,
|
|
9177
|
-
requestBody
|
|
9178
|
-
}) {
|
|
9179
|
-
return request(OpenAPI, {
|
|
9180
|
-
method: 'POST',
|
|
9181
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
9182
|
-
path: {
|
|
9183
|
-
'org': org
|
|
9184
|
-
},
|
|
9185
|
-
body: requestBody,
|
|
9186
|
-
mediaType: 'application/json'
|
|
9187
|
-
});
|
|
9188
|
-
}
|
|
9189
|
-
/**
|
|
9190
|
-
* Create slash commands for a specific bot
|
|
9191
|
-
* eg. /iblai-baseline
|
|
9192
|
-
* @returns BotCommand
|
|
9193
|
-
* @throws ApiError
|
|
9194
|
-
*/
|
|
9195
|
-
static aiBotV1BotsBotCommandsList({
|
|
9196
|
-
org
|
|
9197
|
-
}) {
|
|
9198
|
-
return request(OpenAPI, {
|
|
9199
|
-
method: 'GET',
|
|
9200
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9201
|
-
path: {
|
|
9202
|
-
'org': org
|
|
9203
|
-
}
|
|
9204
|
-
});
|
|
9205
|
-
}
|
|
9206
|
-
/**
|
|
9207
|
-
* Create slash commands for a specific bot
|
|
9208
|
-
* eg. /iblai-baseline
|
|
9209
|
-
* @returns BotCommand
|
|
9210
|
-
* @throws ApiError
|
|
9211
|
-
*/
|
|
9212
|
-
static aiBotV1BotsBotCommandsCreate({
|
|
9213
|
-
org,
|
|
9214
|
-
requestBody
|
|
9215
|
-
}) {
|
|
9216
|
-
return request(OpenAPI, {
|
|
9217
|
-
method: 'POST',
|
|
9218
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
9219
|
-
path: {
|
|
9220
|
-
'org': org
|
|
9221
|
-
},
|
|
9222
|
-
body: requestBody,
|
|
9223
|
-
mediaType: 'application/json'
|
|
9224
|
-
});
|
|
9225
|
-
}
|
|
9226
|
-
/**
|
|
9227
|
-
* Create slash commands for a specific bot
|
|
9228
|
-
* eg. /iblai-baseline
|
|
9229
|
-
* @returns BotCommand
|
|
9230
|
-
* @throws ApiError
|
|
9231
|
-
*/
|
|
9232
|
-
static aiBotV1BotsBotCommandsRetrieve({
|
|
9233
|
-
id,
|
|
9234
|
-
org
|
|
9235
|
-
}) {
|
|
9236
|
-
return request(OpenAPI, {
|
|
9237
|
-
method: 'GET',
|
|
9238
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9239
|
-
path: {
|
|
9240
|
-
'id': id,
|
|
9241
|
-
'org': org
|
|
9242
|
-
}
|
|
9243
|
-
});
|
|
9244
|
-
}
|
|
9245
|
-
/**
|
|
9246
|
-
* Create slash commands for a specific bot
|
|
9247
|
-
* eg. /iblai-baseline
|
|
9248
|
-
* @returns BotCommand
|
|
9249
|
-
* @throws ApiError
|
|
9250
|
-
*/
|
|
9251
|
-
static aiBotV1BotsBotCommandsUpdate({
|
|
9252
|
-
id,
|
|
9253
|
-
org,
|
|
9254
|
-
requestBody
|
|
9255
|
-
}) {
|
|
9256
|
-
return request(OpenAPI, {
|
|
9257
|
-
method: 'PUT',
|
|
9258
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9259
|
-
path: {
|
|
9260
|
-
'id': id,
|
|
9261
|
-
'org': org
|
|
9262
|
-
},
|
|
9263
|
-
body: requestBody,
|
|
9264
|
-
mediaType: 'application/json'
|
|
9265
|
-
});
|
|
9266
|
-
}
|
|
9267
|
-
/**
|
|
9268
|
-
* Create slash commands for a specific bot
|
|
9269
|
-
* eg. /iblai-baseline
|
|
9270
|
-
* @returns BotCommand
|
|
9271
|
-
* @throws ApiError
|
|
9272
|
-
*/
|
|
9273
|
-
static aiBotV1BotsBotCommandsPartialUpdate({
|
|
9274
|
-
id,
|
|
9275
|
-
org,
|
|
9276
|
-
requestBody
|
|
9277
|
-
}) {
|
|
9278
|
-
return request(OpenAPI, {
|
|
9279
|
-
method: 'PATCH',
|
|
9280
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9281
|
-
path: {
|
|
9282
|
-
'id': id,
|
|
9283
|
-
'org': org
|
|
9284
|
-
},
|
|
9285
|
-
body: requestBody,
|
|
9286
|
-
mediaType: 'application/json'
|
|
9287
|
-
});
|
|
9288
|
-
}
|
|
9289
|
-
/**
|
|
9290
|
-
* Create slash commands for a specific bot
|
|
9291
|
-
* eg. /iblai-baseline
|
|
9292
|
-
* @returns void
|
|
9293
|
-
* @throws ApiError
|
|
9294
|
-
*/
|
|
9295
|
-
static aiBotV1BotsBotCommandsDestroy({
|
|
9296
|
-
id,
|
|
9297
|
-
org
|
|
9298
|
-
}) {
|
|
9299
|
-
return request(OpenAPI, {
|
|
9300
|
-
method: 'DELETE',
|
|
9301
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
9302
|
-
path: {
|
|
9303
|
-
'id': id,
|
|
9304
|
-
'org': org
|
|
9305
|
-
}
|
|
9306
|
-
});
|
|
9307
|
-
}
|
|
9308
|
-
/**
|
|
9309
|
-
* Create modify and update bot information for a specific tenant.
|
|
9310
|
-
* @returns Bot
|
|
9311
|
-
* @throws ApiError
|
|
9312
|
-
*/
|
|
9313
|
-
static aiBotV1BotsBotRetrieve({
|
|
9314
|
-
id,
|
|
9315
|
-
org
|
|
9316
|
-
}) {
|
|
9317
|
-
return request(OpenAPI, {
|
|
9318
|
-
method: 'GET',
|
|
9319
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9320
|
-
path: {
|
|
9321
|
-
'id': id,
|
|
9322
|
-
'org': org
|
|
9323
|
-
}
|
|
9324
|
-
});
|
|
9325
|
-
}
|
|
9326
|
-
/**
|
|
9327
|
-
* Create modify and update bot information for a specific tenant.
|
|
9328
|
-
* @returns BotCreate
|
|
9329
|
-
* @throws ApiError
|
|
9330
|
-
*/
|
|
9331
|
-
static aiBotV1BotsBotUpdate({
|
|
9332
|
-
id,
|
|
9333
|
-
org,
|
|
9334
|
-
requestBody
|
|
9335
|
-
}) {
|
|
9336
|
-
return request(OpenAPI, {
|
|
9337
|
-
method: 'PUT',
|
|
9338
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9339
|
-
path: {
|
|
9340
|
-
'id': id,
|
|
9341
|
-
'org': org
|
|
9342
|
-
},
|
|
9343
|
-
body: requestBody,
|
|
9344
|
-
mediaType: 'application/json'
|
|
9345
|
-
});
|
|
9346
|
-
}
|
|
9347
|
-
/**
|
|
9348
|
-
* Create modify and update bot information for a specific tenant.
|
|
9349
|
-
* @returns BotCreate
|
|
9350
|
-
* @throws ApiError
|
|
9351
|
-
*/
|
|
9352
|
-
static aiBotV1BotsBotPartialUpdate({
|
|
9353
|
-
id,
|
|
9354
|
-
org,
|
|
9355
|
-
requestBody
|
|
9356
|
-
}) {
|
|
9357
|
-
return request(OpenAPI, {
|
|
9358
|
-
method: 'PATCH',
|
|
9359
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9360
|
-
path: {
|
|
9361
|
-
'id': id,
|
|
9362
|
-
'org': org
|
|
9363
|
-
},
|
|
9364
|
-
body: requestBody,
|
|
9365
|
-
mediaType: 'application/json'
|
|
9366
|
-
});
|
|
9367
|
-
}
|
|
9368
|
-
/**
|
|
9369
|
-
* Create modify and update bot information for a specific tenant.
|
|
9370
|
-
* @returns void
|
|
9371
|
-
* @throws ApiError
|
|
9372
|
-
*/
|
|
9373
|
-
static aiBotV1BotsBotDestroy({
|
|
9374
|
-
id,
|
|
9375
|
-
org
|
|
9376
|
-
}) {
|
|
9377
|
-
return request(OpenAPI, {
|
|
9378
|
-
method: 'DELETE',
|
|
9379
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
9380
|
-
path: {
|
|
9381
|
-
'id': id,
|
|
9382
|
-
'org': org
|
|
9383
|
-
}
|
|
9384
|
-
});
|
|
9385
|
-
}
|
|
9386
|
-
/**
|
|
9387
|
-
* Create modify and update bot information for a specific tenant.
|
|
9388
|
-
* @returns DiscordConfig
|
|
9389
|
-
* @throws ApiError
|
|
9390
|
-
*/
|
|
9391
|
-
static aiBotV1BotsBotConfigDiscordRetrieve({
|
|
9392
|
-
id,
|
|
9393
|
-
org
|
|
9394
|
-
}) {
|
|
9395
|
-
return request(OpenAPI, {
|
|
9396
|
-
method: 'GET',
|
|
9397
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9398
|
-
path: {
|
|
9399
|
-
'id': id,
|
|
9400
|
-
'org': org
|
|
9401
|
-
}
|
|
9402
|
-
});
|
|
9403
|
-
}
|
|
9404
|
-
/**
|
|
9405
|
-
* Create modify and update bot information for a specific tenant.
|
|
9406
|
-
* @returns DiscordConfig
|
|
9407
|
-
* @throws ApiError
|
|
9408
|
-
*/
|
|
9409
|
-
static aiBotV1BotsBotConfigDiscordPartialUpdate({
|
|
9410
|
-
id,
|
|
9411
|
-
org,
|
|
9412
|
-
requestBody
|
|
9413
|
-
}) {
|
|
9414
|
-
return request(OpenAPI, {
|
|
9415
|
-
method: 'PATCH',
|
|
9416
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
9417
|
-
path: {
|
|
9418
|
-
'id': id,
|
|
9419
|
-
'org': org
|
|
9420
|
-
},
|
|
9421
|
-
body: requestBody,
|
|
9422
|
-
mediaType: 'application/json'
|
|
9423
|
-
});
|
|
9424
|
-
}
|
|
9425
|
-
/**
|
|
9426
|
-
* Create modify and update bot information for a specific tenant.
|
|
9427
|
-
* @returns SlackConfig
|
|
9428
|
-
* @throws ApiError
|
|
9429
|
-
*/
|
|
9430
|
-
static aiBotV1BotsBotConfigSlackRetrieve({
|
|
9431
|
-
id,
|
|
9432
|
-
org
|
|
9433
|
-
}) {
|
|
9434
|
-
return request(OpenAPI, {
|
|
9435
|
-
method: 'GET',
|
|
9436
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
|
|
9437
|
-
path: {
|
|
9438
|
-
'id': id,
|
|
9439
|
-
'org': org
|
|
9440
|
-
}
|
|
9441
|
-
});
|
|
9442
|
-
}
|
|
9443
|
-
/**
|
|
9444
|
-
* Create modify and update bot information for a specific tenant.
|
|
9445
|
-
* @returns SlackConfig
|
|
9446
|
-
* @throws ApiError
|
|
9447
|
-
*/
|
|
9448
|
-
static aiBotV1BotsBotConfigSlackUpdateCreate({
|
|
9449
|
-
id,
|
|
9450
|
-
org,
|
|
9451
|
-
requestBody
|
|
9452
|
-
}) {
|
|
9453
|
-
return request(OpenAPI, {
|
|
9454
|
-
method: 'POST',
|
|
9455
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9456
|
-
path: {
|
|
9457
|
-
'id': id,
|
|
9458
|
-
'org': org
|
|
9459
|
-
},
|
|
9460
|
-
body: requestBody,
|
|
9461
|
-
mediaType: 'application/json'
|
|
9462
|
-
});
|
|
9463
|
-
}
|
|
9464
|
-
/**
|
|
9465
|
-
* Create modify and update bot information for a specific tenant.
|
|
9466
|
-
* @returns SlackConfig
|
|
9467
|
-
* @throws ApiError
|
|
9468
|
-
*/
|
|
9469
|
-
static aiBotV1BotsBotConfigSlackUpdateUpdate({
|
|
9470
|
-
id,
|
|
9471
|
-
org,
|
|
9472
|
-
requestBody
|
|
9473
|
-
}) {
|
|
9474
|
-
return request(OpenAPI, {
|
|
9475
|
-
method: 'PUT',
|
|
9476
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9477
|
-
path: {
|
|
9478
|
-
'id': id,
|
|
9479
|
-
'org': org
|
|
9480
|
-
},
|
|
9481
|
-
body: requestBody,
|
|
9482
|
-
mediaType: 'application/json'
|
|
9483
|
-
});
|
|
9484
|
-
}
|
|
9485
|
-
/**
|
|
9486
|
-
* Create modify and update bot information for a specific tenant.
|
|
9487
|
-
* @returns SlackConfig
|
|
9488
|
-
* @throws ApiError
|
|
9489
|
-
*/
|
|
9490
|
-
static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
|
|
9491
|
-
id,
|
|
9492
|
-
org,
|
|
9493
|
-
requestBody
|
|
9494
|
-
}) {
|
|
9495
|
-
return request(OpenAPI, {
|
|
9496
|
-
method: 'PATCH',
|
|
9497
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
9498
|
-
path: {
|
|
9499
|
-
'id': id,
|
|
9500
|
-
'org': org
|
|
9501
|
-
},
|
|
9502
|
-
body: requestBody,
|
|
9503
|
-
mediaType: 'application/json'
|
|
9504
|
-
});
|
|
9505
|
-
}
|
|
9506
|
-
/**
|
|
9507
|
-
* Create modify and update bot information for a specific tenant.
|
|
9508
|
-
* @returns TeamsConfig
|
|
9509
|
-
* @throws ApiError
|
|
9510
|
-
*/
|
|
9511
|
-
static aiBotV1BotsBotConfigTeamsRetrieve({
|
|
9512
|
-
id,
|
|
9513
|
-
org
|
|
9514
|
-
}) {
|
|
9515
|
-
return request(OpenAPI, {
|
|
9516
|
-
method: 'GET',
|
|
9517
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
|
|
9518
|
-
path: {
|
|
9519
|
-
'id': id,
|
|
9520
|
-
'org': org
|
|
9521
|
-
}
|
|
9522
|
-
});
|
|
9523
|
-
}
|
|
9524
|
-
/**
|
|
9525
|
-
* Create modify and update bot information for a specific tenant.
|
|
9526
|
-
* @returns TeamsConfig
|
|
9527
|
-
* @throws ApiError
|
|
9528
|
-
*/
|
|
9529
|
-
static aiBotV1BotsBotConfigTeamsUpdateCreate({
|
|
9530
|
-
id,
|
|
9531
|
-
org,
|
|
9532
|
-
requestBody
|
|
9533
|
-
}) {
|
|
9534
|
-
return request(OpenAPI, {
|
|
9535
|
-
method: 'POST',
|
|
9536
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9537
|
-
path: {
|
|
9538
|
-
'id': id,
|
|
9539
|
-
'org': org
|
|
9540
|
-
},
|
|
9541
|
-
body: requestBody,
|
|
9542
|
-
mediaType: 'application/json'
|
|
9543
|
-
});
|
|
9544
|
-
}
|
|
9545
|
-
/**
|
|
9546
|
-
* Create modify and update bot information for a specific tenant.
|
|
9547
|
-
* @returns TeamsConfig
|
|
9548
|
-
* @throws ApiError
|
|
9549
|
-
*/
|
|
9550
|
-
static aiBotV1BotsBotConfigTeamsUpdateUpdate({
|
|
9551
|
-
id,
|
|
9552
|
-
org,
|
|
9553
|
-
requestBody
|
|
9554
|
-
}) {
|
|
9555
|
-
return request(OpenAPI, {
|
|
9556
|
-
method: 'PUT',
|
|
9557
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9558
|
-
path: {
|
|
9559
|
-
'id': id,
|
|
9560
|
-
'org': org
|
|
9561
|
-
},
|
|
9562
|
-
body: requestBody,
|
|
9563
|
-
mediaType: 'application/json'
|
|
9564
|
-
});
|
|
9565
|
-
}
|
|
9566
|
-
/**
|
|
9567
|
-
* Create modify and update bot information for a specific tenant.
|
|
9568
|
-
* @returns TeamsConfig
|
|
9569
|
-
* @throws ApiError
|
|
9570
|
-
*/
|
|
9571
|
-
static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
|
|
9572
|
-
id,
|
|
9573
|
-
org,
|
|
9574
|
-
requestBody
|
|
9575
|
-
}) {
|
|
9576
|
-
return request(OpenAPI, {
|
|
9577
|
-
method: 'PATCH',
|
|
9578
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
9579
|
-
path: {
|
|
9580
|
-
'id': id,
|
|
9581
|
-
'org': org
|
|
9582
|
-
},
|
|
9583
|
-
body: requestBody,
|
|
9584
|
-
mediaType: 'application/json'
|
|
9585
|
-
});
|
|
9586
|
-
}
|
|
9587
|
-
/**
|
|
9588
|
-
* Create modify and update bot information for a specific tenant.
|
|
9589
|
-
* @returns WebexConfig
|
|
9590
|
-
* @throws ApiError
|
|
9591
|
-
*/
|
|
9592
|
-
static aiBotV1BotsBotConfigWebexRetrieve({
|
|
9593
|
-
id,
|
|
9594
|
-
org
|
|
9595
|
-
}) {
|
|
9596
|
-
return request(OpenAPI, {
|
|
9597
|
-
method: 'GET',
|
|
9598
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
9599
|
-
path: {
|
|
9600
|
-
'id': id,
|
|
9601
|
-
'org': org
|
|
9602
|
-
}
|
|
9603
|
-
});
|
|
9604
|
-
}
|
|
9605
|
-
/**
|
|
9606
|
-
* Create modify and update bot information for a specific tenant.
|
|
9607
|
-
* @returns WebexConfig
|
|
9608
|
-
* @throws ApiError
|
|
9609
|
-
*/
|
|
9610
|
-
static aiBotV1BotsBotConfigWebexPartialUpdate({
|
|
9611
|
-
id,
|
|
9612
|
-
org,
|
|
9613
|
-
requestBody
|
|
9614
|
-
}) {
|
|
9615
|
-
return request(OpenAPI, {
|
|
9616
|
-
method: 'PATCH',
|
|
9617
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
9618
|
-
path: {
|
|
9619
|
-
'id': id,
|
|
9620
|
-
'org': org
|
|
9621
|
-
},
|
|
9622
|
-
body: requestBody,
|
|
9623
|
-
mediaType: 'application/json'
|
|
9624
|
-
});
|
|
9625
|
-
}
|
|
9626
|
-
/**
|
|
9627
|
-
* Create modify and update bot information for a specific tenant.
|
|
9628
|
-
* @returns WhatsappConfig
|
|
9629
|
-
* @throws ApiError
|
|
9630
|
-
*/
|
|
9631
|
-
static aiBotV1BotsBotConfigWhatsappRetrieve({
|
|
9632
|
-
id,
|
|
9633
|
-
org
|
|
9634
|
-
}) {
|
|
9635
|
-
return request(OpenAPI, {
|
|
9636
|
-
method: 'GET',
|
|
9637
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
|
|
9638
|
-
path: {
|
|
9639
|
-
'id': id,
|
|
9640
|
-
'org': org
|
|
9641
|
-
}
|
|
9642
|
-
});
|
|
9643
|
-
}
|
|
9644
|
-
/**
|
|
9645
|
-
* Create modify and update bot information for a specific tenant.
|
|
9646
|
-
* @returns WhatsappConfig
|
|
9647
|
-
* @throws ApiError
|
|
9648
|
-
*/
|
|
9649
|
-
static aiBotV1BotsBotWhatsappConfigUpdate({
|
|
9650
|
-
id,
|
|
9651
|
-
org,
|
|
9652
|
-
requestBody
|
|
9653
|
-
}) {
|
|
9654
|
-
return request(OpenAPI, {
|
|
9655
|
-
method: 'PUT',
|
|
9656
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
9657
|
-
path: {
|
|
9658
|
-
'id': id,
|
|
9659
|
-
'org': org
|
|
9660
|
-
},
|
|
9661
|
-
body: requestBody,
|
|
9662
|
-
mediaType: 'application/json'
|
|
9663
|
-
});
|
|
9664
|
-
}
|
|
9665
|
-
/**
|
|
9666
|
-
* Create modify and update bot information for a specific tenant.
|
|
9667
|
-
* @returns WhatsappConfig
|
|
9668
|
-
* @throws ApiError
|
|
9669
|
-
*/
|
|
9670
|
-
static aiBotV1BotsBotWhatsappConfigPartialUpdate({
|
|
9671
|
-
id,
|
|
9672
|
-
org,
|
|
9673
|
-
requestBody
|
|
9674
|
-
}) {
|
|
9675
|
-
return request(OpenAPI, {
|
|
9676
|
-
method: 'PATCH',
|
|
9677
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
9678
|
-
path: {
|
|
9679
|
-
'id': id,
|
|
9680
|
-
'org': org
|
|
9681
|
-
},
|
|
9682
|
-
body: requestBody,
|
|
9683
|
-
mediaType: 'application/json'
|
|
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 aiBotV1BotsDiscordUserConfigList({
|
|
9694
|
-
org
|
|
9695
|
-
}) {
|
|
9696
|
-
return request(OpenAPI, {
|
|
9697
|
-
method: 'GET',
|
|
9698
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
9699
|
-
path: {
|
|
9700
|
-
'org': org
|
|
9701
|
-
}
|
|
9702
|
-
});
|
|
9703
|
-
}
|
|
9704
|
-
/**
|
|
9705
|
-
* Setup discord user id linkage with discord bots
|
|
9706
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9707
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9708
|
-
* @returns DiscordUserConfig
|
|
9709
|
-
* @throws ApiError
|
|
9710
|
-
*/
|
|
9711
|
-
static aiBotV1BotsDiscordUserConfigCreate({
|
|
9712
|
-
org,
|
|
9713
|
-
requestBody
|
|
9714
|
-
}) {
|
|
9715
|
-
return request(OpenAPI, {
|
|
9716
|
-
method: 'POST',
|
|
9717
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
9718
|
-
path: {
|
|
9719
|
-
'org': org
|
|
9720
|
-
},
|
|
9721
|
-
body: requestBody,
|
|
9722
|
-
mediaType: 'application/json'
|
|
9723
|
-
});
|
|
9724
|
-
}
|
|
9725
|
-
/**
|
|
9726
|
-
* Setup discord user id linkage with discord bots
|
|
9727
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9728
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9729
|
-
* @returns DiscordUserConfig
|
|
9730
|
-
* @throws ApiError
|
|
9731
|
-
*/
|
|
9732
|
-
static aiBotV1BotsDiscordUserConfigRetrieve({
|
|
9733
|
-
id,
|
|
9734
|
-
org
|
|
9735
|
-
}) {
|
|
9736
|
-
return request(OpenAPI, {
|
|
9737
|
-
method: 'GET',
|
|
9738
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9739
|
-
path: {
|
|
9740
|
-
'id': id,
|
|
9741
|
-
'org': org
|
|
9742
|
-
}
|
|
9743
|
-
});
|
|
9744
|
-
}
|
|
9745
|
-
/**
|
|
9746
|
-
* Setup discord user id linkage with discord bots
|
|
9747
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9748
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9749
|
-
* @returns DiscordUserConfig
|
|
9750
|
-
* @throws ApiError
|
|
9751
|
-
*/
|
|
9752
|
-
static aiBotV1BotsDiscordUserConfigUpdate({
|
|
9753
|
-
id,
|
|
9754
|
-
org,
|
|
9755
|
-
requestBody
|
|
9756
|
-
}) {
|
|
9757
|
-
return request(OpenAPI, {
|
|
9758
|
-
method: 'PUT',
|
|
9759
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9760
|
-
path: {
|
|
9761
|
-
'id': id,
|
|
9762
|
-
'org': org
|
|
9763
|
-
},
|
|
9764
|
-
body: requestBody,
|
|
9765
|
-
mediaType: 'application/json'
|
|
9766
|
-
});
|
|
9767
|
-
}
|
|
9768
|
-
/**
|
|
9769
|
-
* Setup discord user id linkage with discord bots
|
|
9770
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9771
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9772
|
-
* @returns DiscordUserConfig
|
|
9773
|
-
* @throws ApiError
|
|
9774
|
-
*/
|
|
9775
|
-
static aiBotV1BotsDiscordUserConfigPartialUpdate({
|
|
9776
|
-
id,
|
|
9777
|
-
org,
|
|
9778
|
-
requestBody
|
|
9779
|
-
}) {
|
|
9780
|
-
return request(OpenAPI, {
|
|
9781
|
-
method: 'PATCH',
|
|
9782
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9783
|
-
path: {
|
|
9784
|
-
'id': id,
|
|
9785
|
-
'org': org
|
|
9786
|
-
},
|
|
9787
|
-
body: requestBody,
|
|
9788
|
-
mediaType: 'application/json'
|
|
9789
|
-
});
|
|
9790
|
-
}
|
|
9791
|
-
/**
|
|
9792
|
-
* Setup discord user id linkage with discord bots
|
|
9793
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
9794
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
9795
|
-
* @returns void
|
|
9796
|
-
* @throws ApiError
|
|
9797
|
-
*/
|
|
9798
|
-
static aiBotV1BotsDiscordUserConfigDestroy({
|
|
9799
|
-
id,
|
|
9800
|
-
org
|
|
9801
|
-
}) {
|
|
9802
|
-
return request(OpenAPI, {
|
|
9803
|
-
method: 'DELETE',
|
|
9804
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
9805
|
-
path: {
|
|
9806
|
-
'id': id,
|
|
9807
|
-
'org': org
|
|
9808
|
-
}
|
|
9809
|
-
});
|
|
9810
|
-
}
|
|
9811
|
-
/**
|
|
9812
|
-
* Setup slack username and domain linkage with slack bots
|
|
9813
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9814
|
-
* @returns SlackUserConfig
|
|
9815
|
-
* @throws ApiError
|
|
9816
|
-
*/
|
|
9817
|
-
static aiBotV1BotsSlackUserConfigList({
|
|
9818
|
-
org
|
|
9819
|
-
}) {
|
|
9820
|
-
return request(OpenAPI, {
|
|
9821
|
-
method: 'GET',
|
|
9822
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
9823
|
-
path: {
|
|
9824
|
-
'org': org
|
|
9825
|
-
}
|
|
9826
|
-
});
|
|
9827
|
-
}
|
|
9828
|
-
/**
|
|
9829
|
-
* Setup slack username and domain linkage with slack bots
|
|
9830
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9831
|
-
* @returns SlackUserConfig
|
|
9832
|
-
* @throws ApiError
|
|
9833
|
-
*/
|
|
9834
|
-
static aiBotV1BotsSlackUserConfigCreate({
|
|
9835
|
-
org,
|
|
9836
|
-
requestBody
|
|
9837
|
-
}) {
|
|
9838
|
-
return request(OpenAPI, {
|
|
9839
|
-
method: 'POST',
|
|
9840
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
9841
|
-
path: {
|
|
9842
|
-
'org': org
|
|
9843
|
-
},
|
|
9844
|
-
body: requestBody,
|
|
9845
|
-
mediaType: 'application/json'
|
|
9846
|
-
});
|
|
9847
|
-
}
|
|
9848
|
-
/**
|
|
9849
|
-
* Setup slack username and domain linkage with slack bots
|
|
9850
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9851
|
-
* @returns SlackUserConfig
|
|
9852
|
-
* @throws ApiError
|
|
9853
|
-
*/
|
|
9854
|
-
static aiBotV1BotsSlackUserConfigRetrieve({
|
|
9855
|
-
id,
|
|
9856
|
-
org
|
|
9857
|
-
}) {
|
|
9858
|
-
return request(OpenAPI, {
|
|
9859
|
-
method: 'GET',
|
|
9860
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9861
|
-
path: {
|
|
9862
|
-
'id': id,
|
|
9863
|
-
'org': org
|
|
9864
|
-
}
|
|
9865
|
-
});
|
|
9866
|
-
}
|
|
9867
|
-
/**
|
|
9868
|
-
* Setup slack username and domain linkage with slack bots
|
|
9869
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9870
|
-
* @returns SlackUserConfig
|
|
9871
|
-
* @throws ApiError
|
|
9872
|
-
*/
|
|
9873
|
-
static aiBotV1BotsSlackUserConfigUpdate({
|
|
9874
|
-
id,
|
|
9875
|
-
org,
|
|
9876
|
-
requestBody
|
|
9877
|
-
}) {
|
|
9878
|
-
return request(OpenAPI, {
|
|
9879
|
-
method: 'PUT',
|
|
9880
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9881
|
-
path: {
|
|
9882
|
-
'id': id,
|
|
9883
|
-
'org': org
|
|
9884
|
-
},
|
|
9885
|
-
body: requestBody,
|
|
9886
|
-
mediaType: 'application/json'
|
|
9887
|
-
});
|
|
9888
|
-
}
|
|
9889
|
-
/**
|
|
9890
|
-
* Setup slack username and domain linkage with slack bots
|
|
9891
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9892
|
-
* @returns SlackUserConfig
|
|
9893
|
-
* @throws ApiError
|
|
9894
|
-
*/
|
|
9895
|
-
static aiBotV1BotsSlackUserConfigPartialUpdate({
|
|
9896
|
-
id,
|
|
9897
|
-
org,
|
|
9898
|
-
requestBody
|
|
9899
|
-
}) {
|
|
9900
|
-
return request(OpenAPI, {
|
|
9901
|
-
method: 'PATCH',
|
|
9902
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9903
|
-
path: {
|
|
9904
|
-
'id': id,
|
|
9905
|
-
'org': org
|
|
9906
|
-
},
|
|
9907
|
-
body: requestBody,
|
|
9908
|
-
mediaType: 'application/json'
|
|
9909
|
-
});
|
|
9910
|
-
}
|
|
9911
|
-
/**
|
|
9912
|
-
* Setup slack username and domain linkage with slack bots
|
|
9913
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
9914
|
-
* @returns void
|
|
9915
|
-
* @throws ApiError
|
|
9916
|
-
*/
|
|
9917
|
-
static aiBotV1BotsSlackUserConfigDestroy({
|
|
9918
|
-
id,
|
|
9919
|
-
org
|
|
9920
|
-
}) {
|
|
9921
|
-
return request(OpenAPI, {
|
|
9922
|
-
method: 'DELETE',
|
|
9923
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
9924
|
-
path: {
|
|
9925
|
-
'id': id,
|
|
9926
|
-
'org': org
|
|
9927
|
-
}
|
|
9928
|
-
});
|
|
9929
|
-
}
|
|
9930
|
-
/**
|
|
9931
|
-
* Setup phone number linkage with whatsapp bots
|
|
9932
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9933
|
-
* @returns WhatsappUserConfig
|
|
9934
|
-
* @throws ApiError
|
|
9935
|
-
*/
|
|
9936
|
-
static aiBotV1BotsWhatsappUserConfigList({
|
|
9937
|
-
org
|
|
9938
|
-
}) {
|
|
9939
|
-
return request(OpenAPI, {
|
|
9940
|
-
method: 'GET',
|
|
9941
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
9942
|
-
path: {
|
|
9943
|
-
'org': org
|
|
9944
|
-
}
|
|
9945
|
-
});
|
|
9946
|
-
}
|
|
9947
|
-
/**
|
|
9948
|
-
* Setup phone number linkage with whatsapp bots
|
|
9949
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9950
|
-
* @returns WhatsappUserConfig
|
|
9951
|
-
* @throws ApiError
|
|
9952
|
-
*/
|
|
9953
|
-
static aiBotV1BotsWhatsappUserConfigCreate({
|
|
9954
|
-
org,
|
|
9955
|
-
requestBody
|
|
9956
|
-
}) {
|
|
9957
|
-
return request(OpenAPI, {
|
|
9958
|
-
method: 'POST',
|
|
9959
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
9960
|
-
path: {
|
|
9961
|
-
'org': org
|
|
9962
|
-
},
|
|
9963
|
-
body: requestBody,
|
|
9964
|
-
mediaType: 'application/json'
|
|
9965
|
-
});
|
|
9966
|
-
}
|
|
9967
|
-
/**
|
|
9968
|
-
* Setup phone number linkage with whatsapp bots
|
|
9969
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9970
|
-
* @returns WhatsappUserConfig
|
|
9971
|
-
* @throws ApiError
|
|
9972
|
-
*/
|
|
9973
|
-
static aiBotV1BotsWhatsappUserConfigRetrieve({
|
|
9974
|
-
id,
|
|
9975
|
-
org
|
|
9976
|
-
}) {
|
|
9977
|
-
return request(OpenAPI, {
|
|
9978
|
-
method: 'GET',
|
|
9979
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
9980
|
-
path: {
|
|
9981
|
-
'id': id,
|
|
9982
|
-
'org': org
|
|
9983
|
-
}
|
|
9984
|
-
});
|
|
9985
|
-
}
|
|
9986
|
-
/**
|
|
9987
|
-
* Setup phone number linkage with whatsapp bots
|
|
9988
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
9989
|
-
* @returns WhatsappUserConfig
|
|
9990
|
-
* @throws ApiError
|
|
9991
|
-
*/
|
|
9992
|
-
static aiBotV1BotsWhatsappUserConfigUpdate({
|
|
9993
|
-
id,
|
|
9994
|
-
org,
|
|
9995
|
-
requestBody
|
|
9996
|
-
}) {
|
|
9997
|
-
return request(OpenAPI, {
|
|
9998
|
-
method: 'PUT',
|
|
9999
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10000
|
-
path: {
|
|
10001
|
-
'id': id,
|
|
10002
|
-
'org': org
|
|
10003
|
-
},
|
|
10004
|
-
body: requestBody,
|
|
10005
|
-
mediaType: 'application/json'
|
|
10006
|
-
});
|
|
10007
|
-
}
|
|
10008
|
-
/**
|
|
10009
|
-
* Setup phone number linkage with whatsapp bots
|
|
10010
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10011
|
-
* @returns WhatsappUserConfig
|
|
10012
|
-
* @throws ApiError
|
|
10013
|
-
*/
|
|
10014
|
-
static aiBotV1BotsWhatsappUserConfigPartialUpdate({
|
|
10015
|
-
id,
|
|
10016
|
-
org,
|
|
10017
|
-
requestBody
|
|
10018
|
-
}) {
|
|
10019
|
-
return request(OpenAPI, {
|
|
10020
|
-
method: 'PATCH',
|
|
10021
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10022
|
-
path: {
|
|
10023
|
-
'id': id,
|
|
10024
|
-
'org': org
|
|
10025
|
-
},
|
|
10026
|
-
body: requestBody,
|
|
10027
|
-
mediaType: 'application/json'
|
|
10028
|
-
});
|
|
10029
|
-
}
|
|
10030
|
-
/**
|
|
10031
|
-
* Setup phone number linkage with whatsapp bots
|
|
10032
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
10033
|
-
* @returns void
|
|
10034
|
-
* @throws ApiError
|
|
10035
|
-
*/
|
|
10036
|
-
static aiBotV1BotsWhatsappUserConfigDestroy({
|
|
10037
|
-
id,
|
|
10038
|
-
org
|
|
10039
|
-
}) {
|
|
10040
|
-
return request(OpenAPI, {
|
|
10041
|
-
method: 'DELETE',
|
|
10042
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
10043
|
-
path: {
|
|
10044
|
-
'id': id,
|
|
10045
|
-
'org': org
|
|
10046
|
-
}
|
|
10047
|
-
});
|
|
10048
|
-
}
|
|
10049
|
-
/**
|
|
10050
|
-
* Webhook endpoint to receive and process discord messages.
|
|
10051
|
-
* @returns DiscordWebhook
|
|
10052
|
-
* @throws ApiError
|
|
10053
|
-
*/
|
|
10054
|
-
static aiBotV1BotsWebhooksDiscordCreate({
|
|
10055
|
-
name,
|
|
10056
|
-
org,
|
|
10057
|
-
requestBody
|
|
10058
|
-
}) {
|
|
10059
|
-
return request(OpenAPI, {
|
|
10060
|
-
method: 'POST',
|
|
10061
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
|
|
10062
|
-
path: {
|
|
10063
|
-
'name': name,
|
|
10064
|
-
'org': org
|
|
10065
|
-
},
|
|
10066
|
-
body: requestBody,
|
|
10067
|
-
mediaType: 'application/json'
|
|
10068
|
-
});
|
|
10069
|
-
}
|
|
10070
|
-
/**
|
|
10071
|
-
* @returns SlackWebhook
|
|
10072
|
-
* @throws ApiError
|
|
10073
|
-
*/
|
|
10074
|
-
static aiBotV1BotsWebhooksSlackCreate({
|
|
10075
|
-
name,
|
|
10076
|
-
org,
|
|
10077
|
-
requestBody
|
|
10078
|
-
}) {
|
|
10079
|
-
return request(OpenAPI, {
|
|
10080
|
-
method: 'POST',
|
|
10081
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
|
|
10082
|
-
path: {
|
|
10083
|
-
'name': name,
|
|
10084
|
-
'org': org
|
|
10085
|
-
},
|
|
10086
|
-
body: requestBody,
|
|
10087
|
-
mediaType: 'application/json'
|
|
10088
|
-
});
|
|
10089
|
-
}
|
|
10090
|
-
/**
|
|
10091
|
-
* @returns TeamsWebhook
|
|
10092
|
-
* @throws ApiError
|
|
10093
|
-
*/
|
|
10094
|
-
static aiBotV1BotsWebhooksTeamsCreate({
|
|
10095
|
-
name,
|
|
10096
|
-
org,
|
|
10097
|
-
requestBody
|
|
10098
|
-
}) {
|
|
10099
|
-
return request(OpenAPI, {
|
|
10100
|
-
method: 'POST',
|
|
10101
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
10102
|
-
path: {
|
|
10103
|
-
'name': name,
|
|
10104
|
-
'org': org
|
|
10105
|
-
},
|
|
10106
|
-
body: requestBody,
|
|
10107
|
-
mediaType: 'application/json'
|
|
10108
|
-
});
|
|
10109
|
-
}
|
|
10110
|
-
/**
|
|
10111
|
-
* Webhook endpoint to receive and process discord messages.
|
|
10112
|
-
* @returns WebexWebhook
|
|
10113
|
-
* @throws ApiError
|
|
10114
|
-
*/
|
|
10115
|
-
static aiBotV1BotsWebhooksWebexCreate({
|
|
10116
|
-
name,
|
|
10117
|
-
org,
|
|
10118
|
-
requestBody
|
|
10119
|
-
}) {
|
|
10120
|
-
return request(OpenAPI, {
|
|
10121
|
-
method: 'POST',
|
|
10122
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
|
|
10123
|
-
path: {
|
|
10124
|
-
'name': name,
|
|
10125
|
-
'org': org
|
|
10126
|
-
},
|
|
10127
|
-
body: requestBody,
|
|
10128
|
-
mediaType: 'application/json'
|
|
10129
|
-
});
|
|
10130
|
-
}
|
|
10131
|
-
/**
|
|
10132
|
-
* Respond to whatsapp's webhook challenge.
|
|
10133
|
-
* Parameters Required include the tenant key (org) and the name of the bot: (name)
|
|
10134
|
-
* @returns WhatAppWebHook
|
|
10135
|
-
* @throws ApiError
|
|
10136
|
-
*/
|
|
10137
|
-
static aiBotV1BotsWebhooksWhatsappRetrieve({
|
|
10138
|
-
name,
|
|
10139
|
-
org
|
|
10140
|
-
}) {
|
|
10141
|
-
return request(OpenAPI, {
|
|
10142
|
-
method: 'GET',
|
|
10143
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10144
|
-
path: {
|
|
10145
|
-
'name': name,
|
|
10146
|
-
'org': org
|
|
10147
|
-
}
|
|
10148
|
-
});
|
|
10149
|
-
}
|
|
10150
|
-
/**
|
|
10151
|
-
* Accept and process webhook events from whatsapp.
|
|
10152
|
-
* @returns WhatAppWebHook
|
|
10153
|
-
* @throws ApiError
|
|
10154
|
-
*/
|
|
10155
|
-
static aiBotV1BotsWebhooksWhatsappCreate({
|
|
10156
|
-
name,
|
|
10157
|
-
org,
|
|
10158
|
-
requestBody
|
|
10159
|
-
}) {
|
|
10160
|
-
return request(OpenAPI, {
|
|
10161
|
-
method: 'POST',
|
|
10162
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
10163
|
-
path: {
|
|
10164
|
-
'name': name,
|
|
10165
|
-
'org': org
|
|
10166
|
-
},
|
|
10167
|
-
body: requestBody,
|
|
10168
|
-
mediaType: 'application/json'
|
|
10169
|
-
});
|
|
10170
|
-
}
|
|
10171
|
-
}
|
|
10172
|
-
|
|
10173
|
-
class AiFinetuningService {
|
|
10174
|
-
/**
|
|
10175
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10176
|
-
* @returns PaginatedDataSetList
|
|
10177
|
-
* @throws ApiError
|
|
10178
|
-
*/
|
|
10179
|
-
static aiFinetuningV1OrgUserDatasetsList({
|
|
10180
|
-
org,
|
|
10181
|
-
username,
|
|
10182
|
-
dateCreated,
|
|
10183
|
-
numDataPoints,
|
|
10184
|
-
ordering,
|
|
10185
|
-
page,
|
|
10186
|
-
pageSize,
|
|
10187
|
-
retryAttempts,
|
|
10188
|
-
search,
|
|
10189
|
-
status
|
|
10190
|
-
}) {
|
|
10191
|
-
return request(OpenAPI, {
|
|
10192
|
-
method: 'GET',
|
|
10193
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10194
|
-
path: {
|
|
10195
|
-
'org': org,
|
|
10196
|
-
'username': username
|
|
10197
|
-
},
|
|
10198
|
-
query: {
|
|
10199
|
-
'date_created': dateCreated,
|
|
10200
|
-
'num_data_points': numDataPoints,
|
|
10201
|
-
'ordering': ordering,
|
|
10202
|
-
'page': page,
|
|
10203
|
-
'page_size': pageSize,
|
|
10204
|
-
'retry_attempts': retryAttempts,
|
|
10205
|
-
'search': search,
|
|
10206
|
-
'status': status
|
|
10207
|
-
}
|
|
10208
|
-
});
|
|
10209
|
-
}
|
|
10210
|
-
/**
|
|
10211
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10212
|
-
* @returns DataSetCreate
|
|
10213
|
-
* @throws ApiError
|
|
10214
|
-
*/
|
|
10215
|
-
static aiFinetuningV1OrgUserDatasetsCreate({
|
|
10216
|
-
org,
|
|
10217
|
-
username,
|
|
10218
|
-
requestBody
|
|
10219
|
-
}) {
|
|
10220
|
-
return request(OpenAPI, {
|
|
10221
|
-
method: 'POST',
|
|
10222
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
|
|
10223
|
-
path: {
|
|
10224
|
-
'org': org,
|
|
10225
|
-
'username': username
|
|
10226
|
-
},
|
|
10227
|
-
body: requestBody,
|
|
10228
|
-
mediaType: 'application/json'
|
|
10229
|
-
});
|
|
10230
|
-
}
|
|
10231
|
-
/**
|
|
10232
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10233
|
-
* @returns DataSet
|
|
10234
|
-
* @throws ApiError
|
|
10235
|
-
*/
|
|
10236
|
-
static aiFinetuningV1OrgUserDatasetsRetrieve({
|
|
10237
|
-
id,
|
|
10238
|
-
org,
|
|
10239
|
-
username
|
|
10240
|
-
}) {
|
|
10241
|
-
return request(OpenAPI, {
|
|
10242
|
-
method: 'GET',
|
|
10243
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10244
|
-
path: {
|
|
10245
|
-
'id': id,
|
|
10246
|
-
'org': org,
|
|
10247
|
-
'username': username
|
|
10248
|
-
}
|
|
10249
|
-
});
|
|
10250
|
-
}
|
|
10251
|
-
/**
|
|
10252
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10253
|
-
* @returns DataSet
|
|
10254
|
-
* @throws ApiError
|
|
10255
|
-
*/
|
|
10256
|
-
static aiFinetuningV1OrgUserDatasetsUpdate({
|
|
10257
|
-
id,
|
|
10258
|
-
org,
|
|
10259
|
-
username,
|
|
10260
|
-
requestBody
|
|
10261
|
-
}) {
|
|
10262
|
-
return request(OpenAPI, {
|
|
10263
|
-
method: 'PUT',
|
|
10264
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10265
|
-
path: {
|
|
10266
|
-
'id': id,
|
|
10267
|
-
'org': org,
|
|
10268
|
-
'username': username
|
|
10269
|
-
},
|
|
10270
|
-
body: requestBody,
|
|
10271
|
-
mediaType: 'application/json'
|
|
10272
|
-
});
|
|
10273
|
-
}
|
|
10274
|
-
/**
|
|
10275
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10276
|
-
* @returns DataSet
|
|
10277
|
-
* @throws ApiError
|
|
10278
|
-
*/
|
|
10279
|
-
static aiFinetuningV1OrgUserDatasetsPartialUpdate({
|
|
10280
|
-
id,
|
|
10281
|
-
org,
|
|
10282
|
-
username,
|
|
10283
|
-
requestBody
|
|
10284
|
-
}) {
|
|
10285
|
-
return request(OpenAPI, {
|
|
10286
|
-
method: 'PATCH',
|
|
10287
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10288
|
-
path: {
|
|
10289
|
-
'id': id,
|
|
10290
|
-
'org': org,
|
|
10291
|
-
'username': username
|
|
10292
|
-
},
|
|
10293
|
-
body: requestBody,
|
|
10294
|
-
mediaType: 'application/json'
|
|
10295
|
-
});
|
|
10296
|
-
}
|
|
10297
|
-
/**
|
|
10298
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10299
|
-
* @returns void
|
|
10300
|
-
* @throws ApiError
|
|
10301
|
-
*/
|
|
10302
|
-
static aiFinetuningV1OrgUserDatasetsDestroy({
|
|
10303
|
-
id,
|
|
10304
|
-
org,
|
|
10305
|
-
username
|
|
10306
|
-
}) {
|
|
10307
|
-
return request(OpenAPI, {
|
|
10308
|
-
method: 'DELETE',
|
|
10309
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
|
|
10310
|
-
path: {
|
|
10311
|
-
'id': id,
|
|
10312
|
-
'org': org,
|
|
10313
|
-
'username': username
|
|
10314
|
-
}
|
|
10315
|
-
});
|
|
10316
|
-
}
|
|
10317
|
-
/**
|
|
10318
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10319
|
-
* @returns PaginatedTrainingList
|
|
10320
|
-
* @throws ApiError
|
|
10321
|
-
*/
|
|
10322
|
-
static aiFinetuningV1OrgUserTrainingsList({
|
|
10323
|
-
org,
|
|
10324
|
-
username,
|
|
10325
|
-
baseModelName,
|
|
10326
|
-
dataset,
|
|
10327
|
-
dateCreated,
|
|
10328
|
-
fineTunedModel,
|
|
10329
|
-
lastModified,
|
|
10330
|
-
ordering,
|
|
10331
|
-
page,
|
|
10332
|
-
pageSize,
|
|
10333
|
-
preprocessDataset,
|
|
10334
|
-
provider,
|
|
10335
|
-
search,
|
|
10336
|
-
status
|
|
10337
|
-
}) {
|
|
10338
|
-
return request(OpenAPI, {
|
|
10339
|
-
method: 'GET',
|
|
10340
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10341
|
-
path: {
|
|
10342
|
-
'org': org,
|
|
10343
|
-
'username': username
|
|
10344
|
-
},
|
|
10345
|
-
query: {
|
|
10346
|
-
'base_model_name': baseModelName,
|
|
10347
|
-
'dataset': dataset,
|
|
10348
|
-
'date_created': dateCreated,
|
|
10349
|
-
'fine_tuned_model': fineTunedModel,
|
|
10350
|
-
'last_modified': lastModified,
|
|
10351
|
-
'ordering': ordering,
|
|
10352
|
-
'page': page,
|
|
10353
|
-
'page_size': pageSize,
|
|
10354
|
-
'preprocess_dataset': preprocessDataset,
|
|
10355
|
-
'provider': provider,
|
|
10356
|
-
'search': search,
|
|
10357
|
-
'status': status
|
|
10358
|
-
}
|
|
10359
|
-
});
|
|
10360
|
-
}
|
|
10361
|
-
/**
|
|
10362
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10363
|
-
* @returns TrainingCreate
|
|
10364
|
-
* @throws ApiError
|
|
10365
|
-
*/
|
|
10366
|
-
static aiFinetuningV1OrgUserTrainingsCreate({
|
|
10367
|
-
org,
|
|
10368
|
-
username,
|
|
10369
|
-
requestBody
|
|
10370
|
-
}) {
|
|
10371
|
-
return request(OpenAPI, {
|
|
10372
|
-
method: 'POST',
|
|
10373
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
|
|
10374
|
-
path: {
|
|
10375
|
-
'org': org,
|
|
10376
|
-
'username': username
|
|
10377
|
-
},
|
|
10378
|
-
body: requestBody,
|
|
10379
|
-
mediaType: 'application/json'
|
|
10380
|
-
});
|
|
10381
|
-
}
|
|
10382
|
-
/**
|
|
10383
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10384
|
-
* @returns Training
|
|
10385
|
-
* @throws ApiError
|
|
10386
|
-
*/
|
|
10387
|
-
static aiFinetuningV1OrgUserTrainingsRetrieve({
|
|
10388
|
-
id,
|
|
10389
|
-
org,
|
|
10390
|
-
username
|
|
10391
|
-
}) {
|
|
10392
|
-
return request(OpenAPI, {
|
|
10393
|
-
method: 'GET',
|
|
10394
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10395
|
-
path: {
|
|
10396
|
-
'id': id,
|
|
10397
|
-
'org': org,
|
|
10398
|
-
'username': username
|
|
10399
|
-
}
|
|
10400
|
-
});
|
|
10401
|
-
}
|
|
10402
|
-
/**
|
|
10403
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10404
|
-
* @returns TrainingCreate
|
|
10405
|
-
* @throws ApiError
|
|
10406
|
-
*/
|
|
10407
|
-
static aiFinetuningV1OrgUserTrainingsUpdate({
|
|
10408
|
-
id,
|
|
10409
|
-
org,
|
|
10410
|
-
username,
|
|
10411
|
-
requestBody
|
|
10412
|
-
}) {
|
|
10413
|
-
return request(OpenAPI, {
|
|
10414
|
-
method: 'PUT',
|
|
10415
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10416
|
-
path: {
|
|
10417
|
-
'id': id,
|
|
10418
|
-
'org': org,
|
|
10419
|
-
'username': username
|
|
10420
|
-
},
|
|
10421
|
-
body: requestBody,
|
|
10422
|
-
mediaType: 'application/json'
|
|
10423
|
-
});
|
|
10424
|
-
}
|
|
10425
|
-
/**
|
|
10426
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10427
|
-
* @returns TrainingCreate
|
|
10428
|
-
* @throws ApiError
|
|
10429
|
-
*/
|
|
10430
|
-
static aiFinetuningV1OrgUserTrainingsPartialUpdate({
|
|
10431
|
-
id,
|
|
10432
|
-
org,
|
|
10433
|
-
username,
|
|
10434
|
-
requestBody
|
|
10435
|
-
}) {
|
|
10436
|
-
return request(OpenAPI, {
|
|
10437
|
-
method: 'PATCH',
|
|
10438
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10439
|
-
path: {
|
|
10440
|
-
'id': id,
|
|
10441
|
-
'org': org,
|
|
10442
|
-
'username': username
|
|
10443
|
-
},
|
|
10444
|
-
body: requestBody,
|
|
10445
|
-
mediaType: 'application/json'
|
|
10446
|
-
});
|
|
10447
|
-
}
|
|
10448
|
-
/**
|
|
10449
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
10450
|
-
* @returns void
|
|
10451
|
-
* @throws ApiError
|
|
10452
|
-
*/
|
|
10453
|
-
static aiFinetuningV1OrgUserTrainingsDestroy({
|
|
10454
|
-
id,
|
|
10455
|
-
org,
|
|
10456
|
-
username
|
|
10457
|
-
}) {
|
|
10458
|
-
return request(OpenAPI, {
|
|
10459
|
-
method: 'DELETE',
|
|
10460
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
|
|
10461
|
-
path: {
|
|
10462
|
-
'id': id,
|
|
10463
|
-
'org': org,
|
|
10464
|
-
'username': username
|
|
10465
|
-
}
|
|
10466
|
-
});
|
|
10467
|
-
}
|
|
10468
|
-
/**
|
|
10469
|
-
* Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
|
|
10470
|
-
* Filtering and pagination is allowed.
|
|
10471
|
-
*
|
|
10472
|
-
* NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
|
|
10473
|
-
* training list endpoint.
|
|
10474
|
-
* Returns:
|
|
10475
|
-
* Response: A paginated response containing the serialized fine-tuned models.
|
|
10476
|
-
* @returns Training
|
|
10477
|
-
* @throws ApiError
|
|
10478
|
-
*/
|
|
10479
|
-
static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({
|
|
10480
|
-
org,
|
|
10481
|
-
username
|
|
10482
|
-
}) {
|
|
10483
|
-
return request(OpenAPI, {
|
|
10484
|
-
method: 'GET',
|
|
10485
|
-
url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/finetuned-models/',
|
|
10486
|
-
path: {
|
|
10487
|
-
'org': org,
|
|
10488
|
-
'username': username
|
|
10489
|
-
}
|
|
10490
|
-
});
|
|
10491
|
-
}
|
|
10492
|
-
}
|
|
10493
|
-
|
|
10494
9119
|
class AiIndexService {
|
|
10495
9120
|
/**
|
|
10496
9121
|
* Retrieve details of a specific document embedding.
|
|
@@ -18557,6 +17182,410 @@
|
|
|
18557
17182
|
}
|
|
18558
17183
|
});
|
|
18559
17184
|
}
|
|
17185
|
+
/**
|
|
17186
|
+
* ViewSet for managing ticket messages.
|
|
17187
|
+
*
|
|
17188
|
+
* This ViewSet provides endpoints to retrieve, create, and update ticket messages.
|
|
17189
|
+
*
|
|
17190
|
+
* Permissions:
|
|
17191
|
+
* - Platform Admins:
|
|
17192
|
+
* - Platform admins are able to view all ticket messages for the tenant.
|
|
17193
|
+
* - Students:
|
|
17194
|
+
* - Students are able to view all ticket messages for only the ticket they are associated with.
|
|
17195
|
+
* @returns PaginatedTicketMessageList
|
|
17196
|
+
* @throws ApiError
|
|
17197
|
+
*/
|
|
17198
|
+
static aiMentorOrgsUsersSupportTicketMessagesList({
|
|
17199
|
+
org,
|
|
17200
|
+
userId,
|
|
17201
|
+
page,
|
|
17202
|
+
pageSize,
|
|
17203
|
+
sender,
|
|
17204
|
+
ticket
|
|
17205
|
+
}) {
|
|
17206
|
+
return request(OpenAPI, {
|
|
17207
|
+
method: 'GET',
|
|
17208
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-ticket-messages/',
|
|
17209
|
+
path: {
|
|
17210
|
+
'org': org,
|
|
17211
|
+
'user_id': userId
|
|
17212
|
+
},
|
|
17213
|
+
query: {
|
|
17214
|
+
'page': page,
|
|
17215
|
+
'page_size': pageSize,
|
|
17216
|
+
'sender': sender,
|
|
17217
|
+
'ticket': ticket
|
|
17218
|
+
}
|
|
17219
|
+
});
|
|
17220
|
+
}
|
|
17221
|
+
/**
|
|
17222
|
+
* ViewSet for managing ticket messages.
|
|
17223
|
+
*
|
|
17224
|
+
* This ViewSet provides endpoints to retrieve, create, and update ticket messages.
|
|
17225
|
+
*
|
|
17226
|
+
* Permissions:
|
|
17227
|
+
* - Platform Admins:
|
|
17228
|
+
* - Platform admins are able to view all ticket messages for the tenant.
|
|
17229
|
+
* - Students:
|
|
17230
|
+
* - Students are able to view all ticket messages for only the ticket they are associated with.
|
|
17231
|
+
* @returns TicketMessage
|
|
17232
|
+
* @throws ApiError
|
|
17233
|
+
*/
|
|
17234
|
+
static aiMentorOrgsUsersSupportTicketMessagesCreate({
|
|
17235
|
+
org,
|
|
17236
|
+
userId,
|
|
17237
|
+
requestBody
|
|
17238
|
+
}) {
|
|
17239
|
+
return request(OpenAPI, {
|
|
17240
|
+
method: 'POST',
|
|
17241
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-ticket-messages/',
|
|
17242
|
+
path: {
|
|
17243
|
+
'org': org,
|
|
17244
|
+
'user_id': userId
|
|
17245
|
+
},
|
|
17246
|
+
body: requestBody,
|
|
17247
|
+
mediaType: 'application/json'
|
|
17248
|
+
});
|
|
17249
|
+
}
|
|
17250
|
+
/**
|
|
17251
|
+
* ViewSet for managing ticket messages.
|
|
17252
|
+
*
|
|
17253
|
+
* This ViewSet provides endpoints to retrieve, create, and update ticket messages.
|
|
17254
|
+
*
|
|
17255
|
+
* Permissions:
|
|
17256
|
+
* - Platform Admins:
|
|
17257
|
+
* - Platform admins are able to view all ticket messages for the tenant.
|
|
17258
|
+
* - Students:
|
|
17259
|
+
* - Students are able to view all ticket messages for only the ticket they are associated with.
|
|
17260
|
+
* @returns TicketMessage
|
|
17261
|
+
* @throws ApiError
|
|
17262
|
+
*/
|
|
17263
|
+
static aiMentorOrgsUsersSupportTicketMessagesRetrieve({
|
|
17264
|
+
id,
|
|
17265
|
+
org,
|
|
17266
|
+
userId
|
|
17267
|
+
}) {
|
|
17268
|
+
return request(OpenAPI, {
|
|
17269
|
+
method: 'GET',
|
|
17270
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-ticket-messages/{id}/',
|
|
17271
|
+
path: {
|
|
17272
|
+
'id': id,
|
|
17273
|
+
'org': org,
|
|
17274
|
+
'user_id': userId
|
|
17275
|
+
}
|
|
17276
|
+
});
|
|
17277
|
+
}
|
|
17278
|
+
/**
|
|
17279
|
+
* ViewSet for managing ticket messages.
|
|
17280
|
+
*
|
|
17281
|
+
* This ViewSet provides endpoints to retrieve, create, and update ticket messages.
|
|
17282
|
+
*
|
|
17283
|
+
* Permissions:
|
|
17284
|
+
* - Platform Admins:
|
|
17285
|
+
* - Platform admins are able to view all ticket messages for the tenant.
|
|
17286
|
+
* - Students:
|
|
17287
|
+
* - Students are able to view all ticket messages for only the ticket they are associated with.
|
|
17288
|
+
* @returns TicketMessage
|
|
17289
|
+
* @throws ApiError
|
|
17290
|
+
*/
|
|
17291
|
+
static aiMentorOrgsUsersSupportTicketMessagesUpdate({
|
|
17292
|
+
id,
|
|
17293
|
+
org,
|
|
17294
|
+
userId,
|
|
17295
|
+
requestBody
|
|
17296
|
+
}) {
|
|
17297
|
+
return request(OpenAPI, {
|
|
17298
|
+
method: 'PUT',
|
|
17299
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-ticket-messages/{id}/',
|
|
17300
|
+
path: {
|
|
17301
|
+
'id': id,
|
|
17302
|
+
'org': org,
|
|
17303
|
+
'user_id': userId
|
|
17304
|
+
},
|
|
17305
|
+
body: requestBody,
|
|
17306
|
+
mediaType: 'application/json'
|
|
17307
|
+
});
|
|
17308
|
+
}
|
|
17309
|
+
/**
|
|
17310
|
+
* ViewSet for managing ticket messages.
|
|
17311
|
+
*
|
|
17312
|
+
* This ViewSet provides endpoints to retrieve, create, and update ticket messages.
|
|
17313
|
+
*
|
|
17314
|
+
* Permissions:
|
|
17315
|
+
* - Platform Admins:
|
|
17316
|
+
* - Platform admins are able to view all ticket messages for the tenant.
|
|
17317
|
+
* - Students:
|
|
17318
|
+
* - Students are able to view all ticket messages for only the ticket they are associated with.
|
|
17319
|
+
* @returns TicketMessage
|
|
17320
|
+
* @throws ApiError
|
|
17321
|
+
*/
|
|
17322
|
+
static aiMentorOrgsUsersSupportTicketMessagesPartialUpdate({
|
|
17323
|
+
id,
|
|
17324
|
+
org,
|
|
17325
|
+
userId,
|
|
17326
|
+
requestBody
|
|
17327
|
+
}) {
|
|
17328
|
+
return request(OpenAPI, {
|
|
17329
|
+
method: 'PATCH',
|
|
17330
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-ticket-messages/{id}/',
|
|
17331
|
+
path: {
|
|
17332
|
+
'id': id,
|
|
17333
|
+
'org': org,
|
|
17334
|
+
'user_id': userId
|
|
17335
|
+
},
|
|
17336
|
+
body: requestBody,
|
|
17337
|
+
mediaType: 'application/json'
|
|
17338
|
+
});
|
|
17339
|
+
}
|
|
17340
|
+
/**
|
|
17341
|
+
* ViewSet for managing ticket messages.
|
|
17342
|
+
*
|
|
17343
|
+
* This ViewSet provides endpoints to retrieve, create, and update ticket messages.
|
|
17344
|
+
*
|
|
17345
|
+
* Permissions:
|
|
17346
|
+
* - Platform Admins:
|
|
17347
|
+
* - Platform admins are able to view all ticket messages for the tenant.
|
|
17348
|
+
* - Students:
|
|
17349
|
+
* - Students are able to view all ticket messages for only the ticket they are associated with.
|
|
17350
|
+
* @returns void
|
|
17351
|
+
* @throws ApiError
|
|
17352
|
+
*/
|
|
17353
|
+
static aiMentorOrgsUsersSupportTicketMessagesDestroy({
|
|
17354
|
+
id,
|
|
17355
|
+
org,
|
|
17356
|
+
userId
|
|
17357
|
+
}) {
|
|
17358
|
+
return request(OpenAPI, {
|
|
17359
|
+
method: 'DELETE',
|
|
17360
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-ticket-messages/{id}/',
|
|
17361
|
+
path: {
|
|
17362
|
+
'id': id,
|
|
17363
|
+
'org': org,
|
|
17364
|
+
'user_id': userId
|
|
17365
|
+
}
|
|
17366
|
+
});
|
|
17367
|
+
}
|
|
17368
|
+
/**
|
|
17369
|
+
* ViewSet for managing Human Support Tickets.
|
|
17370
|
+
*
|
|
17371
|
+
* This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
|
|
17372
|
+
*
|
|
17373
|
+
* Permissions:
|
|
17374
|
+
* Platform Admins:
|
|
17375
|
+
* - Platform admins are able to update the ticket status, and view all tickets for the tenant.
|
|
17376
|
+
* - Platform admins can only update the `subject`, `description` and `status` fields.
|
|
17377
|
+
* Students:
|
|
17378
|
+
* - Students are only able to view their own created tickets.
|
|
17379
|
+
* - students can modify only the `subject` and `description` entries
|
|
17380
|
+
*
|
|
17381
|
+
* Field Updates:
|
|
17382
|
+
* - subject: Modifiable by both student and platform admin
|
|
17383
|
+
* - description: Modifiable by only student.
|
|
17384
|
+
* - status: Modifiable by only platform admin.
|
|
17385
|
+
* @returns PaginatedHumanSupportTicketList
|
|
17386
|
+
* @throws ApiError
|
|
17387
|
+
*/
|
|
17388
|
+
static aiMentorOrgsUsersSupportTicketsList({
|
|
17389
|
+
org,
|
|
17390
|
+
userId,
|
|
17391
|
+
mentorId,
|
|
17392
|
+
page,
|
|
17393
|
+
pageSize,
|
|
17394
|
+
session,
|
|
17395
|
+
status,
|
|
17396
|
+
username
|
|
17397
|
+
}) {
|
|
17398
|
+
return request(OpenAPI, {
|
|
17399
|
+
method: 'GET',
|
|
17400
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-tickets/',
|
|
17401
|
+
path: {
|
|
17402
|
+
'org': org,
|
|
17403
|
+
'user_id': userId
|
|
17404
|
+
},
|
|
17405
|
+
query: {
|
|
17406
|
+
'mentor_id': mentorId,
|
|
17407
|
+
'page': page,
|
|
17408
|
+
'page_size': pageSize,
|
|
17409
|
+
'session': session,
|
|
17410
|
+
'status': status,
|
|
17411
|
+
'username': username
|
|
17412
|
+
}
|
|
17413
|
+
});
|
|
17414
|
+
}
|
|
17415
|
+
/**
|
|
17416
|
+
* ViewSet for managing Human Support Tickets.
|
|
17417
|
+
*
|
|
17418
|
+
* This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
|
|
17419
|
+
*
|
|
17420
|
+
* Permissions:
|
|
17421
|
+
* Platform Admins:
|
|
17422
|
+
* - Platform admins are able to update the ticket status, and view all tickets for the tenant.
|
|
17423
|
+
* - Platform admins can only update the `subject`, `description` and `status` fields.
|
|
17424
|
+
* Students:
|
|
17425
|
+
* - Students are only able to view their own created tickets.
|
|
17426
|
+
* - students can modify only the `subject` and `description` entries
|
|
17427
|
+
*
|
|
17428
|
+
* Field Updates:
|
|
17429
|
+
* - subject: Modifiable by both student and platform admin
|
|
17430
|
+
* - description: Modifiable by only student.
|
|
17431
|
+
* - status: Modifiable by only platform admin.
|
|
17432
|
+
* @returns HumanSupportTicket
|
|
17433
|
+
* @throws ApiError
|
|
17434
|
+
*/
|
|
17435
|
+
static aiMentorOrgsUsersSupportTicketsRetrieve({
|
|
17436
|
+
id,
|
|
17437
|
+
org,
|
|
17438
|
+
userId
|
|
17439
|
+
}) {
|
|
17440
|
+
return request(OpenAPI, {
|
|
17441
|
+
method: 'GET',
|
|
17442
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-tickets/{id}/',
|
|
17443
|
+
path: {
|
|
17444
|
+
'id': id,
|
|
17445
|
+
'org': org,
|
|
17446
|
+
'user_id': userId
|
|
17447
|
+
}
|
|
17448
|
+
});
|
|
17449
|
+
}
|
|
17450
|
+
/**
|
|
17451
|
+
* ViewSet for managing Human Support Tickets.
|
|
17452
|
+
*
|
|
17453
|
+
* This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
|
|
17454
|
+
*
|
|
17455
|
+
* Permissions:
|
|
17456
|
+
* Platform Admins:
|
|
17457
|
+
* - Platform admins are able to update the ticket status, and view all tickets for the tenant.
|
|
17458
|
+
* - Platform admins can only update the `subject`, `description` and `status` fields.
|
|
17459
|
+
* Students:
|
|
17460
|
+
* - Students are only able to view their own created tickets.
|
|
17461
|
+
* - students can modify only the `subject` and `description` entries
|
|
17462
|
+
*
|
|
17463
|
+
* Field Updates:
|
|
17464
|
+
* - subject: Modifiable by both student and platform admin
|
|
17465
|
+
* - description: Modifiable by only student.
|
|
17466
|
+
* - status: Modifiable by only platform admin.
|
|
17467
|
+
* @returns HumanSupportTicket
|
|
17468
|
+
* @throws ApiError
|
|
17469
|
+
*/
|
|
17470
|
+
static aiMentorOrgsUsersSupportTicketsUpdate({
|
|
17471
|
+
id,
|
|
17472
|
+
org,
|
|
17473
|
+
userId,
|
|
17474
|
+
requestBody
|
|
17475
|
+
}) {
|
|
17476
|
+
return request(OpenAPI, {
|
|
17477
|
+
method: 'PUT',
|
|
17478
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-tickets/{id}/',
|
|
17479
|
+
path: {
|
|
17480
|
+
'id': id,
|
|
17481
|
+
'org': org,
|
|
17482
|
+
'user_id': userId
|
|
17483
|
+
},
|
|
17484
|
+
body: requestBody,
|
|
17485
|
+
mediaType: 'application/json'
|
|
17486
|
+
});
|
|
17487
|
+
}
|
|
17488
|
+
/**
|
|
17489
|
+
* ViewSet for managing Human Support Tickets.
|
|
17490
|
+
*
|
|
17491
|
+
* This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
|
|
17492
|
+
*
|
|
17493
|
+
* Permissions:
|
|
17494
|
+
* Platform Admins:
|
|
17495
|
+
* - Platform admins are able to update the ticket status, and view all tickets for the tenant.
|
|
17496
|
+
* - Platform admins can only update the `subject`, `description` and `status` fields.
|
|
17497
|
+
* Students:
|
|
17498
|
+
* - Students are only able to view their own created tickets.
|
|
17499
|
+
* - students can modify only the `subject` and `description` entries
|
|
17500
|
+
*
|
|
17501
|
+
* Field Updates:
|
|
17502
|
+
* - subject: Modifiable by both student and platform admin
|
|
17503
|
+
* - description: Modifiable by only student.
|
|
17504
|
+
* - status: Modifiable by only platform admin.
|
|
17505
|
+
* @returns HumanSupportTicket
|
|
17506
|
+
* @throws ApiError
|
|
17507
|
+
*/
|
|
17508
|
+
static aiMentorOrgsUsersSupportTicketsPartialUpdate({
|
|
17509
|
+
id,
|
|
17510
|
+
org,
|
|
17511
|
+
userId,
|
|
17512
|
+
requestBody
|
|
17513
|
+
}) {
|
|
17514
|
+
return request(OpenAPI, {
|
|
17515
|
+
method: 'PATCH',
|
|
17516
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-tickets/{id}/',
|
|
17517
|
+
path: {
|
|
17518
|
+
'id': id,
|
|
17519
|
+
'org': org,
|
|
17520
|
+
'user_id': userId
|
|
17521
|
+
},
|
|
17522
|
+
body: requestBody,
|
|
17523
|
+
mediaType: 'application/json'
|
|
17524
|
+
});
|
|
17525
|
+
}
|
|
17526
|
+
/**
|
|
17527
|
+
* ViewSet for managing Human Support Tickets.
|
|
17528
|
+
*
|
|
17529
|
+
* This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
|
|
17530
|
+
*
|
|
17531
|
+
* Permissions:
|
|
17532
|
+
* Platform Admins:
|
|
17533
|
+
* - Platform admins are able to update the ticket status, and view all tickets for the tenant.
|
|
17534
|
+
* - Platform admins can only update the `subject`, `description` and `status` fields.
|
|
17535
|
+
* Students:
|
|
17536
|
+
* - Students are only able to view their own created tickets.
|
|
17537
|
+
* - students can modify only the `subject` and `description` entries
|
|
17538
|
+
*
|
|
17539
|
+
* Field Updates:
|
|
17540
|
+
* - subject: Modifiable by both student and platform admin
|
|
17541
|
+
* - description: Modifiable by only student.
|
|
17542
|
+
* - status: Modifiable by only platform admin.
|
|
17543
|
+
* @returns void
|
|
17544
|
+
* @throws ApiError
|
|
17545
|
+
*/
|
|
17546
|
+
static aiMentorOrgsUsersSupportTicketsDestroy({
|
|
17547
|
+
id,
|
|
17548
|
+
org,
|
|
17549
|
+
userId
|
|
17550
|
+
}) {
|
|
17551
|
+
return request(OpenAPI, {
|
|
17552
|
+
method: 'DELETE',
|
|
17553
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-tickets/{id}/',
|
|
17554
|
+
path: {
|
|
17555
|
+
'id': id,
|
|
17556
|
+
'org': org,
|
|
17557
|
+
'user_id': userId
|
|
17558
|
+
}
|
|
17559
|
+
});
|
|
17560
|
+
}
|
|
17561
|
+
/**
|
|
17562
|
+
* Endpoint to close a Human support ticket.
|
|
17563
|
+
*
|
|
17564
|
+
* This endpoint is used to close a Human support ticket.
|
|
17565
|
+
*
|
|
17566
|
+
* Permissions:
|
|
17567
|
+
* - available to both platform admins and the student who created the ticket.
|
|
17568
|
+
*
|
|
17569
|
+
* Returns:
|
|
17570
|
+
* Response: A response object containing the closed ticket data.
|
|
17571
|
+
* @returns any No response body
|
|
17572
|
+
* @throws ApiError
|
|
17573
|
+
*/
|
|
17574
|
+
static aiMentorOrgsUsersSupportTicketsCloseCreate({
|
|
17575
|
+
id,
|
|
17576
|
+
org,
|
|
17577
|
+
userId
|
|
17578
|
+
}) {
|
|
17579
|
+
return request(OpenAPI, {
|
|
17580
|
+
method: 'POST',
|
|
17581
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/support-tickets/{id}/close/',
|
|
17582
|
+
path: {
|
|
17583
|
+
'id': id,
|
|
17584
|
+
'org': org,
|
|
17585
|
+
'user_id': userId
|
|
17586
|
+
}
|
|
17587
|
+
});
|
|
17588
|
+
}
|
|
18560
17589
|
/**
|
|
18561
17590
|
* Retrieves the status of a task using its task ID.
|
|
18562
17591
|
*
|
|
@@ -35022,8 +34051,6 @@
|
|
|
35022
34051
|
|
|
35023
34052
|
exports.AiAccountService = AiAccountService;
|
|
35024
34053
|
exports.AiAnalyticsService = AiAnalyticsService;
|
|
35025
|
-
exports.AiBotService = AiBotService;
|
|
35026
|
-
exports.AiFinetuningService = AiFinetuningService;
|
|
35027
34054
|
exports.AiIndexService = AiIndexService;
|
|
35028
34055
|
exports.AiMarketingService = AiMarketingService;
|
|
35029
34056
|
exports.AiMediaService = AiMediaService;
|