@botpress/api 0.76.0 → 0.78.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 +1004 -381
- package/dist/src/gen/state.d.ts +36 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +40 -2
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": [
|
|
@@ -6481,6 +6505,18 @@ export const state = {
|
|
|
6481
6505
|
"subscription"
|
|
6482
6506
|
],
|
|
6483
6507
|
"description": "Type of the line item."
|
|
6508
|
+
},
|
|
6509
|
+
"periodStart": {
|
|
6510
|
+
"type": "string",
|
|
6511
|
+
"format": "date",
|
|
6512
|
+
"description": "Start date of the line item period.",
|
|
6513
|
+
"nullable": true
|
|
6514
|
+
},
|
|
6515
|
+
"periodEnd": {
|
|
6516
|
+
"type": "string",
|
|
6517
|
+
"format": "date",
|
|
6518
|
+
"description": "End date of the line item period.",
|
|
6519
|
+
"nullable": true
|
|
6484
6520
|
}
|
|
6485
6521
|
},
|
|
6486
6522
|
"required": [
|
|
@@ -6490,7 +6526,9 @@ export const state = {
|
|
|
6490
6526
|
"currency",
|
|
6491
6527
|
"pricePerUnitInCents",
|
|
6492
6528
|
"quantity",
|
|
6493
|
-
"type"
|
|
6529
|
+
"type",
|
|
6530
|
+
"periodStart",
|
|
6531
|
+
"periodEnd"
|
|
6494
6532
|
]
|
|
6495
6533
|
},
|
|
6496
6534
|
"description": "List of items included in the invoice."
|
|
@@ -15374,7 +15412,7 @@ export const state = {
|
|
|
15374
15412
|
"title": "Botpress API",
|
|
15375
15413
|
"description": "API for Botpress Cloud",
|
|
15376
15414
|
"server": "https://api.botpress.cloud",
|
|
15377
|
-
"version": "0.
|
|
15415
|
+
"version": "0.78.0",
|
|
15378
15416
|
"prefix": "v1"
|
|
15379
15417
|
},
|
|
15380
15418
|
"errors": [
|