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