@kong-ui-public/analytics-utilities 12.17.2 → 12.18.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.
@@ -939,6 +939,74 @@ export declare const platformQuerySchema: {
939
939
  readonly required: readonly ["datasource"];
940
940
  readonly additionalProperties: false;
941
941
  };
942
+ export declare const tableDataGridQuerySchema: {
943
+ readonly type: "object";
944
+ readonly description: "A query to launch at the platform tabular explore API";
945
+ readonly properties: {
946
+ readonly datasource: {
947
+ readonly type: "string";
948
+ readonly enum: readonly ["platform"];
949
+ };
950
+ readonly entity: {
951
+ readonly type: "string";
952
+ };
953
+ readonly columns: {
954
+ readonly type: "array";
955
+ readonly minItems: 1;
956
+ readonly items: {
957
+ readonly type: "string";
958
+ };
959
+ };
960
+ readonly filters: {
961
+ readonly type: "array";
962
+ readonly description: "A list of filters to apply to the platform query";
963
+ readonly items: {
964
+ readonly oneOf: readonly [{
965
+ readonly type: "object";
966
+ readonly description: "In filter";
967
+ readonly properties: {
968
+ readonly field: {
969
+ readonly type: "string";
970
+ };
971
+ readonly operator: {
972
+ readonly type: "string";
973
+ };
974
+ readonly value: {
975
+ readonly type: "array";
976
+ readonly items: {
977
+ readonly type: readonly ["string", "number", "null"];
978
+ };
979
+ };
980
+ };
981
+ readonly required: readonly ["field", "operator", "value"];
982
+ readonly additionalProperties: false;
983
+ }, {
984
+ readonly type: "object";
985
+ readonly description: "Empty filter";
986
+ readonly properties: {
987
+ readonly field: {
988
+ readonly type: "string";
989
+ };
990
+ readonly operator: {
991
+ readonly type: "string";
992
+ };
993
+ };
994
+ readonly required: readonly ["field", "operator"];
995
+ readonly additionalProperties: false;
996
+ }];
997
+ };
998
+ };
999
+ readonly cursor: {
1000
+ readonly type: "string";
1001
+ };
1002
+ readonly page_size: {
1003
+ readonly type: "number";
1004
+ };
1005
+ };
1006
+ readonly required: readonly ["datasource"];
1007
+ readonly additionalProperties: false;
1008
+ };
1009
+ export type TableDataGridQuery = FromSchemaWithOptions<typeof tableDataGridQuerySchema>;
942
1010
  export declare const validDashboardQuery: {
943
1011
  readonly anyOf: readonly [{
944
1012
  readonly type: "object";
@@ -2489,95 +2557,423 @@ export declare const tileDefinitionSchema: {
2489
2557
  readonly additionalProperties: false;
2490
2558
  };
2491
2559
  export type TileDefinition = FromSchemaWithOptions<typeof tileDefinitionSchema>;
2492
- export declare const tileLayoutSchema: {
2560
+ export declare const tableTileDefinitionSchema: {
2493
2561
  readonly type: "object";
2494
2562
  readonly properties: {
2495
- readonly position: {
2563
+ readonly query: {
2496
2564
  readonly type: "object";
2565
+ readonly description: "A query to launch at the platform tabular explore API";
2497
2566
  readonly properties: {
2498
- readonly col: {
2499
- readonly type: "number";
2567
+ readonly datasource: {
2568
+ readonly type: "string";
2569
+ readonly enum: readonly ["platform"];
2500
2570
  };
2501
- readonly row: {
2571
+ readonly entity: {
2572
+ readonly type: "string";
2573
+ };
2574
+ readonly columns: {
2575
+ readonly type: "array";
2576
+ readonly minItems: 1;
2577
+ readonly items: {
2578
+ readonly type: "string";
2579
+ };
2580
+ };
2581
+ readonly filters: {
2582
+ readonly type: "array";
2583
+ readonly description: "A list of filters to apply to the platform query";
2584
+ readonly items: {
2585
+ readonly oneOf: readonly [{
2586
+ readonly type: "object";
2587
+ readonly description: "In filter";
2588
+ readonly properties: {
2589
+ readonly field: {
2590
+ readonly type: "string";
2591
+ };
2592
+ readonly operator: {
2593
+ readonly type: "string";
2594
+ };
2595
+ readonly value: {
2596
+ readonly type: "array";
2597
+ readonly items: {
2598
+ readonly type: readonly ["string", "number", "null"];
2599
+ };
2600
+ };
2601
+ };
2602
+ readonly required: readonly ["field", "operator", "value"];
2603
+ readonly additionalProperties: false;
2604
+ }, {
2605
+ readonly type: "object";
2606
+ readonly description: "Empty filter";
2607
+ readonly properties: {
2608
+ readonly field: {
2609
+ readonly type: "string";
2610
+ };
2611
+ readonly operator: {
2612
+ readonly type: "string";
2613
+ };
2614
+ };
2615
+ readonly required: readonly ["field", "operator"];
2616
+ readonly additionalProperties: false;
2617
+ }];
2618
+ };
2619
+ };
2620
+ readonly cursor: {
2621
+ readonly type: "string";
2622
+ };
2623
+ readonly page_size: {
2502
2624
  readonly type: "number";
2503
2625
  };
2504
2626
  };
2505
- readonly description: "Position of the tile in the grid.";
2506
- readonly required: readonly ["col", "row"];
2627
+ readonly required: readonly ["datasource"];
2507
2628
  readonly additionalProperties: false;
2508
2629
  };
2509
- readonly size: {
2510
- readonly type: "object";
2511
- readonly properties: {
2512
- readonly cols: {
2513
- readonly type: "number";
2630
+ readonly chart: {
2631
+ readonly anyOf: readonly [{
2632
+ readonly type: "object";
2633
+ readonly properties: {
2634
+ readonly type: {
2635
+ readonly type: "string";
2636
+ readonly enum: readonly ["horizontal_bar", "vertical_bar"];
2637
+ };
2638
+ readonly stacked: {
2639
+ readonly type: "boolean";
2640
+ };
2641
+ readonly chart_dataset_colors: {
2642
+ readonly type: readonly ["object", "array"];
2643
+ readonly items: {
2644
+ readonly type: "string";
2645
+ };
2646
+ readonly additionalProperties: {
2647
+ readonly type: "string";
2648
+ };
2649
+ };
2650
+ readonly synthetics_data_key: {
2651
+ readonly type: "string";
2652
+ };
2653
+ readonly chart_title: {
2654
+ readonly type: "string";
2655
+ };
2656
+ readonly allow_csv_export: {
2657
+ readonly type: "boolean";
2658
+ };
2514
2659
  };
2515
- readonly rows: {
2516
- readonly type: "number";
2660
+ readonly required: readonly ["type"];
2661
+ readonly additionalProperties: false;
2662
+ }, {
2663
+ readonly type: "object";
2664
+ readonly properties: {
2665
+ readonly type: {
2666
+ readonly type: "string";
2667
+ readonly enum: readonly ["gauge"];
2668
+ };
2669
+ readonly metric_display: {
2670
+ readonly type: "string";
2671
+ readonly enum: readonly ["hidden", "single", "full"];
2672
+ };
2673
+ readonly reverse_dataset: {
2674
+ readonly type: "boolean";
2675
+ };
2676
+ readonly numerator: {
2677
+ readonly type: "number";
2678
+ };
2679
+ readonly synthetics_data_key: {
2680
+ readonly type: "string";
2681
+ };
2682
+ readonly chart_title: {
2683
+ readonly type: "string";
2684
+ };
2517
2685
  };
2518
- readonly fit_to_content: {
2519
- readonly type: "boolean";
2686
+ readonly required: readonly ["type"];
2687
+ readonly additionalProperties: false;
2688
+ }, {
2689
+ readonly type: "object";
2690
+ readonly properties: {
2691
+ readonly type: {
2692
+ readonly type: "string";
2693
+ readonly enum: readonly ["donut"];
2694
+ };
2695
+ readonly synthetics_data_key: {
2696
+ readonly type: "string";
2697
+ };
2698
+ readonly chart_title: {
2699
+ readonly type: "string";
2700
+ };
2520
2701
  };
2521
- };
2522
- readonly description: string;
2523
- readonly required: readonly ["cols", "rows"];
2524
- readonly additionalProperties: false;
2525
- };
2526
- };
2527
- readonly required: readonly ["position", "size"];
2528
- readonly additionalProperties: false;
2529
- };
2530
- export type TileLayout = FromSchemaWithOptions<typeof tileLayoutSchema>;
2531
- export declare const tileConfigSchema: {
2532
- readonly type: "object";
2533
- readonly properties: {
2534
- readonly type: {
2535
- readonly type: "string";
2536
- readonly enum: readonly ["chart"];
2537
- };
2538
- readonly definition: {
2539
- readonly type: "object";
2540
- readonly properties: {
2541
- readonly query: {
2542
- readonly anyOf: readonly [{
2702
+ readonly required: readonly ["type"];
2703
+ readonly additionalProperties: false;
2704
+ }, {
2705
+ readonly type: "object";
2706
+ readonly properties: {
2707
+ readonly type: {
2708
+ readonly type: "string";
2709
+ readonly enum: readonly ["timeseries_line", "timeseries_bar"];
2710
+ };
2711
+ readonly stacked: {
2712
+ readonly type: "boolean";
2713
+ };
2714
+ readonly threshold: {
2543
2715
  readonly type: "object";
2544
- readonly description: "A query to launch at the advanced explore API";
2545
- readonly properties: {
2546
- readonly granularity: {
2547
- readonly type: "string";
2548
- readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
2549
- readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
2550
- };
2551
- readonly time_range: {
2716
+ readonly additionalProperties: {
2717
+ readonly type: "array";
2718
+ readonly items: {
2552
2719
  readonly type: "object";
2553
- readonly description: "The time range to query.";
2554
- readonly anyOf: readonly [{
2555
- readonly type: "object";
2556
- readonly properties: {
2557
- readonly tz: {
2558
- readonly type: "string";
2559
- readonly default: "Etc/UTC";
2560
- };
2561
- readonly type: {
2562
- readonly type: "string";
2563
- readonly enum: readonly ["relative"];
2564
- };
2565
- readonly time_range: {
2566
- readonly type: "string";
2567
- };
2720
+ readonly properties: {
2721
+ readonly type: {
2722
+ readonly type: "string";
2723
+ readonly enum: readonly ["warning", "error", "neutral"];
2568
2724
  };
2569
- readonly required: readonly ["type", "time_range"];
2570
- readonly additionalProperties: false;
2571
- }, {
2572
- readonly type: "object";
2573
- readonly description: "A duration representing an exact start and end time.";
2574
- readonly properties: {
2575
- readonly tz: {
2576
- readonly type: "string";
2577
- };
2578
- readonly type: {
2579
- readonly type: "string";
2580
- readonly enum: readonly ["absolute"];
2725
+ readonly value: {
2726
+ readonly type: "number";
2727
+ };
2728
+ readonly label: {
2729
+ readonly type: "string";
2730
+ };
2731
+ readonly highlightIntersections: {
2732
+ readonly type: "boolean";
2733
+ readonly default: false;
2734
+ };
2735
+ };
2736
+ readonly required: readonly ["type", "value"];
2737
+ readonly additionalProperties: false;
2738
+ };
2739
+ };
2740
+ };
2741
+ readonly chart_dataset_colors: {
2742
+ readonly type: readonly ["object", "array"];
2743
+ readonly items: {
2744
+ readonly type: "string";
2745
+ };
2746
+ readonly additionalProperties: {
2747
+ readonly type: "string";
2748
+ };
2749
+ };
2750
+ readonly synthetics_data_key: {
2751
+ readonly type: "string";
2752
+ };
2753
+ readonly chart_title: {
2754
+ readonly type: "string";
2755
+ };
2756
+ readonly allow_csv_export: {
2757
+ readonly type: "boolean";
2758
+ };
2759
+ };
2760
+ readonly required: readonly ["type"];
2761
+ readonly additionalProperties: false;
2762
+ }, {
2763
+ readonly type: "object";
2764
+ readonly properties: {
2765
+ readonly chart_title: {
2766
+ readonly type: "string";
2767
+ };
2768
+ readonly type: {
2769
+ readonly type: "string";
2770
+ readonly enum: readonly ["golden_signals"];
2771
+ };
2772
+ readonly long_card_titles: {
2773
+ readonly type: "boolean";
2774
+ };
2775
+ readonly description: {
2776
+ readonly type: "string";
2777
+ };
2778
+ readonly percentile_latency: {
2779
+ readonly type: "boolean";
2780
+ };
2781
+ };
2782
+ readonly required: readonly ["type"];
2783
+ readonly additionalProperties: false;
2784
+ }, {
2785
+ readonly type: "object";
2786
+ readonly properties: {
2787
+ readonly chart_title: {
2788
+ readonly type: "string";
2789
+ };
2790
+ readonly synthetics_data_key: {
2791
+ readonly type: "string";
2792
+ };
2793
+ readonly type: {
2794
+ readonly type: "string";
2795
+ readonly enum: readonly ["top_n"];
2796
+ };
2797
+ readonly description: {
2798
+ readonly type: "string";
2799
+ };
2800
+ readonly entity_link: {
2801
+ readonly type: "string";
2802
+ };
2803
+ readonly entity_links: {
2804
+ readonly type: "object";
2805
+ readonly additionalProperties: {
2806
+ readonly type: "string";
2807
+ };
2808
+ };
2809
+ };
2810
+ readonly required: readonly ["type"];
2811
+ readonly additionalProperties: false;
2812
+ }, {
2813
+ readonly type: "object";
2814
+ readonly properties: {
2815
+ readonly type: {
2816
+ readonly type: "string";
2817
+ readonly enum: readonly ["slottable"];
2818
+ };
2819
+ readonly id: {
2820
+ readonly type: "string";
2821
+ };
2822
+ };
2823
+ readonly required: readonly ["type", "id"];
2824
+ readonly additionalProperties: false;
2825
+ }, {
2826
+ readonly type: "object";
2827
+ readonly properties: {
2828
+ readonly type: {
2829
+ readonly type: "string";
2830
+ readonly enum: readonly ["single_value"];
2831
+ };
2832
+ readonly decimal_points: {
2833
+ readonly type: "number";
2834
+ };
2835
+ readonly chart_title: {
2836
+ readonly type: "string";
2837
+ };
2838
+ };
2839
+ readonly required: readonly ["type"];
2840
+ readonly additionalProperties: false;
2841
+ }, {
2842
+ readonly type: "object";
2843
+ readonly properties: {
2844
+ readonly type: {
2845
+ readonly type: "string";
2846
+ readonly enum: readonly ["choropleth_map"];
2847
+ };
2848
+ readonly chart_title: {
2849
+ readonly type: "string";
2850
+ };
2851
+ readonly fit_to_country: {
2852
+ readonly type: "string";
2853
+ readonly enum: ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW")[];
2854
+ };
2855
+ readonly legend: {
2856
+ readonly type: "boolean";
2857
+ readonly default: false;
2858
+ };
2859
+ readonly bounds: {
2860
+ readonly type: "array";
2861
+ readonly minItems: 2;
2862
+ readonly maxItems: 2;
2863
+ readonly items: {
2864
+ readonly type: "array";
2865
+ readonly minItems: 2;
2866
+ readonly maxItems: 2;
2867
+ readonly items: readonly [{
2868
+ readonly type: "number";
2869
+ readonly minimum: -180;
2870
+ readonly maximum: 180;
2871
+ }, {
2872
+ readonly type: "number";
2873
+ readonly minimum: -90;
2874
+ readonly maximum: 90;
2875
+ }];
2876
+ };
2877
+ };
2878
+ };
2879
+ readonly required: readonly ["type"];
2880
+ readonly additionalProperties: false;
2881
+ }];
2882
+ };
2883
+ };
2884
+ readonly required: readonly ["query", "chart"];
2885
+ readonly additionalProperties: false;
2886
+ };
2887
+ export type TableTileDefinition = FromSchemaWithOptions<typeof tableTileDefinitionSchema>;
2888
+ export declare const tileLayoutSchema: {
2889
+ readonly type: "object";
2890
+ readonly properties: {
2891
+ readonly position: {
2892
+ readonly type: "object";
2893
+ readonly properties: {
2894
+ readonly col: {
2895
+ readonly type: "number";
2896
+ };
2897
+ readonly row: {
2898
+ readonly type: "number";
2899
+ };
2900
+ };
2901
+ readonly description: "Position of the tile in the grid.";
2902
+ readonly required: readonly ["col", "row"];
2903
+ readonly additionalProperties: false;
2904
+ };
2905
+ readonly size: {
2906
+ readonly type: "object";
2907
+ readonly properties: {
2908
+ readonly cols: {
2909
+ readonly type: "number";
2910
+ };
2911
+ readonly rows: {
2912
+ readonly type: "number";
2913
+ };
2914
+ readonly fit_to_content: {
2915
+ readonly type: "boolean";
2916
+ };
2917
+ };
2918
+ readonly description: string;
2919
+ readonly required: readonly ["cols", "rows"];
2920
+ readonly additionalProperties: false;
2921
+ };
2922
+ };
2923
+ readonly required: readonly ["position", "size"];
2924
+ readonly additionalProperties: false;
2925
+ };
2926
+ export type TileLayout = FromSchemaWithOptions<typeof tileLayoutSchema>;
2927
+ export declare const chartTileConfigSchema: {
2928
+ readonly type: "object";
2929
+ readonly properties: {
2930
+ readonly type: {
2931
+ readonly type: "string";
2932
+ readonly enum: readonly ["chart"];
2933
+ };
2934
+ readonly definition: {
2935
+ readonly type: "object";
2936
+ readonly properties: {
2937
+ readonly query: {
2938
+ readonly anyOf: readonly [{
2939
+ readonly type: "object";
2940
+ readonly description: "A query to launch at the advanced explore API";
2941
+ readonly properties: {
2942
+ readonly granularity: {
2943
+ readonly type: "string";
2944
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
2945
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
2946
+ };
2947
+ readonly time_range: {
2948
+ readonly type: "object";
2949
+ readonly description: "The time range to query.";
2950
+ readonly anyOf: readonly [{
2951
+ readonly type: "object";
2952
+ readonly properties: {
2953
+ readonly tz: {
2954
+ readonly type: "string";
2955
+ readonly default: "Etc/UTC";
2956
+ };
2957
+ readonly type: {
2958
+ readonly type: "string";
2959
+ readonly enum: readonly ["relative"];
2960
+ };
2961
+ readonly time_range: {
2962
+ readonly type: "string";
2963
+ };
2964
+ };
2965
+ readonly required: readonly ["type", "time_range"];
2966
+ readonly additionalProperties: false;
2967
+ }, {
2968
+ readonly type: "object";
2969
+ readonly description: "A duration representing an exact start and end time.";
2970
+ readonly properties: {
2971
+ readonly tz: {
2972
+ readonly type: "string";
2973
+ };
2974
+ readonly type: {
2975
+ readonly type: "string";
2976
+ readonly enum: readonly ["absolute"];
2581
2977
  };
2582
2978
  readonly start: {
2583
2979
  readonly type: "string";
@@ -3485,619 +3881,2714 @@ export declare const tileConfigSchema: {
3485
3881
  readonly required: readonly ["type", "definition", "layout"];
3486
3882
  readonly additionalProperties: false;
3487
3883
  };
3488
- export type TileConfig = FromSchemaWithOptions<typeof tileConfigSchema>;
3489
- export declare const dashboardConfigSchema: {
3884
+ export type TileConfig = FromSchemaWithOptions<typeof chartTileConfigSchema>;
3885
+ export declare const tableTileConfigSchema: {
3490
3886
  readonly type: "object";
3491
3887
  readonly properties: {
3492
- readonly tiles: {
3493
- readonly type: "array";
3494
- readonly items: {
3495
- readonly type: "object";
3496
- readonly properties: {
3497
- readonly type: {
3498
- readonly type: "string";
3499
- readonly enum: readonly ["chart"];
3888
+ readonly type: {
3889
+ readonly type: "string";
3890
+ readonly enum: readonly ["table"];
3891
+ };
3892
+ readonly definition: {
3893
+ readonly type: "object";
3894
+ readonly properties: {
3895
+ readonly query: {
3896
+ readonly type: "object";
3897
+ readonly description: "A query to launch at the platform tabular explore API";
3898
+ readonly properties: {
3899
+ readonly datasource: {
3900
+ readonly type: "string";
3901
+ readonly enum: readonly ["platform"];
3902
+ };
3903
+ readonly entity: {
3904
+ readonly type: "string";
3905
+ };
3906
+ readonly columns: {
3907
+ readonly type: "array";
3908
+ readonly minItems: 1;
3909
+ readonly items: {
3910
+ readonly type: "string";
3911
+ };
3912
+ };
3913
+ readonly filters: {
3914
+ readonly type: "array";
3915
+ readonly description: "A list of filters to apply to the platform query";
3916
+ readonly items: {
3917
+ readonly oneOf: readonly [{
3918
+ readonly type: "object";
3919
+ readonly description: "In filter";
3920
+ readonly properties: {
3921
+ readonly field: {
3922
+ readonly type: "string";
3923
+ };
3924
+ readonly operator: {
3925
+ readonly type: "string";
3926
+ };
3927
+ readonly value: {
3928
+ readonly type: "array";
3929
+ readonly items: {
3930
+ readonly type: readonly ["string", "number", "null"];
3931
+ };
3932
+ };
3933
+ };
3934
+ readonly required: readonly ["field", "operator", "value"];
3935
+ readonly additionalProperties: false;
3936
+ }, {
3937
+ readonly type: "object";
3938
+ readonly description: "Empty filter";
3939
+ readonly properties: {
3940
+ readonly field: {
3941
+ readonly type: "string";
3942
+ };
3943
+ readonly operator: {
3944
+ readonly type: "string";
3945
+ };
3946
+ };
3947
+ readonly required: readonly ["field", "operator"];
3948
+ readonly additionalProperties: false;
3949
+ }];
3950
+ };
3951
+ };
3952
+ readonly cursor: {
3953
+ readonly type: "string";
3954
+ };
3955
+ readonly page_size: {
3956
+ readonly type: "number";
3957
+ };
3958
+ };
3959
+ readonly required: readonly ["datasource"];
3960
+ readonly additionalProperties: false;
3961
+ };
3962
+ readonly chart: {
3963
+ readonly anyOf: readonly [{
3964
+ readonly type: "object";
3965
+ readonly properties: {
3966
+ readonly type: {
3967
+ readonly type: "string";
3968
+ readonly enum: readonly ["horizontal_bar", "vertical_bar"];
3969
+ };
3970
+ readonly stacked: {
3971
+ readonly type: "boolean";
3972
+ };
3973
+ readonly chart_dataset_colors: {
3974
+ readonly type: readonly ["object", "array"];
3975
+ readonly items: {
3976
+ readonly type: "string";
3977
+ };
3978
+ readonly additionalProperties: {
3979
+ readonly type: "string";
3980
+ };
3981
+ };
3982
+ readonly synthetics_data_key: {
3983
+ readonly type: "string";
3984
+ };
3985
+ readonly chart_title: {
3986
+ readonly type: "string";
3987
+ };
3988
+ readonly allow_csv_export: {
3989
+ readonly type: "boolean";
3990
+ };
3991
+ };
3992
+ readonly required: readonly ["type"];
3993
+ readonly additionalProperties: false;
3994
+ }, {
3995
+ readonly type: "object";
3996
+ readonly properties: {
3997
+ readonly type: {
3998
+ readonly type: "string";
3999
+ readonly enum: readonly ["gauge"];
4000
+ };
4001
+ readonly metric_display: {
4002
+ readonly type: "string";
4003
+ readonly enum: readonly ["hidden", "single", "full"];
4004
+ };
4005
+ readonly reverse_dataset: {
4006
+ readonly type: "boolean";
4007
+ };
4008
+ readonly numerator: {
4009
+ readonly type: "number";
4010
+ };
4011
+ readonly synthetics_data_key: {
4012
+ readonly type: "string";
4013
+ };
4014
+ readonly chart_title: {
4015
+ readonly type: "string";
4016
+ };
4017
+ };
4018
+ readonly required: readonly ["type"];
4019
+ readonly additionalProperties: false;
4020
+ }, {
4021
+ readonly type: "object";
4022
+ readonly properties: {
4023
+ readonly type: {
4024
+ readonly type: "string";
4025
+ readonly enum: readonly ["donut"];
4026
+ };
4027
+ readonly synthetics_data_key: {
4028
+ readonly type: "string";
4029
+ };
4030
+ readonly chart_title: {
4031
+ readonly type: "string";
4032
+ };
4033
+ };
4034
+ readonly required: readonly ["type"];
4035
+ readonly additionalProperties: false;
4036
+ }, {
4037
+ readonly type: "object";
4038
+ readonly properties: {
4039
+ readonly type: {
4040
+ readonly type: "string";
4041
+ readonly enum: readonly ["timeseries_line", "timeseries_bar"];
4042
+ };
4043
+ readonly stacked: {
4044
+ readonly type: "boolean";
4045
+ };
4046
+ readonly threshold: {
4047
+ readonly type: "object";
4048
+ readonly additionalProperties: {
4049
+ readonly type: "array";
4050
+ readonly items: {
4051
+ readonly type: "object";
4052
+ readonly properties: {
4053
+ readonly type: {
4054
+ readonly type: "string";
4055
+ readonly enum: readonly ["warning", "error", "neutral"];
4056
+ };
4057
+ readonly value: {
4058
+ readonly type: "number";
4059
+ };
4060
+ readonly label: {
4061
+ readonly type: "string";
4062
+ };
4063
+ readonly highlightIntersections: {
4064
+ readonly type: "boolean";
4065
+ readonly default: false;
4066
+ };
4067
+ };
4068
+ readonly required: readonly ["type", "value"];
4069
+ readonly additionalProperties: false;
4070
+ };
4071
+ };
4072
+ };
4073
+ readonly chart_dataset_colors: {
4074
+ readonly type: readonly ["object", "array"];
4075
+ readonly items: {
4076
+ readonly type: "string";
4077
+ };
4078
+ readonly additionalProperties: {
4079
+ readonly type: "string";
4080
+ };
4081
+ };
4082
+ readonly synthetics_data_key: {
4083
+ readonly type: "string";
4084
+ };
4085
+ readonly chart_title: {
4086
+ readonly type: "string";
4087
+ };
4088
+ readonly allow_csv_export: {
4089
+ readonly type: "boolean";
4090
+ };
4091
+ };
4092
+ readonly required: readonly ["type"];
4093
+ readonly additionalProperties: false;
4094
+ }, {
4095
+ readonly type: "object";
4096
+ readonly properties: {
4097
+ readonly chart_title: {
4098
+ readonly type: "string";
4099
+ };
4100
+ readonly type: {
4101
+ readonly type: "string";
4102
+ readonly enum: readonly ["golden_signals"];
4103
+ };
4104
+ readonly long_card_titles: {
4105
+ readonly type: "boolean";
4106
+ };
4107
+ readonly description: {
4108
+ readonly type: "string";
4109
+ };
4110
+ readonly percentile_latency: {
4111
+ readonly type: "boolean";
4112
+ };
4113
+ };
4114
+ readonly required: readonly ["type"];
4115
+ readonly additionalProperties: false;
4116
+ }, {
4117
+ readonly type: "object";
4118
+ readonly properties: {
4119
+ readonly chart_title: {
4120
+ readonly type: "string";
4121
+ };
4122
+ readonly synthetics_data_key: {
4123
+ readonly type: "string";
4124
+ };
4125
+ readonly type: {
4126
+ readonly type: "string";
4127
+ readonly enum: readonly ["top_n"];
4128
+ };
4129
+ readonly description: {
4130
+ readonly type: "string";
4131
+ };
4132
+ readonly entity_link: {
4133
+ readonly type: "string";
4134
+ };
4135
+ readonly entity_links: {
4136
+ readonly type: "object";
4137
+ readonly additionalProperties: {
4138
+ readonly type: "string";
4139
+ };
4140
+ };
4141
+ };
4142
+ readonly required: readonly ["type"];
4143
+ readonly additionalProperties: false;
4144
+ }, {
4145
+ readonly type: "object";
4146
+ readonly properties: {
4147
+ readonly type: {
4148
+ readonly type: "string";
4149
+ readonly enum: readonly ["slottable"];
4150
+ };
4151
+ readonly id: {
4152
+ readonly type: "string";
4153
+ };
4154
+ };
4155
+ readonly required: readonly ["type", "id"];
4156
+ readonly additionalProperties: false;
4157
+ }, {
4158
+ readonly type: "object";
4159
+ readonly properties: {
4160
+ readonly type: {
4161
+ readonly type: "string";
4162
+ readonly enum: readonly ["single_value"];
4163
+ };
4164
+ readonly decimal_points: {
4165
+ readonly type: "number";
4166
+ };
4167
+ readonly chart_title: {
4168
+ readonly type: "string";
4169
+ };
4170
+ };
4171
+ readonly required: readonly ["type"];
4172
+ readonly additionalProperties: false;
4173
+ }, {
4174
+ readonly type: "object";
4175
+ readonly properties: {
4176
+ readonly type: {
4177
+ readonly type: "string";
4178
+ readonly enum: readonly ["choropleth_map"];
4179
+ };
4180
+ readonly chart_title: {
4181
+ readonly type: "string";
4182
+ };
4183
+ readonly fit_to_country: {
4184
+ readonly type: "string";
4185
+ readonly enum: ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW")[];
4186
+ };
4187
+ readonly legend: {
4188
+ readonly type: "boolean";
4189
+ readonly default: false;
4190
+ };
4191
+ readonly bounds: {
4192
+ readonly type: "array";
4193
+ readonly minItems: 2;
4194
+ readonly maxItems: 2;
4195
+ readonly items: {
4196
+ readonly type: "array";
4197
+ readonly minItems: 2;
4198
+ readonly maxItems: 2;
4199
+ readonly items: readonly [{
4200
+ readonly type: "number";
4201
+ readonly minimum: -180;
4202
+ readonly maximum: 180;
4203
+ }, {
4204
+ readonly type: "number";
4205
+ readonly minimum: -90;
4206
+ readonly maximum: 90;
4207
+ }];
4208
+ };
4209
+ };
4210
+ };
4211
+ readonly required: readonly ["type"];
4212
+ readonly additionalProperties: false;
4213
+ }];
4214
+ };
4215
+ };
4216
+ readonly required: readonly ["query", "chart"];
4217
+ readonly additionalProperties: false;
4218
+ };
4219
+ readonly layout: {
4220
+ readonly type: "object";
4221
+ readonly properties: {
4222
+ readonly position: {
4223
+ readonly type: "object";
4224
+ readonly properties: {
4225
+ readonly col: {
4226
+ readonly type: "number";
4227
+ };
4228
+ readonly row: {
4229
+ readonly type: "number";
4230
+ };
4231
+ };
4232
+ readonly description: "Position of the tile in the grid.";
4233
+ readonly required: readonly ["col", "row"];
4234
+ readonly additionalProperties: false;
4235
+ };
4236
+ readonly size: {
4237
+ readonly type: "object";
4238
+ readonly properties: {
4239
+ readonly cols: {
4240
+ readonly type: "number";
4241
+ };
4242
+ readonly rows: {
4243
+ readonly type: "number";
4244
+ };
4245
+ readonly fit_to_content: {
4246
+ readonly type: "boolean";
4247
+ };
4248
+ };
4249
+ readonly description: string;
4250
+ readonly required: readonly ["cols", "rows"];
4251
+ readonly additionalProperties: false;
4252
+ };
4253
+ };
4254
+ readonly required: readonly ["position", "size"];
4255
+ readonly additionalProperties: false;
4256
+ };
4257
+ readonly id: {
4258
+ readonly type: "string";
4259
+ readonly description: "Unique identifier for the tile. If not provided, one will be generated.";
4260
+ };
4261
+ };
4262
+ readonly required: readonly ["type", "definition", "layout"];
4263
+ readonly additionalProperties: false;
4264
+ };
4265
+ export type TableTileConfig = FromSchemaWithOptions<typeof tableTileConfigSchema>;
4266
+ export declare const tileConfigSchema: {
4267
+ readonly anyOf: readonly [{
4268
+ readonly type: "object";
4269
+ readonly properties: {
4270
+ readonly type: {
4271
+ readonly type: "string";
4272
+ readonly enum: readonly ["chart"];
4273
+ };
4274
+ readonly definition: {
4275
+ readonly type: "object";
4276
+ readonly properties: {
4277
+ readonly query: {
4278
+ readonly anyOf: readonly [{
4279
+ readonly type: "object";
4280
+ readonly description: "A query to launch at the advanced explore API";
4281
+ readonly properties: {
4282
+ readonly granularity: {
4283
+ readonly type: "string";
4284
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
4285
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
4286
+ };
4287
+ readonly time_range: {
4288
+ readonly type: "object";
4289
+ readonly description: "The time range to query.";
4290
+ readonly anyOf: readonly [{
4291
+ readonly type: "object";
4292
+ readonly properties: {
4293
+ readonly tz: {
4294
+ readonly type: "string";
4295
+ readonly default: "Etc/UTC";
4296
+ };
4297
+ readonly type: {
4298
+ readonly type: "string";
4299
+ readonly enum: readonly ["relative"];
4300
+ };
4301
+ readonly time_range: {
4302
+ readonly type: "string";
4303
+ };
4304
+ };
4305
+ readonly required: readonly ["type", "time_range"];
4306
+ readonly additionalProperties: false;
4307
+ }, {
4308
+ readonly type: "object";
4309
+ readonly description: "A duration representing an exact start and end time.";
4310
+ readonly properties: {
4311
+ readonly tz: {
4312
+ readonly type: "string";
4313
+ };
4314
+ readonly type: {
4315
+ readonly type: "string";
4316
+ readonly enum: readonly ["absolute"];
4317
+ };
4318
+ readonly start: {
4319
+ readonly type: "string";
4320
+ };
4321
+ readonly end: {
4322
+ readonly type: "string";
4323
+ };
4324
+ };
4325
+ readonly required: readonly ["type", "start", "end"];
4326
+ readonly additionalProperties: false;
4327
+ }];
4328
+ readonly default: {
4329
+ readonly type: "relative";
4330
+ readonly time_range: "1h";
4331
+ };
4332
+ };
4333
+ readonly limit: {
4334
+ readonly type: "number";
4335
+ };
4336
+ readonly meta: {
4337
+ readonly type: "object";
4338
+ };
4339
+ readonly datasource: {
4340
+ readonly type: "string";
4341
+ readonly enum: readonly ["api_usage"];
4342
+ };
4343
+ readonly metrics: {
4344
+ readonly type: "array";
4345
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
4346
+ readonly items: {
4347
+ readonly enum?: readonly string[] | undefined;
4348
+ readonly type: "string";
4349
+ };
4350
+ };
4351
+ readonly dimensions: {
4352
+ readonly type: "array";
4353
+ readonly description: "List of attributes or entity types to group by.";
4354
+ readonly minItems: 0;
4355
+ readonly maxItems: 3;
4356
+ readonly items: {
4357
+ readonly enum?: readonly string[] | undefined;
4358
+ readonly type: "string";
4359
+ };
4360
+ };
4361
+ readonly filters: {
4362
+ readonly type: "array";
4363
+ readonly description: "A list of filters to apply to the query";
4364
+ readonly items: {
4365
+ readonly oneOf: readonly [{
4366
+ readonly type: "object";
4367
+ readonly description: "In filter";
4368
+ readonly properties: {
4369
+ readonly field: {
4370
+ readonly enum?: readonly string[] | undefined;
4371
+ readonly type: "string";
4372
+ };
4373
+ readonly operator: {
4374
+ readonly type: "string";
4375
+ readonly enum: readonly ["in", "not_in", "selector"];
4376
+ };
4377
+ readonly value: {
4378
+ readonly type: "array";
4379
+ readonly items: {
4380
+ readonly type: readonly ["string", "number", "null"];
4381
+ };
4382
+ };
4383
+ };
4384
+ readonly required: readonly ["field", "operator", "value"];
4385
+ readonly additionalProperties: false;
4386
+ }, {
4387
+ readonly type: "object";
4388
+ readonly description: "Empty filter";
4389
+ readonly properties: {
4390
+ readonly field: {
4391
+ readonly enum?: readonly string[] | undefined;
4392
+ readonly type: "string";
4393
+ };
4394
+ readonly operator: {
4395
+ readonly type: "string";
4396
+ readonly enum: readonly ["empty", "not_empty"];
4397
+ };
4398
+ };
4399
+ readonly required: readonly ["field", "operator"];
4400
+ readonly additionalProperties: false;
4401
+ }];
4402
+ };
4403
+ };
4404
+ };
4405
+ readonly required: readonly ["datasource"];
4406
+ readonly additionalProperties: false;
4407
+ }, {
4408
+ readonly type: "object";
4409
+ readonly description: "A query to launch at the basic explore API";
4410
+ readonly properties: {
4411
+ readonly granularity: {
4412
+ readonly type: "string";
4413
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
4414
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
4415
+ };
4416
+ readonly time_range: {
4417
+ readonly type: "object";
4418
+ readonly description: "The time range to query.";
4419
+ readonly anyOf: readonly [{
4420
+ readonly type: "object";
4421
+ readonly properties: {
4422
+ readonly tz: {
4423
+ readonly type: "string";
4424
+ readonly default: "Etc/UTC";
4425
+ };
4426
+ readonly type: {
4427
+ readonly type: "string";
4428
+ readonly enum: readonly ["relative"];
4429
+ };
4430
+ readonly time_range: {
4431
+ readonly type: "string";
4432
+ };
4433
+ };
4434
+ readonly required: readonly ["type", "time_range"];
4435
+ readonly additionalProperties: false;
4436
+ }, {
4437
+ readonly type: "object";
4438
+ readonly description: "A duration representing an exact start and end time.";
4439
+ readonly properties: {
4440
+ readonly tz: {
4441
+ readonly type: "string";
4442
+ };
4443
+ readonly type: {
4444
+ readonly type: "string";
4445
+ readonly enum: readonly ["absolute"];
4446
+ };
4447
+ readonly start: {
4448
+ readonly type: "string";
4449
+ };
4450
+ readonly end: {
4451
+ readonly type: "string";
4452
+ };
4453
+ };
4454
+ readonly required: readonly ["type", "start", "end"];
4455
+ readonly additionalProperties: false;
4456
+ }];
4457
+ readonly default: {
4458
+ readonly type: "relative";
4459
+ readonly time_range: "1h";
4460
+ };
4461
+ };
4462
+ readonly limit: {
4463
+ readonly type: "number";
4464
+ };
4465
+ readonly meta: {
4466
+ readonly type: "object";
4467
+ };
4468
+ readonly datasource: {
4469
+ readonly type: "string";
4470
+ readonly enum: readonly ["basic"];
4471
+ };
4472
+ readonly metrics: {
4473
+ readonly type: "array";
4474
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
4475
+ readonly items: {
4476
+ readonly enum?: readonly string[] | undefined;
4477
+ readonly type: "string";
4478
+ };
4479
+ };
4480
+ readonly dimensions: {
4481
+ readonly type: "array";
4482
+ readonly description: "List of attributes or entity types to group by.";
4483
+ readonly minItems: 0;
4484
+ readonly maxItems: 3;
4485
+ readonly items: {
4486
+ readonly enum?: readonly string[] | undefined;
4487
+ readonly type: "string";
4488
+ };
4489
+ };
4490
+ readonly filters: {
4491
+ readonly type: "array";
4492
+ readonly description: "A list of filters to apply to the query";
4493
+ readonly items: {
4494
+ readonly oneOf: readonly [{
4495
+ readonly type: "object";
4496
+ readonly description: "In filter";
4497
+ readonly properties: {
4498
+ readonly field: {
4499
+ readonly enum?: readonly string[] | undefined;
4500
+ readonly type: "string";
4501
+ };
4502
+ readonly operator: {
4503
+ readonly type: "string";
4504
+ readonly enum: readonly ["in", "not_in", "selector"];
4505
+ };
4506
+ readonly value: {
4507
+ readonly type: "array";
4508
+ readonly items: {
4509
+ readonly type: readonly ["string", "number", "null"];
4510
+ };
4511
+ };
4512
+ };
4513
+ readonly required: readonly ["field", "operator", "value"];
4514
+ readonly additionalProperties: false;
4515
+ }, {
4516
+ readonly type: "object";
4517
+ readonly description: "Empty filter";
4518
+ readonly properties: {
4519
+ readonly field: {
4520
+ readonly enum?: readonly string[] | undefined;
4521
+ readonly type: "string";
4522
+ };
4523
+ readonly operator: {
4524
+ readonly type: "string";
4525
+ readonly enum: readonly ["empty", "not_empty"];
4526
+ };
4527
+ };
4528
+ readonly required: readonly ["field", "operator"];
4529
+ readonly additionalProperties: false;
4530
+ }];
4531
+ };
4532
+ };
4533
+ };
4534
+ readonly required: readonly ["datasource"];
4535
+ readonly additionalProperties: false;
4536
+ }, {
4537
+ readonly type: "object";
4538
+ readonly description: "A query to launch at the AI explore API";
4539
+ readonly properties: {
4540
+ readonly granularity: {
4541
+ readonly type: "string";
4542
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
4543
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
4544
+ };
4545
+ readonly time_range: {
4546
+ readonly type: "object";
4547
+ readonly description: "The time range to query.";
4548
+ readonly anyOf: readonly [{
4549
+ readonly type: "object";
4550
+ readonly properties: {
4551
+ readonly tz: {
4552
+ readonly type: "string";
4553
+ readonly default: "Etc/UTC";
4554
+ };
4555
+ readonly type: {
4556
+ readonly type: "string";
4557
+ readonly enum: readonly ["relative"];
4558
+ };
4559
+ readonly time_range: {
4560
+ readonly type: "string";
4561
+ };
4562
+ };
4563
+ readonly required: readonly ["type", "time_range"];
4564
+ readonly additionalProperties: false;
4565
+ }, {
4566
+ readonly type: "object";
4567
+ readonly description: "A duration representing an exact start and end time.";
4568
+ readonly properties: {
4569
+ readonly tz: {
4570
+ readonly type: "string";
4571
+ };
4572
+ readonly type: {
4573
+ readonly type: "string";
4574
+ readonly enum: readonly ["absolute"];
4575
+ };
4576
+ readonly start: {
4577
+ readonly type: "string";
4578
+ };
4579
+ readonly end: {
4580
+ readonly type: "string";
4581
+ };
4582
+ };
4583
+ readonly required: readonly ["type", "start", "end"];
4584
+ readonly additionalProperties: false;
4585
+ }];
4586
+ readonly default: {
4587
+ readonly type: "relative";
4588
+ readonly time_range: "1h";
4589
+ };
4590
+ };
4591
+ readonly limit: {
4592
+ readonly type: "number";
4593
+ };
4594
+ readonly meta: {
4595
+ readonly type: "object";
4596
+ };
4597
+ readonly datasource: {
4598
+ readonly type: "string";
4599
+ readonly enum: readonly ["llm_usage"];
4600
+ };
4601
+ readonly metrics: {
4602
+ readonly type: "array";
4603
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
4604
+ readonly items: {
4605
+ readonly enum?: readonly string[] | undefined;
4606
+ readonly type: "string";
4607
+ };
4608
+ };
4609
+ readonly dimensions: {
4610
+ readonly type: "array";
4611
+ readonly description: "List of attributes or entity types to group by.";
4612
+ readonly minItems: 0;
4613
+ readonly maxItems: 3;
4614
+ readonly items: {
4615
+ readonly enum?: readonly string[] | undefined;
4616
+ readonly type: "string";
4617
+ };
4618
+ };
4619
+ readonly filters: {
4620
+ readonly type: "array";
4621
+ readonly description: "A list of filters to apply to the query";
4622
+ readonly items: {
4623
+ readonly oneOf: readonly [{
4624
+ readonly type: "object";
4625
+ readonly description: "In filter";
4626
+ readonly properties: {
4627
+ readonly field: {
4628
+ readonly enum?: readonly string[] | undefined;
4629
+ readonly type: "string";
4630
+ };
4631
+ readonly operator: {
4632
+ readonly type: "string";
4633
+ readonly enum: readonly ["in", "not_in", "selector"];
4634
+ };
4635
+ readonly value: {
4636
+ readonly type: "array";
4637
+ readonly items: {
4638
+ readonly type: readonly ["string", "number", "null"];
4639
+ };
4640
+ };
4641
+ };
4642
+ readonly required: readonly ["field", "operator", "value"];
4643
+ readonly additionalProperties: false;
4644
+ }, {
4645
+ readonly type: "object";
4646
+ readonly description: "Empty filter";
4647
+ readonly properties: {
4648
+ readonly field: {
4649
+ readonly enum?: readonly string[] | undefined;
4650
+ readonly type: "string";
4651
+ };
4652
+ readonly operator: {
4653
+ readonly type: "string";
4654
+ readonly enum: readonly ["empty", "not_empty"];
4655
+ };
4656
+ };
4657
+ readonly required: readonly ["field", "operator"];
4658
+ readonly additionalProperties: false;
4659
+ }];
4660
+ };
4661
+ };
4662
+ };
4663
+ readonly required: readonly ["datasource"];
4664
+ readonly additionalProperties: false;
4665
+ }, {
4666
+ readonly type: "object";
4667
+ readonly description: "A query to launch at the Agentic explore API";
4668
+ readonly properties: {
4669
+ readonly granularity: {
4670
+ readonly type: "string";
4671
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
4672
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
4673
+ };
4674
+ readonly time_range: {
4675
+ readonly type: "object";
4676
+ readonly description: "The time range to query.";
4677
+ readonly anyOf: readonly [{
4678
+ readonly type: "object";
4679
+ readonly properties: {
4680
+ readonly tz: {
4681
+ readonly type: "string";
4682
+ readonly default: "Etc/UTC";
4683
+ };
4684
+ readonly type: {
4685
+ readonly type: "string";
4686
+ readonly enum: readonly ["relative"];
4687
+ };
4688
+ readonly time_range: {
4689
+ readonly type: "string";
4690
+ };
4691
+ };
4692
+ readonly required: readonly ["type", "time_range"];
4693
+ readonly additionalProperties: false;
4694
+ }, {
4695
+ readonly type: "object";
4696
+ readonly description: "A duration representing an exact start and end time.";
4697
+ readonly properties: {
4698
+ readonly tz: {
4699
+ readonly type: "string";
4700
+ };
4701
+ readonly type: {
4702
+ readonly type: "string";
4703
+ readonly enum: readonly ["absolute"];
4704
+ };
4705
+ readonly start: {
4706
+ readonly type: "string";
4707
+ };
4708
+ readonly end: {
4709
+ readonly type: "string";
4710
+ };
4711
+ };
4712
+ readonly required: readonly ["type", "start", "end"];
4713
+ readonly additionalProperties: false;
4714
+ }];
4715
+ readonly default: {
4716
+ readonly type: "relative";
4717
+ readonly time_range: "1h";
4718
+ };
4719
+ };
4720
+ readonly limit: {
4721
+ readonly type: "number";
4722
+ };
4723
+ readonly meta: {
4724
+ readonly type: "object";
4725
+ };
4726
+ readonly datasource: {
4727
+ readonly type: "string";
4728
+ readonly enum: readonly ["agentic_usage"];
4729
+ };
4730
+ readonly metrics: {
4731
+ readonly type: "array";
4732
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
4733
+ readonly items: {
4734
+ readonly enum?: readonly string[] | undefined;
4735
+ readonly type: "string";
4736
+ };
4737
+ };
4738
+ readonly dimensions: {
4739
+ readonly type: "array";
4740
+ readonly description: "List of attributes or entity types to group by.";
4741
+ readonly minItems: 0;
4742
+ readonly maxItems: 3;
4743
+ readonly items: {
4744
+ readonly enum?: readonly string[] | undefined;
4745
+ readonly type: "string";
4746
+ };
4747
+ };
4748
+ readonly filters: {
4749
+ readonly type: "array";
4750
+ readonly description: "A list of filters to apply to the query";
4751
+ readonly items: {
4752
+ readonly oneOf: readonly [{
4753
+ readonly type: "object";
4754
+ readonly description: "In filter";
4755
+ readonly properties: {
4756
+ readonly field: {
4757
+ readonly enum?: readonly string[] | undefined;
4758
+ readonly type: "string";
4759
+ };
4760
+ readonly operator: {
4761
+ readonly type: "string";
4762
+ readonly enum: readonly ["in", "not_in", "selector"];
4763
+ };
4764
+ readonly value: {
4765
+ readonly type: "array";
4766
+ readonly items: {
4767
+ readonly type: readonly ["string", "number", "null"];
4768
+ };
4769
+ };
4770
+ };
4771
+ readonly required: readonly ["field", "operator", "value"];
4772
+ readonly additionalProperties: false;
4773
+ }, {
4774
+ readonly type: "object";
4775
+ readonly description: "Empty filter";
4776
+ readonly properties: {
4777
+ readonly field: {
4778
+ readonly enum?: readonly string[] | undefined;
4779
+ readonly type: "string";
4780
+ };
4781
+ readonly operator: {
4782
+ readonly type: "string";
4783
+ readonly enum: readonly ["empty", "not_empty"];
4784
+ };
4785
+ };
4786
+ readonly required: readonly ["field", "operator"];
4787
+ readonly additionalProperties: false;
4788
+ }];
4789
+ };
4790
+ };
4791
+ };
4792
+ readonly required: readonly ["datasource"];
4793
+ readonly additionalProperties: false;
4794
+ }, {
4795
+ readonly type: "object";
4796
+ readonly description: "A query to launch at the platform dashboard API";
4797
+ readonly properties: {
4798
+ readonly granularity: {
4799
+ readonly type: "string";
4800
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
4801
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
4802
+ };
4803
+ readonly time_range: {
4804
+ readonly type: "object";
4805
+ readonly description: "The time range to query.";
4806
+ readonly anyOf: readonly [{
4807
+ readonly type: "object";
4808
+ readonly properties: {
4809
+ readonly tz: {
4810
+ readonly type: "string";
4811
+ readonly default: "Etc/UTC";
4812
+ };
4813
+ readonly type: {
4814
+ readonly type: "string";
4815
+ readonly enum: readonly ["relative"];
4816
+ };
4817
+ readonly time_range: {
4818
+ readonly type: "string";
4819
+ };
4820
+ };
4821
+ readonly required: readonly ["type", "time_range"];
4822
+ readonly additionalProperties: false;
4823
+ }, {
4824
+ readonly type: "object";
4825
+ readonly description: "A duration representing an exact start and end time.";
4826
+ readonly properties: {
4827
+ readonly tz: {
4828
+ readonly type: "string";
4829
+ };
4830
+ readonly type: {
4831
+ readonly type: "string";
4832
+ readonly enum: readonly ["absolute"];
4833
+ };
4834
+ readonly start: {
4835
+ readonly type: "string";
4836
+ };
4837
+ readonly end: {
4838
+ readonly type: "string";
4839
+ };
4840
+ };
4841
+ readonly required: readonly ["type", "start", "end"];
4842
+ readonly additionalProperties: false;
4843
+ }];
4844
+ readonly default: {
4845
+ readonly type: "relative";
4846
+ readonly time_range: "1h";
4847
+ };
4848
+ };
4849
+ readonly limit: {
4850
+ readonly type: "number";
4851
+ };
4852
+ readonly meta: {
4853
+ readonly type: "object";
4854
+ };
4855
+ readonly datasource: {
4856
+ readonly type: "string";
4857
+ readonly enum: readonly ["platform"];
4858
+ };
4859
+ readonly metrics: {
4860
+ readonly type: "array";
4861
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
4862
+ readonly items: {
4863
+ readonly enum?: readonly string[] | undefined;
4864
+ readonly type: "string";
4865
+ };
4866
+ };
4867
+ readonly dimensions: {
4868
+ readonly type: "array";
4869
+ readonly description: "List of attributes or entity types to group by.";
4870
+ readonly minItems: 0;
4871
+ readonly maxItems: 3;
4872
+ readonly items: {
4873
+ readonly enum?: readonly string[] | undefined;
4874
+ readonly type: "string";
4875
+ };
4876
+ };
4877
+ readonly filters: {
4878
+ readonly type: "array";
4879
+ readonly description: "A list of filters to apply to the platform query";
4880
+ readonly items: {
4881
+ readonly oneOf: readonly [{
4882
+ readonly type: "object";
4883
+ readonly description: "In filter";
4884
+ readonly properties: {
4885
+ readonly field: {
4886
+ readonly type: "string";
4887
+ };
4888
+ readonly operator: {
4889
+ readonly type: "string";
4890
+ };
4891
+ readonly value: {
4892
+ readonly type: "array";
4893
+ readonly items: {
4894
+ readonly type: readonly ["string", "number", "null"];
4895
+ };
4896
+ };
4897
+ };
4898
+ readonly required: readonly ["field", "operator", "value"];
4899
+ readonly additionalProperties: false;
4900
+ }, {
4901
+ readonly type: "object";
4902
+ readonly description: "Empty filter";
4903
+ readonly properties: {
4904
+ readonly field: {
4905
+ readonly type: "string";
4906
+ };
4907
+ readonly operator: {
4908
+ readonly type: "string";
4909
+ };
4910
+ };
4911
+ readonly required: readonly ["field", "operator"];
4912
+ readonly additionalProperties: false;
4913
+ }];
4914
+ };
4915
+ };
4916
+ };
4917
+ readonly required: readonly ["datasource"];
4918
+ readonly additionalProperties: false;
4919
+ }];
4920
+ };
4921
+ readonly chart: {
4922
+ readonly anyOf: readonly [{
4923
+ readonly type: "object";
4924
+ readonly properties: {
4925
+ readonly type: {
4926
+ readonly type: "string";
4927
+ readonly enum: readonly ["horizontal_bar", "vertical_bar"];
4928
+ };
4929
+ readonly stacked: {
4930
+ readonly type: "boolean";
4931
+ };
4932
+ readonly chart_dataset_colors: {
4933
+ readonly type: readonly ["object", "array"];
4934
+ readonly items: {
4935
+ readonly type: "string";
4936
+ };
4937
+ readonly additionalProperties: {
4938
+ readonly type: "string";
4939
+ };
4940
+ };
4941
+ readonly synthetics_data_key: {
4942
+ readonly type: "string";
4943
+ };
4944
+ readonly chart_title: {
4945
+ readonly type: "string";
4946
+ };
4947
+ readonly allow_csv_export: {
4948
+ readonly type: "boolean";
4949
+ };
4950
+ };
4951
+ readonly required: readonly ["type"];
4952
+ readonly additionalProperties: false;
4953
+ }, {
4954
+ readonly type: "object";
4955
+ readonly properties: {
4956
+ readonly type: {
4957
+ readonly type: "string";
4958
+ readonly enum: readonly ["gauge"];
4959
+ };
4960
+ readonly metric_display: {
4961
+ readonly type: "string";
4962
+ readonly enum: readonly ["hidden", "single", "full"];
4963
+ };
4964
+ readonly reverse_dataset: {
4965
+ readonly type: "boolean";
4966
+ };
4967
+ readonly numerator: {
4968
+ readonly type: "number";
4969
+ };
4970
+ readonly synthetics_data_key: {
4971
+ readonly type: "string";
4972
+ };
4973
+ readonly chart_title: {
4974
+ readonly type: "string";
4975
+ };
4976
+ };
4977
+ readonly required: readonly ["type"];
4978
+ readonly additionalProperties: false;
4979
+ }, {
4980
+ readonly type: "object";
4981
+ readonly properties: {
4982
+ readonly type: {
4983
+ readonly type: "string";
4984
+ readonly enum: readonly ["donut"];
4985
+ };
4986
+ readonly synthetics_data_key: {
4987
+ readonly type: "string";
4988
+ };
4989
+ readonly chart_title: {
4990
+ readonly type: "string";
4991
+ };
4992
+ };
4993
+ readonly required: readonly ["type"];
4994
+ readonly additionalProperties: false;
4995
+ }, {
4996
+ readonly type: "object";
4997
+ readonly properties: {
4998
+ readonly type: {
4999
+ readonly type: "string";
5000
+ readonly enum: readonly ["timeseries_line", "timeseries_bar"];
5001
+ };
5002
+ readonly stacked: {
5003
+ readonly type: "boolean";
5004
+ };
5005
+ readonly threshold: {
5006
+ readonly type: "object";
5007
+ readonly additionalProperties: {
5008
+ readonly type: "array";
5009
+ readonly items: {
5010
+ readonly type: "object";
5011
+ readonly properties: {
5012
+ readonly type: {
5013
+ readonly type: "string";
5014
+ readonly enum: readonly ["warning", "error", "neutral"];
5015
+ };
5016
+ readonly value: {
5017
+ readonly type: "number";
5018
+ };
5019
+ readonly label: {
5020
+ readonly type: "string";
5021
+ };
5022
+ readonly highlightIntersections: {
5023
+ readonly type: "boolean";
5024
+ readonly default: false;
5025
+ };
5026
+ };
5027
+ readonly required: readonly ["type", "value"];
5028
+ readonly additionalProperties: false;
5029
+ };
5030
+ };
5031
+ };
5032
+ readonly chart_dataset_colors: {
5033
+ readonly type: readonly ["object", "array"];
5034
+ readonly items: {
5035
+ readonly type: "string";
5036
+ };
5037
+ readonly additionalProperties: {
5038
+ readonly type: "string";
5039
+ };
5040
+ };
5041
+ readonly synthetics_data_key: {
5042
+ readonly type: "string";
5043
+ };
5044
+ readonly chart_title: {
5045
+ readonly type: "string";
5046
+ };
5047
+ readonly allow_csv_export: {
5048
+ readonly type: "boolean";
5049
+ };
5050
+ };
5051
+ readonly required: readonly ["type"];
5052
+ readonly additionalProperties: false;
5053
+ }, {
5054
+ readonly type: "object";
5055
+ readonly properties: {
5056
+ readonly chart_title: {
5057
+ readonly type: "string";
5058
+ };
5059
+ readonly type: {
5060
+ readonly type: "string";
5061
+ readonly enum: readonly ["golden_signals"];
5062
+ };
5063
+ readonly long_card_titles: {
5064
+ readonly type: "boolean";
5065
+ };
5066
+ readonly description: {
5067
+ readonly type: "string";
5068
+ };
5069
+ readonly percentile_latency: {
5070
+ readonly type: "boolean";
5071
+ };
5072
+ };
5073
+ readonly required: readonly ["type"];
5074
+ readonly additionalProperties: false;
5075
+ }, {
5076
+ readonly type: "object";
5077
+ readonly properties: {
5078
+ readonly chart_title: {
5079
+ readonly type: "string";
5080
+ };
5081
+ readonly synthetics_data_key: {
5082
+ readonly type: "string";
5083
+ };
5084
+ readonly type: {
5085
+ readonly type: "string";
5086
+ readonly enum: readonly ["top_n"];
5087
+ };
5088
+ readonly description: {
5089
+ readonly type: "string";
5090
+ };
5091
+ readonly entity_link: {
5092
+ readonly type: "string";
5093
+ };
5094
+ readonly entity_links: {
5095
+ readonly type: "object";
5096
+ readonly additionalProperties: {
5097
+ readonly type: "string";
5098
+ };
5099
+ };
5100
+ };
5101
+ readonly required: readonly ["type"];
5102
+ readonly additionalProperties: false;
5103
+ }, {
5104
+ readonly type: "object";
5105
+ readonly properties: {
5106
+ readonly type: {
5107
+ readonly type: "string";
5108
+ readonly enum: readonly ["slottable"];
5109
+ };
5110
+ readonly id: {
5111
+ readonly type: "string";
5112
+ };
5113
+ };
5114
+ readonly required: readonly ["type", "id"];
5115
+ readonly additionalProperties: false;
5116
+ }, {
5117
+ readonly type: "object";
5118
+ readonly properties: {
5119
+ readonly type: {
5120
+ readonly type: "string";
5121
+ readonly enum: readonly ["single_value"];
5122
+ };
5123
+ readonly decimal_points: {
5124
+ readonly type: "number";
5125
+ };
5126
+ readonly chart_title: {
5127
+ readonly type: "string";
5128
+ };
5129
+ };
5130
+ readonly required: readonly ["type"];
5131
+ readonly additionalProperties: false;
5132
+ }, {
5133
+ readonly type: "object";
5134
+ readonly properties: {
5135
+ readonly type: {
5136
+ readonly type: "string";
5137
+ readonly enum: readonly ["choropleth_map"];
5138
+ };
5139
+ readonly chart_title: {
5140
+ readonly type: "string";
5141
+ };
5142
+ readonly fit_to_country: {
5143
+ readonly type: "string";
5144
+ readonly enum: ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW")[];
5145
+ };
5146
+ readonly legend: {
5147
+ readonly type: "boolean";
5148
+ readonly default: false;
5149
+ };
5150
+ readonly bounds: {
5151
+ readonly type: "array";
5152
+ readonly minItems: 2;
5153
+ readonly maxItems: 2;
5154
+ readonly items: {
5155
+ readonly type: "array";
5156
+ readonly minItems: 2;
5157
+ readonly maxItems: 2;
5158
+ readonly items: readonly [{
5159
+ readonly type: "number";
5160
+ readonly minimum: -180;
5161
+ readonly maximum: 180;
5162
+ }, {
5163
+ readonly type: "number";
5164
+ readonly minimum: -90;
5165
+ readonly maximum: 90;
5166
+ }];
5167
+ };
5168
+ };
5169
+ };
5170
+ readonly required: readonly ["type"];
5171
+ readonly additionalProperties: false;
5172
+ }];
5173
+ };
5174
+ };
5175
+ readonly required: readonly ["query", "chart"];
5176
+ readonly additionalProperties: false;
5177
+ };
5178
+ readonly layout: {
5179
+ readonly type: "object";
5180
+ readonly properties: {
5181
+ readonly position: {
5182
+ readonly type: "object";
5183
+ readonly properties: {
5184
+ readonly col: {
5185
+ readonly type: "number";
5186
+ };
5187
+ readonly row: {
5188
+ readonly type: "number";
5189
+ };
5190
+ };
5191
+ readonly description: "Position of the tile in the grid.";
5192
+ readonly required: readonly ["col", "row"];
5193
+ readonly additionalProperties: false;
5194
+ };
5195
+ readonly size: {
5196
+ readonly type: "object";
5197
+ readonly properties: {
5198
+ readonly cols: {
5199
+ readonly type: "number";
5200
+ };
5201
+ readonly rows: {
5202
+ readonly type: "number";
5203
+ };
5204
+ readonly fit_to_content: {
5205
+ readonly type: "boolean";
5206
+ };
5207
+ };
5208
+ readonly description: string;
5209
+ readonly required: readonly ["cols", "rows"];
5210
+ readonly additionalProperties: false;
5211
+ };
5212
+ };
5213
+ readonly required: readonly ["position", "size"];
5214
+ readonly additionalProperties: false;
5215
+ };
5216
+ readonly id: {
5217
+ readonly type: "string";
5218
+ readonly description: "Unique identifier for the tile. If not provided, one will be generated.";
5219
+ };
5220
+ };
5221
+ readonly required: readonly ["type", "definition", "layout"];
5222
+ readonly additionalProperties: false;
5223
+ }, {
5224
+ readonly type: "object";
5225
+ readonly properties: {
5226
+ readonly type: {
5227
+ readonly type: "string";
5228
+ readonly enum: readonly ["table"];
5229
+ };
5230
+ readonly definition: {
5231
+ readonly type: "object";
5232
+ readonly properties: {
5233
+ readonly query: {
5234
+ readonly type: "object";
5235
+ readonly description: "A query to launch at the platform tabular explore API";
5236
+ readonly properties: {
5237
+ readonly datasource: {
5238
+ readonly type: "string";
5239
+ readonly enum: readonly ["platform"];
5240
+ };
5241
+ readonly entity: {
5242
+ readonly type: "string";
5243
+ };
5244
+ readonly columns: {
5245
+ readonly type: "array";
5246
+ readonly minItems: 1;
5247
+ readonly items: {
5248
+ readonly type: "string";
5249
+ };
5250
+ };
5251
+ readonly filters: {
5252
+ readonly type: "array";
5253
+ readonly description: "A list of filters to apply to the platform query";
5254
+ readonly items: {
5255
+ readonly oneOf: readonly [{
5256
+ readonly type: "object";
5257
+ readonly description: "In filter";
5258
+ readonly properties: {
5259
+ readonly field: {
5260
+ readonly type: "string";
5261
+ };
5262
+ readonly operator: {
5263
+ readonly type: "string";
5264
+ };
5265
+ readonly value: {
5266
+ readonly type: "array";
5267
+ readonly items: {
5268
+ readonly type: readonly ["string", "number", "null"];
5269
+ };
5270
+ };
5271
+ };
5272
+ readonly required: readonly ["field", "operator", "value"];
5273
+ readonly additionalProperties: false;
5274
+ }, {
5275
+ readonly type: "object";
5276
+ readonly description: "Empty filter";
5277
+ readonly properties: {
5278
+ readonly field: {
5279
+ readonly type: "string";
5280
+ };
5281
+ readonly operator: {
5282
+ readonly type: "string";
5283
+ };
5284
+ };
5285
+ readonly required: readonly ["field", "operator"];
5286
+ readonly additionalProperties: false;
5287
+ }];
5288
+ };
5289
+ };
5290
+ readonly cursor: {
5291
+ readonly type: "string";
5292
+ };
5293
+ readonly page_size: {
5294
+ readonly type: "number";
5295
+ };
5296
+ };
5297
+ readonly required: readonly ["datasource"];
5298
+ readonly additionalProperties: false;
5299
+ };
5300
+ readonly chart: {
5301
+ readonly anyOf: readonly [{
5302
+ readonly type: "object";
5303
+ readonly properties: {
5304
+ readonly type: {
5305
+ readonly type: "string";
5306
+ readonly enum: readonly ["horizontal_bar", "vertical_bar"];
5307
+ };
5308
+ readonly stacked: {
5309
+ readonly type: "boolean";
5310
+ };
5311
+ readonly chart_dataset_colors: {
5312
+ readonly type: readonly ["object", "array"];
5313
+ readonly items: {
5314
+ readonly type: "string";
5315
+ };
5316
+ readonly additionalProperties: {
5317
+ readonly type: "string";
5318
+ };
5319
+ };
5320
+ readonly synthetics_data_key: {
5321
+ readonly type: "string";
5322
+ };
5323
+ readonly chart_title: {
5324
+ readonly type: "string";
5325
+ };
5326
+ readonly allow_csv_export: {
5327
+ readonly type: "boolean";
5328
+ };
5329
+ };
5330
+ readonly required: readonly ["type"];
5331
+ readonly additionalProperties: false;
5332
+ }, {
5333
+ readonly type: "object";
5334
+ readonly properties: {
5335
+ readonly type: {
5336
+ readonly type: "string";
5337
+ readonly enum: readonly ["gauge"];
5338
+ };
5339
+ readonly metric_display: {
5340
+ readonly type: "string";
5341
+ readonly enum: readonly ["hidden", "single", "full"];
5342
+ };
5343
+ readonly reverse_dataset: {
5344
+ readonly type: "boolean";
5345
+ };
5346
+ readonly numerator: {
5347
+ readonly type: "number";
5348
+ };
5349
+ readonly synthetics_data_key: {
5350
+ readonly type: "string";
5351
+ };
5352
+ readonly chart_title: {
5353
+ readonly type: "string";
5354
+ };
5355
+ };
5356
+ readonly required: readonly ["type"];
5357
+ readonly additionalProperties: false;
5358
+ }, {
5359
+ readonly type: "object";
5360
+ readonly properties: {
5361
+ readonly type: {
5362
+ readonly type: "string";
5363
+ readonly enum: readonly ["donut"];
5364
+ };
5365
+ readonly synthetics_data_key: {
5366
+ readonly type: "string";
5367
+ };
5368
+ readonly chart_title: {
5369
+ readonly type: "string";
5370
+ };
5371
+ };
5372
+ readonly required: readonly ["type"];
5373
+ readonly additionalProperties: false;
5374
+ }, {
5375
+ readonly type: "object";
5376
+ readonly properties: {
5377
+ readonly type: {
5378
+ readonly type: "string";
5379
+ readonly enum: readonly ["timeseries_line", "timeseries_bar"];
5380
+ };
5381
+ readonly stacked: {
5382
+ readonly type: "boolean";
5383
+ };
5384
+ readonly threshold: {
5385
+ readonly type: "object";
5386
+ readonly additionalProperties: {
5387
+ readonly type: "array";
5388
+ readonly items: {
5389
+ readonly type: "object";
5390
+ readonly properties: {
5391
+ readonly type: {
5392
+ readonly type: "string";
5393
+ readonly enum: readonly ["warning", "error", "neutral"];
5394
+ };
5395
+ readonly value: {
5396
+ readonly type: "number";
5397
+ };
5398
+ readonly label: {
5399
+ readonly type: "string";
5400
+ };
5401
+ readonly highlightIntersections: {
5402
+ readonly type: "boolean";
5403
+ readonly default: false;
5404
+ };
5405
+ };
5406
+ readonly required: readonly ["type", "value"];
5407
+ readonly additionalProperties: false;
5408
+ };
5409
+ };
5410
+ };
5411
+ readonly chart_dataset_colors: {
5412
+ readonly type: readonly ["object", "array"];
5413
+ readonly items: {
5414
+ readonly type: "string";
5415
+ };
5416
+ readonly additionalProperties: {
5417
+ readonly type: "string";
5418
+ };
5419
+ };
5420
+ readonly synthetics_data_key: {
5421
+ readonly type: "string";
5422
+ };
5423
+ readonly chart_title: {
5424
+ readonly type: "string";
5425
+ };
5426
+ readonly allow_csv_export: {
5427
+ readonly type: "boolean";
5428
+ };
5429
+ };
5430
+ readonly required: readonly ["type"];
5431
+ readonly additionalProperties: false;
5432
+ }, {
5433
+ readonly type: "object";
5434
+ readonly properties: {
5435
+ readonly chart_title: {
5436
+ readonly type: "string";
5437
+ };
5438
+ readonly type: {
5439
+ readonly type: "string";
5440
+ readonly enum: readonly ["golden_signals"];
5441
+ };
5442
+ readonly long_card_titles: {
5443
+ readonly type: "boolean";
5444
+ };
5445
+ readonly description: {
5446
+ readonly type: "string";
5447
+ };
5448
+ readonly percentile_latency: {
5449
+ readonly type: "boolean";
5450
+ };
5451
+ };
5452
+ readonly required: readonly ["type"];
5453
+ readonly additionalProperties: false;
5454
+ }, {
5455
+ readonly type: "object";
5456
+ readonly properties: {
5457
+ readonly chart_title: {
5458
+ readonly type: "string";
5459
+ };
5460
+ readonly synthetics_data_key: {
5461
+ readonly type: "string";
5462
+ };
5463
+ readonly type: {
5464
+ readonly type: "string";
5465
+ readonly enum: readonly ["top_n"];
5466
+ };
5467
+ readonly description: {
5468
+ readonly type: "string";
5469
+ };
5470
+ readonly entity_link: {
5471
+ readonly type: "string";
5472
+ };
5473
+ readonly entity_links: {
5474
+ readonly type: "object";
5475
+ readonly additionalProperties: {
5476
+ readonly type: "string";
5477
+ };
5478
+ };
5479
+ };
5480
+ readonly required: readonly ["type"];
5481
+ readonly additionalProperties: false;
5482
+ }, {
5483
+ readonly type: "object";
5484
+ readonly properties: {
5485
+ readonly type: {
5486
+ readonly type: "string";
5487
+ readonly enum: readonly ["slottable"];
5488
+ };
5489
+ readonly id: {
5490
+ readonly type: "string";
5491
+ };
5492
+ };
5493
+ readonly required: readonly ["type", "id"];
5494
+ readonly additionalProperties: false;
5495
+ }, {
5496
+ readonly type: "object";
5497
+ readonly properties: {
5498
+ readonly type: {
5499
+ readonly type: "string";
5500
+ readonly enum: readonly ["single_value"];
5501
+ };
5502
+ readonly decimal_points: {
5503
+ readonly type: "number";
5504
+ };
5505
+ readonly chart_title: {
5506
+ readonly type: "string";
5507
+ };
5508
+ };
5509
+ readonly required: readonly ["type"];
5510
+ readonly additionalProperties: false;
5511
+ }, {
5512
+ readonly type: "object";
5513
+ readonly properties: {
5514
+ readonly type: {
5515
+ readonly type: "string";
5516
+ readonly enum: readonly ["choropleth_map"];
5517
+ };
5518
+ readonly chart_title: {
5519
+ readonly type: "string";
5520
+ };
5521
+ readonly fit_to_country: {
5522
+ readonly type: "string";
5523
+ readonly enum: ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW")[];
5524
+ };
5525
+ readonly legend: {
5526
+ readonly type: "boolean";
5527
+ readonly default: false;
5528
+ };
5529
+ readonly bounds: {
5530
+ readonly type: "array";
5531
+ readonly minItems: 2;
5532
+ readonly maxItems: 2;
5533
+ readonly items: {
5534
+ readonly type: "array";
5535
+ readonly minItems: 2;
5536
+ readonly maxItems: 2;
5537
+ readonly items: readonly [{
5538
+ readonly type: "number";
5539
+ readonly minimum: -180;
5540
+ readonly maximum: 180;
5541
+ }, {
5542
+ readonly type: "number";
5543
+ readonly minimum: -90;
5544
+ readonly maximum: 90;
5545
+ }];
5546
+ };
5547
+ };
5548
+ };
5549
+ readonly required: readonly ["type"];
5550
+ readonly additionalProperties: false;
5551
+ }];
5552
+ };
5553
+ };
5554
+ readonly required: readonly ["query", "chart"];
5555
+ readonly additionalProperties: false;
5556
+ };
5557
+ readonly layout: {
5558
+ readonly type: "object";
5559
+ readonly properties: {
5560
+ readonly position: {
5561
+ readonly type: "object";
5562
+ readonly properties: {
5563
+ readonly col: {
5564
+ readonly type: "number";
5565
+ };
5566
+ readonly row: {
5567
+ readonly type: "number";
5568
+ };
5569
+ };
5570
+ readonly description: "Position of the tile in the grid.";
5571
+ readonly required: readonly ["col", "row"];
5572
+ readonly additionalProperties: false;
3500
5573
  };
3501
- readonly definition: {
5574
+ readonly size: {
3502
5575
  readonly type: "object";
3503
5576
  readonly properties: {
3504
- readonly query: {
3505
- readonly anyOf: readonly [{
3506
- readonly type: "object";
3507
- readonly description: "A query to launch at the advanced explore API";
3508
- readonly properties: {
3509
- readonly granularity: {
3510
- readonly type: "string";
3511
- readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
3512
- readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
3513
- };
3514
- readonly time_range: {
3515
- readonly type: "object";
3516
- readonly description: "The time range to query.";
3517
- readonly anyOf: readonly [{
5577
+ readonly cols: {
5578
+ readonly type: "number";
5579
+ };
5580
+ readonly rows: {
5581
+ readonly type: "number";
5582
+ };
5583
+ readonly fit_to_content: {
5584
+ readonly type: "boolean";
5585
+ };
5586
+ };
5587
+ readonly description: string;
5588
+ readonly required: readonly ["cols", "rows"];
5589
+ readonly additionalProperties: false;
5590
+ };
5591
+ };
5592
+ readonly required: readonly ["position", "size"];
5593
+ readonly additionalProperties: false;
5594
+ };
5595
+ readonly id: {
5596
+ readonly type: "string";
5597
+ readonly description: "Unique identifier for the tile. If not provided, one will be generated.";
5598
+ };
5599
+ };
5600
+ readonly required: readonly ["type", "definition", "layout"];
5601
+ readonly additionalProperties: false;
5602
+ }];
5603
+ };
5604
+ export type DashboardTileConfig = FromSchemaWithOptions<typeof tileConfigSchema>;
5605
+ export declare const dashboardConfigSchema: {
5606
+ readonly type: "object";
5607
+ readonly properties: {
5608
+ readonly tiles: {
5609
+ readonly type: "array";
5610
+ readonly items: {
5611
+ readonly anyOf: readonly [{
5612
+ readonly type: "object";
5613
+ readonly properties: {
5614
+ readonly type: {
5615
+ readonly type: "string";
5616
+ readonly enum: readonly ["chart"];
5617
+ };
5618
+ readonly definition: {
5619
+ readonly type: "object";
5620
+ readonly properties: {
5621
+ readonly query: {
5622
+ readonly anyOf: readonly [{
5623
+ readonly type: "object";
5624
+ readonly description: "A query to launch at the advanced explore API";
5625
+ readonly properties: {
5626
+ readonly granularity: {
5627
+ readonly type: "string";
5628
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
5629
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
5630
+ };
5631
+ readonly time_range: {
3518
5632
  readonly type: "object";
3519
- readonly properties: {
3520
- readonly tz: {
3521
- readonly type: "string";
3522
- readonly default: "Etc/UTC";
3523
- };
3524
- readonly type: {
3525
- readonly type: "string";
3526
- readonly enum: readonly ["relative"];
5633
+ readonly description: "The time range to query.";
5634
+ readonly anyOf: readonly [{
5635
+ readonly type: "object";
5636
+ readonly properties: {
5637
+ readonly tz: {
5638
+ readonly type: "string";
5639
+ readonly default: "Etc/UTC";
5640
+ };
5641
+ readonly type: {
5642
+ readonly type: "string";
5643
+ readonly enum: readonly ["relative"];
5644
+ };
5645
+ readonly time_range: {
5646
+ readonly type: "string";
5647
+ };
3527
5648
  };
3528
- readonly time_range: {
3529
- readonly type: "string";
5649
+ readonly required: readonly ["type", "time_range"];
5650
+ readonly additionalProperties: false;
5651
+ }, {
5652
+ readonly type: "object";
5653
+ readonly description: "A duration representing an exact start and end time.";
5654
+ readonly properties: {
5655
+ readonly tz: {
5656
+ readonly type: "string";
5657
+ };
5658
+ readonly type: {
5659
+ readonly type: "string";
5660
+ readonly enum: readonly ["absolute"];
5661
+ };
5662
+ readonly start: {
5663
+ readonly type: "string";
5664
+ };
5665
+ readonly end: {
5666
+ readonly type: "string";
5667
+ };
3530
5668
  };
5669
+ readonly required: readonly ["type", "start", "end"];
5670
+ readonly additionalProperties: false;
5671
+ }];
5672
+ readonly default: {
5673
+ readonly type: "relative";
5674
+ readonly time_range: "1h";
3531
5675
  };
3532
- readonly required: readonly ["type", "time_range"];
3533
- readonly additionalProperties: false;
3534
- }, {
5676
+ };
5677
+ readonly limit: {
5678
+ readonly type: "number";
5679
+ };
5680
+ readonly meta: {
3535
5681
  readonly type: "object";
3536
- readonly description: "A duration representing an exact start and end time.";
3537
- readonly properties: {
3538
- readonly tz: {
3539
- readonly type: "string";
3540
- };
3541
- readonly type: {
3542
- readonly type: "string";
3543
- readonly enum: readonly ["absolute"];
3544
- };
3545
- readonly start: {
3546
- readonly type: "string";
3547
- };
3548
- readonly end: {
3549
- readonly type: "string";
3550
- };
3551
- };
3552
- readonly required: readonly ["type", "start", "end"];
3553
- readonly additionalProperties: false;
3554
- }];
3555
- readonly default: {
3556
- readonly type: "relative";
3557
- readonly time_range: "1h";
3558
5682
  };
3559
- };
3560
- readonly limit: {
3561
- readonly type: "number";
3562
- };
3563
- readonly meta: {
3564
- readonly type: "object";
3565
- };
3566
- readonly datasource: {
3567
- readonly type: "string";
3568
- readonly enum: readonly ["api_usage"];
3569
- };
3570
- readonly metrics: {
3571
- readonly type: "array";
3572
- readonly description: "List of aggregated metrics to collect across the requested time span.";
3573
- readonly items: {
3574
- readonly enum?: readonly string[] | undefined;
5683
+ readonly datasource: {
3575
5684
  readonly type: "string";
5685
+ readonly enum: readonly ["api_usage"];
5686
+ };
5687
+ readonly metrics: {
5688
+ readonly type: "array";
5689
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
5690
+ readonly items: {
5691
+ readonly enum?: readonly string[] | undefined;
5692
+ readonly type: "string";
5693
+ };
5694
+ };
5695
+ readonly dimensions: {
5696
+ readonly type: "array";
5697
+ readonly description: "List of attributes or entity types to group by.";
5698
+ readonly minItems: 0;
5699
+ readonly maxItems: 3;
5700
+ readonly items: {
5701
+ readonly enum?: readonly string[] | undefined;
5702
+ readonly type: "string";
5703
+ };
5704
+ };
5705
+ readonly filters: {
5706
+ readonly type: "array";
5707
+ readonly description: "A list of filters to apply to the query";
5708
+ readonly items: {
5709
+ readonly oneOf: readonly [{
5710
+ readonly type: "object";
5711
+ readonly description: "In filter";
5712
+ readonly properties: {
5713
+ readonly field: {
5714
+ readonly enum?: readonly string[] | undefined;
5715
+ readonly type: "string";
5716
+ };
5717
+ readonly operator: {
5718
+ readonly type: "string";
5719
+ readonly enum: readonly ["in", "not_in", "selector"];
5720
+ };
5721
+ readonly value: {
5722
+ readonly type: "array";
5723
+ readonly items: {
5724
+ readonly type: readonly ["string", "number", "null"];
5725
+ };
5726
+ };
5727
+ };
5728
+ readonly required: readonly ["field", "operator", "value"];
5729
+ readonly additionalProperties: false;
5730
+ }, {
5731
+ readonly type: "object";
5732
+ readonly description: "Empty filter";
5733
+ readonly properties: {
5734
+ readonly field: {
5735
+ readonly enum?: readonly string[] | undefined;
5736
+ readonly type: "string";
5737
+ };
5738
+ readonly operator: {
5739
+ readonly type: "string";
5740
+ readonly enum: readonly ["empty", "not_empty"];
5741
+ };
5742
+ };
5743
+ readonly required: readonly ["field", "operator"];
5744
+ readonly additionalProperties: false;
5745
+ }];
5746
+ };
3576
5747
  };
3577
5748
  };
3578
- readonly dimensions: {
3579
- readonly type: "array";
3580
- readonly description: "List of attributes or entity types to group by.";
3581
- readonly minItems: 0;
3582
- readonly maxItems: 3;
3583
- readonly items: {
3584
- readonly enum?: readonly string[] | undefined;
5749
+ readonly required: readonly ["datasource"];
5750
+ readonly additionalProperties: false;
5751
+ }, {
5752
+ readonly type: "object";
5753
+ readonly description: "A query to launch at the basic explore API";
5754
+ readonly properties: {
5755
+ readonly granularity: {
3585
5756
  readonly type: "string";
5757
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
5758
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
3586
5759
  };
3587
- };
3588
- readonly filters: {
3589
- readonly type: "array";
3590
- readonly description: "A list of filters to apply to the query";
3591
- readonly items: {
3592
- readonly oneOf: readonly [{
5760
+ readonly time_range: {
5761
+ readonly type: "object";
5762
+ readonly description: "The time range to query.";
5763
+ readonly anyOf: readonly [{
3593
5764
  readonly type: "object";
3594
- readonly description: "In filter";
3595
5765
  readonly properties: {
3596
- readonly field: {
3597
- readonly enum?: readonly string[] | undefined;
5766
+ readonly tz: {
3598
5767
  readonly type: "string";
5768
+ readonly default: "Etc/UTC";
3599
5769
  };
3600
- readonly operator: {
5770
+ readonly type: {
3601
5771
  readonly type: "string";
3602
- readonly enum: readonly ["in", "not_in", "selector"];
5772
+ readonly enum: readonly ["relative"];
3603
5773
  };
3604
- readonly value: {
3605
- readonly type: "array";
3606
- readonly items: {
3607
- readonly type: readonly ["string", "number", "null"];
3608
- };
5774
+ readonly time_range: {
5775
+ readonly type: "string";
3609
5776
  };
3610
5777
  };
3611
- readonly required: readonly ["field", "operator", "value"];
5778
+ readonly required: readonly ["type", "time_range"];
3612
5779
  readonly additionalProperties: false;
3613
5780
  }, {
3614
5781
  readonly type: "object";
3615
- readonly description: "Empty filter";
5782
+ readonly description: "A duration representing an exact start and end time.";
3616
5783
  readonly properties: {
3617
- readonly field: {
3618
- readonly enum?: readonly string[] | undefined;
5784
+ readonly tz: {
3619
5785
  readonly type: "string";
3620
5786
  };
3621
- readonly operator: {
5787
+ readonly type: {
5788
+ readonly type: "string";
5789
+ readonly enum: readonly ["absolute"];
5790
+ };
5791
+ readonly start: {
5792
+ readonly type: "string";
5793
+ };
5794
+ readonly end: {
3622
5795
  readonly type: "string";
3623
- readonly enum: readonly ["empty", "not_empty"];
3624
5796
  };
3625
5797
  };
3626
- readonly required: readonly ["field", "operator"];
5798
+ readonly required: readonly ["type", "start", "end"];
3627
5799
  readonly additionalProperties: false;
3628
5800
  }];
5801
+ readonly default: {
5802
+ readonly type: "relative";
5803
+ readonly time_range: "1h";
5804
+ };
3629
5805
  };
3630
- };
3631
- };
3632
- readonly required: readonly ["datasource"];
3633
- readonly additionalProperties: false;
3634
- }, {
3635
- readonly type: "object";
3636
- readonly description: "A query to launch at the basic explore API";
3637
- readonly properties: {
3638
- readonly granularity: {
3639
- readonly type: "string";
3640
- readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
3641
- readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
3642
- };
3643
- readonly time_range: {
3644
- readonly type: "object";
3645
- readonly description: "The time range to query.";
3646
- readonly anyOf: readonly [{
5806
+ readonly limit: {
5807
+ readonly type: "number";
5808
+ };
5809
+ readonly meta: {
3647
5810
  readonly type: "object";
3648
- readonly properties: {
3649
- readonly tz: {
3650
- readonly type: "string";
3651
- readonly default: "Etc/UTC";
3652
- };
3653
- readonly type: {
3654
- readonly type: "string";
3655
- readonly enum: readonly ["relative"];
3656
- };
3657
- readonly time_range: {
3658
- readonly type: "string";
3659
- };
5811
+ };
5812
+ readonly datasource: {
5813
+ readonly type: "string";
5814
+ readonly enum: readonly ["basic"];
5815
+ };
5816
+ readonly metrics: {
5817
+ readonly type: "array";
5818
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
5819
+ readonly items: {
5820
+ readonly enum?: readonly string[] | undefined;
5821
+ readonly type: "string";
5822
+ };
5823
+ };
5824
+ readonly dimensions: {
5825
+ readonly type: "array";
5826
+ readonly description: "List of attributes or entity types to group by.";
5827
+ readonly minItems: 0;
5828
+ readonly maxItems: 3;
5829
+ readonly items: {
5830
+ readonly enum?: readonly string[] | undefined;
5831
+ readonly type: "string";
5832
+ };
5833
+ };
5834
+ readonly filters: {
5835
+ readonly type: "array";
5836
+ readonly description: "A list of filters to apply to the query";
5837
+ readonly items: {
5838
+ readonly oneOf: readonly [{
5839
+ readonly type: "object";
5840
+ readonly description: "In filter";
5841
+ readonly properties: {
5842
+ readonly field: {
5843
+ readonly enum?: readonly string[] | undefined;
5844
+ readonly type: "string";
5845
+ };
5846
+ readonly operator: {
5847
+ readonly type: "string";
5848
+ readonly enum: readonly ["in", "not_in", "selector"];
5849
+ };
5850
+ readonly value: {
5851
+ readonly type: "array";
5852
+ readonly items: {
5853
+ readonly type: readonly ["string", "number", "null"];
5854
+ };
5855
+ };
5856
+ };
5857
+ readonly required: readonly ["field", "operator", "value"];
5858
+ readonly additionalProperties: false;
5859
+ }, {
5860
+ readonly type: "object";
5861
+ readonly description: "Empty filter";
5862
+ readonly properties: {
5863
+ readonly field: {
5864
+ readonly enum?: readonly string[] | undefined;
5865
+ readonly type: "string";
5866
+ };
5867
+ readonly operator: {
5868
+ readonly type: "string";
5869
+ readonly enum: readonly ["empty", "not_empty"];
5870
+ };
5871
+ };
5872
+ readonly required: readonly ["field", "operator"];
5873
+ readonly additionalProperties: false;
5874
+ }];
3660
5875
  };
3661
- readonly required: readonly ["type", "time_range"];
3662
- readonly additionalProperties: false;
3663
- }, {
5876
+ };
5877
+ };
5878
+ readonly required: readonly ["datasource"];
5879
+ readonly additionalProperties: false;
5880
+ }, {
5881
+ readonly type: "object";
5882
+ readonly description: "A query to launch at the AI explore API";
5883
+ readonly properties: {
5884
+ readonly granularity: {
5885
+ readonly type: "string";
5886
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
5887
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
5888
+ };
5889
+ readonly time_range: {
3664
5890
  readonly type: "object";
3665
- readonly description: "A duration representing an exact start and end time.";
3666
- readonly properties: {
3667
- readonly tz: {
3668
- readonly type: "string";
3669
- };
3670
- readonly type: {
3671
- readonly type: "string";
3672
- readonly enum: readonly ["absolute"];
3673
- };
3674
- readonly start: {
3675
- readonly type: "string";
5891
+ readonly description: "The time range to query.";
5892
+ readonly anyOf: readonly [{
5893
+ readonly type: "object";
5894
+ readonly properties: {
5895
+ readonly tz: {
5896
+ readonly type: "string";
5897
+ readonly default: "Etc/UTC";
5898
+ };
5899
+ readonly type: {
5900
+ readonly type: "string";
5901
+ readonly enum: readonly ["relative"];
5902
+ };
5903
+ readonly time_range: {
5904
+ readonly type: "string";
5905
+ };
3676
5906
  };
3677
- readonly end: {
3678
- readonly type: "string";
5907
+ readonly required: readonly ["type", "time_range"];
5908
+ readonly additionalProperties: false;
5909
+ }, {
5910
+ readonly type: "object";
5911
+ readonly description: "A duration representing an exact start and end time.";
5912
+ readonly properties: {
5913
+ readonly tz: {
5914
+ readonly type: "string";
5915
+ };
5916
+ readonly type: {
5917
+ readonly type: "string";
5918
+ readonly enum: readonly ["absolute"];
5919
+ };
5920
+ readonly start: {
5921
+ readonly type: "string";
5922
+ };
5923
+ readonly end: {
5924
+ readonly type: "string";
5925
+ };
3679
5926
  };
5927
+ readonly required: readonly ["type", "start", "end"];
5928
+ readonly additionalProperties: false;
5929
+ }];
5930
+ readonly default: {
5931
+ readonly type: "relative";
5932
+ readonly time_range: "1h";
3680
5933
  };
3681
- readonly required: readonly ["type", "start", "end"];
3682
- readonly additionalProperties: false;
3683
- }];
3684
- readonly default: {
3685
- readonly type: "relative";
3686
- readonly time_range: "1h";
3687
5934
  };
3688
- };
3689
- readonly limit: {
3690
- readonly type: "number";
3691
- };
3692
- readonly meta: {
3693
- readonly type: "object";
3694
- };
3695
- readonly datasource: {
3696
- readonly type: "string";
3697
- readonly enum: readonly ["basic"];
3698
- };
3699
- readonly metrics: {
3700
- readonly type: "array";
3701
- readonly description: "List of aggregated metrics to collect across the requested time span.";
3702
- readonly items: {
3703
- readonly enum?: readonly string[] | undefined;
5935
+ readonly limit: {
5936
+ readonly type: "number";
5937
+ };
5938
+ readonly meta: {
5939
+ readonly type: "object";
5940
+ };
5941
+ readonly datasource: {
3704
5942
  readonly type: "string";
5943
+ readonly enum: readonly ["llm_usage"];
5944
+ };
5945
+ readonly metrics: {
5946
+ readonly type: "array";
5947
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
5948
+ readonly items: {
5949
+ readonly enum?: readonly string[] | undefined;
5950
+ readonly type: "string";
5951
+ };
5952
+ };
5953
+ readonly dimensions: {
5954
+ readonly type: "array";
5955
+ readonly description: "List of attributes or entity types to group by.";
5956
+ readonly minItems: 0;
5957
+ readonly maxItems: 3;
5958
+ readonly items: {
5959
+ readonly enum?: readonly string[] | undefined;
5960
+ readonly type: "string";
5961
+ };
5962
+ };
5963
+ readonly filters: {
5964
+ readonly type: "array";
5965
+ readonly description: "A list of filters to apply to the query";
5966
+ readonly items: {
5967
+ readonly oneOf: readonly [{
5968
+ readonly type: "object";
5969
+ readonly description: "In filter";
5970
+ readonly properties: {
5971
+ readonly field: {
5972
+ readonly enum?: readonly string[] | undefined;
5973
+ readonly type: "string";
5974
+ };
5975
+ readonly operator: {
5976
+ readonly type: "string";
5977
+ readonly enum: readonly ["in", "not_in", "selector"];
5978
+ };
5979
+ readonly value: {
5980
+ readonly type: "array";
5981
+ readonly items: {
5982
+ readonly type: readonly ["string", "number", "null"];
5983
+ };
5984
+ };
5985
+ };
5986
+ readonly required: readonly ["field", "operator", "value"];
5987
+ readonly additionalProperties: false;
5988
+ }, {
5989
+ readonly type: "object";
5990
+ readonly description: "Empty filter";
5991
+ readonly properties: {
5992
+ readonly field: {
5993
+ readonly enum?: readonly string[] | undefined;
5994
+ readonly type: "string";
5995
+ };
5996
+ readonly operator: {
5997
+ readonly type: "string";
5998
+ readonly enum: readonly ["empty", "not_empty"];
5999
+ };
6000
+ };
6001
+ readonly required: readonly ["field", "operator"];
6002
+ readonly additionalProperties: false;
6003
+ }];
6004
+ };
3705
6005
  };
3706
6006
  };
3707
- readonly dimensions: {
3708
- readonly type: "array";
3709
- readonly description: "List of attributes or entity types to group by.";
3710
- readonly minItems: 0;
3711
- readonly maxItems: 3;
3712
- readonly items: {
3713
- readonly enum?: readonly string[] | undefined;
6007
+ readonly required: readonly ["datasource"];
6008
+ readonly additionalProperties: false;
6009
+ }, {
6010
+ readonly type: "object";
6011
+ readonly description: "A query to launch at the Agentic explore API";
6012
+ readonly properties: {
6013
+ readonly granularity: {
3714
6014
  readonly type: "string";
6015
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
6016
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
3715
6017
  };
3716
- };
3717
- readonly filters: {
3718
- readonly type: "array";
3719
- readonly description: "A list of filters to apply to the query";
3720
- readonly items: {
3721
- readonly oneOf: readonly [{
6018
+ readonly time_range: {
6019
+ readonly type: "object";
6020
+ readonly description: "The time range to query.";
6021
+ readonly anyOf: readonly [{
3722
6022
  readonly type: "object";
3723
- readonly description: "In filter";
3724
6023
  readonly properties: {
3725
- readonly field: {
3726
- readonly enum?: readonly string[] | undefined;
6024
+ readonly tz: {
3727
6025
  readonly type: "string";
6026
+ readonly default: "Etc/UTC";
3728
6027
  };
3729
- readonly operator: {
6028
+ readonly type: {
3730
6029
  readonly type: "string";
3731
- readonly enum: readonly ["in", "not_in", "selector"];
6030
+ readonly enum: readonly ["relative"];
3732
6031
  };
3733
- readonly value: {
3734
- readonly type: "array";
3735
- readonly items: {
3736
- readonly type: readonly ["string", "number", "null"];
3737
- };
6032
+ readonly time_range: {
6033
+ readonly type: "string";
3738
6034
  };
3739
6035
  };
3740
- readonly required: readonly ["field", "operator", "value"];
6036
+ readonly required: readonly ["type", "time_range"];
3741
6037
  readonly additionalProperties: false;
3742
6038
  }, {
3743
6039
  readonly type: "object";
3744
- readonly description: "Empty filter";
6040
+ readonly description: "A duration representing an exact start and end time.";
3745
6041
  readonly properties: {
3746
- readonly field: {
3747
- readonly enum?: readonly string[] | undefined;
6042
+ readonly tz: {
3748
6043
  readonly type: "string";
3749
6044
  };
3750
- readonly operator: {
6045
+ readonly type: {
6046
+ readonly type: "string";
6047
+ readonly enum: readonly ["absolute"];
6048
+ };
6049
+ readonly start: {
6050
+ readonly type: "string";
6051
+ };
6052
+ readonly end: {
3751
6053
  readonly type: "string";
3752
- readonly enum: readonly ["empty", "not_empty"];
3753
6054
  };
3754
6055
  };
3755
- readonly required: readonly ["field", "operator"];
6056
+ readonly required: readonly ["type", "start", "end"];
3756
6057
  readonly additionalProperties: false;
3757
6058
  }];
6059
+ readonly default: {
6060
+ readonly type: "relative";
6061
+ readonly time_range: "1h";
6062
+ };
3758
6063
  };
3759
- };
3760
- };
3761
- readonly required: readonly ["datasource"];
3762
- readonly additionalProperties: false;
3763
- }, {
3764
- readonly type: "object";
3765
- readonly description: "A query to launch at the AI explore API";
3766
- readonly properties: {
3767
- readonly granularity: {
3768
- readonly type: "string";
3769
- readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
3770
- readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
3771
- };
3772
- readonly time_range: {
3773
- readonly type: "object";
3774
- readonly description: "The time range to query.";
3775
- readonly anyOf: readonly [{
6064
+ readonly limit: {
6065
+ readonly type: "number";
6066
+ };
6067
+ readonly meta: {
3776
6068
  readonly type: "object";
3777
- readonly properties: {
3778
- readonly tz: {
3779
- readonly type: "string";
3780
- readonly default: "Etc/UTC";
3781
- };
3782
- readonly type: {
3783
- readonly type: "string";
3784
- readonly enum: readonly ["relative"];
3785
- };
3786
- readonly time_range: {
3787
- readonly type: "string";
3788
- };
6069
+ };
6070
+ readonly datasource: {
6071
+ readonly type: "string";
6072
+ readonly enum: readonly ["agentic_usage"];
6073
+ };
6074
+ readonly metrics: {
6075
+ readonly type: "array";
6076
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
6077
+ readonly items: {
6078
+ readonly enum?: readonly string[] | undefined;
6079
+ readonly type: "string";
3789
6080
  };
3790
- readonly required: readonly ["type", "time_range"];
3791
- readonly additionalProperties: false;
3792
- }, {
3793
- readonly type: "object";
3794
- readonly description: "A duration representing an exact start and end time.";
3795
- readonly properties: {
3796
- readonly tz: {
3797
- readonly type: "string";
3798
- };
3799
- readonly type: {
3800
- readonly type: "string";
3801
- readonly enum: readonly ["absolute"];
3802
- };
3803
- readonly start: {
3804
- readonly type: "string";
3805
- };
3806
- readonly end: {
3807
- readonly type: "string";
3808
- };
6081
+ };
6082
+ readonly dimensions: {
6083
+ readonly type: "array";
6084
+ readonly description: "List of attributes or entity types to group by.";
6085
+ readonly minItems: 0;
6086
+ readonly maxItems: 3;
6087
+ readonly items: {
6088
+ readonly enum?: readonly string[] | undefined;
6089
+ readonly type: "string";
3809
6090
  };
3810
- readonly required: readonly ["type", "start", "end"];
3811
- readonly additionalProperties: false;
3812
- }];
3813
- readonly default: {
3814
- readonly type: "relative";
3815
- readonly time_range: "1h";
3816
6091
  };
3817
- };
3818
- readonly limit: {
3819
- readonly type: "number";
3820
- };
3821
- readonly meta: {
3822
- readonly type: "object";
3823
- };
3824
- readonly datasource: {
3825
- readonly type: "string";
3826
- readonly enum: readonly ["llm_usage"];
3827
- };
3828
- readonly metrics: {
3829
- readonly type: "array";
3830
- readonly description: "List of aggregated metrics to collect across the requested time span.";
3831
- readonly items: {
3832
- readonly enum?: readonly string[] | undefined;
3833
- readonly type: "string";
6092
+ readonly filters: {
6093
+ readonly type: "array";
6094
+ readonly description: "A list of filters to apply to the query";
6095
+ readonly items: {
6096
+ readonly oneOf: readonly [{
6097
+ readonly type: "object";
6098
+ readonly description: "In filter";
6099
+ readonly properties: {
6100
+ readonly field: {
6101
+ readonly enum?: readonly string[] | undefined;
6102
+ readonly type: "string";
6103
+ };
6104
+ readonly operator: {
6105
+ readonly type: "string";
6106
+ readonly enum: readonly ["in", "not_in", "selector"];
6107
+ };
6108
+ readonly value: {
6109
+ readonly type: "array";
6110
+ readonly items: {
6111
+ readonly type: readonly ["string", "number", "null"];
6112
+ };
6113
+ };
6114
+ };
6115
+ readonly required: readonly ["field", "operator", "value"];
6116
+ readonly additionalProperties: false;
6117
+ }, {
6118
+ readonly type: "object";
6119
+ readonly description: "Empty filter";
6120
+ readonly properties: {
6121
+ readonly field: {
6122
+ readonly enum?: readonly string[] | undefined;
6123
+ readonly type: "string";
6124
+ };
6125
+ readonly operator: {
6126
+ readonly type: "string";
6127
+ readonly enum: readonly ["empty", "not_empty"];
6128
+ };
6129
+ };
6130
+ readonly required: readonly ["field", "operator"];
6131
+ readonly additionalProperties: false;
6132
+ }];
6133
+ };
3834
6134
  };
3835
6135
  };
3836
- readonly dimensions: {
3837
- readonly type: "array";
3838
- readonly description: "List of attributes or entity types to group by.";
3839
- readonly minItems: 0;
3840
- readonly maxItems: 3;
3841
- readonly items: {
3842
- readonly enum?: readonly string[] | undefined;
6136
+ readonly required: readonly ["datasource"];
6137
+ readonly additionalProperties: false;
6138
+ }, {
6139
+ readonly type: "object";
6140
+ readonly description: "A query to launch at the platform dashboard API";
6141
+ readonly properties: {
6142
+ readonly granularity: {
3843
6143
  readonly type: "string";
6144
+ readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
6145
+ readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
3844
6146
  };
3845
- };
3846
- readonly filters: {
3847
- readonly type: "array";
3848
- readonly description: "A list of filters to apply to the query";
3849
- readonly items: {
3850
- readonly oneOf: readonly [{
6147
+ readonly time_range: {
6148
+ readonly type: "object";
6149
+ readonly description: "The time range to query.";
6150
+ readonly anyOf: readonly [{
3851
6151
  readonly type: "object";
3852
- readonly description: "In filter";
3853
6152
  readonly properties: {
3854
- readonly field: {
3855
- readonly enum?: readonly string[] | undefined;
6153
+ readonly tz: {
3856
6154
  readonly type: "string";
6155
+ readonly default: "Etc/UTC";
3857
6156
  };
3858
- readonly operator: {
6157
+ readonly type: {
3859
6158
  readonly type: "string";
3860
- readonly enum: readonly ["in", "not_in", "selector"];
6159
+ readonly enum: readonly ["relative"];
3861
6160
  };
3862
- readonly value: {
3863
- readonly type: "array";
3864
- readonly items: {
3865
- readonly type: readonly ["string", "number", "null"];
3866
- };
6161
+ readonly time_range: {
6162
+ readonly type: "string";
3867
6163
  };
3868
6164
  };
3869
- readonly required: readonly ["field", "operator", "value"];
6165
+ readonly required: readonly ["type", "time_range"];
3870
6166
  readonly additionalProperties: false;
3871
6167
  }, {
3872
6168
  readonly type: "object";
3873
- readonly description: "Empty filter";
6169
+ readonly description: "A duration representing an exact start and end time.";
3874
6170
  readonly properties: {
3875
- readonly field: {
3876
- readonly enum?: readonly string[] | undefined;
6171
+ readonly tz: {
3877
6172
  readonly type: "string";
3878
6173
  };
3879
- readonly operator: {
6174
+ readonly type: {
6175
+ readonly type: "string";
6176
+ readonly enum: readonly ["absolute"];
6177
+ };
6178
+ readonly start: {
6179
+ readonly type: "string";
6180
+ };
6181
+ readonly end: {
3880
6182
  readonly type: "string";
3881
- readonly enum: readonly ["empty", "not_empty"];
3882
6183
  };
3883
6184
  };
3884
- readonly required: readonly ["field", "operator"];
6185
+ readonly required: readonly ["type", "start", "end"];
3885
6186
  readonly additionalProperties: false;
3886
6187
  }];
6188
+ readonly default: {
6189
+ readonly type: "relative";
6190
+ readonly time_range: "1h";
6191
+ };
6192
+ };
6193
+ readonly limit: {
6194
+ readonly type: "number";
6195
+ };
6196
+ readonly meta: {
6197
+ readonly type: "object";
6198
+ };
6199
+ readonly datasource: {
6200
+ readonly type: "string";
6201
+ readonly enum: readonly ["platform"];
6202
+ };
6203
+ readonly metrics: {
6204
+ readonly type: "array";
6205
+ readonly description: "List of aggregated metrics to collect across the requested time span.";
6206
+ readonly items: {
6207
+ readonly enum?: readonly string[] | undefined;
6208
+ readonly type: "string";
6209
+ };
6210
+ };
6211
+ readonly dimensions: {
6212
+ readonly type: "array";
6213
+ readonly description: "List of attributes or entity types to group by.";
6214
+ readonly minItems: 0;
6215
+ readonly maxItems: 3;
6216
+ readonly items: {
6217
+ readonly enum?: readonly string[] | undefined;
6218
+ readonly type: "string";
6219
+ };
6220
+ };
6221
+ readonly filters: {
6222
+ readonly type: "array";
6223
+ readonly description: "A list of filters to apply to the platform query";
6224
+ readonly items: {
6225
+ readonly oneOf: readonly [{
6226
+ readonly type: "object";
6227
+ readonly description: "In filter";
6228
+ readonly properties: {
6229
+ readonly field: {
6230
+ readonly type: "string";
6231
+ };
6232
+ readonly operator: {
6233
+ readonly type: "string";
6234
+ };
6235
+ readonly value: {
6236
+ readonly type: "array";
6237
+ readonly items: {
6238
+ readonly type: readonly ["string", "number", "null"];
6239
+ };
6240
+ };
6241
+ };
6242
+ readonly required: readonly ["field", "operator", "value"];
6243
+ readonly additionalProperties: false;
6244
+ }, {
6245
+ readonly type: "object";
6246
+ readonly description: "Empty filter";
6247
+ readonly properties: {
6248
+ readonly field: {
6249
+ readonly type: "string";
6250
+ };
6251
+ readonly operator: {
6252
+ readonly type: "string";
6253
+ };
6254
+ };
6255
+ readonly required: readonly ["field", "operator"];
6256
+ readonly additionalProperties: false;
6257
+ }];
6258
+ };
6259
+ };
6260
+ };
6261
+ readonly required: readonly ["datasource"];
6262
+ readonly additionalProperties: false;
6263
+ }];
6264
+ };
6265
+ readonly chart: {
6266
+ readonly anyOf: readonly [{
6267
+ readonly type: "object";
6268
+ readonly properties: {
6269
+ readonly type: {
6270
+ readonly type: "string";
6271
+ readonly enum: readonly ["horizontal_bar", "vertical_bar"];
6272
+ };
6273
+ readonly stacked: {
6274
+ readonly type: "boolean";
6275
+ };
6276
+ readonly chart_dataset_colors: {
6277
+ readonly type: readonly ["object", "array"];
6278
+ readonly items: {
6279
+ readonly type: "string";
6280
+ };
6281
+ readonly additionalProperties: {
6282
+ readonly type: "string";
6283
+ };
6284
+ };
6285
+ readonly synthetics_data_key: {
6286
+ readonly type: "string";
6287
+ };
6288
+ readonly chart_title: {
6289
+ readonly type: "string";
6290
+ };
6291
+ readonly allow_csv_export: {
6292
+ readonly type: "boolean";
6293
+ };
6294
+ };
6295
+ readonly required: readonly ["type"];
6296
+ readonly additionalProperties: false;
6297
+ }, {
6298
+ readonly type: "object";
6299
+ readonly properties: {
6300
+ readonly type: {
6301
+ readonly type: "string";
6302
+ readonly enum: readonly ["gauge"];
6303
+ };
6304
+ readonly metric_display: {
6305
+ readonly type: "string";
6306
+ readonly enum: readonly ["hidden", "single", "full"];
6307
+ };
6308
+ readonly reverse_dataset: {
6309
+ readonly type: "boolean";
6310
+ };
6311
+ readonly numerator: {
6312
+ readonly type: "number";
6313
+ };
6314
+ readonly synthetics_data_key: {
6315
+ readonly type: "string";
6316
+ };
6317
+ readonly chart_title: {
6318
+ readonly type: "string";
6319
+ };
6320
+ };
6321
+ readonly required: readonly ["type"];
6322
+ readonly additionalProperties: false;
6323
+ }, {
6324
+ readonly type: "object";
6325
+ readonly properties: {
6326
+ readonly type: {
6327
+ readonly type: "string";
6328
+ readonly enum: readonly ["donut"];
6329
+ };
6330
+ readonly synthetics_data_key: {
6331
+ readonly type: "string";
6332
+ };
6333
+ readonly chart_title: {
6334
+ readonly type: "string";
6335
+ };
6336
+ };
6337
+ readonly required: readonly ["type"];
6338
+ readonly additionalProperties: false;
6339
+ }, {
6340
+ readonly type: "object";
6341
+ readonly properties: {
6342
+ readonly type: {
6343
+ readonly type: "string";
6344
+ readonly enum: readonly ["timeseries_line", "timeseries_bar"];
6345
+ };
6346
+ readonly stacked: {
6347
+ readonly type: "boolean";
6348
+ };
6349
+ readonly threshold: {
6350
+ readonly type: "object";
6351
+ readonly additionalProperties: {
6352
+ readonly type: "array";
6353
+ readonly items: {
6354
+ readonly type: "object";
6355
+ readonly properties: {
6356
+ readonly type: {
6357
+ readonly type: "string";
6358
+ readonly enum: readonly ["warning", "error", "neutral"];
6359
+ };
6360
+ readonly value: {
6361
+ readonly type: "number";
6362
+ };
6363
+ readonly label: {
6364
+ readonly type: "string";
6365
+ };
6366
+ readonly highlightIntersections: {
6367
+ readonly type: "boolean";
6368
+ readonly default: false;
6369
+ };
6370
+ };
6371
+ readonly required: readonly ["type", "value"];
6372
+ readonly additionalProperties: false;
6373
+ };
6374
+ };
6375
+ };
6376
+ readonly chart_dataset_colors: {
6377
+ readonly type: readonly ["object", "array"];
6378
+ readonly items: {
6379
+ readonly type: "string";
6380
+ };
6381
+ readonly additionalProperties: {
6382
+ readonly type: "string";
6383
+ };
6384
+ };
6385
+ readonly synthetics_data_key: {
6386
+ readonly type: "string";
6387
+ };
6388
+ readonly chart_title: {
6389
+ readonly type: "string";
6390
+ };
6391
+ readonly allow_csv_export: {
6392
+ readonly type: "boolean";
6393
+ };
6394
+ };
6395
+ readonly required: readonly ["type"];
6396
+ readonly additionalProperties: false;
6397
+ }, {
6398
+ readonly type: "object";
6399
+ readonly properties: {
6400
+ readonly chart_title: {
6401
+ readonly type: "string";
6402
+ };
6403
+ readonly type: {
6404
+ readonly type: "string";
6405
+ readonly enum: readonly ["golden_signals"];
6406
+ };
6407
+ readonly long_card_titles: {
6408
+ readonly type: "boolean";
6409
+ };
6410
+ readonly description: {
6411
+ readonly type: "string";
6412
+ };
6413
+ readonly percentile_latency: {
6414
+ readonly type: "boolean";
6415
+ };
6416
+ };
6417
+ readonly required: readonly ["type"];
6418
+ readonly additionalProperties: false;
6419
+ }, {
6420
+ readonly type: "object";
6421
+ readonly properties: {
6422
+ readonly chart_title: {
6423
+ readonly type: "string";
6424
+ };
6425
+ readonly synthetics_data_key: {
6426
+ readonly type: "string";
6427
+ };
6428
+ readonly type: {
6429
+ readonly type: "string";
6430
+ readonly enum: readonly ["top_n"];
6431
+ };
6432
+ readonly description: {
6433
+ readonly type: "string";
6434
+ };
6435
+ readonly entity_link: {
6436
+ readonly type: "string";
3887
6437
  };
3888
- };
3889
- };
3890
- readonly required: readonly ["datasource"];
3891
- readonly additionalProperties: false;
3892
- }, {
3893
- readonly type: "object";
3894
- readonly description: "A query to launch at the Agentic explore API";
3895
- readonly properties: {
3896
- readonly granularity: {
3897
- readonly type: "string";
3898
- readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
3899
- readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
3900
- };
3901
- readonly time_range: {
3902
- readonly type: "object";
3903
- readonly description: "The time range to query.";
3904
- readonly anyOf: readonly [{
3905
- readonly type: "object";
3906
- readonly properties: {
3907
- readonly tz: {
3908
- readonly type: "string";
3909
- readonly default: "Etc/UTC";
3910
- };
3911
- readonly type: {
3912
- readonly type: "string";
3913
- readonly enum: readonly ["relative"];
3914
- };
3915
- readonly time_range: {
3916
- readonly type: "string";
3917
- };
3918
- };
3919
- readonly required: readonly ["type", "time_range"];
3920
- readonly additionalProperties: false;
3921
- }, {
6438
+ readonly entity_links: {
3922
6439
  readonly type: "object";
3923
- readonly description: "A duration representing an exact start and end time.";
3924
- readonly properties: {
3925
- readonly tz: {
3926
- readonly type: "string";
3927
- };
3928
- readonly type: {
3929
- readonly type: "string";
3930
- readonly enum: readonly ["absolute"];
3931
- };
3932
- readonly start: {
3933
- readonly type: "string";
3934
- };
3935
- readonly end: {
3936
- readonly type: "string";
3937
- };
6440
+ readonly additionalProperties: {
6441
+ readonly type: "string";
3938
6442
  };
3939
- readonly required: readonly ["type", "start", "end"];
3940
- readonly additionalProperties: false;
3941
- }];
3942
- readonly default: {
3943
- readonly type: "relative";
3944
- readonly time_range: "1h";
3945
6443
  };
3946
6444
  };
3947
- readonly limit: {
3948
- readonly type: "number";
3949
- };
3950
- readonly meta: {
3951
- readonly type: "object";
3952
- };
3953
- readonly datasource: {
3954
- readonly type: "string";
3955
- readonly enum: readonly ["agentic_usage"];
3956
- };
3957
- readonly metrics: {
3958
- readonly type: "array";
3959
- readonly description: "List of aggregated metrics to collect across the requested time span.";
3960
- readonly items: {
3961
- readonly enum?: readonly string[] | undefined;
6445
+ readonly required: readonly ["type"];
6446
+ readonly additionalProperties: false;
6447
+ }, {
6448
+ readonly type: "object";
6449
+ readonly properties: {
6450
+ readonly type: {
6451
+ readonly type: "string";
6452
+ readonly enum: readonly ["slottable"];
6453
+ };
6454
+ readonly id: {
3962
6455
  readonly type: "string";
3963
6456
  };
3964
6457
  };
3965
- readonly dimensions: {
3966
- readonly type: "array";
3967
- readonly description: "List of attributes or entity types to group by.";
3968
- readonly minItems: 0;
3969
- readonly maxItems: 3;
3970
- readonly items: {
3971
- readonly enum?: readonly string[] | undefined;
6458
+ readonly required: readonly ["type", "id"];
6459
+ readonly additionalProperties: false;
6460
+ }, {
6461
+ readonly type: "object";
6462
+ readonly properties: {
6463
+ readonly type: {
6464
+ readonly type: "string";
6465
+ readonly enum: readonly ["single_value"];
6466
+ };
6467
+ readonly decimal_points: {
6468
+ readonly type: "number";
6469
+ };
6470
+ readonly chart_title: {
3972
6471
  readonly type: "string";
3973
6472
  };
3974
6473
  };
3975
- readonly filters: {
3976
- readonly type: "array";
3977
- readonly description: "A list of filters to apply to the query";
3978
- readonly items: {
3979
- readonly oneOf: readonly [{
3980
- readonly type: "object";
3981
- readonly description: "In filter";
3982
- readonly properties: {
3983
- readonly field: {
3984
- readonly enum?: readonly string[] | undefined;
3985
- readonly type: "string";
3986
- };
3987
- readonly operator: {
3988
- readonly type: "string";
3989
- readonly enum: readonly ["in", "not_in", "selector"];
3990
- };
3991
- readonly value: {
3992
- readonly type: "array";
3993
- readonly items: {
3994
- readonly type: readonly ["string", "number", "null"];
3995
- };
3996
- };
3997
- };
3998
- readonly required: readonly ["field", "operator", "value"];
3999
- readonly additionalProperties: false;
4000
- }, {
4001
- readonly type: "object";
4002
- readonly description: "Empty filter";
4003
- readonly properties: {
4004
- readonly field: {
4005
- readonly enum?: readonly string[] | undefined;
4006
- readonly type: "string";
4007
- };
4008
- readonly operator: {
4009
- readonly type: "string";
4010
- readonly enum: readonly ["empty", "not_empty"];
4011
- };
4012
- };
4013
- readonly required: readonly ["field", "operator"];
4014
- readonly additionalProperties: false;
4015
- }];
6474
+ readonly required: readonly ["type"];
6475
+ readonly additionalProperties: false;
6476
+ }, {
6477
+ readonly type: "object";
6478
+ readonly properties: {
6479
+ readonly type: {
6480
+ readonly type: "string";
6481
+ readonly enum: readonly ["choropleth_map"];
6482
+ };
6483
+ readonly chart_title: {
6484
+ readonly type: "string";
6485
+ };
6486
+ readonly fit_to_country: {
6487
+ readonly type: "string";
6488
+ readonly enum: ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW")[];
6489
+ };
6490
+ readonly legend: {
6491
+ readonly type: "boolean";
6492
+ readonly default: false;
6493
+ };
6494
+ readonly bounds: {
6495
+ readonly type: "array";
6496
+ readonly minItems: 2;
6497
+ readonly maxItems: 2;
6498
+ readonly items: {
6499
+ readonly type: "array";
6500
+ readonly minItems: 2;
6501
+ readonly maxItems: 2;
6502
+ readonly items: readonly [{
6503
+ readonly type: "number";
6504
+ readonly minimum: -180;
6505
+ readonly maximum: 180;
6506
+ }, {
6507
+ readonly type: "number";
6508
+ readonly minimum: -90;
6509
+ readonly maximum: 90;
6510
+ }];
6511
+ };
4016
6512
  };
4017
6513
  };
6514
+ readonly required: readonly ["type"];
6515
+ readonly additionalProperties: false;
6516
+ }];
6517
+ };
6518
+ };
6519
+ readonly required: readonly ["query", "chart"];
6520
+ readonly additionalProperties: false;
6521
+ };
6522
+ readonly layout: {
6523
+ readonly type: "object";
6524
+ readonly properties: {
6525
+ readonly position: {
6526
+ readonly type: "object";
6527
+ readonly properties: {
6528
+ readonly col: {
6529
+ readonly type: "number";
6530
+ };
6531
+ readonly row: {
6532
+ readonly type: "number";
6533
+ };
4018
6534
  };
4019
- readonly required: readonly ["datasource"];
6535
+ readonly description: "Position of the tile in the grid.";
6536
+ readonly required: readonly ["col", "row"];
4020
6537
  readonly additionalProperties: false;
4021
- }, {
6538
+ };
6539
+ readonly size: {
4022
6540
  readonly type: "object";
4023
- readonly description: "A query to launch at the platform dashboard API";
4024
6541
  readonly properties: {
4025
- readonly granularity: {
4026
- readonly type: "string";
4027
- readonly description: "Force time grouping into buckets of this duration. Only has an effect if \"time\" is in the \"dimensions\" list.";
4028
- readonly enum: readonly ["secondly", "tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily", "weekly", "trend"];
4029
- };
4030
- readonly time_range: {
4031
- readonly type: "object";
4032
- readonly description: "The time range to query.";
4033
- readonly anyOf: readonly [{
4034
- readonly type: "object";
4035
- readonly properties: {
4036
- readonly tz: {
4037
- readonly type: "string";
4038
- readonly default: "Etc/UTC";
4039
- };
4040
- readonly type: {
4041
- readonly type: "string";
4042
- readonly enum: readonly ["relative"];
4043
- };
4044
- readonly time_range: {
4045
- readonly type: "string";
4046
- };
4047
- };
4048
- readonly required: readonly ["type", "time_range"];
4049
- readonly additionalProperties: false;
4050
- }, {
4051
- readonly type: "object";
4052
- readonly description: "A duration representing an exact start and end time.";
4053
- readonly properties: {
4054
- readonly tz: {
4055
- readonly type: "string";
4056
- };
4057
- readonly type: {
4058
- readonly type: "string";
4059
- readonly enum: readonly ["absolute"];
4060
- };
4061
- readonly start: {
4062
- readonly type: "string";
4063
- };
4064
- readonly end: {
4065
- readonly type: "string";
4066
- };
4067
- };
4068
- readonly required: readonly ["type", "start", "end"];
4069
- readonly additionalProperties: false;
4070
- }];
4071
- readonly default: {
4072
- readonly type: "relative";
4073
- readonly time_range: "1h";
4074
- };
6542
+ readonly cols: {
6543
+ readonly type: "number";
4075
6544
  };
4076
- readonly limit: {
6545
+ readonly rows: {
4077
6546
  readonly type: "number";
4078
6547
  };
4079
- readonly meta: {
4080
- readonly type: "object";
6548
+ readonly fit_to_content: {
6549
+ readonly type: "boolean";
4081
6550
  };
6551
+ };
6552
+ readonly description: string;
6553
+ readonly required: readonly ["cols", "rows"];
6554
+ readonly additionalProperties: false;
6555
+ };
6556
+ };
6557
+ readonly required: readonly ["position", "size"];
6558
+ readonly additionalProperties: false;
6559
+ };
6560
+ readonly id: {
6561
+ readonly type: "string";
6562
+ readonly description: "Unique identifier for the tile. If not provided, one will be generated.";
6563
+ };
6564
+ };
6565
+ readonly required: readonly ["type", "definition", "layout"];
6566
+ readonly additionalProperties: false;
6567
+ }, {
6568
+ readonly type: "object";
6569
+ readonly properties: {
6570
+ readonly type: {
6571
+ readonly type: "string";
6572
+ readonly enum: readonly ["table"];
6573
+ };
6574
+ readonly definition: {
6575
+ readonly type: "object";
6576
+ readonly properties: {
6577
+ readonly query: {
6578
+ readonly type: "object";
6579
+ readonly description: "A query to launch at the platform tabular explore API";
6580
+ readonly properties: {
4082
6581
  readonly datasource: {
4083
6582
  readonly type: "string";
4084
6583
  readonly enum: readonly ["platform"];
4085
6584
  };
4086
- readonly metrics: {
4087
- readonly type: "array";
4088
- readonly description: "List of aggregated metrics to collect across the requested time span.";
4089
- readonly items: {
4090
- readonly enum?: readonly string[] | undefined;
4091
- readonly type: "string";
4092
- };
6585
+ readonly entity: {
6586
+ readonly type: "string";
4093
6587
  };
4094
- readonly dimensions: {
6588
+ readonly columns: {
4095
6589
  readonly type: "array";
4096
- readonly description: "List of attributes or entity types to group by.";
4097
- readonly minItems: 0;
4098
- readonly maxItems: 3;
6590
+ readonly minItems: 1;
4099
6591
  readonly items: {
4100
- readonly enum?: readonly string[] | undefined;
4101
6592
  readonly type: "string";
4102
6593
  };
4103
6594
  };
@@ -4140,313 +6631,319 @@ export declare const dashboardConfigSchema: {
4140
6631
  }];
4141
6632
  };
4142
6633
  };
4143
- };
4144
- readonly required: readonly ["datasource"];
4145
- readonly additionalProperties: false;
4146
- }];
4147
- };
4148
- readonly chart: {
4149
- readonly anyOf: readonly [{
4150
- readonly type: "object";
4151
- readonly properties: {
4152
- readonly type: {
4153
- readonly type: "string";
4154
- readonly enum: readonly ["horizontal_bar", "vertical_bar"];
4155
- };
4156
- readonly stacked: {
4157
- readonly type: "boolean";
4158
- };
4159
- readonly chart_dataset_colors: {
4160
- readonly type: readonly ["object", "array"];
4161
- readonly items: {
4162
- readonly type: "string";
4163
- };
4164
- readonly additionalProperties: {
4165
- readonly type: "string";
4166
- };
4167
- };
4168
- readonly synthetics_data_key: {
4169
- readonly type: "string";
4170
- };
4171
- readonly chart_title: {
4172
- readonly type: "string";
4173
- };
4174
- readonly allow_csv_export: {
4175
- readonly type: "boolean";
4176
- };
4177
- };
4178
- readonly required: readonly ["type"];
4179
- readonly additionalProperties: false;
4180
- }, {
4181
- readonly type: "object";
4182
- readonly properties: {
4183
- readonly type: {
4184
- readonly type: "string";
4185
- readonly enum: readonly ["gauge"];
4186
- };
4187
- readonly metric_display: {
4188
- readonly type: "string";
4189
- readonly enum: readonly ["hidden", "single", "full"];
4190
- };
4191
- readonly reverse_dataset: {
4192
- readonly type: "boolean";
4193
- };
4194
- readonly numerator: {
4195
- readonly type: "number";
4196
- };
4197
- readonly synthetics_data_key: {
4198
- readonly type: "string";
4199
- };
4200
- readonly chart_title: {
4201
- readonly type: "string";
4202
- };
4203
- };
4204
- readonly required: readonly ["type"];
4205
- readonly additionalProperties: false;
4206
- }, {
4207
- readonly type: "object";
4208
- readonly properties: {
4209
- readonly type: {
4210
- readonly type: "string";
4211
- readonly enum: readonly ["donut"];
4212
- };
4213
- readonly synthetics_data_key: {
4214
- readonly type: "string";
4215
- };
4216
- readonly chart_title: {
4217
- readonly type: "string";
4218
- };
4219
- };
4220
- readonly required: readonly ["type"];
4221
- readonly additionalProperties: false;
4222
- }, {
4223
- readonly type: "object";
4224
- readonly properties: {
4225
- readonly type: {
4226
- readonly type: "string";
4227
- readonly enum: readonly ["timeseries_line", "timeseries_bar"];
4228
- };
4229
- readonly stacked: {
4230
- readonly type: "boolean";
4231
- };
4232
- readonly threshold: {
4233
- readonly type: "object";
4234
- readonly additionalProperties: {
4235
- readonly type: "array";
4236
- readonly items: {
4237
- readonly type: "object";
4238
- readonly properties: {
4239
- readonly type: {
4240
- readonly type: "string";
4241
- readonly enum: readonly ["warning", "error", "neutral"];
4242
- };
4243
- readonly value: {
4244
- readonly type: "number";
4245
- };
4246
- readonly label: {
4247
- readonly type: "string";
4248
- };
4249
- readonly highlightIntersections: {
4250
- readonly type: "boolean";
4251
- readonly default: false;
4252
- };
4253
- };
4254
- readonly required: readonly ["type", "value"];
4255
- readonly additionalProperties: false;
4256
- };
4257
- };
4258
- };
4259
- readonly chart_dataset_colors: {
4260
- readonly type: readonly ["object", "array"];
4261
- readonly items: {
4262
- readonly type: "string";
4263
- };
4264
- readonly additionalProperties: {
4265
- readonly type: "string";
4266
- };
4267
- };
4268
- readonly synthetics_data_key: {
6634
+ readonly cursor: {
4269
6635
  readonly type: "string";
4270
6636
  };
4271
- readonly chart_title: {
4272
- readonly type: "string";
4273
- };
4274
- readonly allow_csv_export: {
4275
- readonly type: "boolean";
6637
+ readonly page_size: {
6638
+ readonly type: "number";
4276
6639
  };
4277
6640
  };
4278
- readonly required: readonly ["type"];
6641
+ readonly required: readonly ["datasource"];
4279
6642
  readonly additionalProperties: false;
4280
- }, {
4281
- readonly type: "object";
4282
- readonly properties: {
4283
- readonly chart_title: {
4284
- readonly type: "string";
4285
- };
4286
- readonly type: {
4287
- readonly type: "string";
4288
- readonly enum: readonly ["golden_signals"];
4289
- };
4290
- readonly long_card_titles: {
4291
- readonly type: "boolean";
4292
- };
4293
- readonly description: {
4294
- readonly type: "string";
4295
- };
4296
- readonly percentile_latency: {
4297
- readonly type: "boolean";
6643
+ };
6644
+ readonly chart: {
6645
+ readonly anyOf: readonly [{
6646
+ readonly type: "object";
6647
+ readonly properties: {
6648
+ readonly type: {
6649
+ readonly type: "string";
6650
+ readonly enum: readonly ["horizontal_bar", "vertical_bar"];
6651
+ };
6652
+ readonly stacked: {
6653
+ readonly type: "boolean";
6654
+ };
6655
+ readonly chart_dataset_colors: {
6656
+ readonly type: readonly ["object", "array"];
6657
+ readonly items: {
6658
+ readonly type: "string";
6659
+ };
6660
+ readonly additionalProperties: {
6661
+ readonly type: "string";
6662
+ };
6663
+ };
6664
+ readonly synthetics_data_key: {
6665
+ readonly type: "string";
6666
+ };
6667
+ readonly chart_title: {
6668
+ readonly type: "string";
6669
+ };
6670
+ readonly allow_csv_export: {
6671
+ readonly type: "boolean";
6672
+ };
4298
6673
  };
4299
- };
4300
- readonly required: readonly ["type"];
4301
- readonly additionalProperties: false;
4302
- }, {
4303
- readonly type: "object";
4304
- readonly properties: {
4305
- readonly chart_title: {
4306
- readonly type: "string";
6674
+ readonly required: readonly ["type"];
6675
+ readonly additionalProperties: false;
6676
+ }, {
6677
+ readonly type: "object";
6678
+ readonly properties: {
6679
+ readonly type: {
6680
+ readonly type: "string";
6681
+ readonly enum: readonly ["gauge"];
6682
+ };
6683
+ readonly metric_display: {
6684
+ readonly type: "string";
6685
+ readonly enum: readonly ["hidden", "single", "full"];
6686
+ };
6687
+ readonly reverse_dataset: {
6688
+ readonly type: "boolean";
6689
+ };
6690
+ readonly numerator: {
6691
+ readonly type: "number";
6692
+ };
6693
+ readonly synthetics_data_key: {
6694
+ readonly type: "string";
6695
+ };
6696
+ readonly chart_title: {
6697
+ readonly type: "string";
6698
+ };
4307
6699
  };
4308
- readonly synthetics_data_key: {
4309
- readonly type: "string";
6700
+ readonly required: readonly ["type"];
6701
+ readonly additionalProperties: false;
6702
+ }, {
6703
+ readonly type: "object";
6704
+ readonly properties: {
6705
+ readonly type: {
6706
+ readonly type: "string";
6707
+ readonly enum: readonly ["donut"];
6708
+ };
6709
+ readonly synthetics_data_key: {
6710
+ readonly type: "string";
6711
+ };
6712
+ readonly chart_title: {
6713
+ readonly type: "string";
6714
+ };
4310
6715
  };
4311
- readonly type: {
4312
- readonly type: "string";
4313
- readonly enum: readonly ["top_n"];
6716
+ readonly required: readonly ["type"];
6717
+ readonly additionalProperties: false;
6718
+ }, {
6719
+ readonly type: "object";
6720
+ readonly properties: {
6721
+ readonly type: {
6722
+ readonly type: "string";
6723
+ readonly enum: readonly ["timeseries_line", "timeseries_bar"];
6724
+ };
6725
+ readonly stacked: {
6726
+ readonly type: "boolean";
6727
+ };
6728
+ readonly threshold: {
6729
+ readonly type: "object";
6730
+ readonly additionalProperties: {
6731
+ readonly type: "array";
6732
+ readonly items: {
6733
+ readonly type: "object";
6734
+ readonly properties: {
6735
+ readonly type: {
6736
+ readonly type: "string";
6737
+ readonly enum: readonly ["warning", "error", "neutral"];
6738
+ };
6739
+ readonly value: {
6740
+ readonly type: "number";
6741
+ };
6742
+ readonly label: {
6743
+ readonly type: "string";
6744
+ };
6745
+ readonly highlightIntersections: {
6746
+ readonly type: "boolean";
6747
+ readonly default: false;
6748
+ };
6749
+ };
6750
+ readonly required: readonly ["type", "value"];
6751
+ readonly additionalProperties: false;
6752
+ };
6753
+ };
6754
+ };
6755
+ readonly chart_dataset_colors: {
6756
+ readonly type: readonly ["object", "array"];
6757
+ readonly items: {
6758
+ readonly type: "string";
6759
+ };
6760
+ readonly additionalProperties: {
6761
+ readonly type: "string";
6762
+ };
6763
+ };
6764
+ readonly synthetics_data_key: {
6765
+ readonly type: "string";
6766
+ };
6767
+ readonly chart_title: {
6768
+ readonly type: "string";
6769
+ };
6770
+ readonly allow_csv_export: {
6771
+ readonly type: "boolean";
6772
+ };
4314
6773
  };
4315
- readonly description: {
4316
- readonly type: "string";
6774
+ readonly required: readonly ["type"];
6775
+ readonly additionalProperties: false;
6776
+ }, {
6777
+ readonly type: "object";
6778
+ readonly properties: {
6779
+ readonly chart_title: {
6780
+ readonly type: "string";
6781
+ };
6782
+ readonly type: {
6783
+ readonly type: "string";
6784
+ readonly enum: readonly ["golden_signals"];
6785
+ };
6786
+ readonly long_card_titles: {
6787
+ readonly type: "boolean";
6788
+ };
6789
+ readonly description: {
6790
+ readonly type: "string";
6791
+ };
6792
+ readonly percentile_latency: {
6793
+ readonly type: "boolean";
6794
+ };
4317
6795
  };
4318
- readonly entity_link: {
4319
- readonly type: "string";
6796
+ readonly required: readonly ["type"];
6797
+ readonly additionalProperties: false;
6798
+ }, {
6799
+ readonly type: "object";
6800
+ readonly properties: {
6801
+ readonly chart_title: {
6802
+ readonly type: "string";
6803
+ };
6804
+ readonly synthetics_data_key: {
6805
+ readonly type: "string";
6806
+ };
6807
+ readonly type: {
6808
+ readonly type: "string";
6809
+ readonly enum: readonly ["top_n"];
6810
+ };
6811
+ readonly description: {
6812
+ readonly type: "string";
6813
+ };
6814
+ readonly entity_link: {
6815
+ readonly type: "string";
6816
+ };
6817
+ readonly entity_links: {
6818
+ readonly type: "object";
6819
+ readonly additionalProperties: {
6820
+ readonly type: "string";
6821
+ };
6822
+ };
4320
6823
  };
4321
- readonly entity_links: {
4322
- readonly type: "object";
4323
- readonly additionalProperties: {
6824
+ readonly required: readonly ["type"];
6825
+ readonly additionalProperties: false;
6826
+ }, {
6827
+ readonly type: "object";
6828
+ readonly properties: {
6829
+ readonly type: {
6830
+ readonly type: "string";
6831
+ readonly enum: readonly ["slottable"];
6832
+ };
6833
+ readonly id: {
4324
6834
  readonly type: "string";
4325
6835
  };
4326
6836
  };
4327
- };
4328
- readonly required: readonly ["type"];
4329
- readonly additionalProperties: false;
4330
- }, {
4331
- readonly type: "object";
4332
- readonly properties: {
4333
- readonly type: {
4334
- readonly type: "string";
4335
- readonly enum: readonly ["slottable"];
6837
+ readonly required: readonly ["type", "id"];
6838
+ readonly additionalProperties: false;
6839
+ }, {
6840
+ readonly type: "object";
6841
+ readonly properties: {
6842
+ readonly type: {
6843
+ readonly type: "string";
6844
+ readonly enum: readonly ["single_value"];
6845
+ };
6846
+ readonly decimal_points: {
6847
+ readonly type: "number";
6848
+ };
6849
+ readonly chart_title: {
6850
+ readonly type: "string";
6851
+ };
4336
6852
  };
4337
- readonly id: {
4338
- readonly type: "string";
6853
+ readonly required: readonly ["type"];
6854
+ readonly additionalProperties: false;
6855
+ }, {
6856
+ readonly type: "object";
6857
+ readonly properties: {
6858
+ readonly type: {
6859
+ readonly type: "string";
6860
+ readonly enum: readonly ["choropleth_map"];
6861
+ };
6862
+ readonly chart_title: {
6863
+ readonly type: "string";
6864
+ };
6865
+ readonly fit_to_country: {
6866
+ readonly type: "string";
6867
+ readonly enum: ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW")[];
6868
+ };
6869
+ readonly legend: {
6870
+ readonly type: "boolean";
6871
+ readonly default: false;
6872
+ };
6873
+ readonly bounds: {
6874
+ readonly type: "array";
6875
+ readonly minItems: 2;
6876
+ readonly maxItems: 2;
6877
+ readonly items: {
6878
+ readonly type: "array";
6879
+ readonly minItems: 2;
6880
+ readonly maxItems: 2;
6881
+ readonly items: readonly [{
6882
+ readonly type: "number";
6883
+ readonly minimum: -180;
6884
+ readonly maximum: 180;
6885
+ }, {
6886
+ readonly type: "number";
6887
+ readonly minimum: -90;
6888
+ readonly maximum: 90;
6889
+ }];
6890
+ };
6891
+ };
4339
6892
  };
4340
- };
4341
- readonly required: readonly ["type", "id"];
4342
- readonly additionalProperties: false;
4343
- }, {
6893
+ readonly required: readonly ["type"];
6894
+ readonly additionalProperties: false;
6895
+ }];
6896
+ };
6897
+ };
6898
+ readonly required: readonly ["query", "chart"];
6899
+ readonly additionalProperties: false;
6900
+ };
6901
+ readonly layout: {
6902
+ readonly type: "object";
6903
+ readonly properties: {
6904
+ readonly position: {
4344
6905
  readonly type: "object";
4345
6906
  readonly properties: {
4346
- readonly type: {
4347
- readonly type: "string";
4348
- readonly enum: readonly ["single_value"];
4349
- };
4350
- readonly decimal_points: {
6907
+ readonly col: {
4351
6908
  readonly type: "number";
4352
6909
  };
4353
- readonly chart_title: {
4354
- readonly type: "string";
6910
+ readonly row: {
6911
+ readonly type: "number";
4355
6912
  };
4356
6913
  };
4357
- readonly required: readonly ["type"];
6914
+ readonly description: "Position of the tile in the grid.";
6915
+ readonly required: readonly ["col", "row"];
4358
6916
  readonly additionalProperties: false;
4359
- }, {
6917
+ };
6918
+ readonly size: {
4360
6919
  readonly type: "object";
4361
6920
  readonly properties: {
4362
- readonly type: {
4363
- readonly type: "string";
4364
- readonly enum: readonly ["choropleth_map"];
4365
- };
4366
- readonly chart_title: {
4367
- readonly type: "string";
6921
+ readonly cols: {
6922
+ readonly type: "number";
4368
6923
  };
4369
- readonly fit_to_country: {
4370
- readonly type: "string";
4371
- readonly enum: ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW")[];
6924
+ readonly rows: {
6925
+ readonly type: "number";
4372
6926
  };
4373
- readonly legend: {
6927
+ readonly fit_to_content: {
4374
6928
  readonly type: "boolean";
4375
- readonly default: false;
4376
- };
4377
- readonly bounds: {
4378
- readonly type: "array";
4379
- readonly minItems: 2;
4380
- readonly maxItems: 2;
4381
- readonly items: {
4382
- readonly type: "array";
4383
- readonly minItems: 2;
4384
- readonly maxItems: 2;
4385
- readonly items: readonly [{
4386
- readonly type: "number";
4387
- readonly minimum: -180;
4388
- readonly maximum: 180;
4389
- }, {
4390
- readonly type: "number";
4391
- readonly minimum: -90;
4392
- readonly maximum: 90;
4393
- }];
4394
- };
4395
6929
  };
4396
6930
  };
4397
- readonly required: readonly ["type"];
6931
+ readonly description: string;
6932
+ readonly required: readonly ["cols", "rows"];
4398
6933
  readonly additionalProperties: false;
4399
- }];
4400
- };
4401
- };
4402
- readonly required: readonly ["query", "chart"];
4403
- readonly additionalProperties: false;
4404
- };
4405
- readonly layout: {
4406
- readonly type: "object";
4407
- readonly properties: {
4408
- readonly position: {
4409
- readonly type: "object";
4410
- readonly properties: {
4411
- readonly col: {
4412
- readonly type: "number";
4413
- };
4414
- readonly row: {
4415
- readonly type: "number";
4416
- };
4417
- };
4418
- readonly description: "Position of the tile in the grid.";
4419
- readonly required: readonly ["col", "row"];
4420
- readonly additionalProperties: false;
4421
- };
4422
- readonly size: {
4423
- readonly type: "object";
4424
- readonly properties: {
4425
- readonly cols: {
4426
- readonly type: "number";
4427
- };
4428
- readonly rows: {
4429
- readonly type: "number";
4430
- };
4431
- readonly fit_to_content: {
4432
- readonly type: "boolean";
4433
- };
4434
6934
  };
4435
- readonly description: string;
4436
- readonly required: readonly ["cols", "rows"];
4437
- readonly additionalProperties: false;
4438
6935
  };
6936
+ readonly required: readonly ["position", "size"];
6937
+ readonly additionalProperties: false;
6938
+ };
6939
+ readonly id: {
6940
+ readonly type: "string";
6941
+ readonly description: "Unique identifier for the tile. If not provided, one will be generated.";
4439
6942
  };
4440
- readonly required: readonly ["position", "size"];
4441
- readonly additionalProperties: false;
4442
- };
4443
- readonly id: {
4444
- readonly type: "string";
4445
- readonly description: "Unique identifier for the tile. If not provided, one will be generated.";
4446
6943
  };
4447
- };
4448
- readonly required: readonly ["type", "definition", "layout"];
4449
- readonly additionalProperties: false;
6944
+ readonly required: readonly ["type", "definition", "layout"];
6945
+ readonly additionalProperties: false;
6946
+ }];
4450
6947
  };
4451
6948
  };
4452
6949
  readonly tile_height: {
@@ -4508,6 +7005,9 @@ export declare const dashboardConfigSchema: {
4508
7005
  readonly required: readonly ["tiles"];
4509
7006
  readonly additionalProperties: false;
4510
7007
  };
4511
- export type DashboardConfig = FromSchemaWithOptions<typeof dashboardConfigSchema>;
7008
+ export type DashboardConfigWithTableTiles = FromSchemaWithOptions<typeof dashboardConfigSchema>;
7009
+ export type DashboardConfig = Omit<DashboardConfigWithTableTiles, 'tiles'> & {
7010
+ tiles: TileConfig[];
7011
+ };
4512
7012
  export {};
4513
7013
  //# sourceMappingURL=dashboardSchema.v2.d.ts.map