@iblai/iblai-api 4.454.0-ai → 4.455.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 +14 -1072
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15 -1072
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +14 -1072
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -29
- package/dist/types/models/{VoiceProviderEnum.d.ts → ProviderEnum.d.ts} +1 -1
- package/dist/types/models/Voice.d.ts +2 -2
- package/package.json +1 -1
- package/sdk_schema.yml +19 -2510
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -29
- package/src/models/{VoiceProviderEnum.ts → ProviderEnum.ts} +1 -1
- package/src/models/Voice.ts +2 -2
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/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/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- 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/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/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/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 -650
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- 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/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/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiBotService.ts +0 -1350
package/dist/index.cjs.js
CHANGED
|
@@ -110,7 +110,7 @@ class CancelablePromise {
|
|
|
110
110
|
|
|
111
111
|
const OpenAPI = {
|
|
112
112
|
BASE: 'https://base.manager.iblai.app',
|
|
113
|
-
VERSION: '4.
|
|
113
|
+
VERSION: '4.455.0-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -1678,20 +1678,20 @@ exports.PromptVisibilityEnum = void 0;
|
|
|
1678
1678
|
/* tslint:disable */
|
|
1679
1679
|
/* eslint-disable */
|
|
1680
1680
|
/**
|
|
1681
|
-
* * `
|
|
1682
|
-
* * `
|
|
1683
|
-
* * `
|
|
1684
|
-
* * `
|
|
1685
|
-
* * `
|
|
1681
|
+
* * `browser` - Browser
|
|
1682
|
+
* * `openai` - Openai
|
|
1683
|
+
* * `google` - Google
|
|
1684
|
+
* * `iblai` - ibl.ai
|
|
1685
|
+
* * `elevenlabs` - Elevenlabs
|
|
1686
1686
|
*/
|
|
1687
|
-
exports.
|
|
1688
|
-
(function (
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
})(exports.
|
|
1687
|
+
exports.ProviderEnum = void 0;
|
|
1688
|
+
(function (ProviderEnum) {
|
|
1689
|
+
ProviderEnum["BROWSER"] = "browser";
|
|
1690
|
+
ProviderEnum["OPENAI"] = "openai";
|
|
1691
|
+
ProviderEnum["GOOGLE"] = "google";
|
|
1692
|
+
ProviderEnum["IBLAI"] = "iblai";
|
|
1693
|
+
ProviderEnum["ELEVENLABS"] = "elevenlabs";
|
|
1694
|
+
})(exports.ProviderEnum || (exports.ProviderEnum = {}));
|
|
1695
1695
|
|
|
1696
1696
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
1697
1697
|
/* istanbul ignore file */
|
|
@@ -3643,26 +3643,6 @@ exports.VoiceProviderEefEnum = void 0;
|
|
|
3643
3643
|
VoiceProviderEefEnum["IBLAI"] = "iblai";
|
|
3644
3644
|
})(exports.VoiceProviderEefEnum || (exports.VoiceProviderEefEnum = {}));
|
|
3645
3645
|
|
|
3646
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
3647
|
-
/* istanbul ignore file */
|
|
3648
|
-
/* tslint:disable */
|
|
3649
|
-
/* eslint-disable */
|
|
3650
|
-
/**
|
|
3651
|
-
* * `browser` - Browser
|
|
3652
|
-
* * `openai` - Openai
|
|
3653
|
-
* * `google` - Google
|
|
3654
|
-
* * `iblai` - ibl.ai
|
|
3655
|
-
* * `elevenlabs` - Elevenlabs
|
|
3656
|
-
*/
|
|
3657
|
-
exports.VoiceProviderEnum = void 0;
|
|
3658
|
-
(function (VoiceProviderEnum) {
|
|
3659
|
-
VoiceProviderEnum["BROWSER"] = "browser";
|
|
3660
|
-
VoiceProviderEnum["OPENAI"] = "openai";
|
|
3661
|
-
VoiceProviderEnum["GOOGLE"] = "google";
|
|
3662
|
-
VoiceProviderEnum["IBLAI"] = "iblai";
|
|
3663
|
-
VoiceProviderEnum["ELEVENLABS"] = "elevenlabs";
|
|
3664
|
-
})(exports.VoiceProviderEnum || (exports.VoiceProviderEnum = {}));
|
|
3665
|
-
|
|
3666
3646
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
3667
3647
|
/* istanbul ignore file */
|
|
3668
3648
|
/* tslint:disable */
|
|
@@ -14956,1043 +14936,6 @@ class AiAnalyticsService {
|
|
|
14956
14936
|
}
|
|
14957
14937
|
}
|
|
14958
14938
|
|
|
14959
|
-
class AiBotService {
|
|
14960
|
-
/**
|
|
14961
|
-
* Create modify and update bot information for a specific tenant.
|
|
14962
|
-
* @returns Bot
|
|
14963
|
-
* @throws ApiError
|
|
14964
|
-
*/
|
|
14965
|
-
static aiBotV1BotsBotList({
|
|
14966
|
-
org
|
|
14967
|
-
}) {
|
|
14968
|
-
return request(OpenAPI, {
|
|
14969
|
-
method: 'GET',
|
|
14970
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
14971
|
-
path: {
|
|
14972
|
-
'org': org
|
|
14973
|
-
}
|
|
14974
|
-
});
|
|
14975
|
-
}
|
|
14976
|
-
/**
|
|
14977
|
-
* Create modify and update bot information for a specific tenant.
|
|
14978
|
-
* @returns BotCreate
|
|
14979
|
-
* @throws ApiError
|
|
14980
|
-
*/
|
|
14981
|
-
static aiBotV1BotsBotCreate({
|
|
14982
|
-
org,
|
|
14983
|
-
requestBody
|
|
14984
|
-
}) {
|
|
14985
|
-
return request(OpenAPI, {
|
|
14986
|
-
method: 'POST',
|
|
14987
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
14988
|
-
path: {
|
|
14989
|
-
'org': org
|
|
14990
|
-
},
|
|
14991
|
-
body: requestBody,
|
|
14992
|
-
mediaType: 'application/json'
|
|
14993
|
-
});
|
|
14994
|
-
}
|
|
14995
|
-
/**
|
|
14996
|
-
* Create slash commands for a specific bot
|
|
14997
|
-
* eg. /iblai-baseline
|
|
14998
|
-
* @returns BotCommand
|
|
14999
|
-
* @throws ApiError
|
|
15000
|
-
*/
|
|
15001
|
-
static aiBotV1BotsBotCommandsList({
|
|
15002
|
-
org
|
|
15003
|
-
}) {
|
|
15004
|
-
return request(OpenAPI, {
|
|
15005
|
-
method: 'GET',
|
|
15006
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
15007
|
-
path: {
|
|
15008
|
-
'org': org
|
|
15009
|
-
}
|
|
15010
|
-
});
|
|
15011
|
-
}
|
|
15012
|
-
/**
|
|
15013
|
-
* Create slash commands for a specific bot
|
|
15014
|
-
* eg. /iblai-baseline
|
|
15015
|
-
* @returns BotCommand
|
|
15016
|
-
* @throws ApiError
|
|
15017
|
-
*/
|
|
15018
|
-
static aiBotV1BotsBotCommandsCreate({
|
|
15019
|
-
org,
|
|
15020
|
-
requestBody
|
|
15021
|
-
}) {
|
|
15022
|
-
return request(OpenAPI, {
|
|
15023
|
-
method: 'POST',
|
|
15024
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
15025
|
-
path: {
|
|
15026
|
-
'org': org
|
|
15027
|
-
},
|
|
15028
|
-
body: requestBody,
|
|
15029
|
-
mediaType: 'application/json'
|
|
15030
|
-
});
|
|
15031
|
-
}
|
|
15032
|
-
/**
|
|
15033
|
-
* Create slash commands for a specific bot
|
|
15034
|
-
* eg. /iblai-baseline
|
|
15035
|
-
* @returns BotCommand
|
|
15036
|
-
* @throws ApiError
|
|
15037
|
-
*/
|
|
15038
|
-
static aiBotV1BotsBotCommandsRetrieve({
|
|
15039
|
-
id,
|
|
15040
|
-
org
|
|
15041
|
-
}) {
|
|
15042
|
-
return request(OpenAPI, {
|
|
15043
|
-
method: 'GET',
|
|
15044
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
15045
|
-
path: {
|
|
15046
|
-
'id': id,
|
|
15047
|
-
'org': org
|
|
15048
|
-
}
|
|
15049
|
-
});
|
|
15050
|
-
}
|
|
15051
|
-
/**
|
|
15052
|
-
* Create slash commands for a specific bot
|
|
15053
|
-
* eg. /iblai-baseline
|
|
15054
|
-
* @returns BotCommand
|
|
15055
|
-
* @throws ApiError
|
|
15056
|
-
*/
|
|
15057
|
-
static aiBotV1BotsBotCommandsUpdate({
|
|
15058
|
-
id,
|
|
15059
|
-
org,
|
|
15060
|
-
requestBody
|
|
15061
|
-
}) {
|
|
15062
|
-
return request(OpenAPI, {
|
|
15063
|
-
method: 'PUT',
|
|
15064
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
15065
|
-
path: {
|
|
15066
|
-
'id': id,
|
|
15067
|
-
'org': org
|
|
15068
|
-
},
|
|
15069
|
-
body: requestBody,
|
|
15070
|
-
mediaType: 'application/json'
|
|
15071
|
-
});
|
|
15072
|
-
}
|
|
15073
|
-
/**
|
|
15074
|
-
* Create slash commands for a specific bot
|
|
15075
|
-
* eg. /iblai-baseline
|
|
15076
|
-
* @returns BotCommand
|
|
15077
|
-
* @throws ApiError
|
|
15078
|
-
*/
|
|
15079
|
-
static aiBotV1BotsBotCommandsPartialUpdate({
|
|
15080
|
-
id,
|
|
15081
|
-
org,
|
|
15082
|
-
requestBody
|
|
15083
|
-
}) {
|
|
15084
|
-
return request(OpenAPI, {
|
|
15085
|
-
method: 'PATCH',
|
|
15086
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
15087
|
-
path: {
|
|
15088
|
-
'id': id,
|
|
15089
|
-
'org': org
|
|
15090
|
-
},
|
|
15091
|
-
body: requestBody,
|
|
15092
|
-
mediaType: 'application/json'
|
|
15093
|
-
});
|
|
15094
|
-
}
|
|
15095
|
-
/**
|
|
15096
|
-
* Create slash commands for a specific bot
|
|
15097
|
-
* eg. /iblai-baseline
|
|
15098
|
-
* @returns void
|
|
15099
|
-
* @throws ApiError
|
|
15100
|
-
*/
|
|
15101
|
-
static aiBotV1BotsBotCommandsDestroy({
|
|
15102
|
-
id,
|
|
15103
|
-
org
|
|
15104
|
-
}) {
|
|
15105
|
-
return request(OpenAPI, {
|
|
15106
|
-
method: 'DELETE',
|
|
15107
|
-
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
15108
|
-
path: {
|
|
15109
|
-
'id': id,
|
|
15110
|
-
'org': org
|
|
15111
|
-
}
|
|
15112
|
-
});
|
|
15113
|
-
}
|
|
15114
|
-
/**
|
|
15115
|
-
* Create modify and update bot information for a specific tenant.
|
|
15116
|
-
* @returns Bot
|
|
15117
|
-
* @throws ApiError
|
|
15118
|
-
*/
|
|
15119
|
-
static aiBotV1BotsBotRetrieve({
|
|
15120
|
-
id,
|
|
15121
|
-
org
|
|
15122
|
-
}) {
|
|
15123
|
-
return request(OpenAPI, {
|
|
15124
|
-
method: 'GET',
|
|
15125
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
15126
|
-
path: {
|
|
15127
|
-
'id': id,
|
|
15128
|
-
'org': org
|
|
15129
|
-
}
|
|
15130
|
-
});
|
|
15131
|
-
}
|
|
15132
|
-
/**
|
|
15133
|
-
* Create modify and update bot information for a specific tenant.
|
|
15134
|
-
* @returns BotCreate
|
|
15135
|
-
* @throws ApiError
|
|
15136
|
-
*/
|
|
15137
|
-
static aiBotV1BotsBotUpdate({
|
|
15138
|
-
id,
|
|
15139
|
-
org,
|
|
15140
|
-
requestBody
|
|
15141
|
-
}) {
|
|
15142
|
-
return request(OpenAPI, {
|
|
15143
|
-
method: 'PUT',
|
|
15144
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
15145
|
-
path: {
|
|
15146
|
-
'id': id,
|
|
15147
|
-
'org': org
|
|
15148
|
-
},
|
|
15149
|
-
body: requestBody,
|
|
15150
|
-
mediaType: 'application/json'
|
|
15151
|
-
});
|
|
15152
|
-
}
|
|
15153
|
-
/**
|
|
15154
|
-
* Create modify and update bot information for a specific tenant.
|
|
15155
|
-
* @returns BotCreate
|
|
15156
|
-
* @throws ApiError
|
|
15157
|
-
*/
|
|
15158
|
-
static aiBotV1BotsBotPartialUpdate({
|
|
15159
|
-
id,
|
|
15160
|
-
org,
|
|
15161
|
-
requestBody
|
|
15162
|
-
}) {
|
|
15163
|
-
return request(OpenAPI, {
|
|
15164
|
-
method: 'PATCH',
|
|
15165
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
15166
|
-
path: {
|
|
15167
|
-
'id': id,
|
|
15168
|
-
'org': org
|
|
15169
|
-
},
|
|
15170
|
-
body: requestBody,
|
|
15171
|
-
mediaType: 'application/json'
|
|
15172
|
-
});
|
|
15173
|
-
}
|
|
15174
|
-
/**
|
|
15175
|
-
* Create modify and update bot information for a specific tenant.
|
|
15176
|
-
* @returns void
|
|
15177
|
-
* @throws ApiError
|
|
15178
|
-
*/
|
|
15179
|
-
static aiBotV1BotsBotDestroy({
|
|
15180
|
-
id,
|
|
15181
|
-
org
|
|
15182
|
-
}) {
|
|
15183
|
-
return request(OpenAPI, {
|
|
15184
|
-
method: 'DELETE',
|
|
15185
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
15186
|
-
path: {
|
|
15187
|
-
'id': id,
|
|
15188
|
-
'org': org
|
|
15189
|
-
}
|
|
15190
|
-
});
|
|
15191
|
-
}
|
|
15192
|
-
/**
|
|
15193
|
-
* Create modify and update bot information for a specific tenant.
|
|
15194
|
-
* @returns DiscordConfig
|
|
15195
|
-
* @throws ApiError
|
|
15196
|
-
*/
|
|
15197
|
-
static aiBotV1BotsBotConfigDiscordRetrieve({
|
|
15198
|
-
id,
|
|
15199
|
-
org
|
|
15200
|
-
}) {
|
|
15201
|
-
return request(OpenAPI, {
|
|
15202
|
-
method: 'GET',
|
|
15203
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
15204
|
-
path: {
|
|
15205
|
-
'id': id,
|
|
15206
|
-
'org': org
|
|
15207
|
-
}
|
|
15208
|
-
});
|
|
15209
|
-
}
|
|
15210
|
-
/**
|
|
15211
|
-
* Create modify and update bot information for a specific tenant.
|
|
15212
|
-
* @returns DiscordConfig
|
|
15213
|
-
* @throws ApiError
|
|
15214
|
-
*/
|
|
15215
|
-
static aiBotV1BotsBotConfigDiscordPartialUpdate({
|
|
15216
|
-
id,
|
|
15217
|
-
org,
|
|
15218
|
-
requestBody
|
|
15219
|
-
}) {
|
|
15220
|
-
return request(OpenAPI, {
|
|
15221
|
-
method: 'PATCH',
|
|
15222
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
15223
|
-
path: {
|
|
15224
|
-
'id': id,
|
|
15225
|
-
'org': org
|
|
15226
|
-
},
|
|
15227
|
-
body: requestBody,
|
|
15228
|
-
mediaType: 'application/json'
|
|
15229
|
-
});
|
|
15230
|
-
}
|
|
15231
|
-
/**
|
|
15232
|
-
* Create modify and update bot information for a specific tenant.
|
|
15233
|
-
* @returns SlackConfig
|
|
15234
|
-
* @throws ApiError
|
|
15235
|
-
*/
|
|
15236
|
-
static aiBotV1BotsBotConfigSlackRetrieve({
|
|
15237
|
-
id,
|
|
15238
|
-
org
|
|
15239
|
-
}) {
|
|
15240
|
-
return request(OpenAPI, {
|
|
15241
|
-
method: 'GET',
|
|
15242
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
|
|
15243
|
-
path: {
|
|
15244
|
-
'id': id,
|
|
15245
|
-
'org': org
|
|
15246
|
-
}
|
|
15247
|
-
});
|
|
15248
|
-
}
|
|
15249
|
-
/**
|
|
15250
|
-
* Create modify and update bot information for a specific tenant.
|
|
15251
|
-
* @returns SlackConfig
|
|
15252
|
-
* @throws ApiError
|
|
15253
|
-
*/
|
|
15254
|
-
static aiBotV1BotsBotConfigSlackUpdateCreate({
|
|
15255
|
-
id,
|
|
15256
|
-
org,
|
|
15257
|
-
requestBody
|
|
15258
|
-
}) {
|
|
15259
|
-
return request(OpenAPI, {
|
|
15260
|
-
method: 'POST',
|
|
15261
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
15262
|
-
path: {
|
|
15263
|
-
'id': id,
|
|
15264
|
-
'org': org
|
|
15265
|
-
},
|
|
15266
|
-
body: requestBody,
|
|
15267
|
-
mediaType: 'application/json'
|
|
15268
|
-
});
|
|
15269
|
-
}
|
|
15270
|
-
/**
|
|
15271
|
-
* Create modify and update bot information for a specific tenant.
|
|
15272
|
-
* @returns SlackConfig
|
|
15273
|
-
* @throws ApiError
|
|
15274
|
-
*/
|
|
15275
|
-
static aiBotV1BotsBotConfigSlackUpdateUpdate({
|
|
15276
|
-
id,
|
|
15277
|
-
org,
|
|
15278
|
-
requestBody
|
|
15279
|
-
}) {
|
|
15280
|
-
return request(OpenAPI, {
|
|
15281
|
-
method: 'PUT',
|
|
15282
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
15283
|
-
path: {
|
|
15284
|
-
'id': id,
|
|
15285
|
-
'org': org
|
|
15286
|
-
},
|
|
15287
|
-
body: requestBody,
|
|
15288
|
-
mediaType: 'application/json'
|
|
15289
|
-
});
|
|
15290
|
-
}
|
|
15291
|
-
/**
|
|
15292
|
-
* Create modify and update bot information for a specific tenant.
|
|
15293
|
-
* @returns SlackConfig
|
|
15294
|
-
* @throws ApiError
|
|
15295
|
-
*/
|
|
15296
|
-
static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
|
|
15297
|
-
id,
|
|
15298
|
-
org,
|
|
15299
|
-
requestBody
|
|
15300
|
-
}) {
|
|
15301
|
-
return request(OpenAPI, {
|
|
15302
|
-
method: 'PATCH',
|
|
15303
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
15304
|
-
path: {
|
|
15305
|
-
'id': id,
|
|
15306
|
-
'org': org
|
|
15307
|
-
},
|
|
15308
|
-
body: requestBody,
|
|
15309
|
-
mediaType: 'application/json'
|
|
15310
|
-
});
|
|
15311
|
-
}
|
|
15312
|
-
/**
|
|
15313
|
-
* Create modify and update bot information for a specific tenant.
|
|
15314
|
-
* @returns TeamsConfig
|
|
15315
|
-
* @throws ApiError
|
|
15316
|
-
*/
|
|
15317
|
-
static aiBotV1BotsBotConfigTeamsRetrieve({
|
|
15318
|
-
id,
|
|
15319
|
-
org
|
|
15320
|
-
}) {
|
|
15321
|
-
return request(OpenAPI, {
|
|
15322
|
-
method: 'GET',
|
|
15323
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
|
|
15324
|
-
path: {
|
|
15325
|
-
'id': id,
|
|
15326
|
-
'org': org
|
|
15327
|
-
}
|
|
15328
|
-
});
|
|
15329
|
-
}
|
|
15330
|
-
/**
|
|
15331
|
-
* Create modify and update bot information for a specific tenant.
|
|
15332
|
-
* @returns TeamsConfig
|
|
15333
|
-
* @throws ApiError
|
|
15334
|
-
*/
|
|
15335
|
-
static aiBotV1BotsBotConfigTeamsUpdateCreate({
|
|
15336
|
-
id,
|
|
15337
|
-
org,
|
|
15338
|
-
requestBody
|
|
15339
|
-
}) {
|
|
15340
|
-
return request(OpenAPI, {
|
|
15341
|
-
method: 'POST',
|
|
15342
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
15343
|
-
path: {
|
|
15344
|
-
'id': id,
|
|
15345
|
-
'org': org
|
|
15346
|
-
},
|
|
15347
|
-
body: requestBody,
|
|
15348
|
-
mediaType: 'application/json'
|
|
15349
|
-
});
|
|
15350
|
-
}
|
|
15351
|
-
/**
|
|
15352
|
-
* Create modify and update bot information for a specific tenant.
|
|
15353
|
-
* @returns TeamsConfig
|
|
15354
|
-
* @throws ApiError
|
|
15355
|
-
*/
|
|
15356
|
-
static aiBotV1BotsBotConfigTeamsUpdateUpdate({
|
|
15357
|
-
id,
|
|
15358
|
-
org,
|
|
15359
|
-
requestBody
|
|
15360
|
-
}) {
|
|
15361
|
-
return request(OpenAPI, {
|
|
15362
|
-
method: 'PUT',
|
|
15363
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
15364
|
-
path: {
|
|
15365
|
-
'id': id,
|
|
15366
|
-
'org': org
|
|
15367
|
-
},
|
|
15368
|
-
body: requestBody,
|
|
15369
|
-
mediaType: 'application/json'
|
|
15370
|
-
});
|
|
15371
|
-
}
|
|
15372
|
-
/**
|
|
15373
|
-
* Create modify and update bot information for a specific tenant.
|
|
15374
|
-
* @returns TeamsConfig
|
|
15375
|
-
* @throws ApiError
|
|
15376
|
-
*/
|
|
15377
|
-
static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
|
|
15378
|
-
id,
|
|
15379
|
-
org,
|
|
15380
|
-
requestBody
|
|
15381
|
-
}) {
|
|
15382
|
-
return request(OpenAPI, {
|
|
15383
|
-
method: 'PATCH',
|
|
15384
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
15385
|
-
path: {
|
|
15386
|
-
'id': id,
|
|
15387
|
-
'org': org
|
|
15388
|
-
},
|
|
15389
|
-
body: requestBody,
|
|
15390
|
-
mediaType: 'application/json'
|
|
15391
|
-
});
|
|
15392
|
-
}
|
|
15393
|
-
/**
|
|
15394
|
-
* Create modify and update bot information for a specific tenant.
|
|
15395
|
-
* @returns WebexConfig
|
|
15396
|
-
* @throws ApiError
|
|
15397
|
-
*/
|
|
15398
|
-
static aiBotV1BotsBotConfigWebexRetrieve({
|
|
15399
|
-
id,
|
|
15400
|
-
org
|
|
15401
|
-
}) {
|
|
15402
|
-
return request(OpenAPI, {
|
|
15403
|
-
method: 'GET',
|
|
15404
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
15405
|
-
path: {
|
|
15406
|
-
'id': id,
|
|
15407
|
-
'org': org
|
|
15408
|
-
}
|
|
15409
|
-
});
|
|
15410
|
-
}
|
|
15411
|
-
/**
|
|
15412
|
-
* Create modify and update bot information for a specific tenant.
|
|
15413
|
-
* @returns WebexConfig
|
|
15414
|
-
* @throws ApiError
|
|
15415
|
-
*/
|
|
15416
|
-
static aiBotV1BotsBotConfigWebexPartialUpdate({
|
|
15417
|
-
id,
|
|
15418
|
-
org,
|
|
15419
|
-
requestBody
|
|
15420
|
-
}) {
|
|
15421
|
-
return request(OpenAPI, {
|
|
15422
|
-
method: 'PATCH',
|
|
15423
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
15424
|
-
path: {
|
|
15425
|
-
'id': id,
|
|
15426
|
-
'org': org
|
|
15427
|
-
},
|
|
15428
|
-
body: requestBody,
|
|
15429
|
-
mediaType: 'application/json'
|
|
15430
|
-
});
|
|
15431
|
-
}
|
|
15432
|
-
/**
|
|
15433
|
-
* Create modify and update bot information for a specific tenant.
|
|
15434
|
-
* @returns WhatsappConfig
|
|
15435
|
-
* @throws ApiError
|
|
15436
|
-
*/
|
|
15437
|
-
static aiBotV1BotsBotConfigWhatsappRetrieve({
|
|
15438
|
-
id,
|
|
15439
|
-
org
|
|
15440
|
-
}) {
|
|
15441
|
-
return request(OpenAPI, {
|
|
15442
|
-
method: 'GET',
|
|
15443
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
|
|
15444
|
-
path: {
|
|
15445
|
-
'id': id,
|
|
15446
|
-
'org': org
|
|
15447
|
-
}
|
|
15448
|
-
});
|
|
15449
|
-
}
|
|
15450
|
-
/**
|
|
15451
|
-
* Create modify and update bot information for a specific tenant.
|
|
15452
|
-
* @returns WhatsappConfig
|
|
15453
|
-
* @throws ApiError
|
|
15454
|
-
*/
|
|
15455
|
-
static aiBotV1BotsBotWhatsappConfigUpdate({
|
|
15456
|
-
id,
|
|
15457
|
-
org,
|
|
15458
|
-
requestBody
|
|
15459
|
-
}) {
|
|
15460
|
-
return request(OpenAPI, {
|
|
15461
|
-
method: 'PUT',
|
|
15462
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
15463
|
-
path: {
|
|
15464
|
-
'id': id,
|
|
15465
|
-
'org': org
|
|
15466
|
-
},
|
|
15467
|
-
body: requestBody,
|
|
15468
|
-
mediaType: 'application/json'
|
|
15469
|
-
});
|
|
15470
|
-
}
|
|
15471
|
-
/**
|
|
15472
|
-
* Create modify and update bot information for a specific tenant.
|
|
15473
|
-
* @returns WhatsappConfig
|
|
15474
|
-
* @throws ApiError
|
|
15475
|
-
*/
|
|
15476
|
-
static aiBotV1BotsBotWhatsappConfigPartialUpdate({
|
|
15477
|
-
id,
|
|
15478
|
-
org,
|
|
15479
|
-
requestBody
|
|
15480
|
-
}) {
|
|
15481
|
-
return request(OpenAPI, {
|
|
15482
|
-
method: 'PATCH',
|
|
15483
|
-
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
15484
|
-
path: {
|
|
15485
|
-
'id': id,
|
|
15486
|
-
'org': org
|
|
15487
|
-
},
|
|
15488
|
-
body: requestBody,
|
|
15489
|
-
mediaType: 'application/json'
|
|
15490
|
-
});
|
|
15491
|
-
}
|
|
15492
|
-
/**
|
|
15493
|
-
* Setup discord user id linkage with discord bots
|
|
15494
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
15495
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
15496
|
-
* @returns DiscordUserConfig
|
|
15497
|
-
* @throws ApiError
|
|
15498
|
-
*/
|
|
15499
|
-
static aiBotV1BotsDiscordUserConfigList({
|
|
15500
|
-
org
|
|
15501
|
-
}) {
|
|
15502
|
-
return request(OpenAPI, {
|
|
15503
|
-
method: 'GET',
|
|
15504
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
15505
|
-
path: {
|
|
15506
|
-
'org': org
|
|
15507
|
-
}
|
|
15508
|
-
});
|
|
15509
|
-
}
|
|
15510
|
-
/**
|
|
15511
|
-
* Setup discord user id linkage with discord bots
|
|
15512
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
15513
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
15514
|
-
* @returns DiscordUserConfig
|
|
15515
|
-
* @throws ApiError
|
|
15516
|
-
*/
|
|
15517
|
-
static aiBotV1BotsDiscordUserConfigCreate({
|
|
15518
|
-
org,
|
|
15519
|
-
requestBody
|
|
15520
|
-
}) {
|
|
15521
|
-
return request(OpenAPI, {
|
|
15522
|
-
method: 'POST',
|
|
15523
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
15524
|
-
path: {
|
|
15525
|
-
'org': org
|
|
15526
|
-
},
|
|
15527
|
-
body: requestBody,
|
|
15528
|
-
mediaType: 'application/json'
|
|
15529
|
-
});
|
|
15530
|
-
}
|
|
15531
|
-
/**
|
|
15532
|
-
* Setup discord user id linkage with discord bots
|
|
15533
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
15534
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
15535
|
-
* @returns DiscordUserConfig
|
|
15536
|
-
* @throws ApiError
|
|
15537
|
-
*/
|
|
15538
|
-
static aiBotV1BotsDiscordUserConfigRetrieve({
|
|
15539
|
-
id,
|
|
15540
|
-
org
|
|
15541
|
-
}) {
|
|
15542
|
-
return request(OpenAPI, {
|
|
15543
|
-
method: 'GET',
|
|
15544
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
15545
|
-
path: {
|
|
15546
|
-
'id': id,
|
|
15547
|
-
'org': org
|
|
15548
|
-
}
|
|
15549
|
-
});
|
|
15550
|
-
}
|
|
15551
|
-
/**
|
|
15552
|
-
* Setup discord user id linkage with discord bots
|
|
15553
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
15554
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
15555
|
-
* @returns DiscordUserConfig
|
|
15556
|
-
* @throws ApiError
|
|
15557
|
-
*/
|
|
15558
|
-
static aiBotV1BotsDiscordUserConfigUpdate({
|
|
15559
|
-
id,
|
|
15560
|
-
org,
|
|
15561
|
-
requestBody
|
|
15562
|
-
}) {
|
|
15563
|
-
return request(OpenAPI, {
|
|
15564
|
-
method: 'PUT',
|
|
15565
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
15566
|
-
path: {
|
|
15567
|
-
'id': id,
|
|
15568
|
-
'org': org
|
|
15569
|
-
},
|
|
15570
|
-
body: requestBody,
|
|
15571
|
-
mediaType: 'application/json'
|
|
15572
|
-
});
|
|
15573
|
-
}
|
|
15574
|
-
/**
|
|
15575
|
-
* Setup discord user id linkage with discord bots
|
|
15576
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
15577
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
15578
|
-
* @returns DiscordUserConfig
|
|
15579
|
-
* @throws ApiError
|
|
15580
|
-
*/
|
|
15581
|
-
static aiBotV1BotsDiscordUserConfigPartialUpdate({
|
|
15582
|
-
id,
|
|
15583
|
-
org,
|
|
15584
|
-
requestBody
|
|
15585
|
-
}) {
|
|
15586
|
-
return request(OpenAPI, {
|
|
15587
|
-
method: 'PATCH',
|
|
15588
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
15589
|
-
path: {
|
|
15590
|
-
'id': id,
|
|
15591
|
-
'org': org
|
|
15592
|
-
},
|
|
15593
|
-
body: requestBody,
|
|
15594
|
-
mediaType: 'application/json'
|
|
15595
|
-
});
|
|
15596
|
-
}
|
|
15597
|
-
/**
|
|
15598
|
-
* Setup discord user id linkage with discord bots
|
|
15599
|
-
* this will be used to authenticate the user when interracting with discord bots.
|
|
15600
|
-
* the user id can be copied from the discord app after tapping on the user profile.
|
|
15601
|
-
* @returns void
|
|
15602
|
-
* @throws ApiError
|
|
15603
|
-
*/
|
|
15604
|
-
static aiBotV1BotsDiscordUserConfigDestroy({
|
|
15605
|
-
id,
|
|
15606
|
-
org
|
|
15607
|
-
}) {
|
|
15608
|
-
return request(OpenAPI, {
|
|
15609
|
-
method: 'DELETE',
|
|
15610
|
-
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
15611
|
-
path: {
|
|
15612
|
-
'id': id,
|
|
15613
|
-
'org': org
|
|
15614
|
-
}
|
|
15615
|
-
});
|
|
15616
|
-
}
|
|
15617
|
-
/**
|
|
15618
|
-
* Setup slack username and domain linkage with slack bots
|
|
15619
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
15620
|
-
* @returns SlackUserConfig
|
|
15621
|
-
* @throws ApiError
|
|
15622
|
-
*/
|
|
15623
|
-
static aiBotV1BotsSlackUserConfigList({
|
|
15624
|
-
org
|
|
15625
|
-
}) {
|
|
15626
|
-
return request(OpenAPI, {
|
|
15627
|
-
method: 'GET',
|
|
15628
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
15629
|
-
path: {
|
|
15630
|
-
'org': org
|
|
15631
|
-
}
|
|
15632
|
-
});
|
|
15633
|
-
}
|
|
15634
|
-
/**
|
|
15635
|
-
* Setup slack username and domain linkage with slack bots
|
|
15636
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
15637
|
-
* @returns SlackUserConfig
|
|
15638
|
-
* @throws ApiError
|
|
15639
|
-
*/
|
|
15640
|
-
static aiBotV1BotsSlackUserConfigCreate({
|
|
15641
|
-
org,
|
|
15642
|
-
requestBody
|
|
15643
|
-
}) {
|
|
15644
|
-
return request(OpenAPI, {
|
|
15645
|
-
method: 'POST',
|
|
15646
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
15647
|
-
path: {
|
|
15648
|
-
'org': org
|
|
15649
|
-
},
|
|
15650
|
-
body: requestBody,
|
|
15651
|
-
mediaType: 'application/json'
|
|
15652
|
-
});
|
|
15653
|
-
}
|
|
15654
|
-
/**
|
|
15655
|
-
* Setup slack username and domain linkage with slack bots
|
|
15656
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
15657
|
-
* @returns SlackUserConfig
|
|
15658
|
-
* @throws ApiError
|
|
15659
|
-
*/
|
|
15660
|
-
static aiBotV1BotsSlackUserConfigRetrieve({
|
|
15661
|
-
id,
|
|
15662
|
-
org
|
|
15663
|
-
}) {
|
|
15664
|
-
return request(OpenAPI, {
|
|
15665
|
-
method: 'GET',
|
|
15666
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
15667
|
-
path: {
|
|
15668
|
-
'id': id,
|
|
15669
|
-
'org': org
|
|
15670
|
-
}
|
|
15671
|
-
});
|
|
15672
|
-
}
|
|
15673
|
-
/**
|
|
15674
|
-
* Setup slack username and domain linkage with slack bots
|
|
15675
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
15676
|
-
* @returns SlackUserConfig
|
|
15677
|
-
* @throws ApiError
|
|
15678
|
-
*/
|
|
15679
|
-
static aiBotV1BotsSlackUserConfigUpdate({
|
|
15680
|
-
id,
|
|
15681
|
-
org,
|
|
15682
|
-
requestBody
|
|
15683
|
-
}) {
|
|
15684
|
-
return request(OpenAPI, {
|
|
15685
|
-
method: 'PUT',
|
|
15686
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
15687
|
-
path: {
|
|
15688
|
-
'id': id,
|
|
15689
|
-
'org': org
|
|
15690
|
-
},
|
|
15691
|
-
body: requestBody,
|
|
15692
|
-
mediaType: 'application/json'
|
|
15693
|
-
});
|
|
15694
|
-
}
|
|
15695
|
-
/**
|
|
15696
|
-
* Setup slack username and domain linkage with slack bots
|
|
15697
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
15698
|
-
* @returns SlackUserConfig
|
|
15699
|
-
* @throws ApiError
|
|
15700
|
-
*/
|
|
15701
|
-
static aiBotV1BotsSlackUserConfigPartialUpdate({
|
|
15702
|
-
id,
|
|
15703
|
-
org,
|
|
15704
|
-
requestBody
|
|
15705
|
-
}) {
|
|
15706
|
-
return request(OpenAPI, {
|
|
15707
|
-
method: 'PATCH',
|
|
15708
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
15709
|
-
path: {
|
|
15710
|
-
'id': id,
|
|
15711
|
-
'org': org
|
|
15712
|
-
},
|
|
15713
|
-
body: requestBody,
|
|
15714
|
-
mediaType: 'application/json'
|
|
15715
|
-
});
|
|
15716
|
-
}
|
|
15717
|
-
/**
|
|
15718
|
-
* Setup slack username and domain linkage with slack bots
|
|
15719
|
-
* this will be used to authenticate the user when interracting with slack bots.
|
|
15720
|
-
* @returns void
|
|
15721
|
-
* @throws ApiError
|
|
15722
|
-
*/
|
|
15723
|
-
static aiBotV1BotsSlackUserConfigDestroy({
|
|
15724
|
-
id,
|
|
15725
|
-
org
|
|
15726
|
-
}) {
|
|
15727
|
-
return request(OpenAPI, {
|
|
15728
|
-
method: 'DELETE',
|
|
15729
|
-
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
15730
|
-
path: {
|
|
15731
|
-
'id': id,
|
|
15732
|
-
'org': org
|
|
15733
|
-
}
|
|
15734
|
-
});
|
|
15735
|
-
}
|
|
15736
|
-
/**
|
|
15737
|
-
* Setup phone number linkage with whatsapp bots
|
|
15738
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
15739
|
-
* @returns WhatsappUserConfig
|
|
15740
|
-
* @throws ApiError
|
|
15741
|
-
*/
|
|
15742
|
-
static aiBotV1BotsWhatsappUserConfigList({
|
|
15743
|
-
org
|
|
15744
|
-
}) {
|
|
15745
|
-
return request(OpenAPI, {
|
|
15746
|
-
method: 'GET',
|
|
15747
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
15748
|
-
path: {
|
|
15749
|
-
'org': org
|
|
15750
|
-
}
|
|
15751
|
-
});
|
|
15752
|
-
}
|
|
15753
|
-
/**
|
|
15754
|
-
* Setup phone number linkage with whatsapp bots
|
|
15755
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
15756
|
-
* @returns WhatsappUserConfig
|
|
15757
|
-
* @throws ApiError
|
|
15758
|
-
*/
|
|
15759
|
-
static aiBotV1BotsWhatsappUserConfigCreate({
|
|
15760
|
-
org,
|
|
15761
|
-
requestBody
|
|
15762
|
-
}) {
|
|
15763
|
-
return request(OpenAPI, {
|
|
15764
|
-
method: 'POST',
|
|
15765
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
15766
|
-
path: {
|
|
15767
|
-
'org': org
|
|
15768
|
-
},
|
|
15769
|
-
body: requestBody,
|
|
15770
|
-
mediaType: 'application/json'
|
|
15771
|
-
});
|
|
15772
|
-
}
|
|
15773
|
-
/**
|
|
15774
|
-
* Setup phone number linkage with whatsapp bots
|
|
15775
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
15776
|
-
* @returns WhatsappUserConfig
|
|
15777
|
-
* @throws ApiError
|
|
15778
|
-
*/
|
|
15779
|
-
static aiBotV1BotsWhatsappUserConfigRetrieve({
|
|
15780
|
-
id,
|
|
15781
|
-
org
|
|
15782
|
-
}) {
|
|
15783
|
-
return request(OpenAPI, {
|
|
15784
|
-
method: 'GET',
|
|
15785
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
15786
|
-
path: {
|
|
15787
|
-
'id': id,
|
|
15788
|
-
'org': org
|
|
15789
|
-
}
|
|
15790
|
-
});
|
|
15791
|
-
}
|
|
15792
|
-
/**
|
|
15793
|
-
* Setup phone number linkage with whatsapp bots
|
|
15794
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
15795
|
-
* @returns WhatsappUserConfig
|
|
15796
|
-
* @throws ApiError
|
|
15797
|
-
*/
|
|
15798
|
-
static aiBotV1BotsWhatsappUserConfigUpdate({
|
|
15799
|
-
id,
|
|
15800
|
-
org,
|
|
15801
|
-
requestBody
|
|
15802
|
-
}) {
|
|
15803
|
-
return request(OpenAPI, {
|
|
15804
|
-
method: 'PUT',
|
|
15805
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
15806
|
-
path: {
|
|
15807
|
-
'id': id,
|
|
15808
|
-
'org': org
|
|
15809
|
-
},
|
|
15810
|
-
body: requestBody,
|
|
15811
|
-
mediaType: 'application/json'
|
|
15812
|
-
});
|
|
15813
|
-
}
|
|
15814
|
-
/**
|
|
15815
|
-
* Setup phone number linkage with whatsapp bots
|
|
15816
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
15817
|
-
* @returns WhatsappUserConfig
|
|
15818
|
-
* @throws ApiError
|
|
15819
|
-
*/
|
|
15820
|
-
static aiBotV1BotsWhatsappUserConfigPartialUpdate({
|
|
15821
|
-
id,
|
|
15822
|
-
org,
|
|
15823
|
-
requestBody
|
|
15824
|
-
}) {
|
|
15825
|
-
return request(OpenAPI, {
|
|
15826
|
-
method: 'PATCH',
|
|
15827
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
15828
|
-
path: {
|
|
15829
|
-
'id': id,
|
|
15830
|
-
'org': org
|
|
15831
|
-
},
|
|
15832
|
-
body: requestBody,
|
|
15833
|
-
mediaType: 'application/json'
|
|
15834
|
-
});
|
|
15835
|
-
}
|
|
15836
|
-
/**
|
|
15837
|
-
* Setup phone number linkage with whatsapp bots
|
|
15838
|
-
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
15839
|
-
* @returns void
|
|
15840
|
-
* @throws ApiError
|
|
15841
|
-
*/
|
|
15842
|
-
static aiBotV1BotsWhatsappUserConfigDestroy({
|
|
15843
|
-
id,
|
|
15844
|
-
org
|
|
15845
|
-
}) {
|
|
15846
|
-
return request(OpenAPI, {
|
|
15847
|
-
method: 'DELETE',
|
|
15848
|
-
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
15849
|
-
path: {
|
|
15850
|
-
'id': id,
|
|
15851
|
-
'org': org
|
|
15852
|
-
}
|
|
15853
|
-
});
|
|
15854
|
-
}
|
|
15855
|
-
/**
|
|
15856
|
-
* Webhook endpoint to receive and process discord messages.
|
|
15857
|
-
* @returns DiscordWebhook
|
|
15858
|
-
* @throws ApiError
|
|
15859
|
-
*/
|
|
15860
|
-
static aiBotV1BotsWebhooksDiscordCreate({
|
|
15861
|
-
name,
|
|
15862
|
-
org,
|
|
15863
|
-
requestBody
|
|
15864
|
-
}) {
|
|
15865
|
-
return request(OpenAPI, {
|
|
15866
|
-
method: 'POST',
|
|
15867
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
|
|
15868
|
-
path: {
|
|
15869
|
-
'name': name,
|
|
15870
|
-
'org': org
|
|
15871
|
-
},
|
|
15872
|
-
body: requestBody,
|
|
15873
|
-
mediaType: 'application/json'
|
|
15874
|
-
});
|
|
15875
|
-
}
|
|
15876
|
-
/**
|
|
15877
|
-
* @returns SlackWebhook
|
|
15878
|
-
* @throws ApiError
|
|
15879
|
-
*/
|
|
15880
|
-
static aiBotV1BotsWebhooksSlackCreate({
|
|
15881
|
-
name,
|
|
15882
|
-
org,
|
|
15883
|
-
requestBody
|
|
15884
|
-
}) {
|
|
15885
|
-
return request(OpenAPI, {
|
|
15886
|
-
method: 'POST',
|
|
15887
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
|
|
15888
|
-
path: {
|
|
15889
|
-
'name': name,
|
|
15890
|
-
'org': org
|
|
15891
|
-
},
|
|
15892
|
-
body: requestBody,
|
|
15893
|
-
mediaType: 'application/json'
|
|
15894
|
-
});
|
|
15895
|
-
}
|
|
15896
|
-
/**
|
|
15897
|
-
* @returns TeamsWebhook
|
|
15898
|
-
* @throws ApiError
|
|
15899
|
-
*/
|
|
15900
|
-
static aiBotV1BotsWebhooksTeamsRetrieve({
|
|
15901
|
-
name,
|
|
15902
|
-
org
|
|
15903
|
-
}) {
|
|
15904
|
-
return request(OpenAPI, {
|
|
15905
|
-
method: 'GET',
|
|
15906
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
15907
|
-
path: {
|
|
15908
|
-
'name': name,
|
|
15909
|
-
'org': org
|
|
15910
|
-
}
|
|
15911
|
-
});
|
|
15912
|
-
}
|
|
15913
|
-
/**
|
|
15914
|
-
* @returns TeamsWebhook
|
|
15915
|
-
* @throws ApiError
|
|
15916
|
-
*/
|
|
15917
|
-
static aiBotV1BotsWebhooksTeamsCreate({
|
|
15918
|
-
name,
|
|
15919
|
-
org,
|
|
15920
|
-
requestBody
|
|
15921
|
-
}) {
|
|
15922
|
-
return request(OpenAPI, {
|
|
15923
|
-
method: 'POST',
|
|
15924
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
15925
|
-
path: {
|
|
15926
|
-
'name': name,
|
|
15927
|
-
'org': org
|
|
15928
|
-
},
|
|
15929
|
-
body: requestBody,
|
|
15930
|
-
mediaType: 'application/json'
|
|
15931
|
-
});
|
|
15932
|
-
}
|
|
15933
|
-
/**
|
|
15934
|
-
* Webhook endpoint to receive and process discord messages.
|
|
15935
|
-
* @returns WebexWebhook
|
|
15936
|
-
* @throws ApiError
|
|
15937
|
-
*/
|
|
15938
|
-
static aiBotV1BotsWebhooksWebexCreate({
|
|
15939
|
-
name,
|
|
15940
|
-
org,
|
|
15941
|
-
requestBody
|
|
15942
|
-
}) {
|
|
15943
|
-
return request(OpenAPI, {
|
|
15944
|
-
method: 'POST',
|
|
15945
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
|
|
15946
|
-
path: {
|
|
15947
|
-
'name': name,
|
|
15948
|
-
'org': org
|
|
15949
|
-
},
|
|
15950
|
-
body: requestBody,
|
|
15951
|
-
mediaType: 'application/json'
|
|
15952
|
-
});
|
|
15953
|
-
}
|
|
15954
|
-
/**
|
|
15955
|
-
* Respond to whatsapp's webhook challenge.
|
|
15956
|
-
* Parameters Required include the tenant key (org) and the name of the bot: (name)
|
|
15957
|
-
* @returns WhatAppWebHook
|
|
15958
|
-
* @throws ApiError
|
|
15959
|
-
*/
|
|
15960
|
-
static aiBotV1BotsWebhooksWhatsappRetrieve({
|
|
15961
|
-
name,
|
|
15962
|
-
org
|
|
15963
|
-
}) {
|
|
15964
|
-
return request(OpenAPI, {
|
|
15965
|
-
method: 'GET',
|
|
15966
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
15967
|
-
path: {
|
|
15968
|
-
'name': name,
|
|
15969
|
-
'org': org
|
|
15970
|
-
}
|
|
15971
|
-
});
|
|
15972
|
-
}
|
|
15973
|
-
/**
|
|
15974
|
-
* Accept and process webhook events from whatsapp.
|
|
15975
|
-
* @returns WhatAppWebHook
|
|
15976
|
-
* @throws ApiError
|
|
15977
|
-
*/
|
|
15978
|
-
static aiBotV1BotsWebhooksWhatsappCreate({
|
|
15979
|
-
name,
|
|
15980
|
-
org,
|
|
15981
|
-
requestBody
|
|
15982
|
-
}) {
|
|
15983
|
-
return request(OpenAPI, {
|
|
15984
|
-
method: 'POST',
|
|
15985
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
15986
|
-
path: {
|
|
15987
|
-
'name': name,
|
|
15988
|
-
'org': org
|
|
15989
|
-
},
|
|
15990
|
-
body: requestBody,
|
|
15991
|
-
mediaType: 'application/json'
|
|
15992
|
-
});
|
|
15993
|
-
}
|
|
15994
|
-
}
|
|
15995
|
-
|
|
15996
14939
|
class AiIndexService {
|
|
15997
14940
|
/**
|
|
15998
14941
|
* Retrieve details of a specific document embedding.
|
|
@@ -52758,7 +51701,6 @@ class V1StudioService {
|
|
|
52758
51701
|
|
|
52759
51702
|
exports.AiAccountService = AiAccountService;
|
|
52760
51703
|
exports.AiAnalyticsService = AiAnalyticsService;
|
|
52761
|
-
exports.AiBotService = AiBotService;
|
|
52762
51704
|
exports.AiIndexService = AiIndexService;
|
|
52763
51705
|
exports.AiMarketingService = AiMarketingService;
|
|
52764
51706
|
exports.AiMediaService = AiMediaService;
|