@botpress/client 1.27.0 → 1.27.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
@@ -204,6 +204,8 @@ interface ListConversationsRequestQuery$1 {
204
204
  participantIds?: string[];
205
205
  integrationName?: string;
206
206
  channel?: string;
207
+ afterDate?: string;
208
+ beforeDate?: string;
207
209
  }
208
210
  interface ListConversationsRequestParams$1 {
209
211
  }
@@ -635,7 +637,7 @@ interface CreateEventResponse$1 {
635
637
  * ID of the [Message](#schema_message) to link the event to.
636
638
  */
637
639
  messageId?: string;
638
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
640
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
639
641
  /**
640
642
  * Reason why the event failed to be processed
641
643
  */
@@ -688,7 +690,7 @@ interface GetEventResponse$1 {
688
690
  * ID of the [Message](#schema_message) to link the event to.
689
691
  */
690
692
  messageId?: string;
691
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
693
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
692
694
  /**
693
695
  * Reason why the event failed to be processed
694
696
  */
@@ -744,7 +746,7 @@ interface ListEventsResponse$1 {
744
746
  * ID of the [Message](#schema_message) to link the event to.
745
747
  */
746
748
  messageId?: string;
747
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
749
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
748
750
  /**
749
751
  * Reason why the event failed to be processed
750
752
  */
@@ -758,6 +760,19 @@ interface ListEventsResponse$1 {
758
760
  };
759
761
  }
760
762
 
763
+ interface CancelScheduledEventRequestHeaders$1 {
764
+ }
765
+ interface CancelScheduledEventRequestQuery$1 {
766
+ }
767
+ interface CancelScheduledEventRequestParams$1 {
768
+ id: string;
769
+ }
770
+ interface CancelScheduledEventRequestBody$1 {
771
+ }
772
+ type CancelScheduledEventInput$1 = CancelScheduledEventRequestBody$1 & CancelScheduledEventRequestHeaders$1 & CancelScheduledEventRequestQuery$1 & CancelScheduledEventRequestParams$1;
773
+ interface CancelScheduledEventResponse$1 {
774
+ }
775
+
761
776
  interface CreateMessageRequestHeaders$1 {
762
777
  }
763
778
  interface CreateMessageRequestQuery$1 {
@@ -2851,6 +2866,7 @@ declare class Client$9 {
2851
2866
  readonly createEvent: (input: CreateEventInput$1) => Promise<CreateEventResponse$1>;
2852
2867
  readonly getEvent: (input: GetEventInput$1) => Promise<GetEventResponse$1>;
2853
2868
  readonly listEvents: (input: ListEventsInput$1) => Promise<ListEventsResponse$1>;
2869
+ readonly cancelScheduledEvent: (input: CancelScheduledEventInput$1) => Promise<CancelScheduledEventResponse$1>;
2854
2870
  readonly createMessage: (input: CreateMessageInput$1) => Promise<CreateMessageResponse$1>;
2855
2871
  readonly getOrCreateMessage: (input: GetOrCreateMessageInput$1) => Promise<GetOrCreateMessageResponse$1>;
2856
2872
  readonly getMessage: (input: GetMessageInput$1) => Promise<GetMessageResponse$1>;
@@ -2909,6 +2925,8 @@ declare class Client$8 extends Client$9 {
2909
2925
  sortField?: "createdAt" | "updatedAt" | undefined;
2910
2926
  sortDirection?: "asc" | "desc" | undefined;
2911
2927
  participantIds?: string[] | undefined;
2928
+ afterDate?: string | undefined;
2929
+ beforeDate?: string | undefined;
2912
2930
  }) => AsyncCollection<{
2913
2931
  id: string;
2914
2932
  currentTaskId?: string;
@@ -2950,7 +2968,7 @@ declare class Client$8 extends Client$9 {
2950
2968
  conversationId?: string;
2951
2969
  userId?: string;
2952
2970
  messageId?: string;
2953
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
2971
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
2954
2972
  failureReason: string | null;
2955
2973
  }>;
2956
2974
  messages: (props: {
@@ -4189,9 +4207,14 @@ interface ListPublicPluginsResponse$1 {
4189
4207
  */
4190
4208
  readmeUrl: string;
4191
4209
  /**
4192
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
4210
+ * @deprecated
4211
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
4193
4212
  */
4194
4213
  public: boolean;
4214
+ /**
4215
+ * 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.
4216
+ */
4217
+ visibility: "public" | "private" | "unlisted";
4195
4218
  }[];
4196
4219
  meta: {
4197
4220
  /**
@@ -4406,9 +4429,14 @@ interface GetPublicPluginByIdResponse$1 {
4406
4429
  */
4407
4430
  readmeUrl: string;
4408
4431
  /**
4409
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
4432
+ * @deprecated
4433
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
4410
4434
  */
4411
4435
  public: boolean;
4436
+ /**
4437
+ * 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.
4438
+ */
4439
+ visibility: "public" | "private" | "unlisted";
4412
4440
  };
4413
4441
  }
4414
4442
 
@@ -4626,9 +4654,14 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
4626
4654
  */
4627
4655
  readmeUrl: string;
4628
4656
  /**
4629
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
4657
+ * @deprecated
4658
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
4630
4659
  */
4631
4660
  public: boolean;
4661
+ /**
4662
+ * 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.
4663
+ */
4664
+ visibility: "public" | "private" | "unlisted";
4632
4665
  };
4633
4666
  }
4634
4667
 
@@ -4838,9 +4871,14 @@ interface GetPublicPluginResponse$1 {
4838
4871
  */
4839
4872
  readmeUrl: string;
4840
4873
  /**
4841
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
4874
+ * @deprecated
4875
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
4842
4876
  */
4843
4877
  public: boolean;
4878
+ /**
4879
+ * 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.
4880
+ */
4881
+ visibility: "public" | "private" | "unlisted";
4844
4882
  };
4845
4883
  }
4846
4884
 
@@ -5612,9 +5650,14 @@ interface CreateBotResponse$1 {
5612
5650
  */
5613
5651
  readmeUrl: string;
5614
5652
  /**
5615
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
5653
+ * @deprecated
5654
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
5616
5655
  */
5617
5656
  public: boolean;
5657
+ /**
5658
+ * 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.
5659
+ */
5660
+ visibility: "public" | "private" | "unlisted";
5618
5661
  };
5619
5662
  };
5620
5663
  /**
@@ -6271,9 +6314,14 @@ interface UpdateBotResponse$1 {
6271
6314
  */
6272
6315
  readmeUrl: string;
6273
6316
  /**
6274
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
6317
+ * @deprecated
6318
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
6275
6319
  */
6276
6320
  public: boolean;
6321
+ /**
6322
+ * 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.
6323
+ */
6324
+ visibility: "public" | "private" | "unlisted";
6277
6325
  };
6278
6326
  };
6279
6327
  /**
@@ -6745,9 +6793,14 @@ interface GetBotResponse$1 {
6745
6793
  */
6746
6794
  readmeUrl: string;
6747
6795
  /**
6748
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
6796
+ * @deprecated
6797
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
6749
6798
  */
6750
6799
  public: boolean;
6800
+ /**
6801
+ * 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.
6802
+ */
6803
+ visibility: "public" | "private" | "unlisted";
6751
6804
  };
6752
6805
  };
6753
6806
  /**
@@ -7757,7 +7810,7 @@ interface GetWorkspaceResponse$1 {
7757
7810
  interface ListWorkspaceUsagesRequestHeaders$1 {
7758
7811
  }
7759
7812
  interface ListWorkspaceUsagesRequestQuery$1 {
7760
- 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";
7813
+ 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";
7761
7814
  period?: string;
7762
7815
  }
7763
7816
  interface ListWorkspaceUsagesRequestParams$1 {
@@ -7787,14 +7840,14 @@ interface ListWorkspaceUsagesResponse$1 {
7787
7840
  /**
7788
7841
  * Usage type that can be used
7789
7842
  */
7790
- 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";
7843
+ 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";
7791
7844
  }[];
7792
7845
  }
7793
7846
 
7794
7847
  interface BreakDownWorkspaceUsageByBotRequestHeaders$1 {
7795
7848
  }
7796
7849
  interface BreakDownWorkspaceUsageByBotRequestQuery$1 {
7797
- 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";
7850
+ 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";
7798
7851
  period?: string;
7799
7852
  }
7800
7853
  interface BreakDownWorkspaceUsageByBotRequestParams$1 {
@@ -7821,7 +7874,7 @@ interface GetAllWorkspaceQuotaCompletionRequestBody$1 {
7821
7874
  type GetAllWorkspaceQuotaCompletionInput$1 = GetAllWorkspaceQuotaCompletionRequestBody$1 & GetAllWorkspaceQuotaCompletionRequestHeaders$1 & GetAllWorkspaceQuotaCompletionRequestQuery$1 & GetAllWorkspaceQuotaCompletionRequestParams$1;
7822
7875
  interface GetAllWorkspaceQuotaCompletionResponse$1 {
7823
7876
  [k: string]: {
7824
- 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";
7877
+ 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";
7825
7878
  completion: number;
7826
7879
  };
7827
7880
  }
@@ -7829,7 +7882,7 @@ interface GetAllWorkspaceQuotaCompletionResponse$1 {
7829
7882
  interface GetWorkspaceQuotaRequestHeaders$1 {
7830
7883
  }
7831
7884
  interface GetWorkspaceQuotaRequestQuery$1 {
7832
- 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";
7885
+ 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";
7833
7886
  period?: string;
7834
7887
  }
7835
7888
  interface GetWorkspaceQuotaRequestParams$1 {
@@ -7851,7 +7904,7 @@ interface GetWorkspaceQuotaResponse$1 {
7851
7904
  /**
7852
7905
  * Usage type that can be used
7853
7906
  */
7854
- 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";
7907
+ 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";
7855
7908
  };
7856
7909
  }
7857
7910
 
@@ -7879,7 +7932,7 @@ interface ListWorkspaceQuotasResponse$1 {
7879
7932
  /**
7880
7933
  * Usage type that can be used
7881
7934
  */
7882
- 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";
7935
+ 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";
7883
7936
  }[];
7884
7937
  }
7885
7938
 
@@ -8542,6 +8595,7 @@ interface CreateIntegrationRequestBody$1 {
8542
8595
  enabled: boolean;
8543
8596
  };
8544
8597
  };
8598
+ sdkVersion?: string;
8545
8599
  /**
8546
8600
  * 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.
8547
8601
  */
@@ -9280,6 +9334,7 @@ interface ValidateIntegrationCreationRequestBody$1 {
9280
9334
  enabled: boolean;
9281
9335
  };
9282
9336
  };
9337
+ sdkVersion?: string;
9283
9338
  /**
9284
9339
  * 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.
9285
9340
  */
@@ -9393,6 +9448,7 @@ interface UpdateIntegrationRequestBody$1 {
9393
9448
  enabled: boolean;
9394
9449
  };
9395
9450
  };
9451
+ sdkVersion?: string;
9396
9452
  channels?: {
9397
9453
  [k: string]: {
9398
9454
  /**
@@ -10118,6 +10174,7 @@ interface ValidateIntegrationUpdateRequestBody$1 {
10118
10174
  enabled: boolean;
10119
10175
  };
10120
10176
  };
10177
+ sdkVersion?: string;
10121
10178
  channels?: {
10122
10179
  [k: string]: {
10123
10180
  /**
@@ -11483,6 +11540,7 @@ interface CreateInterfaceRequestBody$1 {
11483
11540
  attributes?: {
11484
11541
  [k: string]: string;
11485
11542
  };
11543
+ sdkVersion?: string;
11486
11544
  /**
11487
11545
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
11488
11546
  */
@@ -12103,6 +12161,7 @@ interface UpdateInterfaceRequestBody$1 {
12103
12161
  attributes?: {
12104
12162
  [k: string]: string | null;
12105
12163
  };
12164
+ sdkVersion?: string;
12106
12165
  /**
12107
12166
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
12108
12167
  */
@@ -12511,6 +12570,7 @@ interface CreatePluginRequestBody$1 {
12511
12570
  attributes?: {
12512
12571
  [k: string]: string;
12513
12572
  };
12573
+ sdkVersion?: string;
12514
12574
  code: {
12515
12575
  /**
12516
12576
  * Code of plugin bundled for Node.JS
@@ -12538,9 +12598,14 @@ interface CreatePluginRequestBody$1 {
12538
12598
  */
12539
12599
  description?: string;
12540
12600
  /**
12541
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
12601
+ * @deprecated
12602
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
12542
12603
  */
12543
12604
  public?: boolean;
12605
+ /**
12606
+ * 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.
12607
+ */
12608
+ visibility?: "public" | "private" | "unlisted";
12544
12609
  dependencies?: {
12545
12610
  /**
12546
12611
  * Mapping of interface aliases to interface references
@@ -12778,9 +12843,14 @@ interface CreatePluginResponse$1 {
12778
12843
  */
12779
12844
  readmeUrl: string;
12780
12845
  /**
12781
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
12846
+ * @deprecated
12847
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
12782
12848
  */
12783
12849
  public: boolean;
12850
+ /**
12851
+ * 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.
12852
+ */
12853
+ visibility: "public" | "private" | "unlisted";
12784
12854
  };
12785
12855
  }
12786
12856
 
@@ -12989,9 +13059,14 @@ interface GetPluginResponse$1 {
12989
13059
  */
12990
13060
  readmeUrl: string;
12991
13061
  /**
12992
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
13062
+ * @deprecated
13063
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
12993
13064
  */
12994
13065
  public: boolean;
13066
+ /**
13067
+ * 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.
13068
+ */
13069
+ visibility: "public" | "private" | "unlisted";
12995
13070
  };
12996
13071
  }
12997
13072
 
@@ -13209,9 +13284,14 @@ interface GetDereferencedPluginResponse$1 {
13209
13284
  */
13210
13285
  readmeUrl: string;
13211
13286
  /**
13212
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
13287
+ * @deprecated
13288
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
13213
13289
  */
13214
13290
  public: boolean;
13291
+ /**
13292
+ * 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.
13293
+ */
13294
+ visibility: "public" | "private" | "unlisted";
13215
13295
  };
13216
13296
  }
13217
13297
 
@@ -13421,9 +13501,14 @@ interface GetPluginByNameResponse$1 {
13421
13501
  */
13422
13502
  readmeUrl: string;
13423
13503
  /**
13424
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
13504
+ * @deprecated
13505
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
13425
13506
  */
13426
13507
  public: boolean;
13508
+ /**
13509
+ * 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.
13510
+ */
13511
+ visibility: "public" | "private" | "unlisted";
13427
13512
  };
13428
13513
  }
13429
13514
 
@@ -13563,6 +13648,7 @@ interface UpdatePluginRequestBody$1 {
13563
13648
  attributes?: {
13564
13649
  [k: string]: string | null;
13565
13650
  };
13651
+ sdkVersion?: string;
13566
13652
  code?: {
13567
13653
  /**
13568
13654
  * Code of plugin bundled for Node.JS
@@ -13590,9 +13676,14 @@ interface UpdatePluginRequestBody$1 {
13590
13676
  */
13591
13677
  description?: string;
13592
13678
  /**
13593
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
13679
+ * @deprecated
13680
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
13594
13681
  */
13595
13682
  public?: boolean;
13683
+ /**
13684
+ * 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.
13685
+ */
13686
+ visibility?: "public" | "private" | "unlisted";
13596
13687
  dependencies?: {
13597
13688
  /**
13598
13689
  * Mapping of interface aliases to interface references
@@ -13830,9 +13921,14 @@ interface UpdatePluginResponse$1 {
13830
13921
  */
13831
13922
  readmeUrl: string;
13832
13923
  /**
13833
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
13924
+ * @deprecated
13925
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
13834
13926
  */
13835
13927
  public: boolean;
13928
+ /**
13929
+ * 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.
13930
+ */
13931
+ visibility: "public" | "private" | "unlisted";
13836
13932
  };
13837
13933
  }
13838
13934
 
@@ -13900,9 +13996,14 @@ interface ListPluginsResponse$1 {
13900
13996
  */
13901
13997
  readmeUrl: string;
13902
13998
  /**
13903
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
13999
+ * @deprecated
14000
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
13904
14001
  */
13905
14002
  public: boolean;
14003
+ /**
14004
+ * 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.
14005
+ */
14006
+ visibility: "public" | "private" | "unlisted";
13906
14007
  }[];
13907
14008
  meta: {
13908
14009
  /**
@@ -13930,7 +14031,7 @@ interface GetPluginCodeResponse$1 {
13930
14031
  interface GetUsageRequestHeaders$1 {
13931
14032
  }
13932
14033
  interface GetUsageRequestQuery$1 {
13933
- 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";
14034
+ 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";
13934
14035
  period?: string;
13935
14036
  }
13936
14037
  interface GetUsageRequestParams$1 {
@@ -13960,7 +14061,7 @@ interface GetUsageResponse$1 {
13960
14061
  /**
13961
14062
  * Usage type that can be used
13962
14063
  */
13963
- 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";
14064
+ 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";
13964
14065
  };
13965
14066
  }
13966
14067
 
@@ -13997,14 +14098,14 @@ interface GetMultipleUsagesResponse$1 {
13997
14098
  /**
13998
14099
  * Usage type that can be used
13999
14100
  */
14000
- 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";
14101
+ 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";
14001
14102
  }[];
14002
14103
  }
14003
14104
 
14004
14105
  interface ListUsageHistoryRequestHeaders$1 {
14005
14106
  }
14006
14107
  interface ListUsageHistoryRequestQuery$1 {
14007
- 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";
14108
+ 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";
14008
14109
  }
14009
14110
  interface ListUsageHistoryRequestParams$1 {
14010
14111
  id: string;
@@ -14033,14 +14134,14 @@ interface ListUsageHistoryResponse$1 {
14033
14134
  /**
14034
14135
  * Usage type that can be used
14035
14136
  */
14036
- 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";
14137
+ 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";
14037
14138
  }[];
14038
14139
  }
14039
14140
 
14040
14141
  interface ListUsageActivityRequestHeaders$1 {
14041
14142
  }
14042
14143
  interface ListUsageActivityRequestQuery$1 {
14043
- 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";
14144
+ 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";
14044
14145
  timestampFrom?: string;
14045
14146
  timestampUntil?: string;
14046
14147
  nextToken?: string;
@@ -14068,7 +14169,7 @@ interface ListUsageActivityResponse$1 {
14068
14169
  interface ListUsageActivityDailyRequestHeaders$1 {
14069
14170
  }
14070
14171
  interface ListUsageActivityDailyRequestQuery$1 {
14071
- 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";
14172
+ 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";
14072
14173
  dateFrom?: string;
14073
14174
  dateUntil?: string;
14074
14175
  nextToken?: string;
@@ -14449,7 +14550,7 @@ declare class Client$6 extends Client$7 {
14449
14550
  createdAt: string;
14450
14551
  }>;
14451
14552
  usageActivity: (props: {
14452
- 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";
14553
+ 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";
14453
14554
  id: string;
14454
14555
  timestampFrom?: string | undefined;
14455
14556
  timestampUntil?: string | undefined;
@@ -14462,7 +14563,7 @@ declare class Client$6 extends Client$7 {
14462
14563
  };
14463
14564
  }>;
14464
14565
  usageActivityDaily: (props: {
14465
- 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";
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";
14466
14567
  id: string;
14467
14568
  dateFrom?: string | undefined;
14468
14569
  dateUntil?: string | undefined;
@@ -14531,6 +14632,10 @@ interface UpsertFileRequestBody$1 {
14531
14632
  */
14532
14633
  configuration: {
14533
14634
  parsing?: {
14635
+ /**
14636
+ * 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.
14637
+ */
14638
+ mode?: "agent" | "standard";
14534
14639
  /**
14535
14640
  * The minimum length a standalone paragraph should have. If a paragraph is shorter than this, it will be merged with the next immediate paragraph.
14536
14641
  */
@@ -15277,6 +15382,12 @@ interface SearchFilesResponse$1 {
15277
15382
  * MIME type of the file's content
15278
15383
  */
15279
15384
  contentType: string;
15385
+ /**
15386
+ * Metadata of the file as an object of key-value pairs.
15387
+ */
15388
+ metadata: {
15389
+ [k: string]: any | null;
15390
+ };
15280
15391
  /**
15281
15392
  * The tags of the file as an object of key-value pairs.
15282
15393
  */
@@ -15713,7 +15824,7 @@ interface ListTablesResponse$1 {
15713
15824
  */
15714
15825
  name: string;
15715
15826
  /**
15716
- * 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.
15827
+ * 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.
15717
15828
  */
15718
15829
  factor?: number;
15719
15830
  /**
@@ -15858,7 +15969,7 @@ interface GetTableResponse$1 {
15858
15969
  */
15859
15970
  name: string;
15860
15971
  /**
15861
- * 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.
15972
+ * 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.
15862
15973
  */
15863
15974
  factor?: number;
15864
15975
  /**
@@ -16003,7 +16114,7 @@ interface GetOrCreateTableRequestParams$1 {
16003
16114
  }
16004
16115
  interface GetOrCreateTableRequestBody$1 {
16005
16116
  /**
16006
- * 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.
16117
+ * 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.
16007
16118
  */
16008
16119
  factor?: number;
16009
16120
  /**
@@ -16039,7 +16150,7 @@ interface GetOrCreateTableResponse$1 {
16039
16150
  */
16040
16151
  name: string;
16041
16152
  /**
16042
- * 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.
16153
+ * 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.
16043
16154
  */
16044
16155
  factor?: number;
16045
16156
  /**
@@ -16191,7 +16302,7 @@ interface CreateTableRequestBody$1 {
16191
16302
  */
16192
16303
  name: string;
16193
16304
  /**
16194
- * 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.
16305
+ * 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.
16195
16306
  */
16196
16307
  factor?: number;
16197
16308
  /**
@@ -16227,7 +16338,7 @@ interface CreateTableResponse$1 {
16227
16338
  */
16228
16339
  name: string;
16229
16340
  /**
16230
- * 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.
16341
+ * 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.
16231
16342
  */
16232
16343
  factor?: number;
16233
16344
  /**
@@ -16365,7 +16476,7 @@ interface DuplicateTableRequestBody$1 {
16365
16476
  */
16366
16477
  schemaOnly?: boolean;
16367
16478
  /**
16368
- * Use a different factor for the table. Leave empty to use the same as the duplicated table.
16479
+ * Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table.
16369
16480
  */
16370
16481
  factor?: number;
16371
16482
  }
@@ -16381,7 +16492,7 @@ interface DuplicateTableResponse$1 {
16381
16492
  */
16382
16493
  name: string;
16383
16494
  /**
16384
- * 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.
16495
+ * 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.
16385
16496
  */
16386
16497
  factor?: number;
16387
16498
  /**
@@ -16622,6 +16733,10 @@ interface UpdateTableRequestBody$1 {
16622
16733
  * Indicates if the table is enabled for computation.
16623
16734
  */
16624
16735
  isComputeEnabled?: boolean;
16736
+ /**
16737
+ * 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.
16738
+ */
16739
+ factor?: number;
16625
16740
  }
16626
16741
  type UpdateTableInput$1 = UpdateTableRequestBody$1 & UpdateTableRequestHeaders$1 & UpdateTableRequestQuery$1 & UpdateTableRequestParams$1;
16627
16742
  interface UpdateTableResponse$1 {
@@ -16635,7 +16750,7 @@ interface UpdateTableResponse$1 {
16635
16750
  */
16636
16751
  name: string;
16637
16752
  /**
16638
- * 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.
16753
+ * 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.
16639
16754
  */
16640
16755
  factor?: number;
16641
16756
  /**
@@ -16792,7 +16907,7 @@ interface RenameTableColumnResponse$1 {
16792
16907
  */
16793
16908
  name: string;
16794
16909
  /**
16795
- * 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.
16910
+ * 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.
16796
16911
  */
16797
16912
  factor?: number;
16798
16913
  /**
@@ -17513,6 +17628,8 @@ interface ListConversationsRequestQuery {
17513
17628
  participantIds?: string[];
17514
17629
  integrationName?: string;
17515
17630
  channel?: string;
17631
+ afterDate?: string;
17632
+ beforeDate?: string;
17516
17633
  }
17517
17634
  interface ListConversationsRequestParams {
17518
17635
  }
@@ -17944,7 +18061,7 @@ interface CreateEventResponse {
17944
18061
  * ID of the [Message](#schema_message) to link the event to.
17945
18062
  */
17946
18063
  messageId?: string;
17947
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
18064
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
17948
18065
  /**
17949
18066
  * Reason why the event failed to be processed
17950
18067
  */
@@ -17997,7 +18114,7 @@ interface GetEventResponse {
17997
18114
  * ID of the [Message](#schema_message) to link the event to.
17998
18115
  */
17999
18116
  messageId?: string;
18000
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
18117
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
18001
18118
  /**
18002
18119
  * Reason why the event failed to be processed
18003
18120
  */
@@ -18053,7 +18170,7 @@ interface ListEventsResponse {
18053
18170
  * ID of the [Message](#schema_message) to link the event to.
18054
18171
  */
18055
18172
  messageId?: string;
18056
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
18173
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
18057
18174
  /**
18058
18175
  * Reason why the event failed to be processed
18059
18176
  */
@@ -18067,6 +18184,19 @@ interface ListEventsResponse {
18067
18184
  };
18068
18185
  }
18069
18186
 
18187
+ interface CancelScheduledEventRequestHeaders {
18188
+ }
18189
+ interface CancelScheduledEventRequestQuery {
18190
+ }
18191
+ interface CancelScheduledEventRequestParams {
18192
+ id: string;
18193
+ }
18194
+ interface CancelScheduledEventRequestBody {
18195
+ }
18196
+ type CancelScheduledEventInput = CancelScheduledEventRequestBody & CancelScheduledEventRequestHeaders & CancelScheduledEventRequestQuery & CancelScheduledEventRequestParams;
18197
+ interface CancelScheduledEventResponse {
18198
+ }
18199
+
18070
18200
  interface CreateMessageRequestHeaders {
18071
18201
  }
18072
18202
  interface CreateMessageRequestQuery {
@@ -21287,9 +21417,14 @@ interface ListPublicPluginsResponse {
21287
21417
  */
21288
21418
  readmeUrl: string;
21289
21419
  /**
21290
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
21420
+ * @deprecated
21421
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
21291
21422
  */
21292
21423
  public: boolean;
21424
+ /**
21425
+ * 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.
21426
+ */
21427
+ visibility: "public" | "private" | "unlisted";
21293
21428
  }[];
21294
21429
  meta: {
21295
21430
  /**
@@ -21504,9 +21639,14 @@ interface GetPublicPluginByIdResponse {
21504
21639
  */
21505
21640
  readmeUrl: string;
21506
21641
  /**
21507
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
21642
+ * @deprecated
21643
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
21508
21644
  */
21509
21645
  public: boolean;
21646
+ /**
21647
+ * 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.
21648
+ */
21649
+ visibility: "public" | "private" | "unlisted";
21510
21650
  };
21511
21651
  }
21512
21652
 
@@ -21724,9 +21864,14 @@ interface GetDereferencedPublicPluginByIdResponse {
21724
21864
  */
21725
21865
  readmeUrl: string;
21726
21866
  /**
21727
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
21867
+ * @deprecated
21868
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
21728
21869
  */
21729
21870
  public: boolean;
21871
+ /**
21872
+ * 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.
21873
+ */
21874
+ visibility: "public" | "private" | "unlisted";
21730
21875
  };
21731
21876
  }
21732
21877
 
@@ -21936,9 +22081,14 @@ interface GetPublicPluginResponse {
21936
22081
  */
21937
22082
  readmeUrl: string;
21938
22083
  /**
21939
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
22084
+ * @deprecated
22085
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
21940
22086
  */
21941
22087
  public: boolean;
22088
+ /**
22089
+ * 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.
22090
+ */
22091
+ visibility: "public" | "private" | "unlisted";
21942
22092
  };
21943
22093
  }
21944
22094
 
@@ -22710,9 +22860,14 @@ interface CreateBotResponse {
22710
22860
  */
22711
22861
  readmeUrl: string;
22712
22862
  /**
22713
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
22863
+ * @deprecated
22864
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
22714
22865
  */
22715
22866
  public: boolean;
22867
+ /**
22868
+ * 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.
22869
+ */
22870
+ visibility: "public" | "private" | "unlisted";
22716
22871
  };
22717
22872
  };
22718
22873
  /**
@@ -23369,9 +23524,14 @@ interface UpdateBotResponse {
23369
23524
  */
23370
23525
  readmeUrl: string;
23371
23526
  /**
23372
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
23527
+ * @deprecated
23528
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
23373
23529
  */
23374
23530
  public: boolean;
23531
+ /**
23532
+ * 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.
23533
+ */
23534
+ visibility: "public" | "private" | "unlisted";
23375
23535
  };
23376
23536
  };
23377
23537
  /**
@@ -23843,9 +24003,14 @@ interface GetBotResponse {
23843
24003
  */
23844
24004
  readmeUrl: string;
23845
24005
  /**
23846
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
24006
+ * @deprecated
24007
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
23847
24008
  */
23848
24009
  public: boolean;
24010
+ /**
24011
+ * 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.
24012
+ */
24013
+ visibility: "public" | "private" | "unlisted";
23849
24014
  };
23850
24015
  };
23851
24016
  /**
@@ -24855,7 +25020,7 @@ interface GetWorkspaceResponse {
24855
25020
  interface ListWorkspaceUsagesRequestHeaders {
24856
25021
  }
24857
25022
  interface ListWorkspaceUsagesRequestQuery {
24858
- 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";
25023
+ 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";
24859
25024
  period?: string;
24860
25025
  }
24861
25026
  interface ListWorkspaceUsagesRequestParams {
@@ -24885,14 +25050,14 @@ interface ListWorkspaceUsagesResponse {
24885
25050
  /**
24886
25051
  * Usage type that can be used
24887
25052
  */
24888
- 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";
25053
+ 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";
24889
25054
  }[];
24890
25055
  }
24891
25056
 
24892
25057
  interface BreakDownWorkspaceUsageByBotRequestHeaders {
24893
25058
  }
24894
25059
  interface BreakDownWorkspaceUsageByBotRequestQuery {
24895
- 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";
25060
+ 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";
24896
25061
  period?: string;
24897
25062
  }
24898
25063
  interface BreakDownWorkspaceUsageByBotRequestParams {
@@ -24919,7 +25084,7 @@ interface GetAllWorkspaceQuotaCompletionRequestBody {
24919
25084
  type GetAllWorkspaceQuotaCompletionInput = GetAllWorkspaceQuotaCompletionRequestBody & GetAllWorkspaceQuotaCompletionRequestHeaders & GetAllWorkspaceQuotaCompletionRequestQuery & GetAllWorkspaceQuotaCompletionRequestParams;
24920
25085
  interface GetAllWorkspaceQuotaCompletionResponse {
24921
25086
  [k: string]: {
24922
- 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";
25087
+ 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";
24923
25088
  completion: number;
24924
25089
  };
24925
25090
  }
@@ -24927,7 +25092,7 @@ interface GetAllWorkspaceQuotaCompletionResponse {
24927
25092
  interface GetWorkspaceQuotaRequestHeaders {
24928
25093
  }
24929
25094
  interface GetWorkspaceQuotaRequestQuery {
24930
- 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";
25095
+ 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";
24931
25096
  period?: string;
24932
25097
  }
24933
25098
  interface GetWorkspaceQuotaRequestParams {
@@ -24949,7 +25114,7 @@ interface GetWorkspaceQuotaResponse {
24949
25114
  /**
24950
25115
  * Usage type that can be used
24951
25116
  */
24952
- 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";
25117
+ 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";
24953
25118
  };
24954
25119
  }
24955
25120
 
@@ -24977,7 +25142,7 @@ interface ListWorkspaceQuotasResponse {
24977
25142
  /**
24978
25143
  * Usage type that can be used
24979
25144
  */
24980
- 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";
25145
+ 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";
24981
25146
  }[];
24982
25147
  }
24983
25148
 
@@ -25641,6 +25806,7 @@ interface CreateIntegrationRequestBody {
25641
25806
  enabled: boolean;
25642
25807
  };
25643
25808
  };
25809
+ sdkVersion?: string;
25644
25810
  /**
25645
25811
  * 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.
25646
25812
  */
@@ -26379,6 +26545,7 @@ interface ValidateIntegrationCreationRequestBody {
26379
26545
  enabled: boolean;
26380
26546
  };
26381
26547
  };
26548
+ sdkVersion?: string;
26382
26549
  /**
26383
26550
  * 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.
26384
26551
  */
@@ -26492,6 +26659,7 @@ interface UpdateIntegrationRequestBody {
26492
26659
  enabled: boolean;
26493
26660
  };
26494
26661
  };
26662
+ sdkVersion?: string;
26495
26663
  channels?: {
26496
26664
  [k: string]: {
26497
26665
  /**
@@ -27217,6 +27385,7 @@ interface ValidateIntegrationUpdateRequestBody {
27217
27385
  enabled: boolean;
27218
27386
  };
27219
27387
  };
27388
+ sdkVersion?: string;
27220
27389
  channels?: {
27221
27390
  [k: string]: {
27222
27391
  /**
@@ -28582,6 +28751,7 @@ interface CreateInterfaceRequestBody {
28582
28751
  attributes?: {
28583
28752
  [k: string]: string;
28584
28753
  };
28754
+ sdkVersion?: string;
28585
28755
  /**
28586
28756
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
28587
28757
  */
@@ -29202,6 +29372,7 @@ interface UpdateInterfaceRequestBody {
29202
29372
  attributes?: {
29203
29373
  [k: string]: string | null;
29204
29374
  };
29375
+ sdkVersion?: string;
29205
29376
  /**
29206
29377
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
29207
29378
  */
@@ -29610,6 +29781,7 @@ interface CreatePluginRequestBody {
29610
29781
  attributes?: {
29611
29782
  [k: string]: string;
29612
29783
  };
29784
+ sdkVersion?: string;
29613
29785
  code: {
29614
29786
  /**
29615
29787
  * Code of plugin bundled for Node.JS
@@ -29637,9 +29809,14 @@ interface CreatePluginRequestBody {
29637
29809
  */
29638
29810
  description?: string;
29639
29811
  /**
29640
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
29812
+ * @deprecated
29813
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
29641
29814
  */
29642
29815
  public?: boolean;
29816
+ /**
29817
+ * 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.
29818
+ */
29819
+ visibility?: "public" | "private" | "unlisted";
29643
29820
  dependencies?: {
29644
29821
  /**
29645
29822
  * Mapping of interface aliases to interface references
@@ -29877,9 +30054,14 @@ interface CreatePluginResponse {
29877
30054
  */
29878
30055
  readmeUrl: string;
29879
30056
  /**
29880
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
30057
+ * @deprecated
30058
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
29881
30059
  */
29882
30060
  public: boolean;
30061
+ /**
30062
+ * 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.
30063
+ */
30064
+ visibility: "public" | "private" | "unlisted";
29883
30065
  };
29884
30066
  }
29885
30067
 
@@ -30088,9 +30270,14 @@ interface GetPluginResponse {
30088
30270
  */
30089
30271
  readmeUrl: string;
30090
30272
  /**
30091
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
30273
+ * @deprecated
30274
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
30092
30275
  */
30093
30276
  public: boolean;
30277
+ /**
30278
+ * 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.
30279
+ */
30280
+ visibility: "public" | "private" | "unlisted";
30094
30281
  };
30095
30282
  }
30096
30283
 
@@ -30308,9 +30495,14 @@ interface GetDereferencedPluginResponse {
30308
30495
  */
30309
30496
  readmeUrl: string;
30310
30497
  /**
30311
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
30498
+ * @deprecated
30499
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
30312
30500
  */
30313
30501
  public: boolean;
30502
+ /**
30503
+ * 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.
30504
+ */
30505
+ visibility: "public" | "private" | "unlisted";
30314
30506
  };
30315
30507
  }
30316
30508
 
@@ -30520,9 +30712,14 @@ interface GetPluginByNameResponse {
30520
30712
  */
30521
30713
  readmeUrl: string;
30522
30714
  /**
30523
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
30715
+ * @deprecated
30716
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
30524
30717
  */
30525
30718
  public: boolean;
30719
+ /**
30720
+ * 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.
30721
+ */
30722
+ visibility: "public" | "private" | "unlisted";
30526
30723
  };
30527
30724
  }
30528
30725
 
@@ -30662,6 +30859,7 @@ interface UpdatePluginRequestBody {
30662
30859
  attributes?: {
30663
30860
  [k: string]: string | null;
30664
30861
  };
30862
+ sdkVersion?: string;
30665
30863
  code?: {
30666
30864
  /**
30667
30865
  * Code of plugin bundled for Node.JS
@@ -30689,9 +30887,14 @@ interface UpdatePluginRequestBody {
30689
30887
  */
30690
30888
  description?: string;
30691
30889
  /**
30692
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
30890
+ * @deprecated
30891
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
30693
30892
  */
30694
30893
  public?: boolean;
30894
+ /**
30895
+ * 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.
30896
+ */
30897
+ visibility?: "public" | "private" | "unlisted";
30695
30898
  dependencies?: {
30696
30899
  /**
30697
30900
  * Mapping of interface aliases to interface references
@@ -30929,9 +31132,14 @@ interface UpdatePluginResponse {
30929
31132
  */
30930
31133
  readmeUrl: string;
30931
31134
  /**
30932
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
31135
+ * @deprecated
31136
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
30933
31137
  */
30934
31138
  public: boolean;
31139
+ /**
31140
+ * 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.
31141
+ */
31142
+ visibility: "public" | "private" | "unlisted";
30935
31143
  };
30936
31144
  }
30937
31145
 
@@ -30999,9 +31207,14 @@ interface ListPluginsResponse {
30999
31207
  */
31000
31208
  readmeUrl: string;
31001
31209
  /**
31002
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
31210
+ * @deprecated
31211
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
31003
31212
  */
31004
31213
  public: boolean;
31214
+ /**
31215
+ * 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.
31216
+ */
31217
+ visibility: "public" | "private" | "unlisted";
31005
31218
  }[];
31006
31219
  meta: {
31007
31220
  /**
@@ -31029,7 +31242,7 @@ interface GetPluginCodeResponse {
31029
31242
  interface GetUsageRequestHeaders {
31030
31243
  }
31031
31244
  interface GetUsageRequestQuery {
31032
- 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";
31245
+ 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";
31033
31246
  period?: string;
31034
31247
  }
31035
31248
  interface GetUsageRequestParams {
@@ -31059,7 +31272,7 @@ interface GetUsageResponse {
31059
31272
  /**
31060
31273
  * Usage type that can be used
31061
31274
  */
31062
- 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";
31275
+ 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";
31063
31276
  };
31064
31277
  }
31065
31278
 
@@ -31096,14 +31309,14 @@ interface GetMultipleUsagesResponse {
31096
31309
  /**
31097
31310
  * Usage type that can be used
31098
31311
  */
31099
- 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";
31312
+ 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";
31100
31313
  }[];
31101
31314
  }
31102
31315
 
31103
31316
  interface ListUsageHistoryRequestHeaders {
31104
31317
  }
31105
31318
  interface ListUsageHistoryRequestQuery {
31106
- 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";
31319
+ 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";
31107
31320
  }
31108
31321
  interface ListUsageHistoryRequestParams {
31109
31322
  id: string;
@@ -31132,14 +31345,14 @@ interface ListUsageHistoryResponse {
31132
31345
  /**
31133
31346
  * Usage type that can be used
31134
31347
  */
31135
- 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";
31348
+ 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";
31136
31349
  }[];
31137
31350
  }
31138
31351
 
31139
31352
  interface ListUsageActivityRequestHeaders {
31140
31353
  }
31141
31354
  interface ListUsageActivityRequestQuery {
31142
- 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";
31355
+ 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";
31143
31356
  timestampFrom?: string;
31144
31357
  timestampUntil?: string;
31145
31358
  nextToken?: string;
@@ -31167,7 +31380,7 @@ interface ListUsageActivityResponse {
31167
31380
  interface ListUsageActivityDailyRequestHeaders {
31168
31381
  }
31169
31382
  interface ListUsageActivityDailyRequestQuery {
31170
- 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";
31383
+ 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";
31171
31384
  dateFrom?: string;
31172
31385
  dateUntil?: string;
31173
31386
  nextToken?: string;
@@ -31289,6 +31502,10 @@ interface UpsertFileRequestBody {
31289
31502
  */
31290
31503
  configuration: {
31291
31504
  parsing?: {
31505
+ /**
31506
+ * 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.
31507
+ */
31508
+ mode?: "agent" | "standard";
31292
31509
  /**
31293
31510
  * The minimum length a standalone paragraph should have. If a paragraph is shorter than this, it will be merged with the next immediate paragraph.
31294
31511
  */
@@ -32035,6 +32252,12 @@ interface SearchFilesResponse {
32035
32252
  * MIME type of the file's content
32036
32253
  */
32037
32254
  contentType: string;
32255
+ /**
32256
+ * Metadata of the file as an object of key-value pairs.
32257
+ */
32258
+ metadata: {
32259
+ [k: string]: any | null;
32260
+ };
32038
32261
  /**
32039
32262
  * The tags of the file as an object of key-value pairs.
32040
32263
  */
@@ -32336,7 +32559,7 @@ interface ListTablesResponse {
32336
32559
  */
32337
32560
  name: string;
32338
32561
  /**
32339
- * 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.
32562
+ * 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.
32340
32563
  */
32341
32564
  factor?: number;
32342
32565
  /**
@@ -32481,7 +32704,7 @@ interface GetTableResponse {
32481
32704
  */
32482
32705
  name: string;
32483
32706
  /**
32484
- * 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.
32707
+ * 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.
32485
32708
  */
32486
32709
  factor?: number;
32487
32710
  /**
@@ -32626,7 +32849,7 @@ interface GetOrCreateTableRequestParams {
32626
32849
  }
32627
32850
  interface GetOrCreateTableRequestBody {
32628
32851
  /**
32629
- * 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.
32852
+ * 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.
32630
32853
  */
32631
32854
  factor?: number;
32632
32855
  /**
@@ -32662,7 +32885,7 @@ interface GetOrCreateTableResponse {
32662
32885
  */
32663
32886
  name: string;
32664
32887
  /**
32665
- * 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.
32888
+ * 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.
32666
32889
  */
32667
32890
  factor?: number;
32668
32891
  /**
@@ -32814,7 +33037,7 @@ interface CreateTableRequestBody {
32814
33037
  */
32815
33038
  name: string;
32816
33039
  /**
32817
- * 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.
33040
+ * 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.
32818
33041
  */
32819
33042
  factor?: number;
32820
33043
  /**
@@ -32850,7 +33073,7 @@ interface CreateTableResponse {
32850
33073
  */
32851
33074
  name: string;
32852
33075
  /**
32853
- * 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.
33076
+ * 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.
32854
33077
  */
32855
33078
  factor?: number;
32856
33079
  /**
@@ -32988,7 +33211,7 @@ interface DuplicateTableRequestBody {
32988
33211
  */
32989
33212
  schemaOnly?: boolean;
32990
33213
  /**
32991
- * Use a different factor for the table. Leave empty to use the same as the duplicated table.
33214
+ * Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table.
32992
33215
  */
32993
33216
  factor?: number;
32994
33217
  }
@@ -33004,7 +33227,7 @@ interface DuplicateTableResponse {
33004
33227
  */
33005
33228
  name: string;
33006
33229
  /**
33007
- * 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.
33230
+ * 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.
33008
33231
  */
33009
33232
  factor?: number;
33010
33233
  /**
@@ -33245,6 +33468,10 @@ interface UpdateTableRequestBody {
33245
33468
  * Indicates if the table is enabled for computation.
33246
33469
  */
33247
33470
  isComputeEnabled?: boolean;
33471
+ /**
33472
+ * 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.
33473
+ */
33474
+ factor?: number;
33248
33475
  }
33249
33476
  type UpdateTableInput = UpdateTableRequestBody & UpdateTableRequestHeaders & UpdateTableRequestQuery & UpdateTableRequestParams;
33250
33477
  interface UpdateTableResponse {
@@ -33258,7 +33485,7 @@ interface UpdateTableResponse {
33258
33485
  */
33259
33486
  name: string;
33260
33487
  /**
33261
- * 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.
33488
+ * 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.
33262
33489
  */
33263
33490
  factor?: number;
33264
33491
  /**
@@ -33415,7 +33642,7 @@ interface RenameTableColumnResponse {
33415
33642
  */
33416
33643
  name: string;
33417
33644
  /**
33418
- * 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.
33645
+ * 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.
33419
33646
  */
33420
33647
  factor?: number;
33421
33648
  /**
@@ -34092,9 +34319,14 @@ interface Bot {
34092
34319
  */
34093
34320
  readmeUrl: string;
34094
34321
  /**
34095
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
34322
+ * @deprecated
34323
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
34096
34324
  */
34097
34325
  public: boolean;
34326
+ /**
34327
+ * 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.
34328
+ */
34329
+ visibility: "public" | "private" | "unlisted";
34098
34330
  };
34099
34331
  };
34100
34332
  /**
@@ -35074,9 +35306,14 @@ interface Plugin {
35074
35306
  */
35075
35307
  readmeUrl: string;
35076
35308
  /**
35077
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
35309
+ * @deprecated
35310
+ * [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
35078
35311
  */
35079
35312
  public: boolean;
35313
+ /**
35314
+ * 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.
35315
+ */
35316
+ visibility: "public" | "private" | "unlisted";
35080
35317
  }
35081
35318
  interface Workspace {
35082
35319
  id: string;
@@ -35138,7 +35375,7 @@ interface Usage {
35138
35375
  /**
35139
35376
  * Usage type that can be used
35140
35377
  */
35141
- 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";
35378
+ 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";
35142
35379
  }
35143
35380
  interface Issue {
35144
35381
  id: string;
@@ -35289,7 +35526,7 @@ interface Event {
35289
35526
  * ID of the [Message](#schema_message) to link the event to.
35290
35527
  */
35291
35528
  messageId?: string;
35292
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
35529
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
35293
35530
  /**
35294
35531
  * Reason why the event failed to be processed
35295
35532
  */
@@ -35529,7 +35766,7 @@ interface Table {
35529
35766
  */
35530
35767
  name: string;
35531
35768
  /**
35532
- * 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.
35769
+ * 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.
35533
35770
  */
35534
35771
  factor?: number;
35535
35772
  /**
@@ -35843,6 +36080,7 @@ declare class Client$1 {
35843
36080
  readonly createEvent: (input: CreateEventInput) => Promise<CreateEventResponse>;
35844
36081
  readonly getEvent: (input: GetEventInput) => Promise<GetEventResponse>;
35845
36082
  readonly listEvents: (input: ListEventsInput) => Promise<ListEventsResponse>;
36083
+ readonly cancelScheduledEvent: (input: CancelScheduledEventInput) => Promise<CancelScheduledEventResponse>;
35846
36084
  readonly createMessage: (input: CreateMessageInput) => Promise<CreateMessageResponse>;
35847
36085
  readonly getOrCreateMessage: (input: GetOrCreateMessageInput) => Promise<GetOrCreateMessageResponse>;
35848
36086
  readonly getMessage: (input: GetMessageInput) => Promise<GetMessageResponse>;
@@ -36044,6 +36282,8 @@ declare class Client extends Client$1 implements IClient {
36044
36282
  sortField?: "createdAt" | "updatedAt" | undefined;
36045
36283
  sortDirection?: "asc" | "desc" | undefined;
36046
36284
  participantIds?: string[] | undefined;
36285
+ afterDate?: string | undefined;
36286
+ beforeDate?: string | undefined;
36047
36287
  }) => AsyncCollection<{
36048
36288
  id: string;
36049
36289
  currentTaskId?: string;
@@ -36085,7 +36325,7 @@ declare class Client extends Client$1 implements IClient {
36085
36325
  conversationId?: string;
36086
36326
  userId?: string;
36087
36327
  messageId?: string;
36088
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
36328
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
36089
36329
  failureReason: string | null;
36090
36330
  }>;
36091
36331
  messages: (props: {
@@ -36319,6 +36559,7 @@ declare class Client extends Client$1 implements IClient {
36319
36559
  iconUrl: string;
36320
36560
  readmeUrl: string;
36321
36561
  public: boolean;
36562
+ visibility: "public" | "private" | "unlisted";
36322
36563
  }>;
36323
36564
  publicPlugins: (props: {
36324
36565
  name?: string | undefined;
@@ -36334,6 +36575,7 @@ declare class Client extends Client$1 implements IClient {
36334
36575
  iconUrl: string;
36335
36576
  readmeUrl: string;
36336
36577
  public: boolean;
36578
+ visibility: "public" | "private" | "unlisted";
36337
36579
  }>;
36338
36580
  activities: (props: {
36339
36581
  botId: string;
@@ -36409,7 +36651,7 @@ declare class Client extends Client$1 implements IClient {
36409
36651
  };
36410
36652
  }>;
36411
36653
  usageActivity: (props: {
36412
- 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";
36654
+ 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";
36413
36655
  id: string;
36414
36656
  timestampFrom?: string | undefined;
36415
36657
  timestampUntil?: string | undefined;
@@ -36422,7 +36664,7 @@ declare class Client extends Client$1 implements IClient {
36422
36664
  };
36423
36665
  }>;
36424
36666
  usageActivityDaily: (props: {
36425
- 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";
36667
+ 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";
36426
36668
  id: string;
36427
36669
  dateFrom?: string | undefined;
36428
36670
  dateUntil?: string | undefined;