@botpress/api 0.49.0 → 0.50.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 +11 -11
- package/dist/src/gen/state.d.ts +5 -5
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +11 -11
package/dist/index.js
CHANGED
|
@@ -292308,7 +292308,7 @@ var state = {
|
|
|
292308
292308
|
"type": "object",
|
|
292309
292309
|
"properties": {
|
|
292310
292310
|
"enable": {
|
|
292311
|
-
"default":
|
|
292311
|
+
"default": false,
|
|
292312
292312
|
"type": "boolean"
|
|
292313
292313
|
},
|
|
292314
292314
|
"modelType": {
|
|
@@ -292520,7 +292520,7 @@ var state = {
|
|
|
292520
292520
|
"parameters": {
|
|
292521
292521
|
"id": {
|
|
292522
292522
|
"type": "string",
|
|
292523
|
-
"description": "File ID",
|
|
292523
|
+
"description": "File ID or Key",
|
|
292524
292524
|
"in": "path"
|
|
292525
292525
|
}
|
|
292526
292526
|
},
|
|
@@ -292704,7 +292704,7 @@ var state = {
|
|
|
292704
292704
|
"parameters": {
|
|
292705
292705
|
"id": {
|
|
292706
292706
|
"type": "string",
|
|
292707
|
-
"description": "File ID",
|
|
292707
|
+
"description": "File ID or Key",
|
|
292708
292708
|
"in": "path"
|
|
292709
292709
|
}
|
|
292710
292710
|
},
|
|
@@ -292835,7 +292835,7 @@ var state = {
|
|
|
292835
292835
|
"parameters": {
|
|
292836
292836
|
"id": {
|
|
292837
292837
|
"type": "string",
|
|
292838
|
-
"description": "File ID",
|
|
292838
|
+
"description": "File ID or Key",
|
|
292839
292839
|
"in": "path"
|
|
292840
292840
|
}
|
|
292841
292841
|
},
|
|
@@ -293151,7 +293151,7 @@ var state = {
|
|
|
293151
293151
|
},
|
|
293152
293152
|
"listFilePassages": {
|
|
293153
293153
|
"name": "listFilePassages",
|
|
293154
|
-
"path": "/v1/files/{
|
|
293154
|
+
"path": "/v1/files/{id}/passages",
|
|
293155
293155
|
"description": "List passages for a file",
|
|
293156
293156
|
"method": "get",
|
|
293157
293157
|
"section": "files",
|
|
@@ -293161,15 +293161,15 @@ var state = {
|
|
|
293161
293161
|
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
293162
293162
|
"type": "string"
|
|
293163
293163
|
},
|
|
293164
|
+
"id": {
|
|
293165
|
+
"type": "string",
|
|
293166
|
+
"description": "File ID or Key",
|
|
293167
|
+
"in": "path"
|
|
293168
|
+
},
|
|
293164
293169
|
"limit": {
|
|
293165
293170
|
"type": "number",
|
|
293166
293171
|
"description": "The maximum number of passages to return per request (optional, default: 20, max: 200).",
|
|
293167
293172
|
"in": "query"
|
|
293168
|
-
},
|
|
293169
|
-
"fileId": {
|
|
293170
|
-
"type": "string",
|
|
293171
|
-
"description": "File ID",
|
|
293172
|
-
"in": "path"
|
|
293173
293173
|
}
|
|
293174
293174
|
},
|
|
293175
293175
|
"response": {
|
|
@@ -294155,7 +294155,7 @@ var state = {
|
|
|
294155
294155
|
"title": "Botpress API",
|
|
294156
294156
|
"description": "API for Botpress Cloud",
|
|
294157
294157
|
"server": "https://api.botpress.cloud",
|
|
294158
|
-
"version": "0.
|
|
294158
|
+
"version": "0.50.0",
|
|
294159
294159
|
"prefix": "v1"
|
|
294160
294160
|
},
|
|
294161
294161
|
"errors": [
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -10000,16 +10000,16 @@ export declare const state: {
|
|
|
10000
10000
|
description: string;
|
|
10001
10001
|
type: "string";
|
|
10002
10002
|
};
|
|
10003
|
+
id: {
|
|
10004
|
+
type: "string";
|
|
10005
|
+
description: string;
|
|
10006
|
+
in: "path";
|
|
10007
|
+
};
|
|
10003
10008
|
limit: {
|
|
10004
10009
|
type: "number";
|
|
10005
10010
|
description: string;
|
|
10006
10011
|
in: "query";
|
|
10007
10012
|
};
|
|
10008
|
-
fileId: {
|
|
10009
|
-
type: "string";
|
|
10010
|
-
description: string;
|
|
10011
|
-
in: "path";
|
|
10012
|
-
};
|
|
10013
10013
|
};
|
|
10014
10014
|
response: {
|
|
10015
10015
|
description: string;
|