@botpress/cognitive 0.3.0 → 0.3.2

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
@@ -1093,6 +1093,10 @@ interface UpsertFileRequestBody$1 {
1093
1093
  */
1094
1094
  configuration: {
1095
1095
  parsing?: {
1096
+ /**
1097
+ * The parsing mode to index the file. Using `agent` will use agentic document processing to parse the file and will incurr in AI Spend cost, while `standard` will use a faster but less accurate parser that will not incur in AI Spend cost.
1098
+ */
1099
+ mode?: "agent" | "standard";
1096
1100
  /**
1097
1101
  * The minimum length a standalone paragraph should have. If a paragraph is shorter than this, it will be merged with the next immediate paragraph.
1098
1102
  */
@@ -1301,6 +1305,10 @@ interface UpsertFileResponse$1 {
1301
1305
  * This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
1302
1306
  */
1303
1307
  name?: string;
1308
+ /**
1309
+ * This field is present if the `type` is "integration". If `type` is "integration", this is the integration instance alias.
1310
+ */
1311
+ alias?: string;
1304
1312
  };
1305
1313
  /**
1306
1314
  * Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.
@@ -1465,6 +1473,8 @@ interface ListConversationsRequestQuery {
1465
1473
  participantIds?: string[];
1466
1474
  integrationName?: string;
1467
1475
  channel?: string;
1476
+ afterDate?: string;
1477
+ beforeDate?: string;
1468
1478
  }
1469
1479
  interface ListConversationsRequestParams {
1470
1480
  }
@@ -2378,6 +2388,8 @@ interface ListMessagesRequestQuery {
2378
2388
  tags?: {
2379
2389
  [k: string]: string;
2380
2390
  };
2391
+ afterDate?: string;
2392
+ beforeDate?: string;
2381
2393
  }
2382
2394
  interface ListMessagesRequestParams {
2383
2395
  }
@@ -4335,6 +4347,10 @@ interface ListPublicIntegrationsResponse {
4335
4347
  * Status of the integration version verification
4336
4348
  */
4337
4349
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
4350
+ /**
4351
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
4352
+ */
4353
+ lifecycleStatus: "published" | "deprecated";
4338
4354
  ownerWorkspace: {
4339
4355
  id: string;
4340
4356
  handle: string | null;
@@ -4773,6 +4789,10 @@ interface GetPublicIntegrationByIdResponse {
4773
4789
  * Status of the integration version verification
4774
4790
  */
4775
4791
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
4792
+ /**
4793
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
4794
+ */
4795
+ lifecycleStatus: "published" | "deprecated";
4776
4796
  /**
4777
4797
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
4778
4798
  */
@@ -5185,6 +5205,10 @@ interface GetPublicIntegrationResponse {
5185
5205
  * Status of the integration version verification
5186
5206
  */
5187
5207
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
5208
+ /**
5209
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
5210
+ */
5211
+ lifecycleStatus: "published" | "deprecated";
5188
5212
  /**
5189
5213
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
5190
5214
  */
@@ -5260,6 +5284,10 @@ interface ListPublicPluginsResponse {
5260
5284
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
5261
5285
  */
5262
5286
  visibility: "public" | "private" | "unlisted";
5287
+ /**
5288
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
5289
+ */
5290
+ lifecycleStatus: "published" | "deprecated";
5263
5291
  }[];
5264
5292
  meta: {
5265
5293
  /**
@@ -5482,6 +5510,10 @@ interface GetPublicPluginByIdResponse {
5482
5510
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
5483
5511
  */
5484
5512
  visibility: "public" | "private" | "unlisted";
5513
+ /**
5514
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
5515
+ */
5516
+ lifecycleStatus: "published" | "deprecated";
5485
5517
  };
5486
5518
  }
5487
5519
 
@@ -5707,6 +5739,10 @@ interface GetDereferencedPublicPluginByIdResponse {
5707
5739
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
5708
5740
  */
5709
5741
  visibility: "public" | "private" | "unlisted";
5742
+ /**
5743
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
5744
+ */
5745
+ lifecycleStatus: "published" | "deprecated";
5710
5746
  };
5711
5747
  }
5712
5748
 
@@ -5924,6 +5960,10 @@ interface GetPublicPluginResponse {
5924
5960
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
5925
5961
  */
5926
5962
  visibility: "public" | "private" | "unlisted";
5963
+ /**
5964
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
5965
+ */
5966
+ lifecycleStatus: "published" | "deprecated";
5927
5967
  };
5928
5968
  }
5929
5969
 
@@ -6528,6 +6568,10 @@ interface CreateBotRequestBody {
6528
6568
  * Optional name for the bot, if not provided will be auto-generated
6529
6569
  */
6530
6570
  name?: string;
6571
+ /**
6572
+ * Optional description for the bot
6573
+ */
6574
+ description?: string;
6531
6575
  /**
6532
6576
  * Media files associated with the [Bot](#schema_bot)
6533
6577
  */
@@ -6627,6 +6671,10 @@ interface CreateBotResponse {
6627
6671
  * Status of the integration version verification
6628
6672
  */
6629
6673
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
6674
+ /**
6675
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
6676
+ */
6677
+ lifecycleStatus: "published" | "deprecated";
6630
6678
  };
6631
6679
  };
6632
6680
  /**
@@ -6703,6 +6751,10 @@ interface CreateBotResponse {
6703
6751
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
6704
6752
  */
6705
6753
  visibility: "public" | "private" | "unlisted";
6754
+ /**
6755
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
6756
+ */
6757
+ lifecycleStatus: "published" | "deprecated";
6706
6758
  };
6707
6759
  };
6708
6760
  /**
@@ -6913,6 +6965,10 @@ interface CreateBotResponse {
6913
6965
  * Name of the [Bot](#schema_bot)
6914
6966
  */
6915
6967
  name: string;
6968
+ /**
6969
+ * Description of the [Bot](#schema_bot)
6970
+ */
6971
+ description?: string;
6916
6972
  /**
6917
6973
  * Last deployment date of the [Bot](#schema_bot) in the ISO 8601 format
6918
6974
  */
@@ -7195,6 +7251,10 @@ interface UpdateBotRequestBody {
7195
7251
  * Optional name for the bot, if not provided will be auto-generated
7196
7252
  */
7197
7253
  name?: string;
7254
+ /**
7255
+ * Optional description for the bot
7256
+ */
7257
+ description?: string;
7198
7258
  /**
7199
7259
  * Media files associated with the [Bot](#schema_bot)
7200
7260
  */
@@ -7291,6 +7351,10 @@ interface UpdateBotResponse {
7291
7351
  * Status of the integration version verification
7292
7352
  */
7293
7353
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
7354
+ /**
7355
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
7356
+ */
7357
+ lifecycleStatus: "published" | "deprecated";
7294
7358
  };
7295
7359
  };
7296
7360
  /**
@@ -7367,6 +7431,10 @@ interface UpdateBotResponse {
7367
7431
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
7368
7432
  */
7369
7433
  visibility: "public" | "private" | "unlisted";
7434
+ /**
7435
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
7436
+ */
7437
+ lifecycleStatus: "published" | "deprecated";
7370
7438
  };
7371
7439
  };
7372
7440
  /**
@@ -7577,6 +7645,10 @@ interface UpdateBotResponse {
7577
7645
  * Name of the [Bot](#schema_bot)
7578
7646
  */
7579
7647
  name: string;
7648
+ /**
7649
+ * Description of the [Bot](#schema_bot)
7650
+ */
7651
+ description?: string;
7580
7652
  /**
7581
7653
  * Last deployment date of the [Bot](#schema_bot) in the ISO 8601 format
7582
7654
  */
@@ -7770,6 +7842,10 @@ interface GetBotResponse {
7770
7842
  * Status of the integration version verification
7771
7843
  */
7772
7844
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
7845
+ /**
7846
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
7847
+ */
7848
+ lifecycleStatus: "published" | "deprecated";
7773
7849
  };
7774
7850
  };
7775
7851
  /**
@@ -7846,6 +7922,10 @@ interface GetBotResponse {
7846
7922
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
7847
7923
  */
7848
7924
  visibility: "public" | "private" | "unlisted";
7925
+ /**
7926
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
7927
+ */
7928
+ lifecycleStatus: "published" | "deprecated";
7849
7929
  };
7850
7930
  };
7851
7931
  /**
@@ -8056,6 +8136,10 @@ interface GetBotResponse {
8056
8136
  * Name of the [Bot](#schema_bot)
8057
8137
  */
8058
8138
  name: string;
8139
+ /**
8140
+ * Description of the [Bot](#schema_bot)
8141
+ */
8142
+ description?: string;
8059
8143
  /**
8060
8144
  * Last deployment date of the [Bot](#schema_bot) in the ISO 8601 format
8061
8145
  */
@@ -8855,7 +8939,7 @@ interface GetWorkspaceResponse {
8855
8939
  interface ListWorkspaceUsagesRequestHeaders {
8856
8940
  }
8857
8941
  interface ListWorkspaceUsagesRequestQuery {
8858
- 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";
8942
+ 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";
8859
8943
  period?: string;
8860
8944
  }
8861
8945
  interface ListWorkspaceUsagesRequestParams {
@@ -8885,14 +8969,14 @@ interface ListWorkspaceUsagesResponse {
8885
8969
  /**
8886
8970
  * Usage type that can be used
8887
8971
  */
8888
- 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";
8972
+ 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";
8889
8973
  }[];
8890
8974
  }
8891
8975
 
8892
8976
  interface BreakDownWorkspaceUsageByBotRequestHeaders {
8893
8977
  }
8894
8978
  interface BreakDownWorkspaceUsageByBotRequestQuery {
8895
- 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";
8979
+ 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";
8896
8980
  period?: string;
8897
8981
  }
8898
8982
  interface BreakDownWorkspaceUsageByBotRequestParams {
@@ -8919,7 +9003,7 @@ interface GetAllWorkspaceQuotaCompletionRequestBody {
8919
9003
  type GetAllWorkspaceQuotaCompletionInput = GetAllWorkspaceQuotaCompletionRequestBody & GetAllWorkspaceQuotaCompletionRequestHeaders & GetAllWorkspaceQuotaCompletionRequestQuery & GetAllWorkspaceQuotaCompletionRequestParams;
8920
9004
  interface GetAllWorkspaceQuotaCompletionResponse {
8921
9005
  [k: string]: {
8922
- 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";
9006
+ 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";
8923
9007
  completion: number;
8924
9008
  };
8925
9009
  }
@@ -8927,7 +9011,7 @@ interface GetAllWorkspaceQuotaCompletionResponse {
8927
9011
  interface GetWorkspaceQuotaRequestHeaders {
8928
9012
  }
8929
9013
  interface GetWorkspaceQuotaRequestQuery {
8930
- 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";
9014
+ 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";
8931
9015
  period?: string;
8932
9016
  }
8933
9017
  interface GetWorkspaceQuotaRequestParams {
@@ -8949,7 +9033,7 @@ interface GetWorkspaceQuotaResponse {
8949
9033
  /**
8950
9034
  * Usage type that can be used
8951
9035
  */
8952
- 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";
9036
+ 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";
8953
9037
  };
8954
9038
  }
8955
9039
 
@@ -8977,7 +9061,7 @@ interface ListWorkspaceQuotasResponse {
8977
9061
  /**
8978
9062
  * Usage type that can be used
8979
9063
  */
8980
- 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";
9064
+ 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";
8981
9065
  }[];
8982
9066
  }
8983
9067
 
@@ -10073,6 +10157,10 @@ interface CreateIntegrationResponse {
10073
10157
  * Status of the integration version verification
10074
10158
  */
10075
10159
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
10160
+ /**
10161
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
10162
+ */
10163
+ lifecycleStatus: "published" | "deprecated";
10076
10164
  /**
10077
10165
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
10078
10166
  */
@@ -11149,6 +11237,10 @@ interface UpdateIntegrationResponse {
11149
11237
  * Status of the integration version verification
11150
11238
  */
11151
11239
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
11240
+ /**
11241
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
11242
+ */
11243
+ lifecycleStatus: "published" | "deprecated";
11152
11244
  /**
11153
11245
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
11154
11246
  */
@@ -11562,6 +11654,10 @@ interface ListIntegrationsResponse {
11562
11654
  * Status of the integration version verification
11563
11655
  */
11564
11656
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
11657
+ /**
11658
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
11659
+ */
11660
+ lifecycleStatus: "published" | "deprecated";
11565
11661
  /**
11566
11662
  * Metadata about which fields matched the search criteria
11567
11663
  */
@@ -11996,6 +12092,10 @@ interface GetIntegrationResponse {
11996
12092
  * Status of the integration version verification
11997
12093
  */
11998
12094
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
12095
+ /**
12096
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
12097
+ */
12098
+ lifecycleStatus: "published" | "deprecated";
11999
12099
  /**
12000
12100
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
12001
12101
  */
@@ -12428,6 +12528,10 @@ interface GetIntegrationByNameResponse {
12428
12528
  * Status of the integration version verification
12429
12529
  */
12430
12530
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
12531
+ /**
12532
+ * The lifecycle status of the integration. When an integration is deprecated, it can no longer be installed.
12533
+ */
12534
+ lifecycleStatus: "published" | "deprecated";
12431
12535
  /**
12432
12536
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
12433
12537
  */
@@ -13897,6 +14001,10 @@ interface CreatePluginResponse {
13897
14001
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
13898
14002
  */
13899
14003
  visibility: "public" | "private" | "unlisted";
14004
+ /**
14005
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
14006
+ */
14007
+ lifecycleStatus: "published" | "deprecated";
13900
14008
  };
13901
14009
  }
13902
14010
 
@@ -14113,6 +14221,10 @@ interface GetPluginResponse {
14113
14221
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
14114
14222
  */
14115
14223
  visibility: "public" | "private" | "unlisted";
14224
+ /**
14225
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
14226
+ */
14227
+ lifecycleStatus: "published" | "deprecated";
14116
14228
  };
14117
14229
  }
14118
14230
 
@@ -14338,6 +14450,10 @@ interface GetDereferencedPluginResponse {
14338
14450
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
14339
14451
  */
14340
14452
  visibility: "public" | "private" | "unlisted";
14453
+ /**
14454
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
14455
+ */
14456
+ lifecycleStatus: "published" | "deprecated";
14341
14457
  };
14342
14458
  }
14343
14459
 
@@ -14555,6 +14671,10 @@ interface GetPluginByNameResponse {
14555
14671
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
14556
14672
  */
14557
14673
  visibility: "public" | "private" | "unlisted";
14674
+ /**
14675
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
14676
+ */
14677
+ lifecycleStatus: "published" | "deprecated";
14558
14678
  };
14559
14679
  }
14560
14680
 
@@ -14975,6 +15095,10 @@ interface UpdatePluginResponse {
14975
15095
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
14976
15096
  */
14977
15097
  visibility: "public" | "private" | "unlisted";
15098
+ /**
15099
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
15100
+ */
15101
+ lifecycleStatus: "published" | "deprecated";
14978
15102
  };
14979
15103
  }
14980
15104
 
@@ -15050,6 +15174,10 @@ interface ListPluginsResponse {
15050
15174
  * The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
15051
15175
  */
15052
15176
  visibility: "public" | "private" | "unlisted";
15177
+ /**
15178
+ * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
15179
+ */
15180
+ lifecycleStatus: "published" | "deprecated";
15053
15181
  }[];
15054
15182
  meta: {
15055
15183
  /**
@@ -15077,7 +15205,7 @@ interface GetPluginCodeResponse {
15077
15205
  interface GetUsageRequestHeaders {
15078
15206
  }
15079
15207
  interface GetUsageRequestQuery {
15080
- 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";
15208
+ 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";
15081
15209
  period?: string;
15082
15210
  }
15083
15211
  interface GetUsageRequestParams {
@@ -15107,7 +15235,7 @@ interface GetUsageResponse {
15107
15235
  /**
15108
15236
  * Usage type that can be used
15109
15237
  */
15110
- 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";
15238
+ 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";
15111
15239
  };
15112
15240
  }
15113
15241
 
@@ -15144,14 +15272,14 @@ interface GetMultipleUsagesResponse {
15144
15272
  /**
15145
15273
  * Usage type that can be used
15146
15274
  */
15147
- 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";
15275
+ 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";
15148
15276
  }[];
15149
15277
  }
15150
15278
 
15151
15279
  interface ListUsageHistoryRequestHeaders {
15152
15280
  }
15153
15281
  interface ListUsageHistoryRequestQuery {
15154
- 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";
15282
+ 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";
15155
15283
  }
15156
15284
  interface ListUsageHistoryRequestParams {
15157
15285
  id: string;
@@ -15180,14 +15308,14 @@ interface ListUsageHistoryResponse {
15180
15308
  /**
15181
15309
  * Usage type that can be used
15182
15310
  */
15183
- 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";
15311
+ 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";
15184
15312
  }[];
15185
15313
  }
15186
15314
 
15187
15315
  interface ListUsageActivityRequestHeaders {
15188
15316
  }
15189
15317
  interface ListUsageActivityRequestQuery {
15190
- 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";
15318
+ 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";
15191
15319
  timestampFrom?: string;
15192
15320
  timestampUntil?: string;
15193
15321
  nextToken?: string;
@@ -15215,7 +15343,7 @@ interface ListUsageActivityResponse {
15215
15343
  interface ListUsageActivityDailyRequestHeaders {
15216
15344
  }
15217
15345
  interface ListUsageActivityDailyRequestQuery {
15218
- 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";
15346
+ 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";
15219
15347
  dateFrom?: string;
15220
15348
  dateUntil?: string;
15221
15349
  nextToken?: string;
@@ -15337,6 +15465,10 @@ interface UpsertFileRequestBody {
15337
15465
  */
15338
15466
  configuration: {
15339
15467
  parsing?: {
15468
+ /**
15469
+ * The parsing mode to index the file. Using `agent` will use agentic document processing to parse the file and will incurr in AI Spend cost, while `standard` will use a faster but less accurate parser that will not incur in AI Spend cost.
15470
+ */
15471
+ mode?: "agent" | "standard";
15340
15472
  /**
15341
15473
  * The minimum length a standalone paragraph should have. If a paragraph is shorter than this, it will be merged with the next immediate paragraph.
15342
15474
  */
@@ -15545,6 +15677,10 @@ interface UpsertFileResponse {
15545
15677
  * This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
15546
15678
  */
15547
15679
  name?: string;
15680
+ /**
15681
+ * This field is present if the `type` is "integration". If `type` is "integration", this is the integration instance alias.
15682
+ */
15683
+ alias?: string;
15548
15684
  };
15549
15685
  /**
15550
15686
  * Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.
@@ -15671,6 +15807,10 @@ interface ListFilesResponse {
15671
15807
  * This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
15672
15808
  */
15673
15809
  name?: string;
15810
+ /**
15811
+ * This field is present if the `type` is "integration". If `type` is "integration", this is the integration instance alias.
15812
+ */
15813
+ alias?: string;
15674
15814
  };
15675
15815
  /**
15676
15816
  * Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.
@@ -15779,6 +15919,10 @@ interface GetFileResponse {
15779
15919
  * This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
15780
15920
  */
15781
15921
  name?: string;
15922
+ /**
15923
+ * This field is present if the `type` is "integration". If `type` is "integration", this is the integration instance alias.
15924
+ */
15925
+ alias?: string;
15782
15926
  };
15783
15927
  /**
15784
15928
  * Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.
@@ -15901,6 +16045,10 @@ interface UpdateFileMetadataResponse {
15901
16045
  * This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
15902
16046
  */
15903
16047
  name?: string;
16048
+ /**
16049
+ * This field is present if the `type` is "integration". If `type` is "integration", this is the integration instance alias.
16050
+ */
16051
+ alias?: string;
15904
16052
  };
15905
16053
  /**
15906
16054
  * Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.
@@ -16011,6 +16159,10 @@ interface CopyFileResponse {
16011
16159
  * This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
16012
16160
  */
16013
16161
  name?: string;
16162
+ /**
16163
+ * This field is present if the `type` is "integration". If `type` is "integration", this is the integration instance alias.
16164
+ */
16165
+ alias?: string;
16014
16166
  };
16015
16167
  /**
16016
16168
  * Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.
@@ -16390,13 +16542,17 @@ interface ListTablesResponse {
16390
16542
  */
16391
16543
  name: string;
16392
16544
  /**
16393
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16545
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16394
16546
  */
16395
16547
  factor?: number;
16396
16548
  /**
16397
16549
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
16398
16550
  */
16399
16551
  frozen?: boolean;
16552
+ /**
16553
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
16554
+ */
16555
+ keyColumn?: string | null;
16400
16556
  schema: {
16401
16557
  $schema?: string;
16402
16558
  /**
@@ -16535,13 +16691,17 @@ interface GetTableResponse {
16535
16691
  */
16536
16692
  name: string;
16537
16693
  /**
16538
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16694
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16539
16695
  */
16540
16696
  factor?: number;
16541
16697
  /**
16542
16698
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
16543
16699
  */
16544
16700
  frozen?: boolean;
16701
+ /**
16702
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
16703
+ */
16704
+ keyColumn?: string | null;
16545
16705
  schema: {
16546
16706
  $schema?: string;
16547
16707
  /**
@@ -16680,13 +16840,17 @@ interface GetOrCreateTableRequestParams {
16680
16840
  }
16681
16841
  interface GetOrCreateTableRequestBody {
16682
16842
  /**
16683
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16843
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16684
16844
  */
16685
16845
  factor?: number;
16686
16846
  /**
16687
16847
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
16688
16848
  */
16689
16849
  frozen?: boolean;
16850
+ /**
16851
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
16852
+ */
16853
+ keyColumn?: string | null;
16690
16854
  /**
16691
16855
  * Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
16692
16856
  */
@@ -16716,13 +16880,17 @@ interface GetOrCreateTableResponse {
16716
16880
  */
16717
16881
  name: string;
16718
16882
  /**
16719
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16883
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16720
16884
  */
16721
16885
  factor?: number;
16722
16886
  /**
16723
16887
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
16724
16888
  */
16725
16889
  frozen?: boolean;
16890
+ /**
16891
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
16892
+ */
16893
+ keyColumn?: string | null;
16726
16894
  schema: {
16727
16895
  $schema?: string;
16728
16896
  /**
@@ -16868,13 +17036,17 @@ interface CreateTableRequestBody {
16868
17036
  */
16869
17037
  name: string;
16870
17038
  /**
16871
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17039
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16872
17040
  */
16873
17041
  factor?: number;
16874
17042
  /**
16875
17043
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
16876
17044
  */
16877
17045
  frozen?: boolean;
17046
+ /**
17047
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
17048
+ */
17049
+ keyColumn?: string | null;
16878
17050
  /**
16879
17051
  * Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
16880
17052
  */
@@ -16904,13 +17076,17 @@ interface CreateTableResponse {
16904
17076
  */
16905
17077
  name: string;
16906
17078
  /**
16907
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17079
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16908
17080
  */
16909
17081
  factor?: number;
16910
17082
  /**
16911
17083
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
16912
17084
  */
16913
17085
  frozen?: boolean;
17086
+ /**
17087
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
17088
+ */
17089
+ keyColumn?: string | null;
16914
17090
  schema: {
16915
17091
  $schema?: string;
16916
17092
  /**
@@ -17042,7 +17218,7 @@ interface DuplicateTableRequestBody {
17042
17218
  */
17043
17219
  schemaOnly?: boolean;
17044
17220
  /**
17045
- * Use a different factor for the table. Leave empty to use the same as the duplicated table.
17221
+ * Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table.
17046
17222
  */
17047
17223
  factor?: number;
17048
17224
  }
@@ -17058,13 +17234,17 @@ interface DuplicateTableResponse {
17058
17234
  */
17059
17235
  name: string;
17060
17236
  /**
17061
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17237
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17062
17238
  */
17063
17239
  factor?: number;
17064
17240
  /**
17065
17241
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
17066
17242
  */
17067
17243
  frozen?: boolean;
17244
+ /**
17245
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
17246
+ */
17247
+ keyColumn?: string | null;
17068
17248
  schema: {
17069
17249
  $schema?: string;
17070
17250
  /**
@@ -17283,6 +17463,10 @@ interface UpdateTableRequestBody {
17283
17463
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
17284
17464
  */
17285
17465
  frozen?: boolean;
17466
+ /**
17467
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
17468
+ */
17469
+ keyColumn?: string | null;
17286
17470
  /**
17287
17471
  * Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
17288
17472
  */
@@ -17299,6 +17483,10 @@ interface UpdateTableRequestBody {
17299
17483
  * Indicates if the table is enabled for computation.
17300
17484
  */
17301
17485
  isComputeEnabled?: boolean;
17486
+ /**
17487
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased, not decreased. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota.
17488
+ */
17489
+ factor?: number;
17302
17490
  }
17303
17491
  type UpdateTableInput = UpdateTableRequestBody & UpdateTableRequestHeaders & UpdateTableRequestQuery & UpdateTableRequestParams;
17304
17492
  interface UpdateTableResponse {
@@ -17312,13 +17500,17 @@ interface UpdateTableResponse {
17312
17500
  */
17313
17501
  name: string;
17314
17502
  /**
17315
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17503
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17316
17504
  */
17317
17505
  factor?: number;
17318
17506
  /**
17319
17507
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
17320
17508
  */
17321
17509
  frozen?: boolean;
17510
+ /**
17511
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
17512
+ */
17513
+ keyColumn?: string | null;
17322
17514
  schema: {
17323
17515
  $schema?: string;
17324
17516
  /**
@@ -17469,13 +17661,17 @@ interface RenameTableColumnResponse {
17469
17661
  */
17470
17662
  name: string;
17471
17663
  /**
17472
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17664
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17473
17665
  */
17474
17666
  factor?: number;
17475
17667
  /**
17476
17668
  * A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
17477
17669
  */
17478
17670
  frozen?: boolean;
17671
+ /**
17672
+ * Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
17673
+ */
17674
+ keyColumn?: string | null;
17479
17675
  schema: {
17480
17676
  $schema?: string;
17481
17677
  /**
@@ -18217,6 +18413,8 @@ declare class Client extends Client$1 implements IClient {
18217
18413
  sortField?: "createdAt" | "updatedAt" | undefined;
18218
18414
  sortDirection?: "asc" | "desc" | undefined;
18219
18415
  participantIds?: string[] | undefined;
18416
+ afterDate?: string | undefined;
18417
+ beforeDate?: string | undefined;
18220
18418
  }) => AsyncCollection<{
18221
18419
  id: string;
18222
18420
  currentTaskId?: string;
@@ -18265,6 +18463,8 @@ declare class Client extends Client$1 implements IClient {
18265
18463
  tags?: {
18266
18464
  [x: string]: string;
18267
18465
  } | undefined;
18466
+ afterDate?: string | undefined;
18467
+ beforeDate?: string | undefined;
18268
18468
  conversationId?: string | undefined;
18269
18469
  }) => AsyncCollection<{
18270
18470
  id: string;
@@ -18349,6 +18549,7 @@ declare class Client extends Client$1 implements IClient {
18349
18549
  public: boolean;
18350
18550
  visibility: "public" | "private" | "unlisted";
18351
18551
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
18552
+ lifecycleStatus: "published" | "deprecated";
18352
18553
  ownerWorkspace: {
18353
18554
  id: string;
18354
18555
  handle: string | null;
@@ -18435,6 +18636,7 @@ declare class Client extends Client$1 implements IClient {
18435
18636
  public: boolean;
18436
18637
  visibility: "public" | "private" | "unlisted";
18437
18638
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
18639
+ lifecycleStatus: "published" | "deprecated";
18438
18640
  matchedOn?: {
18439
18641
  name?: boolean;
18440
18642
  title?: boolean;
@@ -18493,6 +18695,7 @@ declare class Client extends Client$1 implements IClient {
18493
18695
  readmeUrl: string;
18494
18696
  public: boolean;
18495
18697
  visibility: "public" | "private" | "unlisted";
18698
+ lifecycleStatus: "published" | "deprecated";
18496
18699
  }>;
18497
18700
  publicPlugins: (props: {
18498
18701
  name?: string | undefined;
@@ -18509,6 +18712,7 @@ declare class Client extends Client$1 implements IClient {
18509
18712
  readmeUrl: string;
18510
18713
  public: boolean;
18511
18714
  visibility: "public" | "private" | "unlisted";
18715
+ lifecycleStatus: "published" | "deprecated";
18512
18716
  }>;
18513
18717
  activities: (props: {
18514
18718
  botId: string;
@@ -18552,6 +18756,7 @@ declare class Client extends Client$1 implements IClient {
18552
18756
  type: "bot" | "integration" | "user";
18553
18757
  id?: string;
18554
18758
  name?: string;
18759
+ alias?: string;
18555
18760
  };
18556
18761
  indexingStack?: "v1" | "v2";
18557
18762
  }>;
@@ -18584,7 +18789,7 @@ declare class Client extends Client$1 implements IClient {
18584
18789
  };
18585
18790
  }>;
18586
18791
  usageActivity: (props: {
18587
- 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";
18792
+ 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";
18588
18793
  id: string;
18589
18794
  timestampFrom?: string | undefined;
18590
18795
  timestampUntil?: string | undefined;
@@ -18597,7 +18802,7 @@ declare class Client extends Client$1 implements IClient {
18597
18802
  };
18598
18803
  }>;
18599
18804
  usageActivityDaily: (props: {
18600
- 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";
18805
+ 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";
18601
18806
  id: string;
18602
18807
  dateFrom?: string | undefined;
18603
18808
  dateUntil?: string | undefined;
@@ -19155,7 +19360,7 @@ declare class Cognitive {
19155
19360
  private _generateContent;
19156
19361
  }
19157
19362
 
19158
- type Models = 'auto' | 'best' | 'fast' | 'anthropic:claude-3-5-haiku-20241022' | 'anthropic:claude-3-7-sonnet-20250219' | 'anthropic:claude-3-haiku-20240307' | 'anthropic:claude-haiku-4-5-20251001' | 'anthropic:claude-haiku-4-5-reasoning-20251001' | 'anthropic:claude-sonnet-4-20250514' | 'anthropic:claude-sonnet-4-5-20250929' | 'cerebras:gpt-oss-120b' | 'cerebras:llama-4-scout-17b-16e-instruct' | 'cerebras:llama3.1-8b' | 'cerebras:llama3.3-70b' | 'cerebras:qwen-3-32b' | 'fireworks-ai:deepseek-r1-0528' | 'fireworks-ai:deepseek-v3-0324' | 'fireworks-ai:gpt-oss-120b' | 'fireworks-ai:gpt-oss-20b' | 'fireworks-ai:llama-v3p1-8b-instruct' | 'fireworks-ai:llama-v3p3-70b-instruct' | 'fireworks-ai:llama4-maverick-instruct-basic' | 'fireworks-ai:llama4-scout-instruct-basic' | 'google-ai:gemini-2.0-flash' | 'google-ai:gemini-2.5-flash' | 'google-ai:gemini-2.5-pro' | 'groq:gpt-oss-120b' | 'groq:gpt-oss-20b' | 'groq:llama-3.1-8b-instant' | 'groq:llama-3.3-70b-versatile' | 'openai:gpt-4.1-2025-04-14' | 'openai:gpt-4.1-mini-2025-04-14' | 'openai:gpt-4.1-nano-2025-04-14' | 'openai:gpt-4o-2024-11-20' | 'openai:gpt-4o-mini-2024-07-18' | 'openai:gpt-5-2025-08-07' | 'openai:gpt-5-mini-2025-08-07' | 'openai:gpt-5-nano-2025-08-07' | 'openai:gpt-5.1-2025-11-13' | 'openai:o1-2024-12-17' | 'openai:o1-mini-2024-09-12' | 'openai:o3-2025-04-16' | 'openai:o3-mini-2025-01-31' | 'openai:o4-mini-2025-04-16' | 'openrouter:gpt-oss-120b' | 'xai:grok-3' | 'xai:grok-3-mini' | 'xai:grok-4-0709' | 'xai:grok-4-fast-non-reasoning' | 'xai:grok-4-fast-reasoning' | 'xai:grok-code-fast-1' | 'openai:gpt-5' | 'openai:gpt-5-mini' | 'openai:gpt-5-nano' | 'openai:o4-mini' | 'openai:o3' | 'openai:gpt-4.1' | 'openai:gpt-4.1-mini' | 'openai:gpt-4.1-nano' | 'openai:o3-mini' | 'openai:o1-mini' | 'openai:gpt-4o-mini' | 'openai:gpt-4o' | 'anthropic:claude-sonnet-4-5' | 'anthropic:claude-sonnet-4' | 'anthropic:claude-sonnet-4-reasoning' | 'anthropic:claude-haiku-4-5' | 'anthropic:claude-haiku-4-5-reasoning' | 'google-ai:models/gemini-2.0-flash' | 'groq:openai/gpt-oss-20b' | 'groq:openai/gpt-oss-120b' | 'fireworks-ai:accounts/fireworks/models/gpt-oss-20b' | 'fireworks-ai:accounts/fireworks/models/gpt-oss-120b' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1-0528' | 'fireworks-ai:accounts/fireworks/models/deepseek-v3-0324' | 'fireworks-ai:accounts/fireworks/models/llama4-maverick-instruct-basic' | 'fireworks-ai:accounts/fireworks/models/llama4-scout-instruct-basic' | 'fireworks-ai:accounts/fireworks/models/llama-v3p3-70b-instruct' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1-basic' | 'fireworks-ai:accounts/fireworks/models/deepseek-v3' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-405b-instruct' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-70b-instruct' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-8b-instruct' | 'fireworks-ai:accounts/fireworks/models/mixtral-8x22b-instruct' | 'fireworks-ai:accounts/fireworks/models/mixtral-8x7b-instruct' | 'fireworks-ai:accounts/fireworks/models/mythomax-l2-13b' | 'fireworks-ai:accounts/fireworks/models/gemma2-9b-it' | ({} & string);
19363
+ type Models = 'auto' | 'best' | 'fast' | 'anthropic:claude-3-5-haiku-20241022' | 'anthropic:claude-3-7-sonnet-20250219' | 'anthropic:claude-3-haiku-20240307' | 'anthropic:claude-haiku-4-5-20251001' | 'anthropic:claude-haiku-4-5-reasoning-20251001' | 'anthropic:claude-sonnet-4-20250514' | 'anthropic:claude-sonnet-4-5-20250929' | 'cerebras:gpt-oss-120b' | 'cerebras:llama-4-scout-17b-16e-instruct' | 'cerebras:llama3.1-8b' | 'cerebras:llama3.3-70b' | 'cerebras:qwen-3-32b' | 'fireworks-ai:deepseek-r1-0528' | 'fireworks-ai:deepseek-v3-0324' | 'fireworks-ai:gpt-oss-120b' | 'fireworks-ai:gpt-oss-20b' | 'fireworks-ai:llama-v3p1-8b-instruct' | 'fireworks-ai:llama-v3p3-70b-instruct' | 'fireworks-ai:llama4-maverick-instruct-basic' | 'fireworks-ai:llama4-scout-instruct-basic' | 'google-ai:gemini-2.0-flash' | 'google-ai:gemini-2.5-flash' | 'google-ai:gemini-2.5-pro' | 'groq:gpt-oss-120b' | 'groq:gpt-oss-20b' | 'groq:llama-3.1-8b-instant' | 'groq:llama-3.3-70b-versatile' | 'openai:gpt-4.1-2025-04-14' | 'openai:gpt-4.1-mini-2025-04-14' | 'openai:gpt-4.1-nano-2025-04-14' | 'openai:gpt-4o-2024-11-20' | 'openai:gpt-4o-mini-2024-07-18' | 'openai:gpt-5-2025-08-07' | 'openai:gpt-5-mini-2025-08-07' | 'openai:gpt-5-nano-2025-08-07' | 'openai:gpt-5.1-2025-11-13' | 'openai:gpt-5.2-2025-12-11' | 'openai:o1-2024-12-17' | 'openai:o1-mini-2024-09-12' | 'openai:o3-2025-04-16' | 'openai:o3-mini-2025-01-31' | 'openai:o4-mini-2025-04-16' | 'openrouter:gpt-oss-120b' | 'xai:grok-3' | 'xai:grok-3-mini' | 'xai:grok-4-0709' | 'xai:grok-4-fast-non-reasoning' | 'xai:grok-4-fast-reasoning' | 'xai:grok-code-fast-1' | 'openai:gpt-5' | 'openai:gpt-5-mini' | 'openai:gpt-5-nano' | 'openai:o4-mini' | 'openai:o3' | 'openai:gpt-4.1' | 'openai:gpt-4.1-mini' | 'openai:gpt-4.1-nano' | 'openai:o3-mini' | 'openai:o1-mini' | 'openai:gpt-4o-mini' | 'openai:gpt-4o' | 'anthropic:claude-sonnet-4-5' | 'anthropic:claude-sonnet-4' | 'anthropic:claude-sonnet-4-reasoning' | 'anthropic:claude-haiku-4-5' | 'anthropic:claude-haiku-4-5-reasoning' | 'google-ai:models/gemini-2.0-flash' | 'groq:openai/gpt-oss-20b' | 'groq:openai/gpt-oss-120b' | 'fireworks-ai:accounts/fireworks/models/gpt-oss-20b' | 'fireworks-ai:accounts/fireworks/models/gpt-oss-120b' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1-0528' | 'fireworks-ai:accounts/fireworks/models/deepseek-v3-0324' | 'fireworks-ai:accounts/fireworks/models/llama4-maverick-instruct-basic' | 'fireworks-ai:accounts/fireworks/models/llama4-scout-instruct-basic' | 'fireworks-ai:accounts/fireworks/models/llama-v3p3-70b-instruct' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1-basic' | 'fireworks-ai:accounts/fireworks/models/deepseek-v3' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-405b-instruct' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-70b-instruct' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-8b-instruct' | 'fireworks-ai:accounts/fireworks/models/mixtral-8x22b-instruct' | 'fireworks-ai:accounts/fireworks/models/mixtral-8x7b-instruct' | 'fireworks-ai:accounts/fireworks/models/mythomax-l2-13b' | 'fireworks-ai:accounts/fireworks/models/gemma2-9b-it' | ({} & string);
19159
19364
  type CognitiveRequest = {
19160
19365
  /**
19161
19366
  * @minItems 1