@botpress/api 1.37.0 → 1.39.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/.turbo/turbo-openapi.log +5 -5
- package/dist/index.js +147 -5
- package/dist/src/gen/admin/state.d.ts +5 -0
- package/dist/src/gen/files/state.d.ts +30 -0
- package/dist/src/gen/runtime/state.d.ts +16 -0
- package/dist/src/gen/state.d.ts +41 -0
- package/dist/src/gen/tables/state.d.ts +5 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +9 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +49 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +20 -1
- package/src/gen/state.ts +60 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +9 -1
package/src/gen/runtime/state.ts
CHANGED
|
@@ -528,6 +528,12 @@ export const state = {
|
|
|
528
528
|
"maxLength": 36,
|
|
529
529
|
"description": "ID of the [User](#schema_user) to link the event to."
|
|
530
530
|
},
|
|
531
|
+
"workflowId": {
|
|
532
|
+
"type": "string",
|
|
533
|
+
"minLength": 28,
|
|
534
|
+
"maxLength": 36,
|
|
535
|
+
"description": "ID of the [Workflow](#schema_workflow) to link the event to."
|
|
536
|
+
},
|
|
531
537
|
"messageId": {
|
|
532
538
|
"type": "string",
|
|
533
539
|
"minLength": 28,
|
|
@@ -624,6 +630,11 @@ export const state = {
|
|
|
624
630
|
"type": "string",
|
|
625
631
|
"description": "Filter by message id"
|
|
626
632
|
},
|
|
633
|
+
"workflowId": {
|
|
634
|
+
"in": "query",
|
|
635
|
+
"type": "string",
|
|
636
|
+
"description": "Filter by workflow id"
|
|
637
|
+
},
|
|
627
638
|
"status": {
|
|
628
639
|
"in": "query",
|
|
629
640
|
"type": "string",
|
|
@@ -2610,7 +2621,7 @@ export const state = {
|
|
|
2610
2621
|
"title": "Botpress API",
|
|
2611
2622
|
"description": "API for Botpress Cloud",
|
|
2612
2623
|
"server": "https://api.botpress.cloud",
|
|
2613
|
-
"version": "1.
|
|
2624
|
+
"version": "1.39.0",
|
|
2614
2625
|
"prefix": "v1"
|
|
2615
2626
|
},
|
|
2616
2627
|
"errors": [
|
|
@@ -6320,6 +6331,14 @@ export const state = {
|
|
|
6320
6331
|
"type"
|
|
6321
6332
|
],
|
|
6322
6333
|
"additionalProperties": false
|
|
6334
|
+
},
|
|
6335
|
+
"indexingStack": {
|
|
6336
|
+
"type": "string",
|
|
6337
|
+
"enum": [
|
|
6338
|
+
"v1",
|
|
6339
|
+
"v2"
|
|
6340
|
+
],
|
|
6341
|
+
"description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
|
|
6323
6342
|
}
|
|
6324
6343
|
},
|
|
6325
6344
|
"required": [
|
package/src/gen/state.ts
CHANGED
|
@@ -528,6 +528,12 @@ export const state = {
|
|
|
528
528
|
"maxLength": 36,
|
|
529
529
|
"description": "ID of the [User](#schema_user) to link the event to."
|
|
530
530
|
},
|
|
531
|
+
"workflowId": {
|
|
532
|
+
"type": "string",
|
|
533
|
+
"minLength": 28,
|
|
534
|
+
"maxLength": 36,
|
|
535
|
+
"description": "ID of the [Workflow](#schema_workflow) to link the event to."
|
|
536
|
+
},
|
|
531
537
|
"messageId": {
|
|
532
538
|
"type": "string",
|
|
533
539
|
"minLength": 28,
|
|
@@ -624,6 +630,11 @@ export const state = {
|
|
|
624
630
|
"type": "string",
|
|
625
631
|
"description": "Filter by message id"
|
|
626
632
|
},
|
|
633
|
+
"workflowId": {
|
|
634
|
+
"in": "query",
|
|
635
|
+
"type": "string",
|
|
636
|
+
"description": "Filter by workflow id"
|
|
637
|
+
},
|
|
627
638
|
"status": {
|
|
628
639
|
"in": "query",
|
|
629
640
|
"type": "string",
|
|
@@ -16885,6 +16896,14 @@ export const state = {
|
|
|
16885
16896
|
],
|
|
16886
16897
|
"additionalProperties": false
|
|
16887
16898
|
},
|
|
16899
|
+
"indexingStack": {
|
|
16900
|
+
"type": "string",
|
|
16901
|
+
"enum": [
|
|
16902
|
+
"v1",
|
|
16903
|
+
"v2"
|
|
16904
|
+
],
|
|
16905
|
+
"description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
|
|
16906
|
+
},
|
|
16888
16907
|
"uploadUrl": {
|
|
16889
16908
|
"type": "string",
|
|
16890
16909
|
"description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
|
|
@@ -17109,6 +17128,14 @@ export const state = {
|
|
|
17109
17128
|
"required": [
|
|
17110
17129
|
"type"
|
|
17111
17130
|
]
|
|
17131
|
+
},
|
|
17132
|
+
"indexingStack": {
|
|
17133
|
+
"type": "string",
|
|
17134
|
+
"enum": [
|
|
17135
|
+
"v1",
|
|
17136
|
+
"v2"
|
|
17137
|
+
],
|
|
17138
|
+
"description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
|
|
17112
17139
|
}
|
|
17113
17140
|
},
|
|
17114
17141
|
"required": [
|
|
@@ -17277,6 +17304,14 @@ export const state = {
|
|
|
17277
17304
|
"type"
|
|
17278
17305
|
],
|
|
17279
17306
|
"additionalProperties": false
|
|
17307
|
+
},
|
|
17308
|
+
"indexingStack": {
|
|
17309
|
+
"type": "string",
|
|
17310
|
+
"enum": [
|
|
17311
|
+
"v1",
|
|
17312
|
+
"v2"
|
|
17313
|
+
],
|
|
17314
|
+
"description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
|
|
17280
17315
|
}
|
|
17281
17316
|
},
|
|
17282
17317
|
"required": [
|
|
@@ -17473,6 +17508,14 @@ export const state = {
|
|
|
17473
17508
|
"type"
|
|
17474
17509
|
],
|
|
17475
17510
|
"additionalProperties": false
|
|
17511
|
+
},
|
|
17512
|
+
"indexingStack": {
|
|
17513
|
+
"type": "string",
|
|
17514
|
+
"enum": [
|
|
17515
|
+
"v1",
|
|
17516
|
+
"v2"
|
|
17517
|
+
],
|
|
17518
|
+
"description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
|
|
17476
17519
|
}
|
|
17477
17520
|
},
|
|
17478
17521
|
"required": [
|
|
@@ -17654,6 +17697,14 @@ export const state = {
|
|
|
17654
17697
|
"type"
|
|
17655
17698
|
],
|
|
17656
17699
|
"additionalProperties": false
|
|
17700
|
+
},
|
|
17701
|
+
"indexingStack": {
|
|
17702
|
+
"type": "string",
|
|
17703
|
+
"enum": [
|
|
17704
|
+
"v1",
|
|
17705
|
+
"v2"
|
|
17706
|
+
],
|
|
17707
|
+
"description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
|
|
17657
17708
|
}
|
|
17658
17709
|
},
|
|
17659
17710
|
"required": [
|
|
@@ -19618,7 +19669,7 @@ export const state = {
|
|
|
19618
19669
|
"title": "Botpress API",
|
|
19619
19670
|
"description": "API for Botpress Cloud",
|
|
19620
19671
|
"server": "https://api.botpress.cloud",
|
|
19621
|
-
"version": "1.
|
|
19672
|
+
"version": "1.39.0",
|
|
19622
19673
|
"prefix": "v1"
|
|
19623
19674
|
},
|
|
19624
19675
|
"errors": [
|
|
@@ -23520,6 +23571,14 @@ export const state = {
|
|
|
23520
23571
|
"type"
|
|
23521
23572
|
],
|
|
23522
23573
|
"additionalProperties": false
|
|
23574
|
+
},
|
|
23575
|
+
"indexingStack": {
|
|
23576
|
+
"type": "string",
|
|
23577
|
+
"enum": [
|
|
23578
|
+
"v1",
|
|
23579
|
+
"v2"
|
|
23580
|
+
],
|
|
23581
|
+
"description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
|
|
23523
23582
|
}
|
|
23524
23583
|
},
|
|
23525
23584
|
"required": [
|