@botpress/api 1.73.4 → 1.75.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/dist/index.js +129 -24
- package/dist/src/gen/billing/state.d.ts +3 -0
- package/dist/src/gen/runtime/state.d.ts +10 -0
- package/dist/src/gen/state.d.ts +36 -0
- package/dist/src/gen/tables/state.d.ts +26 -0
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -275637,7 +275637,7 @@ var state = {
|
|
|
275637
275637
|
},
|
|
275638
275638
|
"getOrCreateConversation": {
|
|
275639
275639
|
"name": "getOrCreateConversation",
|
|
275640
|
-
"description": "Retrieves the [Conversation](#schema_conversation) object
|
|
275640
|
+
"description": "Retrieves the [Conversation](#schema_conversation) object containing given tags. If the conversation does not exist, it will be created. Tags will be updated if they are set in the request body.",
|
|
275641
275641
|
"method": "post",
|
|
275642
275642
|
"path": "/v1/chat/conversations/get-or-create",
|
|
275643
275643
|
"requestBody": {
|
|
@@ -275689,10 +275689,23 @@ var state = {
|
|
|
275689
275689
|
"properties": {
|
|
275690
275690
|
"conversation": {
|
|
275691
275691
|
"$ref": "#/components/schemas/Conversation"
|
|
275692
|
+
},
|
|
275693
|
+
"meta": {
|
|
275694
|
+
"type": "object",
|
|
275695
|
+
"properties": {
|
|
275696
|
+
"created": {
|
|
275697
|
+
"type": "boolean"
|
|
275698
|
+
}
|
|
275699
|
+
},
|
|
275700
|
+
"required": [
|
|
275701
|
+
"created"
|
|
275702
|
+
],
|
|
275703
|
+
"additionalProperties": false
|
|
275692
275704
|
}
|
|
275693
275705
|
},
|
|
275694
275706
|
"required": [
|
|
275695
|
-
"conversation"
|
|
275707
|
+
"conversation",
|
|
275708
|
+
"meta"
|
|
275696
275709
|
],
|
|
275697
275710
|
"title": "getOrCreateConversationResponse",
|
|
275698
275711
|
"additionalProperties": false
|
|
@@ -279082,7 +279095,7 @@ var state = {
|
|
|
279082
279095
|
"title": "Botpress Runtime API",
|
|
279083
279096
|
"description": "API for Botpress Runtime",
|
|
279084
279097
|
"server": "https://api.botpress.cloud",
|
|
279085
|
-
"version": "1.
|
|
279098
|
+
"version": "1.75.0",
|
|
279086
279099
|
"prefix": "v1"
|
|
279087
279100
|
},
|
|
279088
279101
|
"defaultParameters": {
|
|
@@ -295519,7 +295532,7 @@ var state2 = {
|
|
|
295519
295532
|
"title": "Botpress Admin API",
|
|
295520
295533
|
"description": "API for Botpress Cloud Manager",
|
|
295521
295534
|
"server": "https://api.botpress.cloud",
|
|
295522
|
-
"version": "1.
|
|
295535
|
+
"version": "1.75.0",
|
|
295523
295536
|
"prefix": "v1"
|
|
295524
295537
|
},
|
|
295525
295538
|
"defaultParameters": {
|
|
@@ -301038,7 +301051,7 @@ var state3 = {
|
|
|
301038
301051
|
"title": "Botpress Files API",
|
|
301039
301052
|
"description": "API for Botpress Files",
|
|
301040
301053
|
"server": "https://api.botpress.cloud",
|
|
301041
|
-
"version": "1.
|
|
301054
|
+
"version": "1.75.0",
|
|
301042
301055
|
"prefix": "v1"
|
|
301043
301056
|
},
|
|
301044
301057
|
"defaultParameters": {
|
|
@@ -301913,7 +301926,7 @@ var state4 = {
|
|
|
301913
301926
|
},
|
|
301914
301927
|
"section": "tables",
|
|
301915
301928
|
"response": {
|
|
301916
|
-
"description": "The created table object.",
|
|
301929
|
+
"description": "The created table object. For large tables, rows are copied asynchronously and a job object is returned to track progress.",
|
|
301917
301930
|
"schema": {
|
|
301918
301931
|
"type": "object",
|
|
301919
301932
|
"properties": {
|
|
@@ -301922,7 +301935,23 @@ var state4 = {
|
|
|
301922
301935
|
},
|
|
301923
301936
|
"rows": {
|
|
301924
301937
|
"type": "number",
|
|
301925
|
-
"description": "The total number of rows present in the table."
|
|
301938
|
+
"description": "The total number of rows present in the source table."
|
|
301939
|
+
},
|
|
301940
|
+
"job": {
|
|
301941
|
+
"type": "object",
|
|
301942
|
+
"properties": {
|
|
301943
|
+
"id": {
|
|
301944
|
+
"type": "string"
|
|
301945
|
+
},
|
|
301946
|
+
"status": {
|
|
301947
|
+
"type": "string"
|
|
301948
|
+
}
|
|
301949
|
+
},
|
|
301950
|
+
"required": [
|
|
301951
|
+
"id",
|
|
301952
|
+
"status"
|
|
301953
|
+
],
|
|
301954
|
+
"additionalProperties": false
|
|
301926
301955
|
}
|
|
301927
301956
|
},
|
|
301928
301957
|
"required": [
|
|
@@ -302030,7 +302059,9 @@ var state4 = {
|
|
|
302030
302059
|
"export",
|
|
302031
302060
|
"import",
|
|
302032
302061
|
"clear_column",
|
|
302033
|
-
"clear_vectors"
|
|
302062
|
+
"clear_vectors",
|
|
302063
|
+
"delete_rows",
|
|
302064
|
+
"duplicate_table"
|
|
302034
302065
|
]
|
|
302035
302066
|
},
|
|
302036
302067
|
"status": {
|
|
@@ -302160,7 +302191,9 @@ var state4 = {
|
|
|
302160
302191
|
"export",
|
|
302161
302192
|
"import",
|
|
302162
302193
|
"clear_column",
|
|
302163
|
-
"clear_vectors"
|
|
302194
|
+
"clear_vectors",
|
|
302195
|
+
"delete_rows",
|
|
302196
|
+
"duplicate_table"
|
|
302164
302197
|
]
|
|
302165
302198
|
},
|
|
302166
302199
|
"status": {
|
|
@@ -302305,7 +302338,9 @@ var state4 = {
|
|
|
302305
302338
|
"export",
|
|
302306
302339
|
"import",
|
|
302307
302340
|
"clear_column",
|
|
302308
|
-
"clear_vectors"
|
|
302341
|
+
"clear_vectors",
|
|
302342
|
+
"delete_rows",
|
|
302343
|
+
"duplicate_table"
|
|
302309
302344
|
]
|
|
302310
302345
|
},
|
|
302311
302346
|
"status": {
|
|
@@ -303042,7 +303077,7 @@ var state4 = {
|
|
|
303042
303077
|
"filter": {
|
|
303043
303078
|
"type": "object",
|
|
303044
303079
|
"additionalProperties": true,
|
|
303045
|
-
"description": 'Filter to apply when deleting rows. Example: \\{ "
|
|
303080
|
+
"description": 'Filter to apply when deleting rows. Deletion with a filter is performed asynchronously in batches and returns a job object to track progress. Example: \\{ "createdAt": \\{ "$lt": "2026-01-01" \\} \\}'
|
|
303046
303081
|
},
|
|
303047
303082
|
"deleteAllRows": {
|
|
303048
303083
|
"type": "boolean",
|
|
@@ -303056,12 +303091,28 @@ var state4 = {
|
|
|
303056
303091
|
"method": "post",
|
|
303057
303092
|
"section": "tables",
|
|
303058
303093
|
"response": {
|
|
303059
|
-
"description": "Confirms the number of rows successfully deleted.",
|
|
303094
|
+
"description": "Confirms the number of rows successfully deleted. When using a filter, returns a job object for tracking async progress.",
|
|
303060
303095
|
"schema": {
|
|
303061
303096
|
"type": "object",
|
|
303062
303097
|
"properties": {
|
|
303063
303098
|
"deletedRows": {
|
|
303064
303099
|
"type": "number"
|
|
303100
|
+
},
|
|
303101
|
+
"job": {
|
|
303102
|
+
"type": "object",
|
|
303103
|
+
"properties": {
|
|
303104
|
+
"id": {
|
|
303105
|
+
"type": "string"
|
|
303106
|
+
},
|
|
303107
|
+
"status": {
|
|
303108
|
+
"type": "string"
|
|
303109
|
+
}
|
|
303110
|
+
},
|
|
303111
|
+
"required": [
|
|
303112
|
+
"id",
|
|
303113
|
+
"status"
|
|
303114
|
+
],
|
|
303115
|
+
"additionalProperties": false
|
|
303065
303116
|
}
|
|
303066
303117
|
},
|
|
303067
303118
|
"required": [
|
|
@@ -303334,7 +303385,7 @@ var state4 = {
|
|
|
303334
303385
|
"title": "Botpress Tables API",
|
|
303335
303386
|
"description": "API for Botpress Tables",
|
|
303336
303387
|
"server": "https://api.botpress.cloud",
|
|
303337
|
-
"version": "1.
|
|
303388
|
+
"version": "1.75.0",
|
|
303338
303389
|
"prefix": "v1"
|
|
303339
303390
|
},
|
|
303340
303391
|
"defaultParameters": {
|
|
@@ -304215,7 +304266,7 @@ var state5 = {
|
|
|
304215
304266
|
},
|
|
304216
304267
|
"getOrCreateConversation": {
|
|
304217
304268
|
"name": "getOrCreateConversation",
|
|
304218
|
-
"description": "Retrieves the [Conversation](#schema_conversation) object
|
|
304269
|
+
"description": "Retrieves the [Conversation](#schema_conversation) object containing given tags. If the conversation does not exist, it will be created. Tags will be updated if they are set in the request body.",
|
|
304219
304270
|
"method": "post",
|
|
304220
304271
|
"path": "/v1/chat/conversations/get-or-create",
|
|
304221
304272
|
"requestBody": {
|
|
@@ -304267,10 +304318,23 @@ var state5 = {
|
|
|
304267
304318
|
"properties": {
|
|
304268
304319
|
"conversation": {
|
|
304269
304320
|
"$ref": "#/components/schemas/Conversation"
|
|
304321
|
+
},
|
|
304322
|
+
"meta": {
|
|
304323
|
+
"type": "object",
|
|
304324
|
+
"properties": {
|
|
304325
|
+
"created": {
|
|
304326
|
+
"type": "boolean"
|
|
304327
|
+
}
|
|
304328
|
+
},
|
|
304329
|
+
"required": [
|
|
304330
|
+
"created"
|
|
304331
|
+
],
|
|
304332
|
+
"additionalProperties": false
|
|
304270
304333
|
}
|
|
304271
304334
|
},
|
|
304272
304335
|
"required": [
|
|
304273
|
-
"conversation"
|
|
304336
|
+
"conversation",
|
|
304337
|
+
"meta"
|
|
304274
304338
|
],
|
|
304275
304339
|
"title": "getOrCreateConversationResponse",
|
|
304276
304340
|
"additionalProperties": false
|
|
@@ -323653,7 +323717,7 @@ var state5 = {
|
|
|
323653
323717
|
},
|
|
323654
323718
|
"section": "tables",
|
|
323655
323719
|
"response": {
|
|
323656
|
-
"description": "The created table object.",
|
|
323720
|
+
"description": "The created table object. For large tables, rows are copied asynchronously and a job object is returned to track progress.",
|
|
323657
323721
|
"schema": {
|
|
323658
323722
|
"type": "object",
|
|
323659
323723
|
"properties": {
|
|
@@ -323662,7 +323726,23 @@ var state5 = {
|
|
|
323662
323726
|
},
|
|
323663
323727
|
"rows": {
|
|
323664
323728
|
"type": "number",
|
|
323665
|
-
"description": "The total number of rows present in the table."
|
|
323729
|
+
"description": "The total number of rows present in the source table."
|
|
323730
|
+
},
|
|
323731
|
+
"job": {
|
|
323732
|
+
"type": "object",
|
|
323733
|
+
"properties": {
|
|
323734
|
+
"id": {
|
|
323735
|
+
"type": "string"
|
|
323736
|
+
},
|
|
323737
|
+
"status": {
|
|
323738
|
+
"type": "string"
|
|
323739
|
+
}
|
|
323740
|
+
},
|
|
323741
|
+
"required": [
|
|
323742
|
+
"id",
|
|
323743
|
+
"status"
|
|
323744
|
+
],
|
|
323745
|
+
"additionalProperties": false
|
|
323666
323746
|
}
|
|
323667
323747
|
},
|
|
323668
323748
|
"required": [
|
|
@@ -323734,7 +323814,9 @@ var state5 = {
|
|
|
323734
323814
|
"export",
|
|
323735
323815
|
"import",
|
|
323736
323816
|
"clear_column",
|
|
323737
|
-
"clear_vectors"
|
|
323817
|
+
"clear_vectors",
|
|
323818
|
+
"delete_rows",
|
|
323819
|
+
"duplicate_table"
|
|
323738
323820
|
]
|
|
323739
323821
|
},
|
|
323740
323822
|
"status": {
|
|
@@ -323828,7 +323910,9 @@ var state5 = {
|
|
|
323828
323910
|
"export",
|
|
323829
323911
|
"import",
|
|
323830
323912
|
"clear_column",
|
|
323831
|
-
"clear_vectors"
|
|
323913
|
+
"clear_vectors",
|
|
323914
|
+
"delete_rows",
|
|
323915
|
+
"duplicate_table"
|
|
323832
323916
|
]
|
|
323833
323917
|
},
|
|
323834
323918
|
"status": {
|
|
@@ -323937,7 +324021,9 @@ var state5 = {
|
|
|
323937
324021
|
"export",
|
|
323938
324022
|
"import",
|
|
323939
324023
|
"clear_column",
|
|
323940
|
-
"clear_vectors"
|
|
324024
|
+
"clear_vectors",
|
|
324025
|
+
"delete_rows",
|
|
324026
|
+
"duplicate_table"
|
|
323941
324027
|
]
|
|
323942
324028
|
},
|
|
323943
324029
|
"status": {
|
|
@@ -324422,7 +324508,7 @@ var state5 = {
|
|
|
324422
324508
|
"filter": {
|
|
324423
324509
|
"type": "object",
|
|
324424
324510
|
"additionalProperties": true,
|
|
324425
|
-
"description": 'Filter to apply when deleting rows. Example: \\{ "
|
|
324511
|
+
"description": 'Filter to apply when deleting rows. Deletion with a filter is performed asynchronously in batches and returns a job object to track progress. Example: \\{ "createdAt": \\{ "$lt": "2026-01-01" \\} \\}'
|
|
324426
324512
|
},
|
|
324427
324513
|
"deleteAllRows": {
|
|
324428
324514
|
"type": "boolean",
|
|
@@ -324436,12 +324522,28 @@ var state5 = {
|
|
|
324436
324522
|
"method": "post",
|
|
324437
324523
|
"section": "tables",
|
|
324438
324524
|
"response": {
|
|
324439
|
-
"description": "Confirms the number of rows successfully deleted.",
|
|
324525
|
+
"description": "Confirms the number of rows successfully deleted. When using a filter, returns a job object for tracking async progress.",
|
|
324440
324526
|
"schema": {
|
|
324441
324527
|
"type": "object",
|
|
324442
324528
|
"properties": {
|
|
324443
324529
|
"deletedRows": {
|
|
324444
324530
|
"type": "number"
|
|
324531
|
+
},
|
|
324532
|
+
"job": {
|
|
324533
|
+
"type": "object",
|
|
324534
|
+
"properties": {
|
|
324535
|
+
"id": {
|
|
324536
|
+
"type": "string"
|
|
324537
|
+
},
|
|
324538
|
+
"status": {
|
|
324539
|
+
"type": "string"
|
|
324540
|
+
}
|
|
324541
|
+
},
|
|
324542
|
+
"required": [
|
|
324543
|
+
"id",
|
|
324544
|
+
"status"
|
|
324545
|
+
],
|
|
324546
|
+
"additionalProperties": false
|
|
324445
324547
|
}
|
|
324446
324548
|
},
|
|
324447
324549
|
"required": [
|
|
@@ -324642,7 +324744,7 @@ var state5 = {
|
|
|
324642
324744
|
"title": "Botpress API",
|
|
324643
324745
|
"description": "API for Botpress Cloud",
|
|
324644
324746
|
"server": "https://api.botpress.cloud",
|
|
324645
|
-
"version": "1.
|
|
324747
|
+
"version": "1.75.0",
|
|
324646
324748
|
"prefix": "v1"
|
|
324647
324749
|
},
|
|
324648
324750
|
"errors": [
|
|
@@ -329700,6 +329802,9 @@ var state6 = {
|
|
|
329700
329802
|
},
|
|
329701
329803
|
"effectiveDate": {
|
|
329702
329804
|
"type": "string"
|
|
329805
|
+
},
|
|
329806
|
+
"autoAdjusted": {
|
|
329807
|
+
"type": "boolean"
|
|
329703
329808
|
}
|
|
329704
329809
|
},
|
|
329705
329810
|
"required": [
|
|
@@ -331425,7 +331530,7 @@ var state6 = {
|
|
|
331425
331530
|
"title": "Botpress Billing Public API",
|
|
331426
331531
|
"description": "API for Botpress Billing",
|
|
331427
331532
|
"server": "https://api.botpress.cloud",
|
|
331428
|
-
"version": "1.
|
|
331533
|
+
"version": "1.75.0",
|
|
331429
331534
|
"prefix": "v2"
|
|
331430
331535
|
},
|
|
331431
331536
|
"defaultParameters": {
|
|
@@ -282,6 +282,16 @@ export declare const state: {
|
|
|
282
282
|
conversation: {
|
|
283
283
|
$ref: string;
|
|
284
284
|
};
|
|
285
|
+
meta: {
|
|
286
|
+
type: "object";
|
|
287
|
+
properties: {
|
|
288
|
+
created: {
|
|
289
|
+
type: "boolean";
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
required: string[];
|
|
293
|
+
additionalProperties: false;
|
|
294
|
+
};
|
|
285
295
|
};
|
|
286
296
|
required: string[];
|
|
287
297
|
title: string;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -227,6 +227,16 @@ export declare const state: {
|
|
|
227
227
|
conversation: {
|
|
228
228
|
$ref: string;
|
|
229
229
|
};
|
|
230
|
+
meta: {
|
|
231
|
+
type: "object";
|
|
232
|
+
properties: {
|
|
233
|
+
created: {
|
|
234
|
+
type: "boolean";
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
required: string[];
|
|
238
|
+
additionalProperties: false;
|
|
239
|
+
};
|
|
230
240
|
};
|
|
231
241
|
required: string[];
|
|
232
242
|
title: string;
|
|
@@ -17105,6 +17115,19 @@ export declare const state: {
|
|
|
17105
17115
|
type: "number";
|
|
17106
17116
|
description: string;
|
|
17107
17117
|
};
|
|
17118
|
+
job: {
|
|
17119
|
+
type: "object";
|
|
17120
|
+
properties: {
|
|
17121
|
+
id: {
|
|
17122
|
+
type: "string";
|
|
17123
|
+
};
|
|
17124
|
+
status: {
|
|
17125
|
+
type: "string";
|
|
17126
|
+
};
|
|
17127
|
+
};
|
|
17128
|
+
required: string[];
|
|
17129
|
+
additionalProperties: false;
|
|
17130
|
+
};
|
|
17108
17131
|
};
|
|
17109
17132
|
required: string[];
|
|
17110
17133
|
title: string;
|
|
@@ -17772,6 +17795,19 @@ export declare const state: {
|
|
|
17772
17795
|
deletedRows: {
|
|
17773
17796
|
type: "number";
|
|
17774
17797
|
};
|
|
17798
|
+
job: {
|
|
17799
|
+
type: "object";
|
|
17800
|
+
properties: {
|
|
17801
|
+
id: {
|
|
17802
|
+
type: "string";
|
|
17803
|
+
};
|
|
17804
|
+
status: {
|
|
17805
|
+
type: "string";
|
|
17806
|
+
};
|
|
17807
|
+
};
|
|
17808
|
+
required: string[];
|
|
17809
|
+
additionalProperties: false;
|
|
17810
|
+
};
|
|
17775
17811
|
};
|
|
17776
17812
|
required: string[];
|
|
17777
17813
|
title: string;
|
|
@@ -469,6 +469,19 @@ export declare const state: {
|
|
|
469
469
|
type: "number";
|
|
470
470
|
description: string;
|
|
471
471
|
};
|
|
472
|
+
job: {
|
|
473
|
+
type: "object";
|
|
474
|
+
properties: {
|
|
475
|
+
id: {
|
|
476
|
+
type: "string";
|
|
477
|
+
};
|
|
478
|
+
status: {
|
|
479
|
+
type: "string";
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
required: string[];
|
|
483
|
+
additionalProperties: false;
|
|
484
|
+
};
|
|
472
485
|
};
|
|
473
486
|
required: string[];
|
|
474
487
|
title: string;
|
|
@@ -1496,6 +1509,19 @@ export declare const state: {
|
|
|
1496
1509
|
deletedRows: {
|
|
1497
1510
|
type: "number";
|
|
1498
1511
|
};
|
|
1512
|
+
job: {
|
|
1513
|
+
type: "object";
|
|
1514
|
+
properties: {
|
|
1515
|
+
id: {
|
|
1516
|
+
type: "string";
|
|
1517
|
+
};
|
|
1518
|
+
status: {
|
|
1519
|
+
type: "string";
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
required: string[];
|
|
1523
|
+
additionalProperties: false;
|
|
1524
|
+
};
|
|
1499
1525
|
};
|
|
1500
1526
|
required: string[];
|
|
1501
1527
|
title: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.75.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"esbuild": "0.27.1",
|
|
12
12
|
"typescript": "5.9.3",
|
|
13
13
|
"zod": "^3.24.4",
|
|
14
|
-
"@botpress/bridge": "1.8.1",
|
|
15
14
|
"@botpress/cloud-manager": "0.2.0",
|
|
16
15
|
"@botpress/common": "0.5.0",
|
|
16
|
+
"@botpress/bridge": "1.8.1",
|
|
17
17
|
"@botpress/files-api": "0.18.0",
|
|
18
18
|
"@botpress/smaug": "1.0.1",
|
|
19
|
-
"@bpinternal/
|
|
20
|
-
"@bpinternal/
|
|
19
|
+
"@bpinternal/const": "0.4.2",
|
|
20
|
+
"@bpinternal/tables-api": "0.17.2"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"openapi": "es-node openapi/generator.ts && pnpm run build",
|