@distilled.cloud/axiom 1.0.0-rc.13 → 1.0.0-rc.14

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.
Files changed (45) hide show
  1. package/lib/credentials.d.ts +2 -2
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +4 -7
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/errors.d.ts.map +1 -1
  6. package/lib/errors.js +1 -1
  7. package/lib/errors.js.map +1 -1
  8. package/lib/index.d.ts +2 -2
  9. package/lib/index.d.ts.map +1 -1
  10. package/lib/index.js +2 -2
  11. package/lib/index.js.map +1 -1
  12. package/lib/protocol.d.ts +3 -3
  13. package/lib/protocol.d.ts.map +1 -1
  14. package/lib/protocol.js +1 -1
  15. package/lib/protocol.js.map +1 -1
  16. package/lib/retry.d.ts +1 -1
  17. package/lib/retry.d.ts.map +1 -1
  18. package/lib/retry.js +1 -1
  19. package/lib/retry.js.map +1 -1
  20. package/lib/services/edge_ingest.d.ts +1 -1
  21. package/lib/services/edge_ingest.d.ts.map +1 -1
  22. package/lib/services/edge_ingest.js +5 -11
  23. package/lib/services/edge_ingest.js.map +1 -1
  24. package/lib/services/edge_query.d.ts +1 -1
  25. package/lib/services/edge_query.d.ts.map +1 -1
  26. package/lib/services/edge_query.js +5 -9
  27. package/lib/services/edge_query.js.map +1 -1
  28. package/lib/services/v2.d.ts +25 -1
  29. package/lib/services/v2.d.ts.map +1 -1
  30. package/lib/services/v2.js +187 -453
  31. package/lib/services/v2.js.map +1 -1
  32. package/package.json +12 -10
  33. package/src/credentials.ts +11 -20
  34. package/src/errors.ts +5 -8
  35. package/src/index.ts +2 -13
  36. package/src/protocol.ts +27 -32
  37. package/src/retry.ts +2 -8
  38. package/src/services/edge_ingest.ts +7 -23
  39. package/src/services/edge_query.ts +8 -21
  40. package/src/services/v2.ts +387 -957
  41. package/lib/response-validation.test.d.ts +0 -4
  42. package/lib/response-validation.test.d.ts.map +0 -1
  43. package/lib/response-validation.test.js +0 -32
  44. package/lib/response-validation.test.js.map +0 -1
  45. package/src/response-validation.test.ts +0 -46
@@ -1,16 +1,12 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import * as C from "@distilled.cloud/core/category";
1
3
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/docs restapi/versions). Do not edit.
2
4
  import * as S from "@distilled.cloud/core/schema";
3
5
  import * as Redacted from "effect/Redacted";
4
- import * as API from "@distilled.cloud/core/api";
5
- import * as C from "@distilled.cloud/core/category";
6
- import * as T from "../traits.ts";
7
- import {
8
- AxiomProtocol,
9
- type AxiomOpError,
10
- type AxiomOpContext,
11
- } from "../protocol.ts";
12
6
  import { UnknownAxiomError } from "../errors.ts";
7
+ import { AxiomProtocol, type AxiomOpError, type AxiomOpContext } from "../protocol.ts";
13
8
  import * as Retry from "../retry.ts";
9
+ import * as T from "../traits.ts";
14
10
 
15
11
  export type { AxiomOpError, AxiomOpContext };
16
12
 
@@ -91,9 +87,7 @@ export const CreateAnnotationRequest = /*@__PURE__*/ S.suspend(() =>
91
87
  type: S.String,
92
88
  url: S.optional(S.String),
93
89
  }).pipe(T.Http({ method: "POST", uri: "/v2/annotations", code: 200 })),
94
- ).annotate({
95
- identifier: "CreateAnnotationRequest",
96
- }) as any as S.Schema<CreateAnnotationRequest>;
90
+ ).annotate({ identifier: "CreateAnnotationRequest" }) as any as S.Schema<CreateAnnotationRequest>;
97
91
 
98
92
  /** array<string> of dataset names for which the annotation appears on charts */
99
93
  export type AnnotationDatasetsList = Array<string>;
@@ -175,11 +169,7 @@ export const DatasetCapabilitiesValueShareList = /*@__PURE__*/ S.Array(
175
169
  DatasetCapabilitiesValueShareItem,
176
170
  ) as any as S.Schema<DatasetCapabilitiesValueShareList>;
177
171
 
178
- export type DatasetCapabilitiesValueStarredQueriesItem =
179
- | "create"
180
- | "read"
181
- | "update"
182
- | "delete";
172
+ export type DatasetCapabilitiesValueStarredQueriesItem = "create" | "read" | "update" | "delete";
183
173
  export const DatasetCapabilitiesValueStarredQueriesItem = S.String;
184
174
 
185
175
  /** Starred queries capability */
@@ -212,11 +202,7 @@ export const DatasetCapabilitiesValueVacuumList = /*@__PURE__*/ S.Array(
212
202
  DatasetCapabilitiesValueVacuumItem,
213
203
  ) as any as S.Schema<DatasetCapabilitiesValueVacuumList>;
214
204
 
215
- export type DatasetCapabilitiesValueVirtualFieldsItem =
216
- | "create"
217
- | "read"
218
- | "update"
219
- | "delete";
205
+ export type DatasetCapabilitiesValueVirtualFieldsItem = "create" | "read" | "update" | "delete";
220
206
  export const DatasetCapabilitiesValueVirtualFieldsItem = S.String;
221
207
 
222
208
  /** Virtual fields capability */
@@ -256,44 +242,28 @@ export const DatasetCapabilitiesValue = /*@__PURE__*/ S.suspend(() =>
256
242
  vacuum: S.optional(DatasetCapabilitiesValueVacuumList),
257
243
  virtualFields: S.optional(DatasetCapabilitiesValueVirtualFieldsList),
258
244
  }),
259
- ).annotate({
260
- identifier: "DatasetCapabilitiesValue",
261
- }) as any as S.Schema<DatasetCapabilitiesValue>;
245
+ ).annotate({ identifier: "DatasetCapabilitiesValue" }) as any as S.Schema<DatasetCapabilitiesValue>;
262
246
 
263
- export type DatasetCapabilities = {
264
- [key: string]: DatasetCapabilitiesValue | undefined;
265
- };
247
+ export type DatasetCapabilities = { [key: string]: DatasetCapabilitiesValue | undefined };
266
248
  export const DatasetCapabilities = /*@__PURE__*/ S.Record(
267
249
  S.String,
268
250
  DatasetCapabilitiesValue,
269
251
  ) as any as S.Schema<DatasetCapabilities>;
270
252
 
271
- export type OrgCapabilitiesAnnotationsItem =
272
- | "create"
273
- | "read"
274
- | "update"
275
- | "delete";
253
+ export type OrgCapabilitiesAnnotationsItem = "create" | "read" | "update" | "delete";
276
254
  export const OrgCapabilitiesAnnotationsItem = S.String;
277
255
 
278
256
  /** Annotations capability */
279
- export type OrgCapabilitiesAnnotationsList = Array<
280
- OrgCapabilitiesAnnotationsItem | (string & {})
281
- >;
257
+ export type OrgCapabilitiesAnnotationsList = Array<OrgCapabilitiesAnnotationsItem | (string & {})>;
282
258
  export const OrgCapabilitiesAnnotationsList = /*@__PURE__*/ S.Array(
283
259
  OrgCapabilitiesAnnotationsItem,
284
260
  ) as any as S.Schema<OrgCapabilitiesAnnotationsList>;
285
261
 
286
- export type OrgCapabilitiesApiTokensItem =
287
- | "create"
288
- | "read"
289
- | "update"
290
- | "delete";
262
+ export type OrgCapabilitiesApiTokensItem = "create" | "read" | "update" | "delete";
291
263
  export const OrgCapabilitiesApiTokensItem = S.String;
292
264
 
293
265
  /** API tokens capability */
294
- export type OrgCapabilitiesApiTokensList = Array<
295
- OrgCapabilitiesApiTokensItem | (string & {})
296
- >;
266
+ export type OrgCapabilitiesApiTokensList = Array<OrgCapabilitiesApiTokensItem | (string & {})>;
297
267
  export const OrgCapabilitiesApiTokensList = /*@__PURE__*/ S.Array(
298
268
  OrgCapabilitiesApiTokensItem,
299
269
  ) as any as S.Schema<OrgCapabilitiesApiTokensList>;
@@ -302,9 +272,7 @@ export type OrgCapabilitiesAuditLogItem = "read";
302
272
  export const OrgCapabilitiesAuditLogItem = S.String;
303
273
 
304
274
  /** Audit Log capability */
305
- export type OrgCapabilitiesAuditLogList = Array<
306
- OrgCapabilitiesAuditLogItem | (string & {})
307
- >;
275
+ export type OrgCapabilitiesAuditLogList = Array<OrgCapabilitiesAuditLogItem | (string & {})>;
308
276
  export const OrgCapabilitiesAuditLogList = /*@__PURE__*/ S.Array(
309
277
  OrgCapabilitiesAuditLogItem,
310
278
  ) as any as S.Schema<OrgCapabilitiesAuditLogList>;
@@ -313,54 +281,34 @@ export type OrgCapabilitiesBillingItem = "read" | "update";
313
281
  export const OrgCapabilitiesBillingItem = S.String;
314
282
 
315
283
  /** Billing capability */
316
- export type OrgCapabilitiesBillingList = Array<
317
- OrgCapabilitiesBillingItem | (string & {})
318
- >;
284
+ export type OrgCapabilitiesBillingList = Array<OrgCapabilitiesBillingItem | (string & {})>;
319
285
  export const OrgCapabilitiesBillingList = /*@__PURE__*/ S.Array(
320
286
  OrgCapabilitiesBillingItem,
321
287
  ) as any as S.Schema<OrgCapabilitiesBillingList>;
322
288
 
323
- export type OrgCapabilitiesDashboardsItem =
324
- | "create"
325
- | "read"
326
- | "update"
327
- | "delete";
289
+ export type OrgCapabilitiesDashboardsItem = "create" | "read" | "update" | "delete";
328
290
  export const OrgCapabilitiesDashboardsItem = S.String;
329
291
 
330
292
  /** Dashboards capability */
331
- export type OrgCapabilitiesDashboardsList = Array<
332
- OrgCapabilitiesDashboardsItem | (string & {})
333
- >;
293
+ export type OrgCapabilitiesDashboardsList = Array<OrgCapabilitiesDashboardsItem | (string & {})>;
334
294
  export const OrgCapabilitiesDashboardsList = /*@__PURE__*/ S.Array(
335
295
  OrgCapabilitiesDashboardsItem,
336
296
  ) as any as S.Schema<OrgCapabilitiesDashboardsList>;
337
297
 
338
- export type OrgCapabilitiesDatasetsItem =
339
- | "create"
340
- | "read"
341
- | "update"
342
- | "delete";
298
+ export type OrgCapabilitiesDatasetsItem = "create" | "read" | "update" | "delete";
343
299
  export const OrgCapabilitiesDatasetsItem = S.String;
344
300
 
345
301
  /** Datasets capability */
346
- export type OrgCapabilitiesDatasetsList = Array<
347
- OrgCapabilitiesDatasetsItem | (string & {})
348
- >;
302
+ export type OrgCapabilitiesDatasetsList = Array<OrgCapabilitiesDatasetsItem | (string & {})>;
349
303
  export const OrgCapabilitiesDatasetsList = /*@__PURE__*/ S.Array(
350
304
  OrgCapabilitiesDatasetsItem,
351
305
  ) as any as S.Schema<OrgCapabilitiesDatasetsList>;
352
306
 
353
- export type OrgCapabilitiesEndpointsItem =
354
- | "create"
355
- | "read"
356
- | "update"
357
- | "delete";
307
+ export type OrgCapabilitiesEndpointsItem = "create" | "read" | "update" | "delete";
358
308
  export const OrgCapabilitiesEndpointsItem = S.String;
359
309
 
360
310
  /** Endpoints capability */
361
- export type OrgCapabilitiesEndpointsList = Array<
362
- OrgCapabilitiesEndpointsItem | (string & {})
363
- >;
311
+ export type OrgCapabilitiesEndpointsList = Array<OrgCapabilitiesEndpointsItem | (string & {})>;
364
312
  export const OrgCapabilitiesEndpointsList = /*@__PURE__*/ S.Array(
365
313
  OrgCapabilitiesEndpointsItem,
366
314
  ) as any as S.Schema<OrgCapabilitiesEndpointsList>;
@@ -369,18 +317,12 @@ export type OrgCapabilitiesFlowsItem = "create" | "read" | "update" | "delete";
369
317
  export const OrgCapabilitiesFlowsItem = S.String;
370
318
 
371
319
  /** Flows capability */
372
- export type OrgCapabilitiesFlowsList = Array<
373
- OrgCapabilitiesFlowsItem | (string & {})
374
- >;
320
+ export type OrgCapabilitiesFlowsList = Array<OrgCapabilitiesFlowsItem | (string & {})>;
375
321
  export const OrgCapabilitiesFlowsList = /*@__PURE__*/ S.Array(
376
322
  OrgCapabilitiesFlowsItem,
377
323
  ) as any as S.Schema<OrgCapabilitiesFlowsList>;
378
324
 
379
- export type OrgCapabilitiesIntegrationsItem =
380
- | "create"
381
- | "read"
382
- | "update"
383
- | "delete";
325
+ export type OrgCapabilitiesIntegrationsItem = "create" | "read" | "update" | "delete";
384
326
  export const OrgCapabilitiesIntegrationsItem = S.String;
385
327
 
386
328
  /** Integrations capability */
@@ -391,32 +333,20 @@ export const OrgCapabilitiesIntegrationsList = /*@__PURE__*/ S.Array(
391
333
  OrgCapabilitiesIntegrationsItem,
392
334
  ) as any as S.Schema<OrgCapabilitiesIntegrationsList>;
393
335
 
394
- export type OrgCapabilitiesMonitorsItem =
395
- | "create"
396
- | "read"
397
- | "update"
398
- | "delete";
336
+ export type OrgCapabilitiesMonitorsItem = "create" | "read" | "update" | "delete";
399
337
  export const OrgCapabilitiesMonitorsItem = S.String;
400
338
 
401
339
  /** Monitors capability */
402
- export type OrgCapabilitiesMonitorsList = Array<
403
- OrgCapabilitiesMonitorsItem | (string & {})
404
- >;
340
+ export type OrgCapabilitiesMonitorsList = Array<OrgCapabilitiesMonitorsItem | (string & {})>;
405
341
  export const OrgCapabilitiesMonitorsList = /*@__PURE__*/ S.Array(
406
342
  OrgCapabilitiesMonitorsItem,
407
343
  ) as any as S.Schema<OrgCapabilitiesMonitorsList>;
408
344
 
409
- export type OrgCapabilitiesNotifiersItem =
410
- | "create"
411
- | "read"
412
- | "update"
413
- | "delete";
345
+ export type OrgCapabilitiesNotifiersItem = "create" | "read" | "update" | "delete";
414
346
  export const OrgCapabilitiesNotifiersItem = S.String;
415
347
 
416
348
  /** Notifiers capability */
417
- export type OrgCapabilitiesNotifiersList = Array<
418
- OrgCapabilitiesNotifiersItem | (string & {})
419
- >;
349
+ export type OrgCapabilitiesNotifiersList = Array<OrgCapabilitiesNotifiersItem | (string & {})>;
420
350
  export const OrgCapabilitiesNotifiersList = /*@__PURE__*/ S.Array(
421
351
  OrgCapabilitiesNotifiersItem,
422
352
  ) as any as S.Schema<OrgCapabilitiesNotifiersList>;
@@ -425,9 +355,7 @@ export type OrgCapabilitiesRbacItem = "create" | "read" | "update" | "delete";
425
355
  export const OrgCapabilitiesRbacItem = S.String;
426
356
 
427
357
  /** Access control capability */
428
- export type OrgCapabilitiesRbacList = Array<
429
- OrgCapabilitiesRbacItem | (string & {})
430
- >;
358
+ export type OrgCapabilitiesRbacList = Array<OrgCapabilitiesRbacItem | (string & {})>;
431
359
  export const OrgCapabilitiesRbacList = /*@__PURE__*/ S.Array(
432
360
  OrgCapabilitiesRbacItem,
433
361
  ) as any as S.Schema<OrgCapabilitiesRbacList>;
@@ -447,9 +375,7 @@ export type OrgCapabilitiesUsersItem = "create" | "read" | "update" | "delete";
447
375
  export const OrgCapabilitiesUsersItem = S.String;
448
376
 
449
377
  /** Users capability */
450
- export type OrgCapabilitiesUsersList = Array<
451
- OrgCapabilitiesUsersItem | (string & {})
452
- >;
378
+ export type OrgCapabilitiesUsersList = Array<OrgCapabilitiesUsersItem | (string & {})>;
453
379
  export const OrgCapabilitiesUsersList = /*@__PURE__*/ S.Array(
454
380
  OrgCapabilitiesUsersItem,
455
381
  ) as any as S.Schema<OrgCapabilitiesUsersList>;
@@ -458,9 +384,7 @@ export type OrgCapabilitiesViewsItem = "create" | "read" | "update" | "delete";
458
384
  export const OrgCapabilitiesViewsItem = S.String;
459
385
 
460
386
  /** Views capability */
461
- export type OrgCapabilitiesViewsList = Array<
462
- OrgCapabilitiesViewsItem | (string & {})
463
- >;
387
+ export type OrgCapabilitiesViewsList = Array<OrgCapabilitiesViewsItem | (string & {})>;
464
388
  export const OrgCapabilitiesViewsList = /*@__PURE__*/ S.Array(
465
389
  OrgCapabilitiesViewsItem,
466
390
  ) as any as S.Schema<OrgCapabilitiesViewsList>;
@@ -515,17 +439,13 @@ export const OrgCapabilities = /*@__PURE__*/ S.suspend(() =>
515
439
  users: S.optional(OrgCapabilitiesUsersList),
516
440
  views: S.optional(OrgCapabilitiesViewsList),
517
441
  }),
518
- ).annotate({
519
- identifier: "OrgCapabilities",
520
- }) as any as S.Schema<OrgCapabilities>;
442
+ ).annotate({ identifier: "OrgCapabilities" }) as any as S.Schema<OrgCapabilities>;
521
443
 
522
444
  export type ViewCapabilitiesValueQueryItem = "read";
523
445
  export const ViewCapabilitiesValueQueryItem = S.String;
524
446
 
525
447
  /** Query capability */
526
- export type ViewCapabilitiesValueQueryList = Array<
527
- ViewCapabilitiesValueQueryItem | (string & {})
528
- >;
448
+ export type ViewCapabilitiesValueQueryList = Array<ViewCapabilitiesValueQueryItem | (string & {})>;
529
449
  export const ViewCapabilitiesValueQueryList = /*@__PURE__*/ S.Array(
530
450
  ViewCapabilitiesValueQueryItem,
531
451
  ) as any as S.Schema<ViewCapabilitiesValueQueryList>;
@@ -534,9 +454,7 @@ export type ViewCapabilitiesValueShareItem = "create" | "read" | "delete";
534
454
  export const ViewCapabilitiesValueShareItem = S.String;
535
455
 
536
456
  /** Sharing view capability */
537
- export type ViewCapabilitiesValueShareList = Array<
538
- ViewCapabilitiesValueShareItem | (string & {})
539
- >;
457
+ export type ViewCapabilitiesValueShareList = Array<ViewCapabilitiesValueShareItem | (string & {})>;
540
458
  export const ViewCapabilitiesValueShareList = /*@__PURE__*/ S.Array(
541
459
  ViewCapabilitiesValueShareItem,
542
460
  ) as any as S.Schema<ViewCapabilitiesValueShareList>;
@@ -552,13 +470,9 @@ export const ViewCapabilitiesValue = /*@__PURE__*/ S.suspend(() =>
552
470
  query: S.optional(ViewCapabilitiesValueQueryList),
553
471
  share: S.optional(ViewCapabilitiesValueShareList),
554
472
  }),
555
- ).annotate({
556
- identifier: "ViewCapabilitiesValue",
557
- }) as any as S.Schema<ViewCapabilitiesValue>;
473
+ ).annotate({ identifier: "ViewCapabilitiesValue" }) as any as S.Schema<ViewCapabilitiesValue>;
558
474
 
559
- export type ViewCapabilities = {
560
- [key: string]: ViewCapabilitiesValue | undefined;
561
- };
475
+ export type ViewCapabilities = { [key: string]: ViewCapabilitiesValue | undefined };
562
476
  export const ViewCapabilities = /*@__PURE__*/ S.Record(
563
477
  S.String,
564
478
  ViewCapabilitiesValue,
@@ -584,9 +498,7 @@ export const CreateAPITokenRequest = /*@__PURE__*/ S.suspend(() =>
584
498
  orgCapabilities: S.optional(OrgCapabilities),
585
499
  viewCapabilities: S.optional(ViewCapabilities),
586
500
  }).pipe(T.Http({ method: "POST", uri: "/v2/tokens", code: 200 })),
587
- ).annotate({
588
- identifier: "CreateAPITokenRequest",
589
- }) as any as S.Schema<CreateAPITokenRequest>;
501
+ ).annotate({ identifier: "CreateAPITokenRequest" }) as any as S.Schema<CreateAPITokenRequest>;
590
502
 
591
503
  export interface CreateAPITokenResponse {
592
504
  datasetCapabilities: DatasetCapabilities;
@@ -615,31 +527,19 @@ export const CreateAPITokenResponse = /*@__PURE__*/ S.suspend(() =>
615
527
  viewCapabilities: S.optional(ViewCapabilities),
616
528
  token: S.optional(S.String),
617
529
  }),
618
- ).annotate({
619
- identifier: "CreateAPITokenResponse",
620
- }) as any as S.Schema<CreateAPITokenResponse>;
530
+ ).annotate({ identifier: "CreateAPITokenResponse" }) as any as S.Schema<CreateAPITokenResponse>;
621
531
 
622
532
  export type TimeSeriesChartType = "TimeSeries";
623
533
  export const TimeSeriesChartType = S.String;
624
534
 
625
535
  /** Controls how empty intervals are rendered in time series charts. `auto` infers from the query, `null` leaves gaps, `span` connects adjacent points, `zero` fills with zero. */
626
- export type TimeSeriesQueryOptionsDisplayNull =
627
- | "auto"
628
- | "null"
629
- | "span"
630
- | "zero"
631
- | "";
536
+ export type TimeSeriesQueryOptionsDisplayNull = "auto" | "null" | "span" | "zero" | "";
632
537
  export const TimeSeriesQueryOptionsDisplayNull = S.String;
633
538
 
634
539
  export type BooleanString = "true" | "false" | "";
635
540
  export const BooleanString = S.String;
636
541
 
637
- export type TimeSeriesQueryOptionsTimeSeriesVariant =
638
- | "area"
639
- | "bars"
640
- | "line"
641
- | "lines"
642
- | "";
542
+ export type TimeSeriesQueryOptionsTimeSeriesVariant = "area" | "bars" | "line" | "lines" | "";
643
543
  export const TimeSeriesQueryOptionsTimeSeriesVariant = S.String;
644
544
 
645
545
  export type TimeSeriesQueryOptionsTimeSeriesView =
@@ -666,9 +566,7 @@ export const TimeSeriesQueryOptions = /*@__PURE__*/ S.suspend(() =>
666
566
  timeSeriesVariant: S.optional(TimeSeriesQueryOptionsTimeSeriesVariant),
667
567
  timeSeriesView: S.optional(TimeSeriesQueryOptionsTimeSeriesView),
668
568
  }),
669
- ).annotate({
670
- identifier: "TimeSeriesQueryOptions",
671
- }) as any as S.Schema<TimeSeriesQueryOptions>;
569
+ ).annotate({ identifier: "TimeSeriesQueryOptions" }) as any as S.Schema<TimeSeriesQueryOptions>;
672
570
 
673
571
  export interface TimeSeriesNonMetricsAplQuery {
674
572
  apl: string;
@@ -692,15 +590,10 @@ export const TimeSeriesNativeMplQuery = /*@__PURE__*/ S.suspend(() =>
692
590
  mpl: S.String,
693
591
  queryOptions: S.optional(TimeSeriesQueryOptions),
694
592
  }),
695
- ).annotate({
696
- identifier: "TimeSeriesNativeMplQuery",
697
- }) as any as S.Schema<TimeSeriesNativeMplQuery>;
593
+ ).annotate({ identifier: "TimeSeriesNativeMplQuery" }) as any as S.Schema<TimeSeriesNativeMplQuery>;
698
594
 
699
- export type TimeSeriesChartQuery =
700
- | TimeSeriesNonMetricsAplQuery
701
- | TimeSeriesNativeMplQuery;
702
- export const TimeSeriesChartQuery =
703
- S.Unknown as any as S.Schema<TimeSeriesChartQuery>;
595
+ export type TimeSeriesChartQuery = TimeSeriesNonMetricsAplQuery | TimeSeriesNativeMplQuery;
596
+ export const TimeSeriesChartQuery = S.Unknown as any as S.Schema<TimeSeriesChartQuery>;
704
597
 
705
598
  export interface TimeSeriesChart {
706
599
  id: string;
@@ -715,9 +608,7 @@ export const TimeSeriesChart = /*@__PURE__*/ S.suspend(() =>
715
608
  name: S.optional(S.String),
716
609
  query: TimeSeriesChartQuery,
717
610
  }),
718
- ).annotate({
719
- identifier: "TimeSeriesChart",
720
- }) as any as S.Schema<TimeSeriesChart>;
611
+ ).annotate({ identifier: "TimeSeriesChart" }) as any as S.Schema<TimeSeriesChart>;
721
612
 
722
613
  export type HeatmapChartType = "Heatmap";
723
614
  export const HeatmapChartType = S.String;
@@ -736,9 +627,7 @@ export const HeatmapQueryOptions = /*@__PURE__*/ S.suspend(() =>
736
627
  S.Struct({
737
628
  timeSeriesView: S.optional(HeatmapQueryOptionsTimeSeriesView),
738
629
  }),
739
- ).annotate({
740
- identifier: "HeatmapQueryOptions",
741
- }) as any as S.Schema<HeatmapQueryOptions>;
630
+ ).annotate({ identifier: "HeatmapQueryOptions" }) as any as S.Schema<HeatmapQueryOptions>;
742
631
 
743
632
  export interface HeatmapNonMetricsAplQuery {
744
633
  apl: string;
@@ -762,15 +651,10 @@ export const HeatmapNativeMplQuery = /*@__PURE__*/ S.suspend(() =>
762
651
  mpl: S.String,
763
652
  queryOptions: S.optional(HeatmapQueryOptions),
764
653
  }),
765
- ).annotate({
766
- identifier: "HeatmapNativeMplQuery",
767
- }) as any as S.Schema<HeatmapNativeMplQuery>;
654
+ ).annotate({ identifier: "HeatmapNativeMplQuery" }) as any as S.Schema<HeatmapNativeMplQuery>;
768
655
 
769
- export type HeatmapChartQuery =
770
- | HeatmapNonMetricsAplQuery
771
- | HeatmapNativeMplQuery;
772
- export const HeatmapChartQuery =
773
- S.Unknown as any as S.Schema<HeatmapChartQuery>;
656
+ export type HeatmapChartQuery = HeatmapNonMetricsAplQuery | HeatmapNativeMplQuery;
657
+ export const HeatmapChartQuery = S.Unknown as any as S.Schema<HeatmapChartQuery>;
774
658
 
775
659
  export interface HeatmapChart {
776
660
  id: string;
@@ -797,9 +681,7 @@ export const SimpleNonMetricsAplQuery = /*@__PURE__*/ S.suspend(() =>
797
681
  S.Struct({
798
682
  apl: S.String,
799
683
  }),
800
- ).annotate({
801
- identifier: "SimpleNonMetricsAplQuery",
802
- }) as any as S.Schema<SimpleNonMetricsAplQuery>;
684
+ ).annotate({ identifier: "SimpleNonMetricsAplQuery" }) as any as S.Schema<SimpleNonMetricsAplQuery>;
803
685
 
804
686
  export interface SimpleNativeMplQuery {
805
687
  mpl: string;
@@ -808,9 +690,7 @@ export const SimpleNativeMplQuery = /*@__PURE__*/ S.suspend(() =>
808
690
  S.Struct({
809
691
  mpl: S.String,
810
692
  }),
811
- ).annotate({
812
- identifier: "SimpleNativeMplQuery",
813
- }) as any as S.Schema<SimpleNativeMplQuery>;
693
+ ).annotate({ identifier: "SimpleNativeMplQuery" }) as any as S.Schema<SimpleNativeMplQuery>;
814
694
 
815
695
  export type SimpleChartQuery = SimpleNonMetricsAplQuery | SimpleNativeMplQuery;
816
696
  export const SimpleChartQuery = S.Unknown as any as S.Schema<SimpleChartQuery>;
@@ -824,9 +704,7 @@ export const AdvancedColumnSetting = /*@__PURE__*/ S.suspend(() =>
824
704
  name: S.String,
825
705
  width: S.optional(S.Number),
826
706
  }),
827
- ).annotate({
828
- identifier: "AdvancedColumnSetting",
829
- }) as any as S.Schema<AdvancedColumnSetting>;
707
+ ).annotate({ identifier: "AdvancedColumnSetting" }) as any as S.Schema<AdvancedColumnSetting>;
830
708
 
831
709
  export type ColumnSetting = string | AdvancedColumnSetting;
832
710
  export const ColumnSetting = S.Unknown as any as S.Schema<ColumnSetting>;
@@ -857,9 +735,7 @@ export const DatasetStreamSettings = /*@__PURE__*/ S.suspend(() =>
857
735
  hideNulls: S.optional(S.Boolean),
858
736
  fitColumns: S.optional(S.Boolean),
859
737
  }),
860
- ).annotate({
861
- identifier: "DatasetStreamSettings",
862
- }) as any as S.Schema<DatasetStreamSettings>;
738
+ ).annotate({ identifier: "DatasetStreamSettings" }) as any as S.Schema<DatasetStreamSettings>;
863
739
 
864
740
  export interface TableSettings {
865
741
  columns?: TableSettingsColumnsList;
@@ -980,12 +856,10 @@ export type StatisticChartColorScheme =
980
856
  export const StatisticChartColorScheme = S.String;
981
857
 
982
858
  export type StatisticChartShowChart = boolean | string;
983
- export const StatisticChartShowChart =
984
- S.Unknown as any as S.Schema<StatisticChartShowChart>;
859
+ export const StatisticChartShowChart = S.Unknown as any as S.Schema<StatisticChartShowChart>;
985
860
 
986
861
  export type StatisticChartChartHeight = string | number;
987
- export const StatisticChartChartHeight =
988
- S.Unknown as any as S.Schema<StatisticChartChartHeight>;
862
+ export const StatisticChartChartHeight = S.Unknown as any as S.Schema<StatisticChartChartHeight>;
989
863
 
990
864
  export type StatisticChartErrorThreshold =
991
865
  | "Above"
@@ -1016,9 +890,7 @@ export const StatisticChartColorProps = /*@__PURE__*/ S.suspend(() =>
1016
890
  labelColor: S.optional(S.String),
1017
891
  textColor: S.optional(S.String),
1018
892
  }),
1019
- ).annotate({
1020
- identifier: "StatisticChartColorProps",
1021
- }) as any as S.Schema<StatisticChartColorProps>;
893
+ ).annotate({ identifier: "StatisticChartColorProps" }) as any as S.Schema<StatisticChartColorProps>;
1022
894
 
1023
895
  export interface StatisticChart {
1024
896
  id: string;
@@ -1113,9 +985,7 @@ export const MonitorListColumns = /*@__PURE__*/ S.suspend(() =>
1113
985
  type: S.Boolean,
1114
986
  notifiers: S.Boolean,
1115
987
  }),
1116
- ).annotate({
1117
- identifier: "MonitorListColumns",
1118
- }) as any as S.Schema<MonitorListColumns>;
988
+ ).annotate({ identifier: "MonitorListColumns" }) as any as S.Schema<MonitorListColumns>;
1119
989
 
1120
990
  export interface MonitorListChart {
1121
991
  id: string;
@@ -1132,9 +1002,7 @@ export const MonitorListChart = /*@__PURE__*/ S.suspend(() =>
1132
1002
  selectedMonitors: MonitorListChartSelectedMonitorsList,
1133
1003
  columns: MonitorListColumns,
1134
1004
  }),
1135
- ).annotate({
1136
- identifier: "MonitorListChart",
1137
- }) as any as S.Schema<MonitorListChart>;
1005
+ ).annotate({ identifier: "MonitorListChart" }) as any as S.Schema<MonitorListChart>;
1138
1006
 
1139
1007
  export type SmartFilterChartType = "SmartFilter";
1140
1008
  export const SmartFilterChartType = S.String;
@@ -1155,9 +1023,7 @@ export const SmartFilterSearch = /*@__PURE__*/ S.suspend(() =>
1155
1023
  active: S.optional(S.Boolean),
1156
1024
  type: SmartFilterSearchType,
1157
1025
  }),
1158
- ).annotate({
1159
- identifier: "SmartFilterSearch",
1160
- }) as any as S.Schema<SmartFilterSearch>;
1026
+ ).annotate({ identifier: "SmartFilterSearch" }) as any as S.Schema<SmartFilterSearch>;
1161
1027
 
1162
1028
  export interface SmartFilterOption {
1163
1029
  key: string;
@@ -1172,9 +1038,7 @@ export const SmartFilterOption = /*@__PURE__*/ S.suspend(() =>
1172
1038
  default: S.optional(S.Boolean),
1173
1039
  unset: S.optional(S.Boolean),
1174
1040
  }),
1175
- ).annotate({
1176
- identifier: "SmartFilterOption",
1177
- }) as any as S.Schema<SmartFilterOption>;
1041
+ ).annotate({ identifier: "SmartFilterOption" }) as any as S.Schema<SmartFilterOption>;
1178
1042
 
1179
1043
  export type SmartFilterOptionsCase0List = Array<SmartFilterOption>;
1180
1044
  export const SmartFilterOptionsCase0List = /*@__PURE__*/ S.Array(
@@ -1184,11 +1048,8 @@ export const SmartFilterOptionsCase0List = /*@__PURE__*/ S.Array(
1184
1048
  export type SmartFilterOptionsCase1 = "";
1185
1049
  export const SmartFilterOptionsCase1 = S.String;
1186
1050
 
1187
- export type SmartFilterOptions =
1188
- | SmartFilterOptionsCase0List
1189
- | SmartFilterOptionsCase1;
1190
- export const SmartFilterOptions =
1191
- S.Unknown as any as S.Schema<SmartFilterOptions>;
1051
+ export type SmartFilterOptions = SmartFilterOptionsCase0List | SmartFilterOptionsCase1;
1052
+ export const SmartFilterOptions = S.Unknown as any as S.Schema<SmartFilterOptions>;
1192
1053
 
1193
1054
  export type SmartFilterSelectListType = "select";
1194
1055
  export const SmartFilterSelectListType = S.String;
@@ -1213,9 +1074,7 @@ export const SmartFilterSelectList = /*@__PURE__*/ S.suspend(() =>
1213
1074
  type: SmartFilterSelectListType,
1214
1075
  selectType: SmartFilterSelectListSelectType,
1215
1076
  }),
1216
- ).annotate({
1217
- identifier: "SmartFilterSelectList",
1218
- }) as any as S.Schema<SmartFilterSelectList>;
1077
+ ).annotate({ identifier: "SmartFilterSelectList" }) as any as S.Schema<SmartFilterSelectList>;
1219
1078
 
1220
1079
  export type SmartFilterSelectQueryOptionsCase0List = Array<SmartFilterOption>;
1221
1080
  export const SmartFilterSelectQueryOptionsCase0List = /*@__PURE__*/ S.Array(
@@ -1245,9 +1104,7 @@ export const SmartFilterAplQuery = /*@__PURE__*/ S.suspend(() =>
1245
1104
  S.Struct({
1246
1105
  apl: S.String,
1247
1106
  }),
1248
- ).annotate({
1249
- identifier: "SmartFilterAplQuery",
1250
- }) as any as S.Schema<SmartFilterAplQuery>;
1107
+ ).annotate({ identifier: "SmartFilterAplQuery" }) as any as S.Schema<SmartFilterAplQuery>;
1251
1108
 
1252
1109
  export interface SmartFilterNativeMplQuery {
1253
1110
  /** MPL query that returns the list of options for the filter dropdown. The query must group by exactly one tag — Axiom uses each distinct value of that tag as both the key and the value of an option. Use `align using last` to simplify the query. Example: ``` dataset:metric | align using last | group by tag using count ``` */
@@ -1284,17 +1141,13 @@ export const SmartFilterSelectQuery = /*@__PURE__*/ S.suspend(() =>
1284
1141
  selectType: SmartFilterSelectQuerySelectType,
1285
1142
  query: S.optional(SmartFilterQuery),
1286
1143
  }),
1287
- ).annotate({
1288
- identifier: "SmartFilterSelectQuery",
1289
- }) as any as S.Schema<SmartFilterSelectQuery>;
1144
+ ).annotate({ identifier: "SmartFilterSelectQuery" }) as any as S.Schema<SmartFilterSelectQuery>;
1290
1145
 
1291
1146
  export type SmartFilterSelect = SmartFilterSelectList | SmartFilterSelectQuery;
1292
- export const SmartFilterSelect =
1293
- S.Unknown as any as S.Schema<SmartFilterSelect>;
1147
+ export const SmartFilterSelect = S.Unknown as any as S.Schema<SmartFilterSelect>;
1294
1148
 
1295
1149
  export type SmartFilterConfig = SmartFilterSearch | SmartFilterSelect;
1296
- export const SmartFilterConfig =
1297
- S.Unknown as any as S.Schema<SmartFilterConfig>;
1150
+ export const SmartFilterConfig = S.Unknown as any as S.Schema<SmartFilterConfig>;
1298
1151
 
1299
1152
  export type SmartFilterChartFiltersList = Array<SmartFilterConfig>;
1300
1153
  export const SmartFilterChartFiltersList = /*@__PURE__*/ S.Array(
@@ -1318,9 +1171,7 @@ export const SmartFilterChart = /*@__PURE__*/ S.suspend(() =>
1318
1171
  logo: S.optional(S.String),
1319
1172
  logoDark: S.optional(S.String),
1320
1173
  }),
1321
- ).annotate({
1322
- identifier: "SmartFilterChart",
1323
- }) as any as S.Schema<SmartFilterChart>;
1174
+ ).annotate({ identifier: "SmartFilterChart" }) as any as S.Schema<SmartFilterChart>;
1324
1175
 
1325
1176
  export type SpacerChartType = "Spacer";
1326
1177
  export const SpacerChartType = S.String;
@@ -1468,14 +1319,11 @@ export const CreateDashboardRequest = /*@__PURE__*/ S.suspend(() =>
1468
1319
  uid: S.optional(S.String),
1469
1320
  version: S.optional(CreateDashboardRequestVersion),
1470
1321
  }).pipe(T.Http({ method: "POST", uri: "/v2/dashboards", code: 200 })),
1471
- ).annotate({
1472
- identifier: "CreateDashboardRequest",
1473
- }) as any as S.Schema<CreateDashboardRequest>;
1322
+ ).annotate({ identifier: "CreateDashboardRequest" }) as any as S.Schema<CreateDashboardRequest>;
1474
1323
 
1475
1324
  /** 64-bit server-assigned version (hybrid-logical-clock timestamp). Emitted as either JSON number or JSON string, sometimes exceeding JavaScript Number precision. */
1476
1325
  export type DashboardResourceVersion = string | number;
1477
- export const DashboardResourceVersion =
1478
- S.Unknown as any as S.Schema<DashboardResourceVersion>;
1326
+ export const DashboardResourceVersion = S.Unknown as any as S.Schema<DashboardResourceVersion>;
1479
1327
 
1480
1328
  export interface DashboardResource {
1481
1329
  createdAt: string;
@@ -1499,9 +1347,7 @@ export const DashboardResource = /*@__PURE__*/ S.suspend(() =>
1499
1347
  updatedBy: S.String,
1500
1348
  version: DashboardResourceVersion,
1501
1349
  }),
1502
- ).annotate({
1503
- identifier: "DashboardResource",
1504
- }) as any as S.Schema<DashboardResource>;
1350
+ ).annotate({ identifier: "DashboardResource" }) as any as S.Schema<DashboardResource>;
1505
1351
 
1506
1352
  export type DashboardWriteResponseStatus = "created" | "updated";
1507
1353
  export const DashboardWriteResponseStatus = S.String;
@@ -1517,9 +1363,7 @@ export const DashboardWriteResponse = /*@__PURE__*/ S.suspend(() =>
1517
1363
  overwritten: S.optional(S.Boolean),
1518
1364
  status: DashboardWriteResponseStatus,
1519
1365
  }),
1520
- ).annotate({
1521
- identifier: "DashboardWriteResponse",
1522
- }) as any as S.Schema<DashboardWriteResponse>;
1366
+ ).annotate({ identifier: "DashboardWriteResponse" }) as any as S.Schema<DashboardWriteResponse>;
1523
1367
 
1524
1368
  /** The kind of the dataset */
1525
1369
  export type CreateDatasetRequestKind =
@@ -1555,16 +1399,10 @@ export const CreateDatasetRequest = /*@__PURE__*/ S.suspend(() =>
1555
1399
  retentionDays: S.optional(S.Number),
1556
1400
  useRetentionPeriod: S.optional(S.Boolean),
1557
1401
  }).pipe(T.Http({ method: "POST", uri: "/v2/datasets", code: 200 })),
1558
- ).annotate({
1559
- identifier: "CreateDatasetRequest",
1560
- }) as any as S.Schema<CreateDatasetRequest>;
1402
+ ).annotate({ identifier: "CreateDatasetRequest" }) as any as S.Schema<CreateDatasetRequest>;
1561
1403
 
1562
1404
  /** The kind of the dataset */
1563
- export type DatasetKind =
1564
- | "otel:metrics:v1"
1565
- | "otel:traces:v1"
1566
- | "otel:logs:v1"
1567
- | "axiom:events:v1";
1405
+ export type DatasetKind = "otel:metrics:v1" | "otel:traces:v1" | "otel:logs:v1" | "axiom:events:v1";
1568
1406
  export const DatasetKind = S.String;
1569
1407
 
1570
1408
  export type DatasetMapFieldsList = Array<string>;
@@ -1649,9 +1487,7 @@ export const CreateGroupRequest = /*@__PURE__*/ S.suspend(() =>
1649
1487
  name: S.String,
1650
1488
  roles: S.optional(CreateGroupRequestRolesList),
1651
1489
  }).pipe(T.Http({ method: "POST", uri: "/v2/rbac/groups", code: 200 })),
1652
- ).annotate({
1653
- identifier: "CreateGroupRequest",
1654
- }) as any as S.Schema<CreateGroupRequest>;
1490
+ ).annotate({ identifier: "CreateGroupRequest" }) as any as S.Schema<CreateGroupRequest>;
1655
1491
 
1656
1492
  /** List of user IDs that are assigned to this group */
1657
1493
  export type CreateGroupResponseMembersList = Array<string>;
@@ -1688,9 +1524,7 @@ export const CreateGroupResponse = /*@__PURE__*/ S.suspend(() =>
1688
1524
  roles: S.optional(CreateGroupResponseRolesList),
1689
1525
  id: S.String,
1690
1526
  }),
1691
- ).annotate({
1692
- identifier: "CreateGroupResponse",
1693
- }) as any as S.Schema<CreateGroupResponse>;
1527
+ ).annotate({ identifier: "CreateGroupResponse" }) as any as S.Schema<CreateGroupResponse>;
1694
1528
 
1695
1529
  export interface CreateMapFieldRequest {
1696
1530
  dataset_id: string;
@@ -1700,16 +1534,8 @@ export const CreateMapFieldRequest = /*@__PURE__*/ S.suspend(() =>
1700
1534
  S.Struct({
1701
1535
  dataset_id: S.String.pipe(T.Label()),
1702
1536
  name: S.String,
1703
- }).pipe(
1704
- T.Http({
1705
- method: "POST",
1706
- uri: "/v2/datasets/{dataset_id}/mapfields",
1707
- code: 200,
1708
- }),
1709
- ),
1710
- ).annotate({
1711
- identifier: "CreateMapFieldRequest",
1712
- }) as any as S.Schema<CreateMapFieldRequest>;
1537
+ }).pipe(T.Http({ method: "POST", uri: "/v2/datasets/{dataset_id}/mapfields", code: 200 })),
1538
+ ).annotate({ identifier: "CreateMapFieldRequest" }) as any as S.Schema<CreateMapFieldRequest>;
1713
1539
 
1714
1540
  /** A map field, described by a name */
1715
1541
  export interface MapField {
@@ -1737,10 +1563,7 @@ export type CreateMonitorRequestOperator =
1737
1563
  export const CreateMonitorRequestOperator = S.String;
1738
1564
 
1739
1565
  /** Type of monitoring check to perform: - Threshold: Compares a numeric value against a threshold - MatchEvent: Looks for specific events or patterns - AnomalyDetection: Identifies unusual patterns based on historical data */
1740
- export type CreateMonitorRequestType =
1741
- | "Threshold"
1742
- | "MatchEvent"
1743
- | "AnomalyDetection";
1566
+ export type CreateMonitorRequestType = "Threshold" | "MatchEvent" | "AnomalyDetection";
1744
1567
  export const CreateMonitorRequestType = S.String;
1745
1568
 
1746
1569
  export interface CreateMonitorRequest {
@@ -1826,9 +1649,7 @@ export const CreateMonitorRequest = /*@__PURE__*/ S.suspend(() =>
1826
1649
  type: CreateMonitorRequestType,
1827
1650
  updatedAt: S.optional(S.String),
1828
1651
  }).pipe(T.Http({ method: "POST", uri: "/v2/monitors", code: 200 })),
1829
- ).annotate({
1830
- identifier: "CreateMonitorRequest",
1831
- }) as any as S.Schema<CreateMonitorRequest>;
1652
+ ).annotate({ identifier: "CreateMonitorRequest" }) as any as S.Schema<CreateMonitorRequest>;
1832
1653
 
1833
1654
  /** List of notifier IDs that will receive alerts. Notifiers can be email, Slack, webhook endpoints, etc. */
1834
1655
  export type CreateMonitorResponseNotifierIdsList = Array<string>;
@@ -1846,10 +1667,7 @@ export type CreateMonitorResponseOperator =
1846
1667
  export const CreateMonitorResponseOperator = S.String;
1847
1668
 
1848
1669
  /** Type of monitoring check to perform: - Threshold: Compares a numeric value against a threshold - MatchEvent: Looks for specific events or patterns - AnomalyDetection: Identifies unusual patterns based on historical data */
1849
- export type CreateMonitorResponseType =
1850
- | "Threshold"
1851
- | "MatchEvent"
1852
- | "AnomalyDetection";
1670
+ export type CreateMonitorResponseType = "Threshold" | "MatchEvent" | "AnomalyDetection";
1853
1671
  export const CreateMonitorResponseType = S.String;
1854
1672
 
1855
1673
  export interface CreateMonitorResponse {
@@ -1938,23 +1756,17 @@ export const CreateMonitorResponse = /*@__PURE__*/ S.suspend(() =>
1938
1756
  updatedAt: S.optional(S.String),
1939
1757
  id: S.String,
1940
1758
  }),
1941
- ).annotate({
1942
- identifier: "CreateMonitorResponse",
1943
- }) as any as S.Schema<CreateMonitorResponse>;
1759
+ ).annotate({ identifier: "CreateMonitorResponse" }) as any as S.Schema<CreateMonitorResponse>;
1944
1760
 
1945
1761
  /** HTTP headers to include in the request */
1946
- export type CustomNotifierConfigHeadersMap = {
1947
- [key: string]: string | undefined;
1948
- };
1762
+ export type CustomNotifierConfigHeadersMap = { [key: string]: string | undefined };
1949
1763
  export const CustomNotifierConfigHeadersMap = /*@__PURE__*/ S.Record(
1950
1764
  S.String,
1951
1765
  S.String,
1952
1766
  ) as any as S.Schema<CustomNotifierConfigHeadersMap>;
1953
1767
 
1954
1768
  /** Sensitive HTTP headers (tokens, keys) that should be masked in logs */
1955
- export type CustomNotifierConfigSecretHeadersMap = {
1956
- [key: string]: string | undefined;
1957
- };
1769
+ export type CustomNotifierConfigSecretHeadersMap = { [key: string]: string | undefined };
1958
1770
  export const CustomNotifierConfigSecretHeadersMap = /*@__PURE__*/ S.Record(
1959
1771
  S.String,
1960
1772
  S.String,
@@ -1978,9 +1790,7 @@ export const CustomNotifierConfig = /*@__PURE__*/ S.suspend(() =>
1978
1790
  secretHeaders: S.optional(CustomNotifierConfigSecretHeadersMap),
1979
1791
  url: S.String,
1980
1792
  }),
1981
- ).annotate({
1982
- identifier: "CustomNotifierConfig",
1983
- }) as any as S.Schema<CustomNotifierConfig>;
1793
+ ).annotate({ identifier: "CustomNotifierConfig" }) as any as S.Schema<CustomNotifierConfig>;
1984
1794
 
1985
1795
  /** Configuration for Discord notifications using bot token */
1986
1796
  export interface DiscordConfig {
@@ -2005,9 +1815,7 @@ export const DiscordWebhookConfig = /*@__PURE__*/ S.suspend(() =>
2005
1815
  S.Struct({
2006
1816
  discordWebhookUrl: S.optional(S.String),
2007
1817
  }),
2008
- ).annotate({
2009
- identifier: "DiscordWebhookConfig",
2010
- }) as any as S.Schema<DiscordWebhookConfig>;
1818
+ ).annotate({ identifier: "DiscordWebhookConfig" }) as any as S.Schema<DiscordWebhookConfig>;
2011
1819
 
2012
1820
  /** List of email addresses to receive notifications */
2013
1821
  export type EmailConfigEmailsList = Array<string>;
@@ -2035,9 +1843,7 @@ export const MicrosoftTeamsConfig = /*@__PURE__*/ S.suspend(() =>
2035
1843
  S.Struct({
2036
1844
  microsoftTeamsUrl: S.optional(S.String),
2037
1845
  }),
2038
- ).annotate({
2039
- identifier: "MicrosoftTeamsConfig",
2040
- }) as any as S.Schema<MicrosoftTeamsConfig>;
1846
+ ).annotate({ identifier: "MicrosoftTeamsConfig" }) as any as S.Schema<MicrosoftTeamsConfig>;
2041
1847
 
2042
1848
  /** Configuration for OpsGenie integration */
2043
1849
  export interface OpsGenieConfig {
@@ -2065,9 +1871,7 @@ export const PagerDutyConfig = /*@__PURE__*/ S.suspend(() =>
2065
1871
  routingKey: S.optional(S.String),
2066
1872
  token: S.optional(S.String),
2067
1873
  }),
2068
- ).annotate({
2069
- identifier: "PagerDutyConfig",
2070
- }) as any as S.Schema<PagerDutyConfig>;
1874
+ ).annotate({ identifier: "PagerDutyConfig" }) as any as S.Schema<PagerDutyConfig>;
2071
1875
 
2072
1876
  /** Configuration for Slack notifications using incoming webhooks */
2073
1877
  export interface SlackConfig {
@@ -2115,9 +1919,7 @@ export const NotifierProperties = /*@__PURE__*/ S.suspend(() =>
2115
1919
  slack: S.optional(SlackConfig),
2116
1920
  webhook: S.optional(WebhookConfig),
2117
1921
  }),
2118
- ).annotate({
2119
- identifier: "NotifierProperties",
2120
- }) as any as S.Schema<NotifierProperties>;
1922
+ ).annotate({ identifier: "NotifierProperties" }) as any as S.Schema<NotifierProperties>;
2121
1923
 
2122
1924
  export interface CreateNotifierRequest {
2123
1925
  /** ISO timestamp until which the notifier is disabled (null if enabled) */
@@ -2132,9 +1934,7 @@ export const CreateNotifierRequest = /*@__PURE__*/ S.suspend(() =>
2132
1934
  name: S.String,
2133
1935
  properties: NotifierProperties,
2134
1936
  }).pipe(T.Http({ method: "POST", uri: "/v2/notifiers", code: 200 })),
2135
- ).annotate({
2136
- identifier: "CreateNotifierRequest",
2137
- }) as any as S.Schema<CreateNotifierRequest>;
1937
+ ).annotate({ identifier: "CreateNotifierRequest" }) as any as S.Schema<CreateNotifierRequest>;
2138
1938
 
2139
1939
  export interface CreateNotifierResponse {
2140
1940
  /** Timestamp when the notifier was created */
@@ -2161,9 +1961,7 @@ export const CreateNotifierResponse = /*@__PURE__*/ S.suspend(() =>
2161
1961
  updatedAt: S.optional(S.String),
2162
1962
  id: S.optional(S.String),
2163
1963
  }),
2164
- ).annotate({
2165
- identifier: "CreateNotifierResponse",
2166
- }) as any as S.Schema<CreateNotifierResponse>;
1964
+ ).annotate({ identifier: "CreateNotifierResponse" }) as any as S.Schema<CreateNotifierResponse>;
2167
1965
 
2168
1966
  export interface CreateOrgRequest {
2169
1967
  /** The default edge deployment of the organization. */
@@ -2175,9 +1973,7 @@ export const CreateOrgRequest = /*@__PURE__*/ S.suspend(() =>
2175
1973
  edgeDeployment: S.optional(S.String),
2176
1974
  name: S.String,
2177
1975
  }).pipe(T.Http({ method: "POST", uri: "/v2/orgs", code: 200 })),
2178
- ).annotate({
2179
- identifier: "CreateOrgRequest",
2180
- }) as any as S.Schema<CreateOrgRequest>;
1976
+ ).annotate({ identifier: "CreateOrgRequest" }) as any as S.Schema<CreateOrgRequest>;
2181
1977
 
2182
1978
  export type LicenseEdgeDeploymentsList = Array<string>;
2183
1979
  export const LicenseEdgeDeploymentsList = /*@__PURE__*/ S.Array(
@@ -2341,10 +2137,7 @@ export const RoleDatasetCapabilitiesValueQueryList = /*@__PURE__*/ S.Array(
2341
2137
  RoleDatasetCapabilitiesValueQueryItem,
2342
2138
  ) as any as S.Schema<RoleDatasetCapabilitiesValueQueryList>;
2343
2139
 
2344
- export type RoleDatasetCapabilitiesValueShareItem =
2345
- | "create"
2346
- | "read"
2347
- | "delete";
2140
+ export type RoleDatasetCapabilitiesValueShareItem = "create" | "read" | "delete";
2348
2141
  export const RoleDatasetCapabilitiesValueShareItem = S.String;
2349
2142
 
2350
2143
  /** Controls the ability to share datasets with other users */
@@ -2366,10 +2159,9 @@ export const RoleDatasetCapabilitiesValueStarredQueriesItem = S.String;
2366
2159
  export type RoleDatasetCapabilitiesValueStarredQueriesList = Array<
2367
2160
  RoleDatasetCapabilitiesValueStarredQueriesItem | (string & {})
2368
2161
  >;
2369
- export const RoleDatasetCapabilitiesValueStarredQueriesList =
2370
- /*@__PURE__*/ S.Array(
2371
- RoleDatasetCapabilitiesValueStarredQueriesItem,
2372
- ) as any as S.Schema<RoleDatasetCapabilitiesValueStarredQueriesList>;
2162
+ export const RoleDatasetCapabilitiesValueStarredQueriesList = /*@__PURE__*/ S.Array(
2163
+ RoleDatasetCapabilitiesValueStarredQueriesItem,
2164
+ ) as any as S.Schema<RoleDatasetCapabilitiesValueStarredQueriesList>;
2373
2165
 
2374
2166
  export type RoleDatasetCapabilitiesValueTrimItem = "update";
2375
2167
  export const RoleDatasetCapabilitiesValueTrimItem = S.String;
@@ -2393,21 +2185,16 @@ export const RoleDatasetCapabilitiesValueVacuumList = /*@__PURE__*/ S.Array(
2393
2185
  RoleDatasetCapabilitiesValueVacuumItem,
2394
2186
  ) as any as S.Schema<RoleDatasetCapabilitiesValueVacuumList>;
2395
2187
 
2396
- export type RoleDatasetCapabilitiesValueVirtualFieldsItem =
2397
- | "create"
2398
- | "read"
2399
- | "update"
2400
- | "delete";
2188
+ export type RoleDatasetCapabilitiesValueVirtualFieldsItem = "create" | "read" | "update" | "delete";
2401
2189
  export const RoleDatasetCapabilitiesValueVirtualFieldsItem = S.String;
2402
2190
 
2403
2191
  /** Controls the management of virtual fields in datasets */
2404
2192
  export type RoleDatasetCapabilitiesValueVirtualFieldsList = Array<
2405
2193
  RoleDatasetCapabilitiesValueVirtualFieldsItem | (string & {})
2406
2194
  >;
2407
- export const RoleDatasetCapabilitiesValueVirtualFieldsList =
2408
- /*@__PURE__*/ S.Array(
2409
- RoleDatasetCapabilitiesValueVirtualFieldsItem,
2410
- ) as any as S.Schema<RoleDatasetCapabilitiesValueVirtualFieldsList>;
2195
+ export const RoleDatasetCapabilitiesValueVirtualFieldsList = /*@__PURE__*/ S.Array(
2196
+ RoleDatasetCapabilitiesValueVirtualFieldsItem,
2197
+ ) as any as S.Schema<RoleDatasetCapabilitiesValueVirtualFieldsList>;
2411
2198
 
2412
2199
  export interface RoleDatasetCapabilitiesValue {
2413
2200
  /** Controls data management operations like deletion */
@@ -2443,9 +2230,7 @@ export const RoleDatasetCapabilitiesValue = /*@__PURE__*/ S.suspend(() =>
2443
2230
  }) as any as S.Schema<RoleDatasetCapabilitiesValue>;
2444
2231
 
2445
2232
  /** Defines the available permissions for dataset operations */
2446
- export type RoleDatasetCapabilities = {
2447
- [key: string]: RoleDatasetCapabilitiesValue | undefined;
2448
- };
2233
+ export type RoleDatasetCapabilities = { [key: string]: RoleDatasetCapabilitiesValue | undefined };
2449
2234
  export const RoleDatasetCapabilities = /*@__PURE__*/ S.Record(
2450
2235
  S.String,
2451
2236
  RoleDatasetCapabilitiesValue,
@@ -2457,11 +2242,7 @@ export const CreateRoleRequestMembersList = /*@__PURE__*/ S.Array(
2457
2242
  S.String,
2458
2243
  ) as any as S.Schema<CreateRoleRequestMembersList>;
2459
2244
 
2460
- export type RoleOrgCapabilitiesAnnotationsItem =
2461
- | "create"
2462
- | "read"
2463
- | "update"
2464
- | "delete";
2245
+ export type RoleOrgCapabilitiesAnnotationsItem = "create" | "read" | "update" | "delete";
2465
2246
  export const RoleOrgCapabilitiesAnnotationsItem = S.String;
2466
2247
 
2467
2248
  /** Controls the management of annotations across the organization */
@@ -2472,11 +2253,7 @@ export const RoleOrgCapabilitiesAnnotationsList = /*@__PURE__*/ S.Array(
2472
2253
  RoleOrgCapabilitiesAnnotationsItem,
2473
2254
  ) as any as S.Schema<RoleOrgCapabilitiesAnnotationsList>;
2474
2255
 
2475
- export type RoleOrgCapabilitiesApiTokensItem =
2476
- | "create"
2477
- | "read"
2478
- | "update"
2479
- | "delete";
2256
+ export type RoleOrgCapabilitiesApiTokensItem = "create" | "read" | "update" | "delete";
2480
2257
  export const RoleOrgCapabilitiesApiTokensItem = S.String;
2481
2258
 
2482
2259
  /** Controls the management of API tokens for authentication */
@@ -2502,18 +2279,12 @@ export type RoleOrgCapabilitiesBillingItem = "read" | "update";
2502
2279
  export const RoleOrgCapabilitiesBillingItem = S.String;
2503
2280
 
2504
2281
  /** Controls access to billing information and settings */
2505
- export type RoleOrgCapabilitiesBillingList = Array<
2506
- RoleOrgCapabilitiesBillingItem | (string & {})
2507
- >;
2282
+ export type RoleOrgCapabilitiesBillingList = Array<RoleOrgCapabilitiesBillingItem | (string & {})>;
2508
2283
  export const RoleOrgCapabilitiesBillingList = /*@__PURE__*/ S.Array(
2509
2284
  RoleOrgCapabilitiesBillingItem,
2510
2285
  ) as any as S.Schema<RoleOrgCapabilitiesBillingList>;
2511
2286
 
2512
- export type RoleOrgCapabilitiesDashboardsItem =
2513
- | "create"
2514
- | "read"
2515
- | "update"
2516
- | "delete";
2287
+ export type RoleOrgCapabilitiesDashboardsItem = "create" | "read" | "update" | "delete";
2517
2288
  export const RoleOrgCapabilitiesDashboardsItem = S.String;
2518
2289
 
2519
2290
  /** Controls the management of organization dashboards */
@@ -2524,11 +2295,7 @@ export const RoleOrgCapabilitiesDashboardsList = /*@__PURE__*/ S.Array(
2524
2295
  RoleOrgCapabilitiesDashboardsItem,
2525
2296
  ) as any as S.Schema<RoleOrgCapabilitiesDashboardsList>;
2526
2297
 
2527
- export type RoleOrgCapabilitiesDatasetsItem =
2528
- | "create"
2529
- | "read"
2530
- | "update"
2531
- | "delete";
2298
+ export type RoleOrgCapabilitiesDatasetsItem = "create" | "read" | "update" | "delete";
2532
2299
  export const RoleOrgCapabilitiesDatasetsItem = S.String;
2533
2300
 
2534
2301
  /** Controls the management of organization datasets */
@@ -2539,11 +2306,7 @@ export const RoleOrgCapabilitiesDatasetsList = /*@__PURE__*/ S.Array(
2539
2306
  RoleOrgCapabilitiesDatasetsItem,
2540
2307
  ) as any as S.Schema<RoleOrgCapabilitiesDatasetsList>;
2541
2308
 
2542
- export type RoleOrgCapabilitiesEndpointsItem =
2543
- | "create"
2544
- | "read"
2545
- | "update"
2546
- | "delete";
2309
+ export type RoleOrgCapabilitiesEndpointsItem = "create" | "read" | "update" | "delete";
2547
2310
  export const RoleOrgCapabilitiesEndpointsItem = S.String;
2548
2311
 
2549
2312
  /** Controls the management of API endpoints */
@@ -2554,26 +2317,16 @@ export const RoleOrgCapabilitiesEndpointsList = /*@__PURE__*/ S.Array(
2554
2317
  RoleOrgCapabilitiesEndpointsItem,
2555
2318
  ) as any as S.Schema<RoleOrgCapabilitiesEndpointsList>;
2556
2319
 
2557
- export type RoleOrgCapabilitiesFlowsItem =
2558
- | "create"
2559
- | "read"
2560
- | "update"
2561
- | "delete";
2320
+ export type RoleOrgCapabilitiesFlowsItem = "create" | "read" | "update" | "delete";
2562
2321
  export const RoleOrgCapabilitiesFlowsItem = S.String;
2563
2322
 
2564
2323
  /** Controls the management of data flows and pipelines */
2565
- export type RoleOrgCapabilitiesFlowsList = Array<
2566
- RoleOrgCapabilitiesFlowsItem | (string & {})
2567
- >;
2324
+ export type RoleOrgCapabilitiesFlowsList = Array<RoleOrgCapabilitiesFlowsItem | (string & {})>;
2568
2325
  export const RoleOrgCapabilitiesFlowsList = /*@__PURE__*/ S.Array(
2569
2326
  RoleOrgCapabilitiesFlowsItem,
2570
2327
  ) as any as S.Schema<RoleOrgCapabilitiesFlowsList>;
2571
2328
 
2572
- export type RoleOrgCapabilitiesIntegrationsItem =
2573
- | "create"
2574
- | "read"
2575
- | "update"
2576
- | "delete";
2329
+ export type RoleOrgCapabilitiesIntegrationsItem = "create" | "read" | "update" | "delete";
2577
2330
  export const RoleOrgCapabilitiesIntegrationsItem = S.String;
2578
2331
 
2579
2332
  /** Controls the management of third-party integrations */
@@ -2584,11 +2337,7 @@ export const RoleOrgCapabilitiesIntegrationsList = /*@__PURE__*/ S.Array(
2584
2337
  RoleOrgCapabilitiesIntegrationsItem,
2585
2338
  ) as any as S.Schema<RoleOrgCapabilitiesIntegrationsList>;
2586
2339
 
2587
- export type RoleOrgCapabilitiesMonitorsItem =
2588
- | "create"
2589
- | "read"
2590
- | "update"
2591
- | "delete";
2340
+ export type RoleOrgCapabilitiesMonitorsItem = "create" | "read" | "update" | "delete";
2592
2341
  export const RoleOrgCapabilitiesMonitorsItem = S.String;
2593
2342
 
2594
2343
  /** Controls the management of monitoring */
@@ -2599,11 +2348,7 @@ export const RoleOrgCapabilitiesMonitorsList = /*@__PURE__*/ S.Array(
2599
2348
  RoleOrgCapabilitiesMonitorsItem,
2600
2349
  ) as any as S.Schema<RoleOrgCapabilitiesMonitorsList>;
2601
2350
 
2602
- export type RoleOrgCapabilitiesNotifiersItem =
2603
- | "create"
2604
- | "read"
2605
- | "update"
2606
- | "delete";
2351
+ export type RoleOrgCapabilitiesNotifiersItem = "create" | "read" | "update" | "delete";
2607
2352
  export const RoleOrgCapabilitiesNotifiersItem = S.String;
2608
2353
 
2609
2354
  /** Controls the management of notification settings */
@@ -2614,17 +2359,11 @@ export const RoleOrgCapabilitiesNotifiersList = /*@__PURE__*/ S.Array(
2614
2359
  RoleOrgCapabilitiesNotifiersItem,
2615
2360
  ) as any as S.Schema<RoleOrgCapabilitiesNotifiersList>;
2616
2361
 
2617
- export type RoleOrgCapabilitiesRbacItem =
2618
- | "create"
2619
- | "read"
2620
- | "update"
2621
- | "delete";
2362
+ export type RoleOrgCapabilitiesRbacItem = "create" | "read" | "update" | "delete";
2622
2363
  export const RoleOrgCapabilitiesRbacItem = S.String;
2623
2364
 
2624
2365
  /** Controls access to role-based access control settings */
2625
- export type RoleOrgCapabilitiesRbacList = Array<
2626
- RoleOrgCapabilitiesRbacItem | (string & {})
2627
- >;
2366
+ export type RoleOrgCapabilitiesRbacList = Array<RoleOrgCapabilitiesRbacItem | (string & {})>;
2628
2367
  export const RoleOrgCapabilitiesRbacList = /*@__PURE__*/ S.Array(
2629
2368
  RoleOrgCapabilitiesRbacItem,
2630
2369
  ) as any as S.Schema<RoleOrgCapabilitiesRbacList>;
@@ -2640,32 +2379,20 @@ export const RoleOrgCapabilitiesSharedAccessKeysList = /*@__PURE__*/ S.Array(
2640
2379
  RoleOrgCapabilitiesSharedAccessKeysItem,
2641
2380
  ) as any as S.Schema<RoleOrgCapabilitiesSharedAccessKeysList>;
2642
2381
 
2643
- export type RoleOrgCapabilitiesUsersItem =
2644
- | "create"
2645
- | "read"
2646
- | "update"
2647
- | "delete";
2382
+ export type RoleOrgCapabilitiesUsersItem = "create" | "read" | "update" | "delete";
2648
2383
  export const RoleOrgCapabilitiesUsersItem = S.String;
2649
2384
 
2650
2385
  /** Controls user management within the organization */
2651
- export type RoleOrgCapabilitiesUsersList = Array<
2652
- RoleOrgCapabilitiesUsersItem | (string & {})
2653
- >;
2386
+ export type RoleOrgCapabilitiesUsersList = Array<RoleOrgCapabilitiesUsersItem | (string & {})>;
2654
2387
  export const RoleOrgCapabilitiesUsersList = /*@__PURE__*/ S.Array(
2655
2388
  RoleOrgCapabilitiesUsersItem,
2656
2389
  ) as any as S.Schema<RoleOrgCapabilitiesUsersList>;
2657
2390
 
2658
- export type RoleOrgCapabilitiesViewsItem =
2659
- | "create"
2660
- | "read"
2661
- | "update"
2662
- | "delete";
2391
+ export type RoleOrgCapabilitiesViewsItem = "create" | "read" | "update" | "delete";
2663
2392
  export const RoleOrgCapabilitiesViewsItem = S.String;
2664
2393
 
2665
2394
  /** Controls the management of data views */
2666
- export type RoleOrgCapabilitiesViewsList = Array<
2667
- RoleOrgCapabilitiesViewsItem | (string & {})
2668
- >;
2395
+ export type RoleOrgCapabilitiesViewsList = Array<RoleOrgCapabilitiesViewsItem | (string & {})>;
2669
2396
  export const RoleOrgCapabilitiesViewsList = /*@__PURE__*/ S.Array(
2670
2397
  RoleOrgCapabilitiesViewsItem,
2671
2398
  ) as any as S.Schema<RoleOrgCapabilitiesViewsList>;
@@ -2721,9 +2448,7 @@ export const RoleOrgCapabilities = /*@__PURE__*/ S.suspend(() =>
2721
2448
  users: S.optional(RoleOrgCapabilitiesUsersList),
2722
2449
  views: S.optional(RoleOrgCapabilitiesViewsList),
2723
2450
  }),
2724
- ).annotate({
2725
- identifier: "RoleOrgCapabilities",
2726
- }) as any as S.Schema<RoleOrgCapabilities>;
2451
+ ).annotate({ identifier: "RoleOrgCapabilities" }) as any as S.Schema<RoleOrgCapabilities>;
2727
2452
 
2728
2453
  export type RoleViewCapabilitiesValueQueryItem = "read";
2729
2454
  export const RoleViewCapabilitiesValueQueryItem = S.String;
@@ -2763,9 +2488,7 @@ export const RoleViewCapabilitiesValue = /*@__PURE__*/ S.suspend(() =>
2763
2488
  }) as any as S.Schema<RoleViewCapabilitiesValue>;
2764
2489
 
2765
2490
  /** Defines the available permissions for view operations */
2766
- export type RoleViewCapabilities = {
2767
- [key: string]: RoleViewCapabilitiesValue | undefined;
2768
- };
2491
+ export type RoleViewCapabilities = { [key: string]: RoleViewCapabilitiesValue | undefined };
2769
2492
  export const RoleViewCapabilities = /*@__PURE__*/ S.Record(
2770
2493
  S.String,
2771
2494
  RoleViewCapabilitiesValue,
@@ -2791,9 +2514,7 @@ export const CreateRoleRequest = /*@__PURE__*/ S.suspend(() =>
2791
2514
  orgCapabilities: S.optional(RoleOrgCapabilities),
2792
2515
  viewCapabilities: S.optional(RoleViewCapabilities),
2793
2516
  }).pipe(T.Http({ method: "POST", uri: "/v2/rbac/roles", code: 200 })),
2794
- ).annotate({
2795
- identifier: "CreateRoleRequest",
2796
- }) as any as S.Schema<CreateRoleRequest>;
2517
+ ).annotate({ identifier: "CreateRoleRequest" }) as any as S.Schema<CreateRoleRequest>;
2797
2518
 
2798
2519
  /** List of user IDs that are assigned to this role */
2799
2520
  export type CreateRoleResponseMembersList = Array<string>;
@@ -2824,16 +2545,12 @@ export const CreateRoleResponse = /*@__PURE__*/ S.suspend(() =>
2824
2545
  viewCapabilities: S.optional(RoleViewCapabilities),
2825
2546
  id: S.String,
2826
2547
  }),
2827
- ).annotate({
2828
- identifier: "CreateRoleResponse",
2829
- }) as any as S.Schema<CreateRoleResponse>;
2548
+ ).annotate({ identifier: "CreateRoleResponse" }) as any as S.Schema<CreateRoleResponse>;
2830
2549
 
2831
2550
  export type CreateStarredRequestKind = "apl";
2832
2551
  export const CreateStarredRequestKind = S.String;
2833
2552
 
2834
- export type CreateStarredRequestMetadataMap = {
2835
- [key: string]: string | undefined;
2836
- };
2553
+ export type CreateStarredRequestMetadataMap = { [key: string]: string | undefined };
2837
2554
  export const CreateStarredRequestMetadataMap = /*@__PURE__*/ S.Record(
2838
2555
  S.String,
2839
2556
  S.String,
@@ -2852,8 +2569,7 @@ export const APLRequestWithOptionsDefaultOrder = /*@__PURE__*/ S.suspend(() =>
2852
2569
  identifier: "APLRequestWithOptionsDefaultOrder",
2853
2570
  }) as any as S.Schema<APLRequestWithOptionsDefaultOrder>;
2854
2571
 
2855
- export type APLRequestWithOptionsDefaultOrderList =
2856
- Array<APLRequestWithOptionsDefaultOrder>;
2572
+ export type APLRequestWithOptionsDefaultOrderList = Array<APLRequestWithOptionsDefaultOrder>;
2857
2573
  export const APLRequestWithOptionsDefaultOrderList = /*@__PURE__*/ S.Array(
2858
2574
  APLRequestWithOptionsDefaultOrder,
2859
2575
  ) as any as S.Schema<APLRequestWithOptionsDefaultOrderList>;
@@ -2870,19 +2586,10 @@ export const QueryOptionsPriority = S.String;
2870
2586
  export type QueryOptionsDisplayNull = "auto" | "null" | "span" | "zero" | "";
2871
2587
  export const QueryOptionsDisplayNull = S.String;
2872
2588
 
2873
- export type QueryOptionsTimeSeriesVariant =
2874
- | "area"
2875
- | "bars"
2876
- | "line"
2877
- | "lines"
2878
- | "";
2589
+ export type QueryOptionsTimeSeriesVariant = "area" | "bars" | "line" | "lines" | "";
2879
2590
  export const QueryOptionsTimeSeriesVariant = S.String;
2880
2591
 
2881
- export type QueryOptionsTimeSeriesView =
2882
- | "charts"
2883
- | "resultsTable"
2884
- | "charts|resultsTable"
2885
- | "";
2592
+ export type QueryOptionsTimeSeriesView = "charts" | "resultsTable" | "charts|resultsTable" | "";
2886
2593
  export const QueryOptionsTimeSeriesView = S.String;
2887
2594
 
2888
2595
  export interface QueryOptions {
@@ -2951,9 +2658,7 @@ export const APLRequestWithOptions = /*@__PURE__*/ S.suspend(() =>
2951
2658
  startTime: S.optional(S.String),
2952
2659
  variables: S.optional(S.Unknown),
2953
2660
  }),
2954
- ).annotate({
2955
- identifier: "APLRequestWithOptions",
2956
- }) as any as S.Schema<APLRequestWithOptions>;
2661
+ ).annotate({ identifier: "APLRequestWithOptions" }) as any as S.Schema<APLRequestWithOptions>;
2957
2662
 
2958
2663
  export interface CreateStarredRequest {
2959
2664
  dataset?: string;
@@ -2971,19 +2676,13 @@ export const CreateStarredRequest = /*@__PURE__*/ S.suspend(() =>
2971
2676
  name: S.String,
2972
2677
  query: APLRequestWithOptions,
2973
2678
  who: S.String,
2974
- }).pipe(
2975
- T.Http({ method: "POST", uri: "/v2/apl-starred-queries", code: 200 }),
2976
- ),
2977
- ).annotate({
2978
- identifier: "CreateStarredRequest",
2979
- }) as any as S.Schema<CreateStarredRequest>;
2679
+ }).pipe(T.Http({ method: "POST", uri: "/v2/apl-starred-queries", code: 200 })),
2680
+ ).annotate({ identifier: "CreateStarredRequest" }) as any as S.Schema<CreateStarredRequest>;
2980
2681
 
2981
2682
  export type CreateStarredResponseKind = "apl";
2982
2683
  export const CreateStarredResponseKind = S.String;
2983
2684
 
2984
- export type CreateStarredResponseMetadataMap = {
2985
- [key: string]: string | undefined;
2986
- };
2685
+ export type CreateStarredResponseMetadataMap = { [key: string]: string | undefined };
2987
2686
  export const CreateStarredResponseMetadataMap = /*@__PURE__*/ S.Record(
2988
2687
  S.String,
2989
2688
  S.String,
@@ -3008,9 +2707,7 @@ export const CreateStarredResponse = /*@__PURE__*/ S.suspend(() =>
3008
2707
  who: S.String,
3009
2708
  id: S.String,
3010
2709
  }),
3011
- ).annotate({
3012
- identifier: "CreateStarredResponse",
3013
- }) as any as S.Schema<CreateStarredResponse>;
2710
+ ).annotate({ identifier: "CreateStarredResponse" }) as any as S.Schema<CreateStarredResponse>;
3014
2711
 
3015
2712
  export interface CreateUserRequest {
3016
2713
  /** Email address of the new user */
@@ -3026,9 +2723,7 @@ export const CreateUserRequest = /*@__PURE__*/ S.suspend(() =>
3026
2723
  name: S.String,
3027
2724
  role: S.String,
3028
2725
  }).pipe(T.Http({ method: "POST", uri: "/v2/users", code: 200 })),
3029
- ).annotate({
3030
- identifier: "CreateUserRequest",
3031
- }) as any as S.Schema<CreateUserRequest>;
2726
+ ).annotate({ identifier: "CreateUserRequest" }) as any as S.Schema<CreateUserRequest>;
3032
2727
 
3033
2728
  /** Detailed information about a user's role */
3034
2729
  export interface UserDetailsRole {
@@ -3042,9 +2737,7 @@ export const UserDetailsRole = /*@__PURE__*/ S.suspend(() =>
3042
2737
  id: S.String,
3043
2738
  name: S.String,
3044
2739
  }),
3045
- ).annotate({
3046
- identifier: "UserDetailsRole",
3047
- }) as any as S.Schema<UserDetailsRole>;
2740
+ ).annotate({ identifier: "UserDetailsRole" }) as any as S.Schema<UserDetailsRole>;
3048
2741
 
3049
2742
  /** Represents a user in the system */
3050
2743
  export interface User {
@@ -3089,9 +2782,7 @@ export const CreateViewRequest = /*@__PURE__*/ S.suspend(() =>
3089
2782
  sharedByOrg: S.optional(S.String),
3090
2783
  sharedByOrgName: S.optional(S.String),
3091
2784
  }).pipe(T.Http({ method: "POST", uri: "/v2/views", code: 200 })),
3092
- ).annotate({
3093
- identifier: "CreateViewRequest",
3094
- }) as any as S.Schema<CreateViewRequest>;
2785
+ ).annotate({ identifier: "CreateViewRequest" }) as any as S.Schema<CreateViewRequest>;
3095
2786
 
3096
2787
  export type ViewDatasetsList = Array<string>;
3097
2788
  export const ViewDatasetsList = /*@__PURE__*/ S.Array(
@@ -3171,14 +2862,10 @@ export const DeleteAnnotationRequest = /*@__PURE__*/ S.suspend(() =>
3171
2862
  S.Struct({
3172
2863
  id: S.String.pipe(T.Label()),
3173
2864
  }).pipe(T.Http({ method: "DELETE", uri: "/v2/annotations/{id}", code: 200 })),
3174
- ).annotate({
3175
- identifier: "DeleteAnnotationRequest",
3176
- }) as any as S.Schema<DeleteAnnotationRequest>;
2865
+ ).annotate({ identifier: "DeleteAnnotationRequest" }) as any as S.Schema<DeleteAnnotationRequest>;
3177
2866
 
3178
2867
  export interface DeleteAnnotationResponse {}
3179
- export const DeleteAnnotationResponse = /*@__PURE__*/ S.suspend(() =>
3180
- S.Struct({}),
3181
- ).annotate({
2868
+ export const DeleteAnnotationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3182
2869
  identifier: "DeleteAnnotationResponse",
3183
2870
  }) as any as S.Schema<DeleteAnnotationResponse>;
3184
2871
 
@@ -3189,14 +2876,10 @@ export const DeleteAPITokenRequest = /*@__PURE__*/ S.suspend(() =>
3189
2876
  S.Struct({
3190
2877
  id: S.String.pipe(T.Label()),
3191
2878
  }).pipe(T.Http({ method: "DELETE", uri: "/v2/tokens/{id}", code: 200 })),
3192
- ).annotate({
3193
- identifier: "DeleteAPITokenRequest",
3194
- }) as any as S.Schema<DeleteAPITokenRequest>;
2879
+ ).annotate({ identifier: "DeleteAPITokenRequest" }) as any as S.Schema<DeleteAPITokenRequest>;
3195
2880
 
3196
2881
  export interface DeleteAPITokenResponse {}
3197
- export const DeleteAPITokenResponse = /*@__PURE__*/ S.suspend(() =>
3198
- S.Struct({}),
3199
- ).annotate({
2882
+ export const DeleteAPITokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3200
2883
  identifier: "DeleteAPITokenResponse",
3201
2884
  }) as any as S.Schema<DeleteAPITokenResponse>;
3202
2885
 
@@ -3206,17 +2889,11 @@ export interface DeleteDashboardRequest {
3206
2889
  export const DeleteDashboardRequest = /*@__PURE__*/ S.suspend(() =>
3207
2890
  S.Struct({
3208
2891
  uid: S.String.pipe(T.Label()),
3209
- }).pipe(
3210
- T.Http({ method: "DELETE", uri: "/v2/dashboards/uid/{uid}", code: 200 }),
3211
- ),
3212
- ).annotate({
3213
- identifier: "DeleteDashboardRequest",
3214
- }) as any as S.Schema<DeleteDashboardRequest>;
2892
+ }).pipe(T.Http({ method: "DELETE", uri: "/v2/dashboards/uid/{uid}", code: 200 })),
2893
+ ).annotate({ identifier: "DeleteDashboardRequest" }) as any as S.Schema<DeleteDashboardRequest>;
3215
2894
 
3216
2895
  export interface DeleteDashboardResponse {}
3217
- export const DeleteDashboardResponse = /*@__PURE__*/ S.suspend(() =>
3218
- S.Struct({}),
3219
- ).annotate({
2896
+ export const DeleteDashboardResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3220
2897
  identifier: "DeleteDashboardResponse",
3221
2898
  }) as any as S.Schema<DeleteDashboardResponse>;
3222
2899
 
@@ -3226,20 +2903,63 @@ export interface DeleteDatasetRequest {
3226
2903
  export const DeleteDatasetRequest = /*@__PURE__*/ S.suspend(() =>
3227
2904
  S.Struct({
3228
2905
  dataset_id: S.String.pipe(T.Label()),
3229
- }).pipe(
3230
- T.Http({ method: "DELETE", uri: "/v2/datasets/{dataset_id}", code: 200 }),
3231
- ),
3232
- ).annotate({
3233
- identifier: "DeleteDatasetRequest",
3234
- }) as any as S.Schema<DeleteDatasetRequest>;
2906
+ }).pipe(T.Http({ method: "DELETE", uri: "/v2/datasets/{dataset_id}", code: 200 })),
2907
+ ).annotate({ identifier: "DeleteDatasetRequest" }) as any as S.Schema<DeleteDatasetRequest>;
3235
2908
 
3236
2909
  export interface DeleteDatasetResponse {}
3237
- export const DeleteDatasetResponse = /*@__PURE__*/ S.suspend(() =>
3238
- S.Struct({}),
3239
- ).annotate({
2910
+ export const DeleteDatasetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3240
2911
  identifier: "DeleteDatasetResponse",
3241
2912
  }) as any as S.Schema<DeleteDatasetResponse>;
3242
2913
 
2914
+ export type DeleteDatasetFieldsRequestFieldsList = Array<string>;
2915
+ export const DeleteDatasetFieldsRequestFieldsList = /*@__PURE__*/ S.Array(
2916
+ S.String,
2917
+ ) as any as S.Schema<DeleteDatasetFieldsRequestFieldsList>;
2918
+
2919
+ export interface DeleteDatasetFieldsRequest {
2920
+ dataset_id: string;
2921
+ fields: DeleteDatasetFieldsRequestFieldsList;
2922
+ }
2923
+ export const DeleteDatasetFieldsRequest = /*@__PURE__*/ S.suspend(() =>
2924
+ S.Struct({
2925
+ dataset_id: S.String.pipe(T.Label()),
2926
+ fields: DeleteDatasetFieldsRequestFieldsList,
2927
+ }).pipe(T.Http({ method: "POST", uri: "/v2/datasets/{dataset_id}/delete-fields", code: 200 })),
2928
+ ).annotate({
2929
+ identifier: "DeleteDatasetFieldsRequest",
2930
+ }) as any as S.Schema<DeleteDatasetFieldsRequest>;
2931
+
2932
+ export type DeleteDatasetFieldsResultFieldsList = Array<string>;
2933
+ export const DeleteDatasetFieldsResultFieldsList = /*@__PURE__*/ S.Array(
2934
+ S.String,
2935
+ ) as any as S.Schema<DeleteDatasetFieldsResultFieldsList>;
2936
+
2937
+ export interface DeleteDatasetFieldsResult {
2938
+ fields?: DeleteDatasetFieldsResultFieldsList;
2939
+ }
2940
+ export const DeleteDatasetFieldsResult = /*@__PURE__*/ S.suspend(() =>
2941
+ S.Struct({
2942
+ fields: S.optional(DeleteDatasetFieldsResultFieldsList),
2943
+ }),
2944
+ ).annotate({
2945
+ identifier: "DeleteDatasetFieldsResult",
2946
+ }) as any as S.Schema<DeleteDatasetFieldsResult>;
2947
+
2948
+ export interface DeleteFieldForDatasetRequest {
2949
+ dataset_id: string;
2950
+ field_id: string;
2951
+ }
2952
+ export const DeleteFieldForDatasetRequest = /*@__PURE__*/ S.suspend(() =>
2953
+ S.Struct({
2954
+ dataset_id: S.String.pipe(T.Label()),
2955
+ field_id: S.String.pipe(T.Label()),
2956
+ }).pipe(
2957
+ T.Http({ method: "DELETE", uri: "/v2/datasets/{dataset_id}/fields/{field_id}", code: 200 }),
2958
+ ),
2959
+ ).annotate({
2960
+ identifier: "DeleteFieldForDatasetRequest",
2961
+ }) as any as S.Schema<DeleteFieldForDatasetRequest>;
2962
+
3243
2963
  export interface DeleteGroupRequest {
3244
2964
  /** Unique identifier of the group to delete */
3245
2965
  id: string;
@@ -3248,14 +2968,10 @@ export const DeleteGroupRequest = /*@__PURE__*/ S.suspend(() =>
3248
2968
  S.Struct({
3249
2969
  id: S.String.pipe(T.Label()),
3250
2970
  }).pipe(T.Http({ method: "DELETE", uri: "/v2/rbac/groups/{id}", code: 200 })),
3251
- ).annotate({
3252
- identifier: "DeleteGroupRequest",
3253
- }) as any as S.Schema<DeleteGroupRequest>;
2971
+ ).annotate({ identifier: "DeleteGroupRequest" }) as any as S.Schema<DeleteGroupRequest>;
3254
2972
 
3255
2973
  export interface DeleteGroupResponse {}
3256
- export const DeleteGroupResponse = /*@__PURE__*/ S.suspend(() =>
3257
- S.Struct({}),
3258
- ).annotate({
2974
+ export const DeleteGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3259
2975
  identifier: "DeleteGroupResponse",
3260
2976
  }) as any as S.Schema<DeleteGroupResponse>;
3261
2977
 
@@ -3274,14 +2990,10 @@ export const DeleteMapFieldRequest = /*@__PURE__*/ S.suspend(() =>
3274
2990
  code: 200,
3275
2991
  }),
3276
2992
  ),
3277
- ).annotate({
3278
- identifier: "DeleteMapFieldRequest",
3279
- }) as any as S.Schema<DeleteMapFieldRequest>;
2993
+ ).annotate({ identifier: "DeleteMapFieldRequest" }) as any as S.Schema<DeleteMapFieldRequest>;
3280
2994
 
3281
2995
  export interface DeleteMapFieldResponse {}
3282
- export const DeleteMapFieldResponse = /*@__PURE__*/ S.suspend(() =>
3283
- S.Struct({}),
3284
- ).annotate({
2996
+ export const DeleteMapFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3285
2997
  identifier: "DeleteMapFieldResponse",
3286
2998
  }) as any as S.Schema<DeleteMapFieldResponse>;
3287
2999
 
@@ -3292,14 +3004,10 @@ export const DeleteMonitorRequest = /*@__PURE__*/ S.suspend(() =>
3292
3004
  S.Struct({
3293
3005
  id: S.String.pipe(T.Label()),
3294
3006
  }).pipe(T.Http({ method: "DELETE", uri: "/v2/monitors/{id}", code: 200 })),
3295
- ).annotate({
3296
- identifier: "DeleteMonitorRequest",
3297
- }) as any as S.Schema<DeleteMonitorRequest>;
3007
+ ).annotate({ identifier: "DeleteMonitorRequest" }) as any as S.Schema<DeleteMonitorRequest>;
3298
3008
 
3299
3009
  export interface DeleteMonitorResponse {}
3300
- export const DeleteMonitorResponse = /*@__PURE__*/ S.suspend(() =>
3301
- S.Struct({}),
3302
- ).annotate({
3010
+ export const DeleteMonitorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3303
3011
  identifier: "DeleteMonitorResponse",
3304
3012
  }) as any as S.Schema<DeleteMonitorResponse>;
3305
3013
 
@@ -3310,14 +3018,10 @@ export const DeleteNotifierRequest = /*@__PURE__*/ S.suspend(() =>
3310
3018
  S.Struct({
3311
3019
  id: S.String.pipe(T.Label()),
3312
3020
  }).pipe(T.Http({ method: "DELETE", uri: "/v2/notifiers/{id}", code: 200 })),
3313
- ).annotate({
3314
- identifier: "DeleteNotifierRequest",
3315
- }) as any as S.Schema<DeleteNotifierRequest>;
3021
+ ).annotate({ identifier: "DeleteNotifierRequest" }) as any as S.Schema<DeleteNotifierRequest>;
3316
3022
 
3317
3023
  export interface DeleteNotifierResponse {}
3318
- export const DeleteNotifierResponse = /*@__PURE__*/ S.suspend(() =>
3319
- S.Struct({}),
3320
- ).annotate({
3024
+ export const DeleteNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3321
3025
  identifier: "DeleteNotifierResponse",
3322
3026
  }) as any as S.Schema<DeleteNotifierResponse>;
3323
3027
 
@@ -3329,14 +3033,10 @@ export const DeleteRoleRequest = /*@__PURE__*/ S.suspend(() =>
3329
3033
  S.Struct({
3330
3034
  id: S.String.pipe(T.Label()),
3331
3035
  }).pipe(T.Http({ method: "DELETE", uri: "/v2/rbac/roles/{id}", code: 200 })),
3332
- ).annotate({
3333
- identifier: "DeleteRoleRequest",
3334
- }) as any as S.Schema<DeleteRoleRequest>;
3036
+ ).annotate({ identifier: "DeleteRoleRequest" }) as any as S.Schema<DeleteRoleRequest>;
3335
3037
 
3336
3038
  export interface DeleteRoleResponse {}
3337
- export const DeleteRoleResponse = /*@__PURE__*/ S.suspend(() =>
3338
- S.Struct({}),
3339
- ).annotate({
3039
+ export const DeleteRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3340
3040
  identifier: "DeleteRoleResponse",
3341
3041
  }) as any as S.Schema<DeleteRoleResponse>;
3342
3042
 
@@ -3346,21 +3046,11 @@ export interface DeleteStarredRequest {
3346
3046
  export const DeleteStarredRequest = /*@__PURE__*/ S.suspend(() =>
3347
3047
  S.Struct({
3348
3048
  id: S.String.pipe(T.Label()),
3349
- }).pipe(
3350
- T.Http({
3351
- method: "DELETE",
3352
- uri: "/v2/apl-starred-queries/{id}",
3353
- code: 200,
3354
- }),
3355
- ),
3356
- ).annotate({
3357
- identifier: "DeleteStarredRequest",
3358
- }) as any as S.Schema<DeleteStarredRequest>;
3049
+ }).pipe(T.Http({ method: "DELETE", uri: "/v2/apl-starred-queries/{id}", code: 200 })),
3050
+ ).annotate({ identifier: "DeleteStarredRequest" }) as any as S.Schema<DeleteStarredRequest>;
3359
3051
 
3360
3052
  export interface DeleteStarredResponse {}
3361
- export const DeleteStarredResponse = /*@__PURE__*/ S.suspend(() =>
3362
- S.Struct({}),
3363
- ).annotate({
3053
+ export const DeleteStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3364
3054
  identifier: "DeleteStarredResponse",
3365
3055
  }) as any as S.Schema<DeleteStarredResponse>;
3366
3056
 
@@ -3371,14 +3061,10 @@ export const DeleteViewRequest = /*@__PURE__*/ S.suspend(() =>
3371
3061
  S.Struct({
3372
3062
  id: S.String.pipe(T.Label()),
3373
3063
  }).pipe(T.Http({ method: "DELETE", uri: "/v2/views/{id}", code: 200 })),
3374
- ).annotate({
3375
- identifier: "DeleteViewRequest",
3376
- }) as any as S.Schema<DeleteViewRequest>;
3064
+ ).annotate({ identifier: "DeleteViewRequest" }) as any as S.Schema<DeleteViewRequest>;
3377
3065
 
3378
3066
  export interface DeleteViewResponse {}
3379
- export const DeleteViewResponse = /*@__PURE__*/ S.suspend(() =>
3380
- S.Struct({}),
3381
- ).annotate({
3067
+ export const DeleteViewResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3382
3068
  identifier: "DeleteViewResponse",
3383
3069
  }) as any as S.Schema<DeleteViewResponse>;
3384
3070
 
@@ -3394,9 +3080,7 @@ export const DeleteVirtualFieldRequest = /*@__PURE__*/ S.suspend(() =>
3394
3080
  }) as any as S.Schema<DeleteVirtualFieldRequest>;
3395
3081
 
3396
3082
  export interface DeleteVirtualFieldResponse {}
3397
- export const DeleteVirtualFieldResponse = /*@__PURE__*/ S.suspend(() =>
3398
- S.Struct({}),
3399
- ).annotate({
3083
+ export const DeleteVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
3400
3084
  identifier: "DeleteVirtualFieldResponse",
3401
3085
  }) as any as S.Schema<DeleteVirtualFieldResponse>;
3402
3086
 
@@ -3408,9 +3092,7 @@ export const GetAnnotationRequest = /*@__PURE__*/ S.suspend(() =>
3408
3092
  S.Struct({
3409
3093
  id: S.String.pipe(T.Label()),
3410
3094
  }).pipe(T.Http({ method: "GET", uri: "/v2/annotations/{id}", code: 200 })),
3411
- ).annotate({
3412
- identifier: "GetAnnotationRequest",
3413
- }) as any as S.Schema<GetAnnotationRequest>;
3095
+ ).annotate({ identifier: "GetAnnotationRequest" }) as any as S.Schema<GetAnnotationRequest>;
3414
3096
 
3415
3097
  export type GetAnnotationsRequestDatasetsList = Array<string>;
3416
3098
  export const GetAnnotationsRequestDatasetsList = /*@__PURE__*/ S.Array(
@@ -3431,9 +3113,7 @@ export const GetAnnotationsRequest = /*@__PURE__*/ S.suspend(() =>
3431
3113
  start: S.optional(S.String.pipe(T.Query())),
3432
3114
  end: S.optional(S.String.pipe(T.Query())),
3433
3115
  }).pipe(T.Http({ method: "GET", uri: "/v2/annotations", code: 200 })),
3434
- ).annotate({
3435
- identifier: "GetAnnotationsRequest",
3436
- }) as any as S.Schema<GetAnnotationsRequest>;
3116
+ ).annotate({ identifier: "GetAnnotationsRequest" }) as any as S.Schema<GetAnnotationsRequest>;
3437
3117
 
3438
3118
  export type GetAnnotationsResponseBodyList = Array<Annotation>;
3439
3119
  export const GetAnnotationsResponseBodyList = /*@__PURE__*/ S.Array(
@@ -3443,9 +3123,7 @@ export const GetAnnotationsResponseBodyList = /*@__PURE__*/ S.Array(
3443
3123
  export type GetAnnotationsResponse = GetAnnotationsResponseBodyList;
3444
3124
  export const GetAnnotationsResponse = /*@__PURE__*/ S.suspend(() =>
3445
3125
  GetAnnotationsResponseBodyList.pipe(T.RawResponseRoot()),
3446
- ).annotate({
3447
- identifier: "GetAnnotationsResponse",
3448
- }) as any as S.Schema<GetAnnotationsResponse>;
3126
+ ).annotate({ identifier: "GetAnnotationsResponse" }) as any as S.Schema<GetAnnotationsResponse>;
3449
3127
 
3450
3128
  export interface GetAPITokenRequest {
3451
3129
  id: string;
@@ -3454,9 +3132,7 @@ export const GetAPITokenRequest = /*@__PURE__*/ S.suspend(() =>
3454
3132
  S.Struct({
3455
3133
  id: S.String.pipe(T.Label()),
3456
3134
  }).pipe(T.Http({ method: "GET", uri: "/v2/tokens/{id}", code: 200 })),
3457
- ).annotate({
3458
- identifier: "GetAPITokenRequest",
3459
- }) as any as S.Schema<GetAPITokenRequest>;
3135
+ ).annotate({ identifier: "GetAPITokenRequest" }) as any as S.Schema<GetAPITokenRequest>;
3460
3136
 
3461
3137
  export interface APIToken {
3462
3138
  datasetCapabilities: DatasetCapabilities;
@@ -3488,9 +3164,7 @@ export const APIToken = /*@__PURE__*/ S.suspend(() =>
3488
3164
  export interface GetAPITokensRequest {}
3489
3165
  export const GetAPITokensRequest = /*@__PURE__*/ S.suspend(() =>
3490
3166
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/tokens", code: 200 })),
3491
- ).annotate({
3492
- identifier: "GetAPITokensRequest",
3493
- }) as any as S.Schema<GetAPITokensRequest>;
3167
+ ).annotate({ identifier: "GetAPITokensRequest" }) as any as S.Schema<GetAPITokensRequest>;
3494
3168
 
3495
3169
  export type GetAPITokensResponseBodyList = Array<APIToken>;
3496
3170
  export const GetAPITokensResponseBodyList = /*@__PURE__*/ S.Array(
@@ -3500,16 +3174,12 @@ export const GetAPITokensResponseBodyList = /*@__PURE__*/ S.Array(
3500
3174
  export type GetAPITokensResponse = GetAPITokensResponseBodyList;
3501
3175
  export const GetAPITokensResponse = /*@__PURE__*/ S.suspend(() =>
3502
3176
  GetAPITokensResponseBodyList.pipe(T.RawResponseRoot()),
3503
- ).annotate({
3504
- identifier: "GetAPITokensResponse",
3505
- }) as any as S.Schema<GetAPITokensResponse>;
3177
+ ).annotate({ identifier: "GetAPITokensResponse" }) as any as S.Schema<GetAPITokensResponse>;
3506
3178
 
3507
3179
  export interface GetCurrentUserRequest {}
3508
3180
  export const GetCurrentUserRequest = /*@__PURE__*/ S.suspend(() =>
3509
3181
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/user", code: 200 })),
3510
- ).annotate({
3511
- identifier: "GetCurrentUserRequest",
3512
- }) as any as S.Schema<GetCurrentUserRequest>;
3182
+ ).annotate({ identifier: "GetCurrentUserRequest" }) as any as S.Schema<GetCurrentUserRequest>;
3513
3183
 
3514
3184
  export interface GetDashboardRequest {
3515
3185
  uid: string;
@@ -3517,12 +3187,8 @@ export interface GetDashboardRequest {
3517
3187
  export const GetDashboardRequest = /*@__PURE__*/ S.suspend(() =>
3518
3188
  S.Struct({
3519
3189
  uid: S.String.pipe(T.Label()),
3520
- }).pipe(
3521
- T.Http({ method: "GET", uri: "/v2/dashboards/uid/{uid}", code: 200 }),
3522
- ),
3523
- ).annotate({
3524
- identifier: "GetDashboardRequest",
3525
- }) as any as S.Schema<GetDashboardRequest>;
3190
+ }).pipe(T.Http({ method: "GET", uri: "/v2/dashboards/uid/{uid}", code: 200 })),
3191
+ ).annotate({ identifier: "GetDashboardRequest" }) as any as S.Schema<GetDashboardRequest>;
3526
3192
 
3527
3193
  export interface GetDatasetRequest {
3528
3194
  dataset_id: string;
@@ -3530,19 +3196,13 @@ export interface GetDatasetRequest {
3530
3196
  export const GetDatasetRequest = /*@__PURE__*/ S.suspend(() =>
3531
3197
  S.Struct({
3532
3198
  dataset_id: S.String.pipe(T.Label()),
3533
- }).pipe(
3534
- T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}", code: 200 }),
3535
- ),
3536
- ).annotate({
3537
- identifier: "GetDatasetRequest",
3538
- }) as any as S.Schema<GetDatasetRequest>;
3199
+ }).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}", code: 200 })),
3200
+ ).annotate({ identifier: "GetDatasetRequest" }) as any as S.Schema<GetDatasetRequest>;
3539
3201
 
3540
3202
  export interface GetDatasetsRequest {}
3541
3203
  export const GetDatasetsRequest = /*@__PURE__*/ S.suspend(() =>
3542
3204
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/datasets", code: 200 })),
3543
- ).annotate({
3544
- identifier: "GetDatasetsRequest",
3545
- }) as any as S.Schema<GetDatasetsRequest>;
3205
+ ).annotate({ identifier: "GetDatasetsRequest" }) as any as S.Schema<GetDatasetsRequest>;
3546
3206
 
3547
3207
  export type GetDatasetsResponseBodyList = Array<Dataset>;
3548
3208
  export const GetDatasetsResponseBodyList = /*@__PURE__*/ S.Array(
@@ -3552,9 +3212,7 @@ export const GetDatasetsResponseBodyList = /*@__PURE__*/ S.Array(
3552
3212
  export type GetDatasetsResponse = GetDatasetsResponseBodyList;
3553
3213
  export const GetDatasetsResponse = /*@__PURE__*/ S.suspend(() =>
3554
3214
  GetDatasetsResponseBodyList.pipe(T.RawResponseRoot()),
3555
- ).annotate({
3556
- identifier: "GetDatasetsResponse",
3557
- }) as any as S.Schema<GetDatasetsResponse>;
3215
+ ).annotate({ identifier: "GetDatasetsResponse" }) as any as S.Schema<GetDatasetsResponse>;
3558
3216
 
3559
3217
  export interface GetFieldForDatasetRequest {
3560
3218
  dataset_id: string;
@@ -3564,13 +3222,7 @@ export const GetFieldForDatasetRequest = /*@__PURE__*/ S.suspend(() =>
3564
3222
  S.Struct({
3565
3223
  dataset_id: S.String.pipe(T.Label()),
3566
3224
  field_id: S.String.pipe(T.Label()),
3567
- }).pipe(
3568
- T.Http({
3569
- method: "GET",
3570
- uri: "/v2/datasets/{dataset_id}/fields/{field_id}",
3571
- code: 200,
3572
- }),
3573
- ),
3225
+ }).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}/fields/{field_id}", code: 200 })),
3574
3226
  ).annotate({
3575
3227
  identifier: "GetFieldForDatasetRequest",
3576
3228
  }) as any as S.Schema<GetFieldForDatasetRequest>;
@@ -3603,13 +3255,7 @@ export interface GetFieldsForDatasetRequest {
3603
3255
  export const GetFieldsForDatasetRequest = /*@__PURE__*/ S.suspend(() =>
3604
3256
  S.Struct({
3605
3257
  dataset_id: S.String.pipe(T.Label()),
3606
- }).pipe(
3607
- T.Http({
3608
- method: "GET",
3609
- uri: "/v2/datasets/{dataset_id}/fields",
3610
- code: 200,
3611
- }),
3612
- ),
3258
+ }).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}/fields", code: 200 })),
3613
3259
  ).annotate({
3614
3260
  identifier: "GetFieldsForDatasetRequest",
3615
3261
  }) as any as S.Schema<GetFieldsForDatasetRequest>;
@@ -3634,9 +3280,7 @@ export const GetGroupByIdRequest = /*@__PURE__*/ S.suspend(() =>
3634
3280
  S.Struct({
3635
3281
  id: S.String.pipe(T.Label()),
3636
3282
  }).pipe(T.Http({ method: "GET", uri: "/v2/rbac/groups/{id}", code: 200 })),
3637
- ).annotate({
3638
- identifier: "GetGroupByIdRequest",
3639
- }) as any as S.Schema<GetGroupByIdRequest>;
3283
+ ).annotate({ identifier: "GetGroupByIdRequest" }) as any as S.Schema<GetGroupByIdRequest>;
3640
3284
 
3641
3285
  /** List of user IDs that are assigned to this group */
3642
3286
  export type GetGroupByIdResponseMembersList = Array<string>;
@@ -3673,9 +3317,7 @@ export const GetGroupByIdResponse = /*@__PURE__*/ S.suspend(() =>
3673
3317
  roles: S.optional(GetGroupByIdResponseRolesList),
3674
3318
  id: S.String,
3675
3319
  }),
3676
- ).annotate({
3677
- identifier: "GetGroupByIdResponse",
3678
- }) as any as S.Schema<GetGroupByIdResponse>;
3320
+ ).annotate({ identifier: "GetGroupByIdResponse" }) as any as S.Schema<GetGroupByIdResponse>;
3679
3321
 
3680
3322
  export interface GetMapFieldsRequest {
3681
3323
  dataset_id: string;
@@ -3683,29 +3325,17 @@ export interface GetMapFieldsRequest {
3683
3325
  export const GetMapFieldsRequest = /*@__PURE__*/ S.suspend(() =>
3684
3326
  S.Struct({
3685
3327
  dataset_id: S.String.pipe(T.Label()),
3686
- }).pipe(
3687
- T.Http({
3688
- method: "GET",
3689
- uri: "/v2/datasets/{dataset_id}/mapfields",
3690
- code: 200,
3691
- }),
3692
- ),
3693
- ).annotate({
3694
- identifier: "GetMapFieldsRequest",
3695
- }) as any as S.Schema<GetMapFieldsRequest>;
3328
+ }).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}/mapfields", code: 200 })),
3329
+ ).annotate({ identifier: "GetMapFieldsRequest" }) as any as S.Schema<GetMapFieldsRequest>;
3696
3330
 
3697
3331
  /** A list of map field names */
3698
3332
  export type MapFields = Array<string>;
3699
- export const MapFields = /*@__PURE__*/ S.Array(
3700
- S.String,
3701
- ) as any as S.Schema<MapFields>;
3333
+ export const MapFields = /*@__PURE__*/ S.Array(S.String) as any as S.Schema<MapFields>;
3702
3334
 
3703
3335
  export type GetMapFieldsResponse = MapFields;
3704
3336
  export const GetMapFieldsResponse = /*@__PURE__*/ S.suspend(() =>
3705
3337
  MapFields.pipe(T.RawResponseRoot()),
3706
- ).annotate({
3707
- identifier: "GetMapFieldsResponse",
3708
- }) as any as S.Schema<GetMapFieldsResponse>;
3338
+ ).annotate({ identifier: "GetMapFieldsResponse" }) as any as S.Schema<GetMapFieldsResponse>;
3709
3339
 
3710
3340
  export interface GetMonitorRequest {
3711
3341
  /** Unique identifier of the monitor (format: mon_*) */
@@ -3715,9 +3345,7 @@ export const GetMonitorRequest = /*@__PURE__*/ S.suspend(() =>
3715
3345
  S.Struct({
3716
3346
  id: S.String.pipe(T.Label()),
3717
3347
  }).pipe(T.Http({ method: "GET", uri: "/v2/monitors/{id}", code: 200 })),
3718
- ).annotate({
3719
- identifier: "GetMonitorRequest",
3720
- }) as any as S.Schema<GetMonitorRequest>;
3348
+ ).annotate({ identifier: "GetMonitorRequest" }) as any as S.Schema<GetMonitorRequest>;
3721
3349
 
3722
3350
  /** List of notifier IDs that will receive alerts. Notifiers can be email, Slack, webhook endpoints, etc. */
3723
3351
  export type GetMonitorResponseNotifierIdsList = Array<string>;
@@ -3735,10 +3363,7 @@ export type GetMonitorResponseOperator =
3735
3363
  export const GetMonitorResponseOperator = S.String;
3736
3364
 
3737
3365
  /** Type of monitoring check to perform: - Threshold: Compares a numeric value against a threshold - MatchEvent: Looks for specific events or patterns - AnomalyDetection: Identifies unusual patterns based on historical data */
3738
- export type GetMonitorResponseType =
3739
- | "Threshold"
3740
- | "MatchEvent"
3741
- | "AnomalyDetection";
3366
+ export type GetMonitorResponseType = "Threshold" | "MatchEvent" | "AnomalyDetection";
3742
3367
  export const GetMonitorResponseType = S.String;
3743
3368
 
3744
3369
  export interface GetMonitorResponse {
@@ -3827,9 +3452,7 @@ export const GetMonitorResponse = /*@__PURE__*/ S.suspend(() =>
3827
3452
  updatedAt: S.optional(S.String),
3828
3453
  id: S.String,
3829
3454
  }),
3830
- ).annotate({
3831
- identifier: "GetMonitorResponse",
3832
- }) as any as S.Schema<GetMonitorResponse>;
3455
+ ).annotate({ identifier: "GetMonitorResponse" }) as any as S.Schema<GetMonitorResponse>;
3833
3456
 
3834
3457
  export interface GetMonitorHistoryRequest {
3835
3458
  id: string;
@@ -3843,12 +3466,8 @@ export const GetMonitorHistoryRequest = /*@__PURE__*/ S.suspend(() =>
3843
3466
  id: S.String.pipe(T.Label()),
3844
3467
  startTime: S.String.pipe(T.Query()),
3845
3468
  endTime: S.String.pipe(T.Query()),
3846
- }).pipe(
3847
- T.Http({ method: "GET", uri: "/v2/monitors/{id}/history", code: 200 }),
3848
- ),
3849
- ).annotate({
3850
- identifier: "GetMonitorHistoryRequest",
3851
- }) as any as S.Schema<GetMonitorHistoryRequest>;
3469
+ }).pipe(T.Http({ method: "GET", uri: "/v2/monitors/{id}/history", code: 200 })),
3470
+ ).annotate({ identifier: "GetMonitorHistoryRequest" }) as any as S.Schema<GetMonitorHistoryRequest>;
3852
3471
 
3853
3472
  /** Current state of the alert */
3854
3473
  export type AlertHistoryState = "open" | "closed";
@@ -3889,9 +3508,7 @@ export const GetMonitorHistoryResponse = /*@__PURE__*/ S.suspend(() =>
3889
3508
  export interface GetMonitorsRequest {}
3890
3509
  export const GetMonitorsRequest = /*@__PURE__*/ S.suspend(() =>
3891
3510
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/monitors", code: 200 })),
3892
- ).annotate({
3893
- identifier: "GetMonitorsRequest",
3894
- }) as any as S.Schema<GetMonitorsRequest>;
3511
+ ).annotate({ identifier: "GetMonitorsRequest" }) as any as S.Schema<GetMonitorsRequest>;
3895
3512
 
3896
3513
  /** List of notifier IDs that will receive alerts. Notifiers can be email, Slack, webhook endpoints, etc. */
3897
3514
  export type MonitorWithIdNotifierIdsList = Array<string>;
@@ -4009,9 +3626,7 @@ export const GetMonitorsResponseBodyList = /*@__PURE__*/ S.Array(
4009
3626
  export type GetMonitorsResponse = GetMonitorsResponseBodyList;
4010
3627
  export const GetMonitorsResponse = /*@__PURE__*/ S.suspend(() =>
4011
3628
  GetMonitorsResponseBodyList.pipe(T.RawResponseRoot()),
4012
- ).annotate({
4013
- identifier: "GetMonitorsResponse",
4014
- }) as any as S.Schema<GetMonitorsResponse>;
3629
+ ).annotate({ identifier: "GetMonitorsResponse" }) as any as S.Schema<GetMonitorsResponse>;
4015
3630
 
4016
3631
  export interface GetNotifierRequest {
4017
3632
  /** Unique identifier of the notifier (format: notify_*) */
@@ -4021,9 +3636,7 @@ export const GetNotifierRequest = /*@__PURE__*/ S.suspend(() =>
4021
3636
  S.Struct({
4022
3637
  id: S.String.pipe(T.Label()),
4023
3638
  }).pipe(T.Http({ method: "GET", uri: "/v2/notifiers/{id}", code: 200 })),
4024
- ).annotate({
4025
- identifier: "GetNotifierRequest",
4026
- }) as any as S.Schema<GetNotifierRequest>;
3639
+ ).annotate({ identifier: "GetNotifierRequest" }) as any as S.Schema<GetNotifierRequest>;
4027
3640
 
4028
3641
  export interface GetNotifierResponse {
4029
3642
  /** Timestamp when the notifier was created */
@@ -4050,16 +3663,12 @@ export const GetNotifierResponse = /*@__PURE__*/ S.suspend(() =>
4050
3663
  updatedAt: S.optional(S.String),
4051
3664
  id: S.optional(S.String),
4052
3665
  }),
4053
- ).annotate({
4054
- identifier: "GetNotifierResponse",
4055
- }) as any as S.Schema<GetNotifierResponse>;
3666
+ ).annotate({ identifier: "GetNotifierResponse" }) as any as S.Schema<GetNotifierResponse>;
4056
3667
 
4057
3668
  export interface GetNotifiersRequest {}
4058
3669
  export const GetNotifiersRequest = /*@__PURE__*/ S.suspend(() =>
4059
3670
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/notifiers", code: 200 })),
4060
- ).annotate({
4061
- identifier: "GetNotifiersRequest",
4062
- }) as any as S.Schema<GetNotifiersRequest>;
3671
+ ).annotate({ identifier: "GetNotifiersRequest" }) as any as S.Schema<GetNotifiersRequest>;
4063
3672
 
4064
3673
  /** Notifier configuration with its unique identifier */
4065
3674
  export interface NotifierWithId {
@@ -4097,9 +3706,7 @@ export const GetNotifiersResponseBodyList = /*@__PURE__*/ S.Array(
4097
3706
  export type GetNotifiersResponse = GetNotifiersResponseBodyList;
4098
3707
  export const GetNotifiersResponse = /*@__PURE__*/ S.suspend(() =>
4099
3708
  GetNotifiersResponseBodyList.pipe(T.RawResponseRoot()),
4100
- ).annotate({
4101
- identifier: "GetNotifiersResponse",
4102
- }) as any as S.Schema<GetNotifiersResponse>;
3709
+ ).annotate({ identifier: "GetNotifiersResponse" }) as any as S.Schema<GetNotifiersResponse>;
4103
3710
 
4104
3711
  export interface GetOrgRequest {
4105
3712
  id: string;
@@ -4123,9 +3730,7 @@ export const GetOrgsResponseBodyList = /*@__PURE__*/ S.Array(
4123
3730
  export type GetOrgsResponse = GetOrgsResponseBodyList;
4124
3731
  export const GetOrgsResponse = /*@__PURE__*/ S.suspend(() =>
4125
3732
  GetOrgsResponseBodyList.pipe(T.RawResponseRoot()),
4126
- ).annotate({
4127
- identifier: "GetOrgsResponse",
4128
- }) as any as S.Schema<GetOrgsResponse>;
3733
+ ).annotate({ identifier: "GetOrgsResponse" }) as any as S.Schema<GetOrgsResponse>;
4129
3734
 
4130
3735
  export interface GetRoleByIdRequest {
4131
3736
  /** Unique identifier of the role to retrieve */
@@ -4135,9 +3740,7 @@ export const GetRoleByIdRequest = /*@__PURE__*/ S.suspend(() =>
4135
3740
  S.Struct({
4136
3741
  id: S.String.pipe(T.Label()),
4137
3742
  }).pipe(T.Http({ method: "GET", uri: "/v2/rbac/roles/{id}", code: 200 })),
4138
- ).annotate({
4139
- identifier: "GetRoleByIdRequest",
4140
- }) as any as S.Schema<GetRoleByIdRequest>;
3743
+ ).annotate({ identifier: "GetRoleByIdRequest" }) as any as S.Schema<GetRoleByIdRequest>;
4141
3744
 
4142
3745
  /** List of user IDs that are assigned to this role */
4143
3746
  export type GetRoleByIdResponseMembersList = Array<string>;
@@ -4168,9 +3771,7 @@ export const GetRoleByIdResponse = /*@__PURE__*/ S.suspend(() =>
4168
3771
  viewCapabilities: S.optional(RoleViewCapabilities),
4169
3772
  id: S.String,
4170
3773
  }),
4171
- ).annotate({
4172
- identifier: "GetRoleByIdResponse",
4173
- }) as any as S.Schema<GetRoleByIdResponse>;
3774
+ ).annotate({ identifier: "GetRoleByIdResponse" }) as any as S.Schema<GetRoleByIdResponse>;
4174
3775
 
4175
3776
  export interface GetStarredRequest {
4176
3777
  id: string;
@@ -4178,19 +3779,13 @@ export interface GetStarredRequest {
4178
3779
  export const GetStarredRequest = /*@__PURE__*/ S.suspend(() =>
4179
3780
  S.Struct({
4180
3781
  id: S.String.pipe(T.Label()),
4181
- }).pipe(
4182
- T.Http({ method: "GET", uri: "/v2/apl-starred-queries/{id}", code: 200 }),
4183
- ),
4184
- ).annotate({
4185
- identifier: "GetStarredRequest",
4186
- }) as any as S.Schema<GetStarredRequest>;
3782
+ }).pipe(T.Http({ method: "GET", uri: "/v2/apl-starred-queries/{id}", code: 200 })),
3783
+ ).annotate({ identifier: "GetStarredRequest" }) as any as S.Schema<GetStarredRequest>;
4187
3784
 
4188
3785
  export type GetStarredResponseKind = "apl";
4189
3786
  export const GetStarredResponseKind = S.String;
4190
3787
 
4191
- export type GetStarredResponseMetadataMap = {
4192
- [key: string]: string | undefined;
4193
- };
3788
+ export type GetStarredResponseMetadataMap = { [key: string]: string | undefined };
4194
3789
  export const GetStarredResponseMetadataMap = /*@__PURE__*/ S.Record(
4195
3790
  S.String,
4196
3791
  S.String,
@@ -4215,9 +3810,7 @@ export const GetStarredResponse = /*@__PURE__*/ S.suspend(() =>
4215
3810
  who: S.String,
4216
3811
  id: S.String,
4217
3812
  }),
4218
- ).annotate({
4219
- identifier: "GetStarredResponse",
4220
- }) as any as S.Schema<GetStarredResponse>;
3813
+ ).annotate({ identifier: "GetStarredResponse" }) as any as S.Schema<GetStarredResponse>;
4221
3814
 
4222
3815
  export interface GetStarredQueriesRequest {
4223
3816
  limit?: number;
@@ -4235,16 +3828,12 @@ export const GetStarredQueriesRequest = /*@__PURE__*/ S.suspend(() =>
4235
3828
  who: S.optional(S.String.pipe(T.Query())),
4236
3829
  qs: S.optional(S.String.pipe(T.Query())),
4237
3830
  }).pipe(T.Http({ method: "GET", uri: "/v2/apl-starred-queries", code: 200 })),
4238
- ).annotate({
4239
- identifier: "GetStarredQueriesRequest",
4240
- }) as any as S.Schema<GetStarredQueriesRequest>;
3831
+ ).annotate({ identifier: "GetStarredQueriesRequest" }) as any as S.Schema<GetStarredQueriesRequest>;
4241
3832
 
4242
3833
  export type StarredQueryWithIdKind = "apl";
4243
3834
  export const StarredQueryWithIdKind = S.String;
4244
3835
 
4245
- export type StarredQueryWithIdMetadataMap = {
4246
- [key: string]: string | undefined;
4247
- };
3836
+ export type StarredQueryWithIdMetadataMap = { [key: string]: string | undefined };
4248
3837
  export const StarredQueryWithIdMetadataMap = /*@__PURE__*/ S.Record(
4249
3838
  S.String,
4250
3839
  S.String,
@@ -4269,9 +3858,7 @@ export const StarredQueryWithId = /*@__PURE__*/ S.suspend(() =>
4269
3858
  who: S.String,
4270
3859
  id: S.String,
4271
3860
  }),
4272
- ).annotate({
4273
- identifier: "StarredQueryWithId",
4274
- }) as any as S.Schema<StarredQueryWithId>;
3861
+ ).annotate({ identifier: "StarredQueryWithId" }) as any as S.Schema<StarredQueryWithId>;
4275
3862
 
4276
3863
  export type GetStarredQueriesResponseBodyList = Array<StarredQueryWithId>;
4277
3864
  export const GetStarredQueriesResponseBodyList = /*@__PURE__*/ S.Array(
@@ -4297,9 +3884,7 @@ export const GetUserRequest = /*@__PURE__*/ S.suspend(() =>
4297
3884
  export interface GetUsersRequest {}
4298
3885
  export const GetUsersRequest = /*@__PURE__*/ S.suspend(() =>
4299
3886
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/users", code: 200 })),
4300
- ).annotate({
4301
- identifier: "GetUsersRequest",
4302
- }) as any as S.Schema<GetUsersRequest>;
3887
+ ).annotate({ identifier: "GetUsersRequest" }) as any as S.Schema<GetUsersRequest>;
4303
3888
 
4304
3889
  export type GetUsersResponseBodyList = Array<User>;
4305
3890
  export const GetUsersResponseBodyList = /*@__PURE__*/ S.Array(
@@ -4309,9 +3894,7 @@ export const GetUsersResponseBodyList = /*@__PURE__*/ S.Array(
4309
3894
  export type GetUsersResponse = GetUsersResponseBodyList;
4310
3895
  export const GetUsersResponse = /*@__PURE__*/ S.suspend(() =>
4311
3896
  GetUsersResponseBodyList.pipe(T.RawResponseRoot()),
4312
- ).annotate({
4313
- identifier: "GetUsersResponse",
4314
- }) as any as S.Schema<GetUsersResponse>;
3897
+ ).annotate({ identifier: "GetUsersResponse" }) as any as S.Schema<GetUsersResponse>;
4315
3898
 
4316
3899
  export interface GetViewRequest {
4317
3900
  id: string;
@@ -4325,9 +3908,7 @@ export const GetViewRequest = /*@__PURE__*/ S.suspend(() =>
4325
3908
  export interface GetViewsRequest {}
4326
3909
  export const GetViewsRequest = /*@__PURE__*/ S.suspend(() =>
4327
3910
  S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/views", code: 200 })),
4328
- ).annotate({
4329
- identifier: "GetViewsRequest",
4330
- }) as any as S.Schema<GetViewsRequest>;
3911
+ ).annotate({ identifier: "GetViewsRequest" }) as any as S.Schema<GetViewsRequest>;
4331
3912
 
4332
3913
  export type GetViewsResponseBodyList = Array<View>;
4333
3914
  export const GetViewsResponseBodyList = /*@__PURE__*/ S.Array(
@@ -4337,9 +3918,7 @@ export const GetViewsResponseBodyList = /*@__PURE__*/ S.Array(
4337
3918
  export type GetViewsResponse = GetViewsResponseBodyList;
4338
3919
  export const GetViewsResponse = /*@__PURE__*/ S.suspend(() =>
4339
3920
  GetViewsResponseBodyList.pipe(T.RawResponseRoot()),
4340
- ).annotate({
4341
- identifier: "GetViewsResponse",
4342
- }) as any as S.Schema<GetViewsResponse>;
3921
+ ).annotate({ identifier: "GetViewsResponse" }) as any as S.Schema<GetViewsResponse>;
4343
3922
 
4344
3923
  export interface GetVirtualFieldRequest {
4345
3924
  id: string;
@@ -4348,9 +3927,7 @@ export const GetVirtualFieldRequest = /*@__PURE__*/ S.suspend(() =>
4348
3927
  S.Struct({
4349
3928
  id: S.String.pipe(T.Label()),
4350
3929
  }).pipe(T.Http({ method: "GET", uri: "/v2/vfields/{id}", code: 200 })),
4351
- ).annotate({
4352
- identifier: "GetVirtualFieldRequest",
4353
- }) as any as S.Schema<GetVirtualFieldRequest>;
3930
+ ).annotate({ identifier: "GetVirtualFieldRequest" }) as any as S.Schema<GetVirtualFieldRequest>;
4354
3931
 
4355
3932
  export interface GetVirtualFieldResponse {
4356
3933
  dataset: string;
@@ -4371,9 +3948,7 @@ export const GetVirtualFieldResponse = /*@__PURE__*/ S.suspend(() =>
4371
3948
  unit: S.optional(S.String),
4372
3949
  id: S.String,
4373
3950
  }),
4374
- ).annotate({
4375
- identifier: "GetVirtualFieldResponse",
4376
- }) as any as S.Schema<GetVirtualFieldResponse>;
3951
+ ).annotate({ identifier: "GetVirtualFieldResponse" }) as any as S.Schema<GetVirtualFieldResponse>;
4377
3952
 
4378
3953
  export interface GetVirtualFieldsRequest {
4379
3954
  dataset: string;
@@ -4382,9 +3957,7 @@ export const GetVirtualFieldsRequest = /*@__PURE__*/ S.suspend(() =>
4382
3957
  S.Struct({
4383
3958
  dataset: S.String.pipe(T.Query()),
4384
3959
  }).pipe(T.Http({ method: "GET", uri: "/v2/vfields", code: 200 })),
4385
- ).annotate({
4386
- identifier: "GetVirtualFieldsRequest",
4387
- }) as any as S.Schema<GetVirtualFieldsRequest>;
3960
+ ).annotate({ identifier: "GetVirtualFieldsRequest" }) as any as S.Schema<GetVirtualFieldsRequest>;
4388
3961
 
4389
3962
  export interface VirtualFieldWithId {
4390
3963
  dataset: string;
@@ -4405,9 +3978,7 @@ export const VirtualFieldWithId = /*@__PURE__*/ S.suspend(() =>
4405
3978
  unit: S.optional(S.String),
4406
3979
  id: S.String,
4407
3980
  }),
4408
- ).annotate({
4409
- identifier: "VirtualFieldWithId",
4410
- }) as any as S.Schema<VirtualFieldWithId>;
3981
+ ).annotate({ identifier: "VirtualFieldWithId" }) as any as S.Schema<VirtualFieldWithId>;
4411
3982
 
4412
3983
  export type GetVirtualFieldsResponseBodyList = Array<VirtualFieldWithId>;
4413
3984
  export const GetVirtualFieldsResponseBodyList = /*@__PURE__*/ S.Array(
@@ -4417,9 +3988,7 @@ export const GetVirtualFieldsResponseBodyList = /*@__PURE__*/ S.Array(
4417
3988
  export type GetVirtualFieldsResponse = GetVirtualFieldsResponseBodyList;
4418
3989
  export const GetVirtualFieldsResponse = /*@__PURE__*/ S.suspend(() =>
4419
3990
  GetVirtualFieldsResponseBodyList.pipe(T.RawResponseRoot()),
4420
- ).annotate({
4421
- identifier: "GetVirtualFieldsResponse",
4422
- }) as any as S.Schema<GetVirtualFieldsResponse>;
3991
+ ).annotate({ identifier: "GetVirtualFieldsResponse" }) as any as S.Schema<GetVirtualFieldsResponse>;
4423
3992
 
4424
3993
  export interface ListDashboardsRequest {
4425
3994
  limit?: number;
@@ -4430,9 +3999,7 @@ export const ListDashboardsRequest = /*@__PURE__*/ S.suspend(() =>
4430
3999
  limit: S.optional(S.Number.pipe(T.Query())),
4431
4000
  offset: S.optional(S.Number.pipe(T.Query())),
4432
4001
  }).pipe(T.Http({ method: "GET", uri: "/v2/dashboards", code: 200 })),
4433
- ).annotate({
4434
- identifier: "ListDashboardsRequest",
4435
- }) as any as S.Schema<ListDashboardsRequest>;
4002
+ ).annotate({ identifier: "ListDashboardsRequest" }) as any as S.Schema<ListDashboardsRequest>;
4436
4003
 
4437
4004
  export type ListDashboardsResponseBodyList = Array<DashboardResource>;
4438
4005
  export const ListDashboardsResponseBodyList = /*@__PURE__*/ S.Array(
@@ -4442,18 +4009,12 @@ export const ListDashboardsResponseBodyList = /*@__PURE__*/ S.Array(
4442
4009
  export type ListDashboardsResponse = ListDashboardsResponseBodyList;
4443
4010
  export const ListDashboardsResponse = /*@__PURE__*/ S.suspend(() =>
4444
4011
  ListDashboardsResponseBodyList.pipe(T.RawResponseRoot()),
4445
- ).annotate({
4446
- identifier: "ListDashboardsResponse",
4447
- }) as any as S.Schema<ListDashboardsResponse>;
4012
+ ).annotate({ identifier: "ListDashboardsResponse" }) as any as S.Schema<ListDashboardsResponse>;
4448
4013
 
4449
4014
  export interface ListGroupsRequest {}
4450
4015
  export const ListGroupsRequest = /*@__PURE__*/ S.suspend(() =>
4451
- S.Struct({}).pipe(
4452
- T.Http({ method: "GET", uri: "/v2/rbac/groups", code: 200 }),
4453
- ),
4454
- ).annotate({
4455
- identifier: "ListGroupsRequest",
4456
- }) as any as S.Schema<ListGroupsRequest>;
4016
+ S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/groups", code: 200 })),
4017
+ ).annotate({ identifier: "ListGroupsRequest" }) as any as S.Schema<ListGroupsRequest>;
4457
4018
 
4458
4019
  /** List of user IDs that are assigned to this group */
4459
4020
  export type GroupWithIDMembersList = Array<string>;
@@ -4501,18 +4062,12 @@ export const ListGroupsResponseBodyList = /*@__PURE__*/ S.Array(
4501
4062
  export type ListGroupsResponse = ListGroupsResponseBodyList;
4502
4063
  export const ListGroupsResponse = /*@__PURE__*/ S.suspend(() =>
4503
4064
  ListGroupsResponseBodyList.pipe(T.RawResponseRoot()),
4504
- ).annotate({
4505
- identifier: "ListGroupsResponse",
4506
- }) as any as S.Schema<ListGroupsResponse>;
4065
+ ).annotate({ identifier: "ListGroupsResponse" }) as any as S.Schema<ListGroupsResponse>;
4507
4066
 
4508
4067
  export interface ListRolesRequest {}
4509
4068
  export const ListRolesRequest = /*@__PURE__*/ S.suspend(() =>
4510
- S.Struct({}).pipe(
4511
- T.Http({ method: "GET", uri: "/v2/rbac/roles", code: 200 }),
4512
- ),
4513
- ).annotate({
4514
- identifier: "ListRolesRequest",
4515
- }) as any as S.Schema<ListRolesRequest>;
4069
+ S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/roles", code: 200 })),
4070
+ ).annotate({ identifier: "ListRolesRequest" }) as any as S.Schema<ListRolesRequest>;
4516
4071
 
4517
4072
  /** List of user IDs that are assigned to this role */
4518
4073
  export type RoleWithIDMembersList = Array<string>;
@@ -4554,13 +4109,9 @@ export const ListRolesResponseBodyList = /*@__PURE__*/ S.Array(
4554
4109
  export type ListRolesResponse = ListRolesResponseBodyList;
4555
4110
  export const ListRolesResponse = /*@__PURE__*/ S.suspend(() =>
4556
4111
  ListRolesResponseBodyList.pipe(T.RawResponseRoot()),
4557
- ).annotate({
4558
- identifier: "ListRolesResponse",
4559
- }) as any as S.Schema<ListRolesResponse>;
4112
+ ).annotate({ identifier: "ListRolesResponse" }) as any as S.Schema<ListRolesResponse>;
4560
4113
 
4561
- export type DashboardChartPatchDocument = {
4562
- [key: string]: unknown | undefined;
4563
- };
4114
+ export type DashboardChartPatchDocument = { [key: string]: unknown | undefined };
4564
4115
  export const DashboardChartPatchDocument = /*@__PURE__*/ S.Record(
4565
4116
  S.String,
4566
4117
  S.Unknown,
@@ -4584,13 +4135,7 @@ export const PatchDashboardChartRequest = /*@__PURE__*/ S.suspend(() =>
4584
4135
  message: S.optional(S.String),
4585
4136
  overwrite: S.optional(S.Boolean),
4586
4137
  version: S.optional(S.Number),
4587
- }).pipe(
4588
- T.Http({
4589
- method: "PATCH",
4590
- uri: "/v2/dashboards/uid/{uid}/charts/{chartId}",
4591
- code: 200,
4592
- }),
4593
- ),
4138
+ }).pipe(T.Http({ method: "PATCH", uri: "/v2/dashboards/uid/{uid}/charts/{chartId}", code: 200 })),
4594
4139
  ).annotate({
4595
4140
  identifier: "PatchDashboardChartRequest",
4596
4141
  }) as any as S.Schema<PatchDashboardChartRequest>;
@@ -4606,9 +4151,7 @@ export const ProvisionOrgRequest = /*@__PURE__*/ S.suspend(() =>
4606
4151
  name: S.optional(S.String),
4607
4152
  edgeDeployment: S.optional(S.String),
4608
4153
  }).pipe(T.Http({ method: "POST", uri: "/v2/orgs/provision", code: 200 })),
4609
- ).annotate({
4610
- identifier: "ProvisionOrgRequest",
4611
- }) as any as S.Schema<ProvisionOrgRequest>;
4154
+ ).annotate({ identifier: "ProvisionOrgRequest" }) as any as S.Schema<ProvisionOrgRequest>;
4612
4155
 
4613
4156
  export interface ProvisionOrgResponse {
4614
4157
  id: string;
@@ -4629,9 +4172,7 @@ export const ProvisionOrgResponse = /*@__PURE__*/ S.suspend(() =>
4629
4172
  claimUrl: S.String,
4630
4173
  token: S.String,
4631
4174
  }),
4632
- ).annotate({
4633
- identifier: "ProvisionOrgResponse",
4634
- }) as any as S.Schema<ProvisionOrgResponse>;
4175
+ ).annotate({ identifier: "ProvisionOrgResponse" }) as any as S.Schema<ProvisionOrgResponse>;
4635
4176
 
4636
4177
  export interface CreateAPIToken2 {
4637
4178
  datasetCapabilities?: DatasetCapabilities;
@@ -4653,9 +4194,7 @@ export const CreateAPIToken2 = /*@__PURE__*/ S.suspend(() =>
4653
4194
  orgCapabilities: S.optional(OrgCapabilities),
4654
4195
  viewCapabilities: S.optional(ViewCapabilities),
4655
4196
  }),
4656
- ).annotate({
4657
- identifier: "CreateAPIToken2",
4658
- }) as any as S.Schema<CreateAPIToken2>;
4197
+ ).annotate({ identifier: "CreateAPIToken2" }) as any as S.Schema<CreateAPIToken2>;
4659
4198
 
4660
4199
  export interface RegenerateAPITokenRequest {
4661
4200
  id: string;
@@ -4671,9 +4210,7 @@ export const RegenerateAPITokenRequest = /*@__PURE__*/ S.suspend(() =>
4671
4210
  existingTokenExpiresAt: S.String,
4672
4211
  newToken: S.optional(CreateAPIToken2),
4673
4212
  newTokenExpiresAt: S.optional(S.NullOr(S.String)),
4674
- }).pipe(
4675
- T.Http({ method: "POST", uri: "/v2/tokens/{id}/regenerate", code: 200 }),
4676
- ),
4213
+ }).pipe(T.Http({ method: "POST", uri: "/v2/tokens/{id}/regenerate", code: 200 })),
4677
4214
  ).annotate({
4678
4215
  identifier: "RegenerateAPITokenRequest",
4679
4216
  }) as any as S.Schema<RegenerateAPITokenRequest>;
@@ -4716,14 +4253,10 @@ export const RemoveUserFromOrgRequest = /*@__PURE__*/ S.suspend(() =>
4716
4253
  S.Struct({
4717
4254
  id: S.String.pipe(T.Label()),
4718
4255
  }).pipe(T.Http({ method: "DELETE", uri: "/v2/users/{id}", code: 200 })),
4719
- ).annotate({
4720
- identifier: "RemoveUserFromOrgRequest",
4721
- }) as any as S.Schema<RemoveUserFromOrgRequest>;
4256
+ ).annotate({ identifier: "RemoveUserFromOrgRequest" }) as any as S.Schema<RemoveUserFromOrgRequest>;
4722
4257
 
4723
4258
  export interface RemoveUserFromOrgResponse {}
4724
- export const RemoveUserFromOrgResponse = /*@__PURE__*/ S.suspend(() =>
4725
- S.Struct({}),
4726
- ).annotate({
4259
+ export const RemoveUserFromOrgResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
4727
4260
  identifier: "RemoveUserFromOrgResponse",
4728
4261
  }) as any as S.Schema<RemoveUserFromOrgResponse>;
4729
4262
 
@@ -4735,21 +4268,11 @@ export const TrimDatasetRequest = /*@__PURE__*/ S.suspend(() =>
4735
4268
  S.Struct({
4736
4269
  dataset_id: S.String.pipe(T.Label()),
4737
4270
  maxDuration: S.String,
4738
- }).pipe(
4739
- T.Http({
4740
- method: "POST",
4741
- uri: "/v2/datasets/{dataset_id}/trim",
4742
- code: 200,
4743
- }),
4744
- ),
4745
- ).annotate({
4746
- identifier: "TrimDatasetRequest",
4747
- }) as any as S.Schema<TrimDatasetRequest>;
4271
+ }).pipe(T.Http({ method: "POST", uri: "/v2/datasets/{dataset_id}/trim", code: 200 })),
4272
+ ).annotate({ identifier: "TrimDatasetRequest" }) as any as S.Schema<TrimDatasetRequest>;
4748
4273
 
4749
4274
  export interface TrimDatasetResponse {}
4750
- export const TrimDatasetResponse = /*@__PURE__*/ S.suspend(() =>
4751
- S.Struct({}),
4752
- ).annotate({
4275
+ export const TrimDatasetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
4753
4276
  identifier: "TrimDatasetResponse",
4754
4277
  }) as any as S.Schema<TrimDatasetResponse>;
4755
4278
 
@@ -4788,9 +4311,7 @@ export const UpdateAnnotationRequest = /*@__PURE__*/ S.suspend(() =>
4788
4311
  type: S.optional(S.String),
4789
4312
  url: S.optional(S.String),
4790
4313
  }).pipe(T.Http({ method: "PUT", uri: "/v2/annotations/{id}", code: 200 })),
4791
- ).annotate({
4792
- identifier: "UpdateAnnotationRequest",
4793
- }) as any as S.Schema<UpdateAnnotationRequest>;
4314
+ ).annotate({ identifier: "UpdateAnnotationRequest" }) as any as S.Schema<UpdateAnnotationRequest>;
4794
4315
 
4795
4316
  export interface UpdateCurrentUserRequest {
4796
4317
  /** New name for the user */
@@ -4800,9 +4321,7 @@ export const UpdateCurrentUserRequest = /*@__PURE__*/ S.suspend(() =>
4800
4321
  S.Struct({
4801
4322
  name: S.String,
4802
4323
  }).pipe(T.Http({ method: "PUT", uri: "/v2/user", code: 200 })),
4803
- ).annotate({
4804
- identifier: "UpdateCurrentUserRequest",
4805
- }) as any as S.Schema<UpdateCurrentUserRequest>;
4324
+ ).annotate({ identifier: "UpdateCurrentUserRequest" }) as any as S.Schema<UpdateCurrentUserRequest>;
4806
4325
 
4807
4326
  /** Required for updates when overwrite is false. Pass back the version value received from the server verbatim (string or number). */
4808
4327
  export type UpdateDashboardRequestVersion = string | number;
@@ -4824,12 +4343,8 @@ export const UpdateDashboardRequest = /*@__PURE__*/ S.suspend(() =>
4824
4343
  message: S.optional(S.String),
4825
4344
  overwrite: S.optional(S.Boolean),
4826
4345
  version: S.optional(UpdateDashboardRequestVersion),
4827
- }).pipe(
4828
- T.Http({ method: "PUT", uri: "/v2/dashboards/uid/{uid}", code: 200 }),
4829
- ),
4830
- ).annotate({
4831
- identifier: "UpdateDashboardRequest",
4832
- }) as any as S.Schema<UpdateDashboardRequest>;
4346
+ }).pipe(T.Http({ method: "PUT", uri: "/v2/dashboards/uid/{uid}", code: 200 })),
4347
+ ).annotate({ identifier: "UpdateDashboardRequest" }) as any as S.Schema<UpdateDashboardRequest>;
4833
4348
 
4834
4349
  export interface UpdateDatasetRequest {
4835
4350
  dataset_id: string;
@@ -4845,12 +4360,8 @@ export const UpdateDatasetRequest = /*@__PURE__*/ S.suspend(() =>
4845
4360
  description: S.optional(S.String),
4846
4361
  retentionDays: S.optional(S.Number),
4847
4362
  useRetentionPeriod: S.optional(S.Boolean),
4848
- }).pipe(
4849
- T.Http({ method: "PUT", uri: "/v2/datasets/{dataset_id}", code: 200 }),
4850
- ),
4851
- ).annotate({
4852
- identifier: "UpdateDatasetRequest",
4853
- }) as any as S.Schema<UpdateDatasetRequest>;
4363
+ }).pipe(T.Http({ method: "PUT", uri: "/v2/datasets/{dataset_id}", code: 200 })),
4364
+ ).annotate({ identifier: "UpdateDatasetRequest" }) as any as S.Schema<UpdateDatasetRequest>;
4854
4365
 
4855
4366
  export interface UpdateFieldForDatasetRequest {
4856
4367
  dataset_id: string;
@@ -4875,13 +4386,7 @@ export const UpdateFieldForDatasetRequest = /*@__PURE__*/ S.suspend(() =>
4875
4386
  name: S.String,
4876
4387
  type: S.String,
4877
4388
  unit: S.optional(S.String),
4878
- }).pipe(
4879
- T.Http({
4880
- method: "PUT",
4881
- uri: "/v2/datasets/{dataset_id}/fields/{field_id}",
4882
- code: 200,
4883
- }),
4884
- ),
4389
+ }).pipe(T.Http({ method: "PUT", uri: "/v2/datasets/{dataset_id}/fields/{field_id}", code: 200 })),
4885
4390
  ).annotate({
4886
4391
  identifier: "UpdateFieldForDatasetRequest",
4887
4392
  }) as any as S.Schema<UpdateFieldForDatasetRequest>;
@@ -4918,9 +4423,7 @@ export const UpdateGroupRequest = /*@__PURE__*/ S.suspend(() =>
4918
4423
  name: S.String,
4919
4424
  roles: S.optional(UpdateGroupRequestRolesList),
4920
4425
  }).pipe(T.Http({ method: "PUT", uri: "/v2/rbac/groups/{id}", code: 200 })),
4921
- ).annotate({
4922
- identifier: "UpdateGroupRequest",
4923
- }) as any as S.Schema<UpdateGroupRequest>;
4426
+ ).annotate({ identifier: "UpdateGroupRequest" }) as any as S.Schema<UpdateGroupRequest>;
4924
4427
 
4925
4428
  /** List of user IDs that are assigned to this group */
4926
4429
  export type UpdateGroupResponseMembersList = Array<string>;
@@ -4957,9 +4460,7 @@ export const UpdateGroupResponse = /*@__PURE__*/ S.suspend(() =>
4957
4460
  roles: S.optional(UpdateGroupResponseRolesList),
4958
4461
  id: S.String,
4959
4462
  }),
4960
- ).annotate({
4961
- identifier: "UpdateGroupResponse",
4962
- }) as any as S.Schema<UpdateGroupResponse>;
4463
+ ).annotate({ identifier: "UpdateGroupResponse" }) as any as S.Schema<UpdateGroupResponse>;
4963
4464
 
4964
4465
  export interface UpdateMapFieldsRequest {
4965
4466
  dataset_id: string;
@@ -4969,23 +4470,13 @@ export const UpdateMapFieldsRequest = /*@__PURE__*/ S.suspend(() =>
4969
4470
  S.Struct({
4970
4471
  dataset_id: S.String.pipe(T.Label()),
4971
4472
  body: MapFields.pipe(T.HttpBody()),
4972
- }).pipe(
4973
- T.Http({
4974
- method: "PUT",
4975
- uri: "/v2/datasets/{dataset_id}/mapfields",
4976
- code: 200,
4977
- }),
4978
- ),
4979
- ).annotate({
4980
- identifier: "UpdateMapFieldsRequest",
4981
- }) as any as S.Schema<UpdateMapFieldsRequest>;
4473
+ }).pipe(T.Http({ method: "PUT", uri: "/v2/datasets/{dataset_id}/mapfields", code: 200 })),
4474
+ ).annotate({ identifier: "UpdateMapFieldsRequest" }) as any as S.Schema<UpdateMapFieldsRequest>;
4982
4475
 
4983
4476
  export type UpdateMapFieldsResponse = MapFields;
4984
4477
  export const UpdateMapFieldsResponse = /*@__PURE__*/ S.suspend(() =>
4985
4478
  MapFields.pipe(T.RawResponseRoot()),
4986
- ).annotate({
4987
- identifier: "UpdateMapFieldsResponse",
4988
- }) as any as S.Schema<UpdateMapFieldsResponse>;
4479
+ ).annotate({ identifier: "UpdateMapFieldsResponse" }) as any as S.Schema<UpdateMapFieldsResponse>;
4989
4480
 
4990
4481
  /** List of notifier IDs that will receive alerts. Notifiers can be email, Slack, webhook endpoints, etc. */
4991
4482
  export type UpdateMonitorRequestNotifierIdsList = Array<string>;
@@ -5003,10 +4494,7 @@ export type UpdateMonitorRequestOperator =
5003
4494
  export const UpdateMonitorRequestOperator = S.String;
5004
4495
 
5005
4496
  /** Type of monitoring check to perform: - Threshold: Compares a numeric value against a threshold - MatchEvent: Looks for specific events or patterns - AnomalyDetection: Identifies unusual patterns based on historical data */
5006
- export type UpdateMonitorRequestType =
5007
- | "Threshold"
5008
- | "MatchEvent"
5009
- | "AnomalyDetection";
4497
+ export type UpdateMonitorRequestType = "Threshold" | "MatchEvent" | "AnomalyDetection";
5010
4498
  export const UpdateMonitorRequestType = S.String;
5011
4499
 
5012
4500
  export interface UpdateMonitorRequest {
@@ -5094,9 +4582,7 @@ export const UpdateMonitorRequest = /*@__PURE__*/ S.suspend(() =>
5094
4582
  type: UpdateMonitorRequestType,
5095
4583
  updatedAt: S.optional(S.String),
5096
4584
  }).pipe(T.Http({ method: "PUT", uri: "/v2/monitors/{id}", code: 200 })),
5097
- ).annotate({
5098
- identifier: "UpdateMonitorRequest",
5099
- }) as any as S.Schema<UpdateMonitorRequest>;
4585
+ ).annotate({ identifier: "UpdateMonitorRequest" }) as any as S.Schema<UpdateMonitorRequest>;
5100
4586
 
5101
4587
  /** List of notifier IDs that will receive alerts. Notifiers can be email, Slack, webhook endpoints, etc. */
5102
4588
  export type UpdateMonitorResponseNotifierIdsList = Array<string>;
@@ -5114,10 +4600,7 @@ export type UpdateMonitorResponseOperator =
5114
4600
  export const UpdateMonitorResponseOperator = S.String;
5115
4601
 
5116
4602
  /** Type of monitoring check to perform: - Threshold: Compares a numeric value against a threshold - MatchEvent: Looks for specific events or patterns - AnomalyDetection: Identifies unusual patterns based on historical data */
5117
- export type UpdateMonitorResponseType =
5118
- | "Threshold"
5119
- | "MatchEvent"
5120
- | "AnomalyDetection";
4603
+ export type UpdateMonitorResponseType = "Threshold" | "MatchEvent" | "AnomalyDetection";
5121
4604
  export const UpdateMonitorResponseType = S.String;
5122
4605
 
5123
4606
  export interface UpdateMonitorResponse {
@@ -5206,9 +4689,7 @@ export const UpdateMonitorResponse = /*@__PURE__*/ S.suspend(() =>
5206
4689
  updatedAt: S.optional(S.String),
5207
4690
  id: S.String,
5208
4691
  }),
5209
- ).annotate({
5210
- identifier: "UpdateMonitorResponse",
5211
- }) as any as S.Schema<UpdateMonitorResponse>;
4692
+ ).annotate({ identifier: "UpdateMonitorResponse" }) as any as S.Schema<UpdateMonitorResponse>;
5212
4693
 
5213
4694
  export interface UpdateNotifierRequest {
5214
4695
  id: string;
@@ -5225,9 +4706,7 @@ export const UpdateNotifierRequest = /*@__PURE__*/ S.suspend(() =>
5225
4706
  name: S.String,
5226
4707
  properties: NotifierProperties,
5227
4708
  }).pipe(T.Http({ method: "PUT", uri: "/v2/notifiers/{id}", code: 200 })),
5228
- ).annotate({
5229
- identifier: "UpdateNotifierRequest",
5230
- }) as any as S.Schema<UpdateNotifierRequest>;
4709
+ ).annotate({ identifier: "UpdateNotifierRequest" }) as any as S.Schema<UpdateNotifierRequest>;
5231
4710
 
5232
4711
  export interface UpdateNotifierResponse {
5233
4712
  /** Timestamp when the notifier was created */
@@ -5254,9 +4733,7 @@ export const UpdateNotifierResponse = /*@__PURE__*/ S.suspend(() =>
5254
4733
  updatedAt: S.optional(S.String),
5255
4734
  id: S.optional(S.String),
5256
4735
  }),
5257
- ).annotate({
5258
- identifier: "UpdateNotifierResponse",
5259
- }) as any as S.Schema<UpdateNotifierResponse>;
4736
+ ).annotate({ identifier: "UpdateNotifierResponse" }) as any as S.Schema<UpdateNotifierResponse>;
5260
4737
 
5261
4738
  export interface UpdateOrgRequest {
5262
4739
  id: string;
@@ -5267,9 +4744,7 @@ export const UpdateOrgRequest = /*@__PURE__*/ S.suspend(() =>
5267
4744
  id: S.String.pipe(T.Label()),
5268
4745
  name: S.String,
5269
4746
  }).pipe(T.Http({ method: "PUT", uri: "/v2/orgs/{id}", code: 200 })),
5270
- ).annotate({
5271
- identifier: "UpdateOrgRequest",
5272
- }) as any as S.Schema<UpdateOrgRequest>;
4747
+ ).annotate({ identifier: "UpdateOrgRequest" }) as any as S.Schema<UpdateOrgRequest>;
5273
4748
 
5274
4749
  /** List of user IDs that are assigned to this role */
5275
4750
  export type UpdateRoleRequestMembersList = Array<string>;
@@ -5300,9 +4775,7 @@ export const UpdateRoleRequest = /*@__PURE__*/ S.suspend(() =>
5300
4775
  orgCapabilities: S.optional(RoleOrgCapabilities),
5301
4776
  viewCapabilities: S.optional(RoleViewCapabilities),
5302
4777
  }).pipe(T.Http({ method: "PUT", uri: "/v2/rbac/roles/{id}", code: 200 })),
5303
- ).annotate({
5304
- identifier: "UpdateRoleRequest",
5305
- }) as any as S.Schema<UpdateRoleRequest>;
4778
+ ).annotate({ identifier: "UpdateRoleRequest" }) as any as S.Schema<UpdateRoleRequest>;
5306
4779
 
5307
4780
  /** List of user IDs that are assigned to this role */
5308
4781
  export type UpdateRoleResponseMembersList = Array<string>;
@@ -5333,16 +4806,12 @@ export const UpdateRoleResponse = /*@__PURE__*/ S.suspend(() =>
5333
4806
  viewCapabilities: S.optional(RoleViewCapabilities),
5334
4807
  id: S.String,
5335
4808
  }),
5336
- ).annotate({
5337
- identifier: "UpdateRoleResponse",
5338
- }) as any as S.Schema<UpdateRoleResponse>;
4809
+ ).annotate({ identifier: "UpdateRoleResponse" }) as any as S.Schema<UpdateRoleResponse>;
5339
4810
 
5340
4811
  export type UpdateStarredRequestKind = "apl";
5341
4812
  export const UpdateStarredRequestKind = S.String;
5342
4813
 
5343
- export type UpdateStarredRequestMetadataMap = {
5344
- [key: string]: string | undefined;
5345
- };
4814
+ export type UpdateStarredRequestMetadataMap = { [key: string]: string | undefined };
5346
4815
  export const UpdateStarredRequestMetadataMap = /*@__PURE__*/ S.Record(
5347
4816
  S.String,
5348
4817
  S.String,
@@ -5366,19 +4835,13 @@ export const UpdateStarredRequest = /*@__PURE__*/ S.suspend(() =>
5366
4835
  name: S.String,
5367
4836
  query: APLRequestWithOptions,
5368
4837
  who: S.String,
5369
- }).pipe(
5370
- T.Http({ method: "PUT", uri: "/v2/apl-starred-queries/{id}", code: 200 }),
5371
- ),
5372
- ).annotate({
5373
- identifier: "UpdateStarredRequest",
5374
- }) as any as S.Schema<UpdateStarredRequest>;
4838
+ }).pipe(T.Http({ method: "PUT", uri: "/v2/apl-starred-queries/{id}", code: 200 })),
4839
+ ).annotate({ identifier: "UpdateStarredRequest" }) as any as S.Schema<UpdateStarredRequest>;
5375
4840
 
5376
4841
  export type UpdateStarredResponseKind = "apl";
5377
4842
  export const UpdateStarredResponseKind = S.String;
5378
4843
 
5379
- export type UpdateStarredResponseMetadataMap = {
5380
- [key: string]: string | undefined;
5381
- };
4844
+ export type UpdateStarredResponseMetadataMap = { [key: string]: string | undefined };
5382
4845
  export const UpdateStarredResponseMetadataMap = /*@__PURE__*/ S.Record(
5383
4846
  S.String,
5384
4847
  S.String,
@@ -5403,9 +4866,7 @@ export const UpdateStarredResponse = /*@__PURE__*/ S.suspend(() =>
5403
4866
  who: S.String,
5404
4867
  id: S.String,
5405
4868
  }),
5406
- ).annotate({
5407
- identifier: "UpdateStarredResponse",
5408
- }) as any as S.Schema<UpdateStarredResponse>;
4869
+ ).annotate({ identifier: "UpdateStarredResponse" }) as any as S.Schema<UpdateStarredResponse>;
5409
4870
 
5410
4871
  export interface UpdateUserRoleRequest {
5411
4872
  id: string;
@@ -5417,9 +4878,7 @@ export const UpdateUserRoleRequest = /*@__PURE__*/ S.suspend(() =>
5417
4878
  id: S.String.pipe(T.Label()),
5418
4879
  role: S.String,
5419
4880
  }).pipe(T.Http({ method: "PUT", uri: "/v2/users/{id}/role", code: 200 })),
5420
- ).annotate({
5421
- identifier: "UpdateUserRoleRequest",
5422
- }) as any as S.Schema<UpdateUserRoleRequest>;
4881
+ ).annotate({ identifier: "UpdateUserRoleRequest" }) as any as S.Schema<UpdateUserRoleRequest>;
5423
4882
 
5424
4883
  export type UpdateViewRequestDatasetsList = Array<string>;
5425
4884
  export const UpdateViewRequestDatasetsList = /*@__PURE__*/ S.Array(
@@ -5447,9 +4906,7 @@ export const UpdateViewRequest = /*@__PURE__*/ S.suspend(() =>
5447
4906
  sharedByOrg: S.optional(S.String),
5448
4907
  sharedByOrgName: S.optional(S.String),
5449
4908
  }).pipe(T.Http({ method: "PUT", uri: "/v2/views/{id}", code: 200 })),
5450
- ).annotate({
5451
- identifier: "UpdateViewRequest",
5452
- }) as any as S.Schema<UpdateViewRequest>;
4909
+ ).annotate({ identifier: "UpdateViewRequest" }) as any as S.Schema<UpdateViewRequest>;
5453
4910
 
5454
4911
  export interface UpdateVirtualFieldRequest {
5455
4912
  id: string;
@@ -5503,28 +4960,15 @@ export interface VacuumDatasetRequest {
5503
4960
  export const VacuumDatasetRequest = /*@__PURE__*/ S.suspend(() =>
5504
4961
  S.Struct({
5505
4962
  dataset_id: S.String.pipe(T.Label()),
5506
- }).pipe(
5507
- T.Http({
5508
- method: "POST",
5509
- uri: "/v2/datasets/{dataset_id}/vacuum",
5510
- code: 200,
5511
- }),
5512
- ),
5513
- ).annotate({
5514
- identifier: "VacuumDatasetRequest",
5515
- }) as any as S.Schema<VacuumDatasetRequest>;
4963
+ }).pipe(T.Http({ method: "POST", uri: "/v2/datasets/{dataset_id}/vacuum", code: 200 })),
4964
+ ).annotate({ identifier: "VacuumDatasetRequest" }) as any as S.Schema<VacuumDatasetRequest>;
5516
4965
 
5517
4966
  export interface VacuumDatasetResponse {}
5518
- export const VacuumDatasetResponse = /*@__PURE__*/ S.suspend(() =>
5519
- S.Struct({}),
5520
- ).annotate({
4967
+ export const VacuumDatasetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
5521
4968
  identifier: "VacuumDatasetResponse",
5522
4969
  }) as any as S.Schema<VacuumDatasetResponse>;
5523
4970
 
5524
- export type CreateAnnotationError =
5525
- | BadRequest
5526
- | UnprocessableEntity
5527
- | AxiomOpError;
4971
+ export type CreateAnnotationError = BadRequest | UnprocessableEntity | AxiomOpError;
5528
4972
  /** Create annotation */
5529
4973
  export const createAnnotation: API.OperationMethod<
5530
4974
  CreateAnnotationRequest,
@@ -5569,11 +5013,7 @@ export const createDashboard: API.OperationMethod<
5569
5013
  retry: Retry.Retry,
5570
5014
  }));
5571
5015
 
5572
- export type CreateDatasetError =
5573
- | BadRequest
5574
- | Forbidden
5575
- | UnprocessableEntity
5576
- | AxiomOpError;
5016
+ export type CreateDatasetError = BadRequest | Forbidden | UnprocessableEntity | AxiomOpError;
5577
5017
  /** Create dataset Create dataset */
5578
5018
  export const createDataset: API.OperationMethod<
5579
5019
  CreateDatasetRequest,
@@ -5648,18 +5088,14 @@ export const createNotifier: API.OperationMethod<
5648
5088
  }));
5649
5089
 
5650
5090
  export type CreateOrgError = AxiomOpError;
5651
- export const createOrg: API.OperationMethod<
5652
- CreateOrgRequest,
5653
- Org,
5654
- CreateOrgError,
5655
- AxiomOpContext
5656
- > = /*@__PURE__*/ API.make(() => ({
5657
- input: CreateOrgRequest,
5658
- output: Org,
5659
- errors: [UnknownAxiomError],
5660
- protocol: AxiomProtocol,
5661
- retry: Retry.Retry,
5662
- }));
5091
+ export const createOrg: API.OperationMethod<CreateOrgRequest, Org, CreateOrgError, AxiomOpContext> =
5092
+ /*@__PURE__*/ API.make(() => ({
5093
+ input: CreateOrgRequest,
5094
+ output: Org,
5095
+ errors: [UnknownAxiomError],
5096
+ protocol: AxiomProtocol,
5097
+ retry: Retry.Retry,
5098
+ }));
5663
5099
 
5664
5100
  export type CreateRoleError = UnprocessableEntity | AxiomOpError;
5665
5101
  /** Create role Creates a new role in the organization with the specified permissions and member assignments. */
@@ -5793,6 +5229,36 @@ export const deleteDataset: API.OperationMethod<
5793
5229
  retry: Retry.Retry,
5794
5230
  }));
5795
5231
 
5232
+ export type DeleteDatasetFieldsError = BadRequest | Forbidden | NotFound | AxiomOpError;
5233
+ /** Delete fields from a dataset Deletes fields asynchronously. The field disappears from listings once the deletion pipeline finishes. Re-ingesting data with that field recreates it. */
5234
+ export const deleteDatasetFields: API.OperationMethod<
5235
+ DeleteDatasetFieldsRequest,
5236
+ DeleteDatasetFieldsResult,
5237
+ DeleteDatasetFieldsError,
5238
+ AxiomOpContext
5239
+ > = /*@__PURE__*/ API.make(() => ({
5240
+ input: DeleteDatasetFieldsRequest,
5241
+ output: DeleteDatasetFieldsResult,
5242
+ errors: [BadRequest, Forbidden, NotFound, UnknownAxiomError],
5243
+ protocol: AxiomProtocol,
5244
+ retry: Retry.Retry,
5245
+ }));
5246
+
5247
+ export type DeleteFieldForDatasetError = BadRequest | Forbidden | NotFound | AxiomOpError;
5248
+ /** Delete a field from a dataset Deletes the field asynchronously. The field disappears from listings once the deletion pipeline finishes. Re-ingesting data with that field recreates it. */
5249
+ export const deleteFieldForDataset: API.OperationMethod<
5250
+ DeleteFieldForDatasetRequest,
5251
+ DeleteDatasetFieldsResult,
5252
+ DeleteFieldForDatasetError,
5253
+ AxiomOpContext
5254
+ > = /*@__PURE__*/ API.make(() => ({
5255
+ input: DeleteFieldForDatasetRequest,
5256
+ output: DeleteDatasetFieldsResult,
5257
+ errors: [BadRequest, Forbidden, NotFound, UnknownAxiomError],
5258
+ protocol: AxiomProtocol,
5259
+ retry: Retry.Retry,
5260
+ }));
5261
+
5796
5262
  export type DeleteGroupError = NotFound | AxiomOpError;
5797
5263
  /** Delete group Permanently removes a group from the organization. */
5798
5264
  export const deleteGroup: API.OperationMethod<
@@ -6101,10 +5567,7 @@ export const getMonitor: API.OperationMethod<
6101
5567
  retry: Retry.Retry,
6102
5568
  }));
6103
5569
 
6104
- export type GetMonitorHistoryError =
6105
- | NotFound
6106
- | UnprocessableEntity
6107
- | AxiomOpError;
5570
+ export type GetMonitorHistoryError = NotFound | UnprocessableEntity | AxiomOpError;
6108
5571
  /** Get monitor history */
6109
5572
  export const getMonitorHistory: API.OperationMethod<
6110
5573
  GetMonitorHistoryRequest,
@@ -6165,18 +5628,14 @@ export const getNotifiers: API.OperationMethod<
6165
5628
  }));
6166
5629
 
6167
5630
  export type GetOrgError = NotFound | AxiomOpError;
6168
- export const getOrg: API.OperationMethod<
6169
- GetOrgRequest,
6170
- Org,
6171
- GetOrgError,
6172
- AxiomOpContext
6173
- > = /*@__PURE__*/ API.make(() => ({
6174
- input: GetOrgRequest,
6175
- output: Org,
6176
- errors: [NotFound, UnknownAxiomError],
6177
- protocol: AxiomProtocol,
6178
- retry: Retry.Retry,
6179
- }));
5631
+ export const getOrg: API.OperationMethod<GetOrgRequest, Org, GetOrgError, AxiomOpContext> =
5632
+ /*@__PURE__*/ API.make(() => ({
5633
+ input: GetOrgRequest,
5634
+ output: Org,
5635
+ errors: [NotFound, UnknownAxiomError],
5636
+ protocol: AxiomProtocol,
5637
+ retry: Retry.Retry,
5638
+ }));
6180
5639
 
6181
5640
  export type GetOrgsError = AxiomOpError;
6182
5641
  export const getOrgs: API.OperationMethod<
@@ -6237,18 +5696,14 @@ export const getStarredQueries: API.OperationMethod<
6237
5696
 
6238
5697
  export type GetUserError = NotFound | AxiomOpError;
6239
5698
  /** Get user by ID */
6240
- export const getUser: API.OperationMethod<
6241
- GetUserRequest,
6242
- User,
6243
- GetUserError,
6244
- AxiomOpContext
6245
- > = /*@__PURE__*/ API.make(() => ({
6246
- input: GetUserRequest,
6247
- output: User,
6248
- errors: [NotFound, UnknownAxiomError],
6249
- protocol: AxiomProtocol,
6250
- retry: Retry.Retry,
6251
- }));
5699
+ export const getUser: API.OperationMethod<GetUserRequest, User, GetUserError, AxiomOpContext> =
5700
+ /*@__PURE__*/ API.make(() => ({
5701
+ input: GetUserRequest,
5702
+ output: User,
5703
+ errors: [NotFound, UnknownAxiomError],
5704
+ protocol: AxiomProtocol,
5705
+ retry: Retry.Retry,
5706
+ }));
6252
5707
 
6253
5708
  export type GetUsersError = AxiomOpError;
6254
5709
  /** Get users */
@@ -6266,18 +5721,14 @@ export const getUsers: API.OperationMethod<
6266
5721
  }));
6267
5722
 
6268
5723
  export type GetViewError = NotFound | AxiomOpError;
6269
- export const getView: API.OperationMethod<
6270
- GetViewRequest,
6271
- View,
6272
- GetViewError,
6273
- AxiomOpContext
6274
- > = /*@__PURE__*/ API.make(() => ({
6275
- input: GetViewRequest,
6276
- output: View,
6277
- errors: [NotFound, UnknownAxiomError],
6278
- protocol: AxiomProtocol,
6279
- retry: Retry.Retry,
6280
- }));
5724
+ export const getView: API.OperationMethod<GetViewRequest, View, GetViewError, AxiomOpContext> =
5725
+ /*@__PURE__*/ API.make(() => ({
5726
+ input: GetViewRequest,
5727
+ output: View,
5728
+ errors: [NotFound, UnknownAxiomError],
5729
+ protocol: AxiomProtocol,
5730
+ retry: Retry.Retry,
5731
+ }));
6281
5732
 
6282
5733
  export type GetViewsError = AxiomOpError;
6283
5734
  export const getViews: API.OperationMethod<
@@ -6396,10 +5847,7 @@ export const provisionOrg: API.OperationMethod<
6396
5847
  retry: Retry.Retry,
6397
5848
  }));
6398
5849
 
6399
- export type RegenerateAPITokenError =
6400
- | NotFound
6401
- | UnprocessableEntity
6402
- | AxiomOpError;
5850
+ export type RegenerateAPITokenError = NotFound | UnprocessableEntity | AxiomOpError;
6403
5851
  /** Regenerate API token */
6404
5852
  export const regenerateAPIToken: API.OperationMethod<
6405
5853
  RegenerateAPITokenRequest,
@@ -6444,11 +5892,7 @@ export const trimDataset: API.OperationMethod<
6444
5892
  retry: Retry.Retry,
6445
5893
  }));
6446
5894
 
6447
- export type UpdateAnnotationError =
6448
- | BadRequest
6449
- | NotFound
6450
- | UnprocessableEntity
6451
- | AxiomOpError;
5895
+ export type UpdateAnnotationError = BadRequest | NotFound | UnprocessableEntity | AxiomOpError;
6452
5896
  /** Update annotation */
6453
5897
  export const updateAnnotation: API.OperationMethod<
6454
5898
  UpdateAnnotationRequest,
@@ -6493,11 +5937,7 @@ export const updateDashboard: API.OperationMethod<
6493
5937
  retry: Retry.Retry,
6494
5938
  }));
6495
5939
 
6496
- export type UpdateDatasetError =
6497
- | Forbidden
6498
- | NotFound
6499
- | UnprocessableEntity
6500
- | AxiomOpError;
5940
+ export type UpdateDatasetError = Forbidden | NotFound | UnprocessableEntity | AxiomOpError;
6501
5941
  /** Update dataset Update dataset */
6502
5942
  export const updateDataset: API.OperationMethod<
6503
5943
  UpdateDatasetRequest,
@@ -6512,10 +5952,7 @@ export const updateDataset: API.OperationMethod<
6512
5952
  retry: Retry.Retry,
6513
5953
  }));
6514
5954
 
6515
- export type UpdateFieldForDatasetError =
6516
- | NotFound
6517
- | UnprocessableEntity
6518
- | AxiomOpError;
5955
+ export type UpdateFieldForDatasetError = NotFound | UnprocessableEntity | AxiomOpError;
6519
5956
  export const updateFieldForDataset: API.OperationMethod<
6520
5957
  UpdateFieldForDatasetRequest,
6521
5958
  DatasetField,
@@ -6589,18 +6026,14 @@ export const updateNotifier: API.OperationMethod<
6589
6026
  }));
6590
6027
 
6591
6028
  export type UpdateOrgError = NotFound | AxiomOpError;
6592
- export const updateOrg: API.OperationMethod<
6593
- UpdateOrgRequest,
6594
- Org,
6595
- UpdateOrgError,
6596
- AxiomOpContext
6597
- > = /*@__PURE__*/ API.make(() => ({
6598
- input: UpdateOrgRequest,
6599
- output: Org,
6600
- errors: [NotFound, UnknownAxiomError],
6601
- protocol: AxiomProtocol,
6602
- retry: Retry.Retry,
6603
- }));
6029
+ export const updateOrg: API.OperationMethod<UpdateOrgRequest, Org, UpdateOrgError, AxiomOpContext> =
6030
+ /*@__PURE__*/ API.make(() => ({
6031
+ input: UpdateOrgRequest,
6032
+ output: Org,
6033
+ errors: [NotFound, UnknownAxiomError],
6034
+ protocol: AxiomProtocol,
6035
+ retry: Retry.Retry,
6036
+ }));
6604
6037
 
6605
6038
  export type UpdateRoleError = NotFound | UnprocessableEntity | AxiomOpError;
6606
6039
  /** Update role Updates an existing role's configuration including its permissions and member assignments. */
@@ -6660,10 +6093,7 @@ export const updateView: API.OperationMethod<
6660
6093
  retry: Retry.Retry,
6661
6094
  }));
6662
6095
 
6663
- export type UpdateVirtualFieldError =
6664
- | NotFound
6665
- | UnprocessableEntity
6666
- | AxiomOpError;
6096
+ export type UpdateVirtualFieldError = NotFound | UnprocessableEntity | AxiomOpError;
6667
6097
  export const updateVirtualField: API.OperationMethod<
6668
6098
  UpdateVirtualFieldRequest,
6669
6099
  UpdateVirtualFieldResponse,