@botpress/api 0.32.0 → 0.32.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/dist/index.js CHANGED
@@ -269286,6 +269286,24 @@ var state = {
269286
269286
  "in": "query",
269287
269287
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
269288
269288
  "type": "string"
269289
+ },
269290
+ "sortField": {
269291
+ "in": "query",
269292
+ "description": "Sort results by this field",
269293
+ "type": "string",
269294
+ "enum": [
269295
+ "createdAt",
269296
+ "updatedAt"
269297
+ ]
269298
+ },
269299
+ "sortDirection": {
269300
+ "in": "query",
269301
+ "description": "Sort results in this direction",
269302
+ "type": "string",
269303
+ "enum": [
269304
+ "asc",
269305
+ "desc"
269306
+ ]
269289
269307
  }
269290
269308
  },
269291
269309
  "section": "bot",
@@ -275591,7 +275609,7 @@ var state = {
275591
275609
  "title": "Botpress API",
275592
275610
  "description": "API for Botpress Cloud",
275593
275611
  "server": "https://api.botpress.cloud",
275594
- "version": "0.32.0",
275612
+ "version": "0.32.1",
275595
275613
  "prefix": "v1"
275596
275614
  },
275597
275615
  "errors": [
@@ -3942,6 +3942,18 @@ export declare const state: {
3942
3942
  description: string;
3943
3943
  type: "string";
3944
3944
  };
3945
+ sortField: {
3946
+ in: "query";
3947
+ description: string;
3948
+ type: "string";
3949
+ enum: string[];
3950
+ };
3951
+ sortDirection: {
3952
+ in: "query";
3953
+ description: string;
3954
+ type: "string";
3955
+ enum: string[];
3956
+ };
3945
3957
  };
3946
3958
  section: "bot";
3947
3959
  response: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {