@botpress/api 0.3.1 → 0.3.2
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 -0
- package/dist/index.js +1216 -2111
- 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 -3
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;
|
|
@@ -2357,6 +2389,16 @@ export declare const state: {
|
|
|
2357
2389
|
additionalProperties: {
|
|
2358
2390
|
type: "object";
|
|
2359
2391
|
properties: {
|
|
2392
|
+
title: {
|
|
2393
|
+
type: "string";
|
|
2394
|
+
maxLength: number;
|
|
2395
|
+
description: string;
|
|
2396
|
+
};
|
|
2397
|
+
description: {
|
|
2398
|
+
type: "string";
|
|
2399
|
+
maxLength: number;
|
|
2400
|
+
description: string;
|
|
2401
|
+
};
|
|
2360
2402
|
schema: {
|
|
2361
2403
|
type: "object";
|
|
2362
2404
|
additionalProperties: true;
|
|
@@ -2372,6 +2414,16 @@ export declare const state: {
|
|
|
2372
2414
|
additionalProperties: {
|
|
2373
2415
|
type: "object";
|
|
2374
2416
|
properties: {
|
|
2417
|
+
title: {
|
|
2418
|
+
type: "string";
|
|
2419
|
+
maxLength: number;
|
|
2420
|
+
description: string;
|
|
2421
|
+
};
|
|
2422
|
+
description: {
|
|
2423
|
+
type: "string";
|
|
2424
|
+
maxLength: number;
|
|
2425
|
+
description: string;
|
|
2426
|
+
};
|
|
2375
2427
|
input: {
|
|
2376
2428
|
type: "object";
|
|
2377
2429
|
properties: {
|
|
@@ -2405,6 +2457,16 @@ export declare const state: {
|
|
|
2405
2457
|
additionalProperties: {
|
|
2406
2458
|
type: "object";
|
|
2407
2459
|
properties: {
|
|
2460
|
+
title: {
|
|
2461
|
+
type: "string";
|
|
2462
|
+
maxLength: number;
|
|
2463
|
+
description: string;
|
|
2464
|
+
};
|
|
2465
|
+
description: {
|
|
2466
|
+
type: "string";
|
|
2467
|
+
maxLength: number;
|
|
2468
|
+
description: string;
|
|
2469
|
+
};
|
|
2408
2470
|
messages: {
|
|
2409
2471
|
type: "object";
|
|
2410
2472
|
additionalProperties: {
|
|
@@ -2449,10 +2511,12 @@ export declare const state: {
|
|
|
2449
2511
|
properties: {
|
|
2450
2512
|
title: {
|
|
2451
2513
|
type: "string";
|
|
2514
|
+
maxLength: number;
|
|
2452
2515
|
description: string;
|
|
2453
2516
|
};
|
|
2454
2517
|
description: {
|
|
2455
2518
|
type: "string";
|
|
2519
|
+
maxLength: number;
|
|
2456
2520
|
description: string;
|
|
2457
2521
|
};
|
|
2458
2522
|
};
|
|
@@ -2473,10 +2537,12 @@ export declare const state: {
|
|
|
2473
2537
|
properties: {
|
|
2474
2538
|
title: {
|
|
2475
2539
|
type: "string";
|
|
2540
|
+
maxLength: number;
|
|
2476
2541
|
description: string;
|
|
2477
2542
|
};
|
|
2478
2543
|
description: {
|
|
2479
2544
|
type: "string";
|
|
2545
|
+
maxLength: number;
|
|
2480
2546
|
description: string;
|
|
2481
2547
|
};
|
|
2482
2548
|
};
|
|
@@ -2521,10 +2587,12 @@ export declare const state: {
|
|
|
2521
2587
|
properties: {
|
|
2522
2588
|
title: {
|
|
2523
2589
|
type: "string";
|
|
2590
|
+
maxLength: number;
|
|
2524
2591
|
description: string;
|
|
2525
2592
|
};
|
|
2526
2593
|
description: {
|
|
2527
2594
|
type: "string";
|
|
2595
|
+
maxLength: number;
|
|
2528
2596
|
description: string;
|
|
2529
2597
|
};
|
|
2530
2598
|
};
|
|
@@ -2624,6 +2692,16 @@ export declare const state: {
|
|
|
2624
2692
|
additionalProperties: {
|
|
2625
2693
|
type: "object";
|
|
2626
2694
|
properties: {
|
|
2695
|
+
title: {
|
|
2696
|
+
type: "string";
|
|
2697
|
+
maxLength: number;
|
|
2698
|
+
description: string;
|
|
2699
|
+
};
|
|
2700
|
+
description: {
|
|
2701
|
+
type: "string";
|
|
2702
|
+
maxLength: number;
|
|
2703
|
+
description: string;
|
|
2704
|
+
};
|
|
2627
2705
|
messages: {
|
|
2628
2706
|
type: "object";
|
|
2629
2707
|
additionalProperties: {
|
|
@@ -2669,10 +2747,12 @@ export declare const state: {
|
|
|
2669
2747
|
properties: {
|
|
2670
2748
|
title: {
|
|
2671
2749
|
type: "string";
|
|
2750
|
+
maxLength: number;
|
|
2672
2751
|
description: string;
|
|
2673
2752
|
};
|
|
2674
2753
|
description: {
|
|
2675
2754
|
type: "string";
|
|
2755
|
+
maxLength: number;
|
|
2676
2756
|
description: string;
|
|
2677
2757
|
};
|
|
2678
2758
|
};
|
|
@@ -2694,10 +2774,12 @@ export declare const state: {
|
|
|
2694
2774
|
properties: {
|
|
2695
2775
|
title: {
|
|
2696
2776
|
type: "string";
|
|
2777
|
+
maxLength: number;
|
|
2697
2778
|
description: string;
|
|
2698
2779
|
};
|
|
2699
2780
|
description: {
|
|
2700
2781
|
type: "string";
|
|
2782
|
+
maxLength: number;
|
|
2701
2783
|
description: string;
|
|
2702
2784
|
};
|
|
2703
2785
|
};
|
|
@@ -2710,6 +2792,7 @@ export declare const state: {
|
|
|
2710
2792
|
additionalProperties: false;
|
|
2711
2793
|
};
|
|
2712
2794
|
};
|
|
2795
|
+
nullable: true;
|
|
2713
2796
|
additionalProperties: false;
|
|
2714
2797
|
};
|
|
2715
2798
|
};
|
|
@@ -2718,6 +2801,16 @@ export declare const state: {
|
|
|
2718
2801
|
additionalProperties: {
|
|
2719
2802
|
type: "object";
|
|
2720
2803
|
properties: {
|
|
2804
|
+
title: {
|
|
2805
|
+
type: "string";
|
|
2806
|
+
maxLength: number;
|
|
2807
|
+
description: string;
|
|
2808
|
+
};
|
|
2809
|
+
description: {
|
|
2810
|
+
type: "string";
|
|
2811
|
+
maxLength: number;
|
|
2812
|
+
description: string;
|
|
2813
|
+
};
|
|
2721
2814
|
input: {
|
|
2722
2815
|
type: "object";
|
|
2723
2816
|
properties: {
|
|
@@ -2752,6 +2845,16 @@ export declare const state: {
|
|
|
2752
2845
|
additionalProperties: {
|
|
2753
2846
|
type: "object";
|
|
2754
2847
|
properties: {
|
|
2848
|
+
title: {
|
|
2849
|
+
type: "string";
|
|
2850
|
+
maxLength: number;
|
|
2851
|
+
description: string;
|
|
2852
|
+
};
|
|
2853
|
+
description: {
|
|
2854
|
+
type: "string";
|
|
2855
|
+
maxLength: number;
|
|
2856
|
+
description: string;
|
|
2857
|
+
};
|
|
2755
2858
|
schema: {
|
|
2756
2859
|
type: "object";
|
|
2757
2860
|
additionalProperties: true;
|
|
@@ -2814,10 +2917,12 @@ export declare const state: {
|
|
|
2814
2917
|
properties: {
|
|
2815
2918
|
title: {
|
|
2816
2919
|
type: "string";
|
|
2920
|
+
maxLength: number;
|
|
2817
2921
|
description: string;
|
|
2818
2922
|
};
|
|
2819
2923
|
description: {
|
|
2820
2924
|
type: "string";
|
|
2925
|
+
maxLength: number;
|
|
2821
2926
|
description: string;
|
|
2822
2927
|
};
|
|
2823
2928
|
};
|
|
@@ -3531,6 +3636,10 @@ export declare const state: {
|
|
|
3531
3636
|
status: 409;
|
|
3532
3637
|
type: string;
|
|
3533
3638
|
description: string;
|
|
3639
|
+
} | {
|
|
3640
|
+
status: 429;
|
|
3641
|
+
type: string;
|
|
3642
|
+
description: string;
|
|
3534
3643
|
})[];
|
|
3535
3644
|
refs: {
|
|
3536
3645
|
parameters: {};
|
|
@@ -3682,6 +3791,10 @@ export declare const state: {
|
|
|
3682
3791
|
type: "string";
|
|
3683
3792
|
enum: string[];
|
|
3684
3793
|
};
|
|
3794
|
+
statusReason: {
|
|
3795
|
+
type: "string";
|
|
3796
|
+
nullable: true;
|
|
3797
|
+
};
|
|
3685
3798
|
};
|
|
3686
3799
|
required: string[];
|
|
3687
3800
|
additionalProperties: false;
|
|
@@ -3698,10 +3811,12 @@ export declare const state: {
|
|
|
3698
3811
|
properties: {
|
|
3699
3812
|
title: {
|
|
3700
3813
|
type: "string";
|
|
3814
|
+
maxLength: number;
|
|
3701
3815
|
description: string;
|
|
3702
3816
|
};
|
|
3703
3817
|
description: {
|
|
3704
3818
|
type: "string";
|
|
3819
|
+
maxLength: number;
|
|
3705
3820
|
description: string;
|
|
3706
3821
|
};
|
|
3707
3822
|
};
|
|
@@ -3724,10 +3839,12 @@ export declare const state: {
|
|
|
3724
3839
|
properties: {
|
|
3725
3840
|
title: {
|
|
3726
3841
|
type: "string";
|
|
3842
|
+
maxLength: number;
|
|
3727
3843
|
description: string;
|
|
3728
3844
|
};
|
|
3729
3845
|
description: {
|
|
3730
3846
|
type: "string";
|
|
3847
|
+
maxLength: number;
|
|
3731
3848
|
description: string;
|
|
3732
3849
|
};
|
|
3733
3850
|
};
|
|
@@ -3750,10 +3867,12 @@ export declare const state: {
|
|
|
3750
3867
|
properties: {
|
|
3751
3868
|
title: {
|
|
3752
3869
|
type: "string";
|
|
3870
|
+
maxLength: number;
|
|
3753
3871
|
description: string;
|
|
3754
3872
|
};
|
|
3755
3873
|
description: {
|
|
3756
3874
|
type: "string";
|
|
3875
|
+
maxLength: number;
|
|
3757
3876
|
description: string;
|
|
3758
3877
|
};
|
|
3759
3878
|
};
|
|
@@ -3815,6 +3934,16 @@ export declare const state: {
|
|
|
3815
3934
|
additionalProperties: {
|
|
3816
3935
|
type: "object";
|
|
3817
3936
|
properties: {
|
|
3937
|
+
title: {
|
|
3938
|
+
type: "string";
|
|
3939
|
+
maxLength: number;
|
|
3940
|
+
description: string;
|
|
3941
|
+
};
|
|
3942
|
+
description: {
|
|
3943
|
+
type: "string";
|
|
3944
|
+
maxLength: number;
|
|
3945
|
+
description: string;
|
|
3946
|
+
};
|
|
3818
3947
|
schema: {
|
|
3819
3948
|
type: "object";
|
|
3820
3949
|
additionalProperties: true;
|
|
@@ -3939,6 +4068,16 @@ export declare const state: {
|
|
|
3939
4068
|
additionalProperties: {
|
|
3940
4069
|
type: "object";
|
|
3941
4070
|
properties: {
|
|
4071
|
+
title: {
|
|
4072
|
+
type: "string";
|
|
4073
|
+
maxLength: number;
|
|
4074
|
+
description: string;
|
|
4075
|
+
};
|
|
4076
|
+
description: {
|
|
4077
|
+
type: "string";
|
|
4078
|
+
maxLength: number;
|
|
4079
|
+
description: string;
|
|
4080
|
+
};
|
|
3942
4081
|
messages: {
|
|
3943
4082
|
type: "object";
|
|
3944
4083
|
additionalProperties: {
|
|
@@ -3964,10 +4103,12 @@ export declare const state: {
|
|
|
3964
4103
|
properties: {
|
|
3965
4104
|
title: {
|
|
3966
4105
|
type: "string";
|
|
4106
|
+
maxLength: number;
|
|
3967
4107
|
description: string;
|
|
3968
4108
|
};
|
|
3969
4109
|
description: {
|
|
3970
4110
|
type: "string";
|
|
4111
|
+
maxLength: number;
|
|
3971
4112
|
description: string;
|
|
3972
4113
|
};
|
|
3973
4114
|
};
|
|
@@ -4009,10 +4150,12 @@ export declare const state: {
|
|
|
4009
4150
|
properties: {
|
|
4010
4151
|
title: {
|
|
4011
4152
|
type: "string";
|
|
4153
|
+
maxLength: number;
|
|
4012
4154
|
description: string;
|
|
4013
4155
|
};
|
|
4014
4156
|
description: {
|
|
4015
4157
|
type: "string";
|
|
4158
|
+
maxLength: number;
|
|
4016
4159
|
description: string;
|
|
4017
4160
|
};
|
|
4018
4161
|
};
|
|
@@ -4057,6 +4200,16 @@ export declare const state: {
|
|
|
4057
4200
|
additionalProperties: {
|
|
4058
4201
|
type: "object";
|
|
4059
4202
|
properties: {
|
|
4203
|
+
title: {
|
|
4204
|
+
type: "string";
|
|
4205
|
+
maxLength: number;
|
|
4206
|
+
description: string;
|
|
4207
|
+
};
|
|
4208
|
+
description: {
|
|
4209
|
+
type: "string";
|
|
4210
|
+
maxLength: number;
|
|
4211
|
+
description: string;
|
|
4212
|
+
};
|
|
4060
4213
|
schema: {
|
|
4061
4214
|
type: "object";
|
|
4062
4215
|
additionalProperties: true;
|
|
@@ -4072,6 +4225,16 @@ export declare const state: {
|
|
|
4072
4225
|
additionalProperties: {
|
|
4073
4226
|
type: "object";
|
|
4074
4227
|
properties: {
|
|
4228
|
+
title: {
|
|
4229
|
+
type: "string";
|
|
4230
|
+
maxLength: number;
|
|
4231
|
+
description: string;
|
|
4232
|
+
};
|
|
4233
|
+
description: {
|
|
4234
|
+
type: "string";
|
|
4235
|
+
maxLength: number;
|
|
4236
|
+
description: string;
|
|
4237
|
+
};
|
|
4075
4238
|
input: {
|
|
4076
4239
|
type: "object";
|
|
4077
4240
|
properties: {
|
|
@@ -4110,10 +4273,12 @@ export declare const state: {
|
|
|
4110
4273
|
properties: {
|
|
4111
4274
|
title: {
|
|
4112
4275
|
type: "string";
|
|
4276
|
+
maxLength: number;
|
|
4113
4277
|
description: string;
|
|
4114
4278
|
};
|
|
4115
4279
|
description: {
|
|
4116
4280
|
type: "string";
|
|
4281
|
+
maxLength: number;
|
|
4117
4282
|
description: string;
|
|
4118
4283
|
};
|
|
4119
4284
|
};
|