@botpress/api 0.19.0 → 0.19.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.
@@ -2040,9 +2040,7 @@ export declare const state: {
2040
2040
  schema: {
2041
2041
  type: "object";
2042
2042
  properties: {
2043
- value: {
2044
- nullable: true;
2045
- };
2043
+ value: {};
2046
2044
  };
2047
2045
  title: string;
2048
2046
  additionalProperties: false;
@@ -2160,22 +2158,895 @@ export declare const state: {
2160
2158
  maxLength: number;
2161
2159
  description: string;
2162
2160
  };
2163
- iconUrl: {
2164
- type: "string";
2161
+ iconUrl: {
2162
+ type: "string";
2163
+ description: string;
2164
+ };
2165
+ ownerWorkspace: {
2166
+ type: "object";
2167
+ properties: {
2168
+ id: {
2169
+ type: "string";
2170
+ };
2171
+ handle: {
2172
+ type: "string";
2173
+ nullable: true;
2174
+ };
2175
+ name: {
2176
+ type: "string";
2177
+ };
2178
+ };
2179
+ required: string[];
2180
+ };
2181
+ };
2182
+ required: string[];
2183
+ };
2184
+ };
2185
+ meta: {
2186
+ type: "object";
2187
+ properties: {
2188
+ nextToken: {
2189
+ type: "string";
2190
+ description: string;
2191
+ };
2192
+ };
2193
+ additionalProperties: false;
2194
+ };
2195
+ };
2196
+ required: string[];
2197
+ title: string;
2198
+ additionalProperties: false;
2199
+ };
2200
+ };
2201
+ };
2202
+ getPublicIntegrationById: {
2203
+ name: string;
2204
+ description: string;
2205
+ method: "get";
2206
+ section: "hub";
2207
+ path: string;
2208
+ disableDefaultParameters: {
2209
+ "x-workspace-id": boolean;
2210
+ };
2211
+ parameters: {
2212
+ id: {
2213
+ type: "string";
2214
+ description: string;
2215
+ in: "path";
2216
+ };
2217
+ };
2218
+ response: {
2219
+ description: string;
2220
+ schema: {
2221
+ type: "object";
2222
+ properties: {
2223
+ integration: {
2224
+ type: "object";
2225
+ properties: {
2226
+ id: {
2227
+ type: "string";
2228
+ minLength: number;
2229
+ maxLength: number;
2230
+ description: string;
2231
+ };
2232
+ createdAt: {
2233
+ type: "string";
2234
+ format: string;
2235
+ description: string;
2236
+ };
2237
+ updatedAt: {
2238
+ type: "string";
2239
+ format: string;
2240
+ description: string;
2241
+ };
2242
+ identifier: {
2243
+ type: "object";
2244
+ properties: {
2245
+ fallbackHandlerScript: {
2246
+ type: "string";
2247
+ maxLength: number;
2248
+ description: string;
2249
+ };
2250
+ extractScript: {
2251
+ type: "string";
2252
+ maxLength: number;
2253
+ description: string;
2254
+ };
2255
+ };
2256
+ description: string;
2257
+ additionalProperties: false;
2258
+ };
2259
+ name: {
2260
+ type: "string";
2261
+ maxLength: number;
2262
+ description: string;
2263
+ };
2264
+ version: {
2265
+ type: "string";
2266
+ maxLength: number;
2267
+ description: string;
2268
+ };
2269
+ configuration: {
2270
+ type: "object";
2271
+ properties: {
2272
+ identifier: {
2273
+ type: "object";
2274
+ properties: {
2275
+ linkTemplateScript: {
2276
+ type: "string";
2277
+ maxLength: number;
2278
+ description: string;
2279
+ };
2280
+ required: {
2281
+ type: "boolean";
2282
+ };
2283
+ };
2284
+ required: string[];
2285
+ description: string;
2286
+ additionalProperties: false;
2287
+ };
2288
+ schema: {
2289
+ type: "object";
2290
+ additionalProperties: true;
2291
+ description: string;
2292
+ };
2293
+ };
2294
+ required: string[];
2295
+ description: string;
2296
+ additionalProperties: false;
2297
+ };
2298
+ channels: {
2299
+ type: "object";
2300
+ additionalProperties: {
2301
+ type: "object";
2302
+ properties: {
2303
+ title: {
2304
+ type: "string";
2305
+ maxLength: number;
2306
+ description: string;
2307
+ };
2308
+ description: {
2309
+ type: "string";
2310
+ maxLength: number;
2311
+ description: string;
2312
+ };
2313
+ messages: {
2314
+ type: "object";
2315
+ additionalProperties: {
2316
+ type: "object";
2317
+ properties: {
2318
+ schema: {
2319
+ type: "object";
2320
+ additionalProperties: true;
2321
+ };
2322
+ };
2323
+ required: string[];
2324
+ description: string;
2325
+ additionalProperties: false;
2326
+ };
2327
+ };
2328
+ conversation: {
2329
+ type: "object";
2330
+ properties: {
2331
+ tags: {
2332
+ type: "object";
2333
+ additionalProperties: {
2334
+ type: "object";
2335
+ properties: {
2336
+ title: {
2337
+ type: "string";
2338
+ maxLength: number;
2339
+ description: string;
2340
+ };
2341
+ description: {
2342
+ type: "string";
2343
+ maxLength: number;
2344
+ description: string;
2345
+ };
2346
+ };
2347
+ description: string;
2348
+ additionalProperties: false;
2349
+ };
2350
+ };
2351
+ creation: {
2352
+ type: "object";
2353
+ properties: {
2354
+ enabled: {
2355
+ type: "boolean";
2356
+ description: string;
2357
+ };
2358
+ requiredTags: {
2359
+ type: "array";
2360
+ items: {
2361
+ type: "string";
2362
+ };
2363
+ description: string;
2364
+ };
2365
+ };
2366
+ required: string[];
2367
+ description: string;
2368
+ additionalProperties: false;
2369
+ };
2370
+ };
2371
+ required: string[];
2372
+ description: string;
2373
+ additionalProperties: false;
2374
+ };
2375
+ message: {
2376
+ type: "object";
2377
+ properties: {
2378
+ tags: {
2379
+ type: "object";
2380
+ additionalProperties: {
2381
+ type: "object";
2382
+ properties: {
2383
+ title: {
2384
+ type: "string";
2385
+ maxLength: number;
2386
+ description: string;
2387
+ };
2388
+ description: {
2389
+ type: "string";
2390
+ maxLength: number;
2391
+ description: string;
2392
+ };
2393
+ };
2394
+ description: string;
2395
+ additionalProperties: false;
2396
+ };
2397
+ };
2398
+ };
2399
+ required: string[];
2400
+ description: string;
2401
+ additionalProperties: false;
2402
+ };
2403
+ };
2404
+ required: string[];
2405
+ description: string;
2406
+ additionalProperties: false;
2407
+ };
2408
+ };
2409
+ states: {
2410
+ type: "object";
2411
+ additionalProperties: {
2412
+ type: "object";
2413
+ properties: {
2414
+ type: {
2415
+ type: "string";
2416
+ enum: string[];
2417
+ description: string;
2418
+ };
2419
+ schema: {
2420
+ type: "object";
2421
+ additionalProperties: true;
2422
+ description: string;
2423
+ };
2424
+ };
2425
+ required: string[];
2426
+ description: string;
2427
+ additionalProperties: false;
2428
+ };
2429
+ };
2430
+ events: {
2431
+ type: "object";
2432
+ additionalProperties: {
2433
+ type: "object";
2434
+ properties: {
2435
+ title: {
2436
+ type: "string";
2437
+ maxLength: number;
2438
+ description: string;
2439
+ };
2440
+ description: {
2441
+ type: "string";
2442
+ maxLength: number;
2443
+ description: string;
2444
+ };
2445
+ schema: {
2446
+ type: "object";
2447
+ additionalProperties: true;
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
+ input: {
2471
+ type: "object";
2472
+ properties: {
2473
+ schema: {
2474
+ type: "object";
2475
+ additionalProperties: true;
2476
+ };
2477
+ };
2478
+ required: string[];
2479
+ additionalProperties: false;
2480
+ };
2481
+ output: {
2482
+ type: "object";
2483
+ properties: {
2484
+ schema: {
2485
+ type: "object";
2486
+ additionalProperties: true;
2487
+ };
2488
+ };
2489
+ required: string[];
2490
+ additionalProperties: false;
2491
+ };
2492
+ };
2493
+ required: string[];
2494
+ description: string;
2495
+ additionalProperties: false;
2496
+ };
2497
+ };
2498
+ user: {
2499
+ type: "object";
2500
+ properties: {
2501
+ tags: {
2502
+ type: "object";
2503
+ additionalProperties: {
2504
+ type: "object";
2505
+ properties: {
2506
+ title: {
2507
+ type: "string";
2508
+ maxLength: number;
2509
+ description: string;
2510
+ };
2511
+ description: {
2512
+ type: "string";
2513
+ maxLength: number;
2514
+ description: string;
2515
+ };
2516
+ };
2517
+ description: string;
2518
+ additionalProperties: false;
2519
+ };
2520
+ };
2521
+ creation: {
2522
+ type: "object";
2523
+ properties: {
2524
+ enabled: {
2525
+ type: "boolean";
2526
+ description: string;
2527
+ };
2528
+ requiredTags: {
2529
+ type: "array";
2530
+ items: {
2531
+ type: "string";
2532
+ };
2533
+ description: string;
2534
+ };
2535
+ };
2536
+ required: string[];
2537
+ description: string;
2538
+ additionalProperties: false;
2539
+ };
2540
+ };
2541
+ required: string[];
2542
+ description: string;
2543
+ additionalProperties: false;
2544
+ };
2545
+ entities: {
2546
+ type: "object";
2547
+ additionalProperties: {
2548
+ type: "object";
2549
+ properties: {
2550
+ title: {
2551
+ type: "string";
2552
+ maxLength: number;
2553
+ description: string;
2554
+ };
2555
+ description: {
2556
+ type: "string";
2557
+ maxLength: number;
2558
+ description: string;
2559
+ };
2560
+ schema: {
2561
+ type: "object";
2562
+ additionalProperties: true;
2563
+ };
2564
+ };
2565
+ required: string[];
2566
+ description: string;
2567
+ additionalProperties: false;
2568
+ };
2569
+ };
2570
+ dev: {
2571
+ type: "boolean";
2572
+ description: string;
2573
+ };
2574
+ title: {
2575
+ type: "string";
2576
+ minLength: number;
2577
+ maxLength: number;
2578
+ description: string;
2579
+ };
2580
+ description: {
2581
+ type: "string";
2582
+ maxLength: number;
2583
+ description: string;
2584
+ };
2585
+ iconUrl: {
2586
+ type: "string";
2587
+ description: string;
2588
+ };
2589
+ readmeUrl: {
2590
+ type: "string";
2591
+ description: string;
2592
+ };
2593
+ secrets: {
2594
+ type: "array";
2595
+ items: {
2596
+ type: "string";
2597
+ };
2598
+ description: string;
2599
+ };
2600
+ ownerWorkspace: {
2601
+ type: "object";
2602
+ properties: {
2603
+ id: {
2604
+ type: "string";
2605
+ };
2606
+ handle: {
2607
+ type: "string";
2608
+ nullable: true;
2609
+ };
2610
+ name: {
2611
+ type: "string";
2612
+ };
2613
+ };
2614
+ required: string[];
2615
+ additionalProperties: false;
2616
+ };
2617
+ };
2618
+ required: string[];
2619
+ additionalProperties: false;
2620
+ };
2621
+ };
2622
+ required: string[];
2623
+ title: string;
2624
+ additionalProperties: false;
2625
+ };
2626
+ };
2627
+ };
2628
+ getPublicIntegration: {
2629
+ name: string;
2630
+ description: string;
2631
+ method: "get";
2632
+ section: "hub";
2633
+ path: string;
2634
+ disableDefaultParameters: {
2635
+ "x-workspace-id": boolean;
2636
+ };
2637
+ parameters: {
2638
+ name: {
2639
+ type: "string";
2640
+ description: string;
2641
+ in: "path";
2642
+ };
2643
+ version: {
2644
+ type: "string";
2645
+ description: string;
2646
+ in: "path";
2647
+ };
2648
+ };
2649
+ response: {
2650
+ description: string;
2651
+ schema: {
2652
+ type: "object";
2653
+ properties: {
2654
+ integration: {
2655
+ type: "object";
2656
+ properties: {
2657
+ id: {
2658
+ type: "string";
2659
+ minLength: number;
2660
+ maxLength: number;
2661
+ description: string;
2662
+ };
2663
+ createdAt: {
2664
+ type: "string";
2665
+ format: string;
2666
+ description: string;
2667
+ };
2668
+ updatedAt: {
2669
+ type: "string";
2670
+ format: string;
2671
+ description: string;
2672
+ };
2673
+ identifier: {
2674
+ type: "object";
2675
+ properties: {
2676
+ fallbackHandlerScript: {
2677
+ type: "string";
2678
+ maxLength: number;
2679
+ description: string;
2680
+ };
2681
+ extractScript: {
2682
+ type: "string";
2683
+ maxLength: number;
2684
+ description: string;
2685
+ };
2686
+ };
2687
+ description: string;
2688
+ additionalProperties: false;
2689
+ };
2690
+ name: {
2691
+ type: "string";
2692
+ maxLength: number;
2693
+ description: string;
2694
+ };
2695
+ version: {
2696
+ type: "string";
2697
+ maxLength: number;
2698
+ description: string;
2699
+ };
2700
+ configuration: {
2701
+ type: "object";
2702
+ properties: {
2703
+ identifier: {
2704
+ type: "object";
2705
+ properties: {
2706
+ linkTemplateScript: {
2707
+ type: "string";
2708
+ maxLength: number;
2709
+ description: string;
2710
+ };
2711
+ required: {
2712
+ type: "boolean";
2713
+ };
2714
+ };
2715
+ required: string[];
2716
+ description: string;
2717
+ additionalProperties: false;
2718
+ };
2719
+ schema: {
2720
+ type: "object";
2721
+ additionalProperties: true;
2722
+ description: string;
2723
+ };
2724
+ };
2725
+ required: string[];
2726
+ description: string;
2727
+ additionalProperties: false;
2728
+ };
2729
+ channels: {
2730
+ type: "object";
2731
+ additionalProperties: {
2732
+ type: "object";
2733
+ properties: {
2734
+ title: {
2735
+ type: "string";
2736
+ maxLength: number;
2737
+ description: string;
2738
+ };
2739
+ description: {
2740
+ type: "string";
2741
+ maxLength: number;
2742
+ description: string;
2743
+ };
2744
+ messages: {
2745
+ type: "object";
2746
+ additionalProperties: {
2747
+ type: "object";
2748
+ properties: {
2749
+ schema: {
2750
+ type: "object";
2751
+ additionalProperties: true;
2752
+ };
2753
+ };
2754
+ required: string[];
2755
+ description: string;
2756
+ additionalProperties: false;
2757
+ };
2758
+ };
2759
+ conversation: {
2760
+ type: "object";
2761
+ properties: {
2762
+ tags: {
2763
+ type: "object";
2764
+ additionalProperties: {
2765
+ type: "object";
2766
+ properties: {
2767
+ title: {
2768
+ type: "string";
2769
+ maxLength: number;
2770
+ description: string;
2771
+ };
2772
+ description: {
2773
+ type: "string";
2774
+ maxLength: number;
2775
+ description: string;
2776
+ };
2777
+ };
2778
+ description: string;
2779
+ additionalProperties: false;
2780
+ };
2781
+ };
2782
+ creation: {
2783
+ type: "object";
2784
+ properties: {
2785
+ enabled: {
2786
+ type: "boolean";
2787
+ description: string;
2788
+ };
2789
+ requiredTags: {
2790
+ type: "array";
2791
+ items: {
2792
+ type: "string";
2793
+ };
2794
+ description: string;
2795
+ };
2796
+ };
2797
+ required: string[];
2798
+ description: string;
2799
+ additionalProperties: false;
2800
+ };
2801
+ };
2802
+ required: string[];
2803
+ description: string;
2804
+ additionalProperties: false;
2805
+ };
2806
+ message: {
2807
+ type: "object";
2808
+ properties: {
2809
+ tags: {
2810
+ type: "object";
2811
+ additionalProperties: {
2812
+ type: "object";
2813
+ properties: {
2814
+ title: {
2815
+ type: "string";
2816
+ maxLength: number;
2817
+ description: string;
2818
+ };
2819
+ description: {
2820
+ type: "string";
2821
+ maxLength: number;
2822
+ description: string;
2823
+ };
2824
+ };
2825
+ description: string;
2826
+ additionalProperties: false;
2827
+ };
2828
+ };
2829
+ };
2830
+ required: string[];
2831
+ description: string;
2832
+ additionalProperties: false;
2833
+ };
2834
+ };
2835
+ required: string[];
2836
+ description: string;
2837
+ additionalProperties: false;
2838
+ };
2839
+ };
2840
+ states: {
2841
+ type: "object";
2842
+ additionalProperties: {
2843
+ type: "object";
2844
+ properties: {
2845
+ type: {
2846
+ type: "string";
2847
+ enum: string[];
2848
+ description: string;
2849
+ };
2850
+ schema: {
2851
+ type: "object";
2852
+ additionalProperties: true;
2853
+ description: string;
2854
+ };
2855
+ };
2856
+ required: string[];
2857
+ description: string;
2858
+ additionalProperties: false;
2859
+ };
2860
+ };
2861
+ events: {
2862
+ type: "object";
2863
+ additionalProperties: {
2864
+ type: "object";
2865
+ properties: {
2866
+ title: {
2867
+ type: "string";
2868
+ maxLength: number;
2869
+ description: string;
2870
+ };
2871
+ description: {
2872
+ type: "string";
2873
+ maxLength: number;
2874
+ description: string;
2875
+ };
2876
+ schema: {
2877
+ type: "object";
2878
+ additionalProperties: true;
2879
+ };
2880
+ };
2881
+ required: string[];
2882
+ description: string;
2883
+ additionalProperties: false;
2884
+ };
2885
+ };
2886
+ actions: {
2887
+ type: "object";
2888
+ additionalProperties: {
2889
+ type: "object";
2890
+ properties: {
2891
+ title: {
2892
+ type: "string";
2893
+ maxLength: number;
2894
+ description: string;
2895
+ };
2896
+ description: {
2897
+ type: "string";
2898
+ maxLength: number;
2899
+ description: string;
2900
+ };
2901
+ input: {
2902
+ type: "object";
2903
+ properties: {
2904
+ schema: {
2905
+ type: "object";
2906
+ additionalProperties: true;
2907
+ };
2908
+ };
2909
+ required: string[];
2910
+ additionalProperties: false;
2911
+ };
2912
+ output: {
2913
+ type: "object";
2914
+ properties: {
2915
+ schema: {
2916
+ type: "object";
2917
+ additionalProperties: true;
2918
+ };
2919
+ };
2920
+ required: string[];
2921
+ additionalProperties: false;
2922
+ };
2923
+ };
2924
+ required: string[];
2925
+ description: string;
2926
+ additionalProperties: false;
2927
+ };
2928
+ };
2929
+ user: {
2930
+ type: "object";
2931
+ properties: {
2932
+ tags: {
2933
+ type: "object";
2934
+ additionalProperties: {
2935
+ type: "object";
2936
+ properties: {
2937
+ title: {
2938
+ type: "string";
2939
+ maxLength: number;
2940
+ description: string;
2941
+ };
2942
+ description: {
2943
+ type: "string";
2944
+ maxLength: number;
2945
+ description: string;
2946
+ };
2947
+ };
2948
+ description: string;
2949
+ additionalProperties: false;
2950
+ };
2951
+ };
2952
+ creation: {
2953
+ type: "object";
2954
+ properties: {
2955
+ enabled: {
2956
+ type: "boolean";
2957
+ description: string;
2958
+ };
2959
+ requiredTags: {
2960
+ type: "array";
2961
+ items: {
2962
+ type: "string";
2963
+ };
2964
+ description: string;
2965
+ };
2966
+ };
2967
+ required: string[];
2968
+ description: string;
2969
+ additionalProperties: false;
2970
+ };
2971
+ };
2972
+ required: string[];
2973
+ description: string;
2974
+ additionalProperties: false;
2975
+ };
2976
+ entities: {
2977
+ type: "object";
2978
+ additionalProperties: {
2979
+ type: "object";
2980
+ properties: {
2981
+ title: {
2982
+ type: "string";
2983
+ maxLength: number;
2984
+ description: string;
2985
+ };
2986
+ description: {
2987
+ type: "string";
2988
+ maxLength: number;
2989
+ description: string;
2990
+ };
2991
+ schema: {
2992
+ type: "object";
2993
+ additionalProperties: true;
2994
+ };
2995
+ };
2996
+ required: string[];
2165
2997
  description: string;
2998
+ additionalProperties: false;
2166
2999
  };
2167
3000
  };
2168
- required: string[];
2169
- };
2170
- };
2171
- meta: {
2172
- type: "object";
2173
- properties: {
2174
- nextToken: {
3001
+ dev: {
3002
+ type: "boolean";
3003
+ description: string;
3004
+ };
3005
+ title: {
3006
+ type: "string";
3007
+ minLength: number;
3008
+ maxLength: number;
3009
+ description: string;
3010
+ };
3011
+ description: {
3012
+ type: "string";
3013
+ maxLength: number;
3014
+ description: string;
3015
+ };
3016
+ iconUrl: {
3017
+ type: "string";
3018
+ description: string;
3019
+ };
3020
+ readmeUrl: {
2175
3021
  type: "string";
2176
3022
  description: string;
2177
3023
  };
3024
+ secrets: {
3025
+ type: "array";
3026
+ items: {
3027
+ type: "string";
3028
+ };
3029
+ description: string;
3030
+ };
3031
+ ownerWorkspace: {
3032
+ type: "object";
3033
+ properties: {
3034
+ id: {
3035
+ type: "string";
3036
+ };
3037
+ handle: {
3038
+ type: "string";
3039
+ nullable: true;
3040
+ };
3041
+ name: {
3042
+ type: "string";
3043
+ };
3044
+ };
3045
+ required: string[];
3046
+ additionalProperties: false;
3047
+ };
2178
3048
  };
3049
+ required: string[];
2179
3050
  additionalProperties: false;
2180
3051
  };
2181
3052
  };
@@ -2185,73 +3056,6 @@ export declare const state: {
2185
3056
  };
2186
3057
  };
2187
3058
  };
2188
- getPublicIntegrationById: {
2189
- name: string;
2190
- description: string;
2191
- method: "get";
2192
- section: "hub";
2193
- path: string;
2194
- disableDefaultParameters: {
2195
- "x-workspace-id": boolean;
2196
- };
2197
- parameters: {
2198
- id: {
2199
- type: "string";
2200
- description: string;
2201
- in: "path";
2202
- };
2203
- };
2204
- response: {
2205
- description: string;
2206
- schema: {
2207
- type: "object";
2208
- properties: {
2209
- integration: {
2210
- $ref: string;
2211
- };
2212
- };
2213
- required: string[];
2214
- title: string;
2215
- additionalProperties: false;
2216
- };
2217
- };
2218
- };
2219
- getPublicIntegration: {
2220
- name: string;
2221
- description: string;
2222
- method: "get";
2223
- section: "hub";
2224
- path: string;
2225
- disableDefaultParameters: {
2226
- "x-workspace-id": boolean;
2227
- };
2228
- parameters: {
2229
- name: {
2230
- type: "string";
2231
- description: string;
2232
- in: "path";
2233
- };
2234
- version: {
2235
- type: "string";
2236
- description: string;
2237
- in: "path";
2238
- };
2239
- };
2240
- response: {
2241
- description: string;
2242
- schema: {
2243
- type: "object";
2244
- properties: {
2245
- integration: {
2246
- $ref: string;
2247
- };
2248
- };
2249
- required: string[];
2250
- title: string;
2251
- additionalProperties: false;
2252
- };
2253
- };
2254
- };
2255
3059
  createBot: {
2256
3060
  name: string;
2257
3061
  description: string;
@@ -6287,6 +7091,11 @@ export declare const state: {
6287
7091
  description: string;
6288
7092
  in: "header";
6289
7093
  };
7094
+ "x-index": {
7095
+ type: "string";
7096
+ description: string;
7097
+ in: "header";
7098
+ };
6290
7099
  "Content-Type": {
6291
7100
  type: "string";
6292
7101
  description: string;
@@ -6365,6 +7174,13 @@ export declare const state: {
6365
7174
  type: "string";
6366
7175
  };
6367
7176
  };
7177
+ indexingStatus: {
7178
+ type: "string";
7179
+ enum: string[];
7180
+ };
7181
+ indexingFailureReason: {
7182
+ type: "string";
7183
+ };
6368
7184
  };
6369
7185
  required: string[];
6370
7186
  additionalProperties: false;
@@ -6464,8 +7280,8 @@ export declare const state: {
6464
7280
  in: "path";
6465
7281
  };
6466
7282
  tags: {
6467
- in: "query";
6468
7283
  type: "string";
7284
+ in: "query";
6469
7285
  description: string;
6470
7286
  };
6471
7287
  };
@@ -6504,6 +7320,13 @@ export declare const state: {
6504
7320
  type: "string";
6505
7321
  };
6506
7322
  };
7323
+ indexingStatus: {
7324
+ type: "string";
7325
+ enum: string[];
7326
+ };
7327
+ indexingFailureReason: {
7328
+ type: "string";
7329
+ };
6507
7330
  };
6508
7331
  required: string[];
6509
7332
  };
@@ -6603,6 +7426,13 @@ export declare const state: {
6603
7426
  type: "string";
6604
7427
  };
6605
7428
  };
7429
+ indexingStatus: {
7430
+ type: "string";
7431
+ enum: string[];
7432
+ };
7433
+ indexingFailureReason: {
7434
+ type: "string";
7435
+ };
6606
7436
  };
6607
7437
  required: string[];
6608
7438
  additionalProperties: false;
@@ -6653,16 +7483,16 @@ export declare const state: {
6653
7483
  };
6654
7484
  response: {
6655
7485
  description: string;
6656
- status: 302;
6657
7486
  schema: {
6658
7487
  type: "object";
6659
7488
  properties: {
6660
- data: {
6661
- nullable: true;
7489
+ url: {
7490
+ type: "string";
7491
+ description: string;
6662
7492
  };
6663
7493
  };
7494
+ required: string[];
6664
7495
  title: string;
6665
- format: string;
6666
7496
  additionalProperties: false;
6667
7497
  };
6668
7498
  };
@@ -6743,6 +7573,97 @@ export declare const state: {
6743
7573
  };
6744
7574
  };
6745
7575
  };
7576
+ searchFiles: {
7577
+ name: string;
7578
+ path: string;
7579
+ description: string;
7580
+ method: "get";
7581
+ section: "files";
7582
+ parameters: {
7583
+ "x-bot-id": {
7584
+ in: "header";
7585
+ description: string;
7586
+ type: "string";
7587
+ required: true;
7588
+ };
7589
+ "x-integration-id": {
7590
+ in: "header";
7591
+ description: string;
7592
+ type: "string";
7593
+ required: false;
7594
+ };
7595
+ "x-user-id": {
7596
+ in: "header";
7597
+ description: string;
7598
+ type: "string";
7599
+ required: false;
7600
+ };
7601
+ "x-user-role": {
7602
+ in: "header";
7603
+ description: string;
7604
+ type: "string";
7605
+ required: false;
7606
+ };
7607
+ botId: {
7608
+ type: "string";
7609
+ description: string;
7610
+ in: "path";
7611
+ };
7612
+ tags: {
7613
+ type: "string";
7614
+ in: "query";
7615
+ description: string;
7616
+ };
7617
+ query: {
7618
+ in: "query";
7619
+ type: "string";
7620
+ description: string;
7621
+ required: true;
7622
+ };
7623
+ limit: {
7624
+ in: "query";
7625
+ type: "string";
7626
+ description: string;
7627
+ };
7628
+ };
7629
+ response: {
7630
+ description: string;
7631
+ schema: {
7632
+ type: "object";
7633
+ properties: {
7634
+ passages: {
7635
+ type: "array";
7636
+ items: {
7637
+ type: "object";
7638
+ properties: {
7639
+ fileId: {
7640
+ type: "string";
7641
+ };
7642
+ score: {
7643
+ type: "number";
7644
+ };
7645
+ content: {
7646
+ type: "string";
7647
+ };
7648
+ tags: {
7649
+ type: "object";
7650
+ additionalProperties: {
7651
+ type: "string";
7652
+ maxLength: number;
7653
+ };
7654
+ description: string;
7655
+ };
7656
+ };
7657
+ required: string[];
7658
+ };
7659
+ };
7660
+ };
7661
+ required: string[];
7662
+ title: string;
7663
+ additionalProperties: false;
7664
+ };
7665
+ };
7666
+ };
6746
7667
  listTables: {
6747
7668
  name: string;
6748
7669
  path: string;
@@ -7606,6 +8527,7 @@ export declare const state: {
7606
8527
  getFileMetadataResponse: true;
7607
8528
  getFileContentResponse: true;
7608
8529
  updateFileMetadataResponse: true;
8530
+ searchFilesResponse: true;
7609
8531
  listTablesResponse: true;
7610
8532
  getTableResponse: true;
7611
8533
  createTableResponse: true;
@@ -9305,6 +10227,13 @@ export declare const state: {
9305
10227
  type: "string";
9306
10228
  };
9307
10229
  };
10230
+ indexingStatus: {
10231
+ type: "string";
10232
+ enum: string[];
10233
+ };
10234
+ indexingFailureReason: {
10235
+ type: "string";
10236
+ };
9308
10237
  };
9309
10238
  required: string[];
9310
10239
  additionalProperties: false;