@botpress/cognitive 0.3.0 → 0.3.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.
@@ -1,19 +1,19 @@
1
1
 
2
- > @botpress/cognitive@0.3.0 build /home/runner/work/botpress/botpress/packages/cognitive
2
+ > @botpress/cognitive@0.3.1 build /home/runner/work/botpress/botpress/packages/cognitive
3
3
  > pnpm build:type && pnpm build:neutral && size-limit
4
4
 
5
5
 
6
- > @botpress/cognitive@0.3.0 build:type /home/runner/work/botpress/botpress/packages/cognitive
6
+ > @botpress/cognitive@0.3.1 build:type /home/runner/work/botpress/botpress/packages/cognitive
7
7
  > tsup --tsconfig tsconfig.build.json ./src/index.ts --dts-resolve --dts-only --clean
8
8
 
9
9
  CLI Building entry: ./src/index.ts
10
10
  CLI Using tsconfig: tsconfig.build.json
11
11
  CLI tsup v8.0.2
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 9743ms
14
- DTS dist/index.d.ts 638.61 KB
13
+ DTS ⚡️ Build success in 9860ms
14
+ DTS dist/index.d.ts 640.20 KB
15
15
 
16
- > @botpress/cognitive@0.3.0 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
16
+ > @botpress/cognitive@0.3.1 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
17
17
  > ts-node -T ./build.ts --neutral
18
18
 
19
19
  Done
package/dist/index.d.ts CHANGED
@@ -1093,6 +1093,10 @@ interface UpsertFileRequestBody$1 {
1093
1093
  */
1094
1094
  configuration: {
1095
1095
  parsing?: {
1096
+ /**
1097
+ * The parsing mode to index the file. Using `agent` will use agentic document processing to parse the file and will incurr in AI Spend cost, while `standard` will use a faster but less accurate parser that will not incur in AI Spend cost.
1098
+ */
1099
+ mode?: "agent" | "standard";
1096
1100
  /**
1097
1101
  * The minimum length a standalone paragraph should have. If a paragraph is shorter than this, it will be merged with the next immediate paragraph.
1098
1102
  */
@@ -1465,6 +1469,8 @@ interface ListConversationsRequestQuery {
1465
1469
  participantIds?: string[];
1466
1470
  integrationName?: string;
1467
1471
  channel?: string;
1472
+ afterDate?: string;
1473
+ beforeDate?: string;
1468
1474
  }
1469
1475
  interface ListConversationsRequestParams {
1470
1476
  }
@@ -8855,7 +8861,7 @@ interface GetWorkspaceResponse {
8855
8861
  interface ListWorkspaceUsagesRequestHeaders {
8856
8862
  }
8857
8863
  interface ListWorkspaceUsagesRequestQuery {
8858
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
8864
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8859
8865
  period?: string;
8860
8866
  }
8861
8867
  interface ListWorkspaceUsagesRequestParams {
@@ -8885,14 +8891,14 @@ interface ListWorkspaceUsagesResponse {
8885
8891
  /**
8886
8892
  * Usage type that can be used
8887
8893
  */
8888
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
8894
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8889
8895
  }[];
8890
8896
  }
8891
8897
 
8892
8898
  interface BreakDownWorkspaceUsageByBotRequestHeaders {
8893
8899
  }
8894
8900
  interface BreakDownWorkspaceUsageByBotRequestQuery {
8895
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
8901
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8896
8902
  period?: string;
8897
8903
  }
8898
8904
  interface BreakDownWorkspaceUsageByBotRequestParams {
@@ -8919,7 +8925,7 @@ interface GetAllWorkspaceQuotaCompletionRequestBody {
8919
8925
  type GetAllWorkspaceQuotaCompletionInput = GetAllWorkspaceQuotaCompletionRequestBody & GetAllWorkspaceQuotaCompletionRequestHeaders & GetAllWorkspaceQuotaCompletionRequestQuery & GetAllWorkspaceQuotaCompletionRequestParams;
8920
8926
  interface GetAllWorkspaceQuotaCompletionResponse {
8921
8927
  [k: string]: {
8922
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
8928
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8923
8929
  completion: number;
8924
8930
  };
8925
8931
  }
@@ -8927,7 +8933,7 @@ interface GetAllWorkspaceQuotaCompletionResponse {
8927
8933
  interface GetWorkspaceQuotaRequestHeaders {
8928
8934
  }
8929
8935
  interface GetWorkspaceQuotaRequestQuery {
8930
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
8936
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8931
8937
  period?: string;
8932
8938
  }
8933
8939
  interface GetWorkspaceQuotaRequestParams {
@@ -8949,7 +8955,7 @@ interface GetWorkspaceQuotaResponse {
8949
8955
  /**
8950
8956
  * Usage type that can be used
8951
8957
  */
8952
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
8958
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8953
8959
  };
8954
8960
  }
8955
8961
 
@@ -8977,7 +8983,7 @@ interface ListWorkspaceQuotasResponse {
8977
8983
  /**
8978
8984
  * Usage type that can be used
8979
8985
  */
8980
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
8986
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
8981
8987
  }[];
8982
8988
  }
8983
8989
 
@@ -15077,7 +15083,7 @@ interface GetPluginCodeResponse {
15077
15083
  interface GetUsageRequestHeaders {
15078
15084
  }
15079
15085
  interface GetUsageRequestQuery {
15080
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
15086
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
15081
15087
  period?: string;
15082
15088
  }
15083
15089
  interface GetUsageRequestParams {
@@ -15107,7 +15113,7 @@ interface GetUsageResponse {
15107
15113
  /**
15108
15114
  * Usage type that can be used
15109
15115
  */
15110
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
15116
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
15111
15117
  };
15112
15118
  }
15113
15119
 
@@ -15144,14 +15150,14 @@ interface GetMultipleUsagesResponse {
15144
15150
  /**
15145
15151
  * Usage type that can be used
15146
15152
  */
15147
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
15153
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
15148
15154
  }[];
15149
15155
  }
15150
15156
 
15151
15157
  interface ListUsageHistoryRequestHeaders {
15152
15158
  }
15153
15159
  interface ListUsageHistoryRequestQuery {
15154
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
15160
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
15155
15161
  }
15156
15162
  interface ListUsageHistoryRequestParams {
15157
15163
  id: string;
@@ -15180,14 +15186,14 @@ interface ListUsageHistoryResponse {
15180
15186
  /**
15181
15187
  * Usage type that can be used
15182
15188
  */
15183
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
15189
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
15184
15190
  }[];
15185
15191
  }
15186
15192
 
15187
15193
  interface ListUsageActivityRequestHeaders {
15188
15194
  }
15189
15195
  interface ListUsageActivityRequestQuery {
15190
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
15196
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
15191
15197
  timestampFrom?: string;
15192
15198
  timestampUntil?: string;
15193
15199
  nextToken?: string;
@@ -15215,7 +15221,7 @@ interface ListUsageActivityResponse {
15215
15221
  interface ListUsageActivityDailyRequestHeaders {
15216
15222
  }
15217
15223
  interface ListUsageActivityDailyRequestQuery {
15218
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
15224
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
15219
15225
  dateFrom?: string;
15220
15226
  dateUntil?: string;
15221
15227
  nextToken?: string;
@@ -15337,6 +15343,10 @@ interface UpsertFileRequestBody {
15337
15343
  */
15338
15344
  configuration: {
15339
15345
  parsing?: {
15346
+ /**
15347
+ * 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.
15348
+ */
15349
+ mode?: "agent" | "standard";
15340
15350
  /**
15341
15351
  * The minimum length a standalone paragraph should have. If a paragraph is shorter than this, it will be merged with the next immediate paragraph.
15342
15352
  */
@@ -16390,7 +16400,7 @@ interface ListTablesResponse {
16390
16400
  */
16391
16401
  name: string;
16392
16402
  /**
16393
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16403
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16394
16404
  */
16395
16405
  factor?: number;
16396
16406
  /**
@@ -16535,7 +16545,7 @@ interface GetTableResponse {
16535
16545
  */
16536
16546
  name: string;
16537
16547
  /**
16538
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16548
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16539
16549
  */
16540
16550
  factor?: number;
16541
16551
  /**
@@ -16680,7 +16690,7 @@ interface GetOrCreateTableRequestParams {
16680
16690
  }
16681
16691
  interface GetOrCreateTableRequestBody {
16682
16692
  /**
16683
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16693
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16684
16694
  */
16685
16695
  factor?: number;
16686
16696
  /**
@@ -16716,7 +16726,7 @@ interface GetOrCreateTableResponse {
16716
16726
  */
16717
16727
  name: string;
16718
16728
  /**
16719
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16729
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16720
16730
  */
16721
16731
  factor?: number;
16722
16732
  /**
@@ -16868,7 +16878,7 @@ interface CreateTableRequestBody {
16868
16878
  */
16869
16879
  name: string;
16870
16880
  /**
16871
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16881
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16872
16882
  */
16873
16883
  factor?: number;
16874
16884
  /**
@@ -16904,7 +16914,7 @@ interface CreateTableResponse {
16904
16914
  */
16905
16915
  name: string;
16906
16916
  /**
16907
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16917
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
16908
16918
  */
16909
16919
  factor?: number;
16910
16920
  /**
@@ -17042,7 +17052,7 @@ interface DuplicateTableRequestBody {
17042
17052
  */
17043
17053
  schemaOnly?: boolean;
17044
17054
  /**
17045
- * Use a different factor for the table. Leave empty to use the same as the duplicated table.
17055
+ * Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table.
17046
17056
  */
17047
17057
  factor?: number;
17048
17058
  }
@@ -17058,7 +17068,7 @@ interface DuplicateTableResponse {
17058
17068
  */
17059
17069
  name: string;
17060
17070
  /**
17061
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17071
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17062
17072
  */
17063
17073
  factor?: number;
17064
17074
  /**
@@ -17299,6 +17309,10 @@ interface UpdateTableRequestBody {
17299
17309
  * Indicates if the table is enabled for computation.
17300
17310
  */
17301
17311
  isComputeEnabled?: boolean;
17312
+ /**
17313
+ * 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.
17314
+ */
17315
+ factor?: number;
17302
17316
  }
17303
17317
  type UpdateTableInput = UpdateTableRequestBody & UpdateTableRequestHeaders & UpdateTableRequestQuery & UpdateTableRequestParams;
17304
17318
  interface UpdateTableResponse {
@@ -17312,7 +17326,7 @@ interface UpdateTableResponse {
17312
17326
  */
17313
17327
  name: string;
17314
17328
  /**
17315
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17329
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17316
17330
  */
17317
17331
  factor?: number;
17318
17332
  /**
@@ -17469,7 +17483,7 @@ interface RenameTableColumnResponse {
17469
17483
  */
17470
17484
  name: string;
17471
17485
  /**
17472
- * The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17486
+ * The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
17473
17487
  */
17474
17488
  factor?: number;
17475
17489
  /**
@@ -18217,6 +18231,8 @@ declare class Client extends Client$1 implements IClient {
18217
18231
  sortField?: "createdAt" | "updatedAt" | undefined;
18218
18232
  sortDirection?: "asc" | "desc" | undefined;
18219
18233
  participantIds?: string[] | undefined;
18234
+ afterDate?: string | undefined;
18235
+ beforeDate?: string | undefined;
18220
18236
  }) => AsyncCollection<{
18221
18237
  id: string;
18222
18238
  currentTaskId?: string;
@@ -18584,7 +18600,7 @@ declare class Client extends Client$1 implements IClient {
18584
18600
  };
18585
18601
  }>;
18586
18602
  usageActivity: (props: {
18587
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
18603
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
18588
18604
  id: string;
18589
18605
  timestampFrom?: string | undefined;
18590
18606
  timestampUntil?: string | undefined;
@@ -18597,7 +18613,7 @@ declare class Client extends Client$1 implements IClient {
18597
18613
  };
18598
18614
  }>;
18599
18615
  usageActivityDaily: (props: {
18600
- type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
18616
+ type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count";
18601
18617
  id: string;
18602
18618
  dateFrom?: string | undefined;
18603
18619
  dateUntil?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/cognitive",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Wrapper around the Botpress Client to call LLMs",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",