@botpress/api 1.2.0 → 1.3.1
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 +83 -18
- package/dist/src/gen/admin/state.d.ts +6 -5
- package/dist/src/gen/files/state.d.ts +25 -1
- package/dist/src/gen/runtime/state.d.ts +0 -1
- package/dist/src/gen/state.d.ts +31 -5
- package/dist/src/gen/tables/state.d.ts +0 -1
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +7 -6
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +34 -2
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +1 -2
- package/src/gen/state.ts +40 -6
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -2
package/src/gen/files/state.ts
CHANGED
|
@@ -1111,6 +1111,39 @@ export const state = {
|
|
|
1111
1111
|
"createdAt",
|
|
1112
1112
|
"updatedAt"
|
|
1113
1113
|
]
|
|
1114
|
+
},
|
|
1115
|
+
"context": {
|
|
1116
|
+
"type": "array",
|
|
1117
|
+
"items": {
|
|
1118
|
+
"type": "object",
|
|
1119
|
+
"properties": {
|
|
1120
|
+
"id": {
|
|
1121
|
+
"type": "string",
|
|
1122
|
+
"format": "uuid"
|
|
1123
|
+
},
|
|
1124
|
+
"text": {
|
|
1125
|
+
"type": "string"
|
|
1126
|
+
},
|
|
1127
|
+
"offset": {
|
|
1128
|
+
"type": "integer",
|
|
1129
|
+
"description": "Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs."
|
|
1130
|
+
},
|
|
1131
|
+
"type": {
|
|
1132
|
+
"type": "string",
|
|
1133
|
+
"enum": [
|
|
1134
|
+
"preceding",
|
|
1135
|
+
"subsequent",
|
|
1136
|
+
"breadcrumb"
|
|
1137
|
+
],
|
|
1138
|
+
"description": "The type of context passage"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
"required": [
|
|
1142
|
+
"id",
|
|
1143
|
+
"text",
|
|
1144
|
+
"type"
|
|
1145
|
+
]
|
|
1146
|
+
}
|
|
1114
1147
|
}
|
|
1115
1148
|
},
|
|
1116
1149
|
"required": [
|
|
@@ -1546,7 +1579,7 @@ export const state = {
|
|
|
1546
1579
|
"title": "Botpress API",
|
|
1547
1580
|
"description": "API for Botpress Cloud",
|
|
1548
1581
|
"server": "https://api.botpress.cloud",
|
|
1549
|
-
"version": "1.
|
|
1582
|
+
"version": "1.3.1",
|
|
1550
1583
|
"prefix": "v1"
|
|
1551
1584
|
},
|
|
1552
1585
|
"errors": [
|
|
@@ -3523,7 +3556,6 @@ export const state = {
|
|
|
3523
3556
|
"type": "boolean"
|
|
3524
3557
|
},
|
|
3525
3558
|
"handle": {
|
|
3526
|
-
"default": "",
|
|
3527
3559
|
"type": "string"
|
|
3528
3560
|
}
|
|
3529
3561
|
},
|