@botpress/api 0.44.0 → 0.45.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.
@@ -2801,6 +2801,7 @@ export declare const state: {
2801
2801
  type: "string";
2802
2802
  minLength: number;
2803
2803
  maxLength: number;
2804
+ description: string;
2804
2805
  };
2805
2806
  name: {
2806
2807
  type: "string";
@@ -2849,6 +2850,20 @@ export declare const state: {
2849
2850
  additionalProperties: false;
2850
2851
  };
2851
2852
  };
2853
+ channels: {
2854
+ type: "object";
2855
+ additionalProperties: {
2856
+ type: "object";
2857
+ properties: {
2858
+ name: {
2859
+ type: "string";
2860
+ maxLength: number;
2861
+ };
2862
+ };
2863
+ required: string[];
2864
+ additionalProperties: false;
2865
+ };
2866
+ };
2852
2867
  };
2853
2868
  required: string[];
2854
2869
  additionalProperties: false;
@@ -3364,6 +3379,7 @@ export declare const state: {
3364
3379
  type: "string";
3365
3380
  minLength: number;
3366
3381
  maxLength: number;
3382
+ description: string;
3367
3383
  };
3368
3384
  name: {
3369
3385
  type: "string";
@@ -3412,6 +3428,20 @@ export declare const state: {
3412
3428
  additionalProperties: false;
3413
3429
  };
3414
3430
  };
3431
+ channels: {
3432
+ type: "object";
3433
+ additionalProperties: {
3434
+ type: "object";
3435
+ properties: {
3436
+ name: {
3437
+ type: "string";
3438
+ maxLength: number;
3439
+ };
3440
+ };
3441
+ required: string[];
3442
+ additionalProperties: false;
3443
+ };
3444
+ };
3415
3445
  };
3416
3446
  required: string[];
3417
3447
  additionalProperties: false;
@@ -4843,6 +4873,84 @@ export declare const state: {
4843
4873
  type: "number";
4844
4874
  };
4845
4875
  };
4876
+ llm: {
4877
+ type: "object";
4878
+ properties: {
4879
+ calls: {
4880
+ type: "integer";
4881
+ };
4882
+ errors: {
4883
+ type: "integer";
4884
+ };
4885
+ inputTokens: {
4886
+ type: "integer";
4887
+ };
4888
+ outputTokens: {
4889
+ type: "integer";
4890
+ };
4891
+ latency: {
4892
+ type: "object";
4893
+ properties: {
4894
+ mean: {
4895
+ type: "number";
4896
+ };
4897
+ sd: {
4898
+ type: "number";
4899
+ };
4900
+ min: {
4901
+ type: "number";
4902
+ };
4903
+ max: {
4904
+ type: "number";
4905
+ };
4906
+ };
4907
+ required: string[];
4908
+ description: string;
4909
+ };
4910
+ tokensPerSecond: {
4911
+ type: "object";
4912
+ properties: {
4913
+ mean: {
4914
+ type: "number";
4915
+ };
4916
+ sd: {
4917
+ type: "number";
4918
+ };
4919
+ min: {
4920
+ type: "number";
4921
+ };
4922
+ max: {
4923
+ type: "number";
4924
+ };
4925
+ };
4926
+ required: string[];
4927
+ description: string;
4928
+ };
4929
+ cost: {
4930
+ type: "object";
4931
+ properties: {
4932
+ sum: {
4933
+ type: "number";
4934
+ };
4935
+ mean: {
4936
+ type: "number";
4937
+ };
4938
+ sd: {
4939
+ type: "number";
4940
+ };
4941
+ min: {
4942
+ type: "number";
4943
+ };
4944
+ max: {
4945
+ type: "number";
4946
+ };
4947
+ };
4948
+ required: string[];
4949
+ description: string;
4950
+ };
4951
+ };
4952
+ required: string[];
4953
+ };
4846
4954
  };
4847
4955
  required: string[];
4848
4956
  };
@@ -7348,6 +7456,7 @@ export declare const state: {
7348
7456
  type: "string";
7349
7457
  minLength: number;
7350
7458
  maxLength: number;
7459
+ description: string;
7351
7460
  };
7352
7461
  entities: {
7353
7462
  type: "object";
@@ -7391,6 +7500,20 @@ export declare const state: {
7391
7500
  additionalProperties: false;
7392
7501
  };
7393
7502
  };
7503
+ channels: {
7504
+ type: "object";
7505
+ additionalProperties: {
7506
+ type: "object";
7507
+ properties: {
7508
+ name: {
7509
+ type: "string";
7510
+ maxLength: number;
7511
+ };
7512
+ };
7513
+ required: string[];
7514
+ additionalProperties: false;
7515
+ };
7516
+ };
7394
7517
  };
7395
7518
  required: string[];
7396
7519
  additionalProperties: false;
@@ -7858,6 +7981,7 @@ export declare const state: {
7858
7981
  type: "string";
7859
7982
  minLength: number;
7860
7983
  maxLength: number;
7984
+ description: string;
7861
7985
  };
7862
7986
  entities: {
7863
7987
  type: "object";
@@ -7901,6 +8025,20 @@ export declare const state: {
7901
8025
  additionalProperties: false;
7902
8026
  };
7903
8027
  };
8028
+ channels: {
8029
+ type: "object";
8030
+ additionalProperties: {
8031
+ type: "object";
8032
+ properties: {
8033
+ name: {
8034
+ type: "string";
8035
+ maxLength: number;
8036
+ };
8037
+ };
8038
+ required: string[];
8039
+ additionalProperties: false;
8040
+ };
8041
+ };
7904
8042
  };
7905
8043
  required: string[];
7906
8044
  nullable: true;
@@ -8275,6 +8413,31 @@ export declare const state: {
8275
8413
  maxLength: number;
8276
8414
  description: string;
8277
8415
  };
8416
+ entities: {
8417
+ type: "object";
8418
+ additionalProperties: {
8419
+ type: "object";
8420
+ properties: {
8421
+ title: {
8422
+ type: "string";
8423
+ maxLength: number;
8424
+ description: string;
8425
+ };
8426
+ description: {
8427
+ type: "string";
8428
+ maxLength: number;
8429
+ description: string;
8430
+ };
8431
+ schema: {
8432
+ type: "object";
8433
+ additionalProperties: true;
8434
+ };
8435
+ };
8436
+ required: string[];
8437
+ description: string;
8438
+ additionalProperties: false;
8439
+ };
8440
+ };
8278
8441
  events: {
8279
8442
  type: "object";
8280
8443
  additionalProperties: {
@@ -8349,7 +8512,7 @@ export declare const state: {
8349
8512
  additionalProperties: false;
8350
8513
  };
8351
8514
  };
8352
- entities: {
8515
+ channels: {
8353
8516
  type: "object";
8354
8517
  additionalProperties: {
8355
8518
  type: "object";
@@ -8364,13 +8527,23 @@ export declare const state: {
8364
8527
  maxLength: number;
8365
8528
  description: string;
8366
8529
  };
8367
- schema: {
8530
+ messages: {
8368
8531
  type: "object";
8369
- additionalProperties: true;
8532
+ additionalProperties: {
8533
+ type: "object";
8534
+ properties: {
8535
+ schema: {
8536
+ type: "object";
8537
+ additionalProperties: true;
8538
+ };
8539
+ };
8540
+ required: string[];
8541
+ description: string;
8542
+ additionalProperties: false;
8543
+ };
8370
8544
  };
8371
8545
  };
8372
8546
  required: string[];
8373
- description: string;
8374
8547
  additionalProperties: false;
8375
8548
  };
8376
8549
  };
@@ -8490,6 +8663,32 @@ export declare const state: {
8490
8663
  schema: {
8491
8664
  type: "object";
8492
8665
  properties: {
8666
+ entities: {
8667
+ type: "object";
8668
+ additionalProperties: {
8669
+ type: "object";
8670
+ properties: {
8671
+ title: {
8672
+ type: "string";
8673
+ maxLength: number;
8674
+ description: string;
8675
+ };
8676
+ description: {
8677
+ type: "string";
8678
+ maxLength: number;
8679
+ description: string;
8680
+ };
8681
+ schema: {
8682
+ type: "object";
8683
+ additionalProperties: true;
8684
+ };
8685
+ };
8686
+ required: string[];
8687
+ description: string;
8688
+ nullable: true;
8689
+ additionalProperties: false;
8690
+ };
8691
+ };
8493
8692
  events: {
8494
8693
  type: "object";
8495
8694
  additionalProperties: {
@@ -8566,7 +8765,7 @@ export declare const state: {
8566
8765
  additionalProperties: false;
8567
8766
  };
8568
8767
  };
8569
- entities: {
8768
+ channels: {
8570
8769
  type: "object";
8571
8770
  additionalProperties: {
8572
8771
  type: "object";
@@ -8581,13 +8780,23 @@ export declare const state: {
8581
8780
  maxLength: number;
8582
8781
  description: string;
8583
8782
  };
8584
- schema: {
8783
+ messages: {
8585
8784
  type: "object";
8586
- additionalProperties: true;
8785
+ additionalProperties: {
8786
+ type: "object";
8787
+ properties: {
8788
+ schema: {
8789
+ type: "object";
8790
+ additionalProperties: true;
8791
+ };
8792
+ };
8793
+ required: string[];
8794
+ description: string;
8795
+ nullable: true;
8796
+ additionalProperties: false;
8797
+ };
8587
8798
  };
8588
8799
  };
8589
- required: string[];
8590
- description: string;
8591
8800
  nullable: true;
8592
8801
  additionalProperties: false;
8593
8802
  };
@@ -11403,6 +11612,7 @@ export declare const state: {
11403
11612
  type: "string";
11404
11613
  minLength: number;
11405
11614
  maxLength: number;
11615
+ description: string;
11406
11616
  };
11407
11617
  name: {
11408
11618
  type: "string";
@@ -11451,6 +11661,20 @@ export declare const state: {
11451
11661
  additionalProperties: false;
11452
11662
  };
11453
11663
  };
11664
+ channels: {
11665
+ type: "object";
11666
+ additionalProperties: {
11667
+ type: "object";
11668
+ properties: {
11669
+ name: {
11670
+ type: "string";
11671
+ maxLength: number;
11672
+ };
11673
+ };
11674
+ required: string[];
11675
+ additionalProperties: false;
11676
+ };
11677
+ };
11454
11678
  };
11455
11679
  required: string[];
11456
11680
  additionalProperties: false;
@@ -11888,6 +12112,31 @@ export declare const state: {
11888
12112
  maxLength: number;
11889
12113
  description: string;
11890
12114
  };
12115
+ entities: {
12116
+ type: "object";
12117
+ additionalProperties: {
12118
+ type: "object";
12119
+ properties: {
12120
+ title: {
12121
+ type: "string";
12122
+ maxLength: number;
12123
+ description: string;
12124
+ };
12125
+ description: {
12126
+ type: "string";
12127
+ maxLength: number;
12128
+ description: string;
12129
+ };
12130
+ schema: {
12131
+ type: "object";
12132
+ additionalProperties: true;
12133
+ };
12134
+ };
12135
+ required: string[];
12136
+ description: string;
12137
+ additionalProperties: false;
12138
+ };
12139
+ };
11891
12140
  events: {
11892
12141
  type: "object";
11893
12142
  additionalProperties: {
@@ -11962,7 +12211,7 @@ export declare const state: {
11962
12211
  additionalProperties: false;
11963
12212
  };
11964
12213
  };
11965
- entities: {
12214
+ channels: {
11966
12215
  type: "object";
11967
12216
  additionalProperties: {
11968
12217
  type: "object";
@@ -11977,13 +12226,23 @@ export declare const state: {
11977
12226
  maxLength: number;
11978
12227
  description: string;
11979
12228
  };
11980
- schema: {
12229
+ messages: {
11981
12230
  type: "object";
11982
- additionalProperties: true;
12231
+ additionalProperties: {
12232
+ type: "object";
12233
+ properties: {
12234
+ schema: {
12235
+ type: "object";
12236
+ additionalProperties: true;
12237
+ };
12238
+ };
12239
+ required: string[];
12240
+ description: string;
12241
+ additionalProperties: false;
12242
+ };
11983
12243
  };
11984
12244
  };
11985
12245
  required: string[];
11986
- description: string;
11987
12246
  additionalProperties: false;
11988
12247
  };
11989
12248
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.44.0",
3
+ "version": "0.45.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {