@botpress/api 1.73.0 → 1.73.2

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.
Files changed (2) hide show
  1. package/dist/index.js +18 -18
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -276957,7 +276957,7 @@ var state = {
276957
276957
  "type": "string",
276958
276958
  "maxLength": 200
276959
276959
  },
276960
- "description": "Optional attributes"
276960
+ "description": "EXPERIMENTAL - Optional shared attributes that can be accessed and modified by both the bot and any of its integrations."
276961
276961
  },
276962
276962
  "discriminateByTags": {
276963
276963
  "type": "array",
@@ -277093,7 +277093,7 @@ var state = {
277093
277093
  },
277094
277094
  "importMessages": {
277095
277095
  "name": "importMessages",
277096
- "description": "Imports messages if no matching messages already exist. Returns the list of messages that were either created or retrieved.",
277096
+ "description": "Imports messages if no matching messages already exist. On partial failure, returns an [Error](#errors) with both `resolvedMessages` and `failedMessages` arrays.",
277097
277097
  "method": "post",
277098
277098
  "path": "/v1/chat/messages/import-messages",
277099
277099
  "requestBody": {
@@ -277174,7 +277174,7 @@ var state = {
277174
277174
  },
277175
277175
  "section": "message",
277176
277176
  "response": {
277177
- "description": "Returns the list of [Message](#schema_message) objects that were retrieved or created. Returns an [Error](#errors) otherwise",
277177
+ "description": "Returns the list of [Message](#schema_message) objects that were retrieved or created. On partial failure, returns an [Error](#errors) with `resolvedMessages` (successfully imported) and `failedMessages` (each with an `error` field).",
277178
277178
  "schema": {
277179
277179
  "type": "object",
277180
277180
  "properties": {
@@ -277256,7 +277256,7 @@ var state = {
277256
277256
  "type": "string",
277257
277257
  "maxLength": 200
277258
277258
  },
277259
- "description": "Optional attributes"
277259
+ "description": "EXPERIMENTAL - Optional shared attributes that can be accessed and modified by both the bot and any of its integrations."
277260
277260
  }
277261
277261
  },
277262
277262
  "required": [
@@ -277517,7 +277517,7 @@ var state = {
277517
277517
  "type": "string",
277518
277518
  "maxLength": 200
277519
277519
  },
277520
- "description": "Optional attributes"
277520
+ "description": "EXPERIMENTAL - Optional shared attributes that can be accessed and modified by both the bot and any of its integrations."
277521
277521
  },
277522
277522
  "discriminateByTags": {
277523
277523
  "type": "array",
@@ -277638,7 +277638,7 @@ var state = {
277638
277638
  "maxLength": 200,
277639
277639
  "nullable": true
277640
277640
  },
277641
- "description": "Optional attributes. Set attributes to null to remove them"
277641
+ "description": "EXPERIMENTAL - Optional shared attributes that can be accessed and modified by both the bot and any of its integrations. Set individual attributes to null to remove them."
277642
277642
  }
277643
277643
  },
277644
277644
  "title": "updateUserBody",
@@ -279478,7 +279478,7 @@ var state = {
279478
279478
  "title": "Botpress Runtime API",
279479
279479
  "description": "API for Botpress Runtime",
279480
279480
  "server": "https://api.botpress.cloud",
279481
- "version": "1.73.0",
279481
+ "version": "1.73.2",
279482
279482
  "prefix": "v1"
279483
279483
  },
279484
279484
  "defaultParameters": {
@@ -296035,7 +296035,7 @@ var state2 = {
296035
296035
  "title": "Botpress Admin API",
296036
296036
  "description": "API for Botpress Cloud Manager",
296037
296037
  "server": "https://api.botpress.cloud",
296038
- "version": "1.73.0",
296038
+ "version": "1.73.2",
296039
296039
  "prefix": "v1"
296040
296040
  },
296041
296041
  "defaultParameters": {
@@ -301556,7 +301556,7 @@ var state3 = {
301556
301556
  "title": "Botpress Files API",
301557
301557
  "description": "API for Botpress Files",
301558
301558
  "server": "https://api.botpress.cloud",
301559
- "version": "1.73.0",
301559
+ "version": "1.73.2",
301560
301560
  "prefix": "v1"
301561
301561
  },
301562
301562
  "defaultParameters": {
@@ -303852,7 +303852,7 @@ var state4 = {
303852
303852
  "title": "Botpress Tables API",
303853
303853
  "description": "API for Botpress Tables",
303854
303854
  "server": "https://api.botpress.cloud",
303855
- "version": "1.73.0",
303855
+ "version": "1.73.2",
303856
303856
  "prefix": "v1"
303857
303857
  },
303858
303858
  "defaultParameters": {
@@ -305724,7 +305724,7 @@ var state5 = {
305724
305724
  "type": "string",
305725
305725
  "maxLength": 200
305726
305726
  },
305727
- "description": "Optional attributes"
305727
+ "description": "EXPERIMENTAL - Optional shared attributes that can be accessed and modified by both the bot and any of its integrations."
305728
305728
  },
305729
305729
  "discriminateByTags": {
305730
305730
  "type": "array",
@@ -305860,7 +305860,7 @@ var state5 = {
305860
305860
  },
305861
305861
  "importMessages": {
305862
305862
  "name": "importMessages",
305863
- "description": "Imports messages if no matching messages already exist. Returns the list of messages that were either created or retrieved.",
305863
+ "description": "Imports messages if no matching messages already exist. On partial failure, returns an [Error](#errors) with both `resolvedMessages` and `failedMessages` arrays.",
305864
305864
  "method": "post",
305865
305865
  "path": "/v1/chat/messages/import-messages",
305866
305866
  "requestBody": {
@@ -305941,7 +305941,7 @@ var state5 = {
305941
305941
  },
305942
305942
  "section": "message",
305943
305943
  "response": {
305944
- "description": "Returns the list of [Message](#schema_message) objects that were retrieved or created. Returns an [Error](#errors) otherwise",
305944
+ "description": "Returns the list of [Message](#schema_message) objects that were retrieved or created. On partial failure, returns an [Error](#errors) with `resolvedMessages` (successfully imported) and `failedMessages` (each with an `error` field).",
305945
305945
  "schema": {
305946
305946
  "type": "object",
305947
305947
  "properties": {
@@ -306004,7 +306004,7 @@ var state5 = {
306004
306004
  "type": "string",
306005
306005
  "maxLength": 200
306006
306006
  },
306007
- "description": "Optional attributes"
306007
+ "description": "EXPERIMENTAL - Optional shared attributes that can be accessed and modified by both the bot and any of its integrations."
306008
306008
  }
306009
306009
  },
306010
306010
  "required": [
@@ -306210,7 +306210,7 @@ var state5 = {
306210
306210
  "type": "string",
306211
306211
  "maxLength": 200
306212
306212
  },
306213
- "description": "Optional attributes"
306213
+ "description": "EXPERIMENTAL - Optional shared attributes that can be accessed and modified by both the bot and any of its integrations."
306214
306214
  },
306215
306215
  "discriminateByTags": {
306216
306216
  "type": "array",
@@ -306294,7 +306294,7 @@ var state5 = {
306294
306294
  "maxLength": 200,
306295
306295
  "nullable": true
306296
306296
  },
306297
- "description": "Optional attributes. Set attributes to null to remove them"
306297
+ "description": "EXPERIMENTAL - Optional shared attributes that can be accessed and modified by both the bot and any of its integrations. Set individual attributes to null to remove them."
306298
306298
  }
306299
306299
  },
306300
306300
  "title": "updateUserBody",
@@ -325458,7 +325458,7 @@ var state5 = {
325458
325458
  "title": "Botpress API",
325459
325459
  "description": "API for Botpress Cloud",
325460
325460
  "server": "https://api.botpress.cloud",
325461
- "version": "1.73.0",
325461
+ "version": "1.73.2",
325462
325462
  "prefix": "v1"
325463
325463
  },
325464
325464
  "errors": [
@@ -332370,7 +332370,7 @@ var state6 = {
332370
332370
  "title": "Botpress Billing Public API",
332371
332371
  "description": "API for Botpress Billing",
332372
332372
  "server": "https://api.botpress.cloud",
332373
- "version": "1.73.0",
332373
+ "version": "1.73.2",
332374
332374
  "prefix": "v2"
332375
332375
  },
332376
332376
  "defaultParameters": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.73.0",
3
+ "version": "1.73.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
@@ -8,13 +8,13 @@
8
8
  "esbuild": "0.27.1",
9
9
  "zod": "^3.24.4",
10
10
  "typescript": "5.9.3",
11
- "@botpress/bridge": "1.8.0",
12
- "@botpress/cloud-manager": "0.2.0",
11
+ "@botpress/bridge": "1.8.1",
13
12
  "@botpress/common": "0.5.0",
13
+ "@botpress/cloud-manager": "0.2.0",
14
14
  "@botpress/files-api": "0.18.0",
15
15
  "@bpinternal/const": "0.4.2",
16
- "@bpinternal/tables-api": "0.17.2",
17
- "@botpress/smaug": "1.0.1"
16
+ "@botpress/smaug": "1.0.1",
17
+ "@bpinternal/tables-api": "0.17.2"
18
18
  },
19
19
  "dependencies": {
20
20
  "@bpinternal/opapi": "1.0.0"