@botpress/api 1.2.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 +71 -5
- package/dist/src/gen/files/state.d.ts +25 -0
- package/dist/src/gen/state.d.ts +25 -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 +34 -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 +34 -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": [
|
|
@@ -303874,6 +303874,39 @@ var state3 = {
|
|
|
303874
303874
|
"createdAt",
|
|
303875
303875
|
"updatedAt"
|
|
303876
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
|
+
}
|
|
303877
303910
|
}
|
|
303878
303911
|
},
|
|
303879
303912
|
"required": [
|
|
@@ -304309,7 +304342,7 @@ var state3 = {
|
|
|
304309
304342
|
"title": "Botpress API",
|
|
304310
304343
|
"description": "API for Botpress Cloud",
|
|
304311
304344
|
"server": "https://api.botpress.cloud",
|
|
304312
|
-
"version": "1.
|
|
304345
|
+
"version": "1.3.0",
|
|
304313
304346
|
"prefix": "v1"
|
|
304314
304347
|
},
|
|
304315
304348
|
"errors": [
|
|
@@ -309100,7 +309133,7 @@ var state4 = {
|
|
|
309100
309133
|
"title": "Botpress API",
|
|
309101
309134
|
"description": "API for Botpress Cloud",
|
|
309102
309135
|
"server": "https://api.botpress.cloud",
|
|
309103
|
-
"version": "1.
|
|
309136
|
+
"version": "1.3.0",
|
|
309104
309137
|
"prefix": "v1"
|
|
309105
309138
|
},
|
|
309106
309139
|
"errors": [
|
|
@@ -327093,6 +327126,39 @@ var state5 = {
|
|
|
327093
327126
|
"createdAt",
|
|
327094
327127
|
"updatedAt"
|
|
327095
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
|
+
}
|
|
327096
327162
|
}
|
|
327097
327163
|
},
|
|
327098
327164
|
"required": [
|
|
@@ -328734,7 +328800,7 @@ var state5 = {
|
|
|
328734
328800
|
"title": "Botpress API",
|
|
328735
328801
|
"description": "API for Botpress Cloud",
|
|
328736
328802
|
"server": "https://api.botpress.cloud",
|
|
328737
|
-
"version": "1.
|
|
328803
|
+
"version": "1.3.0",
|
|
328738
328804
|
"prefix": "v1"
|
|
328739
328805
|
},
|
|
328740
328806
|
"errors": [
|
|
@@ -929,6 +929,31 @@ export declare const state: {
|
|
|
929
929
|
};
|
|
930
930
|
required: string[];
|
|
931
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
|
+
};
|
|
932
957
|
};
|
|
933
958
|
required: string[];
|
|
934
959
|
};
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -12689,6 +12689,31 @@ export declare const state: {
|
|
|
12689
12689
|
};
|
|
12690
12690
|
required: string[];
|
|
12691
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
|
+
};
|
|
12692
12717
|
};
|
|
12693
12718
|
required: string[];
|
|
12694
12719
|
};
|