@botpress/client 0.30.2 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-generate.log +1 -1
- package/dist/bundle.cjs +12 -12
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +183 -14
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +4 -4
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5168,7 +5168,7 @@ interface GetAuditRecordsResponse {
|
|
|
5168
5168
|
resourceId: string | null;
|
|
5169
5169
|
resourceName?: string | null;
|
|
5170
5170
|
value?: string | null;
|
|
5171
|
-
action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT";
|
|
5171
|
+
action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY";
|
|
5172
5172
|
}[];
|
|
5173
5173
|
meta: {
|
|
5174
5174
|
/**
|
|
@@ -8599,6 +8599,7 @@ interface SearchFilesRequestQuery {
|
|
|
8599
8599
|
query: string;
|
|
8600
8600
|
contextDepth?: number;
|
|
8601
8601
|
limit?: number;
|
|
8602
|
+
consolidate?: boolean;
|
|
8602
8603
|
includeBreadcrumb?: boolean;
|
|
8603
8604
|
}
|
|
8604
8605
|
interface SearchFilesRequestParams {
|
|
@@ -8623,7 +8624,7 @@ interface SearchFilesResponse {
|
|
|
8623
8624
|
/**
|
|
8624
8625
|
* The type of passage
|
|
8625
8626
|
*/
|
|
8626
|
-
type?: "chunk";
|
|
8627
|
+
type?: "chunk" | "summary" | "consolidated";
|
|
8627
8628
|
/**
|
|
8628
8629
|
* The subtype of passage, if available.
|
|
8629
8630
|
*/
|
|
@@ -8697,7 +8698,7 @@ interface ListFilePassagesResponse {
|
|
|
8697
8698
|
/**
|
|
8698
8699
|
* The type of passage
|
|
8699
8700
|
*/
|
|
8700
|
-
type?: "chunk";
|
|
8701
|
+
type?: "chunk" | "summary" | "consolidated";
|
|
8701
8702
|
/**
|
|
8702
8703
|
* The subtype of passage, if available.
|
|
8703
8704
|
*/
|
|
@@ -8757,10 +8758,31 @@ interface ListTablesResponse {
|
|
|
8757
8758
|
*/
|
|
8758
8759
|
properties: {
|
|
8759
8760
|
[k: string]: {
|
|
8760
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
8761
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
8761
8762
|
format?: "date-time";
|
|
8762
8763
|
description?: string;
|
|
8764
|
+
/**
|
|
8765
|
+
* String properties must match this pattern
|
|
8766
|
+
*/
|
|
8767
|
+
pattern?: string;
|
|
8768
|
+
/**
|
|
8769
|
+
* String properties must be one of these values
|
|
8770
|
+
*/
|
|
8771
|
+
enum?: string[];
|
|
8772
|
+
/**
|
|
8773
|
+
* Defines the shape of items in an array
|
|
8774
|
+
*/
|
|
8775
|
+
items?: {
|
|
8776
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
8777
|
+
[k: string]: any;
|
|
8778
|
+
};
|
|
8763
8779
|
nullable?: boolean;
|
|
8780
|
+
properties?: {
|
|
8781
|
+
[k: string]: {
|
|
8782
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
8783
|
+
[k: string]: any;
|
|
8784
|
+
};
|
|
8785
|
+
};
|
|
8764
8786
|
"x-zui": {
|
|
8765
8787
|
index: number;
|
|
8766
8788
|
/**
|
|
@@ -8877,10 +8899,31 @@ interface GetTableResponse {
|
|
|
8877
8899
|
*/
|
|
8878
8900
|
properties: {
|
|
8879
8901
|
[k: string]: {
|
|
8880
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
8902
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
8881
8903
|
format?: "date-time";
|
|
8882
8904
|
description?: string;
|
|
8905
|
+
/**
|
|
8906
|
+
* String properties must match this pattern
|
|
8907
|
+
*/
|
|
8908
|
+
pattern?: string;
|
|
8909
|
+
/**
|
|
8910
|
+
* String properties must be one of these values
|
|
8911
|
+
*/
|
|
8912
|
+
enum?: string[];
|
|
8913
|
+
/**
|
|
8914
|
+
* Defines the shape of items in an array
|
|
8915
|
+
*/
|
|
8916
|
+
items?: {
|
|
8917
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
8918
|
+
[k: string]: any;
|
|
8919
|
+
};
|
|
8883
8920
|
nullable?: boolean;
|
|
8921
|
+
properties?: {
|
|
8922
|
+
[k: string]: {
|
|
8923
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
8924
|
+
[k: string]: any;
|
|
8925
|
+
};
|
|
8926
|
+
};
|
|
8884
8927
|
"x-zui": {
|
|
8885
8928
|
index: number;
|
|
8886
8929
|
/**
|
|
@@ -9033,10 +9076,31 @@ interface GetOrCreateTableResponse {
|
|
|
9033
9076
|
*/
|
|
9034
9077
|
properties: {
|
|
9035
9078
|
[k: string]: {
|
|
9036
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
9079
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9037
9080
|
format?: "date-time";
|
|
9038
9081
|
description?: string;
|
|
9082
|
+
/**
|
|
9083
|
+
* String properties must match this pattern
|
|
9084
|
+
*/
|
|
9085
|
+
pattern?: string;
|
|
9086
|
+
/**
|
|
9087
|
+
* String properties must be one of these values
|
|
9088
|
+
*/
|
|
9089
|
+
enum?: string[];
|
|
9090
|
+
/**
|
|
9091
|
+
* Defines the shape of items in an array
|
|
9092
|
+
*/
|
|
9093
|
+
items?: {
|
|
9094
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9095
|
+
[k: string]: any;
|
|
9096
|
+
};
|
|
9039
9097
|
nullable?: boolean;
|
|
9098
|
+
properties?: {
|
|
9099
|
+
[k: string]: {
|
|
9100
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9101
|
+
[k: string]: any;
|
|
9102
|
+
};
|
|
9103
|
+
};
|
|
9040
9104
|
"x-zui": {
|
|
9041
9105
|
index: number;
|
|
9042
9106
|
/**
|
|
@@ -9196,10 +9260,31 @@ interface CreateTableResponse {
|
|
|
9196
9260
|
*/
|
|
9197
9261
|
properties: {
|
|
9198
9262
|
[k: string]: {
|
|
9199
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
9263
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9200
9264
|
format?: "date-time";
|
|
9201
9265
|
description?: string;
|
|
9266
|
+
/**
|
|
9267
|
+
* String properties must match this pattern
|
|
9268
|
+
*/
|
|
9269
|
+
pattern?: string;
|
|
9270
|
+
/**
|
|
9271
|
+
* String properties must be one of these values
|
|
9272
|
+
*/
|
|
9273
|
+
enum?: string[];
|
|
9274
|
+
/**
|
|
9275
|
+
* Defines the shape of items in an array
|
|
9276
|
+
*/
|
|
9277
|
+
items?: {
|
|
9278
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9279
|
+
[k: string]: any;
|
|
9280
|
+
};
|
|
9202
9281
|
nullable?: boolean;
|
|
9282
|
+
properties?: {
|
|
9283
|
+
[k: string]: {
|
|
9284
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9285
|
+
[k: string]: any;
|
|
9286
|
+
};
|
|
9287
|
+
};
|
|
9203
9288
|
"x-zui": {
|
|
9204
9289
|
index: number;
|
|
9205
9290
|
/**
|
|
@@ -9325,10 +9410,31 @@ interface DuplicateTableResponse {
|
|
|
9325
9410
|
*/
|
|
9326
9411
|
properties: {
|
|
9327
9412
|
[k: string]: {
|
|
9328
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
9413
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9329
9414
|
format?: "date-time";
|
|
9330
9415
|
description?: string;
|
|
9416
|
+
/**
|
|
9417
|
+
* String properties must match this pattern
|
|
9418
|
+
*/
|
|
9419
|
+
pattern?: string;
|
|
9420
|
+
/**
|
|
9421
|
+
* String properties must be one of these values
|
|
9422
|
+
*/
|
|
9423
|
+
enum?: string[];
|
|
9424
|
+
/**
|
|
9425
|
+
* Defines the shape of items in an array
|
|
9426
|
+
*/
|
|
9427
|
+
items?: {
|
|
9428
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9429
|
+
[k: string]: any;
|
|
9430
|
+
};
|
|
9331
9431
|
nullable?: boolean;
|
|
9432
|
+
properties?: {
|
|
9433
|
+
[k: string]: {
|
|
9434
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9435
|
+
[k: string]: any;
|
|
9436
|
+
};
|
|
9437
|
+
};
|
|
9332
9438
|
"x-zui": {
|
|
9333
9439
|
index: number;
|
|
9334
9440
|
/**
|
|
@@ -9473,10 +9579,31 @@ interface UpdateTableResponse {
|
|
|
9473
9579
|
*/
|
|
9474
9580
|
properties: {
|
|
9475
9581
|
[k: string]: {
|
|
9476
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
9582
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9477
9583
|
format?: "date-time";
|
|
9478
9584
|
description?: string;
|
|
9585
|
+
/**
|
|
9586
|
+
* String properties must match this pattern
|
|
9587
|
+
*/
|
|
9588
|
+
pattern?: string;
|
|
9589
|
+
/**
|
|
9590
|
+
* String properties must be one of these values
|
|
9591
|
+
*/
|
|
9592
|
+
enum?: string[];
|
|
9593
|
+
/**
|
|
9594
|
+
* Defines the shape of items in an array
|
|
9595
|
+
*/
|
|
9596
|
+
items?: {
|
|
9597
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9598
|
+
[k: string]: any;
|
|
9599
|
+
};
|
|
9479
9600
|
nullable?: boolean;
|
|
9601
|
+
properties?: {
|
|
9602
|
+
[k: string]: {
|
|
9603
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9604
|
+
[k: string]: any;
|
|
9605
|
+
};
|
|
9606
|
+
};
|
|
9480
9607
|
"x-zui": {
|
|
9481
9608
|
index: number;
|
|
9482
9609
|
/**
|
|
@@ -9605,10 +9732,31 @@ interface RenameTableColumnResponse {
|
|
|
9605
9732
|
*/
|
|
9606
9733
|
properties: {
|
|
9607
9734
|
[k: string]: {
|
|
9608
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
9735
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9609
9736
|
format?: "date-time";
|
|
9610
9737
|
description?: string;
|
|
9738
|
+
/**
|
|
9739
|
+
* String properties must match this pattern
|
|
9740
|
+
*/
|
|
9741
|
+
pattern?: string;
|
|
9742
|
+
/**
|
|
9743
|
+
* String properties must be one of these values
|
|
9744
|
+
*/
|
|
9745
|
+
enum?: string[];
|
|
9746
|
+
/**
|
|
9747
|
+
* Defines the shape of items in an array
|
|
9748
|
+
*/
|
|
9749
|
+
items?: {
|
|
9750
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9751
|
+
[k: string]: any;
|
|
9752
|
+
};
|
|
9611
9753
|
nullable?: boolean;
|
|
9754
|
+
properties?: {
|
|
9755
|
+
[k: string]: {
|
|
9756
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
9757
|
+
[k: string]: any;
|
|
9758
|
+
};
|
|
9759
|
+
};
|
|
9612
9760
|
"x-zui": {
|
|
9613
9761
|
index: number;
|
|
9614
9762
|
/**
|
|
@@ -11111,10 +11259,31 @@ interface Table {
|
|
|
11111
11259
|
*/
|
|
11112
11260
|
properties: {
|
|
11113
11261
|
[k: string]: {
|
|
11114
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
11262
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
11115
11263
|
format?: "date-time";
|
|
11116
11264
|
description?: string;
|
|
11265
|
+
/**
|
|
11266
|
+
* String properties must match this pattern
|
|
11267
|
+
*/
|
|
11268
|
+
pattern?: string;
|
|
11269
|
+
/**
|
|
11270
|
+
* String properties must be one of these values
|
|
11271
|
+
*/
|
|
11272
|
+
enum?: string[];
|
|
11273
|
+
/**
|
|
11274
|
+
* Defines the shape of items in an array
|
|
11275
|
+
*/
|
|
11276
|
+
items?: {
|
|
11277
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
11278
|
+
[k: string]: any;
|
|
11279
|
+
};
|
|
11117
11280
|
nullable?: boolean;
|
|
11281
|
+
properties?: {
|
|
11282
|
+
[k: string]: {
|
|
11283
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
11284
|
+
[k: string]: any;
|
|
11285
|
+
};
|
|
11286
|
+
};
|
|
11118
11287
|
"x-zui": {
|
|
11119
11288
|
index: number;
|
|
11120
11289
|
/**
|
|
@@ -11812,8 +11981,8 @@ declare class AsyncCollection<T> {
|
|
|
11812
11981
|
}): Promise<T[]>;
|
|
11813
11982
|
}
|
|
11814
11983
|
declare class Lister {
|
|
11815
|
-
private
|
|
11816
|
-
constructor(
|
|
11984
|
+
private _client;
|
|
11985
|
+
constructor(_client: Client$1);
|
|
11817
11986
|
readonly conversations: (props: ListInputs['listConversations']) => AsyncCollection<{
|
|
11818
11987
|
id: string;
|
|
11819
11988
|
currentTaskId?: string | undefined;
|
|
@@ -11995,7 +12164,7 @@ declare class Lister {
|
|
|
11995
12164
|
id: string;
|
|
11996
12165
|
content: string;
|
|
11997
12166
|
meta: {
|
|
11998
|
-
type?: "chunk" | undefined;
|
|
12167
|
+
type?: "chunk" | "summary" | "consolidated" | undefined;
|
|
11999
12168
|
subtype?: "code" | "title" | "subtitle" | "paragraph" | "list" | "blockquote" | "table" | undefined;
|
|
12000
12169
|
pageNumber?: number | undefined;
|
|
12001
12170
|
position?: number | undefined;
|