@botpress/api 0.3.1 → 0.3.3
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/gen/state.d.ts +165 -1
- package/dist/index.js +1216 -2112
- package/package.json +10 -10
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +175 -4
package/dist/gen/state.d.ts
CHANGED
|
@@ -1367,6 +1367,16 @@ export declare const state: {
|
|
|
1367
1367
|
additionalProperties: {
|
|
1368
1368
|
type: "object";
|
|
1369
1369
|
properties: {
|
|
1370
|
+
title: {
|
|
1371
|
+
type: "string";
|
|
1372
|
+
maxLength: number;
|
|
1373
|
+
description: string;
|
|
1374
|
+
};
|
|
1375
|
+
description: {
|
|
1376
|
+
type: "string";
|
|
1377
|
+
maxLength: number;
|
|
1378
|
+
description: string;
|
|
1379
|
+
};
|
|
1370
1380
|
schema: {
|
|
1371
1381
|
type: "object";
|
|
1372
1382
|
additionalProperties: true;
|
|
@@ -1432,10 +1442,12 @@ export declare const state: {
|
|
|
1432
1442
|
properties: {
|
|
1433
1443
|
title: {
|
|
1434
1444
|
type: "string";
|
|
1445
|
+
maxLength: number;
|
|
1435
1446
|
description: string;
|
|
1436
1447
|
};
|
|
1437
1448
|
description: {
|
|
1438
1449
|
type: "string";
|
|
1450
|
+
maxLength: number;
|
|
1439
1451
|
description: string;
|
|
1440
1452
|
};
|
|
1441
1453
|
};
|
|
@@ -1456,10 +1468,12 @@ export declare const state: {
|
|
|
1456
1468
|
properties: {
|
|
1457
1469
|
title: {
|
|
1458
1470
|
type: "string";
|
|
1471
|
+
maxLength: number;
|
|
1459
1472
|
description: string;
|
|
1460
1473
|
};
|
|
1461
1474
|
description: {
|
|
1462
1475
|
type: "string";
|
|
1476
|
+
maxLength: number;
|
|
1463
1477
|
description: string;
|
|
1464
1478
|
};
|
|
1465
1479
|
};
|
|
@@ -1480,10 +1494,12 @@ export declare const state: {
|
|
|
1480
1494
|
properties: {
|
|
1481
1495
|
title: {
|
|
1482
1496
|
type: "string";
|
|
1497
|
+
maxLength: number;
|
|
1483
1498
|
description: string;
|
|
1484
1499
|
};
|
|
1485
1500
|
description: {
|
|
1486
1501
|
type: "string";
|
|
1502
|
+
maxLength: number;
|
|
1487
1503
|
description: string;
|
|
1488
1504
|
};
|
|
1489
1505
|
};
|
|
@@ -1604,10 +1620,12 @@ export declare const state: {
|
|
|
1604
1620
|
properties: {
|
|
1605
1621
|
title: {
|
|
1606
1622
|
type: "string";
|
|
1623
|
+
maxLength: number;
|
|
1607
1624
|
description: string;
|
|
1608
1625
|
};
|
|
1609
1626
|
description: {
|
|
1610
1627
|
type: "string";
|
|
1628
|
+
maxLength: number;
|
|
1611
1629
|
description: string;
|
|
1612
1630
|
};
|
|
1613
1631
|
};
|
|
@@ -1629,10 +1647,12 @@ export declare const state: {
|
|
|
1629
1647
|
properties: {
|
|
1630
1648
|
title: {
|
|
1631
1649
|
type: "string";
|
|
1650
|
+
maxLength: number;
|
|
1632
1651
|
description: string;
|
|
1633
1652
|
};
|
|
1634
1653
|
description: {
|
|
1635
1654
|
type: "string";
|
|
1655
|
+
maxLength: number;
|
|
1636
1656
|
description: string;
|
|
1637
1657
|
};
|
|
1638
1658
|
};
|
|
@@ -1654,10 +1674,12 @@ export declare const state: {
|
|
|
1654
1674
|
properties: {
|
|
1655
1675
|
title: {
|
|
1656
1676
|
type: "string";
|
|
1677
|
+
maxLength: number;
|
|
1657
1678
|
description: string;
|
|
1658
1679
|
};
|
|
1659
1680
|
description: {
|
|
1660
1681
|
type: "string";
|
|
1682
|
+
maxLength: number;
|
|
1661
1683
|
description: string;
|
|
1662
1684
|
};
|
|
1663
1685
|
};
|
|
@@ -1674,6 +1696,16 @@ export declare const state: {
|
|
|
1674
1696
|
additionalProperties: {
|
|
1675
1697
|
type: "object";
|
|
1676
1698
|
properties: {
|
|
1699
|
+
title: {
|
|
1700
|
+
type: "string";
|
|
1701
|
+
maxLength: number;
|
|
1702
|
+
description: string;
|
|
1703
|
+
};
|
|
1704
|
+
description: {
|
|
1705
|
+
type: "string";
|
|
1706
|
+
maxLength: number;
|
|
1707
|
+
description: string;
|
|
1708
|
+
};
|
|
1677
1709
|
schema: {
|
|
1678
1710
|
type: "object";
|
|
1679
1711
|
additionalProperties: true;
|
|
@@ -1752,7 +1784,6 @@ export declare const state: {
|
|
|
1752
1784
|
additionalProperties: true;
|
|
1753
1785
|
};
|
|
1754
1786
|
};
|
|
1755
|
-
required: string[];
|
|
1756
1787
|
nullable: true;
|
|
1757
1788
|
additionalProperties: false;
|
|
1758
1789
|
};
|
|
@@ -2357,6 +2388,16 @@ export declare const state: {
|
|
|
2357
2388
|
additionalProperties: {
|
|
2358
2389
|
type: "object";
|
|
2359
2390
|
properties: {
|
|
2391
|
+
title: {
|
|
2392
|
+
type: "string";
|
|
2393
|
+
maxLength: number;
|
|
2394
|
+
description: string;
|
|
2395
|
+
};
|
|
2396
|
+
description: {
|
|
2397
|
+
type: "string";
|
|
2398
|
+
maxLength: number;
|
|
2399
|
+
description: string;
|
|
2400
|
+
};
|
|
2360
2401
|
schema: {
|
|
2361
2402
|
type: "object";
|
|
2362
2403
|
additionalProperties: true;
|
|
@@ -2372,6 +2413,16 @@ export declare const state: {
|
|
|
2372
2413
|
additionalProperties: {
|
|
2373
2414
|
type: "object";
|
|
2374
2415
|
properties: {
|
|
2416
|
+
title: {
|
|
2417
|
+
type: "string";
|
|
2418
|
+
maxLength: number;
|
|
2419
|
+
description: string;
|
|
2420
|
+
};
|
|
2421
|
+
description: {
|
|
2422
|
+
type: "string";
|
|
2423
|
+
maxLength: number;
|
|
2424
|
+
description: string;
|
|
2425
|
+
};
|
|
2375
2426
|
input: {
|
|
2376
2427
|
type: "object";
|
|
2377
2428
|
properties: {
|
|
@@ -2405,6 +2456,16 @@ export declare const state: {
|
|
|
2405
2456
|
additionalProperties: {
|
|
2406
2457
|
type: "object";
|
|
2407
2458
|
properties: {
|
|
2459
|
+
title: {
|
|
2460
|
+
type: "string";
|
|
2461
|
+
maxLength: number;
|
|
2462
|
+
description: string;
|
|
2463
|
+
};
|
|
2464
|
+
description: {
|
|
2465
|
+
type: "string";
|
|
2466
|
+
maxLength: number;
|
|
2467
|
+
description: string;
|
|
2468
|
+
};
|
|
2408
2469
|
messages: {
|
|
2409
2470
|
type: "object";
|
|
2410
2471
|
additionalProperties: {
|
|
@@ -2449,10 +2510,12 @@ export declare const state: {
|
|
|
2449
2510
|
properties: {
|
|
2450
2511
|
title: {
|
|
2451
2512
|
type: "string";
|
|
2513
|
+
maxLength: number;
|
|
2452
2514
|
description: string;
|
|
2453
2515
|
};
|
|
2454
2516
|
description: {
|
|
2455
2517
|
type: "string";
|
|
2518
|
+
maxLength: number;
|
|
2456
2519
|
description: string;
|
|
2457
2520
|
};
|
|
2458
2521
|
};
|
|
@@ -2473,10 +2536,12 @@ export declare const state: {
|
|
|
2473
2536
|
properties: {
|
|
2474
2537
|
title: {
|
|
2475
2538
|
type: "string";
|
|
2539
|
+
maxLength: number;
|
|
2476
2540
|
description: string;
|
|
2477
2541
|
};
|
|
2478
2542
|
description: {
|
|
2479
2543
|
type: "string";
|
|
2544
|
+
maxLength: number;
|
|
2480
2545
|
description: string;
|
|
2481
2546
|
};
|
|
2482
2547
|
};
|
|
@@ -2521,10 +2586,12 @@ export declare const state: {
|
|
|
2521
2586
|
properties: {
|
|
2522
2587
|
title: {
|
|
2523
2588
|
type: "string";
|
|
2589
|
+
maxLength: number;
|
|
2524
2590
|
description: string;
|
|
2525
2591
|
};
|
|
2526
2592
|
description: {
|
|
2527
2593
|
type: "string";
|
|
2594
|
+
maxLength: number;
|
|
2528
2595
|
description: string;
|
|
2529
2596
|
};
|
|
2530
2597
|
};
|
|
@@ -2624,6 +2691,16 @@ export declare const state: {
|
|
|
2624
2691
|
additionalProperties: {
|
|
2625
2692
|
type: "object";
|
|
2626
2693
|
properties: {
|
|
2694
|
+
title: {
|
|
2695
|
+
type: "string";
|
|
2696
|
+
maxLength: number;
|
|
2697
|
+
description: string;
|
|
2698
|
+
};
|
|
2699
|
+
description: {
|
|
2700
|
+
type: "string";
|
|
2701
|
+
maxLength: number;
|
|
2702
|
+
description: string;
|
|
2703
|
+
};
|
|
2627
2704
|
messages: {
|
|
2628
2705
|
type: "object";
|
|
2629
2706
|
additionalProperties: {
|
|
@@ -2669,10 +2746,12 @@ export declare const state: {
|
|
|
2669
2746
|
properties: {
|
|
2670
2747
|
title: {
|
|
2671
2748
|
type: "string";
|
|
2749
|
+
maxLength: number;
|
|
2672
2750
|
description: string;
|
|
2673
2751
|
};
|
|
2674
2752
|
description: {
|
|
2675
2753
|
type: "string";
|
|
2754
|
+
maxLength: number;
|
|
2676
2755
|
description: string;
|
|
2677
2756
|
};
|
|
2678
2757
|
};
|
|
@@ -2694,10 +2773,12 @@ export declare const state: {
|
|
|
2694
2773
|
properties: {
|
|
2695
2774
|
title: {
|
|
2696
2775
|
type: "string";
|
|
2776
|
+
maxLength: number;
|
|
2697
2777
|
description: string;
|
|
2698
2778
|
};
|
|
2699
2779
|
description: {
|
|
2700
2780
|
type: "string";
|
|
2781
|
+
maxLength: number;
|
|
2701
2782
|
description: string;
|
|
2702
2783
|
};
|
|
2703
2784
|
};
|
|
@@ -2710,6 +2791,7 @@ export declare const state: {
|
|
|
2710
2791
|
additionalProperties: false;
|
|
2711
2792
|
};
|
|
2712
2793
|
};
|
|
2794
|
+
nullable: true;
|
|
2713
2795
|
additionalProperties: false;
|
|
2714
2796
|
};
|
|
2715
2797
|
};
|
|
@@ -2718,6 +2800,16 @@ export declare const state: {
|
|
|
2718
2800
|
additionalProperties: {
|
|
2719
2801
|
type: "object";
|
|
2720
2802
|
properties: {
|
|
2803
|
+
title: {
|
|
2804
|
+
type: "string";
|
|
2805
|
+
maxLength: number;
|
|
2806
|
+
description: string;
|
|
2807
|
+
};
|
|
2808
|
+
description: {
|
|
2809
|
+
type: "string";
|
|
2810
|
+
maxLength: number;
|
|
2811
|
+
description: string;
|
|
2812
|
+
};
|
|
2721
2813
|
input: {
|
|
2722
2814
|
type: "object";
|
|
2723
2815
|
properties: {
|
|
@@ -2752,6 +2844,16 @@ export declare const state: {
|
|
|
2752
2844
|
additionalProperties: {
|
|
2753
2845
|
type: "object";
|
|
2754
2846
|
properties: {
|
|
2847
|
+
title: {
|
|
2848
|
+
type: "string";
|
|
2849
|
+
maxLength: number;
|
|
2850
|
+
description: string;
|
|
2851
|
+
};
|
|
2852
|
+
description: {
|
|
2853
|
+
type: "string";
|
|
2854
|
+
maxLength: number;
|
|
2855
|
+
description: string;
|
|
2856
|
+
};
|
|
2755
2857
|
schema: {
|
|
2756
2858
|
type: "object";
|
|
2757
2859
|
additionalProperties: true;
|
|
@@ -2814,10 +2916,12 @@ export declare const state: {
|
|
|
2814
2916
|
properties: {
|
|
2815
2917
|
title: {
|
|
2816
2918
|
type: "string";
|
|
2919
|
+
maxLength: number;
|
|
2817
2920
|
description: string;
|
|
2818
2921
|
};
|
|
2819
2922
|
description: {
|
|
2820
2923
|
type: "string";
|
|
2924
|
+
maxLength: number;
|
|
2821
2925
|
description: string;
|
|
2822
2926
|
};
|
|
2823
2927
|
};
|
|
@@ -3531,6 +3635,10 @@ export declare const state: {
|
|
|
3531
3635
|
status: 409;
|
|
3532
3636
|
type: string;
|
|
3533
3637
|
description: string;
|
|
3638
|
+
} | {
|
|
3639
|
+
status: 429;
|
|
3640
|
+
type: string;
|
|
3641
|
+
description: string;
|
|
3534
3642
|
})[];
|
|
3535
3643
|
refs: {
|
|
3536
3644
|
parameters: {};
|
|
@@ -3682,6 +3790,10 @@ export declare const state: {
|
|
|
3682
3790
|
type: "string";
|
|
3683
3791
|
enum: string[];
|
|
3684
3792
|
};
|
|
3793
|
+
statusReason: {
|
|
3794
|
+
type: "string";
|
|
3795
|
+
nullable: true;
|
|
3796
|
+
};
|
|
3685
3797
|
};
|
|
3686
3798
|
required: string[];
|
|
3687
3799
|
additionalProperties: false;
|
|
@@ -3698,10 +3810,12 @@ export declare const state: {
|
|
|
3698
3810
|
properties: {
|
|
3699
3811
|
title: {
|
|
3700
3812
|
type: "string";
|
|
3813
|
+
maxLength: number;
|
|
3701
3814
|
description: string;
|
|
3702
3815
|
};
|
|
3703
3816
|
description: {
|
|
3704
3817
|
type: "string";
|
|
3818
|
+
maxLength: number;
|
|
3705
3819
|
description: string;
|
|
3706
3820
|
};
|
|
3707
3821
|
};
|
|
@@ -3724,10 +3838,12 @@ export declare const state: {
|
|
|
3724
3838
|
properties: {
|
|
3725
3839
|
title: {
|
|
3726
3840
|
type: "string";
|
|
3841
|
+
maxLength: number;
|
|
3727
3842
|
description: string;
|
|
3728
3843
|
};
|
|
3729
3844
|
description: {
|
|
3730
3845
|
type: "string";
|
|
3846
|
+
maxLength: number;
|
|
3731
3847
|
description: string;
|
|
3732
3848
|
};
|
|
3733
3849
|
};
|
|
@@ -3750,10 +3866,12 @@ export declare const state: {
|
|
|
3750
3866
|
properties: {
|
|
3751
3867
|
title: {
|
|
3752
3868
|
type: "string";
|
|
3869
|
+
maxLength: number;
|
|
3753
3870
|
description: string;
|
|
3754
3871
|
};
|
|
3755
3872
|
description: {
|
|
3756
3873
|
type: "string";
|
|
3874
|
+
maxLength: number;
|
|
3757
3875
|
description: string;
|
|
3758
3876
|
};
|
|
3759
3877
|
};
|
|
@@ -3815,6 +3933,16 @@ export declare const state: {
|
|
|
3815
3933
|
additionalProperties: {
|
|
3816
3934
|
type: "object";
|
|
3817
3935
|
properties: {
|
|
3936
|
+
title: {
|
|
3937
|
+
type: "string";
|
|
3938
|
+
maxLength: number;
|
|
3939
|
+
description: string;
|
|
3940
|
+
};
|
|
3941
|
+
description: {
|
|
3942
|
+
type: "string";
|
|
3943
|
+
maxLength: number;
|
|
3944
|
+
description: string;
|
|
3945
|
+
};
|
|
3818
3946
|
schema: {
|
|
3819
3947
|
type: "object";
|
|
3820
3948
|
additionalProperties: true;
|
|
@@ -3939,6 +4067,16 @@ export declare const state: {
|
|
|
3939
4067
|
additionalProperties: {
|
|
3940
4068
|
type: "object";
|
|
3941
4069
|
properties: {
|
|
4070
|
+
title: {
|
|
4071
|
+
type: "string";
|
|
4072
|
+
maxLength: number;
|
|
4073
|
+
description: string;
|
|
4074
|
+
};
|
|
4075
|
+
description: {
|
|
4076
|
+
type: "string";
|
|
4077
|
+
maxLength: number;
|
|
4078
|
+
description: string;
|
|
4079
|
+
};
|
|
3942
4080
|
messages: {
|
|
3943
4081
|
type: "object";
|
|
3944
4082
|
additionalProperties: {
|
|
@@ -3964,10 +4102,12 @@ export declare const state: {
|
|
|
3964
4102
|
properties: {
|
|
3965
4103
|
title: {
|
|
3966
4104
|
type: "string";
|
|
4105
|
+
maxLength: number;
|
|
3967
4106
|
description: string;
|
|
3968
4107
|
};
|
|
3969
4108
|
description: {
|
|
3970
4109
|
type: "string";
|
|
4110
|
+
maxLength: number;
|
|
3971
4111
|
description: string;
|
|
3972
4112
|
};
|
|
3973
4113
|
};
|
|
@@ -4009,10 +4149,12 @@ export declare const state: {
|
|
|
4009
4149
|
properties: {
|
|
4010
4150
|
title: {
|
|
4011
4151
|
type: "string";
|
|
4152
|
+
maxLength: number;
|
|
4012
4153
|
description: string;
|
|
4013
4154
|
};
|
|
4014
4155
|
description: {
|
|
4015
4156
|
type: "string";
|
|
4157
|
+
maxLength: number;
|
|
4016
4158
|
description: string;
|
|
4017
4159
|
};
|
|
4018
4160
|
};
|
|
@@ -4057,6 +4199,16 @@ export declare const state: {
|
|
|
4057
4199
|
additionalProperties: {
|
|
4058
4200
|
type: "object";
|
|
4059
4201
|
properties: {
|
|
4202
|
+
title: {
|
|
4203
|
+
type: "string";
|
|
4204
|
+
maxLength: number;
|
|
4205
|
+
description: string;
|
|
4206
|
+
};
|
|
4207
|
+
description: {
|
|
4208
|
+
type: "string";
|
|
4209
|
+
maxLength: number;
|
|
4210
|
+
description: string;
|
|
4211
|
+
};
|
|
4060
4212
|
schema: {
|
|
4061
4213
|
type: "object";
|
|
4062
4214
|
additionalProperties: true;
|
|
@@ -4072,6 +4224,16 @@ export declare const state: {
|
|
|
4072
4224
|
additionalProperties: {
|
|
4073
4225
|
type: "object";
|
|
4074
4226
|
properties: {
|
|
4227
|
+
title: {
|
|
4228
|
+
type: "string";
|
|
4229
|
+
maxLength: number;
|
|
4230
|
+
description: string;
|
|
4231
|
+
};
|
|
4232
|
+
description: {
|
|
4233
|
+
type: "string";
|
|
4234
|
+
maxLength: number;
|
|
4235
|
+
description: string;
|
|
4236
|
+
};
|
|
4075
4237
|
input: {
|
|
4076
4238
|
type: "object";
|
|
4077
4239
|
properties: {
|
|
@@ -4110,10 +4272,12 @@ export declare const state: {
|
|
|
4110
4272
|
properties: {
|
|
4111
4273
|
title: {
|
|
4112
4274
|
type: "string";
|
|
4275
|
+
maxLength: number;
|
|
4113
4276
|
description: string;
|
|
4114
4277
|
};
|
|
4115
4278
|
description: {
|
|
4116
4279
|
type: "string";
|
|
4280
|
+
maxLength: number;
|
|
4117
4281
|
description: string;
|
|
4118
4282
|
};
|
|
4119
4283
|
};
|