@botpress/api 1.29.0 → 1.31.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.29.0 openapi /home/runner/work/skynet/skynet/packages/public-api
2
+ > @botpress/api@1.31.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.29.0 build /home/runner/work/skynet/skynet/packages/public-api
37
+ > @botpress/api@1.31.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.29.0 build:type /home/runner/work/skynet/skynet/packages/public-api
41
+ > @botpress/api@1.31.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.29.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
45
+ > @botpress/api@1.31.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 904ms
51
+ ⚡ Done in 913ms
package/dist/index.js CHANGED
@@ -285184,6 +285184,14 @@ var state = {
285184
285184
  "eventId": {
285185
285185
  "type": "string",
285186
285186
  "description": "Event id must be specified if the workflow is created with the status in_progress"
285187
+ },
285188
+ "discriminateByTags": {
285189
+ "type": "array",
285190
+ "items": {
285191
+ "type": "string",
285192
+ "maxLength": 500
285193
+ },
285194
+ "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.'
285187
285195
  }
285188
285196
  },
285189
285197
  "required": [
@@ -285326,7 +285334,7 @@ var state = {
285326
285334
  "title": "Botpress API",
285327
285335
  "description": "API for Botpress Cloud",
285328
285336
  "server": "https://api.botpress.cloud",
285329
- "version": "1.29.0",
285337
+ "version": "1.31.0",
285330
285338
  "prefix": "v1"
285331
285339
  },
285332
285340
  "errors": [
@@ -285739,11 +285747,19 @@ var state = {
285739
285747
  "type": "object",
285740
285748
  "properties": {
285741
285749
  "integrationId": {
285742
- "type": "string"
285750
+ "type": "string",
285751
+ "minLength": 28,
285752
+ "maxLength": 36
285753
+ },
285754
+ "interfaceId": {
285755
+ "type": "string",
285756
+ "minLength": 28,
285757
+ "maxLength": 36
285743
285758
  }
285744
285759
  },
285745
285760
  "required": [
285746
- "integrationId"
285761
+ "integrationId",
285762
+ "interfaceId"
285747
285763
  ],
285748
285764
  "additionalProperties": false
285749
285765
  },
@@ -303029,7 +303045,7 @@ var state2 = {
303029
303045
  "title": "Botpress API",
303030
303046
  "description": "API for Botpress Cloud",
303031
303047
  "server": "https://api.botpress.cloud",
303032
- "version": "1.29.0",
303048
+ "version": "1.31.0",
303033
303049
  "prefix": "v1"
303034
303050
  },
303035
303051
  "errors": [
@@ -303512,11 +303528,19 @@ var state2 = {
303512
303528
  "type": "object",
303513
303529
  "properties": {
303514
303530
  "integrationId": {
303515
- "type": "string"
303531
+ "type": "string",
303532
+ "minLength": 28,
303533
+ "maxLength": 36
303534
+ },
303535
+ "interfaceId": {
303536
+ "type": "string",
303537
+ "minLength": 28,
303538
+ "maxLength": 36
303516
303539
  }
303517
303540
  },
303518
303541
  "required": [
303519
- "integrationId"
303542
+ "integrationId",
303543
+ "interfaceId"
303520
303544
  ],
303521
303545
  "additionalProperties": false
303522
303546
  },
@@ -308859,7 +308883,7 @@ var state3 = {
308859
308883
  "title": "Botpress API",
308860
308884
  "description": "API for Botpress Cloud",
308861
308885
  "server": "https://api.botpress.cloud",
308862
- "version": "1.29.0",
308886
+ "version": "1.31.0",
308863
308887
  "prefix": "v1"
308864
308888
  },
308865
308889
  "errors": [
@@ -309225,11 +309249,19 @@ var state3 = {
309225
309249
  "type": "object",
309226
309250
  "properties": {
309227
309251
  "integrationId": {
309228
- "type": "string"
309252
+ "type": "string",
309253
+ "minLength": 28,
309254
+ "maxLength": 36
309255
+ },
309256
+ "interfaceId": {
309257
+ "type": "string",
309258
+ "minLength": 28,
309259
+ "maxLength": 36
309229
309260
  }
309230
309261
  },
309231
309262
  "required": [
309232
- "integrationId"
309263
+ "integrationId",
309264
+ "interfaceId"
309233
309265
  ],
309234
309266
  "additionalProperties": false
309235
309267
  },
@@ -313913,7 +313945,7 @@ var state4 = {
313913
313945
  "title": "Botpress API",
313914
313946
  "description": "API for Botpress Cloud",
313915
313947
  "server": "https://api.botpress.cloud",
313916
- "version": "1.29.0",
313948
+ "version": "1.31.0",
313917
313949
  "prefix": "v1"
313918
313950
  },
313919
313951
  "errors": [
@@ -314286,11 +314318,19 @@ var state4 = {
314286
314318
  "type": "object",
314287
314319
  "properties": {
314288
314320
  "integrationId": {
314289
- "type": "string"
314321
+ "type": "string",
314322
+ "minLength": 28,
314323
+ "maxLength": 36
314324
+ },
314325
+ "interfaceId": {
314326
+ "type": "string",
314327
+ "minLength": 28,
314328
+ "maxLength": 36
314290
314329
  }
314291
314330
  },
314292
314331
  "required": [
314293
- "integrationId"
314332
+ "integrationId",
314333
+ "interfaceId"
314294
314334
  ],
314295
314335
  "additionalProperties": false
314296
314336
  },
@@ -320216,6 +320256,14 @@ var state5 = {
320216
320256
  "eventId": {
320217
320257
  "type": "string",
320218
320258
  "description": "Event id must be specified if the workflow is created with the status in_progress"
320259
+ },
320260
+ "discriminateByTags": {
320261
+ "type": "array",
320262
+ "items": {
320263
+ "type": "string",
320264
+ "maxLength": 500
320265
+ },
320266
+ "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.'
320219
320267
  }
320220
320268
  },
320221
320269
  "required": [
@@ -337107,7 +337155,7 @@ var state5 = {
337107
337155
  "title": "Botpress API",
337108
337156
  "description": "API for Botpress Cloud",
337109
337157
  "server": "https://api.botpress.cloud",
337110
- "version": "1.29.0",
337158
+ "version": "1.31.0",
337111
337159
  "prefix": "v1"
337112
337160
  },
337113
337161
  "errors": [
@@ -337707,11 +337755,19 @@ var state5 = {
337707
337755
  "type": "object",
337708
337756
  "properties": {
337709
337757
  "integrationId": {
337710
- "type": "string"
337758
+ "type": "string",
337759
+ "minLength": 28,
337760
+ "maxLength": 36
337761
+ },
337762
+ "interfaceId": {
337763
+ "type": "string",
337764
+ "minLength": 28,
337765
+ "maxLength": 36
337711
337766
  }
337712
337767
  },
337713
337768
  "required": [
337714
- "integrationId"
337769
+ "integrationId",
337770
+ "interfaceId"
337715
337771
  ],
337716
337772
  "additionalProperties": false
337717
337773
  },
@@ -12540,6 +12540,13 @@ export declare const state: {
12540
12540
  properties: {
12541
12541
  integrationId: {
12542
12542
  type: "string";
12543
+ minLength: number;
12544
+ maxLength: number;
12545
+ };
12546
+ interfaceId: {
12547
+ type: "string";
12548
+ minLength: number;
12549
+ maxLength: number;
12543
12550
  };
12544
12551
  };
12545
12552
  required: string[];
@@ -1742,6 +1742,13 @@ export declare const state: {
1742
1742
  properties: {
1743
1743
  integrationId: {
1744
1744
  type: "string";
1745
+ minLength: number;
1746
+ maxLength: number;
1747
+ };
1748
+ interfaceId: {
1749
+ type: "string";
1750
+ minLength: number;
1751
+ maxLength: number;
1745
1752
  };
1746
1753
  };
1747
1754
  required: string[];
@@ -2230,6 +2230,14 @@ export declare const state: {
2230
2230
  type: "string";
2231
2231
  description: string;
2232
2232
  };
2233
+ discriminateByTags: {
2234
+ type: "array";
2235
+ items: {
2236
+ type: "string";
2237
+ maxLength: number;
2238
+ };
2239
+ description: string;
2240
+ };
2233
2241
  };
2234
2242
  required: string[];
2235
2243
  title: string;
@@ -2660,6 +2668,13 @@ export declare const state: {
2660
2668
  properties: {
2661
2669
  integrationId: {
2662
2670
  type: "string";
2671
+ minLength: number;
2672
+ maxLength: number;
2673
+ };
2674
+ interfaceId: {
2675
+ type: "string";
2676
+ minLength: number;
2677
+ maxLength: number;
2663
2678
  };
2664
2679
  };
2665
2680
  required: string[];
@@ -2230,6 +2230,14 @@ export declare const state: {
2230
2230
  type: "string";
2231
2231
  description: string;
2232
2232
  };
2233
+ discriminateByTags: {
2234
+ type: "array";
2235
+ items: {
2236
+ type: "string";
2237
+ maxLength: number;
2238
+ };
2239
+ description: string;
2240
+ };
2233
2241
  };
2234
2242
  required: string[];
2235
2243
  title: string;
@@ -17562,6 +17570,13 @@ export declare const state: {
17562
17570
  properties: {
17563
17571
  integrationId: {
17564
17572
  type: "string";
17573
+ minLength: number;
17574
+ maxLength: number;
17575
+ };
17576
+ interfaceId: {
17577
+ type: "string";
17578
+ minLength: number;
17579
+ maxLength: number;
17565
17580
  };
17566
17581
  };
17567
17582
  required: string[];
@@ -1354,6 +1354,13 @@ export declare const state: {
1354
1354
  properties: {
1355
1355
  integrationId: {
1356
1356
  type: "string";
1357
+ minLength: number;
1358
+ maxLength: number;
1359
+ };
1360
+ interfaceId: {
1361
+ type: "string";
1362
+ minLength: number;
1363
+ maxLength: number;
1357
1364
  };
1358
1365
  };
1359
1366
  required: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.29.0",
3
+ "version": "1.31.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {