@kong-ui-public/analytics-utilities 10.1.5 → 10.1.6-pr.2346.5bc4acfaa.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.
@@ -0,0 +1,1962 @@
1
+ import { z } from 'zod';
2
+ export declare const dashboardTileTypes: readonly ["horizontal_bar", "vertical_bar", "gauge", "donut", "timeseries_line", "timeseries_bar", "golden_signals", "top_n", "slottable", "single_value"];
3
+ export type DashboardTileType = typeof dashboardTileTypes[number];
4
+ export declare const zSlottableSchema: z.ZodObject<{
5
+ type: z.ZodLiteral<"slottable">;
6
+ id: z.ZodString;
7
+ }, z.core.$strict>;
8
+ export type SlottableOptions = z.infer<typeof zSlottableSchema>;
9
+ export declare const zBarChartSchema: z.ZodObject<{
10
+ type: z.ZodEnum<{
11
+ horizontal_bar: "horizontal_bar";
12
+ vertical_bar: "vertical_bar";
13
+ }>;
14
+ stacked: z.ZodOptional<z.ZodBoolean>;
15
+ chart_dataset_colors: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
16
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
17
+ chart_title: z.ZodOptional<z.ZodString>;
18
+ allow_csv_export: z.ZodOptional<z.ZodBoolean>;
19
+ }, z.core.$strict>;
20
+ export type BarChartOptions = z.infer<typeof zBarChartSchema>;
21
+ export declare const zTimeseriesChartSchema: z.ZodObject<{
22
+ type: z.ZodEnum<{
23
+ timeseries_line: "timeseries_line";
24
+ timeseries_bar: "timeseries_bar";
25
+ }>;
26
+ stacked: z.ZodOptional<z.ZodBoolean>;
27
+ threshold: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
28
+ chart_dataset_colors: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
29
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
30
+ chart_title: z.ZodOptional<z.ZodString>;
31
+ allow_csv_export: z.ZodOptional<z.ZodBoolean>;
32
+ }, z.core.$strict>;
33
+ export type TimeseriesChartOptions = z.infer<typeof zTimeseriesChartSchema>;
34
+ export declare const zGaugeChartSchema: z.ZodObject<{
35
+ type: z.ZodLiteral<"gauge">;
36
+ metric_display: z.ZodOptional<z.ZodEnum<{
37
+ hidden: "hidden";
38
+ single: "single";
39
+ full: "full";
40
+ }>>;
41
+ reverse_dataset: z.ZodOptional<z.ZodBoolean>;
42
+ numerator: z.ZodOptional<z.ZodNumber>;
43
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
44
+ chart_title: z.ZodOptional<z.ZodString>;
45
+ }, z.core.$strict>;
46
+ export type GaugeChartOptions = z.infer<typeof zGaugeChartSchema>;
47
+ export declare const zDonutChartSchema: z.ZodObject<{
48
+ type: z.ZodLiteral<"donut">;
49
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
50
+ chart_title: z.ZodOptional<z.ZodString>;
51
+ }, z.core.$strict>;
52
+ export type DonutChartOptions = z.infer<typeof zDonutChartSchema>;
53
+ export declare const zTopNTableSchema: z.ZodObject<{
54
+ type: z.ZodLiteral<"top_n">;
55
+ chart_title: z.ZodOptional<z.ZodString>;
56
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
57
+ description: z.ZodOptional<z.ZodString>;
58
+ entity_link: z.ZodOptional<z.ZodString>;
59
+ }, z.core.$strict>;
60
+ export type TopNTableOptions = z.infer<typeof zTopNTableSchema>;
61
+ export declare const zMetricCardSchema: z.ZodObject<{
62
+ type: z.ZodLiteral<"golden_signals">;
63
+ chart_title: z.ZodOptional<z.ZodString>;
64
+ long_card_titles: z.ZodOptional<z.ZodBoolean>;
65
+ description: z.ZodOptional<z.ZodString>;
66
+ percentile_latency: z.ZodOptional<z.ZodBoolean>;
67
+ }, z.core.$strict>;
68
+ export type MetricCardOptions = z.infer<typeof zMetricCardSchema>;
69
+ export declare const zSingleValueSchema: z.ZodObject<{
70
+ type: z.ZodLiteral<"single_value">;
71
+ decimal_points: z.ZodOptional<z.ZodNumber>;
72
+ chart_title: z.ZodOptional<z.ZodString>;
73
+ }, z.core.$strict>;
74
+ export type SingleValueOptions = z.infer<typeof zSingleValueSchema>;
75
+ export declare const zApiUsageQuery: z.ZodObject<{
76
+ granularity: z.ZodOptional<z.ZodEnum<{
77
+ secondly: "secondly";
78
+ tenSecondly: "tenSecondly";
79
+ thirtySecondly: "thirtySecondly";
80
+ minutely: "minutely";
81
+ fiveMinutely: "fiveMinutely";
82
+ tenMinutely: "tenMinutely";
83
+ thirtyMinutely: "thirtyMinutely";
84
+ hourly: "hourly";
85
+ twoHourly: "twoHourly";
86
+ twelveHourly: "twelveHourly";
87
+ daily: "daily";
88
+ weekly: "weekly";
89
+ trend: "trend";
90
+ }>>;
91
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
92
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
93
+ type: z.ZodLiteral<"relative">;
94
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
95
+ "15m": "15m";
96
+ "1h": "1h";
97
+ "6h": "6h";
98
+ "12h": "12h";
99
+ "24h": "24h";
100
+ "7d": "7d";
101
+ "30d": "30d";
102
+ current_week: "current_week";
103
+ current_month: "current_month";
104
+ previous_week: "previous_week";
105
+ previous_month: "previous_month";
106
+ }>>>;
107
+ }, z.core.$strict>, z.ZodObject<{
108
+ tz: z.ZodOptional<z.ZodString>;
109
+ type: z.ZodLiteral<"absolute">;
110
+ start: z.ZodString;
111
+ end: z.ZodString;
112
+ }, z.core.$strict>]>>>>;
113
+ limit: z.ZodOptional<z.ZodNumber>;
114
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
115
+ datasource: z.ZodLiteral<"api_usage">;
116
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
117
+ [x: string]: string;
118
+ }>>>>;
119
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
120
+ [x: string]: string;
121
+ }>>>>;
122
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
123
+ field: z.ZodEnum<{
124
+ api: "api";
125
+ api_product: "api_product";
126
+ api_product_version: "api_product_version";
127
+ control_plane: "control_plane";
128
+ control_plane_group: "control_plane_group";
129
+ data_plane_node: "data_plane_node";
130
+ gateway_service: "gateway_service";
131
+ portal: "portal";
132
+ route: "route";
133
+ status_code: "status_code";
134
+ status_code_grouped: "status_code_grouped";
135
+ application: "application";
136
+ consumer: "consumer";
137
+ country_code: "country_code";
138
+ iso_code: "iso_code";
139
+ upstream_status_code: "upstream_status_code";
140
+ upstream_status_code_grouped: "upstream_status_code_grouped";
141
+ response_source: "response_source";
142
+ data_plane_node_version: "data_plane_node_version";
143
+ realm: "realm";
144
+ }>;
145
+ operator: z.ZodEnum<{
146
+ in: "in";
147
+ not_in: "not_in";
148
+ selector: "selector";
149
+ }>;
150
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ field: z.ZodEnum<{
153
+ api: "api";
154
+ api_product: "api_product";
155
+ api_product_version: "api_product_version";
156
+ control_plane: "control_plane";
157
+ control_plane_group: "control_plane_group";
158
+ data_plane_node: "data_plane_node";
159
+ gateway_service: "gateway_service";
160
+ portal: "portal";
161
+ route: "route";
162
+ status_code: "status_code";
163
+ status_code_grouped: "status_code_grouped";
164
+ application: "application";
165
+ consumer: "consumer";
166
+ country_code: "country_code";
167
+ iso_code: "iso_code";
168
+ upstream_status_code: "upstream_status_code";
169
+ upstream_status_code_grouped: "upstream_status_code_grouped";
170
+ response_source: "response_source";
171
+ data_plane_node_version: "data_plane_node_version";
172
+ realm: "realm";
173
+ }>;
174
+ operator: z.ZodEnum<{
175
+ empty: "empty";
176
+ not_empty: "not_empty";
177
+ }>;
178
+ }, z.core.$strict>]>>>>;
179
+ }, z.core.$strict>;
180
+ export declare const zBasicQuery: z.ZodObject<{
181
+ granularity: z.ZodOptional<z.ZodEnum<{
182
+ secondly: "secondly";
183
+ tenSecondly: "tenSecondly";
184
+ thirtySecondly: "thirtySecondly";
185
+ minutely: "minutely";
186
+ fiveMinutely: "fiveMinutely";
187
+ tenMinutely: "tenMinutely";
188
+ thirtyMinutely: "thirtyMinutely";
189
+ hourly: "hourly";
190
+ twoHourly: "twoHourly";
191
+ twelveHourly: "twelveHourly";
192
+ daily: "daily";
193
+ weekly: "weekly";
194
+ trend: "trend";
195
+ }>>;
196
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
197
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
198
+ type: z.ZodLiteral<"relative">;
199
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
200
+ "15m": "15m";
201
+ "1h": "1h";
202
+ "6h": "6h";
203
+ "12h": "12h";
204
+ "24h": "24h";
205
+ "7d": "7d";
206
+ "30d": "30d";
207
+ current_week: "current_week";
208
+ current_month: "current_month";
209
+ previous_week: "previous_week";
210
+ previous_month: "previous_month";
211
+ }>>>;
212
+ }, z.core.$strict>, z.ZodObject<{
213
+ tz: z.ZodOptional<z.ZodString>;
214
+ type: z.ZodLiteral<"absolute">;
215
+ start: z.ZodString;
216
+ end: z.ZodString;
217
+ }, z.core.$strict>]>>>>;
218
+ limit: z.ZodOptional<z.ZodNumber>;
219
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
220
+ datasource: z.ZodLiteral<"basic">;
221
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
222
+ [x: string]: string;
223
+ }>>>>;
224
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
225
+ [x: string]: string;
226
+ }>>>>;
227
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
228
+ field: z.ZodEnum<{
229
+ api: "api";
230
+ api_product: "api_product";
231
+ api_product_version: "api_product_version";
232
+ control_plane: "control_plane";
233
+ control_plane_group: "control_plane_group";
234
+ data_plane_node: "data_plane_node";
235
+ gateway_service: "gateway_service";
236
+ portal: "portal";
237
+ route: "route";
238
+ status_code: "status_code";
239
+ status_code_grouped: "status_code_grouped";
240
+ }>;
241
+ operator: z.ZodEnum<{
242
+ in: "in";
243
+ not_in: "not_in";
244
+ selector: "selector";
245
+ }>;
246
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
247
+ }, z.core.$strict>, z.ZodObject<{
248
+ field: z.ZodEnum<{
249
+ api: "api";
250
+ api_product: "api_product";
251
+ api_product_version: "api_product_version";
252
+ control_plane: "control_plane";
253
+ control_plane_group: "control_plane_group";
254
+ data_plane_node: "data_plane_node";
255
+ gateway_service: "gateway_service";
256
+ portal: "portal";
257
+ route: "route";
258
+ status_code: "status_code";
259
+ status_code_grouped: "status_code_grouped";
260
+ }>;
261
+ operator: z.ZodEnum<{
262
+ empty: "empty";
263
+ not_empty: "not_empty";
264
+ }>;
265
+ }, z.core.$strict>]>>>>;
266
+ }, z.core.$strict>;
267
+ export declare const zLlmUsageQuery: z.ZodObject<{
268
+ granularity: z.ZodOptional<z.ZodEnum<{
269
+ secondly: "secondly";
270
+ tenSecondly: "tenSecondly";
271
+ thirtySecondly: "thirtySecondly";
272
+ minutely: "minutely";
273
+ fiveMinutely: "fiveMinutely";
274
+ tenMinutely: "tenMinutely";
275
+ thirtyMinutely: "thirtyMinutely";
276
+ hourly: "hourly";
277
+ twoHourly: "twoHourly";
278
+ twelveHourly: "twelveHourly";
279
+ daily: "daily";
280
+ weekly: "weekly";
281
+ trend: "trend";
282
+ }>>;
283
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
284
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
285
+ type: z.ZodLiteral<"relative">;
286
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
287
+ "15m": "15m";
288
+ "1h": "1h";
289
+ "6h": "6h";
290
+ "12h": "12h";
291
+ "24h": "24h";
292
+ "7d": "7d";
293
+ "30d": "30d";
294
+ current_week: "current_week";
295
+ current_month: "current_month";
296
+ previous_week: "previous_week";
297
+ previous_month: "previous_month";
298
+ }>>>;
299
+ }, z.core.$strict>, z.ZodObject<{
300
+ tz: z.ZodOptional<z.ZodString>;
301
+ type: z.ZodLiteral<"absolute">;
302
+ start: z.ZodString;
303
+ end: z.ZodString;
304
+ }, z.core.$strict>]>>>>;
305
+ limit: z.ZodOptional<z.ZodNumber>;
306
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
307
+ datasource: z.ZodLiteral<"llm_usage">;
308
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
309
+ [x: string]: string;
310
+ }>>>>;
311
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
312
+ [x: string]: string;
313
+ }>>>>;
314
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
315
+ field: z.ZodEnum<{
316
+ control_plane: "control_plane";
317
+ control_plane_group: "control_plane_group";
318
+ gateway_service: "gateway_service";
319
+ route: "route";
320
+ status_code: "status_code";
321
+ status_code_grouped: "status_code_grouped";
322
+ application: "application";
323
+ consumer: "consumer";
324
+ realm: "realm";
325
+ ai_provider: "ai_provider";
326
+ ai_response_model: "ai_response_model";
327
+ ai_request_model: "ai_request_model";
328
+ llm_cache_status: "llm_cache_status";
329
+ llm_embeddings_provider: "llm_embeddings_provider";
330
+ llm_embeddings_model: "llm_embeddings_model";
331
+ ai_plugin: "ai_plugin";
332
+ }>;
333
+ operator: z.ZodEnum<{
334
+ in: "in";
335
+ not_in: "not_in";
336
+ selector: "selector";
337
+ }>;
338
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
339
+ }, z.core.$strict>, z.ZodObject<{
340
+ field: z.ZodEnum<{
341
+ control_plane: "control_plane";
342
+ control_plane_group: "control_plane_group";
343
+ gateway_service: "gateway_service";
344
+ route: "route";
345
+ status_code: "status_code";
346
+ status_code_grouped: "status_code_grouped";
347
+ application: "application";
348
+ consumer: "consumer";
349
+ realm: "realm";
350
+ ai_provider: "ai_provider";
351
+ ai_response_model: "ai_response_model";
352
+ ai_request_model: "ai_request_model";
353
+ llm_cache_status: "llm_cache_status";
354
+ llm_embeddings_provider: "llm_embeddings_provider";
355
+ llm_embeddings_model: "llm_embeddings_model";
356
+ ai_plugin: "ai_plugin";
357
+ }>;
358
+ operator: z.ZodEnum<{
359
+ empty: "empty";
360
+ not_empty: "not_empty";
361
+ }>;
362
+ }, z.core.$strict>]>>>>;
363
+ }, z.core.$strict>;
364
+ export declare const zValidDashboardQuery: z.ZodUnion<readonly [z.ZodObject<{
365
+ granularity: z.ZodOptional<z.ZodEnum<{
366
+ secondly: "secondly";
367
+ tenSecondly: "tenSecondly";
368
+ thirtySecondly: "thirtySecondly";
369
+ minutely: "minutely";
370
+ fiveMinutely: "fiveMinutely";
371
+ tenMinutely: "tenMinutely";
372
+ thirtyMinutely: "thirtyMinutely";
373
+ hourly: "hourly";
374
+ twoHourly: "twoHourly";
375
+ twelveHourly: "twelveHourly";
376
+ daily: "daily";
377
+ weekly: "weekly";
378
+ trend: "trend";
379
+ }>>;
380
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
381
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
382
+ type: z.ZodLiteral<"relative">;
383
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
384
+ "15m": "15m";
385
+ "1h": "1h";
386
+ "6h": "6h";
387
+ "12h": "12h";
388
+ "24h": "24h";
389
+ "7d": "7d";
390
+ "30d": "30d";
391
+ current_week: "current_week";
392
+ current_month: "current_month";
393
+ previous_week: "previous_week";
394
+ previous_month: "previous_month";
395
+ }>>>;
396
+ }, z.core.$strict>, z.ZodObject<{
397
+ tz: z.ZodOptional<z.ZodString>;
398
+ type: z.ZodLiteral<"absolute">;
399
+ start: z.ZodString;
400
+ end: z.ZodString;
401
+ }, z.core.$strict>]>>>>;
402
+ limit: z.ZodOptional<z.ZodNumber>;
403
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
404
+ datasource: z.ZodLiteral<"api_usage">;
405
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
406
+ [x: string]: string;
407
+ }>>>>;
408
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
409
+ [x: string]: string;
410
+ }>>>>;
411
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
412
+ field: z.ZodEnum<{
413
+ api: "api";
414
+ api_product: "api_product";
415
+ api_product_version: "api_product_version";
416
+ control_plane: "control_plane";
417
+ control_plane_group: "control_plane_group";
418
+ data_plane_node: "data_plane_node";
419
+ gateway_service: "gateway_service";
420
+ portal: "portal";
421
+ route: "route";
422
+ status_code: "status_code";
423
+ status_code_grouped: "status_code_grouped";
424
+ application: "application";
425
+ consumer: "consumer";
426
+ country_code: "country_code";
427
+ iso_code: "iso_code";
428
+ upstream_status_code: "upstream_status_code";
429
+ upstream_status_code_grouped: "upstream_status_code_grouped";
430
+ response_source: "response_source";
431
+ data_plane_node_version: "data_plane_node_version";
432
+ realm: "realm";
433
+ }>;
434
+ operator: z.ZodEnum<{
435
+ in: "in";
436
+ not_in: "not_in";
437
+ selector: "selector";
438
+ }>;
439
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
440
+ }, z.core.$strict>, z.ZodObject<{
441
+ field: z.ZodEnum<{
442
+ api: "api";
443
+ api_product: "api_product";
444
+ api_product_version: "api_product_version";
445
+ control_plane: "control_plane";
446
+ control_plane_group: "control_plane_group";
447
+ data_plane_node: "data_plane_node";
448
+ gateway_service: "gateway_service";
449
+ portal: "portal";
450
+ route: "route";
451
+ status_code: "status_code";
452
+ status_code_grouped: "status_code_grouped";
453
+ application: "application";
454
+ consumer: "consumer";
455
+ country_code: "country_code";
456
+ iso_code: "iso_code";
457
+ upstream_status_code: "upstream_status_code";
458
+ upstream_status_code_grouped: "upstream_status_code_grouped";
459
+ response_source: "response_source";
460
+ data_plane_node_version: "data_plane_node_version";
461
+ realm: "realm";
462
+ }>;
463
+ operator: z.ZodEnum<{
464
+ empty: "empty";
465
+ not_empty: "not_empty";
466
+ }>;
467
+ }, z.core.$strict>]>>>>;
468
+ }, z.core.$strict>, z.ZodObject<{
469
+ granularity: z.ZodOptional<z.ZodEnum<{
470
+ secondly: "secondly";
471
+ tenSecondly: "tenSecondly";
472
+ thirtySecondly: "thirtySecondly";
473
+ minutely: "minutely";
474
+ fiveMinutely: "fiveMinutely";
475
+ tenMinutely: "tenMinutely";
476
+ thirtyMinutely: "thirtyMinutely";
477
+ hourly: "hourly";
478
+ twoHourly: "twoHourly";
479
+ twelveHourly: "twelveHourly";
480
+ daily: "daily";
481
+ weekly: "weekly";
482
+ trend: "trend";
483
+ }>>;
484
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
485
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
486
+ type: z.ZodLiteral<"relative">;
487
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
488
+ "15m": "15m";
489
+ "1h": "1h";
490
+ "6h": "6h";
491
+ "12h": "12h";
492
+ "24h": "24h";
493
+ "7d": "7d";
494
+ "30d": "30d";
495
+ current_week: "current_week";
496
+ current_month: "current_month";
497
+ previous_week: "previous_week";
498
+ previous_month: "previous_month";
499
+ }>>>;
500
+ }, z.core.$strict>, z.ZodObject<{
501
+ tz: z.ZodOptional<z.ZodString>;
502
+ type: z.ZodLiteral<"absolute">;
503
+ start: z.ZodString;
504
+ end: z.ZodString;
505
+ }, z.core.$strict>]>>>>;
506
+ limit: z.ZodOptional<z.ZodNumber>;
507
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
508
+ datasource: z.ZodLiteral<"basic">;
509
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
510
+ [x: string]: string;
511
+ }>>>>;
512
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
513
+ [x: string]: string;
514
+ }>>>>;
515
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
516
+ field: z.ZodEnum<{
517
+ api: "api";
518
+ api_product: "api_product";
519
+ api_product_version: "api_product_version";
520
+ control_plane: "control_plane";
521
+ control_plane_group: "control_plane_group";
522
+ data_plane_node: "data_plane_node";
523
+ gateway_service: "gateway_service";
524
+ portal: "portal";
525
+ route: "route";
526
+ status_code: "status_code";
527
+ status_code_grouped: "status_code_grouped";
528
+ }>;
529
+ operator: z.ZodEnum<{
530
+ in: "in";
531
+ not_in: "not_in";
532
+ selector: "selector";
533
+ }>;
534
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
535
+ }, z.core.$strict>, z.ZodObject<{
536
+ field: z.ZodEnum<{
537
+ api: "api";
538
+ api_product: "api_product";
539
+ api_product_version: "api_product_version";
540
+ control_plane: "control_plane";
541
+ control_plane_group: "control_plane_group";
542
+ data_plane_node: "data_plane_node";
543
+ gateway_service: "gateway_service";
544
+ portal: "portal";
545
+ route: "route";
546
+ status_code: "status_code";
547
+ status_code_grouped: "status_code_grouped";
548
+ }>;
549
+ operator: z.ZodEnum<{
550
+ empty: "empty";
551
+ not_empty: "not_empty";
552
+ }>;
553
+ }, z.core.$strict>]>>>>;
554
+ }, z.core.$strict>, z.ZodObject<{
555
+ granularity: z.ZodOptional<z.ZodEnum<{
556
+ secondly: "secondly";
557
+ tenSecondly: "tenSecondly";
558
+ thirtySecondly: "thirtySecondly";
559
+ minutely: "minutely";
560
+ fiveMinutely: "fiveMinutely";
561
+ tenMinutely: "tenMinutely";
562
+ thirtyMinutely: "thirtyMinutely";
563
+ hourly: "hourly";
564
+ twoHourly: "twoHourly";
565
+ twelveHourly: "twelveHourly";
566
+ daily: "daily";
567
+ weekly: "weekly";
568
+ trend: "trend";
569
+ }>>;
570
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
571
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
572
+ type: z.ZodLiteral<"relative">;
573
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
574
+ "15m": "15m";
575
+ "1h": "1h";
576
+ "6h": "6h";
577
+ "12h": "12h";
578
+ "24h": "24h";
579
+ "7d": "7d";
580
+ "30d": "30d";
581
+ current_week: "current_week";
582
+ current_month: "current_month";
583
+ previous_week: "previous_week";
584
+ previous_month: "previous_month";
585
+ }>>>;
586
+ }, z.core.$strict>, z.ZodObject<{
587
+ tz: z.ZodOptional<z.ZodString>;
588
+ type: z.ZodLiteral<"absolute">;
589
+ start: z.ZodString;
590
+ end: z.ZodString;
591
+ }, z.core.$strict>]>>>>;
592
+ limit: z.ZodOptional<z.ZodNumber>;
593
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
594
+ datasource: z.ZodLiteral<"llm_usage">;
595
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
596
+ [x: string]: string;
597
+ }>>>>;
598
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
599
+ [x: string]: string;
600
+ }>>>>;
601
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
602
+ field: z.ZodEnum<{
603
+ control_plane: "control_plane";
604
+ control_plane_group: "control_plane_group";
605
+ gateway_service: "gateway_service";
606
+ route: "route";
607
+ status_code: "status_code";
608
+ status_code_grouped: "status_code_grouped";
609
+ application: "application";
610
+ consumer: "consumer";
611
+ realm: "realm";
612
+ ai_provider: "ai_provider";
613
+ ai_response_model: "ai_response_model";
614
+ ai_request_model: "ai_request_model";
615
+ llm_cache_status: "llm_cache_status";
616
+ llm_embeddings_provider: "llm_embeddings_provider";
617
+ llm_embeddings_model: "llm_embeddings_model";
618
+ ai_plugin: "ai_plugin";
619
+ }>;
620
+ operator: z.ZodEnum<{
621
+ in: "in";
622
+ not_in: "not_in";
623
+ selector: "selector";
624
+ }>;
625
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
626
+ }, z.core.$strict>, z.ZodObject<{
627
+ field: z.ZodEnum<{
628
+ control_plane: "control_plane";
629
+ control_plane_group: "control_plane_group";
630
+ gateway_service: "gateway_service";
631
+ route: "route";
632
+ status_code: "status_code";
633
+ status_code_grouped: "status_code_grouped";
634
+ application: "application";
635
+ consumer: "consumer";
636
+ realm: "realm";
637
+ ai_provider: "ai_provider";
638
+ ai_response_model: "ai_response_model";
639
+ ai_request_model: "ai_request_model";
640
+ llm_cache_status: "llm_cache_status";
641
+ llm_embeddings_provider: "llm_embeddings_provider";
642
+ llm_embeddings_model: "llm_embeddings_model";
643
+ ai_plugin: "ai_plugin";
644
+ }>;
645
+ operator: z.ZodEnum<{
646
+ empty: "empty";
647
+ not_empty: "not_empty";
648
+ }>;
649
+ }, z.core.$strict>]>>>>;
650
+ }, z.core.$strict>]>;
651
+ export type ValidDashboardQuery = z.infer<typeof zValidDashboardQuery>;
652
+ export declare const zTileDefinition: z.ZodObject<{
653
+ query: z.ZodUnion<readonly [z.ZodObject<{
654
+ granularity: z.ZodOptional<z.ZodEnum<{
655
+ secondly: "secondly";
656
+ tenSecondly: "tenSecondly";
657
+ thirtySecondly: "thirtySecondly";
658
+ minutely: "minutely";
659
+ fiveMinutely: "fiveMinutely";
660
+ tenMinutely: "tenMinutely";
661
+ thirtyMinutely: "thirtyMinutely";
662
+ hourly: "hourly";
663
+ twoHourly: "twoHourly";
664
+ twelveHourly: "twelveHourly";
665
+ daily: "daily";
666
+ weekly: "weekly";
667
+ trend: "trend";
668
+ }>>;
669
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
670
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
671
+ type: z.ZodLiteral<"relative">;
672
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
673
+ "15m": "15m";
674
+ "1h": "1h";
675
+ "6h": "6h";
676
+ "12h": "12h";
677
+ "24h": "24h";
678
+ "7d": "7d";
679
+ "30d": "30d";
680
+ current_week: "current_week";
681
+ current_month: "current_month";
682
+ previous_week: "previous_week";
683
+ previous_month: "previous_month";
684
+ }>>>;
685
+ }, z.core.$strict>, z.ZodObject<{
686
+ tz: z.ZodOptional<z.ZodString>;
687
+ type: z.ZodLiteral<"absolute">;
688
+ start: z.ZodString;
689
+ end: z.ZodString;
690
+ }, z.core.$strict>]>>>>;
691
+ limit: z.ZodOptional<z.ZodNumber>;
692
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
693
+ datasource: z.ZodLiteral<"api_usage">;
694
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
695
+ [x: string]: string;
696
+ }>>>>;
697
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
698
+ [x: string]: string;
699
+ }>>>>;
700
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
701
+ field: z.ZodEnum<{
702
+ api: "api";
703
+ api_product: "api_product";
704
+ api_product_version: "api_product_version";
705
+ control_plane: "control_plane";
706
+ control_plane_group: "control_plane_group";
707
+ data_plane_node: "data_plane_node";
708
+ gateway_service: "gateway_service";
709
+ portal: "portal";
710
+ route: "route";
711
+ status_code: "status_code";
712
+ status_code_grouped: "status_code_grouped";
713
+ application: "application";
714
+ consumer: "consumer";
715
+ country_code: "country_code";
716
+ iso_code: "iso_code";
717
+ upstream_status_code: "upstream_status_code";
718
+ upstream_status_code_grouped: "upstream_status_code_grouped";
719
+ response_source: "response_source";
720
+ data_plane_node_version: "data_plane_node_version";
721
+ realm: "realm";
722
+ }>;
723
+ operator: z.ZodEnum<{
724
+ in: "in";
725
+ not_in: "not_in";
726
+ selector: "selector";
727
+ }>;
728
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
729
+ }, z.core.$strict>, z.ZodObject<{
730
+ field: z.ZodEnum<{
731
+ api: "api";
732
+ api_product: "api_product";
733
+ api_product_version: "api_product_version";
734
+ control_plane: "control_plane";
735
+ control_plane_group: "control_plane_group";
736
+ data_plane_node: "data_plane_node";
737
+ gateway_service: "gateway_service";
738
+ portal: "portal";
739
+ route: "route";
740
+ status_code: "status_code";
741
+ status_code_grouped: "status_code_grouped";
742
+ application: "application";
743
+ consumer: "consumer";
744
+ country_code: "country_code";
745
+ iso_code: "iso_code";
746
+ upstream_status_code: "upstream_status_code";
747
+ upstream_status_code_grouped: "upstream_status_code_grouped";
748
+ response_source: "response_source";
749
+ data_plane_node_version: "data_plane_node_version";
750
+ realm: "realm";
751
+ }>;
752
+ operator: z.ZodEnum<{
753
+ empty: "empty";
754
+ not_empty: "not_empty";
755
+ }>;
756
+ }, z.core.$strict>]>>>>;
757
+ }, z.core.$strict>, z.ZodObject<{
758
+ granularity: z.ZodOptional<z.ZodEnum<{
759
+ secondly: "secondly";
760
+ tenSecondly: "tenSecondly";
761
+ thirtySecondly: "thirtySecondly";
762
+ minutely: "minutely";
763
+ fiveMinutely: "fiveMinutely";
764
+ tenMinutely: "tenMinutely";
765
+ thirtyMinutely: "thirtyMinutely";
766
+ hourly: "hourly";
767
+ twoHourly: "twoHourly";
768
+ twelveHourly: "twelveHourly";
769
+ daily: "daily";
770
+ weekly: "weekly";
771
+ trend: "trend";
772
+ }>>;
773
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
774
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
775
+ type: z.ZodLiteral<"relative">;
776
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
777
+ "15m": "15m";
778
+ "1h": "1h";
779
+ "6h": "6h";
780
+ "12h": "12h";
781
+ "24h": "24h";
782
+ "7d": "7d";
783
+ "30d": "30d";
784
+ current_week: "current_week";
785
+ current_month: "current_month";
786
+ previous_week: "previous_week";
787
+ previous_month: "previous_month";
788
+ }>>>;
789
+ }, z.core.$strict>, z.ZodObject<{
790
+ tz: z.ZodOptional<z.ZodString>;
791
+ type: z.ZodLiteral<"absolute">;
792
+ start: z.ZodString;
793
+ end: z.ZodString;
794
+ }, z.core.$strict>]>>>>;
795
+ limit: z.ZodOptional<z.ZodNumber>;
796
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
797
+ datasource: z.ZodLiteral<"basic">;
798
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
799
+ [x: string]: string;
800
+ }>>>>;
801
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
802
+ [x: string]: string;
803
+ }>>>>;
804
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
805
+ field: z.ZodEnum<{
806
+ api: "api";
807
+ api_product: "api_product";
808
+ api_product_version: "api_product_version";
809
+ control_plane: "control_plane";
810
+ control_plane_group: "control_plane_group";
811
+ data_plane_node: "data_plane_node";
812
+ gateway_service: "gateway_service";
813
+ portal: "portal";
814
+ route: "route";
815
+ status_code: "status_code";
816
+ status_code_grouped: "status_code_grouped";
817
+ }>;
818
+ operator: z.ZodEnum<{
819
+ in: "in";
820
+ not_in: "not_in";
821
+ selector: "selector";
822
+ }>;
823
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
824
+ }, z.core.$strict>, z.ZodObject<{
825
+ field: z.ZodEnum<{
826
+ api: "api";
827
+ api_product: "api_product";
828
+ api_product_version: "api_product_version";
829
+ control_plane: "control_plane";
830
+ control_plane_group: "control_plane_group";
831
+ data_plane_node: "data_plane_node";
832
+ gateway_service: "gateway_service";
833
+ portal: "portal";
834
+ route: "route";
835
+ status_code: "status_code";
836
+ status_code_grouped: "status_code_grouped";
837
+ }>;
838
+ operator: z.ZodEnum<{
839
+ empty: "empty";
840
+ not_empty: "not_empty";
841
+ }>;
842
+ }, z.core.$strict>]>>>>;
843
+ }, z.core.$strict>, z.ZodObject<{
844
+ granularity: z.ZodOptional<z.ZodEnum<{
845
+ secondly: "secondly";
846
+ tenSecondly: "tenSecondly";
847
+ thirtySecondly: "thirtySecondly";
848
+ minutely: "minutely";
849
+ fiveMinutely: "fiveMinutely";
850
+ tenMinutely: "tenMinutely";
851
+ thirtyMinutely: "thirtyMinutely";
852
+ hourly: "hourly";
853
+ twoHourly: "twoHourly";
854
+ twelveHourly: "twelveHourly";
855
+ daily: "daily";
856
+ weekly: "weekly";
857
+ trend: "trend";
858
+ }>>;
859
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
860
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
861
+ type: z.ZodLiteral<"relative">;
862
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
863
+ "15m": "15m";
864
+ "1h": "1h";
865
+ "6h": "6h";
866
+ "12h": "12h";
867
+ "24h": "24h";
868
+ "7d": "7d";
869
+ "30d": "30d";
870
+ current_week: "current_week";
871
+ current_month: "current_month";
872
+ previous_week: "previous_week";
873
+ previous_month: "previous_month";
874
+ }>>>;
875
+ }, z.core.$strict>, z.ZodObject<{
876
+ tz: z.ZodOptional<z.ZodString>;
877
+ type: z.ZodLiteral<"absolute">;
878
+ start: z.ZodString;
879
+ end: z.ZodString;
880
+ }, z.core.$strict>]>>>>;
881
+ limit: z.ZodOptional<z.ZodNumber>;
882
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
883
+ datasource: z.ZodLiteral<"llm_usage">;
884
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
885
+ [x: string]: string;
886
+ }>>>>;
887
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
888
+ [x: string]: string;
889
+ }>>>>;
890
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
891
+ field: z.ZodEnum<{
892
+ control_plane: "control_plane";
893
+ control_plane_group: "control_plane_group";
894
+ gateway_service: "gateway_service";
895
+ route: "route";
896
+ status_code: "status_code";
897
+ status_code_grouped: "status_code_grouped";
898
+ application: "application";
899
+ consumer: "consumer";
900
+ realm: "realm";
901
+ ai_provider: "ai_provider";
902
+ ai_response_model: "ai_response_model";
903
+ ai_request_model: "ai_request_model";
904
+ llm_cache_status: "llm_cache_status";
905
+ llm_embeddings_provider: "llm_embeddings_provider";
906
+ llm_embeddings_model: "llm_embeddings_model";
907
+ ai_plugin: "ai_plugin";
908
+ }>;
909
+ operator: z.ZodEnum<{
910
+ in: "in";
911
+ not_in: "not_in";
912
+ selector: "selector";
913
+ }>;
914
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
915
+ }, z.core.$strict>, z.ZodObject<{
916
+ field: z.ZodEnum<{
917
+ control_plane: "control_plane";
918
+ control_plane_group: "control_plane_group";
919
+ gateway_service: "gateway_service";
920
+ route: "route";
921
+ status_code: "status_code";
922
+ status_code_grouped: "status_code_grouped";
923
+ application: "application";
924
+ consumer: "consumer";
925
+ realm: "realm";
926
+ ai_provider: "ai_provider";
927
+ ai_response_model: "ai_response_model";
928
+ ai_request_model: "ai_request_model";
929
+ llm_cache_status: "llm_cache_status";
930
+ llm_embeddings_provider: "llm_embeddings_provider";
931
+ llm_embeddings_model: "llm_embeddings_model";
932
+ ai_plugin: "ai_plugin";
933
+ }>;
934
+ operator: z.ZodEnum<{
935
+ empty: "empty";
936
+ not_empty: "not_empty";
937
+ }>;
938
+ }, z.core.$strict>]>>>>;
939
+ }, z.core.$strict>]>;
940
+ chart: z.ZodUnion<readonly [z.ZodObject<{
941
+ type: z.ZodEnum<{
942
+ horizontal_bar: "horizontal_bar";
943
+ vertical_bar: "vertical_bar";
944
+ }>;
945
+ stacked: z.ZodOptional<z.ZodBoolean>;
946
+ chart_dataset_colors: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
947
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
948
+ chart_title: z.ZodOptional<z.ZodString>;
949
+ allow_csv_export: z.ZodOptional<z.ZodBoolean>;
950
+ }, z.core.$strict>, z.ZodObject<{
951
+ type: z.ZodLiteral<"gauge">;
952
+ metric_display: z.ZodOptional<z.ZodEnum<{
953
+ hidden: "hidden";
954
+ single: "single";
955
+ full: "full";
956
+ }>>;
957
+ reverse_dataset: z.ZodOptional<z.ZodBoolean>;
958
+ numerator: z.ZodOptional<z.ZodNumber>;
959
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
960
+ chart_title: z.ZodOptional<z.ZodString>;
961
+ }, z.core.$strict>, z.ZodObject<{
962
+ type: z.ZodLiteral<"donut">;
963
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
964
+ chart_title: z.ZodOptional<z.ZodString>;
965
+ }, z.core.$strict>, z.ZodObject<{
966
+ type: z.ZodEnum<{
967
+ timeseries_line: "timeseries_line";
968
+ timeseries_bar: "timeseries_bar";
969
+ }>;
970
+ stacked: z.ZodOptional<z.ZodBoolean>;
971
+ threshold: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
972
+ chart_dataset_colors: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
973
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
974
+ chart_title: z.ZodOptional<z.ZodString>;
975
+ allow_csv_export: z.ZodOptional<z.ZodBoolean>;
976
+ }, z.core.$strict>, z.ZodObject<{
977
+ type: z.ZodLiteral<"golden_signals">;
978
+ chart_title: z.ZodOptional<z.ZodString>;
979
+ long_card_titles: z.ZodOptional<z.ZodBoolean>;
980
+ description: z.ZodOptional<z.ZodString>;
981
+ percentile_latency: z.ZodOptional<z.ZodBoolean>;
982
+ }, z.core.$strict>, z.ZodObject<{
983
+ type: z.ZodLiteral<"top_n">;
984
+ chart_title: z.ZodOptional<z.ZodString>;
985
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
986
+ description: z.ZodOptional<z.ZodString>;
987
+ entity_link: z.ZodOptional<z.ZodString>;
988
+ }, z.core.$strict>, z.ZodObject<{
989
+ type: z.ZodLiteral<"slottable">;
990
+ id: z.ZodString;
991
+ }, z.core.$strict>, z.ZodObject<{
992
+ type: z.ZodLiteral<"single_value">;
993
+ decimal_points: z.ZodOptional<z.ZodNumber>;
994
+ chart_title: z.ZodOptional<z.ZodString>;
995
+ }, z.core.$strict>]>;
996
+ }, z.core.$strict>;
997
+ export type TileDefinition = z.infer<typeof zTileDefinition>;
998
+ export declare const zTileLayout: z.ZodObject<{
999
+ position: z.ZodObject<{
1000
+ col: z.ZodNumber;
1001
+ row: z.ZodNumber;
1002
+ }, z.core.$strict>;
1003
+ size: z.ZodObject<{
1004
+ cols: z.ZodNumber;
1005
+ rows: z.ZodNumber;
1006
+ fit_to_content: z.ZodOptional<z.ZodBoolean>;
1007
+ }, z.core.$strict>;
1008
+ }, z.core.$strict>;
1009
+ export type TileLayout = z.infer<typeof zTileLayout>;
1010
+ export declare const zTileConfig: z.ZodObject<{
1011
+ type: z.ZodEnum<{
1012
+ chart: "chart";
1013
+ }>;
1014
+ definition: z.ZodObject<{
1015
+ query: z.ZodUnion<readonly [z.ZodObject<{
1016
+ granularity: z.ZodOptional<z.ZodEnum<{
1017
+ secondly: "secondly";
1018
+ tenSecondly: "tenSecondly";
1019
+ thirtySecondly: "thirtySecondly";
1020
+ minutely: "minutely";
1021
+ fiveMinutely: "fiveMinutely";
1022
+ tenMinutely: "tenMinutely";
1023
+ thirtyMinutely: "thirtyMinutely";
1024
+ hourly: "hourly";
1025
+ twoHourly: "twoHourly";
1026
+ twelveHourly: "twelveHourly";
1027
+ daily: "daily";
1028
+ weekly: "weekly";
1029
+ trend: "trend";
1030
+ }>>;
1031
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1032
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1033
+ type: z.ZodLiteral<"relative">;
1034
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1035
+ "15m": "15m";
1036
+ "1h": "1h";
1037
+ "6h": "6h";
1038
+ "12h": "12h";
1039
+ "24h": "24h";
1040
+ "7d": "7d";
1041
+ "30d": "30d";
1042
+ current_week: "current_week";
1043
+ current_month: "current_month";
1044
+ previous_week: "previous_week";
1045
+ previous_month: "previous_month";
1046
+ }>>>;
1047
+ }, z.core.$strict>, z.ZodObject<{
1048
+ tz: z.ZodOptional<z.ZodString>;
1049
+ type: z.ZodLiteral<"absolute">;
1050
+ start: z.ZodString;
1051
+ end: z.ZodString;
1052
+ }, z.core.$strict>]>>>>;
1053
+ limit: z.ZodOptional<z.ZodNumber>;
1054
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
1055
+ datasource: z.ZodLiteral<"api_usage">;
1056
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1057
+ [x: string]: string;
1058
+ }>>>>;
1059
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1060
+ [x: string]: string;
1061
+ }>>>>;
1062
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1063
+ field: z.ZodEnum<{
1064
+ api: "api";
1065
+ api_product: "api_product";
1066
+ api_product_version: "api_product_version";
1067
+ control_plane: "control_plane";
1068
+ control_plane_group: "control_plane_group";
1069
+ data_plane_node: "data_plane_node";
1070
+ gateway_service: "gateway_service";
1071
+ portal: "portal";
1072
+ route: "route";
1073
+ status_code: "status_code";
1074
+ status_code_grouped: "status_code_grouped";
1075
+ application: "application";
1076
+ consumer: "consumer";
1077
+ country_code: "country_code";
1078
+ iso_code: "iso_code";
1079
+ upstream_status_code: "upstream_status_code";
1080
+ upstream_status_code_grouped: "upstream_status_code_grouped";
1081
+ response_source: "response_source";
1082
+ data_plane_node_version: "data_plane_node_version";
1083
+ realm: "realm";
1084
+ }>;
1085
+ operator: z.ZodEnum<{
1086
+ in: "in";
1087
+ not_in: "not_in";
1088
+ selector: "selector";
1089
+ }>;
1090
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
1091
+ }, z.core.$strict>, z.ZodObject<{
1092
+ field: z.ZodEnum<{
1093
+ api: "api";
1094
+ api_product: "api_product";
1095
+ api_product_version: "api_product_version";
1096
+ control_plane: "control_plane";
1097
+ control_plane_group: "control_plane_group";
1098
+ data_plane_node: "data_plane_node";
1099
+ gateway_service: "gateway_service";
1100
+ portal: "portal";
1101
+ route: "route";
1102
+ status_code: "status_code";
1103
+ status_code_grouped: "status_code_grouped";
1104
+ application: "application";
1105
+ consumer: "consumer";
1106
+ country_code: "country_code";
1107
+ iso_code: "iso_code";
1108
+ upstream_status_code: "upstream_status_code";
1109
+ upstream_status_code_grouped: "upstream_status_code_grouped";
1110
+ response_source: "response_source";
1111
+ data_plane_node_version: "data_plane_node_version";
1112
+ realm: "realm";
1113
+ }>;
1114
+ operator: z.ZodEnum<{
1115
+ empty: "empty";
1116
+ not_empty: "not_empty";
1117
+ }>;
1118
+ }, z.core.$strict>]>>>>;
1119
+ }, z.core.$strict>, z.ZodObject<{
1120
+ granularity: z.ZodOptional<z.ZodEnum<{
1121
+ secondly: "secondly";
1122
+ tenSecondly: "tenSecondly";
1123
+ thirtySecondly: "thirtySecondly";
1124
+ minutely: "minutely";
1125
+ fiveMinutely: "fiveMinutely";
1126
+ tenMinutely: "tenMinutely";
1127
+ thirtyMinutely: "thirtyMinutely";
1128
+ hourly: "hourly";
1129
+ twoHourly: "twoHourly";
1130
+ twelveHourly: "twelveHourly";
1131
+ daily: "daily";
1132
+ weekly: "weekly";
1133
+ trend: "trend";
1134
+ }>>;
1135
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1136
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1137
+ type: z.ZodLiteral<"relative">;
1138
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1139
+ "15m": "15m";
1140
+ "1h": "1h";
1141
+ "6h": "6h";
1142
+ "12h": "12h";
1143
+ "24h": "24h";
1144
+ "7d": "7d";
1145
+ "30d": "30d";
1146
+ current_week: "current_week";
1147
+ current_month: "current_month";
1148
+ previous_week: "previous_week";
1149
+ previous_month: "previous_month";
1150
+ }>>>;
1151
+ }, z.core.$strict>, z.ZodObject<{
1152
+ tz: z.ZodOptional<z.ZodString>;
1153
+ type: z.ZodLiteral<"absolute">;
1154
+ start: z.ZodString;
1155
+ end: z.ZodString;
1156
+ }, z.core.$strict>]>>>>;
1157
+ limit: z.ZodOptional<z.ZodNumber>;
1158
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
1159
+ datasource: z.ZodLiteral<"basic">;
1160
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1161
+ [x: string]: string;
1162
+ }>>>>;
1163
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1164
+ [x: string]: string;
1165
+ }>>>>;
1166
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1167
+ field: z.ZodEnum<{
1168
+ api: "api";
1169
+ api_product: "api_product";
1170
+ api_product_version: "api_product_version";
1171
+ control_plane: "control_plane";
1172
+ control_plane_group: "control_plane_group";
1173
+ data_plane_node: "data_plane_node";
1174
+ gateway_service: "gateway_service";
1175
+ portal: "portal";
1176
+ route: "route";
1177
+ status_code: "status_code";
1178
+ status_code_grouped: "status_code_grouped";
1179
+ }>;
1180
+ operator: z.ZodEnum<{
1181
+ in: "in";
1182
+ not_in: "not_in";
1183
+ selector: "selector";
1184
+ }>;
1185
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
1186
+ }, z.core.$strict>, z.ZodObject<{
1187
+ field: z.ZodEnum<{
1188
+ api: "api";
1189
+ api_product: "api_product";
1190
+ api_product_version: "api_product_version";
1191
+ control_plane: "control_plane";
1192
+ control_plane_group: "control_plane_group";
1193
+ data_plane_node: "data_plane_node";
1194
+ gateway_service: "gateway_service";
1195
+ portal: "portal";
1196
+ route: "route";
1197
+ status_code: "status_code";
1198
+ status_code_grouped: "status_code_grouped";
1199
+ }>;
1200
+ operator: z.ZodEnum<{
1201
+ empty: "empty";
1202
+ not_empty: "not_empty";
1203
+ }>;
1204
+ }, z.core.$strict>]>>>>;
1205
+ }, z.core.$strict>, z.ZodObject<{
1206
+ granularity: z.ZodOptional<z.ZodEnum<{
1207
+ secondly: "secondly";
1208
+ tenSecondly: "tenSecondly";
1209
+ thirtySecondly: "thirtySecondly";
1210
+ minutely: "minutely";
1211
+ fiveMinutely: "fiveMinutely";
1212
+ tenMinutely: "tenMinutely";
1213
+ thirtyMinutely: "thirtyMinutely";
1214
+ hourly: "hourly";
1215
+ twoHourly: "twoHourly";
1216
+ twelveHourly: "twelveHourly";
1217
+ daily: "daily";
1218
+ weekly: "weekly";
1219
+ trend: "trend";
1220
+ }>>;
1221
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1222
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1223
+ type: z.ZodLiteral<"relative">;
1224
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1225
+ "15m": "15m";
1226
+ "1h": "1h";
1227
+ "6h": "6h";
1228
+ "12h": "12h";
1229
+ "24h": "24h";
1230
+ "7d": "7d";
1231
+ "30d": "30d";
1232
+ current_week: "current_week";
1233
+ current_month: "current_month";
1234
+ previous_week: "previous_week";
1235
+ previous_month: "previous_month";
1236
+ }>>>;
1237
+ }, z.core.$strict>, z.ZodObject<{
1238
+ tz: z.ZodOptional<z.ZodString>;
1239
+ type: z.ZodLiteral<"absolute">;
1240
+ start: z.ZodString;
1241
+ end: z.ZodString;
1242
+ }, z.core.$strict>]>>>>;
1243
+ limit: z.ZodOptional<z.ZodNumber>;
1244
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
1245
+ datasource: z.ZodLiteral<"llm_usage">;
1246
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1247
+ [x: string]: string;
1248
+ }>>>>;
1249
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1250
+ [x: string]: string;
1251
+ }>>>>;
1252
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1253
+ field: z.ZodEnum<{
1254
+ control_plane: "control_plane";
1255
+ control_plane_group: "control_plane_group";
1256
+ gateway_service: "gateway_service";
1257
+ route: "route";
1258
+ status_code: "status_code";
1259
+ status_code_grouped: "status_code_grouped";
1260
+ application: "application";
1261
+ consumer: "consumer";
1262
+ realm: "realm";
1263
+ ai_provider: "ai_provider";
1264
+ ai_response_model: "ai_response_model";
1265
+ ai_request_model: "ai_request_model";
1266
+ llm_cache_status: "llm_cache_status";
1267
+ llm_embeddings_provider: "llm_embeddings_provider";
1268
+ llm_embeddings_model: "llm_embeddings_model";
1269
+ ai_plugin: "ai_plugin";
1270
+ }>;
1271
+ operator: z.ZodEnum<{
1272
+ in: "in";
1273
+ not_in: "not_in";
1274
+ selector: "selector";
1275
+ }>;
1276
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
1277
+ }, z.core.$strict>, z.ZodObject<{
1278
+ field: z.ZodEnum<{
1279
+ control_plane: "control_plane";
1280
+ control_plane_group: "control_plane_group";
1281
+ gateway_service: "gateway_service";
1282
+ route: "route";
1283
+ status_code: "status_code";
1284
+ status_code_grouped: "status_code_grouped";
1285
+ application: "application";
1286
+ consumer: "consumer";
1287
+ realm: "realm";
1288
+ ai_provider: "ai_provider";
1289
+ ai_response_model: "ai_response_model";
1290
+ ai_request_model: "ai_request_model";
1291
+ llm_cache_status: "llm_cache_status";
1292
+ llm_embeddings_provider: "llm_embeddings_provider";
1293
+ llm_embeddings_model: "llm_embeddings_model";
1294
+ ai_plugin: "ai_plugin";
1295
+ }>;
1296
+ operator: z.ZodEnum<{
1297
+ empty: "empty";
1298
+ not_empty: "not_empty";
1299
+ }>;
1300
+ }, z.core.$strict>]>>>>;
1301
+ }, z.core.$strict>]>;
1302
+ chart: z.ZodUnion<readonly [z.ZodObject<{
1303
+ type: z.ZodEnum<{
1304
+ horizontal_bar: "horizontal_bar";
1305
+ vertical_bar: "vertical_bar";
1306
+ }>;
1307
+ stacked: z.ZodOptional<z.ZodBoolean>;
1308
+ chart_dataset_colors: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1309
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1310
+ chart_title: z.ZodOptional<z.ZodString>;
1311
+ allow_csv_export: z.ZodOptional<z.ZodBoolean>;
1312
+ }, z.core.$strict>, z.ZodObject<{
1313
+ type: z.ZodLiteral<"gauge">;
1314
+ metric_display: z.ZodOptional<z.ZodEnum<{
1315
+ hidden: "hidden";
1316
+ single: "single";
1317
+ full: "full";
1318
+ }>>;
1319
+ reverse_dataset: z.ZodOptional<z.ZodBoolean>;
1320
+ numerator: z.ZodOptional<z.ZodNumber>;
1321
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1322
+ chart_title: z.ZodOptional<z.ZodString>;
1323
+ }, z.core.$strict>, z.ZodObject<{
1324
+ type: z.ZodLiteral<"donut">;
1325
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1326
+ chart_title: z.ZodOptional<z.ZodString>;
1327
+ }, z.core.$strict>, z.ZodObject<{
1328
+ type: z.ZodEnum<{
1329
+ timeseries_line: "timeseries_line";
1330
+ timeseries_bar: "timeseries_bar";
1331
+ }>;
1332
+ stacked: z.ZodOptional<z.ZodBoolean>;
1333
+ threshold: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1334
+ chart_dataset_colors: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1335
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1336
+ chart_title: z.ZodOptional<z.ZodString>;
1337
+ allow_csv_export: z.ZodOptional<z.ZodBoolean>;
1338
+ }, z.core.$strict>, z.ZodObject<{
1339
+ type: z.ZodLiteral<"golden_signals">;
1340
+ chart_title: z.ZodOptional<z.ZodString>;
1341
+ long_card_titles: z.ZodOptional<z.ZodBoolean>;
1342
+ description: z.ZodOptional<z.ZodString>;
1343
+ percentile_latency: z.ZodOptional<z.ZodBoolean>;
1344
+ }, z.core.$strict>, z.ZodObject<{
1345
+ type: z.ZodLiteral<"top_n">;
1346
+ chart_title: z.ZodOptional<z.ZodString>;
1347
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1348
+ description: z.ZodOptional<z.ZodString>;
1349
+ entity_link: z.ZodOptional<z.ZodString>;
1350
+ }, z.core.$strict>, z.ZodObject<{
1351
+ type: z.ZodLiteral<"slottable">;
1352
+ id: z.ZodString;
1353
+ }, z.core.$strict>, z.ZodObject<{
1354
+ type: z.ZodLiteral<"single_value">;
1355
+ decimal_points: z.ZodOptional<z.ZodNumber>;
1356
+ chart_title: z.ZodOptional<z.ZodString>;
1357
+ }, z.core.$strict>]>;
1358
+ }, z.core.$strict>;
1359
+ layout: z.ZodObject<{
1360
+ position: z.ZodObject<{
1361
+ col: z.ZodNumber;
1362
+ row: z.ZodNumber;
1363
+ }, z.core.$strict>;
1364
+ size: z.ZodObject<{
1365
+ cols: z.ZodNumber;
1366
+ rows: z.ZodNumber;
1367
+ fit_to_content: z.ZodOptional<z.ZodBoolean>;
1368
+ }, z.core.$strict>;
1369
+ }, z.core.$strict>;
1370
+ id: z.ZodOptional<z.ZodString>;
1371
+ }, z.core.$strict>;
1372
+ export type TileConfig = z.infer<typeof zTileConfig>;
1373
+ export declare const zDashboardConfig: z.ZodObject<{
1374
+ tiles: z.ZodArray<z.ZodObject<{
1375
+ type: z.ZodEnum<{
1376
+ chart: "chart";
1377
+ }>;
1378
+ definition: z.ZodObject<{
1379
+ query: z.ZodUnion<readonly [z.ZodObject<{
1380
+ granularity: z.ZodOptional<z.ZodEnum<{
1381
+ secondly: "secondly";
1382
+ tenSecondly: "tenSecondly";
1383
+ thirtySecondly: "thirtySecondly";
1384
+ minutely: "minutely";
1385
+ fiveMinutely: "fiveMinutely";
1386
+ tenMinutely: "tenMinutely";
1387
+ thirtyMinutely: "thirtyMinutely";
1388
+ hourly: "hourly";
1389
+ twoHourly: "twoHourly";
1390
+ twelveHourly: "twelveHourly";
1391
+ daily: "daily";
1392
+ weekly: "weekly";
1393
+ trend: "trend";
1394
+ }>>;
1395
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1396
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1397
+ type: z.ZodLiteral<"relative">;
1398
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1399
+ "15m": "15m";
1400
+ "1h": "1h";
1401
+ "6h": "6h";
1402
+ "12h": "12h";
1403
+ "24h": "24h";
1404
+ "7d": "7d";
1405
+ "30d": "30d";
1406
+ current_week: "current_week";
1407
+ current_month: "current_month";
1408
+ previous_week: "previous_week";
1409
+ previous_month: "previous_month";
1410
+ }>>>;
1411
+ }, z.core.$strict>, z.ZodObject<{
1412
+ tz: z.ZodOptional<z.ZodString>;
1413
+ type: z.ZodLiteral<"absolute">;
1414
+ start: z.ZodString;
1415
+ end: z.ZodString;
1416
+ }, z.core.$strict>]>>>>;
1417
+ limit: z.ZodOptional<z.ZodNumber>;
1418
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
1419
+ datasource: z.ZodLiteral<"api_usage">;
1420
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1421
+ [x: string]: string;
1422
+ }>>>>;
1423
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1424
+ [x: string]: string;
1425
+ }>>>>;
1426
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1427
+ field: z.ZodEnum<{
1428
+ api: "api";
1429
+ api_product: "api_product";
1430
+ api_product_version: "api_product_version";
1431
+ control_plane: "control_plane";
1432
+ control_plane_group: "control_plane_group";
1433
+ data_plane_node: "data_plane_node";
1434
+ gateway_service: "gateway_service";
1435
+ portal: "portal";
1436
+ route: "route";
1437
+ status_code: "status_code";
1438
+ status_code_grouped: "status_code_grouped";
1439
+ application: "application";
1440
+ consumer: "consumer";
1441
+ country_code: "country_code";
1442
+ iso_code: "iso_code";
1443
+ upstream_status_code: "upstream_status_code";
1444
+ upstream_status_code_grouped: "upstream_status_code_grouped";
1445
+ response_source: "response_source";
1446
+ data_plane_node_version: "data_plane_node_version";
1447
+ realm: "realm";
1448
+ }>;
1449
+ operator: z.ZodEnum<{
1450
+ in: "in";
1451
+ not_in: "not_in";
1452
+ selector: "selector";
1453
+ }>;
1454
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
1455
+ }, z.core.$strict>, z.ZodObject<{
1456
+ field: z.ZodEnum<{
1457
+ api: "api";
1458
+ api_product: "api_product";
1459
+ api_product_version: "api_product_version";
1460
+ control_plane: "control_plane";
1461
+ control_plane_group: "control_plane_group";
1462
+ data_plane_node: "data_plane_node";
1463
+ gateway_service: "gateway_service";
1464
+ portal: "portal";
1465
+ route: "route";
1466
+ status_code: "status_code";
1467
+ status_code_grouped: "status_code_grouped";
1468
+ application: "application";
1469
+ consumer: "consumer";
1470
+ country_code: "country_code";
1471
+ iso_code: "iso_code";
1472
+ upstream_status_code: "upstream_status_code";
1473
+ upstream_status_code_grouped: "upstream_status_code_grouped";
1474
+ response_source: "response_source";
1475
+ data_plane_node_version: "data_plane_node_version";
1476
+ realm: "realm";
1477
+ }>;
1478
+ operator: z.ZodEnum<{
1479
+ empty: "empty";
1480
+ not_empty: "not_empty";
1481
+ }>;
1482
+ }, z.core.$strict>]>>>>;
1483
+ }, z.core.$strict>, z.ZodObject<{
1484
+ granularity: z.ZodOptional<z.ZodEnum<{
1485
+ secondly: "secondly";
1486
+ tenSecondly: "tenSecondly";
1487
+ thirtySecondly: "thirtySecondly";
1488
+ minutely: "minutely";
1489
+ fiveMinutely: "fiveMinutely";
1490
+ tenMinutely: "tenMinutely";
1491
+ thirtyMinutely: "thirtyMinutely";
1492
+ hourly: "hourly";
1493
+ twoHourly: "twoHourly";
1494
+ twelveHourly: "twelveHourly";
1495
+ daily: "daily";
1496
+ weekly: "weekly";
1497
+ trend: "trend";
1498
+ }>>;
1499
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1500
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1501
+ type: z.ZodLiteral<"relative">;
1502
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1503
+ "15m": "15m";
1504
+ "1h": "1h";
1505
+ "6h": "6h";
1506
+ "12h": "12h";
1507
+ "24h": "24h";
1508
+ "7d": "7d";
1509
+ "30d": "30d";
1510
+ current_week: "current_week";
1511
+ current_month: "current_month";
1512
+ previous_week: "previous_week";
1513
+ previous_month: "previous_month";
1514
+ }>>>;
1515
+ }, z.core.$strict>, z.ZodObject<{
1516
+ tz: z.ZodOptional<z.ZodString>;
1517
+ type: z.ZodLiteral<"absolute">;
1518
+ start: z.ZodString;
1519
+ end: z.ZodString;
1520
+ }, z.core.$strict>]>>>>;
1521
+ limit: z.ZodOptional<z.ZodNumber>;
1522
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
1523
+ datasource: z.ZodLiteral<"basic">;
1524
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1525
+ [x: string]: string;
1526
+ }>>>>;
1527
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1528
+ [x: string]: string;
1529
+ }>>>>;
1530
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1531
+ field: z.ZodEnum<{
1532
+ api: "api";
1533
+ api_product: "api_product";
1534
+ api_product_version: "api_product_version";
1535
+ control_plane: "control_plane";
1536
+ control_plane_group: "control_plane_group";
1537
+ data_plane_node: "data_plane_node";
1538
+ gateway_service: "gateway_service";
1539
+ portal: "portal";
1540
+ route: "route";
1541
+ status_code: "status_code";
1542
+ status_code_grouped: "status_code_grouped";
1543
+ }>;
1544
+ operator: z.ZodEnum<{
1545
+ in: "in";
1546
+ not_in: "not_in";
1547
+ selector: "selector";
1548
+ }>;
1549
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
1550
+ }, z.core.$strict>, z.ZodObject<{
1551
+ field: z.ZodEnum<{
1552
+ api: "api";
1553
+ api_product: "api_product";
1554
+ api_product_version: "api_product_version";
1555
+ control_plane: "control_plane";
1556
+ control_plane_group: "control_plane_group";
1557
+ data_plane_node: "data_plane_node";
1558
+ gateway_service: "gateway_service";
1559
+ portal: "portal";
1560
+ route: "route";
1561
+ status_code: "status_code";
1562
+ status_code_grouped: "status_code_grouped";
1563
+ }>;
1564
+ operator: z.ZodEnum<{
1565
+ empty: "empty";
1566
+ not_empty: "not_empty";
1567
+ }>;
1568
+ }, z.core.$strict>]>>>>;
1569
+ }, z.core.$strict>, z.ZodObject<{
1570
+ granularity: z.ZodOptional<z.ZodEnum<{
1571
+ secondly: "secondly";
1572
+ tenSecondly: "tenSecondly";
1573
+ thirtySecondly: "thirtySecondly";
1574
+ minutely: "minutely";
1575
+ fiveMinutely: "fiveMinutely";
1576
+ tenMinutely: "tenMinutely";
1577
+ thirtyMinutely: "thirtyMinutely";
1578
+ hourly: "hourly";
1579
+ twoHourly: "twoHourly";
1580
+ twelveHourly: "twelveHourly";
1581
+ daily: "daily";
1582
+ weekly: "weekly";
1583
+ trend: "trend";
1584
+ }>>;
1585
+ time_range: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1586
+ tz: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1587
+ type: z.ZodLiteral<"relative">;
1588
+ time_range: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1589
+ "15m": "15m";
1590
+ "1h": "1h";
1591
+ "6h": "6h";
1592
+ "12h": "12h";
1593
+ "24h": "24h";
1594
+ "7d": "7d";
1595
+ "30d": "30d";
1596
+ current_week: "current_week";
1597
+ current_month: "current_month";
1598
+ previous_week: "previous_week";
1599
+ previous_month: "previous_month";
1600
+ }>>>;
1601
+ }, z.core.$strict>, z.ZodObject<{
1602
+ tz: z.ZodOptional<z.ZodString>;
1603
+ type: z.ZodLiteral<"absolute">;
1604
+ start: z.ZodString;
1605
+ end: z.ZodString;
1606
+ }, z.core.$strict>]>>>>;
1607
+ limit: z.ZodOptional<z.ZodNumber>;
1608
+ meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
1609
+ datasource: z.ZodLiteral<"llm_usage">;
1610
+ metrics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1611
+ [x: string]: string;
1612
+ }>>>>;
1613
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1614
+ [x: string]: string;
1615
+ }>>>>;
1616
+ filters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1617
+ field: z.ZodEnum<{
1618
+ control_plane: "control_plane";
1619
+ control_plane_group: "control_plane_group";
1620
+ gateway_service: "gateway_service";
1621
+ route: "route";
1622
+ status_code: "status_code";
1623
+ status_code_grouped: "status_code_grouped";
1624
+ application: "application";
1625
+ consumer: "consumer";
1626
+ realm: "realm";
1627
+ ai_provider: "ai_provider";
1628
+ ai_response_model: "ai_response_model";
1629
+ ai_request_model: "ai_request_model";
1630
+ llm_cache_status: "llm_cache_status";
1631
+ llm_embeddings_provider: "llm_embeddings_provider";
1632
+ llm_embeddings_model: "llm_embeddings_model";
1633
+ ai_plugin: "ai_plugin";
1634
+ }>;
1635
+ operator: z.ZodEnum<{
1636
+ in: "in";
1637
+ not_in: "not_in";
1638
+ selector: "selector";
1639
+ }>;
1640
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
1641
+ }, z.core.$strict>, z.ZodObject<{
1642
+ field: z.ZodEnum<{
1643
+ control_plane: "control_plane";
1644
+ control_plane_group: "control_plane_group";
1645
+ gateway_service: "gateway_service";
1646
+ route: "route";
1647
+ status_code: "status_code";
1648
+ status_code_grouped: "status_code_grouped";
1649
+ application: "application";
1650
+ consumer: "consumer";
1651
+ realm: "realm";
1652
+ ai_provider: "ai_provider";
1653
+ ai_response_model: "ai_response_model";
1654
+ ai_request_model: "ai_request_model";
1655
+ llm_cache_status: "llm_cache_status";
1656
+ llm_embeddings_provider: "llm_embeddings_provider";
1657
+ llm_embeddings_model: "llm_embeddings_model";
1658
+ ai_plugin: "ai_plugin";
1659
+ }>;
1660
+ operator: z.ZodEnum<{
1661
+ empty: "empty";
1662
+ not_empty: "not_empty";
1663
+ }>;
1664
+ }, z.core.$strict>]>>>>;
1665
+ }, z.core.$strict>]>;
1666
+ chart: z.ZodUnion<readonly [z.ZodObject<{
1667
+ type: z.ZodEnum<{
1668
+ horizontal_bar: "horizontal_bar";
1669
+ vertical_bar: "vertical_bar";
1670
+ }>;
1671
+ stacked: z.ZodOptional<z.ZodBoolean>;
1672
+ chart_dataset_colors: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1673
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1674
+ chart_title: z.ZodOptional<z.ZodString>;
1675
+ allow_csv_export: z.ZodOptional<z.ZodBoolean>;
1676
+ }, z.core.$strict>, z.ZodObject<{
1677
+ type: z.ZodLiteral<"gauge">;
1678
+ metric_display: z.ZodOptional<z.ZodEnum<{
1679
+ hidden: "hidden";
1680
+ single: "single";
1681
+ full: "full";
1682
+ }>>;
1683
+ reverse_dataset: z.ZodOptional<z.ZodBoolean>;
1684
+ numerator: z.ZodOptional<z.ZodNumber>;
1685
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1686
+ chart_title: z.ZodOptional<z.ZodString>;
1687
+ }, z.core.$strict>, z.ZodObject<{
1688
+ type: z.ZodLiteral<"donut">;
1689
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1690
+ chart_title: z.ZodOptional<z.ZodString>;
1691
+ }, z.core.$strict>, z.ZodObject<{
1692
+ type: z.ZodEnum<{
1693
+ timeseries_line: "timeseries_line";
1694
+ timeseries_bar: "timeseries_bar";
1695
+ }>;
1696
+ stacked: z.ZodOptional<z.ZodBoolean>;
1697
+ threshold: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1698
+ chart_dataset_colors: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1699
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1700
+ chart_title: z.ZodOptional<z.ZodString>;
1701
+ allow_csv_export: z.ZodOptional<z.ZodBoolean>;
1702
+ }, z.core.$strict>, z.ZodObject<{
1703
+ type: z.ZodLiteral<"golden_signals">;
1704
+ chart_title: z.ZodOptional<z.ZodString>;
1705
+ long_card_titles: z.ZodOptional<z.ZodBoolean>;
1706
+ description: z.ZodOptional<z.ZodString>;
1707
+ percentile_latency: z.ZodOptional<z.ZodBoolean>;
1708
+ }, z.core.$strict>, z.ZodObject<{
1709
+ type: z.ZodLiteral<"top_n">;
1710
+ chart_title: z.ZodOptional<z.ZodString>;
1711
+ synthetics_data_key: z.ZodOptional<z.ZodString>;
1712
+ description: z.ZodOptional<z.ZodString>;
1713
+ entity_link: z.ZodOptional<z.ZodString>;
1714
+ }, z.core.$strict>, z.ZodObject<{
1715
+ type: z.ZodLiteral<"slottable">;
1716
+ id: z.ZodString;
1717
+ }, z.core.$strict>, z.ZodObject<{
1718
+ type: z.ZodLiteral<"single_value">;
1719
+ decimal_points: z.ZodOptional<z.ZodNumber>;
1720
+ chart_title: z.ZodOptional<z.ZodString>;
1721
+ }, z.core.$strict>]>;
1722
+ }, z.core.$strict>;
1723
+ layout: z.ZodObject<{
1724
+ position: z.ZodObject<{
1725
+ col: z.ZodNumber;
1726
+ row: z.ZodNumber;
1727
+ }, z.core.$strict>;
1728
+ size: z.ZodObject<{
1729
+ cols: z.ZodNumber;
1730
+ rows: z.ZodNumber;
1731
+ fit_to_content: z.ZodOptional<z.ZodBoolean>;
1732
+ }, z.core.$strict>;
1733
+ }, z.core.$strict>;
1734
+ id: z.ZodOptional<z.ZodString>;
1735
+ }, z.core.$strict>>;
1736
+ tile_height: z.ZodOptional<z.ZodNumber>;
1737
+ preset_filters: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1738
+ field: z.ZodEnum<{
1739
+ api: "api";
1740
+ api_product: "api_product";
1741
+ api_product_version: "api_product_version";
1742
+ control_plane: "control_plane";
1743
+ control_plane_group: "control_plane_group";
1744
+ data_plane_node: "data_plane_node";
1745
+ gateway_service: "gateway_service";
1746
+ portal: "portal";
1747
+ route: "route";
1748
+ status_code: "status_code";
1749
+ status_code_grouped: "status_code_grouped";
1750
+ application: "application";
1751
+ consumer: "consumer";
1752
+ country_code: "country_code";
1753
+ iso_code: "iso_code";
1754
+ upstream_status_code: "upstream_status_code";
1755
+ upstream_status_code_grouped: "upstream_status_code_grouped";
1756
+ response_source: "response_source";
1757
+ data_plane_node_version: "data_plane_node_version";
1758
+ realm: "realm";
1759
+ ai_provider: "ai_provider";
1760
+ ai_response_model: "ai_response_model";
1761
+ ai_request_model: "ai_request_model";
1762
+ llm_cache_status: "llm_cache_status";
1763
+ llm_embeddings_provider: "llm_embeddings_provider";
1764
+ llm_embeddings_model: "llm_embeddings_model";
1765
+ ai_plugin: "ai_plugin";
1766
+ }>;
1767
+ operator: z.ZodEnum<{
1768
+ in: "in";
1769
+ not_in: "not_in";
1770
+ selector: "selector";
1771
+ }>;
1772
+ value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
1773
+ }, z.core.$strict>, z.ZodObject<{
1774
+ field: z.ZodEnum<{
1775
+ api: "api";
1776
+ api_product: "api_product";
1777
+ api_product_version: "api_product_version";
1778
+ control_plane: "control_plane";
1779
+ control_plane_group: "control_plane_group";
1780
+ data_plane_node: "data_plane_node";
1781
+ gateway_service: "gateway_service";
1782
+ portal: "portal";
1783
+ route: "route";
1784
+ status_code: "status_code";
1785
+ status_code_grouped: "status_code_grouped";
1786
+ application: "application";
1787
+ consumer: "consumer";
1788
+ country_code: "country_code";
1789
+ iso_code: "iso_code";
1790
+ upstream_status_code: "upstream_status_code";
1791
+ upstream_status_code_grouped: "upstream_status_code_grouped";
1792
+ response_source: "response_source";
1793
+ data_plane_node_version: "data_plane_node_version";
1794
+ realm: "realm";
1795
+ ai_provider: "ai_provider";
1796
+ ai_response_model: "ai_response_model";
1797
+ ai_request_model: "ai_request_model";
1798
+ llm_cache_status: "llm_cache_status";
1799
+ llm_embeddings_provider: "llm_embeddings_provider";
1800
+ llm_embeddings_model: "llm_embeddings_model";
1801
+ ai_plugin: "ai_plugin";
1802
+ }>;
1803
+ operator: z.ZodEnum<{
1804
+ empty: "empty";
1805
+ not_empty: "not_empty";
1806
+ }>;
1807
+ }, z.core.$strict>]>>>;
1808
+ template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1809
+ }, z.core.$strict>;
1810
+ export type DashboardConfig = z.infer<typeof zDashboardConfig>;
1811
+ export declare const parseDashboardConfig: (input: unknown) => {
1812
+ tiles: {
1813
+ type: "chart";
1814
+ definition: {
1815
+ query: {
1816
+ datasource: "api_usage";
1817
+ granularity?: "secondly" | "tenSecondly" | "thirtySecondly" | "minutely" | "fiveMinutely" | "tenMinutely" | "thirtyMinutely" | "hourly" | "twoHourly" | "twelveHourly" | "daily" | "weekly" | "trend" | undefined;
1818
+ time_range?: {
1819
+ tz: string;
1820
+ type: "relative";
1821
+ time_range: "15m" | "1h" | "6h" | "12h" | "24h" | "7d" | "30d" | "current_week" | "current_month" | "previous_week" | "previous_month";
1822
+ } | {
1823
+ type: "absolute";
1824
+ start: string;
1825
+ end: string;
1826
+ tz?: string | undefined;
1827
+ } | undefined;
1828
+ limit?: number | undefined;
1829
+ meta?: Record<string, never> | undefined;
1830
+ metrics?: string[] | undefined;
1831
+ dimensions?: string[] | undefined;
1832
+ filters?: ({
1833
+ field: "api" | "api_product" | "api_product_version" | "control_plane" | "control_plane_group" | "data_plane_node" | "gateway_service" | "portal" | "route" | "status_code" | "status_code_grouped" | "application" | "consumer" | "country_code" | "iso_code" | "upstream_status_code" | "upstream_status_code_grouped" | "response_source" | "data_plane_node_version" | "realm";
1834
+ operator: "in" | "not_in" | "selector";
1835
+ value: (string | number | null)[];
1836
+ } | {
1837
+ field: "api" | "api_product" | "api_product_version" | "control_plane" | "control_plane_group" | "data_plane_node" | "gateway_service" | "portal" | "route" | "status_code" | "status_code_grouped" | "application" | "consumer" | "country_code" | "iso_code" | "upstream_status_code" | "upstream_status_code_grouped" | "response_source" | "data_plane_node_version" | "realm";
1838
+ operator: "empty" | "not_empty";
1839
+ })[] | undefined;
1840
+ } | {
1841
+ datasource: "basic";
1842
+ granularity?: "secondly" | "tenSecondly" | "thirtySecondly" | "minutely" | "fiveMinutely" | "tenMinutely" | "thirtyMinutely" | "hourly" | "twoHourly" | "twelveHourly" | "daily" | "weekly" | "trend" | undefined;
1843
+ time_range?: {
1844
+ tz: string;
1845
+ type: "relative";
1846
+ time_range: "15m" | "1h" | "6h" | "12h" | "24h" | "7d" | "30d" | "current_week" | "current_month" | "previous_week" | "previous_month";
1847
+ } | {
1848
+ type: "absolute";
1849
+ start: string;
1850
+ end: string;
1851
+ tz?: string | undefined;
1852
+ } | undefined;
1853
+ limit?: number | undefined;
1854
+ meta?: Record<string, never> | undefined;
1855
+ metrics?: string[] | undefined;
1856
+ dimensions?: string[] | undefined;
1857
+ filters?: ({
1858
+ field: "api" | "api_product" | "api_product_version" | "control_plane" | "control_plane_group" | "data_plane_node" | "gateway_service" | "portal" | "route" | "status_code" | "status_code_grouped";
1859
+ operator: "in" | "not_in" | "selector";
1860
+ value: (string | number | null)[];
1861
+ } | {
1862
+ field: "api" | "api_product" | "api_product_version" | "control_plane" | "control_plane_group" | "data_plane_node" | "gateway_service" | "portal" | "route" | "status_code" | "status_code_grouped";
1863
+ operator: "empty" | "not_empty";
1864
+ })[] | undefined;
1865
+ } | {
1866
+ datasource: "llm_usage";
1867
+ granularity?: "secondly" | "tenSecondly" | "thirtySecondly" | "minutely" | "fiveMinutely" | "tenMinutely" | "thirtyMinutely" | "hourly" | "twoHourly" | "twelveHourly" | "daily" | "weekly" | "trend" | undefined;
1868
+ time_range?: {
1869
+ tz: string;
1870
+ type: "relative";
1871
+ time_range: "15m" | "1h" | "6h" | "12h" | "24h" | "7d" | "30d" | "current_week" | "current_month" | "previous_week" | "previous_month";
1872
+ } | {
1873
+ type: "absolute";
1874
+ start: string;
1875
+ end: string;
1876
+ tz?: string | undefined;
1877
+ } | undefined;
1878
+ limit?: number | undefined;
1879
+ meta?: Record<string, never> | undefined;
1880
+ metrics?: string[] | undefined;
1881
+ dimensions?: string[] | undefined;
1882
+ filters?: ({
1883
+ field: "control_plane" | "control_plane_group" | "gateway_service" | "route" | "status_code" | "status_code_grouped" | "application" | "consumer" | "realm" | "ai_provider" | "ai_response_model" | "ai_request_model" | "llm_cache_status" | "llm_embeddings_provider" | "llm_embeddings_model" | "ai_plugin";
1884
+ operator: "in" | "not_in" | "selector";
1885
+ value: (string | number | null)[];
1886
+ } | {
1887
+ field: "control_plane" | "control_plane_group" | "gateway_service" | "route" | "status_code" | "status_code_grouped" | "application" | "consumer" | "realm" | "ai_provider" | "ai_response_model" | "ai_request_model" | "llm_cache_status" | "llm_embeddings_provider" | "llm_embeddings_model" | "ai_plugin";
1888
+ operator: "empty" | "not_empty";
1889
+ })[] | undefined;
1890
+ };
1891
+ chart: {
1892
+ type: "slottable";
1893
+ id: string;
1894
+ } | {
1895
+ type: "horizontal_bar" | "vertical_bar";
1896
+ stacked?: boolean | undefined;
1897
+ chart_dataset_colors?: string[] | Record<string, string> | undefined;
1898
+ synthetics_data_key?: string | undefined;
1899
+ chart_title?: string | undefined;
1900
+ allow_csv_export?: boolean | undefined;
1901
+ } | {
1902
+ type: "timeseries_line" | "timeseries_bar";
1903
+ stacked?: boolean | undefined;
1904
+ threshold?: Record<string, number> | undefined;
1905
+ chart_dataset_colors?: string[] | Record<string, string> | undefined;
1906
+ synthetics_data_key?: string | undefined;
1907
+ chart_title?: string | undefined;
1908
+ allow_csv_export?: boolean | undefined;
1909
+ } | {
1910
+ type: "gauge";
1911
+ metric_display?: "hidden" | "single" | "full" | undefined;
1912
+ reverse_dataset?: boolean | undefined;
1913
+ numerator?: number | undefined;
1914
+ synthetics_data_key?: string | undefined;
1915
+ chart_title?: string | undefined;
1916
+ } | {
1917
+ type: "donut";
1918
+ synthetics_data_key?: string | undefined;
1919
+ chart_title?: string | undefined;
1920
+ } | {
1921
+ type: "top_n";
1922
+ chart_title?: string | undefined;
1923
+ synthetics_data_key?: string | undefined;
1924
+ description?: string | undefined;
1925
+ entity_link?: string | undefined;
1926
+ } | {
1927
+ type: "golden_signals";
1928
+ chart_title?: string | undefined;
1929
+ long_card_titles?: boolean | undefined;
1930
+ description?: string | undefined;
1931
+ percentile_latency?: boolean | undefined;
1932
+ } | {
1933
+ type: "single_value";
1934
+ decimal_points?: number | undefined;
1935
+ chart_title?: string | undefined;
1936
+ };
1937
+ };
1938
+ layout: {
1939
+ position: {
1940
+ col: number;
1941
+ row: number;
1942
+ };
1943
+ size: {
1944
+ cols: number;
1945
+ rows: number;
1946
+ fit_to_content?: boolean | undefined;
1947
+ };
1948
+ };
1949
+ id?: string | undefined;
1950
+ }[];
1951
+ tile_height?: number | undefined;
1952
+ preset_filters?: ({
1953
+ field: "api" | "api_product" | "api_product_version" | "control_plane" | "control_plane_group" | "data_plane_node" | "gateway_service" | "portal" | "route" | "status_code" | "status_code_grouped" | "application" | "consumer" | "country_code" | "iso_code" | "upstream_status_code" | "upstream_status_code_grouped" | "response_source" | "data_plane_node_version" | "realm" | "ai_provider" | "ai_response_model" | "ai_request_model" | "llm_cache_status" | "llm_embeddings_provider" | "llm_embeddings_model" | "ai_plugin";
1954
+ operator: "in" | "not_in" | "selector";
1955
+ value: (string | number | null)[];
1956
+ } | {
1957
+ field: "api" | "api_product" | "api_product_version" | "control_plane" | "control_plane_group" | "data_plane_node" | "gateway_service" | "portal" | "route" | "status_code" | "status_code_grouped" | "application" | "consumer" | "country_code" | "iso_code" | "upstream_status_code" | "upstream_status_code_grouped" | "response_source" | "data_plane_node_version" | "realm" | "ai_provider" | "ai_response_model" | "ai_request_model" | "llm_cache_status" | "llm_embeddings_provider" | "llm_embeddings_model" | "ai_plugin";
1958
+ operator: "empty" | "not_empty";
1959
+ })[] | undefined;
1960
+ template_id?: string | null | undefined;
1961
+ };
1962
+ //# sourceMappingURL=dashboardSchemaZod.v2.d.ts.map