@iblai/iblai-api 4.4.0-ai-plus → 4.4.1-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.
Files changed (93) hide show
  1. package/dist/index.cjs.js +411 -1786
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +412 -1785
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +411 -1786
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +2 -39
  8. package/dist/types/models/UserMemoryEntryRequest.d.ts +5 -0
  9. package/dist/types/models/UserMemoryRequest.d.ts +12 -0
  10. package/dist/types/services/AiMentorService.d.ts +58 -20
  11. package/package.json +1 -1
  12. package/src/core/OpenAPI.ts +1 -1
  13. package/src/index.ts +2 -39
  14. package/src/models/{WebexWebhook.ts → UserMemoryEntryRequest.ts} +4 -3
  15. package/src/models/UserMemoryRequest.ts +17 -0
  16. package/src/services/AiMentorService.ts +85 -35
  17. package/dist/types/models/Bot.d.ts +0 -15
  18. package/dist/types/models/BotCommand.d.ts +0 -6
  19. package/dist/types/models/BotCreate.d.ts +0 -12
  20. package/dist/types/models/DataSet.d.ts +0 -21
  21. package/dist/types/models/DataSetCreate.d.ts +0 -12
  22. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  23. package/dist/types/models/DiscordConfig.d.ts +0 -7
  24. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  25. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  26. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  27. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  28. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  29. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  30. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  31. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  32. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  33. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  34. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  35. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  36. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  37. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  38. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  39. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  40. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  41. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  42. package/dist/types/models/SlackConfig.d.ts +0 -8
  43. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  44. package/dist/types/models/SlackWebhook.d.ts +0 -6
  45. package/dist/types/models/TeamsConfig.d.ts +0 -7
  46. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  47. package/dist/types/models/Training.d.ts +0 -41
  48. package/dist/types/models/TrainingCreate.d.ts +0 -31
  49. package/dist/types/models/WebexConfig.d.ts +0 -10
  50. package/dist/types/models/WebexWebhook.d.ts +0 -4
  51. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  52. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  53. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  54. package/dist/types/services/AiBotService.d.ts +0 -642
  55. package/dist/types/services/AiFinetuningService.d.ts +0 -232
  56. package/src/models/Bot.ts +0 -20
  57. package/src/models/BotCommand.ts +0 -11
  58. package/src/models/BotCreate.ts +0 -17
  59. package/src/models/DataSet.ts +0 -26
  60. package/src/models/DataSetCreate.ts +0 -17
  61. package/src/models/DataSetStatusEnum.ts +0 -16
  62. package/src/models/DiscordConfig.ts +0 -12
  63. package/src/models/DiscordUserConfig.ts +0 -15
  64. package/src/models/DiscordWebhook.ts +0 -11
  65. package/src/models/PaginatedDataSetList.ts +0 -12
  66. package/src/models/PaginatedTrainingList.ts +0 -12
  67. package/src/models/PatchedBotCommand.ts +0 -11
  68. package/src/models/PatchedBotCreate.ts +0 -17
  69. package/src/models/PatchedDataSet.ts +0 -26
  70. package/src/models/PatchedDiscordConfig.ts +0 -12
  71. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  72. package/src/models/PatchedSlackConfig.ts +0 -13
  73. package/src/models/PatchedSlackUserConfig.ts +0 -22
  74. package/src/models/PatchedTeamsConfig.ts +0 -12
  75. package/src/models/PatchedTrainingCreate.ts +0 -36
  76. package/src/models/PatchedWebexConfig.ts +0 -15
  77. package/src/models/PatchedWhatsappConfig.ts +0 -16
  78. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  79. package/src/models/Provider05cEnum.ts +0 -18
  80. package/src/models/Provider63aEnum.ts +0 -10
  81. package/src/models/SlackConfig.ts +0 -13
  82. package/src/models/SlackUserConfig.ts +0 -22
  83. package/src/models/SlackWebhook.ts +0 -11
  84. package/src/models/TeamsConfig.ts +0 -12
  85. package/src/models/TeamsWebhook.ts +0 -22
  86. package/src/models/Training.ts +0 -46
  87. package/src/models/TrainingCreate.ts +0 -36
  88. package/src/models/WebexConfig.ts +0 -15
  89. package/src/models/WhatAppWebHook.ts +0 -8
  90. package/src/models/WhatsappConfig.ts +0 -16
  91. package/src/models/WhatsappUserConfig.ts +0 -15
  92. package/src/services/AiBotService.ts +0 -1330
  93. package/src/services/AiFinetuningService.ts +0 -472
@@ -2,8 +2,9 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
- export type WebexWebhook = {
6
- data: Record<string, any>;
7
- resource: string;
5
+ export type UserMemoryEntryRequest = {
6
+ key: string;
7
+ value: string;
8
+ expires_at?: string | null;
8
9
  };
9
10
 
@@ -0,0 +1,17 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { UserMemoryEntryRequest } from './UserMemoryEntryRequest';
6
+ export type UserMemoryRequest = {
7
+ mode?: string;
8
+ name?: string | null;
9
+ platform?: string | null;
10
+ mentor_unique_id?: string | null;
11
+ session_id?: string | null;
12
+ catalog_item_type?: string | null;
13
+ catalog_item_id?: string | null;
14
+ entries: Array<UserMemoryEntryRequest>;
15
+ category?: string | null;
16
+ };
17
+
@@ -132,6 +132,7 @@ import type { Unit } from '../models/Unit';
132
132
  import type { UserChatFeedback } from '../models/UserChatFeedback';
133
133
  import type { UserEdxMemory } from '../models/UserEdxMemory';
134
134
  import type { UserMemory } from '../models/UserMemory';
135
+ import type { UserMemoryRequest } from '../models/UserMemoryRequest';
135
136
  import type { VectorResult } from '../models/VectorResult';
136
137
  import type { Voice } from '../models/Voice';
137
138
  import type { WebResource } from '../models/WebResource';
@@ -140,6 +141,17 @@ import type { CancelablePromise } from '../core/CancelablePromise';
140
141
  import { OpenAPI } from '../core/OpenAPI';
141
142
  import { request as __request } from '../core/request';
142
143
  export class AiMentorService {
144
+ /**
145
+ * Proxy endpoint to check for langfuse health status
146
+ * @returns any No response body
147
+ * @throws ApiError
148
+ */
149
+ public static aiMentorLangfuseHealthRetrieve(): CancelablePromise<any> {
150
+ return __request(OpenAPI, {
151
+ method: 'GET',
152
+ url: '/api/ai-mentor/langfuse/health',
153
+ });
154
+ }
143
155
  /**
144
156
  * List all triggers for an organization.
145
157
  *
@@ -5141,18 +5153,47 @@ export class AiMentorService {
5141
5153
  });
5142
5154
  }
5143
5155
  /**
5144
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
5156
+ * Retrieve a list of memories based on filter conditions.
5157
+ *
5158
+ * Returns:
5159
+ * Response: A paginated list of memories.
5160
+ *
5161
+ * Raises:
5162
+ * NotFound: If the query is invalid.
5145
5163
  * @returns PaginatedUserMemoryList
5146
5164
  * @throws ApiError
5147
5165
  */
5148
5166
  public static aiMentorOrgsUsersMemoriesList({
5149
5167
  org,
5150
5168
  userId,
5169
+ category,
5170
+ endDate,
5171
+ mentor,
5172
+ mode,
5151
5173
  page,
5152
5174
  pageSize,
5175
+ platform,
5176
+ session,
5177
+ startDate,
5153
5178
  }: {
5154
5179
  org: string,
5155
5180
  userId: string,
5181
+ /**
5182
+ * a string of category to filter memories
5183
+ */
5184
+ category?: string,
5185
+ /**
5186
+ * ISO date for end date (optional)
5187
+ */
5188
+ endDate?: string,
5189
+ /**
5190
+ * the mentor unique id which the memory is linked to
5191
+ */
5192
+ mentor?: string,
5193
+ /**
5194
+ * mode which the memory applies to. can be `guided`, `regular` or `all`
5195
+ */
5196
+ mode?: string,
5156
5197
  /**
5157
5198
  * A page number within the paginated result set.
5158
5199
  */
@@ -5161,6 +5202,18 @@ export class AiMentorService {
5161
5202
  * Number of results to return per page.
5162
5203
  */
5163
5204
  pageSize?: number,
5205
+ /**
5206
+ * the platform which the memory is linked to
5207
+ */
5208
+ platform?: string,
5209
+ /**
5210
+ * the session id which the memory is linked to
5211
+ */
5212
+ session?: string,
5213
+ /**
5214
+ * ISO date for start date (optional)
5215
+ */
5216
+ startDate?: string,
5164
5217
  }): CancelablePromise<PaginatedUserMemoryList> {
5165
5218
  return __request(OpenAPI, {
5166
5219
  method: 'GET',
@@ -5170,25 +5223,43 @@ export class AiMentorService {
5170
5223
  'user_id': userId,
5171
5224
  },
5172
5225
  query: {
5226
+ 'category': category,
5227
+ 'end_date': endDate,
5228
+ 'mentor': mentor,
5229
+ 'mode': mode,
5173
5230
  'page': page,
5174
5231
  'page_size': pageSize,
5232
+ 'platform': platform,
5233
+ 'session': session,
5234
+ 'start_date': startDate,
5175
5235
  },
5176
5236
  });
5177
5237
  }
5178
5238
  /**
5179
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
5180
- * @returns UserMemory
5239
+ * Create memory
5240
+ * Create memory using the request data
5241
+ * @returns PaginatedUserMemoryList
5181
5242
  * @throws ApiError
5182
5243
  */
5183
5244
  public static aiMentorOrgsUsersMemoriesCreate({
5184
5245
  org,
5185
5246
  userId,
5186
5247
  requestBody,
5248
+ page,
5249
+ pageSize,
5187
5250
  }: {
5188
5251
  org: string,
5189
5252
  userId: string,
5190
- requestBody: UserMemory,
5191
- }): CancelablePromise<UserMemory> {
5253
+ requestBody: UserMemoryRequest,
5254
+ /**
5255
+ * A page number within the paginated result set.
5256
+ */
5257
+ page?: number,
5258
+ /**
5259
+ * Number of results to return per page.
5260
+ */
5261
+ pageSize?: number,
5262
+ }): CancelablePromise<PaginatedUserMemoryList> {
5192
5263
  return __request(OpenAPI, {
5193
5264
  method: 'POST',
5194
5265
  url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memories/',
@@ -5196,6 +5267,10 @@ export class AiMentorService {
5196
5267
  'org': org,
5197
5268
  'user_id': userId,
5198
5269
  },
5270
+ query: {
5271
+ 'page': page,
5272
+ 'page_size': pageSize,
5273
+ },
5199
5274
  body: requestBody,
5200
5275
  mediaType: 'application/json',
5201
5276
  });
@@ -5226,35 +5301,7 @@ export class AiMentorService {
5226
5301
  }
5227
5302
  /**
5228
5303
  * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
5229
- * @returns UserMemory
5230
- * @throws ApiError
5231
- */
5232
- public static aiMentorOrgsUsersMemoryCreate({
5233
- memoryUniqueId,
5234
- org,
5235
- userId,
5236
- requestBody,
5237
- }: {
5238
- memoryUniqueId: string,
5239
- org: string,
5240
- userId: string,
5241
- requestBody: UserMemory,
5242
- }): CancelablePromise<UserMemory> {
5243
- return __request(OpenAPI, {
5244
- method: 'POST',
5245
- url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memory/{memory_unique_id}/',
5246
- path: {
5247
- 'memory_unique_id': memoryUniqueId,
5248
- 'org': org,
5249
- 'user_id': userId,
5250
- },
5251
- body: requestBody,
5252
- mediaType: 'application/json',
5253
- });
5254
- }
5255
- /**
5256
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
5257
- * @returns void
5304
+ * @returns any Memory deleted successfully.
5258
5305
  * @throws ApiError
5259
5306
  */
5260
5307
  public static aiMentorOrgsUsersMemoryDestroy({
@@ -5265,7 +5312,7 @@ export class AiMentorService {
5265
5312
  memoryUniqueId: string,
5266
5313
  org: string,
5267
5314
  userId: string,
5268
- }): CancelablePromise<void> {
5315
+ }): CancelablePromise<any> {
5269
5316
  return __request(OpenAPI, {
5270
5317
  method: 'DELETE',
5271
5318
  url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memory/{memory_unique_id}/',
@@ -5274,6 +5321,9 @@ export class AiMentorService {
5274
5321
  'org': org,
5275
5322
  'user_id': userId,
5276
5323
  },
5324
+ errors: {
5325
+ 404: `Memory not found.`,
5326
+ },
5277
5327
  });
5278
5328
  }
5279
5329
  /**
@@ -1,15 +0,0 @@
1
- import type { Provider05cEnum } from './Provider05cEnum';
2
- export type Bot = {
3
- readonly id: number;
4
- readonly platform: number;
5
- readonly tenant: string;
6
- name: string;
7
- provider: Provider05cEnum;
8
- readonly is_configured: boolean;
9
- slack_config: number;
10
- readonly discord_config: number;
11
- readonly webex_config: number;
12
- readonly whatsapp_config: number;
13
- readonly teams_config: number;
14
- readonly webhook_url: string;
15
- };
@@ -1,6 +0,0 @@
1
- export type BotCommand = {
2
- readonly id: number;
3
- command: string;
4
- mentor: number;
5
- bot: number;
6
- };
@@ -1,12 +0,0 @@
1
- import type { Provider05cEnum } from './Provider05cEnum';
2
- export type BotCreate = {
3
- readonly id: number;
4
- name: string;
5
- provider: Provider05cEnum;
6
- readonly is_configured: boolean;
7
- readonly webhook_url: string;
8
- readonly discord_config: number;
9
- readonly webex_config: number;
10
- readonly whatsapp_config: number;
11
- readonly teams_config: number;
12
- };
@@ -1,21 +0,0 @@
1
- import type { DataSetStatusEnum } from './DataSetStatusEnum';
2
- export type DataSet = {
3
- readonly id: string;
4
- readonly platform: Record<string, (string | number)> | null;
5
- name: string;
6
- /**
7
- * (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
8
- */
9
- prompt?: string;
10
- source_url?: string;
11
- source_file?: string;
12
- status?: DataSetStatusEnum;
13
- num_data_points?: number;
14
- train_split?: number;
15
- train_file?: string;
16
- test_file?: string;
17
- retry_attempts?: number;
18
- error_log?: string;
19
- readonly date_created: string;
20
- readonly last_modified: string;
21
- };
@@ -1,12 +0,0 @@
1
- export type DataSetCreate = {
2
- readonly id: string;
3
- name: string;
4
- source_url?: string;
5
- source_file?: string;
6
- num_data_points?: number;
7
- train_split?: number;
8
- /**
9
- * (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
10
- */
11
- prompt?: string;
12
- };
@@ -1,12 +0,0 @@
1
- /**
2
- * * `pending` - Pending
3
- * * `processing` - Processing
4
- * * `completed` - Completed
5
- * * `failed` - Failed
6
- */
7
- export declare enum DataSetStatusEnum {
8
- PENDING = "pending",
9
- PROCESSING = "processing",
10
- COMPLETED = "completed",
11
- FAILED = "failed"
12
- }
@@ -1,7 +0,0 @@
1
- export type DiscordConfig = {
2
- readonly id: number;
3
- readonly bot: number;
4
- client_id: string;
5
- token: string;
6
- client_secret: string;
7
- };
@@ -1,10 +0,0 @@
1
- export type DiscordUserConfig = {
2
- readonly id: number;
3
- /**
4
- * edX user ID
5
- */
6
- readonly user: number;
7
- discord_user_id: string;
8
- readonly date_created: string;
9
- readonly last_modified: string;
10
- };
@@ -1,6 +0,0 @@
1
- export type DiscordWebhook = {
2
- application_id: string;
3
- type: string;
4
- token: string;
5
- id: string;
6
- };
@@ -1,7 +0,0 @@
1
- import type { DataSet } from './DataSet';
2
- export type PaginatedDataSetList = {
3
- count: number;
4
- next?: string | null;
5
- previous?: string | null;
6
- results: Array<DataSet>;
7
- };
@@ -1,7 +0,0 @@
1
- import type { Training } from './Training';
2
- export type PaginatedTrainingList = {
3
- count: number;
4
- next?: string | null;
5
- previous?: string | null;
6
- results: Array<Training>;
7
- };
@@ -1,6 +0,0 @@
1
- export type PatchedBotCommand = {
2
- readonly id?: number;
3
- command?: string;
4
- mentor?: number;
5
- bot?: number;
6
- };
@@ -1,12 +0,0 @@
1
- import type { Provider05cEnum } from './Provider05cEnum';
2
- export type PatchedBotCreate = {
3
- readonly id?: number;
4
- name?: string;
5
- provider?: Provider05cEnum;
6
- readonly is_configured?: boolean;
7
- readonly webhook_url?: string;
8
- readonly discord_config?: number;
9
- readonly webex_config?: number;
10
- readonly whatsapp_config?: number;
11
- readonly teams_config?: number;
12
- };
@@ -1,21 +0,0 @@
1
- import type { DataSetStatusEnum } from './DataSetStatusEnum';
2
- export type PatchedDataSet = {
3
- readonly id?: string;
4
- readonly platform?: Record<string, (string | number)> | null;
5
- name?: string;
6
- /**
7
- * (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
8
- */
9
- prompt?: string;
10
- source_url?: string;
11
- source_file?: string;
12
- status?: DataSetStatusEnum;
13
- num_data_points?: number;
14
- train_split?: number;
15
- train_file?: string;
16
- test_file?: string;
17
- retry_attempts?: number;
18
- error_log?: string;
19
- readonly date_created?: string;
20
- readonly last_modified?: string;
21
- };
@@ -1,7 +0,0 @@
1
- export type PatchedDiscordConfig = {
2
- readonly id?: number;
3
- readonly bot?: number;
4
- client_id?: string;
5
- token?: string;
6
- client_secret?: string;
7
- };
@@ -1,10 +0,0 @@
1
- export type PatchedDiscordUserConfig = {
2
- readonly id?: number;
3
- /**
4
- * edX user ID
5
- */
6
- readonly user?: number;
7
- discord_user_id?: string;
8
- readonly date_created?: string;
9
- readonly last_modified?: string;
10
- };
@@ -1,8 +0,0 @@
1
- export type PatchedSlackConfig = {
2
- readonly id?: number;
3
- bot?: number;
4
- client_id?: string;
5
- client_secret?: string;
6
- app_token?: string;
7
- verification_token?: string;
8
- };
@@ -1,17 +0,0 @@
1
- export type PatchedSlackUserConfig = {
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
- };
@@ -1,7 +0,0 @@
1
- export type PatchedTeamsConfig = {
2
- readonly id?: number;
3
- readonly bot?: number;
4
- client_id?: string;
5
- client_secret?: string;
6
- verification_token?: string;
7
- };
@@ -1,31 +0,0 @@
1
- import type { Provider63aEnum } from './Provider63aEnum';
2
- export type PatchedTrainingCreate = {
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,10 +0,0 @@
1
- export type PatchedWebexConfig = {
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
- };
@@ -1,11 +0,0 @@
1
- export type PatchedWhatsappConfig = {
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
- };
@@ -1,10 +0,0 @@
1
- export type PatchedWhatsappUserConfig = {
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
- };
@@ -1,14 +0,0 @@
1
- /**
2
- * * `webex` - Webex
3
- * * `slack` - Slack
4
- * * `whatsapp` - Whatsapp
5
- * * `discord` - Discord
6
- * * `teams` - Teams
7
- */
8
- export declare enum Provider05cEnum {
9
- WEBEX = "webex",
10
- SLACK = "slack",
11
- WHATSAPP = "whatsapp",
12
- DISCORD = "discord",
13
- TEAMS = "teams"
14
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * * `openai` - Openai
3
- */
4
- export declare enum Provider63aEnum {
5
- OPENAI = "openai"
6
- }
@@ -1,8 +0,0 @@
1
- export type SlackConfig = {
2
- readonly id: number;
3
- bot: number;
4
- client_id: string;
5
- client_secret: string;
6
- app_token: string;
7
- verification_token: string;
8
- };
@@ -1,17 +0,0 @@
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
- };
@@ -1,6 +0,0 @@
1
- export type SlackWebhook = {
2
- type: string;
3
- event: Record<string, any>;
4
- command: string;
5
- response_url: string;
6
- };
@@ -1,7 +0,0 @@
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
- };
@@ -1,17 +0,0 @@
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
- };