@botpress/api 1.45.0 → 1.46.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.45.0 openapi /home/runner/work/skynet/skynet/packages/public-api
2
+ > @botpress/api@1.46.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.45.0 build /home/runner/work/skynet/skynet/packages/public-api
37
+ > @botpress/api@1.46.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.45.0 build:type /home/runner/work/skynet/skynet/packages/public-api
41
+ > @botpress/api@1.46.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.45.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
45
+ > @botpress/api@1.46.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 907ms
51
+ ⚡ Done in 917ms
package/dist/index.js CHANGED
@@ -284956,6 +284956,14 @@ var state = {
284956
284956
  "maxLength": 500
284957
284957
  },
284958
284958
  "description": 'Optional list of tag names to use for strict matching when looking up existing workflows. If provided, all specified tags must match exactly for a workflow to be considered a match. For example, with an existing workflow whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.'
284959
+ },
284960
+ "discriminateByStatusGroup": {
284961
+ "type": "string",
284962
+ "enum": [
284963
+ "active",
284964
+ "finished"
284965
+ ],
284966
+ "description": "When provided, will only match workflows whose status corresponds to the status group."
284959
284967
  }
284960
284968
  },
284961
284969
  "required": [
@@ -285098,7 +285106,7 @@ var state = {
285098
285106
  "title": "Botpress API",
285099
285107
  "description": "API for Botpress Cloud",
285100
285108
  "server": "https://api.botpress.cloud",
285101
- "version": "1.45.0",
285109
+ "version": "1.46.0",
285102
285110
  "prefix": "v1"
285103
285111
  },
285104
285112
  "errors": [
@@ -297378,7 +297386,9 @@ var state2 = {
297378
297386
  "UPDATE_WORKSPACE",
297379
297387
  "SET_SPENDING_LIMIT",
297380
297388
  "SET_AI_SPENDING_LIMIT",
297381
- "UPDATE_WORKSPACE_BILLING_READONLY"
297389
+ "UPDATE_WORKSPACE_BILLING_READONLY",
297390
+ "EXECUTE_AUTO_RECHARGE_SUCCESS",
297391
+ "EXECUTE_AUTO_RECHARGE_FAILED"
297382
297392
  ]
297383
297393
  }
297384
297394
  },
@@ -303140,7 +303150,7 @@ var state2 = {
303140
303150
  "title": "Botpress API",
303141
303151
  "description": "API for Botpress Cloud",
303142
303152
  "server": "https://api.botpress.cloud",
303143
- "version": "1.45.0",
303153
+ "version": "1.46.0",
303144
303154
  "prefix": "v1"
303145
303155
  },
303146
303156
  "errors": [
@@ -309147,7 +309157,7 @@ var state3 = {
309147
309157
  "title": "Botpress API",
309148
309158
  "description": "API for Botpress Cloud",
309149
309159
  "server": "https://api.botpress.cloud",
309150
- "version": "1.45.0",
309160
+ "version": "1.46.0",
309151
309161
  "prefix": "v1"
309152
309162
  },
309153
309163
  "errors": [
@@ -314290,7 +314300,7 @@ var state4 = {
314290
314300
  "title": "Botpress API",
314291
314301
  "description": "API for Botpress Cloud",
314292
314302
  "server": "https://api.botpress.cloud",
314293
- "version": "1.45.0",
314303
+ "version": "1.46.0",
314294
314304
  "prefix": "v1"
314295
314305
  },
314296
314306
  "errors": [
@@ -320708,6 +320718,14 @@ var state5 = {
320708
320718
  "maxLength": 500
320709
320719
  },
320710
320720
  "description": 'Optional list of tag names to use for strict matching when looking up existing workflows. If provided, all specified tags must match exactly for a workflow to be considered a match. For example, with an existing workflow whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.'
320721
+ },
320722
+ "discriminateByStatusGroup": {
320723
+ "type": "string",
320724
+ "enum": [
320725
+ "active",
320726
+ "finished"
320727
+ ],
320728
+ "description": "When provided, will only match workflows whose status corresponds to the status group."
320711
320729
  }
320712
320730
  },
320713
320731
  "required": [
@@ -329119,7 +329137,9 @@ var state5 = {
329119
329137
  "UPDATE_WORKSPACE",
329120
329138
  "SET_SPENDING_LIMIT",
329121
329139
  "SET_AI_SPENDING_LIMIT",
329122
- "UPDATE_WORKSPACE_BILLING_READONLY"
329140
+ "UPDATE_WORKSPACE_BILLING_READONLY",
329141
+ "EXECUTE_AUTO_RECHARGE_SUCCESS",
329142
+ "EXECUTE_AUTO_RECHARGE_FAILED"
329123
329143
  ]
329124
329144
  }
329125
329145
  },
@@ -337953,7 +337973,7 @@ var state5 = {
337953
337973
  "title": "Botpress API",
337954
337974
  "description": "API for Botpress Cloud",
337955
337975
  "server": "https://api.botpress.cloud",
337956
- "version": "1.45.0",
337976
+ "version": "1.46.0",
337957
337977
  "prefix": "v1"
337958
337978
  },
337959
337979
  "errors": [
@@ -2257,6 +2257,11 @@ export declare const state: {
2257
2257
  };
2258
2258
  description: string;
2259
2259
  };
2260
+ discriminateByStatusGroup: {
2261
+ type: "string";
2262
+ enum: string[];
2263
+ description: string;
2264
+ };
2260
2265
  };
2261
2266
  required: string[];
2262
2267
  title: string;
@@ -2257,6 +2257,11 @@ export declare const state: {
2257
2257
  };
2258
2258
  description: string;
2259
2259
  };
2260
+ discriminateByStatusGroup: {
2261
+ type: "string";
2262
+ enum: string[];
2263
+ description: string;
2264
+ };
2260
2265
  };
2261
2266
  required: string[];
2262
2267
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.45.0",
3
+ "version": "1.46.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {