@botpress/api 1.37.0 → 1.38.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.38.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.38.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.38.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.38.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 906ms
package/dist/index.js CHANGED
@@ -285333,7 +285333,7 @@ var state = {
285333
285333
  "title": "Botpress API",
285334
285334
  "description": "API for Botpress Cloud",
285335
285335
  "server": "https://api.botpress.cloud",
285336
- "version": "1.37.0",
285336
+ "version": "1.38.0",
285337
285337
  "prefix": "v1"
285338
285338
  },
285339
285339
  "errors": [
@@ -289043,6 +289043,14 @@ var state = {
289043
289043
  "type"
289044
289044
  ],
289045
289045
  "additionalProperties": false
289046
+ },
289047
+ "indexingStack": {
289048
+ "type": "string",
289049
+ "enum": [
289050
+ "v1",
289051
+ "v2"
289052
+ ],
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.'
289046
289054
  }
289047
289055
  },
289048
289056
  "required": [
@@ -303275,7 +303283,7 @@ var state2 = {
303275
303283
  "title": "Botpress API",
303276
303284
  "description": "API for Botpress Cloud",
303277
303285
  "server": "https://api.botpress.cloud",
303278
- "version": "1.37.0",
303286
+ "version": "1.38.0",
303279
303287
  "prefix": "v1"
303280
303288
  },
303281
303289
  "errors": [
@@ -307058,6 +307066,14 @@ var state2 = {
307058
307066
  "type"
307059
307067
  ],
307060
307068
  "additionalProperties": false
307069
+ },
307070
+ "indexingStack": {
307071
+ "type": "string",
307072
+ "enum": [
307073
+ "v1",
307074
+ "v2"
307075
+ ],
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.'
307061
307077
  }
307062
307078
  },
307063
307079
  "required": [
@@ -307663,6 +307679,14 @@ var state3 = {
307663
307679
  ],
307664
307680
  "additionalProperties": false
307665
307681
  },
307682
+ "indexingStack": {
307683
+ "type": "string",
307684
+ "enum": [
307685
+ "v1",
307686
+ "v2"
307687
+ ],
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.'
307689
+ },
307666
307690
  "uploadUrl": {
307667
307691
  "type": "string",
307668
307692
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -307887,6 +307911,14 @@ var state3 = {
307887
307911
  "required": [
307888
307912
  "type"
307889
307913
  ]
307914
+ },
307915
+ "indexingStack": {
307916
+ "type": "string",
307917
+ "enum": [
307918
+ "v1",
307919
+ "v2"
307920
+ ],
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.'
307890
307922
  }
307891
307923
  },
307892
307924
  "required": [
@@ -308055,6 +308087,14 @@ var state3 = {
308055
308087
  "type"
308056
308088
  ],
308057
308089
  "additionalProperties": false
308090
+ },
308091
+ "indexingStack": {
308092
+ "type": "string",
308093
+ "enum": [
308094
+ "v1",
308095
+ "v2"
308096
+ ],
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.'
308058
308098
  }
308059
308099
  },
308060
308100
  "required": [
@@ -308251,6 +308291,14 @@ var state3 = {
308251
308291
  "type"
308252
308292
  ],
308253
308293
  "additionalProperties": false
308294
+ },
308295
+ "indexingStack": {
308296
+ "type": "string",
308297
+ "enum": [
308298
+ "v1",
308299
+ "v2"
308300
+ ],
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.'
308254
308302
  }
308255
308303
  },
308256
308304
  "required": [
@@ -308432,6 +308480,14 @@ var state3 = {
308432
308480
  "type"
308433
308481
  ],
308434
308482
  "additionalProperties": false
308483
+ },
308484
+ "indexingStack": {
308485
+ "type": "string",
308486
+ "enum": [
308487
+ "v1",
308488
+ "v2"
308489
+ ],
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.'
308435
308491
  }
308436
308492
  },
308437
308493
  "required": [
@@ -309190,7 +309246,7 @@ var state3 = {
309190
309246
  "title": "Botpress API",
309191
309247
  "description": "API for Botpress Cloud",
309192
309248
  "server": "https://api.botpress.cloud",
309193
- "version": "1.37.0",
309249
+ "version": "1.38.0",
309194
309250
  "prefix": "v1"
309195
309251
  },
309196
309252
  "errors": [
@@ -312855,6 +312911,14 @@ var state3 = {
312855
312911
  "type"
312856
312912
  ],
312857
312913
  "additionalProperties": false
312914
+ },
312915
+ "indexingStack": {
312916
+ "type": "string",
312917
+ "enum": [
312918
+ "v1",
312919
+ "v2"
312920
+ ],
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.'
312858
312922
  }
312859
312923
  },
312860
312924
  "required": [
@@ -314274,7 +314338,7 @@ var state4 = {
314274
314338
  "title": "Botpress API",
314275
314339
  "description": "API for Botpress Cloud",
314276
314340
  "server": "https://api.botpress.cloud",
314277
- "version": "1.37.0",
314341
+ "version": "1.38.0",
314278
314342
  "prefix": "v1"
314279
314343
  },
314280
314344
  "errors": [
@@ -317946,6 +318010,14 @@ var state4 = {
317946
318010
  "type"
317947
318011
  ],
317948
318012
  "additionalProperties": false
318013
+ },
318014
+ "indexingStack": {
318015
+ "type": "string",
318016
+ "enum": [
318017
+ "v1",
318018
+ "v2"
318019
+ ],
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.'
317949
318021
  }
317950
318022
  },
317951
318023
  "required": [
@@ -335032,6 +335104,14 @@ var state5 = {
335032
335104
  ],
335033
335105
  "additionalProperties": false
335034
335106
  },
335107
+ "indexingStack": {
335108
+ "type": "string",
335109
+ "enum": [
335110
+ "v1",
335111
+ "v2"
335112
+ ],
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.'
335114
+ },
335035
335115
  "uploadUrl": {
335036
335116
  "type": "string",
335037
335117
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -335256,6 +335336,14 @@ var state5 = {
335256
335336
  "required": [
335257
335337
  "type"
335258
335338
  ]
335339
+ },
335340
+ "indexingStack": {
335341
+ "type": "string",
335342
+ "enum": [
335343
+ "v1",
335344
+ "v2"
335345
+ ],
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.'
335259
335347
  }
335260
335348
  },
335261
335349
  "required": [
@@ -335424,6 +335512,14 @@ var state5 = {
335424
335512
  "type"
335425
335513
  ],
335426
335514
  "additionalProperties": false
335515
+ },
335516
+ "indexingStack": {
335517
+ "type": "string",
335518
+ "enum": [
335519
+ "v1",
335520
+ "v2"
335521
+ ],
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.'
335427
335523
  }
335428
335524
  },
335429
335525
  "required": [
@@ -335620,6 +335716,14 @@ var state5 = {
335620
335716
  "type"
335621
335717
  ],
335622
335718
  "additionalProperties": false
335719
+ },
335720
+ "indexingStack": {
335721
+ "type": "string",
335722
+ "enum": [
335723
+ "v1",
335724
+ "v2"
335725
+ ],
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.'
335623
335727
  }
335624
335728
  },
335625
335729
  "required": [
@@ -335801,6 +335905,14 @@ var state5 = {
335801
335905
  "type"
335802
335906
  ],
335803
335907
  "additionalProperties": false
335908
+ },
335909
+ "indexingStack": {
335910
+ "type": "string",
335911
+ "enum": [
335912
+ "v1",
335913
+ "v2"
335914
+ ],
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.'
335804
335916
  }
335805
335917
  },
335806
335918
  "required": [
@@ -337765,7 +337877,7 @@ var state5 = {
337765
337877
  "title": "Botpress API",
337766
337878
  "description": "API for Botpress Cloud",
337767
337879
  "server": "https://api.botpress.cloud",
337768
- "version": "1.37.0",
337880
+ "version": "1.38.0",
337769
337881
  "prefix": "v1"
337770
337882
  },
337771
337883
  "errors": [
@@ -341667,6 +341779,14 @@ var state5 = {
341667
341779
  "type"
341668
341780
  ],
341669
341781
  "additionalProperties": false
341782
+ },
341783
+ "indexingStack": {
341784
+ "type": "string",
341785
+ "enum": [
341786
+ "v1",
341787
+ "v2"
341788
+ ],
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.'
341670
341790
  }
341671
341791
  },
341672
341792
  "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;
@@ -5416,6 +5416,11 @@ export declare const state: {
5416
5416
  required: string[];
5417
5417
  additionalProperties: false;
5418
5418
  };
5419
+ indexingStack: {
5420
+ type: "string";
5421
+ enum: string[];
5422
+ description: string;
5423
+ };
5419
5424
  };
5420
5425
  required: string[];
5421
5426
  additionalProperties: false;
@@ -14950,6 +14950,11 @@ export declare const state: {
14950
14950
  required: string[];
14951
14951
  additionalProperties: false;
14952
14952
  };
14953
+ indexingStack: {
14954
+ type: "string";
14955
+ enum: string[];
14956
+ description: string;
14957
+ };
14953
14958
  uploadUrl: {
14954
14959
  type: "string";
14955
14960
  description: string;
@@ -15132,6 +15137,11 @@ export declare const state: {
15132
15137
  };
15133
15138
  required: string[];
15134
15139
  };
15140
+ indexingStack: {
15141
+ type: "string";
15142
+ enum: string[];
15143
+ description: string;
15144
+ };
15135
15145
  };
15136
15146
  required: string[];
15137
15147
  };
@@ -15266,6 +15276,11 @@ export declare const state: {
15266
15276
  required: string[];
15267
15277
  additionalProperties: false;
15268
15278
  };
15279
+ indexingStack: {
15280
+ type: "string";
15281
+ enum: string[];
15282
+ description: string;
15283
+ };
15269
15284
  };
15270
15285
  required: string[];
15271
15286
  additionalProperties: false;
@@ -15426,6 +15441,11 @@ export declare const state: {
15426
15441
  required: string[];
15427
15442
  additionalProperties: false;
15428
15443
  };
15444
+ indexingStack: {
15445
+ type: "string";
15446
+ enum: string[];
15447
+ description: string;
15448
+ };
15429
15449
  };
15430
15450
  required: string[];
15431
15451
  additionalProperties: false;
@@ -15574,6 +15594,11 @@ export declare const state: {
15574
15594
  required: string[];
15575
15595
  additionalProperties: false;
15576
15596
  };
15597
+ indexingStack: {
15598
+ type: "string";
15599
+ enum: string[];
15600
+ description: string;
15601
+ };
15577
15602
  };
15578
15603
  required: string[];
15579
15604
  additionalProperties: false;
@@ -20539,6 +20564,11 @@ export declare const state: {
20539
20564
  required: string[];
20540
20565
  additionalProperties: false;
20541
20566
  };
20567
+ indexingStack: {
20568
+ type: "string";
20569
+ enum: string[];
20570
+ description: string;
20571
+ };
20542
20572
  };
20543
20573
  required: string[];
20544
20574
  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.38.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {