@botpress/api 1.37.0 → 1.39.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.37.0 openapi /home/runner/work/skynet/skynet/packages/public-api
2
+ > @botpress/api@1.39.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.37.0 build /home/runner/work/skynet/skynet/packages/public-api
37
+ > @botpress/api@1.39.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.37.0 build:type /home/runner/work/skynet/skynet/packages/public-api
41
+ > @botpress/api@1.39.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.37.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
45
+ > @botpress/api@1.39.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 920ms
51
+ ⚡ Done in 901ms
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.37.0",
285347
+ "version": "1.39.0",
285337
285348
  "prefix": "v1"
285338
285349
  },
285339
285350
  "errors": [
@@ -289043,6 +289054,14 @@ var state = {
289043
289054
  "type"
289044
289055
  ],
289045
289056
  "additionalProperties": false
289057
+ },
289058
+ "indexingStack": {
289059
+ "type": "string",
289060
+ "enum": [
289061
+ "v1",
289062
+ "v2"
289063
+ ],
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.'
289046
289065
  }
289047
289066
  },
289048
289067
  "required": [
@@ -303275,7 +303294,7 @@ var state2 = {
303275
303294
  "title": "Botpress API",
303276
303295
  "description": "API for Botpress Cloud",
303277
303296
  "server": "https://api.botpress.cloud",
303278
- "version": "1.37.0",
303297
+ "version": "1.39.0",
303279
303298
  "prefix": "v1"
303280
303299
  },
303281
303300
  "errors": [
@@ -307058,6 +307077,14 @@ var state2 = {
307058
307077
  "type"
307059
307078
  ],
307060
307079
  "additionalProperties": false
307080
+ },
307081
+ "indexingStack": {
307082
+ "type": "string",
307083
+ "enum": [
307084
+ "v1",
307085
+ "v2"
307086
+ ],
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.'
307061
307088
  }
307062
307089
  },
307063
307090
  "required": [
@@ -307663,6 +307690,14 @@ var state3 = {
307663
307690
  ],
307664
307691
  "additionalProperties": false
307665
307692
  },
307693
+ "indexingStack": {
307694
+ "type": "string",
307695
+ "enum": [
307696
+ "v1",
307697
+ "v2"
307698
+ ],
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.'
307700
+ },
307666
307701
  "uploadUrl": {
307667
307702
  "type": "string",
307668
307703
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -307887,6 +307922,14 @@ var state3 = {
307887
307922
  "required": [
307888
307923
  "type"
307889
307924
  ]
307925
+ },
307926
+ "indexingStack": {
307927
+ "type": "string",
307928
+ "enum": [
307929
+ "v1",
307930
+ "v2"
307931
+ ],
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.'
307890
307933
  }
307891
307934
  },
307892
307935
  "required": [
@@ -308055,6 +308098,14 @@ var state3 = {
308055
308098
  "type"
308056
308099
  ],
308057
308100
  "additionalProperties": false
308101
+ },
308102
+ "indexingStack": {
308103
+ "type": "string",
308104
+ "enum": [
308105
+ "v1",
308106
+ "v2"
308107
+ ],
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.'
308058
308109
  }
308059
308110
  },
308060
308111
  "required": [
@@ -308251,6 +308302,14 @@ var state3 = {
308251
308302
  "type"
308252
308303
  ],
308253
308304
  "additionalProperties": false
308305
+ },
308306
+ "indexingStack": {
308307
+ "type": "string",
308308
+ "enum": [
308309
+ "v1",
308310
+ "v2"
308311
+ ],
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.'
308254
308313
  }
308255
308314
  },
308256
308315
  "required": [
@@ -308432,6 +308491,14 @@ var state3 = {
308432
308491
  "type"
308433
308492
  ],
308434
308493
  "additionalProperties": false
308494
+ },
308495
+ "indexingStack": {
308496
+ "type": "string",
308497
+ "enum": [
308498
+ "v1",
308499
+ "v2"
308500
+ ],
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.'
308435
308502
  }
308436
308503
  },
308437
308504
  "required": [
@@ -309190,7 +309257,7 @@ var state3 = {
309190
309257
  "title": "Botpress API",
309191
309258
  "description": "API for Botpress Cloud",
309192
309259
  "server": "https://api.botpress.cloud",
309193
- "version": "1.37.0",
309260
+ "version": "1.39.0",
309194
309261
  "prefix": "v1"
309195
309262
  },
309196
309263
  "errors": [
@@ -312855,6 +312922,14 @@ var state3 = {
312855
312922
  "type"
312856
312923
  ],
312857
312924
  "additionalProperties": false
312925
+ },
312926
+ "indexingStack": {
312927
+ "type": "string",
312928
+ "enum": [
312929
+ "v1",
312930
+ "v2"
312931
+ ],
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.'
312858
312933
  }
312859
312934
  },
312860
312935
  "required": [
@@ -314274,7 +314349,7 @@ var state4 = {
314274
314349
  "title": "Botpress API",
314275
314350
  "description": "API for Botpress Cloud",
314276
314351
  "server": "https://api.botpress.cloud",
314277
- "version": "1.37.0",
314352
+ "version": "1.39.0",
314278
314353
  "prefix": "v1"
314279
314354
  },
314280
314355
  "errors": [
@@ -317946,6 +318021,14 @@ var state4 = {
317946
318021
  "type"
317947
318022
  ],
317948
318023
  "additionalProperties": false
318024
+ },
318025
+ "indexingStack": {
318026
+ "type": "string",
318027
+ "enum": [
318028
+ "v1",
318029
+ "v2"
318030
+ ],
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.'
317949
318032
  }
317950
318033
  },
317951
318034
  "required": [
@@ -318675,6 +318758,12 @@ var state5 = {
318675
318758
  "maxLength": 36,
318676
318759
  "description": "ID of the [User](#schema_user) to link the event to."
318677
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
+ },
318678
318767
  "messageId": {
318679
318768
  "type": "string",
318680
318769
  "minLength": 28,
@@ -318771,6 +318860,11 @@ var state5 = {
318771
318860
  "type": "string",
318772
318861
  "description": "Filter by message id"
318773
318862
  },
318863
+ "workflowId": {
318864
+ "in": "query",
318865
+ "type": "string",
318866
+ "description": "Filter by workflow id"
318867
+ },
318774
318868
  "status": {
318775
318869
  "in": "query",
318776
318870
  "type": "string",
@@ -335032,6 +335126,14 @@ var state5 = {
335032
335126
  ],
335033
335127
  "additionalProperties": false
335034
335128
  },
335129
+ "indexingStack": {
335130
+ "type": "string",
335131
+ "enum": [
335132
+ "v1",
335133
+ "v2"
335134
+ ],
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.'
335136
+ },
335035
335137
  "uploadUrl": {
335036
335138
  "type": "string",
335037
335139
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -335256,6 +335358,14 @@ var state5 = {
335256
335358
  "required": [
335257
335359
  "type"
335258
335360
  ]
335361
+ },
335362
+ "indexingStack": {
335363
+ "type": "string",
335364
+ "enum": [
335365
+ "v1",
335366
+ "v2"
335367
+ ],
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.'
335259
335369
  }
335260
335370
  },
335261
335371
  "required": [
@@ -335424,6 +335534,14 @@ var state5 = {
335424
335534
  "type"
335425
335535
  ],
335426
335536
  "additionalProperties": false
335537
+ },
335538
+ "indexingStack": {
335539
+ "type": "string",
335540
+ "enum": [
335541
+ "v1",
335542
+ "v2"
335543
+ ],
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.'
335427
335545
  }
335428
335546
  },
335429
335547
  "required": [
@@ -335620,6 +335738,14 @@ var state5 = {
335620
335738
  "type"
335621
335739
  ],
335622
335740
  "additionalProperties": false
335741
+ },
335742
+ "indexingStack": {
335743
+ "type": "string",
335744
+ "enum": [
335745
+ "v1",
335746
+ "v2"
335747
+ ],
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.'
335623
335749
  }
335624
335750
  },
335625
335751
  "required": [
@@ -335801,6 +335927,14 @@ var state5 = {
335801
335927
  "type"
335802
335928
  ],
335803
335929
  "additionalProperties": false
335930
+ },
335931
+ "indexingStack": {
335932
+ "type": "string",
335933
+ "enum": [
335934
+ "v1",
335935
+ "v2"
335936
+ ],
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.'
335804
335938
  }
335805
335939
  },
335806
335940
  "required": [
@@ -337765,7 +337899,7 @@ var state5 = {
337765
337899
  "title": "Botpress API",
337766
337900
  "description": "API for Botpress Cloud",
337767
337901
  "server": "https://api.botpress.cloud",
337768
- "version": "1.37.0",
337902
+ "version": "1.39.0",
337769
337903
  "prefix": "v1"
337770
337904
  },
337771
337905
  "errors": [
@@ -341667,6 +341801,14 @@ var state5 = {
341667
341801
  "type"
341668
341802
  ],
341669
341803
  "additionalProperties": false
341804
+ },
341805
+ "indexingStack": {
341806
+ "type": "string",
341807
+ "enum": [
341808
+ "v1",
341809
+ "v2"
341810
+ ],
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.'
341670
341812
  }
341671
341813
  },
341672
341814
  "required": [
@@ -15461,6 +15461,11 @@ export declare const state: {
15461
15461
  required: string[];
15462
15462
  additionalProperties: false;
15463
15463
  };
15464
+ indexingStack: {
15465
+ type: "string";
15466
+ enum: string[];
15467
+ description: string;
15468
+ };
15464
15469
  };
15465
15470
  required: string[];
15466
15471
  additionalProperties: false;
@@ -267,6 +267,11 @@ export declare const state: {
267
267
  required: string[];
268
268
  additionalProperties: false;
269
269
  };
270
+ indexingStack: {
271
+ type: "string";
272
+ enum: string[];
273
+ description: string;
274
+ };
270
275
  uploadUrl: {
271
276
  type: "string";
272
277
  description: string;
@@ -449,6 +454,11 @@ export declare const state: {
449
454
  };
450
455
  required: string[];
451
456
  };
457
+ indexingStack: {
458
+ type: "string";
459
+ enum: string[];
460
+ description: string;
461
+ };
452
462
  };
453
463
  required: string[];
454
464
  };
@@ -583,6 +593,11 @@ export declare const state: {
583
593
  required: string[];
584
594
  additionalProperties: false;
585
595
  };
596
+ indexingStack: {
597
+ type: "string";
598
+ enum: string[];
599
+ description: string;
600
+ };
586
601
  };
587
602
  required: string[];
588
603
  additionalProperties: false;
@@ -743,6 +758,11 @@ export declare const state: {
743
758
  required: string[];
744
759
  additionalProperties: false;
745
760
  };
761
+ indexingStack: {
762
+ type: "string";
763
+ enum: string[];
764
+ description: string;
765
+ };
746
766
  };
747
767
  required: string[];
748
768
  additionalProperties: false;
@@ -891,6 +911,11 @@ export declare const state: {
891
911
  required: string[];
892
912
  additionalProperties: false;
893
913
  };
914
+ indexingStack: {
915
+ type: "string";
916
+ enum: string[];
917
+ description: string;
918
+ };
894
919
  };
895
920
  required: string[];
896
921
  additionalProperties: false;
@@ -4538,6 +4563,11 @@ export declare const state: {
4538
4563
  required: string[];
4539
4564
  additionalProperties: false;
4540
4565
  };
4566
+ indexingStack: {
4567
+ type: "string";
4568
+ enum: string[];
4569
+ description: string;
4570
+ };
4541
4571
  };
4542
4572
  required: string[];
4543
4573
  additionalProperties: false;
@@ -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";
@@ -5416,6 +5427,11 @@ export declare const state: {
5416
5427
  required: string[];
5417
5428
  additionalProperties: false;
5418
5429
  };
5430
+ indexingStack: {
5431
+ type: "string";
5432
+ enum: string[];
5433
+ description: string;
5434
+ };
5419
5435
  };
5420
5436
  required: string[];
5421
5437
  additionalProperties: false;
@@ -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";
@@ -14950,6 +14961,11 @@ export declare const state: {
14950
14961
  required: string[];
14951
14962
  additionalProperties: false;
14952
14963
  };
14964
+ indexingStack: {
14965
+ type: "string";
14966
+ enum: string[];
14967
+ description: string;
14968
+ };
14953
14969
  uploadUrl: {
14954
14970
  type: "string";
14955
14971
  description: string;
@@ -15132,6 +15148,11 @@ export declare const state: {
15132
15148
  };
15133
15149
  required: string[];
15134
15150
  };
15151
+ indexingStack: {
15152
+ type: "string";
15153
+ enum: string[];
15154
+ description: string;
15155
+ };
15135
15156
  };
15136
15157
  required: string[];
15137
15158
  };
@@ -15266,6 +15287,11 @@ export declare const state: {
15266
15287
  required: string[];
15267
15288
  additionalProperties: false;
15268
15289
  };
15290
+ indexingStack: {
15291
+ type: "string";
15292
+ enum: string[];
15293
+ description: string;
15294
+ };
15269
15295
  };
15270
15296
  required: string[];
15271
15297
  additionalProperties: false;
@@ -15426,6 +15452,11 @@ export declare const state: {
15426
15452
  required: string[];
15427
15453
  additionalProperties: false;
15428
15454
  };
15455
+ indexingStack: {
15456
+ type: "string";
15457
+ enum: string[];
15458
+ description: string;
15459
+ };
15429
15460
  };
15430
15461
  required: string[];
15431
15462
  additionalProperties: false;
@@ -15574,6 +15605,11 @@ export declare const state: {
15574
15605
  required: string[];
15575
15606
  additionalProperties: false;
15576
15607
  };
15608
+ indexingStack: {
15609
+ type: "string";
15610
+ enum: string[];
15611
+ description: string;
15612
+ };
15577
15613
  };
15578
15614
  required: string[];
15579
15615
  additionalProperties: false;
@@ -20539,6 +20575,11 @@ export declare const state: {
20539
20575
  required: string[];
20540
20576
  additionalProperties: false;
20541
20577
  };
20578
+ indexingStack: {
20579
+ type: "string";
20580
+ enum: string[];
20581
+ description: string;
20582
+ };
20542
20583
  };
20543
20584
  required: string[];
20544
20585
  additionalProperties: false;
@@ -4104,6 +4104,11 @@ export declare const state: {
4104
4104
  required: string[];
4105
4105
  additionalProperties: false;
4106
4106
  };
4107
+ indexingStack: {
4108
+ type: "string";
4109
+ enum: string[];
4110
+ description: string;
4111
+ };
4107
4112
  };
4108
4113
  required: string[];
4109
4114
  additionalProperties: false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.37.0",
3
+ "version": "1.39.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {