@botpress/api 0.77.0 → 0.79.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 +29 -3
- package/dist/src/gen/state.d.ts +26 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +29 -3
package/src/gen/state.ts
CHANGED
|
@@ -209,6 +209,14 @@ export const state = {
|
|
|
209
209
|
"maxLength": 200,
|
|
210
210
|
"description": "[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.",
|
|
211
211
|
"deprecated": true
|
|
212
|
+
},
|
|
213
|
+
"discriminateByTags": {
|
|
214
|
+
"type": "array",
|
|
215
|
+
"items": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"maxLength": 500
|
|
218
|
+
},
|
|
219
|
+
"description": "Optional list of tag names to use for strict matching when looking up existing conversations. If provided, all specified tags must match exactly for a conversation to be considered a match. For example, with an existing conversation whose tags are {\"foo\": \"a\", \"bar\": \"b\", baz: \"c\"}: Without this parameter, ALL tags must match exactly. With [\"bar\",\"baz\"], all listed tags must match their values, and other tags are not considered."
|
|
212
220
|
}
|
|
213
221
|
},
|
|
214
222
|
"required": [
|
|
@@ -805,6 +813,14 @@ export const state = {
|
|
|
805
813
|
},
|
|
806
814
|
"description": "Schedule the Message to be sent at a specific time. Either dateTime or delay must be provided.",
|
|
807
815
|
"additionalProperties": false
|
|
816
|
+
},
|
|
817
|
+
"discriminateByTags": {
|
|
818
|
+
"type": "array",
|
|
819
|
+
"items": {
|
|
820
|
+
"type": "string",
|
|
821
|
+
"maxLength": 500
|
|
822
|
+
},
|
|
823
|
+
"description": "Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {\"foo\": \"a\", \"bar\": \"b\", baz: \"c\"}: Without this parameter, ALL tags must match exactly. With [\"bar\",\"baz\"], all listed tags must match their values, and other tags are not considered."
|
|
808
824
|
}
|
|
809
825
|
},
|
|
810
826
|
"required": [
|
|
@@ -1184,6 +1200,14 @@ export const state = {
|
|
|
1184
1200
|
"type": "string",
|
|
1185
1201
|
"maxLength": 40000,
|
|
1186
1202
|
"description": "URI of the user picture"
|
|
1203
|
+
},
|
|
1204
|
+
"discriminateByTags": {
|
|
1205
|
+
"type": "array",
|
|
1206
|
+
"items": {
|
|
1207
|
+
"type": "string",
|
|
1208
|
+
"maxLength": 500
|
|
1209
|
+
},
|
|
1210
|
+
"description": "Optional list of tag names to use for strict matching when looking up existing users. If provided, all specified tags must match exactly for a user to be considered a match. For example, with an existing user whose tags are {\"foo\": \"a\", \"bar\": \"b\", baz: \"c\"}: Without this parameter, ALL tags must match exactly. With [\"bar\",\"baz\"], all listed tags must match their values, and other tags are not considered."
|
|
1187
1211
|
}
|
|
1188
1212
|
},
|
|
1189
1213
|
"required": [
|
|
@@ -8816,7 +8840,8 @@ export const state = {
|
|
|
8816
8840
|
"type": "object",
|
|
8817
8841
|
"additionalProperties": {
|
|
8818
8842
|
"type": "string",
|
|
8819
|
-
"maxLength": 20000
|
|
8843
|
+
"maxLength": 20000,
|
|
8844
|
+
"nullable": true
|
|
8820
8845
|
},
|
|
8821
8846
|
"description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
|
|
8822
8847
|
},
|
|
@@ -9381,7 +9406,8 @@ export const state = {
|
|
|
9381
9406
|
"type": "object",
|
|
9382
9407
|
"additionalProperties": {
|
|
9383
9408
|
"type": "string",
|
|
9384
|
-
"maxLength": 20000
|
|
9409
|
+
"maxLength": 20000,
|
|
9410
|
+
"nullable": true
|
|
9385
9411
|
},
|
|
9386
9412
|
"description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
|
|
9387
9413
|
},
|
|
@@ -15388,7 +15414,7 @@ export const state = {
|
|
|
15388
15414
|
"title": "Botpress API",
|
|
15389
15415
|
"description": "API for Botpress Cloud",
|
|
15390
15416
|
"server": "https://api.botpress.cloud",
|
|
15391
|
-
"version": "0.
|
|
15417
|
+
"version": "0.79.0",
|
|
15392
15418
|
"prefix": "v1"
|
|
15393
15419
|
},
|
|
15394
15420
|
"errors": [
|