@botpress/client 1.23.0 → 1.24.1

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
@@ -2872,8 +2872,8 @@ declare class Client$8 extends Client$9 {
2872
2872
  } | undefined;
2873
2873
  channel?: string | undefined;
2874
2874
  integrationName?: string | undefined;
2875
- sortField?: ("createdAt" | "updatedAt") | undefined;
2876
- sortDirection?: ("asc" | "desc") | undefined;
2875
+ sortField?: "createdAt" | "updatedAt" | undefined;
2876
+ sortDirection?: "asc" | "desc" | undefined;
2877
2877
  participantIds?: string[] | undefined;
2878
2878
  }) => AsyncCollection<{
2879
2879
  id: string;
@@ -2904,7 +2904,7 @@ declare class Client$8 extends Client$9 {
2904
2904
  userId?: string | undefined;
2905
2905
  conversationId?: string | undefined;
2906
2906
  messageId?: string | undefined;
2907
- status?: ("pending" | "ignored" | "processed" | "failed" | "scheduled") | undefined;
2907
+ status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
2908
2908
  }) => AsyncCollection<{
2909
2909
  id: string;
2910
2910
  createdAt: string;
@@ -14204,9 +14204,9 @@ declare class Client$6 extends Client$7 {
14204
14204
  interfaceId?: string | undefined;
14205
14205
  interfaceName?: string | undefined;
14206
14206
  installedByBotId?: string | undefined;
14207
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
14208
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
14209
- direction?: ("asc" | "desc") | undefined;
14207
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
14208
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
14209
+ direction?: "asc" | "desc" | undefined;
14210
14210
  }) => AsyncCollection<{
14211
14211
  id: string;
14212
14212
  name: string;
@@ -14240,8 +14240,8 @@ declare class Client$6 extends Client$7 {
14240
14240
  tags?: {
14241
14241
  [x: string]: string;
14242
14242
  } | undefined;
14243
- sortField?: ("createdAt" | "updatedAt") | undefined;
14244
- sortDirection?: ("asc" | "desc") | undefined;
14243
+ sortField?: "createdAt" | "updatedAt" | undefined;
14244
+ sortDirection?: "asc" | "desc" | undefined;
14245
14245
  dev?: boolean | undefined;
14246
14246
  }) => AsyncCollection<{
14247
14247
  id: string;
@@ -14296,11 +14296,11 @@ declare class Client$6 extends Client$7 {
14296
14296
  interfaceId?: string | undefined;
14297
14297
  interfaceName?: string | undefined;
14298
14298
  installedByBotId?: string | undefined;
14299
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
14300
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
14301
- direction?: ("asc" | "desc") | undefined;
14299
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
14300
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
14301
+ direction?: "asc" | "desc" | undefined;
14302
14302
  dev?: boolean | undefined;
14303
- visibility?: ("public" | "private") | undefined;
14303
+ visibility?: "public" | "private" | undefined;
14304
14304
  }) => AsyncCollection<{
14305
14305
  id: string;
14306
14306
  name: string;
@@ -15490,8 +15490,8 @@ declare class Client$4 extends Client$5 implements IClient$2 {
15490
15490
  get list(): {
15491
15491
  files: (props: {
15492
15492
  tags?: any;
15493
- sortField?: ("key" | "size" | "createdAt" | "updatedAt" | "status") | undefined;
15494
- sortDirection?: ("asc" | "desc") | undefined;
15493
+ sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
15494
+ sortDirection?: "asc" | "desc" | undefined;
15495
15495
  ids?: string[] | undefined;
15496
15496
  }) => AsyncCollection<{
15497
15497
  id: string;
@@ -35786,8 +35786,8 @@ declare class Client extends Client$1 implements IClient {
35786
35786
  } | undefined;
35787
35787
  channel?: string | undefined;
35788
35788
  integrationName?: string | undefined;
35789
- sortField?: ("createdAt" | "updatedAt") | undefined;
35790
- sortDirection?: ("asc" | "desc") | undefined;
35789
+ sortField?: "createdAt" | "updatedAt" | undefined;
35790
+ sortDirection?: "asc" | "desc" | undefined;
35791
35791
  participantIds?: string[] | undefined;
35792
35792
  }) => AsyncCollection<{
35793
35793
  id: string;
@@ -35818,7 +35818,7 @@ declare class Client extends Client$1 implements IClient {
35818
35818
  userId?: string | undefined;
35819
35819
  conversationId?: string | undefined;
35820
35820
  messageId?: string | undefined;
35821
- status?: ("pending" | "ignored" | "processed" | "failed" | "scheduled") | undefined;
35821
+ status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
35822
35822
  }) => AsyncCollection<{
35823
35823
  id: string;
35824
35824
  createdAt: string;
@@ -35904,9 +35904,9 @@ declare class Client extends Client$1 implements IClient {
35904
35904
  interfaceId?: string | undefined;
35905
35905
  interfaceName?: string | undefined;
35906
35906
  installedByBotId?: string | undefined;
35907
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
35908
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
35909
- direction?: ("asc" | "desc") | undefined;
35907
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
35908
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
35909
+ direction?: "asc" | "desc" | undefined;
35910
35910
  }) => AsyncCollection<{
35911
35911
  id: string;
35912
35912
  name: string;
@@ -35940,8 +35940,8 @@ declare class Client extends Client$1 implements IClient {
35940
35940
  tags?: {
35941
35941
  [x: string]: string;
35942
35942
  } | undefined;
35943
- sortField?: ("createdAt" | "updatedAt") | undefined;
35944
- sortDirection?: ("asc" | "desc") | undefined;
35943
+ sortField?: "createdAt" | "updatedAt" | undefined;
35944
+ sortDirection?: "asc" | "desc" | undefined;
35945
35945
  dev?: boolean | undefined;
35946
35946
  }) => AsyncCollection<{
35947
35947
  id: string;
@@ -35988,11 +35988,11 @@ declare class Client extends Client$1 implements IClient {
35988
35988
  interfaceId?: string | undefined;
35989
35989
  interfaceName?: string | undefined;
35990
35990
  installedByBotId?: string | undefined;
35991
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
35992
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
35993
- direction?: ("asc" | "desc") | undefined;
35991
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
35992
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
35993
+ direction?: "asc" | "desc" | undefined;
35994
35994
  dev?: boolean | undefined;
35995
- visibility?: ("public" | "private") | undefined;
35995
+ visibility?: "public" | "private" | undefined;
35996
35996
  }) => AsyncCollection<{
35997
35997
  id: string;
35998
35998
  name: string;
@@ -36093,8 +36093,8 @@ declare class Client extends Client$1 implements IClient {
36093
36093
  }>;
36094
36094
  files: (props: {
36095
36095
  tags?: any;
36096
- sortField?: ("key" | "size" | "createdAt" | "updatedAt" | "status") | undefined;
36097
- sortDirection?: ("asc" | "desc") | undefined;
36096
+ sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
36097
+ sortDirection?: "asc" | "desc" | undefined;
36098
36098
  ids?: string[] | undefined;
36099
36099
  }) => AsyncCollection<{
36100
36100
  id: string;
@@ -36140,6 +36140,16 @@ declare class Client extends Client$1 implements IClient {
36140
36140
  fileTagValues: (props: {
36141
36141
  tag: string;
36142
36142
  }) => AsyncCollection<string>;
36143
+ knowledgeBases: (props: {
36144
+ tags?: any;
36145
+ }) => AsyncCollection<{
36146
+ id: string;
36147
+ name: string;
36148
+ createdAt: string;
36149
+ tags: {
36150
+ [k: string]: string;
36151
+ };
36152
+ }>;
36143
36153
  usageActivity: (props: {
36144
36154
  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";
36145
36155
  id: string;