@botpress/api 1.1.0 → 1.3.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 +85 -5
- package/dist/src/gen/files/state.d.ts +30 -0
- package/dist/src/gen/state.d.ts +30 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +1 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +41 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +1 -1
- package/src/gen/state.ts +41 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -284643,7 +284643,7 @@ var state = {
|
|
|
284643
284643
|
"title": "Botpress API",
|
|
284644
284644
|
"description": "API for Botpress Cloud",
|
|
284645
284645
|
"server": "https://api.botpress.cloud",
|
|
284646
|
-
"version": "1.
|
|
284646
|
+
"version": "1.3.0",
|
|
284647
284647
|
"prefix": "v1"
|
|
284648
284648
|
},
|
|
284649
284649
|
"errors": [
|
|
@@ -299013,7 +299013,7 @@ var state2 = {
|
|
|
299013
299013
|
"title": "Botpress API",
|
|
299014
299014
|
"description": "API for Botpress Cloud",
|
|
299015
299015
|
"server": "https://api.botpress.cloud",
|
|
299016
|
-
"version": "1.
|
|
299016
|
+
"version": "1.3.0",
|
|
299017
299017
|
"prefix": "v1"
|
|
299018
299018
|
},
|
|
299019
299019
|
"errors": [
|
|
@@ -302880,6 +302880,13 @@ var state3 = {
|
|
|
302880
302880
|
},
|
|
302881
302881
|
"additionalProperties": false
|
|
302882
302882
|
},
|
|
302883
|
+
"stack": {
|
|
302884
|
+
"type": "string",
|
|
302885
|
+
"enum": [
|
|
302886
|
+
"realtime-v1"
|
|
302887
|
+
],
|
|
302888
|
+
"description": "Internal setting, cannot be set manually."
|
|
302889
|
+
},
|
|
302883
302890
|
"vision": {
|
|
302884
302891
|
"type": "object",
|
|
302885
302892
|
"properties": {
|
|
@@ -303867,6 +303874,39 @@ var state3 = {
|
|
|
303867
303874
|
"createdAt",
|
|
303868
303875
|
"updatedAt"
|
|
303869
303876
|
]
|
|
303877
|
+
},
|
|
303878
|
+
"context": {
|
|
303879
|
+
"type": "array",
|
|
303880
|
+
"items": {
|
|
303881
|
+
"type": "object",
|
|
303882
|
+
"properties": {
|
|
303883
|
+
"id": {
|
|
303884
|
+
"type": "string",
|
|
303885
|
+
"format": "uuid"
|
|
303886
|
+
},
|
|
303887
|
+
"text": {
|
|
303888
|
+
"type": "string"
|
|
303889
|
+
},
|
|
303890
|
+
"offset": {
|
|
303891
|
+
"type": "integer",
|
|
303892
|
+
"description": "Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs."
|
|
303893
|
+
},
|
|
303894
|
+
"type": {
|
|
303895
|
+
"type": "string",
|
|
303896
|
+
"enum": [
|
|
303897
|
+
"preceding",
|
|
303898
|
+
"subsequent",
|
|
303899
|
+
"breadcrumb"
|
|
303900
|
+
],
|
|
303901
|
+
"description": "The type of context passage"
|
|
303902
|
+
}
|
|
303903
|
+
},
|
|
303904
|
+
"required": [
|
|
303905
|
+
"id",
|
|
303906
|
+
"text",
|
|
303907
|
+
"type"
|
|
303908
|
+
]
|
|
303909
|
+
}
|
|
303870
303910
|
}
|
|
303871
303911
|
},
|
|
303872
303912
|
"required": [
|
|
@@ -304302,7 +304342,7 @@ var state3 = {
|
|
|
304302
304342
|
"title": "Botpress API",
|
|
304303
304343
|
"description": "API for Botpress Cloud",
|
|
304304
304344
|
"server": "https://api.botpress.cloud",
|
|
304305
|
-
"version": "1.
|
|
304345
|
+
"version": "1.3.0",
|
|
304306
304346
|
"prefix": "v1"
|
|
304307
304347
|
},
|
|
304308
304348
|
"errors": [
|
|
@@ -309093,7 +309133,7 @@ var state4 = {
|
|
|
309093
309133
|
"title": "Botpress API",
|
|
309094
309134
|
"description": "API for Botpress Cloud",
|
|
309095
309135
|
"server": "https://api.botpress.cloud",
|
|
309096
|
-
"version": "1.
|
|
309136
|
+
"version": "1.3.0",
|
|
309097
309137
|
"prefix": "v1"
|
|
309098
309138
|
},
|
|
309099
309139
|
"errors": [
|
|
@@ -326092,6 +326132,13 @@ var state5 = {
|
|
|
326092
326132
|
},
|
|
326093
326133
|
"additionalProperties": false
|
|
326094
326134
|
},
|
|
326135
|
+
"stack": {
|
|
326136
|
+
"type": "string",
|
|
326137
|
+
"enum": [
|
|
326138
|
+
"realtime-v1"
|
|
326139
|
+
],
|
|
326140
|
+
"description": "Internal setting, cannot be set manually."
|
|
326141
|
+
},
|
|
326095
326142
|
"vision": {
|
|
326096
326143
|
"type": "object",
|
|
326097
326144
|
"properties": {
|
|
@@ -327079,6 +327126,39 @@ var state5 = {
|
|
|
327079
327126
|
"createdAt",
|
|
327080
327127
|
"updatedAt"
|
|
327081
327128
|
]
|
|
327129
|
+
},
|
|
327130
|
+
"context": {
|
|
327131
|
+
"type": "array",
|
|
327132
|
+
"items": {
|
|
327133
|
+
"type": "object",
|
|
327134
|
+
"properties": {
|
|
327135
|
+
"id": {
|
|
327136
|
+
"type": "string",
|
|
327137
|
+
"format": "uuid"
|
|
327138
|
+
},
|
|
327139
|
+
"text": {
|
|
327140
|
+
"type": "string"
|
|
327141
|
+
},
|
|
327142
|
+
"offset": {
|
|
327143
|
+
"type": "integer",
|
|
327144
|
+
"description": "Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs."
|
|
327145
|
+
},
|
|
327146
|
+
"type": {
|
|
327147
|
+
"type": "string",
|
|
327148
|
+
"enum": [
|
|
327149
|
+
"preceding",
|
|
327150
|
+
"subsequent",
|
|
327151
|
+
"breadcrumb"
|
|
327152
|
+
],
|
|
327153
|
+
"description": "The type of context passage"
|
|
327154
|
+
}
|
|
327155
|
+
},
|
|
327156
|
+
"required": [
|
|
327157
|
+
"id",
|
|
327158
|
+
"text",
|
|
327159
|
+
"type"
|
|
327160
|
+
]
|
|
327161
|
+
}
|
|
327082
327162
|
}
|
|
327083
327163
|
},
|
|
327084
327164
|
"required": [
|
|
@@ -328720,7 +328800,7 @@ var state5 = {
|
|
|
328720
328800
|
"title": "Botpress API",
|
|
328721
328801
|
"description": "API for Botpress Cloud",
|
|
328722
328802
|
"server": "https://api.botpress.cloud",
|
|
328723
|
-
"version": "1.
|
|
328803
|
+
"version": "1.3.0",
|
|
328724
328804
|
"prefix": "v1"
|
|
328725
328805
|
},
|
|
328726
328806
|
"errors": [
|
|
@@ -110,6 +110,11 @@ export declare const state: {
|
|
|
110
110
|
};
|
|
111
111
|
additionalProperties: false;
|
|
112
112
|
};
|
|
113
|
+
stack: {
|
|
114
|
+
type: "string";
|
|
115
|
+
enum: string[];
|
|
116
|
+
description: string;
|
|
117
|
+
};
|
|
113
118
|
vision: {
|
|
114
119
|
type: "object";
|
|
115
120
|
properties: {
|
|
@@ -924,6 +929,31 @@ export declare const state: {
|
|
|
924
929
|
};
|
|
925
930
|
required: string[];
|
|
926
931
|
};
|
|
932
|
+
context: {
|
|
933
|
+
type: "array";
|
|
934
|
+
items: {
|
|
935
|
+
type: "object";
|
|
936
|
+
properties: {
|
|
937
|
+
id: {
|
|
938
|
+
type: "string";
|
|
939
|
+
format: string;
|
|
940
|
+
};
|
|
941
|
+
text: {
|
|
942
|
+
type: "string";
|
|
943
|
+
};
|
|
944
|
+
offset: {
|
|
945
|
+
type: "integer";
|
|
946
|
+
description: string;
|
|
947
|
+
};
|
|
948
|
+
type: {
|
|
949
|
+
type: "string";
|
|
950
|
+
enum: string[];
|
|
951
|
+
description: string;
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
required: string[];
|
|
955
|
+
};
|
|
956
|
+
};
|
|
927
957
|
};
|
|
928
958
|
required: string[];
|
|
929
959
|
};
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -11870,6 +11870,11 @@ export declare const state: {
|
|
|
11870
11870
|
};
|
|
11871
11871
|
additionalProperties: false;
|
|
11872
11872
|
};
|
|
11873
|
+
stack: {
|
|
11874
|
+
type: "string";
|
|
11875
|
+
enum: string[];
|
|
11876
|
+
description: string;
|
|
11877
|
+
};
|
|
11873
11878
|
vision: {
|
|
11874
11879
|
type: "object";
|
|
11875
11880
|
properties: {
|
|
@@ -12684,6 +12689,31 @@ export declare const state: {
|
|
|
12684
12689
|
};
|
|
12685
12690
|
required: string[];
|
|
12686
12691
|
};
|
|
12692
|
+
context: {
|
|
12693
|
+
type: "array";
|
|
12694
|
+
items: {
|
|
12695
|
+
type: "object";
|
|
12696
|
+
properties: {
|
|
12697
|
+
id: {
|
|
12698
|
+
type: "string";
|
|
12699
|
+
format: string;
|
|
12700
|
+
};
|
|
12701
|
+
text: {
|
|
12702
|
+
type: "string";
|
|
12703
|
+
};
|
|
12704
|
+
offset: {
|
|
12705
|
+
type: "integer";
|
|
12706
|
+
description: string;
|
|
12707
|
+
};
|
|
12708
|
+
type: {
|
|
12709
|
+
type: "string";
|
|
12710
|
+
enum: string[];
|
|
12711
|
+
description: string;
|
|
12712
|
+
};
|
|
12713
|
+
};
|
|
12714
|
+
required: string[];
|
|
12715
|
+
};
|
|
12716
|
+
};
|
|
12687
12717
|
};
|
|
12688
12718
|
required: string[];
|
|
12689
12719
|
};
|