@botpress/api 0.36.0 → 0.37.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/src/gen/state.ts CHANGED
@@ -104,6 +104,24 @@ export const state = {
104
104
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
105
105
  "type": "string"
106
106
  },
107
+ "sortField": {
108
+ "in": "query",
109
+ "description": "Sort results by this field",
110
+ "type": "string",
111
+ "enum": [
112
+ "createdAt",
113
+ "updatedAt"
114
+ ]
115
+ },
116
+ "sortDirection": {
117
+ "in": "query",
118
+ "description": "Sort results in this direction",
119
+ "type": "string",
120
+ "enum": [
121
+ "asc",
122
+ "desc"
123
+ ]
124
+ },
107
125
  "tags": {
108
126
  "in": "query",
109
127
  "type": "object",
@@ -10023,6 +10041,14 @@ export const state = {
10023
10041
  "type": "string",
10024
10042
  "description": "File ID"
10025
10043
  },
10044
+ "key": {
10045
+ "type": "string",
10046
+ "description": "Unique key for the file. Must be unique across the bot (and the integration, when applicable)."
10047
+ },
10048
+ "contentType": {
10049
+ "type": "string",
10050
+ "description": "MIME type of the file's content"
10051
+ },
10026
10052
  "tags": {
10027
10053
  "type": "object",
10028
10054
  "additionalProperties": {
@@ -10042,6 +10068,8 @@ export const state = {
10042
10068
  },
10043
10069
  "required": [
10044
10070
  "id",
10071
+ "key",
10072
+ "contentType",
10045
10073
  "tags",
10046
10074
  "createdAt",
10047
10075
  "updatedAt"
@@ -11069,7 +11097,7 @@ export const state = {
11069
11097
  "title": "Botpress API",
11070
11098
  "description": "API for Botpress Cloud",
11071
11099
  "server": "https://api.botpress.cloud",
11072
- "version": "0.36.0",
11100
+ "version": "0.37.1",
11073
11101
  "prefix": "v1"
11074
11102
  },
11075
11103
  "errors": [