@botpress/api 1.8.0 → 1.10.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.
- package/dist/index.js +954 -280
- package/dist/src/gen/admin/state.d.ts +244 -7
- package/dist/src/gen/files/state.d.ts +55 -0
- package/dist/src/gen/runtime/state.d.ts +55 -0
- package/dist/src/gen/state.d.ts +244 -7
- package/dist/src/gen/tables/state.d.ts +55 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +262 -15
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +62 -2
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +62 -2
- package/src/gen/state.ts +262 -15
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +62 -2
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -3321,6 +3321,14 @@ export declare const state: {
|
|
|
3321
3321
|
type: "object";
|
|
3322
3322
|
additionalProperties: true;
|
|
3323
3323
|
};
|
|
3324
|
+
attributes: {
|
|
3325
|
+
type: "object";
|
|
3326
|
+
additionalProperties: {
|
|
3327
|
+
type: "string";
|
|
3328
|
+
maxLength: number;
|
|
3329
|
+
};
|
|
3330
|
+
description: string;
|
|
3331
|
+
};
|
|
3324
3332
|
};
|
|
3325
3333
|
required: string[];
|
|
3326
3334
|
description: string;
|
|
@@ -3941,6 +3949,14 @@ export declare const state: {
|
|
|
3941
3949
|
type: "object";
|
|
3942
3950
|
additionalProperties: true;
|
|
3943
3951
|
};
|
|
3952
|
+
attributes: {
|
|
3953
|
+
type: "object";
|
|
3954
|
+
additionalProperties: {
|
|
3955
|
+
type: "string";
|
|
3956
|
+
maxLength: number;
|
|
3957
|
+
};
|
|
3958
|
+
description: string;
|
|
3959
|
+
};
|
|
3944
3960
|
};
|
|
3945
3961
|
required: string[];
|
|
3946
3962
|
description: string;
|
|
@@ -4379,6 +4395,14 @@ export declare const state: {
|
|
|
4379
4395
|
type: "object";
|
|
4380
4396
|
additionalProperties: true;
|
|
4381
4397
|
};
|
|
4398
|
+
attributes: {
|
|
4399
|
+
type: "object";
|
|
4400
|
+
additionalProperties: {
|
|
4401
|
+
type: "string";
|
|
4402
|
+
maxLength: number;
|
|
4403
|
+
};
|
|
4404
|
+
description: string;
|
|
4405
|
+
};
|
|
4382
4406
|
};
|
|
4383
4407
|
required: string[];
|
|
4384
4408
|
description: string;
|
|
@@ -4707,6 +4731,14 @@ export declare const state: {
|
|
|
4707
4731
|
type: "object";
|
|
4708
4732
|
additionalProperties: true;
|
|
4709
4733
|
};
|
|
4734
|
+
attributes: {
|
|
4735
|
+
type: "object";
|
|
4736
|
+
additionalProperties: {
|
|
4737
|
+
type: "string";
|
|
4738
|
+
maxLength: number;
|
|
4739
|
+
};
|
|
4740
|
+
description: string;
|
|
4741
|
+
};
|
|
4710
4742
|
};
|
|
4711
4743
|
required: string[];
|
|
4712
4744
|
description: string;
|
|
@@ -5006,6 +5038,14 @@ export declare const state: {
|
|
|
5006
5038
|
type: "object";
|
|
5007
5039
|
additionalProperties: true;
|
|
5008
5040
|
};
|
|
5041
|
+
attributes: {
|
|
5042
|
+
type: "object";
|
|
5043
|
+
additionalProperties: {
|
|
5044
|
+
type: "string";
|
|
5045
|
+
maxLength: number;
|
|
5046
|
+
};
|
|
5047
|
+
description: string;
|
|
5048
|
+
};
|
|
5009
5049
|
};
|
|
5010
5050
|
required: string[];
|
|
5011
5051
|
description: string;
|
|
@@ -5431,9 +5471,17 @@ export declare const state: {
|
|
|
5431
5471
|
type: "object";
|
|
5432
5472
|
additionalProperties: true;
|
|
5433
5473
|
};
|
|
5474
|
+
attributes: {
|
|
5475
|
+
type: "object";
|
|
5476
|
+
additionalProperties: {
|
|
5477
|
+
type: "string";
|
|
5478
|
+
maxLength: number;
|
|
5479
|
+
nullable: true;
|
|
5480
|
+
};
|
|
5481
|
+
description: string;
|
|
5482
|
+
};
|
|
5434
5483
|
};
|
|
5435
5484
|
required: string[];
|
|
5436
|
-
description: string;
|
|
5437
5485
|
nullable: true;
|
|
5438
5486
|
additionalProperties: false;
|
|
5439
5487
|
};
|
|
@@ -5486,12 +5534,12 @@ export declare const state: {
|
|
|
5486
5534
|
additionalProperties: {
|
|
5487
5535
|
type: "string";
|
|
5488
5536
|
maxLength: number;
|
|
5537
|
+
nullable: true;
|
|
5489
5538
|
};
|
|
5490
5539
|
description: string;
|
|
5491
5540
|
};
|
|
5492
5541
|
};
|
|
5493
5542
|
required: string[];
|
|
5494
|
-
description: string;
|
|
5495
5543
|
nullable: true;
|
|
5496
5544
|
additionalProperties: false;
|
|
5497
5545
|
};
|
|
@@ -8571,6 +8619,14 @@ export declare const state: {
|
|
|
8571
8619
|
type: "object";
|
|
8572
8620
|
additionalProperties: true;
|
|
8573
8621
|
};
|
|
8622
|
+
attributes: {
|
|
8623
|
+
type: "object";
|
|
8624
|
+
additionalProperties: {
|
|
8625
|
+
type: "string";
|
|
8626
|
+
maxLength: number;
|
|
8627
|
+
};
|
|
8628
|
+
description: string;
|
|
8629
|
+
};
|
|
8574
8630
|
};
|
|
8575
8631
|
required: string[];
|
|
8576
8632
|
description: string;
|
|
@@ -9102,6 +9158,14 @@ export declare const state: {
|
|
|
9102
9158
|
type: "object";
|
|
9103
9159
|
additionalProperties: true;
|
|
9104
9160
|
};
|
|
9161
|
+
attributes: {
|
|
9162
|
+
type: "object";
|
|
9163
|
+
additionalProperties: {
|
|
9164
|
+
type: "string";
|
|
9165
|
+
maxLength: number;
|
|
9166
|
+
};
|
|
9167
|
+
description: string;
|
|
9168
|
+
};
|
|
9105
9169
|
};
|
|
9106
9170
|
required: string[];
|
|
9107
9171
|
description: string;
|
|
@@ -9789,9 +9853,17 @@ export declare const state: {
|
|
|
9789
9853
|
type: "object";
|
|
9790
9854
|
additionalProperties: true;
|
|
9791
9855
|
};
|
|
9856
|
+
attributes: {
|
|
9857
|
+
type: "object";
|
|
9858
|
+
additionalProperties: {
|
|
9859
|
+
type: "string";
|
|
9860
|
+
maxLength: number;
|
|
9861
|
+
nullable: true;
|
|
9862
|
+
};
|
|
9863
|
+
description: string;
|
|
9864
|
+
};
|
|
9792
9865
|
};
|
|
9793
9866
|
required: string[];
|
|
9794
|
-
description: string;
|
|
9795
9867
|
nullable: true;
|
|
9796
9868
|
additionalProperties: false;
|
|
9797
9869
|
};
|
|
@@ -10342,9 +10414,17 @@ export declare const state: {
|
|
|
10342
10414
|
type: "object";
|
|
10343
10415
|
additionalProperties: true;
|
|
10344
10416
|
};
|
|
10417
|
+
attributes: {
|
|
10418
|
+
type: "object";
|
|
10419
|
+
additionalProperties: {
|
|
10420
|
+
type: "string";
|
|
10421
|
+
maxLength: number;
|
|
10422
|
+
nullable: true;
|
|
10423
|
+
};
|
|
10424
|
+
description: string;
|
|
10425
|
+
};
|
|
10345
10426
|
};
|
|
10346
10427
|
required: string[];
|
|
10347
|
-
description: string;
|
|
10348
10428
|
nullable: true;
|
|
10349
10429
|
additionalProperties: false;
|
|
10350
10430
|
};
|
|
@@ -11071,6 +11151,14 @@ export declare const state: {
|
|
|
11071
11151
|
type: "object";
|
|
11072
11152
|
additionalProperties: true;
|
|
11073
11153
|
};
|
|
11154
|
+
attributes: {
|
|
11155
|
+
type: "object";
|
|
11156
|
+
additionalProperties: {
|
|
11157
|
+
type: "string";
|
|
11158
|
+
maxLength: number;
|
|
11159
|
+
};
|
|
11160
|
+
description: string;
|
|
11161
|
+
};
|
|
11074
11162
|
};
|
|
11075
11163
|
required: string[];
|
|
11076
11164
|
description: string;
|
|
@@ -11185,6 +11273,29 @@ export declare const state: {
|
|
|
11185
11273
|
description: string;
|
|
11186
11274
|
additionalProperties: false;
|
|
11187
11275
|
};
|
|
11276
|
+
icon: {
|
|
11277
|
+
type: "string";
|
|
11278
|
+
description: string;
|
|
11279
|
+
};
|
|
11280
|
+
readme: {
|
|
11281
|
+
type: "string";
|
|
11282
|
+
description: string;
|
|
11283
|
+
};
|
|
11284
|
+
title: {
|
|
11285
|
+
type: "string";
|
|
11286
|
+
minLength: number;
|
|
11287
|
+
maxLength: number;
|
|
11288
|
+
description: string;
|
|
11289
|
+
};
|
|
11290
|
+
description: {
|
|
11291
|
+
type: "string";
|
|
11292
|
+
maxLength: number;
|
|
11293
|
+
description: string;
|
|
11294
|
+
};
|
|
11295
|
+
public: {
|
|
11296
|
+
type: "boolean";
|
|
11297
|
+
description: string;
|
|
11298
|
+
};
|
|
11188
11299
|
};
|
|
11189
11300
|
required: string[];
|
|
11190
11301
|
title: string;
|
|
@@ -11330,9 +11441,17 @@ export declare const state: {
|
|
|
11330
11441
|
type: "object";
|
|
11331
11442
|
additionalProperties: true;
|
|
11332
11443
|
};
|
|
11444
|
+
attributes: {
|
|
11445
|
+
type: "object";
|
|
11446
|
+
additionalProperties: {
|
|
11447
|
+
type: "string";
|
|
11448
|
+
maxLength: number;
|
|
11449
|
+
nullable: true;
|
|
11450
|
+
};
|
|
11451
|
+
description: string;
|
|
11452
|
+
};
|
|
11333
11453
|
};
|
|
11334
11454
|
required: string[];
|
|
11335
|
-
description: string;
|
|
11336
11455
|
nullable: true;
|
|
11337
11456
|
additionalProperties: false;
|
|
11338
11457
|
};
|
|
@@ -11387,6 +11506,7 @@ export declare const state: {
|
|
|
11387
11506
|
maxLength: number;
|
|
11388
11507
|
nullable: true;
|
|
11389
11508
|
};
|
|
11509
|
+
description: string;
|
|
11390
11510
|
};
|
|
11391
11511
|
};
|
|
11392
11512
|
required: string[];
|
|
@@ -11447,6 +11567,29 @@ export declare const state: {
|
|
|
11447
11567
|
nullable: true;
|
|
11448
11568
|
additionalProperties: false;
|
|
11449
11569
|
};
|
|
11570
|
+
icon: {
|
|
11571
|
+
type: "string";
|
|
11572
|
+
description: string;
|
|
11573
|
+
};
|
|
11574
|
+
readme: {
|
|
11575
|
+
type: "string";
|
|
11576
|
+
description: string;
|
|
11577
|
+
};
|
|
11578
|
+
title: {
|
|
11579
|
+
type: "string";
|
|
11580
|
+
minLength: number;
|
|
11581
|
+
maxLength: number;
|
|
11582
|
+
description: string;
|
|
11583
|
+
};
|
|
11584
|
+
description: {
|
|
11585
|
+
type: "string";
|
|
11586
|
+
maxLength: number;
|
|
11587
|
+
description: string;
|
|
11588
|
+
};
|
|
11589
|
+
public: {
|
|
11590
|
+
type: "boolean";
|
|
11591
|
+
description: string;
|
|
11592
|
+
};
|
|
11450
11593
|
};
|
|
11451
11594
|
title: string;
|
|
11452
11595
|
additionalProperties: false;
|
|
@@ -11544,6 +11687,29 @@ export declare const state: {
|
|
|
11544
11687
|
maxLength: number;
|
|
11545
11688
|
description: string;
|
|
11546
11689
|
};
|
|
11690
|
+
title: {
|
|
11691
|
+
type: "string";
|
|
11692
|
+
minLength: number;
|
|
11693
|
+
maxLength: number;
|
|
11694
|
+
description: string;
|
|
11695
|
+
};
|
|
11696
|
+
description: {
|
|
11697
|
+
type: "string";
|
|
11698
|
+
maxLength: number;
|
|
11699
|
+
description: string;
|
|
11700
|
+
};
|
|
11701
|
+
iconUrl: {
|
|
11702
|
+
type: "string";
|
|
11703
|
+
description: string;
|
|
11704
|
+
};
|
|
11705
|
+
readmeUrl: {
|
|
11706
|
+
type: "string";
|
|
11707
|
+
description: string;
|
|
11708
|
+
};
|
|
11709
|
+
public: {
|
|
11710
|
+
type: "boolean";
|
|
11711
|
+
description: string;
|
|
11712
|
+
};
|
|
11547
11713
|
};
|
|
11548
11714
|
required: string[];
|
|
11549
11715
|
};
|
|
@@ -11653,6 +11819,14 @@ export declare const state: {
|
|
|
11653
11819
|
type: "object";
|
|
11654
11820
|
additionalProperties: true;
|
|
11655
11821
|
};
|
|
11822
|
+
attributes: {
|
|
11823
|
+
type: "object";
|
|
11824
|
+
additionalProperties: {
|
|
11825
|
+
type: "string";
|
|
11826
|
+
maxLength: number;
|
|
11827
|
+
};
|
|
11828
|
+
description: string;
|
|
11829
|
+
};
|
|
11656
11830
|
};
|
|
11657
11831
|
required: string[];
|
|
11658
11832
|
description: string;
|
|
@@ -12011,9 +12185,17 @@ export declare const state: {
|
|
|
12011
12185
|
type: "object";
|
|
12012
12186
|
additionalProperties: true;
|
|
12013
12187
|
};
|
|
12188
|
+
attributes: {
|
|
12189
|
+
type: "object";
|
|
12190
|
+
additionalProperties: {
|
|
12191
|
+
type: "string";
|
|
12192
|
+
maxLength: number;
|
|
12193
|
+
nullable: true;
|
|
12194
|
+
};
|
|
12195
|
+
description: string;
|
|
12196
|
+
};
|
|
12014
12197
|
};
|
|
12015
12198
|
required: string[];
|
|
12016
|
-
description: string;
|
|
12017
12199
|
nullable: true;
|
|
12018
12200
|
additionalProperties: false;
|
|
12019
12201
|
};
|
|
@@ -12066,12 +12248,12 @@ export declare const state: {
|
|
|
12066
12248
|
additionalProperties: {
|
|
12067
12249
|
type: "string";
|
|
12068
12250
|
maxLength: number;
|
|
12251
|
+
nullable: true;
|
|
12069
12252
|
};
|
|
12070
12253
|
description: string;
|
|
12071
12254
|
};
|
|
12072
12255
|
};
|
|
12073
12256
|
required: string[];
|
|
12074
|
-
description: string;
|
|
12075
12257
|
nullable: true;
|
|
12076
12258
|
additionalProperties: false;
|
|
12077
12259
|
};
|
|
@@ -15785,6 +15967,14 @@ export declare const state: {
|
|
|
15785
15967
|
type: "object";
|
|
15786
15968
|
additionalProperties: true;
|
|
15787
15969
|
};
|
|
15970
|
+
attributes: {
|
|
15971
|
+
type: "object";
|
|
15972
|
+
additionalProperties: {
|
|
15973
|
+
type: "string";
|
|
15974
|
+
maxLength: number;
|
|
15975
|
+
};
|
|
15976
|
+
description: string;
|
|
15977
|
+
};
|
|
15788
15978
|
};
|
|
15789
15979
|
required: string[];
|
|
15790
15980
|
description: string;
|
|
@@ -16344,6 +16534,14 @@ export declare const state: {
|
|
|
16344
16534
|
type: "object";
|
|
16345
16535
|
additionalProperties: true;
|
|
16346
16536
|
};
|
|
16537
|
+
attributes: {
|
|
16538
|
+
type: "object";
|
|
16539
|
+
additionalProperties: {
|
|
16540
|
+
type: "string";
|
|
16541
|
+
maxLength: number;
|
|
16542
|
+
};
|
|
16543
|
+
description: string;
|
|
16544
|
+
};
|
|
16347
16545
|
};
|
|
16348
16546
|
required: string[];
|
|
16349
16547
|
description: string;
|
|
@@ -16598,6 +16796,14 @@ export declare const state: {
|
|
|
16598
16796
|
type: "object";
|
|
16599
16797
|
additionalProperties: true;
|
|
16600
16798
|
};
|
|
16799
|
+
attributes: {
|
|
16800
|
+
type: "object";
|
|
16801
|
+
additionalProperties: {
|
|
16802
|
+
type: "string";
|
|
16803
|
+
maxLength: number;
|
|
16804
|
+
};
|
|
16805
|
+
description: string;
|
|
16806
|
+
};
|
|
16601
16807
|
};
|
|
16602
16808
|
required: string[];
|
|
16603
16809
|
description: string;
|
|
@@ -16712,6 +16918,29 @@ export declare const state: {
|
|
|
16712
16918
|
description: string;
|
|
16713
16919
|
additionalProperties: false;
|
|
16714
16920
|
};
|
|
16921
|
+
title: {
|
|
16922
|
+
type: "string";
|
|
16923
|
+
minLength: number;
|
|
16924
|
+
maxLength: number;
|
|
16925
|
+
description: string;
|
|
16926
|
+
};
|
|
16927
|
+
description: {
|
|
16928
|
+
type: "string";
|
|
16929
|
+
maxLength: number;
|
|
16930
|
+
description: string;
|
|
16931
|
+
};
|
|
16932
|
+
iconUrl: {
|
|
16933
|
+
type: "string";
|
|
16934
|
+
description: string;
|
|
16935
|
+
};
|
|
16936
|
+
readmeUrl: {
|
|
16937
|
+
type: "string";
|
|
16938
|
+
description: string;
|
|
16939
|
+
};
|
|
16940
|
+
public: {
|
|
16941
|
+
type: "boolean";
|
|
16942
|
+
description: string;
|
|
16943
|
+
};
|
|
16715
16944
|
};
|
|
16716
16945
|
required: string[];
|
|
16717
16946
|
additionalProperties: false;
|
|
@@ -16815,6 +17044,14 @@ export declare const state: {
|
|
|
16815
17044
|
type: "object";
|
|
16816
17045
|
additionalProperties: true;
|
|
16817
17046
|
};
|
|
17047
|
+
attributes: {
|
|
17048
|
+
type: "object";
|
|
17049
|
+
additionalProperties: {
|
|
17050
|
+
type: "string";
|
|
17051
|
+
maxLength: number;
|
|
17052
|
+
};
|
|
17053
|
+
description: string;
|
|
17054
|
+
};
|
|
16818
17055
|
};
|
|
16819
17056
|
required: string[];
|
|
16820
17057
|
description: string;
|
|
@@ -1464,6 +1464,14 @@ export declare const state: {
|
|
|
1464
1464
|
type: "object";
|
|
1465
1465
|
additionalProperties: true;
|
|
1466
1466
|
};
|
|
1467
|
+
attributes: {
|
|
1468
|
+
type: "object";
|
|
1469
|
+
additionalProperties: {
|
|
1470
|
+
type: "string";
|
|
1471
|
+
maxLength: number;
|
|
1472
|
+
};
|
|
1473
|
+
description: string;
|
|
1474
|
+
};
|
|
1467
1475
|
};
|
|
1468
1476
|
required: string[];
|
|
1469
1477
|
description: string;
|
|
@@ -2023,6 +2031,14 @@ export declare const state: {
|
|
|
2023
2031
|
type: "object";
|
|
2024
2032
|
additionalProperties: true;
|
|
2025
2033
|
};
|
|
2034
|
+
attributes: {
|
|
2035
|
+
type: "object";
|
|
2036
|
+
additionalProperties: {
|
|
2037
|
+
type: "string";
|
|
2038
|
+
maxLength: number;
|
|
2039
|
+
};
|
|
2040
|
+
description: string;
|
|
2041
|
+
};
|
|
2026
2042
|
};
|
|
2027
2043
|
required: string[];
|
|
2028
2044
|
description: string;
|
|
@@ -2277,6 +2293,14 @@ export declare const state: {
|
|
|
2277
2293
|
type: "object";
|
|
2278
2294
|
additionalProperties: true;
|
|
2279
2295
|
};
|
|
2296
|
+
attributes: {
|
|
2297
|
+
type: "object";
|
|
2298
|
+
additionalProperties: {
|
|
2299
|
+
type: "string";
|
|
2300
|
+
maxLength: number;
|
|
2301
|
+
};
|
|
2302
|
+
description: string;
|
|
2303
|
+
};
|
|
2280
2304
|
};
|
|
2281
2305
|
required: string[];
|
|
2282
2306
|
description: string;
|
|
@@ -2391,6 +2415,29 @@ export declare const state: {
|
|
|
2391
2415
|
description: string;
|
|
2392
2416
|
additionalProperties: false;
|
|
2393
2417
|
};
|
|
2418
|
+
title: {
|
|
2419
|
+
type: "string";
|
|
2420
|
+
minLength: number;
|
|
2421
|
+
maxLength: number;
|
|
2422
|
+
description: string;
|
|
2423
|
+
};
|
|
2424
|
+
description: {
|
|
2425
|
+
type: "string";
|
|
2426
|
+
maxLength: number;
|
|
2427
|
+
description: string;
|
|
2428
|
+
};
|
|
2429
|
+
iconUrl: {
|
|
2430
|
+
type: "string";
|
|
2431
|
+
description: string;
|
|
2432
|
+
};
|
|
2433
|
+
readmeUrl: {
|
|
2434
|
+
type: "string";
|
|
2435
|
+
description: string;
|
|
2436
|
+
};
|
|
2437
|
+
public: {
|
|
2438
|
+
type: "boolean";
|
|
2439
|
+
description: string;
|
|
2440
|
+
};
|
|
2394
2441
|
};
|
|
2395
2442
|
required: string[];
|
|
2396
2443
|
additionalProperties: false;
|
|
@@ -2494,6 +2541,14 @@ export declare const state: {
|
|
|
2494
2541
|
type: "object";
|
|
2495
2542
|
additionalProperties: true;
|
|
2496
2543
|
};
|
|
2544
|
+
attributes: {
|
|
2545
|
+
type: "object";
|
|
2546
|
+
additionalProperties: {
|
|
2547
|
+
type: "string";
|
|
2548
|
+
maxLength: number;
|
|
2549
|
+
};
|
|
2550
|
+
description: string;
|
|
2551
|
+
};
|
|
2497
2552
|
};
|
|
2498
2553
|
required: string[];
|
|
2499
2554
|
description: string;
|