@iblai/iblai-api 3.48.2-ai → 3.48.2-ai-plus

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.
Files changed (92) hide show
  1. package/dist/index.cjs.js +1345 -9
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +1344 -10
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +1345 -9
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +40 -1
  8. package/dist/types/models/Bot.d.ts +15 -0
  9. package/dist/types/models/BotCommand.d.ts +6 -0
  10. package/dist/types/models/BotCreate.d.ts +12 -0
  11. package/dist/types/models/DataSet.d.ts +21 -0
  12. package/dist/types/models/DataSetCreate.d.ts +12 -0
  13. package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
  14. package/dist/types/models/DiscordConfig.d.ts +7 -0
  15. package/dist/types/models/DiscordUserConfig.d.ts +10 -0
  16. package/dist/types/models/DiscordWebhook.d.ts +6 -0
  17. package/dist/types/models/PaginatedDataSetList.d.ts +7 -0
  18. package/dist/types/models/PaginatedTrainingList.d.ts +7 -0
  19. package/dist/types/models/PatchedBotCommand.d.ts +6 -0
  20. package/dist/types/models/PatchedBotCreate.d.ts +12 -0
  21. package/dist/types/models/PatchedDataSet.d.ts +21 -0
  22. package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
  23. package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
  24. package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
  25. package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
  26. package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
  27. package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
  28. package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
  29. package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
  30. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
  31. package/dist/types/models/Provider05cEnum.d.ts +14 -0
  32. package/dist/types/models/Provider63aEnum.d.ts +6 -0
  33. package/dist/types/models/SlackConfig.d.ts +8 -0
  34. package/dist/types/models/SlackUserConfig.d.ts +17 -0
  35. package/dist/types/models/SlackWebhook.d.ts +6 -0
  36. package/dist/types/models/TeamsConfig.d.ts +7 -0
  37. package/dist/types/models/TeamsWebhook.d.ts +17 -0
  38. package/dist/types/models/Training.d.ts +41 -0
  39. package/dist/types/models/TrainingCreate.d.ts +31 -0
  40. package/dist/types/models/Voice.d.ts +2 -2
  41. package/dist/types/models/{ProviderEnum.d.ts → VoiceProviderEnum.d.ts} +1 -1
  42. package/dist/types/models/WebexConfig.d.ts +10 -0
  43. package/dist/types/models/WebexWebhook.d.ts +4 -0
  44. package/dist/types/models/WhatAppWebHook.d.ts +3 -0
  45. package/dist/types/models/WhatsappConfig.d.ts +11 -0
  46. package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
  47. package/dist/types/services/AiBotService.d.ts +486 -0
  48. package/dist/types/services/AiFinetuningService.d.ts +162 -0
  49. package/package.json +1 -1
  50. package/src/core/OpenAPI.ts +1 -1
  51. package/src/index.ts +40 -1
  52. package/src/models/Bot.ts +20 -0
  53. package/src/models/BotCommand.ts +11 -0
  54. package/src/models/BotCreate.ts +17 -0
  55. package/src/models/DataSet.ts +26 -0
  56. package/src/models/DataSetCreate.ts +17 -0
  57. package/src/models/DataSetStatusEnum.ts +16 -0
  58. package/src/models/DiscordConfig.ts +12 -0
  59. package/src/models/DiscordUserConfig.ts +15 -0
  60. package/src/models/DiscordWebhook.ts +11 -0
  61. package/src/models/PaginatedDataSetList.ts +12 -0
  62. package/src/models/PaginatedTrainingList.ts +12 -0
  63. package/src/models/PatchedBotCommand.ts +11 -0
  64. package/src/models/PatchedBotCreate.ts +17 -0
  65. package/src/models/PatchedDataSet.ts +26 -0
  66. package/src/models/PatchedDiscordConfig.ts +12 -0
  67. package/src/models/PatchedDiscordUserConfig.ts +15 -0
  68. package/src/models/PatchedSlackConfig.ts +13 -0
  69. package/src/models/PatchedSlackUserConfig.ts +22 -0
  70. package/src/models/PatchedTeamsConfig.ts +12 -0
  71. package/src/models/PatchedTrainingCreate.ts +36 -0
  72. package/src/models/PatchedWebexConfig.ts +15 -0
  73. package/src/models/PatchedWhatsappConfig.ts +16 -0
  74. package/src/models/PatchedWhatsappUserConfig.ts +15 -0
  75. package/src/models/Provider05cEnum.ts +18 -0
  76. package/src/models/Provider63aEnum.ts +10 -0
  77. package/src/models/SlackConfig.ts +13 -0
  78. package/src/models/SlackUserConfig.ts +22 -0
  79. package/src/models/SlackWebhook.ts +11 -0
  80. package/src/models/TeamsConfig.ts +12 -0
  81. package/src/models/TeamsWebhook.ts +22 -0
  82. package/src/models/Training.ts +46 -0
  83. package/src/models/TrainingCreate.ts +36 -0
  84. package/src/models/Voice.ts +2 -2
  85. package/src/models/{ProviderEnum.ts → VoiceProviderEnum.ts} +1 -1
  86. package/src/models/WebexConfig.ts +15 -0
  87. package/src/models/WebexWebhook.ts +9 -0
  88. package/src/models/WhatAppWebHook.ts +8 -0
  89. package/src/models/WhatsappConfig.ts +16 -0
  90. package/src/models/WhatsappUserConfig.ts +15 -0
  91. package/src/services/AiBotService.ts +1174 -0
  92. package/src/services/AiFinetuningService.ts +402 -0
@@ -0,0 +1,17 @@
1
+ export type SlackUserConfig = {
2
+ readonly id: number;
3
+ /**
4
+ * edX user ID
5
+ */
6
+ readonly user: number;
7
+ /**
8
+ * Team Domain in the stated slack workspace. This is also the workspace name.
9
+ */
10
+ slack_team_domain: string;
11
+ /**
12
+ * Username in the stated slack workspace
13
+ */
14
+ slack_username: string;
15
+ readonly date_created: string;
16
+ readonly last_modified: string;
17
+ };
@@ -0,0 +1,6 @@
1
+ export type SlackWebhook = {
2
+ type: string;
3
+ event: Record<string, any>;
4
+ command: string;
5
+ response_url: string;
6
+ };
@@ -0,0 +1,7 @@
1
+ export type TeamsConfig = {
2
+ readonly id: number;
3
+ readonly bot: number;
4
+ client_id: string;
5
+ client_secret: string;
6
+ verification_token?: string;
7
+ };
@@ -0,0 +1,17 @@
1
+ export type TeamsWebhook = {
2
+ id?: string | null;
3
+ type?: string | null;
4
+ channelData?: Record<string, any> | null;
5
+ entities?: Array<any> | null;
6
+ text?: string | null;
7
+ locale?: string | null;
8
+ textFormat?: string | null;
9
+ recipient?: Record<string, any> | null;
10
+ conversation?: Record<string, any> | null;
11
+ from_?: Record<string, any> | null;
12
+ channelId?: string | null;
13
+ serviceUrl?: string | null;
14
+ localTimezone?: string | null;
15
+ localTimestamp?: string | null;
16
+ timestamp?: string | null;
17
+ };
@@ -0,0 +1,41 @@
1
+ import type { DataSet } from './DataSet';
2
+ import type { Provider63aEnum } from './Provider63aEnum';
3
+ import type { TrainingStatusEnum } from './TrainingStatusEnum';
4
+ export type Training = {
5
+ id?: string;
6
+ dataset: DataSet;
7
+ project_name: string;
8
+ metadata?: any;
9
+ status?: TrainingStatusEnum;
10
+ retry_attempts?: number;
11
+ fine_tuned_model?: string;
12
+ provider?: Provider63aEnum;
13
+ base_model_name: string;
14
+ text_column?: string;
15
+ learning_rate?: number;
16
+ batch_size?: number;
17
+ num_epochs?: number;
18
+ block_size?: number;
19
+ warmup_ratio?: number;
20
+ lora_r?: number;
21
+ lora_alpha?: number;
22
+ lora_dropout?: number;
23
+ weight_decay?: number;
24
+ gradient_accumulation?: number;
25
+ use_peft?: boolean;
26
+ use_fp16?: boolean;
27
+ use_int4?: boolean;
28
+ push_to_hub?: boolean;
29
+ repo_id?: string;
30
+ preprocess_dataset?: boolean;
31
+ prompt_column?: string;
32
+ response_column?: string;
33
+ prompt_prefix?: string;
34
+ prompt_suffix?: string;
35
+ response_prefix?: string;
36
+ response_suffix?: string;
37
+ error_log?: string;
38
+ readonly date_created: string;
39
+ readonly last_modified: string;
40
+ platform: number;
41
+ };
@@ -0,0 +1,31 @@
1
+ import type { Provider63aEnum } from './Provider63aEnum';
2
+ export type TrainingCreate = {
3
+ readonly id: string;
4
+ project_name: string;
5
+ dataset: string;
6
+ base_model_name: string;
7
+ provider?: Provider63aEnum;
8
+ text_column?: string;
9
+ learning_rate?: number;
10
+ batch_size?: number;
11
+ num_epochs?: number;
12
+ block_size?: number;
13
+ warmup_ratio?: number;
14
+ lora_r?: number;
15
+ lora_alpha?: number;
16
+ lora_dropout?: number;
17
+ weight_decay?: number;
18
+ gradient_accumulation?: number;
19
+ use_peft?: boolean;
20
+ use_fp16?: boolean;
21
+ use_int4?: boolean;
22
+ push_to_hub?: boolean;
23
+ repo_id?: string;
24
+ preprocess_dataset?: boolean;
25
+ prompt_column?: string;
26
+ prompt_prefix?: string;
27
+ prompt_suffix?: string;
28
+ response_prefix?: string;
29
+ readonly date_created: string;
30
+ readonly last_modified: string;
31
+ };
@@ -1,8 +1,8 @@
1
- import type { ProviderEnum } from './ProviderEnum';
1
+ import type { VoiceProviderEnum } from './VoiceProviderEnum';
2
2
  export type Voice = {
3
3
  readonly id: number;
4
4
  name: string;
5
- provider: ProviderEnum;
5
+ provider: VoiceProviderEnum;
6
6
  language?: string;
7
7
  description?: string;
8
8
  readonly audio_url: string;
@@ -3,7 +3,7 @@
3
3
  * * `google` - Google
4
4
  * * `elevenlabs` - Elevenlabs
5
5
  */
6
- export declare enum ProviderEnum {
6
+ export declare enum VoiceProviderEnum {
7
7
  OPENAI = "openai",
8
8
  GOOGLE = "google",
9
9
  ELEVENLABS = "elevenlabs"
@@ -0,0 +1,10 @@
1
+ export type WebexConfig = {
2
+ readonly id: number;
3
+ readonly bot: number;
4
+ /**
5
+ * Bot id from webex
6
+ */
7
+ webex_bot_id: string;
8
+ bot_access_token: string;
9
+ bot_username: string;
10
+ };
@@ -0,0 +1,4 @@
1
+ export type WebexWebhook = {
2
+ data: Record<string, any>;
3
+ resource: string;
4
+ };
@@ -0,0 +1,3 @@
1
+ export type WhatAppWebHook = {
2
+ entry: Array<Record<string, any>>;
3
+ };
@@ -0,0 +1,11 @@
1
+ export type WhatsappConfig = {
2
+ readonly id: number;
3
+ readonly bot: number;
4
+ phone_number_id: string;
5
+ application_secret: string;
6
+ webhook_verification_token: string;
7
+ /**
8
+ * Access token to the bot. This can also be a temporary access token.
9
+ */
10
+ access_token: string;
11
+ };
@@ -0,0 +1,10 @@
1
+ export type WhatsappUserConfig = {
2
+ readonly id: number;
3
+ /**
4
+ * edX user ID
5
+ */
6
+ readonly user: number;
7
+ phone_number: string;
8
+ readonly date_created: string;
9
+ readonly last_modified: string;
10
+ };
@@ -0,0 +1,486 @@
1
+ import type { Bot } from '../models/Bot';
2
+ import type { BotCommand } from '../models/BotCommand';
3
+ import type { BotCreate } from '../models/BotCreate';
4
+ import type { DiscordConfig } from '../models/DiscordConfig';
5
+ import type { DiscordUserConfig } from '../models/DiscordUserConfig';
6
+ import type { DiscordWebhook } from '../models/DiscordWebhook';
7
+ import type { PatchedBotCommand } from '../models/PatchedBotCommand';
8
+ import type { PatchedBotCreate } from '../models/PatchedBotCreate';
9
+ import type { PatchedDiscordConfig } from '../models/PatchedDiscordConfig';
10
+ import type { PatchedDiscordUserConfig } from '../models/PatchedDiscordUserConfig';
11
+ import type { PatchedSlackConfig } from '../models/PatchedSlackConfig';
12
+ import type { PatchedSlackUserConfig } from '../models/PatchedSlackUserConfig';
13
+ import type { PatchedTeamsConfig } from '../models/PatchedTeamsConfig';
14
+ import type { PatchedWebexConfig } from '../models/PatchedWebexConfig';
15
+ import type { PatchedWhatsappConfig } from '../models/PatchedWhatsappConfig';
16
+ import type { PatchedWhatsappUserConfig } from '../models/PatchedWhatsappUserConfig';
17
+ import type { SlackConfig } from '../models/SlackConfig';
18
+ import type { SlackUserConfig } from '../models/SlackUserConfig';
19
+ import type { SlackWebhook } from '../models/SlackWebhook';
20
+ import type { TeamsConfig } from '../models/TeamsConfig';
21
+ import type { TeamsWebhook } from '../models/TeamsWebhook';
22
+ import type { WebexConfig } from '../models/WebexConfig';
23
+ import type { WebexWebhook } from '../models/WebexWebhook';
24
+ import type { WhatAppWebHook } from '../models/WhatAppWebHook';
25
+ import type { WhatsappConfig } from '../models/WhatsappConfig';
26
+ import type { WhatsappUserConfig } from '../models/WhatsappUserConfig';
27
+ import type { CancelablePromise } from '../core/CancelablePromise';
28
+ export declare class AiBotService {
29
+ /**
30
+ * Create modify and update bot information for a specific tenant.
31
+ * @param org
32
+ * @returns Bot
33
+ * @throws ApiError
34
+ */
35
+ static aiBotV1BotsBotList(org: string): CancelablePromise<Array<Bot>>;
36
+ /**
37
+ * Create modify and update bot information for a specific tenant.
38
+ * @param org
39
+ * @param requestBody
40
+ * @returns BotCreate
41
+ * @throws ApiError
42
+ */
43
+ static aiBotV1BotsBotCreate(org: string, requestBody: BotCreate): CancelablePromise<BotCreate>;
44
+ /**
45
+ * Create slash commands for a specific bot
46
+ * eg. /iblai-baseline
47
+ * @param org
48
+ * @returns BotCommand
49
+ * @throws ApiError
50
+ */
51
+ static aiBotV1BotsBotCommandsList(org: string): CancelablePromise<Array<BotCommand>>;
52
+ /**
53
+ * Create slash commands for a specific bot
54
+ * eg. /iblai-baseline
55
+ * @param org
56
+ * @param requestBody
57
+ * @returns BotCommand
58
+ * @throws ApiError
59
+ */
60
+ static aiBotV1BotsBotCommandsCreate(org: string, requestBody: BotCommand): CancelablePromise<BotCommand>;
61
+ /**
62
+ * Create slash commands for a specific bot
63
+ * eg. /iblai-baseline
64
+ * @param id A unique integer value identifying this bot command.
65
+ * @param org
66
+ * @returns BotCommand
67
+ * @throws ApiError
68
+ */
69
+ static aiBotV1BotsBotCommandsRetrieve(id: number, org: string): CancelablePromise<BotCommand>;
70
+ /**
71
+ * Create slash commands for a specific bot
72
+ * eg. /iblai-baseline
73
+ * @param id A unique integer value identifying this bot command.
74
+ * @param org
75
+ * @param requestBody
76
+ * @returns BotCommand
77
+ * @throws ApiError
78
+ */
79
+ static aiBotV1BotsBotCommandsUpdate(id: number, org: string, requestBody: BotCommand): CancelablePromise<BotCommand>;
80
+ /**
81
+ * Create slash commands for a specific bot
82
+ * eg. /iblai-baseline
83
+ * @param id A unique integer value identifying this bot command.
84
+ * @param org
85
+ * @param requestBody
86
+ * @returns BotCommand
87
+ * @throws ApiError
88
+ */
89
+ static aiBotV1BotsBotCommandsPartialUpdate(id: number, org: string, requestBody?: PatchedBotCommand): CancelablePromise<BotCommand>;
90
+ /**
91
+ * Create slash commands for a specific bot
92
+ * eg. /iblai-baseline
93
+ * @param id A unique integer value identifying this bot command.
94
+ * @param org
95
+ * @returns void
96
+ * @throws ApiError
97
+ */
98
+ static aiBotV1BotsBotCommandsDestroy(id: number, org: string): CancelablePromise<void>;
99
+ /**
100
+ * Create modify and update bot information for a specific tenant.
101
+ * @param id A unique integer value identifying this bot.
102
+ * @param org
103
+ * @returns Bot
104
+ * @throws ApiError
105
+ */
106
+ static aiBotV1BotsBotRetrieve(id: number, org: string): CancelablePromise<Bot>;
107
+ /**
108
+ * Create modify and update bot information for a specific tenant.
109
+ * @param id A unique integer value identifying this bot.
110
+ * @param org
111
+ * @param requestBody
112
+ * @returns BotCreate
113
+ * @throws ApiError
114
+ */
115
+ static aiBotV1BotsBotUpdate(id: number, org: string, requestBody: BotCreate): CancelablePromise<BotCreate>;
116
+ /**
117
+ * Create modify and update bot information for a specific tenant.
118
+ * @param id A unique integer value identifying this bot.
119
+ * @param org
120
+ * @param requestBody
121
+ * @returns BotCreate
122
+ * @throws ApiError
123
+ */
124
+ static aiBotV1BotsBotPartialUpdate(id: number, org: string, requestBody?: PatchedBotCreate): CancelablePromise<BotCreate>;
125
+ /**
126
+ * Create modify and update bot information for a specific tenant.
127
+ * @param id A unique integer value identifying this bot.
128
+ * @param org
129
+ * @returns void
130
+ * @throws ApiError
131
+ */
132
+ static aiBotV1BotsBotDestroy(id: number, org: string): CancelablePromise<void>;
133
+ /**
134
+ * Create modify and update bot information for a specific tenant.
135
+ * @param id A unique integer value identifying this bot.
136
+ * @param org
137
+ * @returns DiscordConfig
138
+ * @throws ApiError
139
+ */
140
+ static aiBotV1BotsBotConfigDiscordRetrieve(id: number, org: string): CancelablePromise<DiscordConfig>;
141
+ /**
142
+ * Create modify and update bot information for a specific tenant.
143
+ * @param id A unique integer value identifying this bot.
144
+ * @param org
145
+ * @param requestBody
146
+ * @returns DiscordConfig
147
+ * @throws ApiError
148
+ */
149
+ static aiBotV1BotsBotConfigDiscordPartialUpdate(id: number, org: string, requestBody?: PatchedDiscordConfig): CancelablePromise<DiscordConfig>;
150
+ /**
151
+ * Create modify and update bot information for a specific tenant.
152
+ * @param id A unique integer value identifying this bot.
153
+ * @param org
154
+ * @returns SlackConfig
155
+ * @throws ApiError
156
+ */
157
+ static aiBotV1BotsBotConfigSlackRetrieve(id: number, org: string): CancelablePromise<SlackConfig>;
158
+ /**
159
+ * Create modify and update bot information for a specific tenant.
160
+ * @param id A unique integer value identifying this bot.
161
+ * @param org
162
+ * @param requestBody
163
+ * @returns SlackConfig
164
+ * @throws ApiError
165
+ */
166
+ static aiBotV1BotsBotConfigSlackUpdateCreate(id: number, org: string, requestBody: SlackConfig): CancelablePromise<SlackConfig>;
167
+ /**
168
+ * Create modify and update bot information for a specific tenant.
169
+ * @param id A unique integer value identifying this bot.
170
+ * @param org
171
+ * @param requestBody
172
+ * @returns SlackConfig
173
+ * @throws ApiError
174
+ */
175
+ static aiBotV1BotsBotConfigSlackUpdateUpdate(id: number, org: string, requestBody: SlackConfig): CancelablePromise<SlackConfig>;
176
+ /**
177
+ * Create modify and update bot information for a specific tenant.
178
+ * @param id A unique integer value identifying this bot.
179
+ * @param org
180
+ * @param requestBody
181
+ * @returns SlackConfig
182
+ * @throws ApiError
183
+ */
184
+ static aiBotV1BotsBotConfigSlackUpdatePartialUpdate(id: number, org: string, requestBody?: PatchedSlackConfig): CancelablePromise<SlackConfig>;
185
+ /**
186
+ * Create modify and update bot information for a specific tenant.
187
+ * @param id A unique integer value identifying this bot.
188
+ * @param org
189
+ * @returns TeamsConfig
190
+ * @throws ApiError
191
+ */
192
+ static aiBotV1BotsBotConfigTeamsRetrieve(id: number, org: string): CancelablePromise<TeamsConfig>;
193
+ /**
194
+ * Create modify and update bot information for a specific tenant.
195
+ * @param id A unique integer value identifying this bot.
196
+ * @param org
197
+ * @param requestBody
198
+ * @returns TeamsConfig
199
+ * @throws ApiError
200
+ */
201
+ static aiBotV1BotsBotConfigTeamsUpdateCreate(id: number, org: string, requestBody: TeamsConfig): CancelablePromise<TeamsConfig>;
202
+ /**
203
+ * Create modify and update bot information for a specific tenant.
204
+ * @param id A unique integer value identifying this bot.
205
+ * @param org
206
+ * @param requestBody
207
+ * @returns TeamsConfig
208
+ * @throws ApiError
209
+ */
210
+ static aiBotV1BotsBotConfigTeamsUpdateUpdate(id: number, org: string, requestBody: TeamsConfig): CancelablePromise<TeamsConfig>;
211
+ /**
212
+ * Create modify and update bot information for a specific tenant.
213
+ * @param id A unique integer value identifying this bot.
214
+ * @param org
215
+ * @param requestBody
216
+ * @returns TeamsConfig
217
+ * @throws ApiError
218
+ */
219
+ static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate(id: number, org: string, requestBody?: PatchedTeamsConfig): CancelablePromise<TeamsConfig>;
220
+ /**
221
+ * Create modify and update bot information for a specific tenant.
222
+ * @param id A unique integer value identifying this bot.
223
+ * @param org
224
+ * @returns WebexConfig
225
+ * @throws ApiError
226
+ */
227
+ static aiBotV1BotsBotConfigWebexRetrieve(id: number, org: string): CancelablePromise<WebexConfig>;
228
+ /**
229
+ * Create modify and update bot information for a specific tenant.
230
+ * @param id A unique integer value identifying this bot.
231
+ * @param org
232
+ * @param requestBody
233
+ * @returns WebexConfig
234
+ * @throws ApiError
235
+ */
236
+ static aiBotV1BotsBotConfigWebexPartialUpdate(id: number, org: string, requestBody?: PatchedWebexConfig): CancelablePromise<WebexConfig>;
237
+ /**
238
+ * Create modify and update bot information for a specific tenant.
239
+ * @param id A unique integer value identifying this bot.
240
+ * @param org
241
+ * @returns WhatsappConfig
242
+ * @throws ApiError
243
+ */
244
+ static aiBotV1BotsBotConfigWhatsappRetrieve(id: number, org: string): CancelablePromise<WhatsappConfig>;
245
+ /**
246
+ * Create modify and update bot information for a specific tenant.
247
+ * @param id A unique integer value identifying this bot.
248
+ * @param org
249
+ * @param requestBody
250
+ * @returns WhatsappConfig
251
+ * @throws ApiError
252
+ */
253
+ static aiBotV1BotsBotWhatsappConfigUpdate(id: number, org: string, requestBody: WhatsappConfig): CancelablePromise<WhatsappConfig>;
254
+ /**
255
+ * Create modify and update bot information for a specific tenant.
256
+ * @param id A unique integer value identifying this bot.
257
+ * @param org
258
+ * @param requestBody
259
+ * @returns WhatsappConfig
260
+ * @throws ApiError
261
+ */
262
+ static aiBotV1BotsBotWhatsappConfigPartialUpdate(id: number, org: string, requestBody?: PatchedWhatsappConfig): CancelablePromise<WhatsappConfig>;
263
+ /**
264
+ * Setup discord user id linkage with discord bots
265
+ * this will be used to authenticate the user when interracting with discord bots.
266
+ * the user id can be copied from the discord app after tapping on the user profile.
267
+ * @param org
268
+ * @returns DiscordUserConfig
269
+ * @throws ApiError
270
+ */
271
+ static aiBotV1BotsDiscordUserConfigList(org: string): CancelablePromise<Array<DiscordUserConfig>>;
272
+ /**
273
+ * Setup discord user id linkage with discord bots
274
+ * this will be used to authenticate the user when interracting with discord bots.
275
+ * the user id can be copied from the discord app after tapping on the user profile.
276
+ * @param org
277
+ * @param requestBody
278
+ * @returns DiscordUserConfig
279
+ * @throws ApiError
280
+ */
281
+ static aiBotV1BotsDiscordUserConfigCreate(org: string, requestBody: DiscordUserConfig): CancelablePromise<DiscordUserConfig>;
282
+ /**
283
+ * Setup discord user id linkage with discord bots
284
+ * this will be used to authenticate the user when interracting with discord bots.
285
+ * the user id can be copied from the discord app after tapping on the user profile.
286
+ * @param id A unique integer value identifying this discord user config.
287
+ * @param org
288
+ * @returns DiscordUserConfig
289
+ * @throws ApiError
290
+ */
291
+ static aiBotV1BotsDiscordUserConfigRetrieve(id: number, org: string): CancelablePromise<DiscordUserConfig>;
292
+ /**
293
+ * Setup discord user id linkage with discord bots
294
+ * this will be used to authenticate the user when interracting with discord bots.
295
+ * the user id can be copied from the discord app after tapping on the user profile.
296
+ * @param id A unique integer value identifying this discord user config.
297
+ * @param org
298
+ * @param requestBody
299
+ * @returns DiscordUserConfig
300
+ * @throws ApiError
301
+ */
302
+ static aiBotV1BotsDiscordUserConfigUpdate(id: number, org: string, requestBody: DiscordUserConfig): CancelablePromise<DiscordUserConfig>;
303
+ /**
304
+ * Setup discord user id linkage with discord bots
305
+ * this will be used to authenticate the user when interracting with discord bots.
306
+ * the user id can be copied from the discord app after tapping on the user profile.
307
+ * @param id A unique integer value identifying this discord user config.
308
+ * @param org
309
+ * @param requestBody
310
+ * @returns DiscordUserConfig
311
+ * @throws ApiError
312
+ */
313
+ static aiBotV1BotsDiscordUserConfigPartialUpdate(id: number, org: string, requestBody?: PatchedDiscordUserConfig): CancelablePromise<DiscordUserConfig>;
314
+ /**
315
+ * Setup discord user id linkage with discord bots
316
+ * this will be used to authenticate the user when interracting with discord bots.
317
+ * the user id can be copied from the discord app after tapping on the user profile.
318
+ * @param id A unique integer value identifying this discord user config.
319
+ * @param org
320
+ * @returns void
321
+ * @throws ApiError
322
+ */
323
+ static aiBotV1BotsDiscordUserConfigDestroy(id: number, org: string): CancelablePromise<void>;
324
+ /**
325
+ * Setup slack username and domain linkage with slack bots
326
+ * this will be used to authenticate the user when interracting with slack bots.
327
+ * @param org
328
+ * @returns SlackUserConfig
329
+ * @throws ApiError
330
+ */
331
+ static aiBotV1BotsSlackUserConfigList(org: string): CancelablePromise<Array<SlackUserConfig>>;
332
+ /**
333
+ * Setup slack username and domain linkage with slack bots
334
+ * this will be used to authenticate the user when interracting with slack bots.
335
+ * @param org
336
+ * @param requestBody
337
+ * @returns SlackUserConfig
338
+ * @throws ApiError
339
+ */
340
+ static aiBotV1BotsSlackUserConfigCreate(org: string, requestBody: SlackUserConfig): CancelablePromise<SlackUserConfig>;
341
+ /**
342
+ * Setup slack username and domain linkage with slack bots
343
+ * this will be used to authenticate the user when interracting with slack bots.
344
+ * @param id A unique integer value identifying this slack user config.
345
+ * @param org
346
+ * @returns SlackUserConfig
347
+ * @throws ApiError
348
+ */
349
+ static aiBotV1BotsSlackUserConfigRetrieve(id: number, org: string): CancelablePromise<SlackUserConfig>;
350
+ /**
351
+ * Setup slack username and domain linkage with slack bots
352
+ * this will be used to authenticate the user when interracting with slack bots.
353
+ * @param id A unique integer value identifying this slack user config.
354
+ * @param org
355
+ * @param requestBody
356
+ * @returns SlackUserConfig
357
+ * @throws ApiError
358
+ */
359
+ static aiBotV1BotsSlackUserConfigUpdate(id: number, org: string, requestBody: SlackUserConfig): CancelablePromise<SlackUserConfig>;
360
+ /**
361
+ * Setup slack username and domain linkage with slack bots
362
+ * this will be used to authenticate the user when interracting with slack bots.
363
+ * @param id A unique integer value identifying this slack user config.
364
+ * @param org
365
+ * @param requestBody
366
+ * @returns SlackUserConfig
367
+ * @throws ApiError
368
+ */
369
+ static aiBotV1BotsSlackUserConfigPartialUpdate(id: number, org: string, requestBody?: PatchedSlackUserConfig): CancelablePromise<SlackUserConfig>;
370
+ /**
371
+ * Setup slack username and domain linkage with slack bots
372
+ * this will be used to authenticate the user when interracting with slack bots.
373
+ * @param id A unique integer value identifying this slack user config.
374
+ * @param org
375
+ * @returns void
376
+ * @throws ApiError
377
+ */
378
+ static aiBotV1BotsSlackUserConfigDestroy(id: number, org: string): CancelablePromise<void>;
379
+ /**
380
+ * Setup phone number linkage with whatsapp bots
381
+ * This phone number will be used to authenticate and allow access to whatsapp bots.
382
+ * @param org
383
+ * @returns WhatsappUserConfig
384
+ * @throws ApiError
385
+ */
386
+ static aiBotV1BotsWhatsappUserConfigList(org: string): CancelablePromise<Array<WhatsappUserConfig>>;
387
+ /**
388
+ * Setup phone number linkage with whatsapp bots
389
+ * This phone number will be used to authenticate and allow access to whatsapp bots.
390
+ * @param org
391
+ * @param requestBody
392
+ * @returns WhatsappUserConfig
393
+ * @throws ApiError
394
+ */
395
+ static aiBotV1BotsWhatsappUserConfigCreate(org: string, requestBody: WhatsappUserConfig): CancelablePromise<WhatsappUserConfig>;
396
+ /**
397
+ * Setup phone number linkage with whatsapp bots
398
+ * This phone number will be used to authenticate and allow access to whatsapp bots.
399
+ * @param id A unique integer value identifying this whatsapp user config.
400
+ * @param org
401
+ * @returns WhatsappUserConfig
402
+ * @throws ApiError
403
+ */
404
+ static aiBotV1BotsWhatsappUserConfigRetrieve(id: number, org: string): CancelablePromise<WhatsappUserConfig>;
405
+ /**
406
+ * Setup phone number linkage with whatsapp bots
407
+ * This phone number will be used to authenticate and allow access to whatsapp bots.
408
+ * @param id A unique integer value identifying this whatsapp user config.
409
+ * @param org
410
+ * @param requestBody
411
+ * @returns WhatsappUserConfig
412
+ * @throws ApiError
413
+ */
414
+ static aiBotV1BotsWhatsappUserConfigUpdate(id: number, org: string, requestBody: WhatsappUserConfig): CancelablePromise<WhatsappUserConfig>;
415
+ /**
416
+ * Setup phone number linkage with whatsapp bots
417
+ * This phone number will be used to authenticate and allow access to whatsapp bots.
418
+ * @param id A unique integer value identifying this whatsapp user config.
419
+ * @param org
420
+ * @param requestBody
421
+ * @returns WhatsappUserConfig
422
+ * @throws ApiError
423
+ */
424
+ static aiBotV1BotsWhatsappUserConfigPartialUpdate(id: number, org: string, requestBody?: PatchedWhatsappUserConfig): CancelablePromise<WhatsappUserConfig>;
425
+ /**
426
+ * Setup phone number linkage with whatsapp bots
427
+ * This phone number will be used to authenticate and allow access to whatsapp bots.
428
+ * @param id A unique integer value identifying this whatsapp user config.
429
+ * @param org
430
+ * @returns void
431
+ * @throws ApiError
432
+ */
433
+ static aiBotV1BotsWhatsappUserConfigDestroy(id: number, org: string): CancelablePromise<void>;
434
+ /**
435
+ * Webhook endpoint to receive and process discord messages.
436
+ * @param name
437
+ * @param org
438
+ * @param requestBody
439
+ * @returns DiscordWebhook
440
+ * @throws ApiError
441
+ */
442
+ static aiBotV1BotsWebhooksDiscordCreate(name: string, org: string, requestBody: DiscordWebhook): CancelablePromise<DiscordWebhook>;
443
+ /**
444
+ * @param name
445
+ * @param org
446
+ * @param requestBody
447
+ * @returns SlackWebhook
448
+ * @throws ApiError
449
+ */
450
+ static aiBotV1BotsWebhooksSlackCreate(name: string, org: string, requestBody: SlackWebhook): CancelablePromise<SlackWebhook>;
451
+ /**
452
+ * @param name
453
+ * @param org
454
+ * @param requestBody
455
+ * @returns TeamsWebhook
456
+ * @throws ApiError
457
+ */
458
+ static aiBotV1BotsWebhooksTeamsCreate(name: string, org: string, requestBody?: TeamsWebhook): CancelablePromise<TeamsWebhook>;
459
+ /**
460
+ * Webhook endpoint to receive and process discord messages.
461
+ * @param name
462
+ * @param org
463
+ * @param requestBody
464
+ * @returns WebexWebhook
465
+ * @throws ApiError
466
+ */
467
+ static aiBotV1BotsWebhooksWebexCreate(name: string, org: string, requestBody: WebexWebhook): CancelablePromise<WebexWebhook>;
468
+ /**
469
+ * Respond to whatsapp's webhook challenge.
470
+ * Parameters Required include the tenant key (org) and the name of the bot: (name)
471
+ * @param name
472
+ * @param org
473
+ * @returns WhatAppWebHook
474
+ * @throws ApiError
475
+ */
476
+ static aiBotV1BotsWebhooksWhatsappRetrieve(name: string, org: string): CancelablePromise<WhatAppWebHook>;
477
+ /**
478
+ * Accept and process webhook events from whatsapp.
479
+ * @param name
480
+ * @param org
481
+ * @param requestBody
482
+ * @returns WhatAppWebHook
483
+ * @throws ApiError
484
+ */
485
+ static aiBotV1BotsWebhooksWhatsappCreate(name: string, org: string, requestBody: WhatAppWebHook): CancelablePromise<WhatAppWebHook>;
486
+ }