@botpress/api 0.19.1 → 0.19.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.
@@ -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;
@@ -2164,6 +2162,22 @@ export declare const state: {
2164
2162
  type: "string";
2165
2163
  description: string;
2166
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
+ };
2167
2181
  };
2168
2182
  required: string[];
2169
2183
  };
@@ -2207,43 +2221,833 @@ export declare const state: {
2207
2221
  type: "object";
2208
2222
  properties: {
2209
2223
  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;
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[];
2997
+ description: string;
2998
+ additionalProperties: false;
2999
+ };
3000
+ };
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: {
3021
+ type: "string";
3022
+ description: string;
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
+ };
3048
+ };
3049
+ required: string[];
3050
+ additionalProperties: false;
2247
3051
  };
2248
3052
  };
2249
3053
  required: string[];
@@ -6271,7 +7075,7 @@ export declare const state: {
6271
7075
  };
6272
7076
  };
6273
7077
  parameters: {
6274
- "x-filename": {
7078
+ "x-name": {
6275
7079
  type: "string";
6276
7080
  description: string;
6277
7081
  in: "header";
@@ -6287,39 +7091,20 @@ export declare const state: {
6287
7091
  description: string;
6288
7092
  in: "header";
6289
7093
  };
6290
- "Content-Type": {
7094
+ "x-index": {
6291
7095
  type: "string";
6292
7096
  description: string;
6293
7097
  in: "header";
6294
7098
  };
6295
- "Content-Length": {
7099
+ "Content-Type": {
6296
7100
  type: "string";
6297
7101
  description: string;
6298
7102
  in: "header";
6299
7103
  };
6300
- "x-bot-id": {
6301
- in: "header";
6302
- description: string;
6303
- type: "string";
6304
- required: true;
6305
- };
6306
- "x-integration-id": {
6307
- in: "header";
6308
- description: string;
7104
+ "Content-Length": {
6309
7105
  type: "string";
6310
- required: false;
6311
- };
6312
- "x-user-id": {
6313
- in: "header";
6314
7106
  description: string;
6315
- type: "string";
6316
- required: false;
6317
- };
6318
- "x-user-role": {
6319
7107
  in: "header";
6320
- description: string;
6321
- type: "string";
6322
- required: false;
6323
7108
  };
6324
7109
  };
6325
7110
  contentType: "*/*";
@@ -6338,13 +7123,16 @@ export declare const state: {
6338
7123
  botId: {
6339
7124
  type: "string";
6340
7125
  };
6341
- filename: {
7126
+ name: {
6342
7127
  type: "string";
6343
7128
  };
6344
- bytes: {
7129
+ size: {
6345
7130
  type: "number";
6346
7131
  nullable: true;
6347
7132
  };
7133
+ contentType: {
7134
+ type: "string";
7135
+ };
6348
7136
  tags: {
6349
7137
  type: "object";
6350
7138
  additionalProperties: {
@@ -6365,6 +7153,13 @@ export declare const state: {
6365
7153
  type: "string";
6366
7154
  };
6367
7155
  };
7156
+ indexingStatus: {
7157
+ type: "string";
7158
+ enum: string[];
7159
+ };
7160
+ indexingFailureReason: {
7161
+ type: "string";
7162
+ };
6368
7163
  };
6369
7164
  required: string[];
6370
7165
  additionalProperties: false;
@@ -6388,30 +7183,6 @@ export declare const state: {
6388
7183
  description: string;
6389
7184
  in: "path";
6390
7185
  };
6391
- "x-bot-id": {
6392
- in: "header";
6393
- description: string;
6394
- type: "string";
6395
- required: true;
6396
- };
6397
- "x-integration-id": {
6398
- in: "header";
6399
- description: string;
6400
- type: "string";
6401
- required: false;
6402
- };
6403
- "x-user-id": {
6404
- in: "header";
6405
- description: string;
6406
- type: "string";
6407
- required: false;
6408
- };
6409
- "x-user-role": {
6410
- in: "header";
6411
- description: string;
6412
- type: "string";
6413
- required: false;
6414
- };
6415
7186
  };
6416
7187
  response: {
6417
7188
  description: string;
@@ -6434,30 +7205,6 @@ export declare const state: {
6434
7205
  description: string;
6435
7206
  type: "string";
6436
7207
  };
6437
- "x-bot-id": {
6438
- in: "header";
6439
- description: string;
6440
- type: "string";
6441
- required: true;
6442
- };
6443
- "x-integration-id": {
6444
- in: "header";
6445
- description: string;
6446
- type: "string";
6447
- required: false;
6448
- };
6449
- "x-user-id": {
6450
- in: "header";
6451
- description: string;
6452
- type: "string";
6453
- required: false;
6454
- };
6455
- "x-user-role": {
6456
- in: "header";
6457
- description: string;
6458
- type: "string";
6459
- required: false;
6460
- };
6461
7208
  botId: {
6462
7209
  type: "string";
6463
7210
  description: string;
@@ -6465,8 +7212,14 @@ export declare const state: {
6465
7212
  };
6466
7213
  tags: {
6467
7214
  in: "query";
6468
- type: "string";
6469
7215
  description: string;
7216
+ type: "object";
7217
+ schema: {
7218
+ type: "object";
7219
+ additionalProperties: {
7220
+ type: "string";
7221
+ };
7222
+ };
6470
7223
  };
6471
7224
  };
6472
7225
  response: {
@@ -6485,13 +7238,24 @@ export declare const state: {
6485
7238
  botId: {
6486
7239
  type: "string";
6487
7240
  };
6488
- filename: {
7241
+ name: {
6489
7242
  type: "string";
6490
7243
  };
6491
- bytes: {
7244
+ size: {
6492
7245
  type: "number";
6493
7246
  nullable: true;
6494
7247
  };
7248
+ contentType: {
7249
+ type: "string";
7250
+ };
7251
+ tags: {
7252
+ type: "object";
7253
+ additionalProperties: {
7254
+ type: "string";
7255
+ maxLength: number;
7256
+ };
7257
+ description: string;
7258
+ };
6495
7259
  createdAt: {
6496
7260
  type: "string";
6497
7261
  };
@@ -6504,6 +7268,13 @@ export declare const state: {
6504
7268
  type: "string";
6505
7269
  };
6506
7270
  };
7271
+ indexingStatus: {
7272
+ type: "string";
7273
+ enum: string[];
7274
+ };
7275
+ indexingFailureReason: {
7276
+ type: "string";
7277
+ };
6507
7278
  };
6508
7279
  required: string[];
6509
7280
  };
@@ -6537,30 +7308,6 @@ export declare const state: {
6537
7308
  description: string;
6538
7309
  in: "path";
6539
7310
  };
6540
- "x-bot-id": {
6541
- in: "header";
6542
- description: string;
6543
- type: "string";
6544
- required: true;
6545
- };
6546
- "x-integration-id": {
6547
- in: "header";
6548
- description: string;
6549
- type: "string";
6550
- required: false;
6551
- };
6552
- "x-user-id": {
6553
- in: "header";
6554
- description: string;
6555
- type: "string";
6556
- required: false;
6557
- };
6558
- "x-user-role": {
6559
- in: "header";
6560
- description: string;
6561
- type: "string";
6562
- required: false;
6563
- };
6564
7311
  };
6565
7312
  response: {
6566
7313
  description: string;
@@ -6576,13 +7323,16 @@ export declare const state: {
6576
7323
  botId: {
6577
7324
  type: "string";
6578
7325
  };
6579
- filename: {
7326
+ name: {
6580
7327
  type: "string";
6581
7328
  };
6582
- bytes: {
7329
+ size: {
6583
7330
  type: "number";
6584
7331
  nullable: true;
6585
7332
  };
7333
+ contentType: {
7334
+ type: "string";
7335
+ };
6586
7336
  tags: {
6587
7337
  type: "object";
6588
7338
  additionalProperties: {
@@ -6603,6 +7353,13 @@ export declare const state: {
6603
7353
  type: "string";
6604
7354
  };
6605
7355
  };
7356
+ indexingStatus: {
7357
+ type: "string";
7358
+ enum: string[];
7359
+ };
7360
+ indexingFailureReason: {
7361
+ type: "string";
7362
+ };
6606
7363
  };
6607
7364
  required: string[];
6608
7365
  additionalProperties: false;
@@ -6626,30 +7383,6 @@ export declare const state: {
6626
7383
  description: string;
6627
7384
  in: "path";
6628
7385
  };
6629
- "x-bot-id": {
6630
- in: "header";
6631
- description: string;
6632
- type: "string";
6633
- required: true;
6634
- };
6635
- "x-integration-id": {
6636
- in: "header";
6637
- description: string;
6638
- type: "string";
6639
- required: false;
6640
- };
6641
- "x-user-id": {
6642
- in: "header";
6643
- description: string;
6644
- type: "string";
6645
- required: false;
6646
- };
6647
- "x-user-role": {
6648
- in: "header";
6649
- description: string;
6650
- type: "string";
6651
- required: false;
6652
- };
6653
7386
  };
6654
7387
  response: {
6655
7388
  description: string;
@@ -6679,30 +7412,6 @@ export declare const state: {
6679
7412
  description: string;
6680
7413
  in: "path";
6681
7414
  };
6682
- "x-bot-id": {
6683
- in: "header";
6684
- description: string;
6685
- type: "string";
6686
- required: true;
6687
- };
6688
- "x-integration-id": {
6689
- in: "header";
6690
- description: string;
6691
- type: "string";
6692
- required: false;
6693
- };
6694
- "x-user-id": {
6695
- in: "header";
6696
- description: string;
6697
- type: "string";
6698
- required: false;
6699
- };
6700
- "x-user-role": {
6701
- in: "header";
6702
- description: string;
6703
- type: "string";
6704
- required: false;
6705
- };
6706
7415
  };
6707
7416
  requestBody: {
6708
7417
  description: string;
@@ -6743,6 +7452,79 @@ export declare const state: {
6743
7452
  };
6744
7453
  };
6745
7454
  };
7455
+ searchFiles: {
7456
+ name: string;
7457
+ path: string;
7458
+ description: string;
7459
+ method: "get";
7460
+ section: "files";
7461
+ parameters: {
7462
+ botId: {
7463
+ type: "string";
7464
+ description: string;
7465
+ in: "path";
7466
+ };
7467
+ tags: {
7468
+ in: "query";
7469
+ description: string;
7470
+ type: "object";
7471
+ schema: {
7472
+ type: "object";
7473
+ additionalProperties: {
7474
+ type: "string";
7475
+ };
7476
+ };
7477
+ };
7478
+ query: {
7479
+ in: "query";
7480
+ type: "string";
7481
+ description: string;
7482
+ required: true;
7483
+ };
7484
+ limit: {
7485
+ in: "query";
7486
+ type: "string";
7487
+ description: string;
7488
+ };
7489
+ };
7490
+ response: {
7491
+ description: string;
7492
+ schema: {
7493
+ type: "object";
7494
+ properties: {
7495
+ passages: {
7496
+ type: "array";
7497
+ items: {
7498
+ type: "object";
7499
+ properties: {
7500
+ fileId: {
7501
+ type: "string";
7502
+ };
7503
+ score: {
7504
+ type: "number";
7505
+ };
7506
+ content: {
7507
+ type: "string";
7508
+ };
7509
+ tags: {
7510
+ type: "object";
7511
+ additionalProperties: {
7512
+ type: "string";
7513
+ maxLength: number;
7514
+ };
7515
+ description: string;
7516
+ };
7517
+ };
7518
+ required: string[];
7519
+ };
7520
+ };
7521
+ };
7522
+ required: string[];
7523
+ title: string;
7524
+ additionalProperties: false;
7525
+ };
7526
+ };
7527
+ };
6746
7528
  listTables: {
6747
7529
  name: string;
6748
7530
  path: string;
@@ -7606,6 +8388,7 @@ export declare const state: {
7606
8388
  getFileMetadataResponse: true;
7607
8389
  getFileContentResponse: true;
7608
8390
  updateFileMetadataResponse: true;
8391
+ searchFilesResponse: true;
7609
8392
  listTablesResponse: true;
7610
8393
  getTableResponse: true;
7611
8394
  createTableResponse: true;
@@ -9278,13 +10061,16 @@ export declare const state: {
9278
10061
  botId: {
9279
10062
  type: "string";
9280
10063
  };
9281
- filename: {
10064
+ name: {
9282
10065
  type: "string";
9283
10066
  };
9284
- bytes: {
10067
+ size: {
9285
10068
  type: "number";
9286
10069
  nullable: true;
9287
10070
  };
10071
+ contentType: {
10072
+ type: "string";
10073
+ };
9288
10074
  tags: {
9289
10075
  type: "object";
9290
10076
  additionalProperties: {
@@ -9305,6 +10091,13 @@ export declare const state: {
9305
10091
  type: "string";
9306
10092
  };
9307
10093
  };
10094
+ indexingStatus: {
10095
+ type: "string";
10096
+ enum: string[];
10097
+ };
10098
+ indexingFailureReason: {
10099
+ type: "string";
10100
+ };
9308
10101
  };
9309
10102
  required: string[];
9310
10103
  additionalProperties: false;