@botpress/client 1.28.0 → 1.29.0

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.d.ts CHANGED
@@ -1195,6 +1195,303 @@ type DeleteMessageInput$1 = DeleteMessageRequestBody$1 & DeleteMessageRequestHea
1195
1195
  interface DeleteMessageResponse$1 {
1196
1196
  }
1197
1197
 
1198
+ interface InitializeIncomingMessageRequestHeaders$1 {
1199
+ }
1200
+ interface InitializeIncomingMessageRequestQuery$1 {
1201
+ }
1202
+ interface InitializeIncomingMessageRequestParams$1 {
1203
+ }
1204
+ interface InitializeIncomingMessageRequestBody$1 {
1205
+ userId?: string;
1206
+ user?: {
1207
+ /**
1208
+ * Tags for the [User](#schema_user)
1209
+ */
1210
+ tags: {
1211
+ [k: string]: string;
1212
+ };
1213
+ /**
1214
+ * @deprecated
1215
+ * [DEPRECATED] To create a [User](#schema_user) from within a bot, call an action of the integration instead.
1216
+ */
1217
+ integrationName?: string;
1218
+ /**
1219
+ * Name of the user
1220
+ */
1221
+ name?: string;
1222
+ /**
1223
+ * URI of the user picture
1224
+ */
1225
+ pictureUrl?: string;
1226
+ /**
1227
+ * Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
1228
+ */
1229
+ discriminateByTags: string[];
1230
+ };
1231
+ conversationId?: string;
1232
+ conversation?: {
1233
+ /**
1234
+ * Channel name
1235
+ */
1236
+ channel: string;
1237
+ /**
1238
+ * Tags for the [Conversation](#schema_conversation)
1239
+ */
1240
+ tags: {
1241
+ [k: string]: string;
1242
+ };
1243
+ /**
1244
+ * @deprecated
1245
+ * [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
1246
+ */
1247
+ integrationName?: string;
1248
+ /**
1249
+ * Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
1250
+ */
1251
+ discriminateByTags: string[];
1252
+ };
1253
+ message?: {
1254
+ /**
1255
+ * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
1256
+ */
1257
+ payload: {
1258
+ [k: string]: any;
1259
+ };
1260
+ /**
1261
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
1262
+ */
1263
+ type: string;
1264
+ /**
1265
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
1266
+ */
1267
+ tags: {
1268
+ [k: string]: string;
1269
+ };
1270
+ origin?: "synthetic";
1271
+ /**
1272
+ * Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
1273
+ */
1274
+ discriminateByTags: string[];
1275
+ };
1276
+ }
1277
+ type InitializeIncomingMessageInput$1 = InitializeIncomingMessageRequestBody$1 & InitializeIncomingMessageRequestHeaders$1 & InitializeIncomingMessageRequestQuery$1 & InitializeIncomingMessageRequestParams$1;
1278
+ interface InitializeIncomingMessageResponse$1 {
1279
+ /**
1280
+ * The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.
1281
+ */
1282
+ user: {
1283
+ /**
1284
+ * Id of the [User](#schema_user)
1285
+ */
1286
+ id: string;
1287
+ /**
1288
+ * Creation date of the [User](#schema_user) in ISO 8601 format
1289
+ */
1290
+ createdAt: string;
1291
+ /**
1292
+ * Updating date of the [User](#schema_user) in ISO 8601 format
1293
+ */
1294
+ updatedAt: string;
1295
+ /**
1296
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [User](#schema_user). The set of [Tags](/docs/developers/concepts/tags) available on a [User](#schema_user) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
1297
+ */
1298
+ tags: {
1299
+ [k: string]: string;
1300
+ };
1301
+ /**
1302
+ * Name of the [User](#schema_user)
1303
+ */
1304
+ name?: string;
1305
+ /**
1306
+ * Picture URL of the [User](#schema_user)
1307
+ */
1308
+ pictureUrl?: string;
1309
+ };
1310
+ /**
1311
+ * The [Conversation](#schema_conversation) object represents an exchange of messages between one or more users. A [Conversation](#schema_conversation) is always linked to an integration's channels. For example, a Slack channel represents a conversation.
1312
+ */
1313
+ conversation: {
1314
+ /**
1315
+ * Id of the [Conversation](#schema_conversation)
1316
+ */
1317
+ id: string;
1318
+ /**
1319
+ * Id of the current [Task](#schema_task)
1320
+ */
1321
+ currentTaskId?: string;
1322
+ /**
1323
+ * Id of the current [Workflow](#schema_workflow)
1324
+ */
1325
+ currentWorkflowId?: string;
1326
+ /**
1327
+ * Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
1328
+ */
1329
+ createdAt: string;
1330
+ /**
1331
+ * Updating date of the [Conversation](#schema_conversation) in ISO 8601 format
1332
+ */
1333
+ updatedAt: string;
1334
+ /**
1335
+ * Name of the channel where the [Conversation](#schema_conversation) is happening
1336
+ */
1337
+ channel: string;
1338
+ /**
1339
+ * Name of the integration that created the [Conversation](#schema_conversation)
1340
+ */
1341
+ integration: string;
1342
+ /**
1343
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
1344
+ */
1345
+ tags: {
1346
+ [k: string]: string;
1347
+ };
1348
+ };
1349
+ /**
1350
+ * The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
1351
+ */
1352
+ message?: {
1353
+ /**
1354
+ * Id of the [Message](#schema_message)
1355
+ */
1356
+ id: string;
1357
+ /**
1358
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
1359
+ */
1360
+ createdAt: string;
1361
+ /**
1362
+ * Update date of the [Message](#schema_message) in ISO 8601 format
1363
+ */
1364
+ updatedAt: string;
1365
+ /**
1366
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
1367
+ */
1368
+ type: string;
1369
+ /**
1370
+ * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
1371
+ */
1372
+ payload: {
1373
+ [k: string]: any;
1374
+ };
1375
+ /**
1376
+ * Direction of the message (`incoming` or `outgoing`).
1377
+ */
1378
+ direction: "incoming" | "outgoing";
1379
+ /**
1380
+ * ID of the [User](#schema_user)
1381
+ */
1382
+ userId: string;
1383
+ /**
1384
+ * ID of the [Conversation](#schema_conversation)
1385
+ */
1386
+ conversationId: string;
1387
+ /**
1388
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
1389
+ */
1390
+ tags: {
1391
+ [k: string]: string;
1392
+ };
1393
+ /**
1394
+ * Origin of the message (`synthetic`).
1395
+ */
1396
+ origin?: "synthetic";
1397
+ };
1398
+ }
1399
+
1400
+ interface ImportMessagesRequestHeaders$1 {
1401
+ }
1402
+ interface ImportMessagesRequestQuery$1 {
1403
+ }
1404
+ interface ImportMessagesRequestParams$1 {
1405
+ }
1406
+ interface ImportMessagesRequestBody$1 {
1407
+ /**
1408
+ * @maxItems 100
1409
+ */
1410
+ messages: {
1411
+ /**
1412
+ * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
1413
+ */
1414
+ payload: {
1415
+ [k: string]: any;
1416
+ };
1417
+ /**
1418
+ * ID of the [User](#schema_user)
1419
+ */
1420
+ userId: string;
1421
+ /**
1422
+ * ID of the [Conversation](#schema_conversation)
1423
+ */
1424
+ conversationId: string;
1425
+ /**
1426
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
1427
+ */
1428
+ type: string;
1429
+ /**
1430
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
1431
+ */
1432
+ tags: {
1433
+ [k: string]: string;
1434
+ };
1435
+ /**
1436
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
1437
+ */
1438
+ createdAt: string;
1439
+ /**
1440
+ * Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
1441
+ */
1442
+ discriminateByTags: string[];
1443
+ }[];
1444
+ }
1445
+ type ImportMessagesInput$1 = ImportMessagesRequestBody$1 & ImportMessagesRequestHeaders$1 & ImportMessagesRequestQuery$1 & ImportMessagesRequestParams$1;
1446
+ interface ImportMessagesResponse$1 {
1447
+ messages: {
1448
+ /**
1449
+ * Id of the [Message](#schema_message)
1450
+ */
1451
+ id: string;
1452
+ /**
1453
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
1454
+ */
1455
+ createdAt: string;
1456
+ /**
1457
+ * Update date of the [Message](#schema_message) in ISO 8601 format
1458
+ */
1459
+ updatedAt: string;
1460
+ /**
1461
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
1462
+ */
1463
+ type: string;
1464
+ /**
1465
+ * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
1466
+ */
1467
+ payload: {
1468
+ [k: string]: any;
1469
+ };
1470
+ /**
1471
+ * Direction of the message (`incoming` or `outgoing`).
1472
+ */
1473
+ direction: "incoming" | "outgoing";
1474
+ /**
1475
+ * ID of the [User](#schema_user)
1476
+ */
1477
+ userId: string;
1478
+ /**
1479
+ * ID of the [Conversation](#schema_conversation)
1480
+ */
1481
+ conversationId: string;
1482
+ /**
1483
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
1484
+ */
1485
+ tags: {
1486
+ [k: string]: string;
1487
+ };
1488
+ /**
1489
+ * Origin of the message (`synthetic`).
1490
+ */
1491
+ origin?: "synthetic";
1492
+ }[];
1493
+ }
1494
+
1198
1495
  interface CreateUserRequestHeaders$1 {
1199
1496
  }
1200
1497
  interface CreateUserRequestQuery$1 {
@@ -1309,6 +1606,11 @@ interface ListUsersRequestQuery$1 {
1309
1606
  tags?: {
1310
1607
  [k: string]: string;
1311
1608
  };
1609
+ afterDate?: string;
1610
+ beforeDate?: string;
1611
+ rangeField?: "updatedAt" | "createdAt";
1612
+ sortField?: "updatedAt" | "createdAt";
1613
+ sortDirection?: "asc" | "desc";
1312
1614
  }
1313
1615
  interface ListUsersRequestParams$1 {
1314
1616
  }
@@ -2875,6 +3177,8 @@ declare class Client$9 {
2875
3177
  readonly updateMessage: (input: UpdateMessageInput$1) => Promise<UpdateMessageResponse$1>;
2876
3178
  readonly listMessages: (input: ListMessagesInput$1) => Promise<ListMessagesResponse$1>;
2877
3179
  readonly deleteMessage: (input: DeleteMessageInput$1) => Promise<DeleteMessageResponse$1>;
3180
+ readonly initializeIncomingMessage: (input: InitializeIncomingMessageInput$1) => Promise<InitializeIncomingMessageResponse$1>;
3181
+ readonly importMessages: (input: ImportMessagesInput$1) => Promise<ImportMessagesResponse$1>;
2878
3182
  readonly createUser: (input: CreateUserInput$1) => Promise<CreateUserResponse$1>;
2879
3183
  readonly getUser: (input: GetUserInput$1) => Promise<GetUserResponse$1>;
2880
3184
  readonly listUsers: (input: ListUsersInput$1) => Promise<ListUsersResponse$1>;
@@ -3000,7 +3304,12 @@ declare class Client$8 extends Client$9 {
3000
3304
  tags?: {
3001
3305
  [x: string]: string;
3002
3306
  } | undefined;
3307
+ sortField?: "updatedAt" | "createdAt" | undefined;
3308
+ sortDirection?: "asc" | "desc" | undefined;
3309
+ afterDate?: string | undefined;
3310
+ beforeDate?: string | undefined;
3003
3311
  conversationId?: string | undefined;
3312
+ rangeField?: "updatedAt" | "createdAt" | undefined;
3004
3313
  }) => AsyncCollection<{
3005
3314
  id: string;
3006
3315
  createdAt: string;
@@ -5935,7 +6244,7 @@ interface CreateBotResponse$1 {
5935
6244
  /**
5936
6245
  * Status of the bot
5937
6246
  */
5938
- status: "active" | "deploying";
6247
+ status: "active" | "deploying" | "deleting";
5939
6248
  /**
5940
6249
  * Media files associated with the [Bot](#schema_bot)
5941
6250
  */
@@ -6615,7 +6924,7 @@ interface UpdateBotResponse$1 {
6615
6924
  /**
6616
6925
  * Status of the bot
6617
6926
  */
6618
- status: "active" | "deploying";
6927
+ status: "active" | "deploying" | "deleting";
6619
6928
  /**
6620
6929
  * Media files associated with the [Bot](#schema_bot)
6621
6930
  */
@@ -7106,7 +7415,7 @@ interface GetBotResponse$1 {
7106
7415
  /**
7107
7416
  * Status of the bot
7108
7417
  */
7109
- status: "active" | "deploying";
7418
+ status: "active" | "deploying" | "deleting";
7110
7419
  /**
7111
7420
  * Media files associated with the [Bot](#schema_bot)
7112
7421
  */
@@ -7886,7 +8195,7 @@ interface GetWorkspaceResponse$1 {
7886
8195
  interface ListWorkspaceUsagesRequestHeaders$1 {
7887
8196
  }
7888
8197
  interface ListWorkspaceUsagesRequestQuery$1 {
7889
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8198
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
7890
8199
  period?: string;
7891
8200
  }
7892
8201
  interface ListWorkspaceUsagesRequestParams$1 {
@@ -7916,14 +8225,14 @@ interface ListWorkspaceUsagesResponse$1 {
7916
8225
  /**
7917
8226
  * Usage type that can be used
7918
8227
  */
7919
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8228
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
7920
8229
  }[];
7921
8230
  }
7922
8231
 
7923
8232
  interface BreakDownWorkspaceUsageByBotRequestHeaders$1 {
7924
8233
  }
7925
8234
  interface BreakDownWorkspaceUsageByBotRequestQuery$1 {
7926
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8235
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
7927
8236
  period?: string;
7928
8237
  }
7929
8238
  interface BreakDownWorkspaceUsageByBotRequestParams$1 {
@@ -7950,7 +8259,7 @@ interface GetAllWorkspaceQuotaCompletionRequestBody$1 {
7950
8259
  type GetAllWorkspaceQuotaCompletionInput$1 = GetAllWorkspaceQuotaCompletionRequestBody$1 & GetAllWorkspaceQuotaCompletionRequestHeaders$1 & GetAllWorkspaceQuotaCompletionRequestQuery$1 & GetAllWorkspaceQuotaCompletionRequestParams$1;
7951
8260
  interface GetAllWorkspaceQuotaCompletionResponse$1 {
7952
8261
  [k: string]: {
7953
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8262
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
7954
8263
  completion: number;
7955
8264
  };
7956
8265
  }
@@ -7958,7 +8267,7 @@ interface GetAllWorkspaceQuotaCompletionResponse$1 {
7958
8267
  interface GetWorkspaceQuotaRequestHeaders$1 {
7959
8268
  }
7960
8269
  interface GetWorkspaceQuotaRequestQuery$1 {
7961
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8270
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
7962
8271
  period?: string;
7963
8272
  }
7964
8273
  interface GetWorkspaceQuotaRequestParams$1 {
@@ -7980,7 +8289,7 @@ interface GetWorkspaceQuotaResponse$1 {
7980
8289
  /**
7981
8290
  * Usage type that can be used
7982
8291
  */
7983
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8292
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
7984
8293
  };
7985
8294
  }
7986
8295
 
@@ -8008,7 +8317,7 @@ interface ListWorkspaceQuotasResponse$1 {
8008
8317
  /**
8009
8318
  * Usage type that can be used
8010
8319
  */
8011
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8320
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
8012
8321
  }[];
8013
8322
  }
8014
8323
 
@@ -14151,7 +14460,7 @@ interface GetPluginCodeResponse$1 {
14151
14460
  interface GetUsageRequestHeaders$1 {
14152
14461
  }
14153
14462
  interface GetUsageRequestQuery$1 {
14154
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
14463
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
14155
14464
  period?: string;
14156
14465
  }
14157
14466
  interface GetUsageRequestParams$1 {
@@ -14181,7 +14490,7 @@ interface GetUsageResponse$1 {
14181
14490
  /**
14182
14491
  * Usage type that can be used
14183
14492
  */
14184
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
14493
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
14185
14494
  };
14186
14495
  }
14187
14496
 
@@ -14218,14 +14527,14 @@ interface GetMultipleUsagesResponse$1 {
14218
14527
  /**
14219
14528
  * Usage type that can be used
14220
14529
  */
14221
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
14530
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
14222
14531
  }[];
14223
14532
  }
14224
14533
 
14225
14534
  interface ListUsageHistoryRequestHeaders$1 {
14226
14535
  }
14227
14536
  interface ListUsageHistoryRequestQuery$1 {
14228
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
14537
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
14229
14538
  }
14230
14539
  interface ListUsageHistoryRequestParams$1 {
14231
14540
  id: string;
@@ -14254,14 +14563,14 @@ interface ListUsageHistoryResponse$1 {
14254
14563
  /**
14255
14564
  * Usage type that can be used
14256
14565
  */
14257
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
14566
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
14258
14567
  }[];
14259
14568
  }
14260
14569
 
14261
14570
  interface ListUsageActivityRequestHeaders$1 {
14262
14571
  }
14263
14572
  interface ListUsageActivityRequestQuery$1 {
14264
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
14573
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
14265
14574
  timestampFrom?: string;
14266
14575
  timestampUntil?: string;
14267
14576
  nextToken?: string;
@@ -14289,7 +14598,7 @@ interface ListUsageActivityResponse$1 {
14289
14598
  interface ListUsageActivityDailyRequestHeaders$1 {
14290
14599
  }
14291
14600
  interface ListUsageActivityDailyRequestQuery$1 {
14292
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
14601
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
14293
14602
  dateFrom?: string;
14294
14603
  dateUntil?: string;
14295
14604
  nextToken?: string;
@@ -14672,7 +14981,7 @@ declare class Client$6 extends Client$7 {
14672
14981
  createdAt: string;
14673
14982
  }>;
14674
14983
  usageActivity: (props: {
14675
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
14984
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
14676
14985
  id: string;
14677
14986
  timestampFrom?: string | undefined;
14678
14987
  timestampUntil?: string | undefined;
@@ -14685,7 +14994,7 @@ declare class Client$6 extends Client$7 {
14685
14994
  };
14686
14995
  }>;
14687
14996
  usageActivityDaily: (props: {
14688
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
14997
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
14689
14998
  id: string;
14690
14999
  dateFrom?: string | undefined;
14691
15000
  dateUntil?: string | undefined;
@@ -15006,6 +15315,7 @@ interface ListFilesRequestQuery$1 {
15006
15315
  * @maxItems 50
15007
15316
  */
15008
15317
  ids?: string[];
15318
+ indexed?: boolean;
15009
15319
  }
15010
15320
  interface ListFilesRequestParams$1 {
15011
15321
  }
@@ -15861,6 +16171,7 @@ declare class Client$4 extends Client$5 implements IClient$2 {
15861
16171
  sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
15862
16172
  sortDirection?: "asc" | "desc" | undefined;
15863
16173
  ids?: string[] | undefined;
16174
+ indexed?: boolean | undefined;
15864
16175
  }) => AsyncCollection<{
15865
16176
  id: string;
15866
16177
  botId: string;
@@ -16808,7 +17119,7 @@ interface ExportTableResponse$1 {
16808
17119
  id: string;
16809
17120
  botId: string;
16810
17121
  tableId: string;
16811
- type: "export" | "import";
17122
+ type: "export" | "import" | "clear_column" | "clear_vectors";
16812
17123
  status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
16813
17124
  progress?: number;
16814
17125
  inputFileId: string | null;
@@ -16833,7 +17144,7 @@ interface GetTableJobsResponse$1 {
16833
17144
  id: string;
16834
17145
  botId: string;
16835
17146
  tableId: string;
16836
- type: "export" | "import";
17147
+ type: "export" | "import" | "clear_column" | "clear_vectors";
16837
17148
  status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
16838
17149
  progress?: number;
16839
17150
  inputFileId: string | null;
@@ -16862,7 +17173,7 @@ interface ImportTableResponse$1 {
16862
17173
  id: string;
16863
17174
  botId: string;
16864
17175
  tableId: string;
16865
- type: "export" | "import";
17176
+ type: "export" | "import" | "clear_column" | "clear_vectors";
16866
17177
  status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
16867
17178
  progress?: number;
16868
17179
  inputFileId: string | null;
@@ -18718,24 +19029,245 @@ interface UpdateMessageResponse {
18718
19029
  };
18719
19030
  }
18720
19031
 
18721
- interface ListMessagesRequestHeaders {
19032
+ interface ListMessagesRequestHeaders {
19033
+ }
19034
+ interface ListMessagesRequestQuery {
19035
+ nextToken?: string;
19036
+ conversationId?: string;
19037
+ tags?: {
19038
+ [k: string]: string;
19039
+ };
19040
+ afterDate?: string;
19041
+ beforeDate?: string;
19042
+ }
19043
+ interface ListMessagesRequestParams {
19044
+ }
19045
+ interface ListMessagesRequestBody {
19046
+ }
19047
+ type ListMessagesInput = ListMessagesRequestBody & ListMessagesRequestHeaders & ListMessagesRequestQuery & ListMessagesRequestParams;
19048
+ interface ListMessagesResponse {
19049
+ messages: {
19050
+ /**
19051
+ * Id of the [Message](#schema_message)
19052
+ */
19053
+ id: string;
19054
+ /**
19055
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
19056
+ */
19057
+ createdAt: string;
19058
+ /**
19059
+ * Update date of the [Message](#schema_message) in ISO 8601 format
19060
+ */
19061
+ updatedAt: string;
19062
+ /**
19063
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
19064
+ */
19065
+ type: string;
19066
+ /**
19067
+ * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
19068
+ */
19069
+ payload: {
19070
+ [k: string]: any;
19071
+ };
19072
+ /**
19073
+ * Direction of the message (`incoming` or `outgoing`).
19074
+ */
19075
+ direction: "incoming" | "outgoing";
19076
+ /**
19077
+ * ID of the [User](#schema_user)
19078
+ */
19079
+ userId: string;
19080
+ /**
19081
+ * ID of the [Conversation](#schema_conversation)
19082
+ */
19083
+ conversationId: string;
19084
+ /**
19085
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
19086
+ */
19087
+ tags: {
19088
+ [k: string]: string;
19089
+ };
19090
+ /**
19091
+ * Origin of the message (`synthetic`).
19092
+ */
19093
+ origin?: "synthetic";
19094
+ }[];
19095
+ meta: {
19096
+ /**
19097
+ * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
19098
+ */
19099
+ nextToken?: string;
19100
+ };
19101
+ }
19102
+
19103
+ interface DeleteMessageRequestHeaders {
18722
19104
  }
18723
- interface ListMessagesRequestQuery {
18724
- nextToken?: string;
18725
- conversationId?: string;
18726
- tags?: {
18727
- [k: string]: string;
18728
- };
18729
- afterDate?: string;
18730
- beforeDate?: string;
19105
+ interface DeleteMessageRequestQuery {
18731
19106
  }
18732
- interface ListMessagesRequestParams {
19107
+ interface DeleteMessageRequestParams {
19108
+ id: string;
18733
19109
  }
18734
- interface ListMessagesRequestBody {
19110
+ interface DeleteMessageRequestBody {
18735
19111
  }
18736
- type ListMessagesInput = ListMessagesRequestBody & ListMessagesRequestHeaders & ListMessagesRequestQuery & ListMessagesRequestParams;
18737
- interface ListMessagesResponse {
18738
- messages: {
19112
+ type DeleteMessageInput = DeleteMessageRequestBody & DeleteMessageRequestHeaders & DeleteMessageRequestQuery & DeleteMessageRequestParams;
19113
+ interface DeleteMessageResponse {
19114
+ }
19115
+
19116
+ interface InitializeIncomingMessageRequestHeaders {
19117
+ }
19118
+ interface InitializeIncomingMessageRequestQuery {
19119
+ }
19120
+ interface InitializeIncomingMessageRequestParams {
19121
+ }
19122
+ interface InitializeIncomingMessageRequestBody {
19123
+ userId?: string;
19124
+ user?: {
19125
+ /**
19126
+ * Tags for the [User](#schema_user)
19127
+ */
19128
+ tags: {
19129
+ [k: string]: string;
19130
+ };
19131
+ /**
19132
+ * @deprecated
19133
+ * [DEPRECATED] To create a [User](#schema_user) from within a bot, call an action of the integration instead.
19134
+ */
19135
+ integrationName?: string;
19136
+ /**
19137
+ * Name of the user
19138
+ */
19139
+ name?: string;
19140
+ /**
19141
+ * URI of the user picture
19142
+ */
19143
+ pictureUrl?: string;
19144
+ /**
19145
+ * Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
19146
+ */
19147
+ discriminateByTags: string[];
19148
+ };
19149
+ conversationId?: string;
19150
+ conversation?: {
19151
+ /**
19152
+ * Channel name
19153
+ */
19154
+ channel: string;
19155
+ /**
19156
+ * Tags for the [Conversation](#schema_conversation)
19157
+ */
19158
+ tags: {
19159
+ [k: string]: string;
19160
+ };
19161
+ /**
19162
+ * @deprecated
19163
+ * [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
19164
+ */
19165
+ integrationName?: string;
19166
+ /**
19167
+ * Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
19168
+ */
19169
+ discriminateByTags: string[];
19170
+ };
19171
+ message?: {
19172
+ /**
19173
+ * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
19174
+ */
19175
+ payload: {
19176
+ [k: string]: any;
19177
+ };
19178
+ /**
19179
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
19180
+ */
19181
+ type: string;
19182
+ /**
19183
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
19184
+ */
19185
+ tags: {
19186
+ [k: string]: string;
19187
+ };
19188
+ origin?: "synthetic";
19189
+ /**
19190
+ * Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
19191
+ */
19192
+ discriminateByTags: string[];
19193
+ };
19194
+ }
19195
+ type InitializeIncomingMessageInput = InitializeIncomingMessageRequestBody & InitializeIncomingMessageRequestHeaders & InitializeIncomingMessageRequestQuery & InitializeIncomingMessageRequestParams;
19196
+ interface InitializeIncomingMessageResponse {
19197
+ /**
19198
+ * The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.
19199
+ */
19200
+ user: {
19201
+ /**
19202
+ * Id of the [User](#schema_user)
19203
+ */
19204
+ id: string;
19205
+ /**
19206
+ * Creation date of the [User](#schema_user) in ISO 8601 format
19207
+ */
19208
+ createdAt: string;
19209
+ /**
19210
+ * Updating date of the [User](#schema_user) in ISO 8601 format
19211
+ */
19212
+ updatedAt: string;
19213
+ /**
19214
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [User](#schema_user). The set of [Tags](/docs/developers/concepts/tags) available on a [User](#schema_user) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
19215
+ */
19216
+ tags: {
19217
+ [k: string]: string;
19218
+ };
19219
+ /**
19220
+ * Name of the [User](#schema_user)
19221
+ */
19222
+ name?: string;
19223
+ /**
19224
+ * Picture URL of the [User](#schema_user)
19225
+ */
19226
+ pictureUrl?: string;
19227
+ };
19228
+ /**
19229
+ * The [Conversation](#schema_conversation) object represents an exchange of messages between one or more users. A [Conversation](#schema_conversation) is always linked to an integration's channels. For example, a Slack channel represents a conversation.
19230
+ */
19231
+ conversation: {
19232
+ /**
19233
+ * Id of the [Conversation](#schema_conversation)
19234
+ */
19235
+ id: string;
19236
+ /**
19237
+ * Id of the current [Task](#schema_task)
19238
+ */
19239
+ currentTaskId?: string;
19240
+ /**
19241
+ * Id of the current [Workflow](#schema_workflow)
19242
+ */
19243
+ currentWorkflowId?: string;
19244
+ /**
19245
+ * Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
19246
+ */
19247
+ createdAt: string;
19248
+ /**
19249
+ * Updating date of the [Conversation](#schema_conversation) in ISO 8601 format
19250
+ */
19251
+ updatedAt: string;
19252
+ /**
19253
+ * Name of the channel where the [Conversation](#schema_conversation) is happening
19254
+ */
19255
+ channel: string;
19256
+ /**
19257
+ * Name of the integration that created the [Conversation](#schema_conversation)
19258
+ */
19259
+ integration: string;
19260
+ /**
19261
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
19262
+ */
19263
+ tags: {
19264
+ [k: string]: string;
19265
+ };
19266
+ };
19267
+ /**
19268
+ * The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
19269
+ */
19270
+ message?: {
18739
19271
  /**
18740
19272
  * Id of the [Message](#schema_message)
18741
19273
  */
@@ -18780,26 +19312,102 @@ interface ListMessagesResponse {
18780
19312
  * Origin of the message (`synthetic`).
18781
19313
  */
18782
19314
  origin?: "synthetic";
18783
- }[];
18784
- meta: {
18785
- /**
18786
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
18787
- */
18788
- nextToken?: string;
18789
19315
  };
18790
19316
  }
18791
19317
 
18792
- interface DeleteMessageRequestHeaders {
19318
+ interface ImportMessagesRequestHeaders {
18793
19319
  }
18794
- interface DeleteMessageRequestQuery {
19320
+ interface ImportMessagesRequestQuery {
18795
19321
  }
18796
- interface DeleteMessageRequestParams {
18797
- id: string;
19322
+ interface ImportMessagesRequestParams {
18798
19323
  }
18799
- interface DeleteMessageRequestBody {
19324
+ interface ImportMessagesRequestBody {
19325
+ /**
19326
+ * @maxItems 100
19327
+ */
19328
+ messages: {
19329
+ /**
19330
+ * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
19331
+ */
19332
+ payload: {
19333
+ [k: string]: any;
19334
+ };
19335
+ /**
19336
+ * ID of the [User](#schema_user)
19337
+ */
19338
+ userId: string;
19339
+ /**
19340
+ * ID of the [Conversation](#schema_conversation)
19341
+ */
19342
+ conversationId: string;
19343
+ /**
19344
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
19345
+ */
19346
+ type: string;
19347
+ /**
19348
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
19349
+ */
19350
+ tags: {
19351
+ [k: string]: string;
19352
+ };
19353
+ /**
19354
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
19355
+ */
19356
+ createdAt: string;
19357
+ /**
19358
+ * Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
19359
+ */
19360
+ discriminateByTags: string[];
19361
+ }[];
18800
19362
  }
18801
- type DeleteMessageInput = DeleteMessageRequestBody & DeleteMessageRequestHeaders & DeleteMessageRequestQuery & DeleteMessageRequestParams;
18802
- interface DeleteMessageResponse {
19363
+ type ImportMessagesInput = ImportMessagesRequestBody & ImportMessagesRequestHeaders & ImportMessagesRequestQuery & ImportMessagesRequestParams;
19364
+ interface ImportMessagesResponse {
19365
+ messages: {
19366
+ /**
19367
+ * Id of the [Message](#schema_message)
19368
+ */
19369
+ id: string;
19370
+ /**
19371
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
19372
+ */
19373
+ createdAt: string;
19374
+ /**
19375
+ * Update date of the [Message](#schema_message) in ISO 8601 format
19376
+ */
19377
+ updatedAt: string;
19378
+ /**
19379
+ * Type of the [Message](#schema_message) represents the resource type that the message is related to
19380
+ */
19381
+ type: string;
19382
+ /**
19383
+ * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
19384
+ */
19385
+ payload: {
19386
+ [k: string]: any;
19387
+ };
19388
+ /**
19389
+ * Direction of the message (`incoming` or `outgoing`).
19390
+ */
19391
+ direction: "incoming" | "outgoing";
19392
+ /**
19393
+ * ID of the [User](#schema_user)
19394
+ */
19395
+ userId: string;
19396
+ /**
19397
+ * ID of the [Conversation](#schema_conversation)
19398
+ */
19399
+ conversationId: string;
19400
+ /**
19401
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
19402
+ */
19403
+ tags: {
19404
+ [k: string]: string;
19405
+ };
19406
+ /**
19407
+ * Origin of the message (`synthetic`).
19408
+ */
19409
+ origin?: "synthetic";
19410
+ }[];
18803
19411
  }
18804
19412
 
18805
19413
  interface CreateUserRequestHeaders {
@@ -18916,6 +19524,11 @@ interface ListUsersRequestQuery {
18916
19524
  tags?: {
18917
19525
  [k: string]: string;
18918
19526
  };
19527
+ afterDate?: string;
19528
+ beforeDate?: string;
19529
+ rangeField?: "updatedAt" | "createdAt";
19530
+ sortField?: "updatedAt" | "createdAt";
19531
+ sortDirection?: "asc" | "desc";
18919
19532
  }
18920
19533
  interface ListUsersRequestParams {
18921
19534
  }
@@ -23326,7 +23939,7 @@ interface CreateBotResponse {
23326
23939
  /**
23327
23940
  * Status of the bot
23328
23941
  */
23329
- status: "active" | "deploying";
23942
+ status: "active" | "deploying" | "deleting";
23330
23943
  /**
23331
23944
  * Media files associated with the [Bot](#schema_bot)
23332
23945
  */
@@ -24006,7 +24619,7 @@ interface UpdateBotResponse {
24006
24619
  /**
24007
24620
  * Status of the bot
24008
24621
  */
24009
- status: "active" | "deploying";
24622
+ status: "active" | "deploying" | "deleting";
24010
24623
  /**
24011
24624
  * Media files associated with the [Bot](#schema_bot)
24012
24625
  */
@@ -24497,7 +25110,7 @@ interface GetBotResponse {
24497
25110
  /**
24498
25111
  * Status of the bot
24499
25112
  */
24500
- status: "active" | "deploying";
25113
+ status: "active" | "deploying" | "deleting";
24501
25114
  /**
24502
25115
  * Media files associated with the [Bot](#schema_bot)
24503
25116
  */
@@ -25277,7 +25890,7 @@ interface GetWorkspaceResponse {
25277
25890
  interface ListWorkspaceUsagesRequestHeaders {
25278
25891
  }
25279
25892
  interface ListWorkspaceUsagesRequestQuery {
25280
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
25893
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
25281
25894
  period?: string;
25282
25895
  }
25283
25896
  interface ListWorkspaceUsagesRequestParams {
@@ -25307,14 +25920,14 @@ interface ListWorkspaceUsagesResponse {
25307
25920
  /**
25308
25921
  * Usage type that can be used
25309
25922
  */
25310
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
25923
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
25311
25924
  }[];
25312
25925
  }
25313
25926
 
25314
25927
  interface BreakDownWorkspaceUsageByBotRequestHeaders {
25315
25928
  }
25316
25929
  interface BreakDownWorkspaceUsageByBotRequestQuery {
25317
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
25930
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
25318
25931
  period?: string;
25319
25932
  }
25320
25933
  interface BreakDownWorkspaceUsageByBotRequestParams {
@@ -25341,7 +25954,7 @@ interface GetAllWorkspaceQuotaCompletionRequestBody {
25341
25954
  type GetAllWorkspaceQuotaCompletionInput = GetAllWorkspaceQuotaCompletionRequestBody & GetAllWorkspaceQuotaCompletionRequestHeaders & GetAllWorkspaceQuotaCompletionRequestQuery & GetAllWorkspaceQuotaCompletionRequestParams;
25342
25955
  interface GetAllWorkspaceQuotaCompletionResponse {
25343
25956
  [k: string]: {
25344
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
25957
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
25345
25958
  completion: number;
25346
25959
  };
25347
25960
  }
@@ -25349,7 +25962,7 @@ interface GetAllWorkspaceQuotaCompletionResponse {
25349
25962
  interface GetWorkspaceQuotaRequestHeaders {
25350
25963
  }
25351
25964
  interface GetWorkspaceQuotaRequestQuery {
25352
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
25965
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
25353
25966
  period?: string;
25354
25967
  }
25355
25968
  interface GetWorkspaceQuotaRequestParams {
@@ -25371,7 +25984,7 @@ interface GetWorkspaceQuotaResponse {
25371
25984
  /**
25372
25985
  * Usage type that can be used
25373
25986
  */
25374
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
25987
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
25375
25988
  };
25376
25989
  }
25377
25990
 
@@ -25399,7 +26012,7 @@ interface ListWorkspaceQuotasResponse {
25399
26012
  /**
25400
26013
  * Usage type that can be used
25401
26014
  */
25402
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
26015
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
25403
26016
  }[];
25404
26017
  }
25405
26018
 
@@ -31543,7 +32156,7 @@ interface GetPluginCodeResponse {
31543
32156
  interface GetUsageRequestHeaders {
31544
32157
  }
31545
32158
  interface GetUsageRequestQuery {
31546
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
32159
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
31547
32160
  period?: string;
31548
32161
  }
31549
32162
  interface GetUsageRequestParams {
@@ -31573,7 +32186,7 @@ interface GetUsageResponse {
31573
32186
  /**
31574
32187
  * Usage type that can be used
31575
32188
  */
31576
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
32189
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
31577
32190
  };
31578
32191
  }
31579
32192
 
@@ -31610,14 +32223,14 @@ interface GetMultipleUsagesResponse {
31610
32223
  /**
31611
32224
  * Usage type that can be used
31612
32225
  */
31613
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
32226
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
31614
32227
  }[];
31615
32228
  }
31616
32229
 
31617
32230
  interface ListUsageHistoryRequestHeaders {
31618
32231
  }
31619
32232
  interface ListUsageHistoryRequestQuery {
31620
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
32233
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
31621
32234
  }
31622
32235
  interface ListUsageHistoryRequestParams {
31623
32236
  id: string;
@@ -31646,14 +32259,14 @@ interface ListUsageHistoryResponse {
31646
32259
  /**
31647
32260
  * Usage type that can be used
31648
32261
  */
31649
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
32262
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
31650
32263
  }[];
31651
32264
  }
31652
32265
 
31653
32266
  interface ListUsageActivityRequestHeaders {
31654
32267
  }
31655
32268
  interface ListUsageActivityRequestQuery {
31656
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
32269
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
31657
32270
  timestampFrom?: string;
31658
32271
  timestampUntil?: string;
31659
32272
  nextToken?: string;
@@ -31681,7 +32294,7 @@ interface ListUsageActivityResponse {
31681
32294
  interface ListUsageActivityDailyRequestHeaders {
31682
32295
  }
31683
32296
  interface ListUsageActivityDailyRequestQuery {
31684
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
32297
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
31685
32298
  dateFrom?: string;
31686
32299
  dateUntil?: string;
31687
32300
  nextToken?: string;
@@ -32055,6 +32668,7 @@ interface ListFilesRequestQuery {
32055
32668
  * @maxItems 50
32056
32669
  */
32057
32670
  ids?: string[];
32671
+ indexed?: boolean;
32058
32672
  }
32059
32673
  interface ListFilesRequestParams {
32060
32674
  }
@@ -33721,7 +34335,7 @@ interface ExportTableResponse {
33721
34335
  id: string;
33722
34336
  botId: string;
33723
34337
  tableId: string;
33724
- type: "export" | "import";
34338
+ type: "export" | "import" | "clear_column" | "clear_vectors";
33725
34339
  status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
33726
34340
  progress?: number;
33727
34341
  inputFileId: string | null;
@@ -33746,7 +34360,7 @@ interface GetTableJobsResponse {
33746
34360
  id: string;
33747
34361
  botId: string;
33748
34362
  tableId: string;
33749
- type: "export" | "import";
34363
+ type: "export" | "import" | "clear_column" | "clear_vectors";
33750
34364
  status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
33751
34365
  progress?: number;
33752
34366
  inputFileId: string | null;
@@ -33775,7 +34389,7 @@ interface ImportTableResponse {
33775
34389
  id: string;
33776
34390
  botId: string;
33777
34391
  tableId: string;
33778
- type: "export" | "import";
34392
+ type: "export" | "import" | "clear_column" | "clear_vectors";
33779
34393
  status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
33780
34394
  progress?: number;
33781
34395
  inputFileId: string | null;
@@ -34929,7 +35543,7 @@ interface Bot {
34929
35543
  /**
34930
35544
  * Status of the bot
34931
35545
  */
34932
- status: "active" | "deploying";
35546
+ status: "active" | "deploying" | "deleting";
34933
35547
  /**
34934
35548
  * Media files associated with the [Bot](#schema_bot)
34935
35549
  */
@@ -35756,7 +36370,7 @@ interface Usage {
35756
36370
  /**
35757
36371
  * Usage type that can be used
35758
36372
  */
35759
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
36373
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
35760
36374
  }
35761
36375
  interface Issue {
35762
36376
  id: string;
@@ -36476,6 +37090,8 @@ declare class Client$1 {
36476
37090
  readonly updateMessage: (input: UpdateMessageInput) => Promise<UpdateMessageResponse>;
36477
37091
  readonly listMessages: (input: ListMessagesInput) => Promise<ListMessagesResponse>;
36478
37092
  readonly deleteMessage: (input: DeleteMessageInput) => Promise<DeleteMessageResponse>;
37093
+ readonly initializeIncomingMessage: (input: InitializeIncomingMessageInput) => Promise<InitializeIncomingMessageResponse>;
37094
+ readonly importMessages: (input: ImportMessagesInput) => Promise<ImportMessagesResponse>;
36479
37095
  readonly createUser: (input: CreateUserInput) => Promise<CreateUserResponse>;
36480
37096
  readonly getUser: (input: GetUserInput) => Promise<GetUserResponse>;
36481
37097
  readonly listUsers: (input: ListUsersInput) => Promise<ListUsersResponse>;
@@ -36744,7 +37360,12 @@ declare class Client extends Client$1 implements IClient {
36744
37360
  tags?: {
36745
37361
  [x: string]: string;
36746
37362
  } | undefined;
37363
+ sortField?: "updatedAt" | "createdAt" | undefined;
37364
+ sortDirection?: "asc" | "desc" | undefined;
37365
+ afterDate?: string | undefined;
37366
+ beforeDate?: string | undefined;
36747
37367
  conversationId?: string | undefined;
37368
+ rangeField?: "updatedAt" | "createdAt" | undefined;
36748
37369
  }) => AsyncCollection<{
36749
37370
  id: string;
36750
37371
  createdAt: string;
@@ -36990,6 +37611,7 @@ declare class Client extends Client$1 implements IClient {
36990
37611
  sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
36991
37612
  sortDirection?: "asc" | "desc" | undefined;
36992
37613
  ids?: string[] | undefined;
37614
+ indexed?: boolean | undefined;
36993
37615
  }) => AsyncCollection<{
36994
37616
  id: string;
36995
37617
  botId: string;
@@ -37047,7 +37669,7 @@ declare class Client extends Client$1 implements IClient {
37047
37669
  };
37048
37670
  }>;
37049
37671
  usageActivity: (props: {
37050
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
37672
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
37051
37673
  id: string;
37052
37674
  timestampFrom?: string | undefined;
37053
37675
  timestampUntil?: string | undefined;
@@ -37060,7 +37682,7 @@ declare class Client extends Client$1 implements IClient {
37060
37682
  };
37061
37683
  }>;
37062
37684
  usageActivityDaily: (props: {
37063
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
37685
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
37064
37686
  id: string;
37065
37687
  dateFrom?: string | undefined;
37066
37688
  dateUntil?: string | undefined;