@botpress/api 1.25.0 → 1.26.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.
@@ -2307,6 +2307,359 @@ export declare const state: {
2307
2307
  };
2308
2308
  };
2309
2309
  };
2310
+ getDereferencedPublicPluginById: {
2311
+ name: string;
2312
+ description: string;
2313
+ method: "get";
2314
+ section: "hub";
2315
+ path: string;
2316
+ disableDefaultParameters: {
2317
+ "x-workspace-id": boolean;
2318
+ };
2319
+ parameters: {
2320
+ id: {
2321
+ type: "string";
2322
+ description: string;
2323
+ in: "path";
2324
+ };
2325
+ interfaces: {
2326
+ in: "query";
2327
+ type: "object";
2328
+ schema: {
2329
+ type: "object";
2330
+ additionalProperties: {
2331
+ type: "string";
2332
+ description: string;
2333
+ };
2334
+ description: string;
2335
+ };
2336
+ description: string;
2337
+ required: true;
2338
+ };
2339
+ };
2340
+ response: {
2341
+ description: string;
2342
+ schema: {
2343
+ type: "object";
2344
+ properties: {
2345
+ plugin: {
2346
+ type: "object";
2347
+ properties: {
2348
+ id: {
2349
+ type: "string";
2350
+ minLength: number;
2351
+ maxLength: number;
2352
+ description: string;
2353
+ };
2354
+ name: {
2355
+ type: "string";
2356
+ maxLength: number;
2357
+ description: string;
2358
+ };
2359
+ version: {
2360
+ type: "string";
2361
+ maxLength: number;
2362
+ description: string;
2363
+ };
2364
+ createdAt: {
2365
+ type: "string";
2366
+ format: string;
2367
+ description: string;
2368
+ };
2369
+ updatedAt: {
2370
+ type: "string";
2371
+ format: string;
2372
+ description: string;
2373
+ };
2374
+ configuration: {
2375
+ type: "object";
2376
+ properties: {
2377
+ title: {
2378
+ type: "string";
2379
+ maxLength: number;
2380
+ description: string;
2381
+ };
2382
+ description: {
2383
+ type: "string";
2384
+ maxLength: number;
2385
+ description: string;
2386
+ };
2387
+ schema: {
2388
+ type: "object";
2389
+ additionalProperties: true;
2390
+ description: string;
2391
+ };
2392
+ };
2393
+ required: string[];
2394
+ description: string;
2395
+ additionalProperties: false;
2396
+ };
2397
+ states: {
2398
+ type: "object";
2399
+ additionalProperties: {
2400
+ type: "object";
2401
+ properties: {
2402
+ type: {
2403
+ type: "string";
2404
+ enum: string[];
2405
+ description: string;
2406
+ };
2407
+ schema: {
2408
+ type: "object";
2409
+ additionalProperties: true;
2410
+ description: string;
2411
+ };
2412
+ expiry: {
2413
+ type: "number";
2414
+ minimum: number;
2415
+ description: string;
2416
+ };
2417
+ };
2418
+ required: string[];
2419
+ additionalProperties: false;
2420
+ };
2421
+ };
2422
+ events: {
2423
+ type: "object";
2424
+ additionalProperties: {
2425
+ type: "object";
2426
+ properties: {
2427
+ title: {
2428
+ type: "string";
2429
+ maxLength: number;
2430
+ description: string;
2431
+ };
2432
+ description: {
2433
+ type: "string";
2434
+ maxLength: number;
2435
+ description: string;
2436
+ };
2437
+ schema: {
2438
+ type: "object";
2439
+ additionalProperties: true;
2440
+ };
2441
+ attributes: {
2442
+ type: "object";
2443
+ additionalProperties: {
2444
+ type: "string";
2445
+ maxLength: number;
2446
+ };
2447
+ description: string;
2448
+ };
2449
+ };
2450
+ required: string[];
2451
+ description: string;
2452
+ additionalProperties: false;
2453
+ };
2454
+ };
2455
+ actions: {
2456
+ type: "object";
2457
+ additionalProperties: {
2458
+ type: "object";
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
+ };
2470
+ billable: {
2471
+ type: "boolean";
2472
+ };
2473
+ cacheable: {
2474
+ type: "boolean";
2475
+ };
2476
+ input: {
2477
+ type: "object";
2478
+ properties: {
2479
+ schema: {
2480
+ type: "object";
2481
+ additionalProperties: true;
2482
+ };
2483
+ };
2484
+ required: string[];
2485
+ additionalProperties: false;
2486
+ };
2487
+ output: {
2488
+ type: "object";
2489
+ properties: {
2490
+ schema: {
2491
+ type: "object";
2492
+ additionalProperties: true;
2493
+ };
2494
+ };
2495
+ required: string[];
2496
+ additionalProperties: false;
2497
+ };
2498
+ attributes: {
2499
+ type: "object";
2500
+ additionalProperties: {
2501
+ type: "string";
2502
+ maxLength: number;
2503
+ };
2504
+ description: string;
2505
+ };
2506
+ };
2507
+ required: string[];
2508
+ description: string;
2509
+ additionalProperties: false;
2510
+ };
2511
+ };
2512
+ dependencies: {
2513
+ type: "object";
2514
+ properties: {
2515
+ interfaces: {
2516
+ type: "object";
2517
+ additionalProperties: {
2518
+ type: "object";
2519
+ properties: {
2520
+ id: {
2521
+ type: "string";
2522
+ minLength: number;
2523
+ maxLength: number;
2524
+ };
2525
+ name: {
2526
+ type: "string";
2527
+ maxLength: number;
2528
+ };
2529
+ version: {
2530
+ type: "string";
2531
+ maxLength: number;
2532
+ };
2533
+ };
2534
+ required: string[];
2535
+ additionalProperties: false;
2536
+ };
2537
+ };
2538
+ integrations: {
2539
+ type: "object";
2540
+ additionalProperties: {
2541
+ type: "object";
2542
+ properties: {
2543
+ id: {
2544
+ type: "string";
2545
+ minLength: number;
2546
+ maxLength: number;
2547
+ };
2548
+ name: {
2549
+ type: "string";
2550
+ maxLength: number;
2551
+ };
2552
+ version: {
2553
+ type: "string";
2554
+ maxLength: number;
2555
+ };
2556
+ };
2557
+ required: string[];
2558
+ additionalProperties: false;
2559
+ };
2560
+ };
2561
+ };
2562
+ required: string[];
2563
+ additionalProperties: false;
2564
+ };
2565
+ user: {
2566
+ type: "object";
2567
+ properties: {
2568
+ tags: {
2569
+ type: "object";
2570
+ additionalProperties: {
2571
+ type: "object";
2572
+ properties: {
2573
+ title: {
2574
+ type: "string";
2575
+ maxLength: number;
2576
+ description: string;
2577
+ };
2578
+ description: {
2579
+ type: "string";
2580
+ maxLength: number;
2581
+ description: string;
2582
+ };
2583
+ };
2584
+ description: string;
2585
+ additionalProperties: false;
2586
+ };
2587
+ };
2588
+ };
2589
+ required: string[];
2590
+ description: string;
2591
+ additionalProperties: false;
2592
+ };
2593
+ conversation: {
2594
+ type: "object";
2595
+ properties: {
2596
+ tags: {
2597
+ type: "object";
2598
+ additionalProperties: {
2599
+ type: "object";
2600
+ properties: {
2601
+ title: {
2602
+ type: "string";
2603
+ maxLength: number;
2604
+ description: string;
2605
+ };
2606
+ description: {
2607
+ type: "string";
2608
+ maxLength: number;
2609
+ description: string;
2610
+ };
2611
+ };
2612
+ description: string;
2613
+ additionalProperties: false;
2614
+ };
2615
+ };
2616
+ };
2617
+ required: string[];
2618
+ description: string;
2619
+ additionalProperties: false;
2620
+ };
2621
+ attributes: {
2622
+ type: "object";
2623
+ additionalProperties: {
2624
+ type: "string";
2625
+ maxLength: number;
2626
+ };
2627
+ description: string;
2628
+ };
2629
+ title: {
2630
+ type: "string";
2631
+ minLength: number;
2632
+ maxLength: number;
2633
+ description: string;
2634
+ };
2635
+ description: {
2636
+ type: "string";
2637
+ maxLength: number;
2638
+ description: string;
2639
+ };
2640
+ iconUrl: {
2641
+ type: "string";
2642
+ description: string;
2643
+ };
2644
+ readmeUrl: {
2645
+ type: "string";
2646
+ description: string;
2647
+ };
2648
+ public: {
2649
+ type: "boolean";
2650
+ description: string;
2651
+ };
2652
+ };
2653
+ required: string[];
2654
+ additionalProperties: false;
2655
+ };
2656
+ };
2657
+ required: string[];
2658
+ title: string;
2659
+ additionalProperties: false;
2660
+ };
2661
+ };
2662
+ };
2310
2663
  getPublicPlugin: {
2311
2664
  name: string;
2312
2665
  description: string;
@@ -10693,6 +11046,48 @@ export declare const state: {
10693
11046
  };
10694
11047
  };
10695
11048
  };
11049
+ getDereferencedPlugin: {
11050
+ name: string;
11051
+ description: string;
11052
+ method: "get";
11053
+ section: "plugin";
11054
+ path: string;
11055
+ parameters: {
11056
+ id: {
11057
+ type: "string";
11058
+ description: string;
11059
+ in: "path";
11060
+ };
11061
+ interfaces: {
11062
+ in: "query";
11063
+ type: "object";
11064
+ schema: {
11065
+ type: "object";
11066
+ additionalProperties: {
11067
+ type: "string";
11068
+ description: string;
11069
+ };
11070
+ description: string;
11071
+ };
11072
+ description: string;
11073
+ required: true;
11074
+ };
11075
+ };
11076
+ response: {
11077
+ description: string;
11078
+ schema: {
11079
+ type: "object";
11080
+ properties: {
11081
+ plugin: {
11082
+ $ref: string;
11083
+ };
11084
+ };
11085
+ required: string[];
11086
+ title: string;
11087
+ additionalProperties: false;
11088
+ };
11089
+ };
11090
+ };
10696
11091
  getPluginByName: {
10697
11092
  name: string;
10698
11093
  description: string;
@@ -11731,6 +12126,7 @@ export declare const state: {
11731
12126
  getPublicIntegrationResponse: true;
11732
12127
  listPublicPluginsResponse: true;
11733
12128
  getPublicPluginByIdResponse: true;
12129
+ getDereferencedPublicPluginByIdResponse: true;
11734
12130
  getPublicPluginResponse: true;
11735
12131
  getPublicPluginCodeResponse: true;
11736
12132
  listPublicInterfacesResponse: true;
@@ -11806,6 +12202,7 @@ export declare const state: {
11806
12202
  listInterfacesResponse: true;
11807
12203
  createPluginResponse: true;
11808
12204
  getPluginResponse: true;
12205
+ getDereferencedPluginResponse: true;
11809
12206
  getPluginByNameResponse: true;
11810
12207
  updatePluginResponse: true;
11811
12208
  deletePluginResponse: true;