@botpress/api 0.43.2 → 0.44.1

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;
@@ -7348,6 +7378,7 @@ export declare const state: {
7348
7378
  type: "string";
7349
7379
  minLength: number;
7350
7380
  maxLength: number;
7381
+ description: string;
7351
7382
  };
7352
7383
  entities: {
7353
7384
  type: "object";
@@ -7391,6 +7422,20 @@ export declare const state: {
7391
7422
  additionalProperties: false;
7392
7423
  };
7393
7424
  };
7425
+ channels: {
7426
+ type: "object";
7427
+ additionalProperties: {
7428
+ type: "object";
7429
+ properties: {
7430
+ name: {
7431
+ type: "string";
7432
+ maxLength: number;
7433
+ };
7434
+ };
7435
+ required: string[];
7436
+ additionalProperties: false;
7437
+ };
7438
+ };
7394
7439
  };
7395
7440
  required: string[];
7396
7441
  additionalProperties: false;
@@ -7858,6 +7903,7 @@ export declare const state: {
7858
7903
  type: "string";
7859
7904
  minLength: number;
7860
7905
  maxLength: number;
7906
+ description: string;
7861
7907
  };
7862
7908
  entities: {
7863
7909
  type: "object";
@@ -7901,6 +7947,20 @@ export declare const state: {
7901
7947
  additionalProperties: false;
7902
7948
  };
7903
7949
  };
7950
+ channels: {
7951
+ type: "object";
7952
+ additionalProperties: {
7953
+ type: "object";
7954
+ properties: {
7955
+ name: {
7956
+ type: "string";
7957
+ maxLength: number;
7958
+ };
7959
+ };
7960
+ required: string[];
7961
+ additionalProperties: false;
7962
+ };
7963
+ };
7904
7964
  };
7905
7965
  required: string[];
7906
7966
  nullable: true;
@@ -8275,6 +8335,31 @@ export declare const state: {
8275
8335
  maxLength: number;
8276
8336
  description: string;
8277
8337
  };
8338
+ entities: {
8339
+ type: "object";
8340
+ additionalProperties: {
8341
+ type: "object";
8342
+ properties: {
8343
+ title: {
8344
+ type: "string";
8345
+ maxLength: number;
8346
+ description: string;
8347
+ };
8348
+ description: {
8349
+ type: "string";
8350
+ maxLength: number;
8351
+ description: string;
8352
+ };
8353
+ schema: {
8354
+ type: "object";
8355
+ additionalProperties: true;
8356
+ };
8357
+ };
8358
+ required: string[];
8359
+ description: string;
8360
+ additionalProperties: false;
8361
+ };
8362
+ };
8278
8363
  events: {
8279
8364
  type: "object";
8280
8365
  additionalProperties: {
@@ -8349,7 +8434,7 @@ export declare const state: {
8349
8434
  additionalProperties: false;
8350
8435
  };
8351
8436
  };
8352
- entities: {
8437
+ channels: {
8353
8438
  type: "object";
8354
8439
  additionalProperties: {
8355
8440
  type: "object";
@@ -8364,13 +8449,23 @@ export declare const state: {
8364
8449
  maxLength: number;
8365
8450
  description: string;
8366
8451
  };
8367
- schema: {
8452
+ messages: {
8368
8453
  type: "object";
8369
- additionalProperties: true;
8454
+ additionalProperties: {
8455
+ type: "object";
8456
+ properties: {
8457
+ schema: {
8458
+ type: "object";
8459
+ additionalProperties: true;
8460
+ };
8461
+ };
8462
+ required: string[];
8463
+ description: string;
8464
+ additionalProperties: false;
8465
+ };
8370
8466
  };
8371
8467
  };
8372
8468
  required: string[];
8373
- description: string;
8374
8469
  additionalProperties: false;
8375
8470
  };
8376
8471
  };
@@ -8490,6 +8585,32 @@ export declare const state: {
8490
8585
  schema: {
8491
8586
  type: "object";
8492
8587
  properties: {
8588
+ entities: {
8589
+ type: "object";
8590
+ additionalProperties: {
8591
+ type: "object";
8592
+ properties: {
8593
+ title: {
8594
+ type: "string";
8595
+ maxLength: number;
8596
+ description: string;
8597
+ };
8598
+ description: {
8599
+ type: "string";
8600
+ maxLength: number;
8601
+ description: string;
8602
+ };
8603
+ schema: {
8604
+ type: "object";
8605
+ additionalProperties: true;
8606
+ };
8607
+ };
8608
+ required: string[];
8609
+ description: string;
8610
+ nullable: true;
8611
+ additionalProperties: false;
8612
+ };
8613
+ };
8493
8614
  events: {
8494
8615
  type: "object";
8495
8616
  additionalProperties: {
@@ -8566,7 +8687,7 @@ export declare const state: {
8566
8687
  additionalProperties: false;
8567
8688
  };
8568
8689
  };
8569
- entities: {
8690
+ channels: {
8570
8691
  type: "object";
8571
8692
  additionalProperties: {
8572
8693
  type: "object";
@@ -8581,13 +8702,23 @@ export declare const state: {
8581
8702
  maxLength: number;
8582
8703
  description: string;
8583
8704
  };
8584
- schema: {
8705
+ messages: {
8585
8706
  type: "object";
8586
- additionalProperties: true;
8707
+ additionalProperties: {
8708
+ type: "object";
8709
+ properties: {
8710
+ schema: {
8711
+ type: "object";
8712
+ additionalProperties: true;
8713
+ };
8714
+ };
8715
+ required: string[];
8716
+ description: string;
8717
+ nullable: true;
8718
+ additionalProperties: false;
8719
+ };
8587
8720
  };
8588
8721
  };
8589
- required: string[];
8590
- description: string;
8591
8722
  nullable: true;
8592
8723
  additionalProperties: false;
8593
8724
  };
@@ -8847,6 +8978,75 @@ export declare const state: {
8847
8978
  };
8848
8979
  };
8849
8980
  };
8981
+ listUsageActivity: {
8982
+ name: string;
8983
+ path: string;
8984
+ method: "get";
8985
+ description: string;
8986
+ parameters: {
8987
+ type: {
8988
+ in: "query";
8989
+ description: string;
8990
+ type: "string";
8991
+ enum: string[];
8992
+ required: true;
8993
+ };
8994
+ id: {
8995
+ type: "string";
8996
+ description: string;
8997
+ in: "path";
8998
+ };
8999
+ nextToken: {
9000
+ in: "query";
9001
+ description: string;
9002
+ type: "string";
9003
+ };
9004
+ };
9005
+ response: {
9006
+ description: string;
9007
+ schema: {
9008
+ type: "object";
9009
+ properties: {
9010
+ data: {
9011
+ type: "array";
9012
+ items: {
9013
+ type: "object";
9014
+ properties: {
9015
+ timestamp: {
9016
+ type: "string";
9017
+ };
9018
+ value: {
9019
+ type: "number";
9020
+ };
9021
+ period: {
9022
+ type: "string";
9023
+ };
9024
+ metadata: {
9025
+ type: "object";
9026
+ additionalProperties: {
9027
+ nullable: true;
9028
+ };
9029
+ };
9030
+ };
9031
+ required: string[];
9032
+ };
9033
+ };
9034
+ meta: {
9035
+ type: "object";
9036
+ properties: {
9037
+ nextToken: {
9038
+ type: "string";
9039
+ };
9040
+ };
9041
+ additionalProperties: false;
9042
+ };
9043
+ };
9044
+ required: string[];
9045
+ title: string;
9046
+ additionalProperties: false;
9047
+ };
9048
+ };
9049
+ };
8850
9050
  changeAISpendQuota: {
8851
9051
  name: string;
8852
9052
  path: string;
@@ -10790,6 +10990,7 @@ export declare const state: {
10790
10990
  getUsageResponse: true;
10791
10991
  getMultipleUsagesResponse: true;
10792
10992
  listUsageHistoryResponse: true;
10993
+ listUsageActivityResponse: true;
10793
10994
  changeAISpendQuotaResponse: true;
10794
10995
  listActivitiesResponse: true;
10795
10996
  introspectResponse: true;
@@ -11333,6 +11534,7 @@ export declare const state: {
11333
11534
  type: "string";
11334
11535
  minLength: number;
11335
11536
  maxLength: number;
11537
+ description: string;
11336
11538
  };
11337
11539
  name: {
11338
11540
  type: "string";
@@ -11381,6 +11583,20 @@ export declare const state: {
11381
11583
  additionalProperties: false;
11382
11584
  };
11383
11585
  };
11586
+ channels: {
11587
+ type: "object";
11588
+ additionalProperties: {
11589
+ type: "object";
11590
+ properties: {
11591
+ name: {
11592
+ type: "string";
11593
+ maxLength: number;
11594
+ };
11595
+ };
11596
+ required: string[];
11597
+ additionalProperties: false;
11598
+ };
11599
+ };
11384
11600
  };
11385
11601
  required: string[];
11386
11602
  additionalProperties: false;
@@ -11818,6 +12034,31 @@ export declare const state: {
11818
12034
  maxLength: number;
11819
12035
  description: string;
11820
12036
  };
12037
+ entities: {
12038
+ type: "object";
12039
+ additionalProperties: {
12040
+ type: "object";
12041
+ properties: {
12042
+ title: {
12043
+ type: "string";
12044
+ maxLength: number;
12045
+ description: string;
12046
+ };
12047
+ description: {
12048
+ type: "string";
12049
+ maxLength: number;
12050
+ description: string;
12051
+ };
12052
+ schema: {
12053
+ type: "object";
12054
+ additionalProperties: true;
12055
+ };
12056
+ };
12057
+ required: string[];
12058
+ description: string;
12059
+ additionalProperties: false;
12060
+ };
12061
+ };
11821
12062
  events: {
11822
12063
  type: "object";
11823
12064
  additionalProperties: {
@@ -11892,7 +12133,7 @@ export declare const state: {
11892
12133
  additionalProperties: false;
11893
12134
  };
11894
12135
  };
11895
- entities: {
12136
+ channels: {
11896
12137
  type: "object";
11897
12138
  additionalProperties: {
11898
12139
  type: "object";
@@ -11907,13 +12148,23 @@ export declare const state: {
11907
12148
  maxLength: number;
11908
12149
  description: string;
11909
12150
  };
11910
- schema: {
12151
+ messages: {
11911
12152
  type: "object";
11912
- additionalProperties: true;
12153
+ additionalProperties: {
12154
+ type: "object";
12155
+ properties: {
12156
+ schema: {
12157
+ type: "object";
12158
+ additionalProperties: true;
12159
+ };
12160
+ };
12161
+ required: string[];
12162
+ description: string;
12163
+ additionalProperties: false;
12164
+ };
11913
12165
  };
11914
12166
  };
11915
12167
  required: string[];
11916
- description: string;
11917
12168
  additionalProperties: false;
11918
12169
  };
11919
12170
  };
@@ -12808,6 +13059,10 @@ export declare const state: {
12808
13059
  type: "number";
12809
13060
  description: string;
12810
13061
  };
13062
+ schemaId: {
13063
+ type: "string";
13064
+ description: string;
13065
+ };
12811
13066
  computed: {
12812
13067
  type: "object";
12813
13068
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.43.2",
3
+ "version": "0.44.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {