@botpress/api 0.3.0 → 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.
@@ -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;
@@ -2135,8 +2167,88 @@ export declare const state: {
2135
2167
  updatedAt: {
2136
2168
  type: "string";
2137
2169
  };
2170
+ botCount: {
2171
+ type: "number";
2172
+ };
2173
+ accountType: {
2174
+ type: "string";
2175
+ enum: string[];
2176
+ };
2177
+ blocked: {
2178
+ type: "boolean";
2179
+ };
2180
+ spendingLimit: {
2181
+ type: "number";
2182
+ };
2183
+ };
2184
+ required: string[];
2185
+ title: string;
2186
+ additionalProperties: false;
2187
+ };
2188
+ };
2189
+ };
2190
+ updateWorkspace: {
2191
+ name: string;
2192
+ description: string;
2193
+ method: "put";
2194
+ path: string;
2195
+ parameters: {
2196
+ id: {
2197
+ type: "string";
2198
+ description: string;
2199
+ in: "path";
2200
+ };
2201
+ };
2202
+ requestBody: {
2203
+ description: string;
2204
+ schema: {
2205
+ type: "object";
2206
+ properties: {
2207
+ name: {
2208
+ type: "string";
2209
+ minLength: number;
2210
+ maxLength: number;
2211
+ };
2212
+ accountType: {
2213
+ type: "string";
2214
+ enum: string[];
2215
+ };
2216
+ spendingLimit: {
2217
+ type: "number";
2218
+ minimum: number;
2219
+ maximum: number;
2220
+ };
2221
+ };
2222
+ title: string;
2223
+ additionalProperties: false;
2224
+ };
2225
+ };
2226
+ response: {
2227
+ description: string;
2228
+ schema: {
2229
+ type: "object";
2230
+ properties: {
2231
+ id: {
2232
+ type: "string";
2233
+ };
2234
+ name: {
2235
+ type: "string";
2236
+ };
2237
+ ownerId: {
2238
+ type: "string";
2239
+ };
2240
+ createdAt: {
2241
+ type: "string";
2242
+ };
2243
+ updatedAt: {
2244
+ type: "string";
2245
+ };
2246
+ botCount: {
2247
+ type: "number";
2248
+ };
2138
2249
  accountType: {
2139
2250
  type: "string";
2251
+ enum: string[];
2140
2252
  };
2141
2253
  blocked: {
2142
2254
  type: "boolean";
@@ -2191,6 +2303,13 @@ export declare const state: {
2191
2303
  updatedAt: {
2192
2304
  type: "string";
2193
2305
  };
2306
+ botCount: {
2307
+ type: "number";
2308
+ };
2309
+ accountType: {
2310
+ type: "string";
2311
+ enum: string[];
2312
+ };
2194
2313
  };
2195
2314
  required: string[];
2196
2315
  };
@@ -2270,6 +2389,16 @@ export declare const state: {
2270
2389
  additionalProperties: {
2271
2390
  type: "object";
2272
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
+ };
2273
2402
  schema: {
2274
2403
  type: "object";
2275
2404
  additionalProperties: true;
@@ -2285,6 +2414,16 @@ export declare const state: {
2285
2414
  additionalProperties: {
2286
2415
  type: "object";
2287
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
+ };
2288
2427
  input: {
2289
2428
  type: "object";
2290
2429
  properties: {
@@ -2318,6 +2457,16 @@ export declare const state: {
2318
2457
  additionalProperties: {
2319
2458
  type: "object";
2320
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
+ };
2321
2470
  messages: {
2322
2471
  type: "object";
2323
2472
  additionalProperties: {
@@ -2362,10 +2511,12 @@ export declare const state: {
2362
2511
  properties: {
2363
2512
  title: {
2364
2513
  type: "string";
2514
+ maxLength: number;
2365
2515
  description: string;
2366
2516
  };
2367
2517
  description: {
2368
2518
  type: "string";
2519
+ maxLength: number;
2369
2520
  description: string;
2370
2521
  };
2371
2522
  };
@@ -2386,10 +2537,12 @@ export declare const state: {
2386
2537
  properties: {
2387
2538
  title: {
2388
2539
  type: "string";
2540
+ maxLength: number;
2389
2541
  description: string;
2390
2542
  };
2391
2543
  description: {
2392
2544
  type: "string";
2545
+ maxLength: number;
2393
2546
  description: string;
2394
2547
  };
2395
2548
  };
@@ -2434,10 +2587,12 @@ export declare const state: {
2434
2587
  properties: {
2435
2588
  title: {
2436
2589
  type: "string";
2590
+ maxLength: number;
2437
2591
  description: string;
2438
2592
  };
2439
2593
  description: {
2440
2594
  type: "string";
2595
+ maxLength: number;
2441
2596
  description: string;
2442
2597
  };
2443
2598
  };
@@ -2537,6 +2692,16 @@ export declare const state: {
2537
2692
  additionalProperties: {
2538
2693
  type: "object";
2539
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
+ };
2540
2705
  messages: {
2541
2706
  type: "object";
2542
2707
  additionalProperties: {
@@ -2582,10 +2747,12 @@ export declare const state: {
2582
2747
  properties: {
2583
2748
  title: {
2584
2749
  type: "string";
2750
+ maxLength: number;
2585
2751
  description: string;
2586
2752
  };
2587
2753
  description: {
2588
2754
  type: "string";
2755
+ maxLength: number;
2589
2756
  description: string;
2590
2757
  };
2591
2758
  };
@@ -2607,10 +2774,12 @@ export declare const state: {
2607
2774
  properties: {
2608
2775
  title: {
2609
2776
  type: "string";
2777
+ maxLength: number;
2610
2778
  description: string;
2611
2779
  };
2612
2780
  description: {
2613
2781
  type: "string";
2782
+ maxLength: number;
2614
2783
  description: string;
2615
2784
  };
2616
2785
  };
@@ -2623,6 +2792,7 @@ export declare const state: {
2623
2792
  additionalProperties: false;
2624
2793
  };
2625
2794
  };
2795
+ nullable: true;
2626
2796
  additionalProperties: false;
2627
2797
  };
2628
2798
  };
@@ -2631,6 +2801,16 @@ export declare const state: {
2631
2801
  additionalProperties: {
2632
2802
  type: "object";
2633
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
+ };
2634
2814
  input: {
2635
2815
  type: "object";
2636
2816
  properties: {
@@ -2665,6 +2845,16 @@ export declare const state: {
2665
2845
  additionalProperties: {
2666
2846
  type: "object";
2667
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
+ };
2668
2858
  schema: {
2669
2859
  type: "object";
2670
2860
  additionalProperties: true;
@@ -2727,10 +2917,12 @@ export declare const state: {
2727
2917
  properties: {
2728
2918
  title: {
2729
2919
  type: "string";
2920
+ maxLength: number;
2730
2921
  description: string;
2731
2922
  };
2732
2923
  description: {
2733
2924
  type: "string";
2925
+ maxLength: number;
2734
2926
  description: string;
2735
2927
  };
2736
2928
  };
@@ -3006,6 +3198,187 @@ export declare const state: {
3006
3198
  };
3007
3199
  };
3008
3200
  };
3201
+ listWorkspaceMembers: {
3202
+ name: string;
3203
+ description: string;
3204
+ method: "get";
3205
+ path: string;
3206
+ parameters: {
3207
+ nextToken: {
3208
+ in: "query";
3209
+ description: string;
3210
+ type: "string";
3211
+ };
3212
+ };
3213
+ response: {
3214
+ description: string;
3215
+ schema: {
3216
+ type: "object";
3217
+ properties: {
3218
+ members: {
3219
+ type: "array";
3220
+ items: {
3221
+ type: "object";
3222
+ properties: {
3223
+ id: {
3224
+ type: "string";
3225
+ };
3226
+ userId: {
3227
+ type: "string";
3228
+ format: string;
3229
+ };
3230
+ email: {
3231
+ type: "string";
3232
+ };
3233
+ role: {
3234
+ type: "string";
3235
+ enum: string[];
3236
+ };
3237
+ };
3238
+ required: string[];
3239
+ };
3240
+ };
3241
+ meta: {
3242
+ type: "object";
3243
+ properties: {
3244
+ nextToken: {
3245
+ type: "string";
3246
+ description: string;
3247
+ };
3248
+ };
3249
+ additionalProperties: false;
3250
+ };
3251
+ };
3252
+ required: string[];
3253
+ title: string;
3254
+ additionalProperties: false;
3255
+ };
3256
+ };
3257
+ };
3258
+ deleteWorkspaceMember: {
3259
+ name: string;
3260
+ description: string;
3261
+ method: "delete";
3262
+ path: string;
3263
+ parameters: {
3264
+ id: {
3265
+ type: "string";
3266
+ description: string;
3267
+ in: "path";
3268
+ };
3269
+ };
3270
+ response: {
3271
+ description: string;
3272
+ schema: {
3273
+ type: "object";
3274
+ title: string;
3275
+ additionalProperties: false;
3276
+ };
3277
+ };
3278
+ };
3279
+ createWorkspaceMember: {
3280
+ name: string;
3281
+ description: string;
3282
+ method: "post";
3283
+ path: string;
3284
+ requestBody: {
3285
+ description: string;
3286
+ schema: {
3287
+ type: "object";
3288
+ properties: {
3289
+ email: {
3290
+ type: "string";
3291
+ format: string;
3292
+ };
3293
+ role: {
3294
+ type: "string";
3295
+ enum: string[];
3296
+ };
3297
+ };
3298
+ required: string[];
3299
+ title: string;
3300
+ additionalProperties: false;
3301
+ };
3302
+ };
3303
+ response: {
3304
+ description: string;
3305
+ schema: {
3306
+ type: "object";
3307
+ properties: {
3308
+ id: {
3309
+ type: "string";
3310
+ };
3311
+ userId: {
3312
+ type: "string";
3313
+ format: string;
3314
+ };
3315
+ email: {
3316
+ type: "string";
3317
+ };
3318
+ role: {
3319
+ type: "string";
3320
+ enum: string[];
3321
+ };
3322
+ };
3323
+ required: string[];
3324
+ title: string;
3325
+ additionalProperties: false;
3326
+ };
3327
+ };
3328
+ parameters: {};
3329
+ };
3330
+ updateWorkspaceMember: {
3331
+ name: string;
3332
+ description: string;
3333
+ method: "put";
3334
+ path: string;
3335
+ parameters: {
3336
+ id: {
3337
+ type: "string";
3338
+ description: string;
3339
+ in: "path";
3340
+ };
3341
+ };
3342
+ requestBody: {
3343
+ description: string;
3344
+ schema: {
3345
+ type: "object";
3346
+ properties: {
3347
+ role: {
3348
+ type: "string";
3349
+ enum: string[];
3350
+ };
3351
+ };
3352
+ title: string;
3353
+ additionalProperties: false;
3354
+ };
3355
+ };
3356
+ response: {
3357
+ description: string;
3358
+ schema: {
3359
+ type: "object";
3360
+ properties: {
3361
+ id: {
3362
+ type: "string";
3363
+ };
3364
+ userId: {
3365
+ type: "string";
3366
+ format: string;
3367
+ };
3368
+ email: {
3369
+ type: "string";
3370
+ };
3371
+ role: {
3372
+ type: "string";
3373
+ enum: string[];
3374
+ };
3375
+ };
3376
+ required: string[];
3377
+ title: string;
3378
+ additionalProperties: false;
3379
+ };
3380
+ };
3381
+ };
3009
3382
  introspect: {
3010
3383
  name: string;
3011
3384
  description: string;
@@ -3263,6 +3636,10 @@ export declare const state: {
3263
3636
  status: 409;
3264
3637
  type: string;
3265
3638
  description: string;
3639
+ } | {
3640
+ status: 429;
3641
+ type: string;
3642
+ description: string;
3266
3643
  })[];
3267
3644
  refs: {
3268
3645
  parameters: {};
@@ -3284,8 +3661,11 @@ export declare const state: {
3284
3661
  createBotBody: true;
3285
3662
  updateBotBody: true;
3286
3663
  transferBotBody: true;
3664
+ updateWorkspaceBody: true;
3287
3665
  createIntegrationBody: true;
3288
3666
  updateIntegrationBody: true;
3667
+ createWorkspaceMemberBody: true;
3668
+ updateWorkspaceMemberBody: true;
3289
3669
  introspectBody: true;
3290
3670
  createFileBody: true;
3291
3671
  };
@@ -3329,6 +3709,7 @@ export declare const state: {
3329
3709
  getBotWebchatResponse: true;
3330
3710
  getBotAnalyticsResponse: true;
3331
3711
  getWorkspaceResponse: true;
3712
+ updateWorkspaceResponse: true;
3332
3713
  listWorkspacesResponse: true;
3333
3714
  createIntegrationResponse: true;
3334
3715
  updateIntegrationResponse: true;
@@ -3337,6 +3718,10 @@ export declare const state: {
3337
3718
  getIntegrationLogsResponse: true;
3338
3719
  getIntegrationByNameResponse: true;
3339
3720
  deleteIntegrationResponse: true;
3721
+ listWorkspaceMembersResponse: true;
3722
+ deleteWorkspaceMemberResponse: true;
3723
+ createWorkspaceMemberResponse: true;
3724
+ updateWorkspaceMemberResponse: true;
3340
3725
  introspectResponse: true;
3341
3726
  createFileResponse: true;
3342
3727
  getFileResponse: true;
@@ -3406,6 +3791,10 @@ export declare const state: {
3406
3791
  type: "string";
3407
3792
  enum: string[];
3408
3793
  };
3794
+ statusReason: {
3795
+ type: "string";
3796
+ nullable: true;
3797
+ };
3409
3798
  };
3410
3799
  required: string[];
3411
3800
  additionalProperties: false;
@@ -3422,10 +3811,12 @@ export declare const state: {
3422
3811
  properties: {
3423
3812
  title: {
3424
3813
  type: "string";
3814
+ maxLength: number;
3425
3815
  description: string;
3426
3816
  };
3427
3817
  description: {
3428
3818
  type: "string";
3819
+ maxLength: number;
3429
3820
  description: string;
3430
3821
  };
3431
3822
  };
@@ -3448,10 +3839,12 @@ export declare const state: {
3448
3839
  properties: {
3449
3840
  title: {
3450
3841
  type: "string";
3842
+ maxLength: number;
3451
3843
  description: string;
3452
3844
  };
3453
3845
  description: {
3454
3846
  type: "string";
3847
+ maxLength: number;
3455
3848
  description: string;
3456
3849
  };
3457
3850
  };
@@ -3474,10 +3867,12 @@ export declare const state: {
3474
3867
  properties: {
3475
3868
  title: {
3476
3869
  type: "string";
3870
+ maxLength: number;
3477
3871
  description: string;
3478
3872
  };
3479
3873
  description: {
3480
3874
  type: "string";
3875
+ maxLength: number;
3481
3876
  description: string;
3482
3877
  };
3483
3878
  };
@@ -3539,6 +3934,16 @@ export declare const state: {
3539
3934
  additionalProperties: {
3540
3935
  type: "object";
3541
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
+ };
3542
3947
  schema: {
3543
3948
  type: "object";
3544
3949
  additionalProperties: true;
@@ -3663,6 +4068,16 @@ export declare const state: {
3663
4068
  additionalProperties: {
3664
4069
  type: "object";
3665
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
+ };
3666
4081
  messages: {
3667
4082
  type: "object";
3668
4083
  additionalProperties: {
@@ -3688,10 +4103,12 @@ export declare const state: {
3688
4103
  properties: {
3689
4104
  title: {
3690
4105
  type: "string";
4106
+ maxLength: number;
3691
4107
  description: string;
3692
4108
  };
3693
4109
  description: {
3694
4110
  type: "string";
4111
+ maxLength: number;
3695
4112
  description: string;
3696
4113
  };
3697
4114
  };
@@ -3733,10 +4150,12 @@ export declare const state: {
3733
4150
  properties: {
3734
4151
  title: {
3735
4152
  type: "string";
4153
+ maxLength: number;
3736
4154
  description: string;
3737
4155
  };
3738
4156
  description: {
3739
4157
  type: "string";
4158
+ maxLength: number;
3740
4159
  description: string;
3741
4160
  };
3742
4161
  };
@@ -3781,6 +4200,16 @@ export declare const state: {
3781
4200
  additionalProperties: {
3782
4201
  type: "object";
3783
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
+ };
3784
4213
  schema: {
3785
4214
  type: "object";
3786
4215
  additionalProperties: true;
@@ -3796,6 +4225,16 @@ export declare const state: {
3796
4225
  additionalProperties: {
3797
4226
  type: "object";
3798
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
+ };
3799
4238
  input: {
3800
4239
  type: "object";
3801
4240
  properties: {
@@ -3834,10 +4273,12 @@ export declare const state: {
3834
4273
  properties: {
3835
4274
  title: {
3836
4275
  type: "string";
4276
+ maxLength: number;
3837
4277
  description: string;
3838
4278
  };
3839
4279
  description: {
3840
4280
  type: "string";
4281
+ maxLength: number;
3841
4282
  description: string;
3842
4283
  };
3843
4284
  };
@@ -3917,8 +4358,12 @@ export declare const state: {
3917
4358
  updatedAt: {
3918
4359
  type: "string";
3919
4360
  };
4361
+ botCount: {
4362
+ type: "number";
4363
+ };
3920
4364
  accountType: {
3921
4365
  type: "string";
4366
+ enum: string[];
3922
4367
  };
3923
4368
  blocked: {
3924
4369
  type: "boolean";