@botpress/api 0.68.2 → 0.69.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 CHANGED
@@ -290734,7 +290734,8 @@ var state = {
290734
290734
  "secrets": {
290735
290735
  "type": "object",
290736
290736
  "additionalProperties": {
290737
- "type": "string"
290737
+ "type": "string",
290738
+ "maxLength": 2e4
290738
290739
  },
290739
290740
  "description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
290740
290741
  },
@@ -291308,6 +291309,7 @@ var state = {
291308
291309
  "type": "object",
291309
291310
  "additionalProperties": {
291310
291311
  "type": "string",
291312
+ "maxLength": 2e4,
291311
291313
  "nullable": true
291312
291314
  },
291313
291315
  "description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
@@ -293948,6 +293950,27 @@ var state = {
293948
293950
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
293949
293951
  "type": "string"
293950
293952
  },
293953
+ "sortField": {
293954
+ "in": "query",
293955
+ "description": "Sort results by this field",
293956
+ "type": "string",
293957
+ "enum": [
293958
+ "key",
293959
+ "size",
293960
+ "createdAt",
293961
+ "updatedAt",
293962
+ "status"
293963
+ ]
293964
+ },
293965
+ "sortDirection": {
293966
+ "in": "query",
293967
+ "description": "Sort results in this direction",
293968
+ "type": "string",
293969
+ "enum": [
293970
+ "asc",
293971
+ "desc"
293972
+ ]
293973
+ },
293951
293974
  "tags": {
293952
293975
  "in": "query",
293953
293976
  "description": "Filter files by tags. Tags should be passed as a URL-encoded JSON object of key-value pairs that must be present in the tags of a file. An array of multiple string values for the same key are treated as an OR condition. To exclude a value, express it as an object with a nested `not` key with the string or string-array value(s) to exclude.",
@@ -296129,7 +296152,7 @@ var state = {
296129
296152
  "title": "Botpress API",
296130
296153
  "description": "API for Botpress Cloud",
296131
296154
  "server": "https://api.botpress.cloud",
296132
- "version": "0.68.2",
296155
+ "version": "0.69.0",
296133
296156
  "prefix": "v1"
296134
296157
  },
296135
296158
  "errors": [
@@ -7616,6 +7616,7 @@ export declare const state: {
7616
7616
  type: "object";
7617
7617
  additionalProperties: {
7618
7618
  type: "string";
7619
+ maxLength: number;
7619
7620
  };
7620
7621
  description: string;
7621
7622
  };
@@ -8148,6 +8149,7 @@ export declare const state: {
8148
8149
  type: "object";
8149
8150
  additionalProperties: {
8150
8151
  type: "string";
8152
+ maxLength: number;
8151
8153
  nullable: true;
8152
8154
  };
8153
8155
  description: string;
@@ -10492,6 +10494,18 @@ export declare const state: {
10492
10494
  description: string;
10493
10495
  type: "string";
10494
10496
  };
10497
+ sortField: {
10498
+ in: "query";
10499
+ description: string;
10500
+ type: "string";
10501
+ enum: string[];
10502
+ };
10503
+ sortDirection: {
10504
+ in: "query";
10505
+ description: string;
10506
+ type: "string";
10507
+ enum: string[];
10508
+ };
10495
10509
  tags: {
10496
10510
  in: "query";
10497
10511
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.68.2",
3
+ "version": "0.69.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {