@botpress/api 1.32.0 → 1.33.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @botpress/api@1.32.0 openapi /home/runner/work/skynet/skynet/packages/public-api
2
+ > @botpress/api@1.33.0 openapi /home/runner/work/skynet/skynet/packages/public-api
3
3
  > es-node openapi/generator.ts && pnpm run build
4
4
 
5
5
  Generating openapi content
@@ -34,18 +34,18 @@ Saving openapi.json file
34
34
 
35
35
  info: Exit with code {"category":"system","code":0,"label":"Shutdown"}
36
36
 
37
- > @botpress/api@1.32.0 build /home/runner/work/skynet/skynet/packages/public-api
37
+ > @botpress/api@1.33.0 build /home/runner/work/skynet/skynet/packages/public-api
38
38
  > pnpm run build:type && pnpm run build:impl
39
39
 
40
40
 
41
- > @botpress/api@1.32.0 build:type /home/runner/work/skynet/skynet/packages/public-api
41
+ > @botpress/api@1.33.0 build:type /home/runner/work/skynet/skynet/packages/public-api
42
42
  > tsc -p tsconfig.package.json --emitDeclarationOnly
43
43
 
44
44
 
45
- > @botpress/api@1.32.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
45
+ > @botpress/api@1.33.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
46
46
  > esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts
47
47
 
48
48
 
49
49
  dist/index.js 14.1mb ⚠️
50
50
 
51
- ⚡ Done in 930ms
51
+ ⚡ Done in 923ms
package/dist/index.js CHANGED
@@ -285334,7 +285334,7 @@ var state = {
285334
285334
  "title": "Botpress API",
285335
285335
  "description": "API for Botpress Cloud",
285336
285336
  "server": "https://api.botpress.cloud",
285337
- "version": "1.32.0",
285337
+ "version": "1.33.0",
285338
285338
  "prefix": "v1"
285339
285339
  },
285340
285340
  "errors": [
@@ -295913,20 +295913,14 @@ var state2 = {
295913
295913
  ],
295914
295914
  "description": "Allowlist setting of the bot"
295915
295915
  },
295916
- "modifiedUsers": {
295917
- "type": "array",
295918
- "items": {
295919
- "type": "object",
295920
- "additionalProperties": {
295921
- "type": "boolean",
295922
- "description": "If `true`, the user should be added to the allowlist. If `false`, the user should be removed from the allowlist. This performs a partial update, so any existing users not included here will be kept in the allowlist"
295923
- }
295916
+ "users": {
295917
+ "type": "object",
295918
+ "additionalProperties": {
295919
+ "type": "boolean",
295920
+ "description": "If `true`, the user should be added to the allowlist. If `false`, the user should be removed from the allowlist. This performs a partial update, so any existing users not included here will be kept in the allowlist"
295924
295921
  }
295925
295922
  }
295926
295923
  },
295927
- "required": [
295928
- "modifiedUsers"
295929
- ],
295930
295924
  "title": "updateBotAllowlistBody",
295931
295925
  "additionalProperties": false
295932
295926
  }
@@ -303148,7 +303142,7 @@ var state2 = {
303148
303142
  "title": "Botpress API",
303149
303143
  "description": "API for Botpress Cloud",
303150
303144
  "server": "https://api.botpress.cloud",
303151
- "version": "1.32.0",
303145
+ "version": "1.33.0",
303152
303146
  "prefix": "v1"
303153
303147
  },
303154
303148
  "errors": [
@@ -308999,7 +308993,7 @@ var state3 = {
308999
308993
  "title": "Botpress API",
309000
308994
  "description": "API for Botpress Cloud",
309001
308995
  "server": "https://api.botpress.cloud",
309002
- "version": "1.32.0",
308996
+ "version": "1.33.0",
309003
308997
  "prefix": "v1"
309004
308998
  },
309005
308999
  "errors": [
@@ -314061,7 +314055,7 @@ var state4 = {
314061
314055
  "title": "Botpress API",
314062
314056
  "description": "API for Botpress Cloud",
314063
314057
  "server": "https://api.botpress.cloud",
314064
- "version": "1.32.0",
314058
+ "version": "1.33.0",
314065
314059
  "prefix": "v1"
314066
314060
  },
314067
314061
  "errors": [
@@ -327164,20 +327158,14 @@ var state5 = {
327164
327158
  ],
327165
327159
  "description": "Allowlist setting of the bot"
327166
327160
  },
327167
- "modifiedUsers": {
327168
- "type": "array",
327169
- "items": {
327170
- "type": "object",
327171
- "additionalProperties": {
327172
- "type": "boolean",
327173
- "description": "If `true`, the user should be added to the allowlist. If `false`, the user should be removed from the allowlist. This performs a partial update, so any existing users not included here will be kept in the allowlist"
327174
- }
327161
+ "users": {
327162
+ "type": "object",
327163
+ "additionalProperties": {
327164
+ "type": "boolean",
327165
+ "description": "If `true`, the user should be added to the allowlist. If `false`, the user should be removed from the allowlist. This performs a partial update, so any existing users not included here will be kept in the allowlist"
327175
327166
  }
327176
327167
  }
327177
327168
  },
327178
- "required": [
327179
- "modifiedUsers"
327180
- ],
327181
327169
  "title": "updateBotAllowlistBody",
327182
327170
  "additionalProperties": false
327183
327171
  }
@@ -337382,7 +337370,7 @@ var state5 = {
337382
337370
  "title": "Botpress API",
337383
337371
  "description": "API for Botpress Cloud",
337384
337372
  "server": "https://api.botpress.cloud",
337385
- "version": "1.32.0",
337373
+ "version": "1.33.0",
337386
337374
  "prefix": "v1"
337387
337375
  },
337388
337376
  "errors": [
@@ -5851,18 +5851,14 @@ export declare const state: {
5851
5851
  enum: string[];
5852
5852
  description: string;
5853
5853
  };
5854
- modifiedUsers: {
5855
- type: "array";
5856
- items: {
5857
- type: "object";
5858
- additionalProperties: {
5859
- type: "boolean";
5860
- description: string;
5861
- };
5854
+ users: {
5855
+ type: "object";
5856
+ additionalProperties: {
5857
+ type: "boolean";
5858
+ description: string;
5862
5859
  };
5863
5860
  };
5864
5861
  };
5865
- required: string[];
5866
5862
  title: string;
5867
5863
  additionalProperties: false;
5868
5864
  };
@@ -8206,18 +8206,14 @@ export declare const state: {
8206
8206
  enum: string[];
8207
8207
  description: string;
8208
8208
  };
8209
- modifiedUsers: {
8210
- type: "array";
8211
- items: {
8212
- type: "object";
8213
- additionalProperties: {
8214
- type: "boolean";
8215
- description: string;
8216
- };
8209
+ users: {
8210
+ type: "object";
8211
+ additionalProperties: {
8212
+ type: "boolean";
8213
+ description: string;
8217
8214
  };
8218
8215
  };
8219
8216
  };
8220
- required: string[];
8221
8217
  title: string;
8222
8218
  additionalProperties: false;
8223
8219
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.32.0",
3
+ "version": "1.33.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {