@botpress/api 1.38.0 → 1.40.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.38.0 openapi /home/runner/work/skynet/skynet/packages/public-api
2
+ > @botpress/api@1.40.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.38.0 build /home/runner/work/skynet/skynet/packages/public-api
37
+ > @botpress/api@1.40.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.38.0 build:type /home/runner/work/skynet/skynet/packages/public-api
41
+ > @botpress/api@1.40.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.38.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
45
+ > @botpress/api@1.40.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 906ms
51
+ ⚡ Done in 894ms
package/dist/index.js CHANGED
@@ -283251,6 +283251,12 @@ var state = {
283251
283251
  "maxLength": 36,
283252
283252
  "description": "ID of the [User](#schema_user) to link the event to."
283253
283253
  },
283254
+ "workflowId": {
283255
+ "type": "string",
283256
+ "minLength": 28,
283257
+ "maxLength": 36,
283258
+ "description": "ID of the [Workflow](#schema_workflow) to link the event to."
283259
+ },
283254
283260
  "messageId": {
283255
283261
  "type": "string",
283256
283262
  "minLength": 28,
@@ -283347,6 +283353,11 @@ var state = {
283347
283353
  "type": "string",
283348
283354
  "description": "Filter by message id"
283349
283355
  },
283356
+ "workflowId": {
283357
+ "in": "query",
283358
+ "type": "string",
283359
+ "description": "Filter by workflow id"
283360
+ },
283350
283361
  "status": {
283351
283362
  "in": "query",
283352
283363
  "type": "string",
@@ -285333,7 +285344,7 @@ var state = {
285333
285344
  "title": "Botpress API",
285334
285345
  "description": "API for Botpress Cloud",
285335
285346
  "server": "https://api.botpress.cloud",
285336
- "version": "1.38.0",
285347
+ "version": "1.40.0",
285337
285348
  "prefix": "v1"
285338
285349
  },
285339
285350
  "errors": [
@@ -285727,7 +285738,7 @@ var state = {
285727
285738
  ],
285728
285739
  "additionalProperties": false
285729
285740
  },
285730
- "description": "A mapping of integrations to their configuration"
285741
+ "description": "A mapping of integrations to their configuration. If the `x-multiple-integrations` header is present, this object is keyed by integration aliases. Otherwise, this object is keyed by integration ids."
285731
285742
  },
285732
285743
  "plugins": {
285733
285744
  "type": "object",
@@ -289050,7 +289061,7 @@ var state = {
289050
289061
  "v1",
289051
289062
  "v2"
289052
289063
  ],
289053
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
289064
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
289054
289065
  }
289055
289066
  },
289056
289067
  "required": [
@@ -303283,7 +303294,7 @@ var state2 = {
303283
303294
  "title": "Botpress API",
303284
303295
  "description": "API for Botpress Cloud",
303285
303296
  "server": "https://api.botpress.cloud",
303286
- "version": "1.38.0",
303297
+ "version": "1.40.0",
303287
303298
  "prefix": "v1"
303288
303299
  },
303289
303300
  "errors": [
@@ -303750,7 +303761,7 @@ var state2 = {
303750
303761
  ],
303751
303762
  "additionalProperties": false
303752
303763
  },
303753
- "description": "A mapping of integrations to their configuration"
303764
+ "description": "A mapping of integrations to their configuration. If the `x-multiple-integrations` header is present, this object is keyed by integration aliases. Otherwise, this object is keyed by integration ids."
303754
303765
  },
303755
303766
  "plugins": {
303756
303767
  "type": "object",
@@ -307073,7 +307084,7 @@ var state2 = {
307073
307084
  "v1",
307074
307085
  "v2"
307075
307086
  ],
307076
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
307087
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
307077
307088
  }
307078
307089
  },
307079
307090
  "required": [
@@ -307685,7 +307696,7 @@ var state3 = {
307685
307696
  "v1",
307686
307697
  "v2"
307687
307698
  ],
307688
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
307699
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
307689
307700
  },
307690
307701
  "uploadUrl": {
307691
307702
  "type": "string",
@@ -307918,7 +307929,7 @@ var state3 = {
307918
307929
  "v1",
307919
307930
  "v2"
307920
307931
  ],
307921
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
307932
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
307922
307933
  }
307923
307934
  },
307924
307935
  "required": [
@@ -308094,7 +308105,7 @@ var state3 = {
308094
308105
  "v1",
308095
308106
  "v2"
308096
308107
  ],
308097
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
308108
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
308098
308109
  }
308099
308110
  },
308100
308111
  "required": [
@@ -308298,7 +308309,7 @@ var state3 = {
308298
308309
  "v1",
308299
308310
  "v2"
308300
308311
  ],
308301
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
308312
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
308302
308313
  }
308303
308314
  },
308304
308315
  "required": [
@@ -308487,7 +308498,7 @@ var state3 = {
308487
308498
  "v1",
308488
308499
  "v2"
308489
308500
  ],
308490
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
308501
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
308491
308502
  }
308492
308503
  },
308493
308504
  "required": [
@@ -309246,7 +309257,7 @@ var state3 = {
309246
309257
  "title": "Botpress API",
309247
309258
  "description": "API for Botpress Cloud",
309248
309259
  "server": "https://api.botpress.cloud",
309249
- "version": "1.38.0",
309260
+ "version": "1.40.0",
309250
309261
  "prefix": "v1"
309251
309262
  },
309252
309263
  "errors": [
@@ -309593,7 +309604,7 @@ var state3 = {
309593
309604
  ],
309594
309605
  "additionalProperties": false
309595
309606
  },
309596
- "description": "A mapping of integrations to their configuration"
309607
+ "description": "A mapping of integrations to their configuration. If the `x-multiple-integrations` header is present, this object is keyed by integration aliases. Otherwise, this object is keyed by integration ids."
309597
309608
  },
309598
309609
  "plugins": {
309599
309610
  "type": "object",
@@ -312918,7 +312929,7 @@ var state3 = {
312918
312929
  "v1",
312919
312930
  "v2"
312920
312931
  ],
312921
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
312932
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
312922
312933
  }
312923
312934
  },
312924
312935
  "required": [
@@ -314338,7 +314349,7 @@ var state4 = {
314338
314349
  "title": "Botpress API",
314339
314350
  "description": "API for Botpress Cloud",
314340
314351
  "server": "https://api.botpress.cloud",
314341
- "version": "1.38.0",
314352
+ "version": "1.40.0",
314342
314353
  "prefix": "v1"
314343
314354
  },
314344
314355
  "errors": [
@@ -314692,7 +314703,7 @@ var state4 = {
314692
314703
  ],
314693
314704
  "additionalProperties": false
314694
314705
  },
314695
- "description": "A mapping of integrations to their configuration"
314706
+ "description": "A mapping of integrations to their configuration. If the `x-multiple-integrations` header is present, this object is keyed by integration aliases. Otherwise, this object is keyed by integration ids."
314696
314707
  },
314697
314708
  "plugins": {
314698
314709
  "type": "object",
@@ -318017,7 +318028,7 @@ var state4 = {
318017
318028
  "v1",
318018
318029
  "v2"
318019
318030
  ],
318020
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
318031
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
318021
318032
  }
318022
318033
  },
318023
318034
  "required": [
@@ -318747,6 +318758,12 @@ var state5 = {
318747
318758
  "maxLength": 36,
318748
318759
  "description": "ID of the [User](#schema_user) to link the event to."
318749
318760
  },
318761
+ "workflowId": {
318762
+ "type": "string",
318763
+ "minLength": 28,
318764
+ "maxLength": 36,
318765
+ "description": "ID of the [Workflow](#schema_workflow) to link the event to."
318766
+ },
318750
318767
  "messageId": {
318751
318768
  "type": "string",
318752
318769
  "minLength": 28,
@@ -318843,6 +318860,11 @@ var state5 = {
318843
318860
  "type": "string",
318844
318861
  "description": "Filter by message id"
318845
318862
  },
318863
+ "workflowId": {
318864
+ "in": "query",
318865
+ "type": "string",
318866
+ "description": "Filter by workflow id"
318867
+ },
318846
318868
  "status": {
318847
318869
  "in": "query",
318848
318870
  "type": "string",
@@ -335110,7 +335132,7 @@ var state5 = {
335110
335132
  "v1",
335111
335133
  "v2"
335112
335134
  ],
335113
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335135
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335114
335136
  },
335115
335137
  "uploadUrl": {
335116
335138
  "type": "string",
@@ -335343,7 +335365,7 @@ var state5 = {
335343
335365
  "v1",
335344
335366
  "v2"
335345
335367
  ],
335346
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335368
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335347
335369
  }
335348
335370
  },
335349
335371
  "required": [
@@ -335519,7 +335541,7 @@ var state5 = {
335519
335541
  "v1",
335520
335542
  "v2"
335521
335543
  ],
335522
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335544
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335523
335545
  }
335524
335546
  },
335525
335547
  "required": [
@@ -335723,7 +335745,7 @@ var state5 = {
335723
335745
  "v1",
335724
335746
  "v2"
335725
335747
  ],
335726
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335748
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335727
335749
  }
335728
335750
  },
335729
335751
  "required": [
@@ -335912,7 +335934,7 @@ var state5 = {
335912
335934
  "v1",
335913
335935
  "v2"
335914
335936
  ],
335915
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335937
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
335916
335938
  }
335917
335939
  },
335918
335940
  "required": [
@@ -337877,7 +337899,7 @@ var state5 = {
337877
337899
  "title": "Botpress API",
337878
337900
  "description": "API for Botpress Cloud",
337879
337901
  "server": "https://api.botpress.cloud",
337880
- "version": "1.38.0",
337902
+ "version": "1.40.0",
337881
337903
  "prefix": "v1"
337882
337904
  },
337883
337905
  "errors": [
@@ -338461,7 +338483,7 @@ var state5 = {
338461
338483
  ],
338462
338484
  "additionalProperties": false
338463
338485
  },
338464
- "description": "A mapping of integrations to their configuration"
338486
+ "description": "A mapping of integrations to their configuration. If the `x-multiple-integrations` header is present, this object is keyed by integration aliases. Otherwise, this object is keyed by integration ids."
338465
338487
  },
338466
338488
  "plugins": {
338467
338489
  "type": "object",
@@ -341786,7 +341808,7 @@ var state5 = {
341786
341808
  "v1",
341787
341809
  "v2"
341788
341810
  ],
341789
- "description": 'Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
341811
+ "description": 'Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of "v2" denotes the latest stack, "v1" denotes the legacy stack.'
341790
341812
  }
341791
341813
  },
341792
341814
  "required": [
@@ -493,6 +493,12 @@ export declare const state: {
493
493
  maxLength: number;
494
494
  description: string;
495
495
  };
496
+ workflowId: {
497
+ type: "string";
498
+ minLength: number;
499
+ maxLength: number;
500
+ description: string;
501
+ };
496
502
  messageId: {
497
503
  type: "string";
498
504
  minLength: number;
@@ -582,6 +588,11 @@ export declare const state: {
582
588
  type: "string";
583
589
  description: string;
584
590
  };
591
+ workflowId: {
592
+ in: "query";
593
+ type: "string";
594
+ description: string;
595
+ };
585
596
  status: {
586
597
  in: "query";
587
598
  type: "string";
@@ -493,6 +493,12 @@ export declare const state: {
493
493
  maxLength: number;
494
494
  description: string;
495
495
  };
496
+ workflowId: {
497
+ type: "string";
498
+ minLength: number;
499
+ maxLength: number;
500
+ description: string;
501
+ };
496
502
  messageId: {
497
503
  type: "string";
498
504
  minLength: number;
@@ -582,6 +588,11 @@ export declare const state: {
582
588
  type: "string";
583
589
  description: string;
584
590
  };
591
+ workflowId: {
592
+ in: "query";
593
+ type: "string";
594
+ description: string;
595
+ };
585
596
  status: {
586
597
  in: "query";
587
598
  type: "string";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.38.0",
3
+ "version": "1.40.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {