@botpress/api 1.74.0 → 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 +39 -10
- 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 +10 -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": {
|
|
@@ -303372,7 +303385,7 @@ var state4 = {
|
|
|
303372
303385
|
"title": "Botpress Tables API",
|
|
303373
303386
|
"description": "API for Botpress Tables",
|
|
303374
303387
|
"server": "https://api.botpress.cloud",
|
|
303375
|
-
"version": "1.
|
|
303388
|
+
"version": "1.75.0",
|
|
303376
303389
|
"prefix": "v1"
|
|
303377
303390
|
},
|
|
303378
303391
|
"defaultParameters": {
|
|
@@ -304253,7 +304266,7 @@ var state5 = {
|
|
|
304253
304266
|
},
|
|
304254
304267
|
"getOrCreateConversation": {
|
|
304255
304268
|
"name": "getOrCreateConversation",
|
|
304256
|
-
"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.",
|
|
304257
304270
|
"method": "post",
|
|
304258
304271
|
"path": "/v1/chat/conversations/get-or-create",
|
|
304259
304272
|
"requestBody": {
|
|
@@ -304305,10 +304318,23 @@ var state5 = {
|
|
|
304305
304318
|
"properties": {
|
|
304306
304319
|
"conversation": {
|
|
304307
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
|
|
304308
304333
|
}
|
|
304309
304334
|
},
|
|
304310
304335
|
"required": [
|
|
304311
|
-
"conversation"
|
|
304336
|
+
"conversation",
|
|
304337
|
+
"meta"
|
|
304312
304338
|
],
|
|
304313
304339
|
"title": "getOrCreateConversationResponse",
|
|
304314
304340
|
"additionalProperties": false
|
|
@@ -324718,7 +324744,7 @@ var state5 = {
|
|
|
324718
324744
|
"title": "Botpress API",
|
|
324719
324745
|
"description": "API for Botpress Cloud",
|
|
324720
324746
|
"server": "https://api.botpress.cloud",
|
|
324721
|
-
"version": "1.
|
|
324747
|
+
"version": "1.75.0",
|
|
324722
324748
|
"prefix": "v1"
|
|
324723
324749
|
},
|
|
324724
324750
|
"errors": [
|
|
@@ -329776,6 +329802,9 @@ var state6 = {
|
|
|
329776
329802
|
},
|
|
329777
329803
|
"effectiveDate": {
|
|
329778
329804
|
"type": "string"
|
|
329805
|
+
},
|
|
329806
|
+
"autoAdjusted": {
|
|
329807
|
+
"type": "boolean"
|
|
329779
329808
|
}
|
|
329780
329809
|
},
|
|
329781
329810
|
"required": [
|
|
@@ -331501,7 +331530,7 @@ var state6 = {
|
|
|
331501
331530
|
"title": "Botpress Billing Public API",
|
|
331502
331531
|
"description": "API for Botpress Billing",
|
|
331503
331532
|
"server": "https://api.botpress.cloud",
|
|
331504
|
-
"version": "1.
|
|
331533
|
+
"version": "1.75.0",
|
|
331505
331534
|
"prefix": "v2"
|
|
331506
331535
|
},
|
|
331507
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;
|
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",
|