@shipeasy/openapi 3.1.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-V4ZESAIF.js → chunk-75Z4SQOM.js} +141 -1
  3. package/dist/chunk-75Z4SQOM.js.map +1 -0
  4. package/dist/{chunk-UV333BIK.js → chunk-ZYK74ZIW.js} +569 -119
  5. package/dist/chunk-ZYK74ZIW.js.map +1 -0
  6. package/dist/{client-yqGYju-M.d.ts → client-DAGqRpF1.d.ts} +2209 -401
  7. package/dist/client.d.ts +1 -1
  8. package/dist/client.js +33 -1
  9. package/dist/custom.d.ts +5 -5
  10. package/dist/custom.js +128 -84
  11. package/dist/custom.js.map +1 -1
  12. package/dist/index.d.ts +2 -2
  13. package/dist/index.js +34 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/schemas.d.ts +2007 -891
  16. package/dist/schemas.js +179 -1
  17. package/openapi-sdk.json +1769 -0
  18. package/openapi.json +5861 -2597
  19. package/openapi.yaml +2739 -452
  20. package/package.json +6 -4
  21. package/spec/components/responses.yaml +39 -0
  22. package/spec/components/schemas/alert-rules.yaml +405 -7
  23. package/spec/components/schemas/alerts.yaml +9 -7
  24. package/spec/components/schemas/common.yaml +2 -2
  25. package/spec/components/schemas/connectors.yaml +69 -6
  26. package/spec/components/schemas/events.yaml +20 -9
  27. package/spec/components/schemas/gates.yaml +87 -0
  28. package/spec/components/schemas/keys.yaml +32 -2
  29. package/spec/components/schemas/killswitches.yaml +64 -0
  30. package/spec/components/schemas/metrics.yaml +131 -251
  31. package/spec/components/schemas/ops.yaml +555 -22
  32. package/spec/components/schemas/projects.yaml +18 -0
  33. package/spec/components/schemas/tags.yaml +91 -0
  34. package/spec/openapi-sdk.yaml +86 -0
  35. package/spec/openapi.yaml +61 -0
  36. package/spec/paths/alerts.yaml +5 -3
  37. package/spec/paths/gates.yaml +282 -0
  38. package/spec/paths/i18n.yaml +2 -1
  39. package/spec/paths/keys.yaml +79 -0
  40. package/spec/paths/killswitches.yaml +96 -0
  41. package/spec/paths/metrics.yaml +26 -17
  42. package/spec/paths/ops.yaml +566 -10
  43. package/spec/paths/tags.yaml +270 -0
  44. package/dist/chunk-UV333BIK.js.map +0 -1
  45. package/dist/chunk-V4ZESAIF.js.map +0 -1
package/dist/schemas.d.ts CHANGED
@@ -515,6 +515,51 @@ declare const zListGateActivityResponse: z.ZodArray<z.ZodObject<{
515
515
  payload: z.ZodUnknown;
516
516
  createdAt: z.ZodString;
517
517
  }, z.core.$strip>>;
518
+ /**
519
+ * Which identity attribute the whitelist matches on. `email` compares the caller's `email`; `user_id` compares the caller's `userID`. A whitelist matches on exactly one of the two at a time.
520
+ */
521
+ declare const zGateWhitelistAttr: z.ZodEnum<{
522
+ email: "email";
523
+ user_id: "user_id";
524
+ }>;
525
+ /**
526
+ * A gate's whitelist — the always-first allowlist that admits the listed identities before any targeting rule or rollout runs. Backed by the pinned `whitelist` entry at the head of the gate's `stack`, so it is the same list the dashboard's Whitelist block edits.
527
+ */
528
+ declare const zGateWhitelist: z.ZodObject<{
529
+ id: z.ZodString;
530
+ name: z.ZodString;
531
+ attr: z.ZodEnum<{
532
+ email: "email";
533
+ user_id: "user_id";
534
+ }>;
535
+ entries: z.ZodArray<z.ZodString>;
536
+ }, z.core.$strip>;
537
+ /**
538
+ * Body for `PUT /api/admin/gates/{id}/whitelist`. Replaces the whole list — idempotent, and the only call that can switch `attr` or clear the whitelist.
539
+ */
540
+ declare const zSetGateWhitelistRequest: z.ZodObject<{
541
+ attr: z.ZodOptional<z.ZodEnum<{
542
+ email: "email";
543
+ user_id: "user_id";
544
+ }>>;
545
+ entries: z.ZodArray<z.ZodString>;
546
+ }, z.core.$strip>;
547
+ /**
548
+ * Body for `POST /api/admin/gates/{id}/whitelist`. Adds entries to the whitelist, creating it if the gate doesn't have one.
549
+ */
550
+ declare const zAddToGateWhitelistRequest: z.ZodObject<{
551
+ attr: z.ZodOptional<z.ZodEnum<{
552
+ email: "email";
553
+ user_id: "user_id";
554
+ }>>;
555
+ entries: z.ZodArray<z.ZodString>;
556
+ }, z.core.$strip>;
557
+ /**
558
+ * Body for `DELETE /api/admin/gates/{id}/whitelist`. Removes entries from the whitelist. Removing the last entry leaves an empty whitelist in place — use `PUT` with `entries: []` to drop the block itself.
559
+ */
560
+ declare const zRemoveFromGateWhitelistRequest: z.ZodObject<{
561
+ entries: z.ZodArray<z.ZodString>;
562
+ }, z.core.$strip>;
518
563
  declare const zExperimentApiRow: z.ZodObject<{
519
564
  id: z.ZodString;
520
565
  name: z.ZodString;
@@ -676,10 +721,7 @@ declare const zExperimentInlineMetric: z.ZodObject<{
676
721
  query: z.ZodOptional<z.ZodString>;
677
722
  event: z.ZodOptional<z.ZodString>;
678
723
  aggregation: z.ZodOptional<z.ZodEnum<{
679
- count_users: "count_users";
680
724
  count_events: "count_events";
681
- retention_7d: "retention_7d";
682
- retention_30d: "retention_30d";
683
725
  sum: "sum";
684
726
  avg: "avg";
685
727
  }>>;
@@ -724,10 +766,7 @@ declare const zCreateExperimentRequest: z.ZodObject<{
724
766
  query: z.ZodOptional<z.ZodString>;
725
767
  event: z.ZodOptional<z.ZodString>;
726
768
  aggregation: z.ZodOptional<z.ZodEnum<{
727
- count_users: "count_users";
728
769
  count_events: "count_events";
729
- retention_7d: "retention_7d";
730
- retention_30d: "retention_30d";
731
770
  sum: "sum";
732
771
  avg: "avg";
733
772
  }>>;
@@ -739,10 +778,7 @@ declare const zCreateExperimentRequest: z.ZodObject<{
739
778
  query: z.ZodOptional<z.ZodString>;
740
779
  event: z.ZodOptional<z.ZodString>;
741
780
  aggregation: z.ZodOptional<z.ZodEnum<{
742
- count_users: "count_users";
743
781
  count_events: "count_events";
744
- retention_7d: "retention_7d";
745
- retention_30d: "retention_30d";
746
782
  sum: "sum";
747
783
  avg: "avg";
748
784
  }>>;
@@ -795,10 +831,7 @@ declare const zUpdateExperimentRequest: z.ZodObject<{
795
831
  query: z.ZodOptional<z.ZodString>;
796
832
  event: z.ZodOptional<z.ZodString>;
797
833
  aggregation: z.ZodOptional<z.ZodEnum<{
798
- count_users: "count_users";
799
834
  count_events: "count_events";
800
- retention_7d: "retention_7d";
801
- retention_30d: "retention_30d";
802
835
  sum: "sum";
803
836
  avg: "avg";
804
837
  }>>;
@@ -810,10 +843,7 @@ declare const zUpdateExperimentRequest: z.ZodObject<{
810
843
  query: z.ZodOptional<z.ZodString>;
811
844
  event: z.ZodOptional<z.ZodString>;
812
845
  aggregation: z.ZodOptional<z.ZodEnum<{
813
- count_users: "count_users";
814
846
  count_events: "count_events";
815
- retention_7d: "retention_7d";
816
- retention_30d: "retention_30d";
817
847
  sum: "sum";
818
848
  avg: "avg";
819
849
  }>>;
@@ -1395,6 +1425,39 @@ declare const zSetKillswitchValueResponse: z.ZodObject<{
1395
1425
  switches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1396
1426
  }, z.core.$strip>;
1397
1427
  }, z.core.$strip>;
1428
+ /**
1429
+ * Body for `POST /api/admin/killswitches/{id}/toggle`. Every field is optional, so the four useful calls read as one method with a widening argument list:
1430
+ *
1431
+ * - `{}` — flip the flat value on prod.
1432
+ * - `{ "switchKey": "eu_region" }` — flip that sub-switch on prod.
1433
+ * - `{ "switchKey": "eu_region", "value": true }` — set that sub-switch on prod, idempotently.
1434
+ * - `{ "switchKey": "eu_region", "value": true, "env": "staging" }` — the same, on a chosen env.
1435
+ */
1436
+ declare const zToggleKillswitchRequest: z.ZodObject<{
1437
+ switchKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1438
+ value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1439
+ env: z.ZodOptional<z.ZodEnum<{
1440
+ dev: "dev";
1441
+ staging: "staging";
1442
+ prod: "prod";
1443
+ }>>;
1444
+ }, z.core.$strip>;
1445
+ declare const zToggleKillswitchResponse: z.ZodObject<{
1446
+ id: z.ZodString;
1447
+ env: z.ZodEnum<{
1448
+ dev: "dev";
1449
+ staging: "staging";
1450
+ prod: "prod";
1451
+ }>;
1452
+ switchKey: z.ZodNullable<z.ZodString>;
1453
+ previous: z.ZodBoolean;
1454
+ value: z.ZodBoolean;
1455
+ version: z.ZodInt;
1456
+ published: z.ZodObject<{
1457
+ value: z.ZodBoolean;
1458
+ switches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1459
+ }, z.core.$strip>;
1460
+ }, z.core.$strip>;
1398
1461
  declare const zUniverseParam: z.ZodObject<{
1399
1462
  name: z.ZodString;
1400
1463
  type: z.ZodEnum<{
@@ -1805,78 +1868,30 @@ declare const zUpdateAttributeResponse: z.ZodObject<{
1805
1868
  id: z.ZodString;
1806
1869
  }, z.core.$strip>;
1807
1870
  /**
1808
- * Typed query IR — the structured alternative to the `query` DSL string. Exactly one of `query` / `query_ir` is supplied per metric body.
1871
+ * How the metric's series is DRAWN, as opposed to what it measures. Both parts used to be DSL functions (`expected(q, seasonal)`, `forecast(q, …)`), which meant turning a band on minted a different metric; they are properties now, so every chart of the metric picks them up and nothing that JUDGES the metric — an alert rule, the experiment analyzer — reads them at all.
1809
1872
  */
1810
- declare const zQueryIr: z.ZodObject<{
1811
- agg: z.ZodUnion<readonly [z.ZodObject<{
1812
- kind: z.ZodLiteral<"count_users">;
1813
- }, z.core.$strip>, z.ZodObject<{
1814
- kind: z.ZodLiteral<"count_events">;
1815
- }, z.core.$strip>, z.ZodObject<{
1816
- kind: z.ZodLiteral<"sum">;
1817
- }, z.core.$strip>, z.ZodObject<{
1818
- kind: z.ZodLiteral<"avg">;
1819
- }, z.core.$strip>, z.ZodObject<{
1820
- kind: z.ZodLiteral<"min">;
1821
- }, z.core.$strip>, z.ZodObject<{
1822
- kind: z.ZodLiteral<"max">;
1823
- }, z.core.$strip>, z.ZodObject<{
1824
- kind: z.ZodLiteral<"unique">;
1825
- }, z.core.$strip>, z.ZodObject<{
1826
- kind: z.ZodLiteral<"quantile">;
1827
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
1828
- }, z.core.$strip>, z.ZodObject<{
1829
- kind: z.ZodLiteral<"retention_Nd">;
1830
- n: z.ZodInt;
1831
- }, z.core.$strip>, z.ZodObject<{
1832
- kind: z.ZodLiteral<"ratio">;
1833
- numerator: z.ZodObject<{
1834
- agg: z.ZodEnum<{
1835
- count_users: "count_users";
1836
- count_events: "count_events";
1837
- }>;
1838
- metric: z.ZodString;
1839
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
1840
- label: z.ZodString;
1841
- op: z.ZodEnum<{
1842
- "=": "=";
1843
- "!=": "!=";
1844
- "=~": "=~";
1845
- "!~": "!~";
1846
- }>;
1847
- value: z.ZodString;
1848
- }, z.core.$strip>>>;
1849
- }, z.core.$strip>;
1850
- denominator: z.ZodObject<{
1851
- agg: z.ZodEnum<{
1852
- count_users: "count_users";
1853
- count_events: "count_events";
1854
- }>;
1855
- metric: z.ZodString;
1856
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
1857
- label: z.ZodString;
1858
- op: z.ZodEnum<{
1859
- "=": "=";
1860
- "!=": "!=";
1861
- "=~": "=~";
1862
- "!~": "!~";
1863
- }>;
1864
- value: z.ZodString;
1865
- }, z.core.$strip>>>;
1866
- }, z.core.$strip>;
1867
- }, z.core.$strip>]>;
1868
- metric: z.ZodString;
1869
- valueLabel: z.ZodOptional<z.ZodString>;
1870
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1871
- label: z.ZodString;
1872
- op: z.ZodEnum<{
1873
- "=": "=";
1874
- "!=": "!=";
1875
- "=~": "=~";
1876
- "!~": "!~";
1873
+ declare const zMetricDisplayConfig: z.ZodObject<{
1874
+ band: z.ZodOptional<z.ZodObject<{
1875
+ method: z.ZodEnum<{
1876
+ seasonal: "seasonal";
1877
1877
  }>;
1878
- value: z.ZodString;
1879
- }, z.core.$strip>>>>;
1878
+ sigma: z.ZodOptional<z.ZodNumber>;
1879
+ }, z.core.$strip>>;
1880
+ forecast: z.ZodOptional<z.ZodObject<{
1881
+ method: z.ZodEnum<{
1882
+ seasonal: "seasonal";
1883
+ linear: "linear";
1884
+ }>;
1885
+ horizon: z.ZodOptional<z.ZodInt>;
1886
+ }, z.core.$strip>>;
1887
+ }, z.core.$strip>;
1888
+ /**
1889
+ * A metric definition as a typed expression tree — the structured alternative to the `query` DSL string, and what the API stores. Exactly one of `query` / `query_ir` is supplied per metric body; `query` is the same definition written as text, and is the spelling to prefer.
1890
+ * Until 2026-08-10 this documented a single aggregation (`{agg, metric, filters}`, with `ratio` as a special case). That shape no longer exists — stored metrics were migrated and the code that read it was deleted — so a body sending it is rejected. Send the `query` string instead, or the tree below.
1891
+ */
1892
+ declare const zQueryIr: z.ZodObject<{
1893
+ v: z.ZodLiteral<2>;
1894
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1880
1895
  groupBy: z.ZodOptional<z.ZodObject<{
1881
1896
  op: z.ZodEnum<{
1882
1897
  by: "by";
@@ -1884,6 +1899,21 @@ declare const zQueryIr: z.ZodObject<{
1884
1899
  }>;
1885
1900
  labels: z.ZodArray<z.ZodString>;
1886
1901
  }, z.core.$strip>>;
1902
+ display: z.ZodOptional<z.ZodObject<{
1903
+ band: z.ZodOptional<z.ZodObject<{
1904
+ method: z.ZodEnum<{
1905
+ seasonal: "seasonal";
1906
+ }>;
1907
+ sigma: z.ZodOptional<z.ZodNumber>;
1908
+ }, z.core.$strip>>;
1909
+ forecast: z.ZodOptional<z.ZodObject<{
1910
+ method: z.ZodEnum<{
1911
+ seasonal: "seasonal";
1912
+ linear: "linear";
1913
+ }>;
1914
+ horizon: z.ZodOptional<z.ZodInt>;
1915
+ }, z.core.$strip>>;
1916
+ }, z.core.$strip>>;
1887
1917
  }, z.core.$strip>;
1888
1918
  /**
1889
1919
  * Every metric in the project (the list endpoint is not paginated).
@@ -1895,75 +1925,8 @@ declare const zListMetricsResponse: z.ZodArray<z.ZodObject<{
1895
1925
  eventName: z.ZodString;
1896
1926
  query: z.ZodNullable<z.ZodString>;
1897
1927
  queryIr: z.ZodNullable<z.ZodObject<{
1898
- agg: z.ZodUnion<readonly [z.ZodObject<{
1899
- kind: z.ZodLiteral<"count_users">;
1900
- }, z.core.$strip>, z.ZodObject<{
1901
- kind: z.ZodLiteral<"count_events">;
1902
- }, z.core.$strip>, z.ZodObject<{
1903
- kind: z.ZodLiteral<"sum">;
1904
- }, z.core.$strip>, z.ZodObject<{
1905
- kind: z.ZodLiteral<"avg">;
1906
- }, z.core.$strip>, z.ZodObject<{
1907
- kind: z.ZodLiteral<"min">;
1908
- }, z.core.$strip>, z.ZodObject<{
1909
- kind: z.ZodLiteral<"max">;
1910
- }, z.core.$strip>, z.ZodObject<{
1911
- kind: z.ZodLiteral<"unique">;
1912
- }, z.core.$strip>, z.ZodObject<{
1913
- kind: z.ZodLiteral<"quantile">;
1914
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
1915
- }, z.core.$strip>, z.ZodObject<{
1916
- kind: z.ZodLiteral<"retention_Nd">;
1917
- n: z.ZodInt;
1918
- }, z.core.$strip>, z.ZodObject<{
1919
- kind: z.ZodLiteral<"ratio">;
1920
- numerator: z.ZodObject<{
1921
- agg: z.ZodEnum<{
1922
- count_users: "count_users";
1923
- count_events: "count_events";
1924
- }>;
1925
- metric: z.ZodString;
1926
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
1927
- label: z.ZodString;
1928
- op: z.ZodEnum<{
1929
- "=": "=";
1930
- "!=": "!=";
1931
- "=~": "=~";
1932
- "!~": "!~";
1933
- }>;
1934
- value: z.ZodString;
1935
- }, z.core.$strip>>>;
1936
- }, z.core.$strip>;
1937
- denominator: z.ZodObject<{
1938
- agg: z.ZodEnum<{
1939
- count_users: "count_users";
1940
- count_events: "count_events";
1941
- }>;
1942
- metric: z.ZodString;
1943
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
1944
- label: z.ZodString;
1945
- op: z.ZodEnum<{
1946
- "=": "=";
1947
- "!=": "!=";
1948
- "=~": "=~";
1949
- "!~": "!~";
1950
- }>;
1951
- value: z.ZodString;
1952
- }, z.core.$strip>>>;
1953
- }, z.core.$strip>;
1954
- }, z.core.$strip>]>;
1955
- metric: z.ZodString;
1956
- valueLabel: z.ZodOptional<z.ZodString>;
1957
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1958
- label: z.ZodString;
1959
- op: z.ZodEnum<{
1960
- "=": "=";
1961
- "!=": "!=";
1962
- "=~": "=~";
1963
- "!~": "!~";
1964
- }>;
1965
- value: z.ZodString;
1966
- }, z.core.$strip>>>>;
1928
+ v: z.ZodLiteral<2>;
1929
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1967
1930
  groupBy: z.ZodOptional<z.ZodObject<{
1968
1931
  op: z.ZodEnum<{
1969
1932
  by: "by";
@@ -1971,6 +1934,21 @@ declare const zListMetricsResponse: z.ZodArray<z.ZodObject<{
1971
1934
  }>;
1972
1935
  labels: z.ZodArray<z.ZodString>;
1973
1936
  }, z.core.$strip>>;
1937
+ display: z.ZodOptional<z.ZodObject<{
1938
+ band: z.ZodOptional<z.ZodObject<{
1939
+ method: z.ZodEnum<{
1940
+ seasonal: "seasonal";
1941
+ }>;
1942
+ sigma: z.ZodOptional<z.ZodNumber>;
1943
+ }, z.core.$strip>>;
1944
+ forecast: z.ZodOptional<z.ZodObject<{
1945
+ method: z.ZodEnum<{
1946
+ seasonal: "seasonal";
1947
+ linear: "linear";
1948
+ }>;
1949
+ horizon: z.ZodOptional<z.ZodInt>;
1950
+ }, z.core.$strip>>;
1951
+ }, z.core.$strip>>;
1974
1952
  }, z.core.$strip>>;
1975
1953
  displayName: z.ZodNullable<z.ZodString>;
1976
1954
  presetId: z.ZodNullable<z.ZodString>;
@@ -1989,6 +1967,10 @@ declare const zListMetricsResponse: z.ZodArray<z.ZodObject<{
1989
1967
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1990
1968
  updatedAt: z.ZodOptional<z.ZodString>;
1991
1969
  }, z.core.$strip>>;
1970
+ /**
1971
+ * What a human calls the metric — "Checkout revenue" beside the `checkout.revenue` that identifies it. Unlike `name` it is free text, it is editable, and nothing addresses the metric by it: the dashboard leads with it and falls back to `name` when it is absent, so a metric nobody named simply reads as its key. Send `null` to clear it.
1972
+ */
1973
+ declare const zMetricDisplayName: z.ZodNullable<z.ZodString>;
1992
1974
  /**
1993
1975
  * Source event the query reads from.
1994
1976
  */
@@ -2022,6 +2004,7 @@ declare const zMetricDisplayUnit: z.ZodNullable<z.ZodString>;
2022
2004
  */
2023
2005
  declare const zCreateMetricWithQuery: z.ZodObject<{
2024
2006
  name: z.ZodString;
2007
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2025
2008
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2026
2009
  event_name: z.ZodString;
2027
2010
  query: z.ZodString;
@@ -2033,84 +2016,33 @@ declare const zCreateMetricWithQuery: z.ZodObject<{
2033
2016
  neutral: "neutral";
2034
2017
  }>>>;
2035
2018
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2019
+ display: z.ZodOptional<z.ZodObject<{
2020
+ band: z.ZodOptional<z.ZodObject<{
2021
+ method: z.ZodEnum<{
2022
+ seasonal: "seasonal";
2023
+ }>;
2024
+ sigma: z.ZodOptional<z.ZodNumber>;
2025
+ }, z.core.$strip>>;
2026
+ forecast: z.ZodOptional<z.ZodObject<{
2027
+ method: z.ZodEnum<{
2028
+ seasonal: "seasonal";
2029
+ linear: "linear";
2030
+ }>;
2031
+ horizon: z.ZodOptional<z.ZodInt>;
2032
+ }, z.core.$strip>>;
2033
+ }, z.core.$strip>>;
2036
2034
  }, z.core.$strip>;
2037
2035
  /**
2038
2036
  * Create a metric, supplying the query as a typed `query_ir`.
2039
2037
  */
2040
2038
  declare const zCreateMetricWithQueryIr: z.ZodObject<{
2041
2039
  name: z.ZodString;
2040
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2042
2041
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2043
2042
  event_name: z.ZodString;
2044
2043
  query_ir: z.ZodObject<{
2045
- agg: z.ZodUnion<readonly [z.ZodObject<{
2046
- kind: z.ZodLiteral<"count_users">;
2047
- }, z.core.$strip>, z.ZodObject<{
2048
- kind: z.ZodLiteral<"count_events">;
2049
- }, z.core.$strip>, z.ZodObject<{
2050
- kind: z.ZodLiteral<"sum">;
2051
- }, z.core.$strip>, z.ZodObject<{
2052
- kind: z.ZodLiteral<"avg">;
2053
- }, z.core.$strip>, z.ZodObject<{
2054
- kind: z.ZodLiteral<"min">;
2055
- }, z.core.$strip>, z.ZodObject<{
2056
- kind: z.ZodLiteral<"max">;
2057
- }, z.core.$strip>, z.ZodObject<{
2058
- kind: z.ZodLiteral<"unique">;
2059
- }, z.core.$strip>, z.ZodObject<{
2060
- kind: z.ZodLiteral<"quantile">;
2061
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
2062
- }, z.core.$strip>, z.ZodObject<{
2063
- kind: z.ZodLiteral<"retention_Nd">;
2064
- n: z.ZodInt;
2065
- }, z.core.$strip>, z.ZodObject<{
2066
- kind: z.ZodLiteral<"ratio">;
2067
- numerator: z.ZodObject<{
2068
- agg: z.ZodEnum<{
2069
- count_users: "count_users";
2070
- count_events: "count_events";
2071
- }>;
2072
- metric: z.ZodString;
2073
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2074
- label: z.ZodString;
2075
- op: z.ZodEnum<{
2076
- "=": "=";
2077
- "!=": "!=";
2078
- "=~": "=~";
2079
- "!~": "!~";
2080
- }>;
2081
- value: z.ZodString;
2082
- }, z.core.$strip>>>;
2083
- }, z.core.$strip>;
2084
- denominator: z.ZodObject<{
2085
- agg: z.ZodEnum<{
2086
- count_users: "count_users";
2087
- count_events: "count_events";
2088
- }>;
2089
- metric: z.ZodString;
2090
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2091
- label: z.ZodString;
2092
- op: z.ZodEnum<{
2093
- "=": "=";
2094
- "!=": "!=";
2095
- "=~": "=~";
2096
- "!~": "!~";
2097
- }>;
2098
- value: z.ZodString;
2099
- }, z.core.$strip>>>;
2100
- }, z.core.$strip>;
2101
- }, z.core.$strip>]>;
2102
- metric: z.ZodString;
2103
- valueLabel: z.ZodOptional<z.ZodString>;
2104
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2105
- label: z.ZodString;
2106
- op: z.ZodEnum<{
2107
- "=": "=";
2108
- "!=": "!=";
2109
- "=~": "=~";
2110
- "!~": "!~";
2111
- }>;
2112
- value: z.ZodString;
2113
- }, z.core.$strip>>>>;
2044
+ v: z.ZodLiteral<2>;
2045
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2114
2046
  groupBy: z.ZodOptional<z.ZodObject<{
2115
2047
  op: z.ZodEnum<{
2116
2048
  by: "by";
@@ -2118,6 +2050,21 @@ declare const zCreateMetricWithQueryIr: z.ZodObject<{
2118
2050
  }>;
2119
2051
  labels: z.ZodArray<z.ZodString>;
2120
2052
  }, z.core.$strip>>;
2053
+ display: z.ZodOptional<z.ZodObject<{
2054
+ band: z.ZodOptional<z.ZodObject<{
2055
+ method: z.ZodEnum<{
2056
+ seasonal: "seasonal";
2057
+ }>;
2058
+ sigma: z.ZodOptional<z.ZodNumber>;
2059
+ }, z.core.$strip>>;
2060
+ forecast: z.ZodOptional<z.ZodObject<{
2061
+ method: z.ZodEnum<{
2062
+ seasonal: "seasonal";
2063
+ linear: "linear";
2064
+ }>;
2065
+ horizon: z.ZodOptional<z.ZodInt>;
2066
+ }, z.core.$strip>>;
2067
+ }, z.core.$strip>>;
2121
2068
  }, z.core.$strip>;
2122
2069
  winsorize_pct: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
2123
2070
  default_min_effect_of_interest: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
@@ -2127,12 +2074,28 @@ declare const zCreateMetricWithQueryIr: z.ZodObject<{
2127
2074
  neutral: "neutral";
2128
2075
  }>>>;
2129
2076
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2077
+ display: z.ZodOptional<z.ZodObject<{
2078
+ band: z.ZodOptional<z.ZodObject<{
2079
+ method: z.ZodEnum<{
2080
+ seasonal: "seasonal";
2081
+ }>;
2082
+ sigma: z.ZodOptional<z.ZodNumber>;
2083
+ }, z.core.$strip>>;
2084
+ forecast: z.ZodOptional<z.ZodObject<{
2085
+ method: z.ZodEnum<{
2086
+ seasonal: "seasonal";
2087
+ linear: "linear";
2088
+ }>;
2089
+ horizon: z.ZodOptional<z.ZodInt>;
2090
+ }, z.core.$strip>>;
2091
+ }, z.core.$strip>>;
2130
2092
  }, z.core.$strip>;
2131
2093
  /**
2132
2094
  * Body for `POST /api/admin/metrics`. Requires `name`, `event_name`, and exactly one of `query` / `query_ir` — modelled as a `oneOf` of two strict variants, so supplying both (or neither) is rejected.
2133
2095
  */
2134
2096
  declare const zCreateMetricRequest: z.ZodUnion<readonly [z.ZodObject<{
2135
2097
  name: z.ZodString;
2098
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2136
2099
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2137
2100
  event_name: z.ZodString;
2138
2101
  query: z.ZodString;
@@ -2144,80 +2107,29 @@ declare const zCreateMetricRequest: z.ZodUnion<readonly [z.ZodObject<{
2144
2107
  neutral: "neutral";
2145
2108
  }>>>;
2146
2109
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2110
+ display: z.ZodOptional<z.ZodObject<{
2111
+ band: z.ZodOptional<z.ZodObject<{
2112
+ method: z.ZodEnum<{
2113
+ seasonal: "seasonal";
2114
+ }>;
2115
+ sigma: z.ZodOptional<z.ZodNumber>;
2116
+ }, z.core.$strip>>;
2117
+ forecast: z.ZodOptional<z.ZodObject<{
2118
+ method: z.ZodEnum<{
2119
+ seasonal: "seasonal";
2120
+ linear: "linear";
2121
+ }>;
2122
+ horizon: z.ZodOptional<z.ZodInt>;
2123
+ }, z.core.$strip>>;
2124
+ }, z.core.$strip>>;
2147
2125
  }, z.core.$strip>, z.ZodObject<{
2148
2126
  name: z.ZodString;
2127
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2149
2128
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2150
2129
  event_name: z.ZodString;
2151
2130
  query_ir: z.ZodObject<{
2152
- agg: z.ZodUnion<readonly [z.ZodObject<{
2153
- kind: z.ZodLiteral<"count_users">;
2154
- }, z.core.$strip>, z.ZodObject<{
2155
- kind: z.ZodLiteral<"count_events">;
2156
- }, z.core.$strip>, z.ZodObject<{
2157
- kind: z.ZodLiteral<"sum">;
2158
- }, z.core.$strip>, z.ZodObject<{
2159
- kind: z.ZodLiteral<"avg">;
2160
- }, z.core.$strip>, z.ZodObject<{
2161
- kind: z.ZodLiteral<"min">;
2162
- }, z.core.$strip>, z.ZodObject<{
2163
- kind: z.ZodLiteral<"max">;
2164
- }, z.core.$strip>, z.ZodObject<{
2165
- kind: z.ZodLiteral<"unique">;
2166
- }, z.core.$strip>, z.ZodObject<{
2167
- kind: z.ZodLiteral<"quantile">;
2168
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
2169
- }, z.core.$strip>, z.ZodObject<{
2170
- kind: z.ZodLiteral<"retention_Nd">;
2171
- n: z.ZodInt;
2172
- }, z.core.$strip>, z.ZodObject<{
2173
- kind: z.ZodLiteral<"ratio">;
2174
- numerator: z.ZodObject<{
2175
- agg: z.ZodEnum<{
2176
- count_users: "count_users";
2177
- count_events: "count_events";
2178
- }>;
2179
- metric: z.ZodString;
2180
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2181
- label: z.ZodString;
2182
- op: z.ZodEnum<{
2183
- "=": "=";
2184
- "!=": "!=";
2185
- "=~": "=~";
2186
- "!~": "!~";
2187
- }>;
2188
- value: z.ZodString;
2189
- }, z.core.$strip>>>;
2190
- }, z.core.$strip>;
2191
- denominator: z.ZodObject<{
2192
- agg: z.ZodEnum<{
2193
- count_users: "count_users";
2194
- count_events: "count_events";
2195
- }>;
2196
- metric: z.ZodString;
2197
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2198
- label: z.ZodString;
2199
- op: z.ZodEnum<{
2200
- "=": "=";
2201
- "!=": "!=";
2202
- "=~": "=~";
2203
- "!~": "!~";
2204
- }>;
2205
- value: z.ZodString;
2206
- }, z.core.$strip>>>;
2207
- }, z.core.$strip>;
2208
- }, z.core.$strip>]>;
2209
- metric: z.ZodString;
2210
- valueLabel: z.ZodOptional<z.ZodString>;
2211
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2212
- label: z.ZodString;
2213
- op: z.ZodEnum<{
2214
- "=": "=";
2215
- "!=": "!=";
2216
- "=~": "=~";
2217
- "!~": "!~";
2218
- }>;
2219
- value: z.ZodString;
2220
- }, z.core.$strip>>>>;
2131
+ v: z.ZodLiteral<2>;
2132
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2221
2133
  groupBy: z.ZodOptional<z.ZodObject<{
2222
2134
  op: z.ZodEnum<{
2223
2135
  by: "by";
@@ -2225,6 +2137,21 @@ declare const zCreateMetricRequest: z.ZodUnion<readonly [z.ZodObject<{
2225
2137
  }>;
2226
2138
  labels: z.ZodArray<z.ZodString>;
2227
2139
  }, z.core.$strip>>;
2140
+ display: z.ZodOptional<z.ZodObject<{
2141
+ band: z.ZodOptional<z.ZodObject<{
2142
+ method: z.ZodEnum<{
2143
+ seasonal: "seasonal";
2144
+ }>;
2145
+ sigma: z.ZodOptional<z.ZodNumber>;
2146
+ }, z.core.$strip>>;
2147
+ forecast: z.ZodOptional<z.ZodObject<{
2148
+ method: z.ZodEnum<{
2149
+ seasonal: "seasonal";
2150
+ linear: "linear";
2151
+ }>;
2152
+ horizon: z.ZodOptional<z.ZodInt>;
2153
+ }, z.core.$strip>>;
2154
+ }, z.core.$strip>>;
2228
2155
  }, z.core.$strip>;
2229
2156
  winsorize_pct: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
2230
2157
  default_min_effect_of_interest: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
@@ -2234,6 +2161,21 @@ declare const zCreateMetricRequest: z.ZodUnion<readonly [z.ZodObject<{
2234
2161
  neutral: "neutral";
2235
2162
  }>>>;
2236
2163
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2164
+ display: z.ZodOptional<z.ZodObject<{
2165
+ band: z.ZodOptional<z.ZodObject<{
2166
+ method: z.ZodEnum<{
2167
+ seasonal: "seasonal";
2168
+ }>;
2169
+ sigma: z.ZodOptional<z.ZodNumber>;
2170
+ }, z.core.$strip>>;
2171
+ forecast: z.ZodOptional<z.ZodObject<{
2172
+ method: z.ZodEnum<{
2173
+ seasonal: "seasonal";
2174
+ linear: "linear";
2175
+ }>;
2176
+ horizon: z.ZodOptional<z.ZodInt>;
2177
+ }, z.core.$strip>>;
2178
+ }, z.core.$strip>>;
2237
2179
  }, z.core.$strip>]>;
2238
2180
  /**
2239
2181
  * Result of a successful metric create.
@@ -2252,75 +2194,8 @@ declare const zGetMetricResponse: z.ZodObject<{
2252
2194
  eventName: z.ZodString;
2253
2195
  query: z.ZodNullable<z.ZodString>;
2254
2196
  queryIr: z.ZodNullable<z.ZodObject<{
2255
- agg: z.ZodUnion<readonly [z.ZodObject<{
2256
- kind: z.ZodLiteral<"count_users">;
2257
- }, z.core.$strip>, z.ZodObject<{
2258
- kind: z.ZodLiteral<"count_events">;
2259
- }, z.core.$strip>, z.ZodObject<{
2260
- kind: z.ZodLiteral<"sum">;
2261
- }, z.core.$strip>, z.ZodObject<{
2262
- kind: z.ZodLiteral<"avg">;
2263
- }, z.core.$strip>, z.ZodObject<{
2264
- kind: z.ZodLiteral<"min">;
2265
- }, z.core.$strip>, z.ZodObject<{
2266
- kind: z.ZodLiteral<"max">;
2267
- }, z.core.$strip>, z.ZodObject<{
2268
- kind: z.ZodLiteral<"unique">;
2269
- }, z.core.$strip>, z.ZodObject<{
2270
- kind: z.ZodLiteral<"quantile">;
2271
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
2272
- }, z.core.$strip>, z.ZodObject<{
2273
- kind: z.ZodLiteral<"retention_Nd">;
2274
- n: z.ZodInt;
2275
- }, z.core.$strip>, z.ZodObject<{
2276
- kind: z.ZodLiteral<"ratio">;
2277
- numerator: z.ZodObject<{
2278
- agg: z.ZodEnum<{
2279
- count_users: "count_users";
2280
- count_events: "count_events";
2281
- }>;
2282
- metric: z.ZodString;
2283
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2284
- label: z.ZodString;
2285
- op: z.ZodEnum<{
2286
- "=": "=";
2287
- "!=": "!=";
2288
- "=~": "=~";
2289
- "!~": "!~";
2290
- }>;
2291
- value: z.ZodString;
2292
- }, z.core.$strip>>>;
2293
- }, z.core.$strip>;
2294
- denominator: z.ZodObject<{
2295
- agg: z.ZodEnum<{
2296
- count_users: "count_users";
2297
- count_events: "count_events";
2298
- }>;
2299
- metric: z.ZodString;
2300
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2301
- label: z.ZodString;
2302
- op: z.ZodEnum<{
2303
- "=": "=";
2304
- "!=": "!=";
2305
- "=~": "=~";
2306
- "!~": "!~";
2307
- }>;
2308
- value: z.ZodString;
2309
- }, z.core.$strip>>>;
2310
- }, z.core.$strip>;
2311
- }, z.core.$strip>]>;
2312
- metric: z.ZodString;
2313
- valueLabel: z.ZodOptional<z.ZodString>;
2314
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2315
- label: z.ZodString;
2316
- op: z.ZodEnum<{
2317
- "=": "=";
2318
- "!=": "!=";
2319
- "=~": "=~";
2320
- "!~": "!~";
2321
- }>;
2322
- value: z.ZodString;
2323
- }, z.core.$strip>>>>;
2197
+ v: z.ZodLiteral<2>;
2198
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2324
2199
  groupBy: z.ZodOptional<z.ZodObject<{
2325
2200
  op: z.ZodEnum<{
2326
2201
  by: "by";
@@ -2328,6 +2203,21 @@ declare const zGetMetricResponse: z.ZodObject<{
2328
2203
  }>;
2329
2204
  labels: z.ZodArray<z.ZodString>;
2330
2205
  }, z.core.$strip>>;
2206
+ display: z.ZodOptional<z.ZodObject<{
2207
+ band: z.ZodOptional<z.ZodObject<{
2208
+ method: z.ZodEnum<{
2209
+ seasonal: "seasonal";
2210
+ }>;
2211
+ sigma: z.ZodOptional<z.ZodNumber>;
2212
+ }, z.core.$strip>>;
2213
+ forecast: z.ZodOptional<z.ZodObject<{
2214
+ method: z.ZodEnum<{
2215
+ seasonal: "seasonal";
2216
+ linear: "linear";
2217
+ }>;
2218
+ horizon: z.ZodOptional<z.ZodInt>;
2219
+ }, z.core.$strip>>;
2220
+ }, z.core.$strip>>;
2331
2221
  }, z.core.$strip>>;
2332
2222
  displayName: z.ZodNullable<z.ZodString>;
2333
2223
  presetId: z.ZodNullable<z.ZodString>;
@@ -2354,6 +2244,7 @@ declare const zDeleteMetricResponse: z.ZodObject<{
2354
2244
  * Update-metric variant that replaces the query with a `query` DSL string.
2355
2245
  */
2356
2246
  declare const zUpdateMetricWithQuery: z.ZodObject<{
2247
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2357
2248
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2358
2249
  event_name: z.ZodOptional<z.ZodString>;
2359
2250
  query: z.ZodString;
@@ -2365,83 +2256,32 @@ declare const zUpdateMetricWithQuery: z.ZodObject<{
2365
2256
  neutral: "neutral";
2366
2257
  }>>>;
2367
2258
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2259
+ display: z.ZodOptional<z.ZodObject<{
2260
+ band: z.ZodOptional<z.ZodObject<{
2261
+ method: z.ZodEnum<{
2262
+ seasonal: "seasonal";
2263
+ }>;
2264
+ sigma: z.ZodOptional<z.ZodNumber>;
2265
+ }, z.core.$strip>>;
2266
+ forecast: z.ZodOptional<z.ZodObject<{
2267
+ method: z.ZodEnum<{
2268
+ seasonal: "seasonal";
2269
+ linear: "linear";
2270
+ }>;
2271
+ horizon: z.ZodOptional<z.ZodInt>;
2272
+ }, z.core.$strip>>;
2273
+ }, z.core.$strip>>;
2368
2274
  }, z.core.$strip>;
2369
2275
  /**
2370
2276
  * Update-metric variant that replaces the query with a typed `query_ir`.
2371
2277
  */
2372
2278
  declare const zUpdateMetricWithQueryIr: z.ZodObject<{
2279
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2373
2280
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2374
2281
  event_name: z.ZodOptional<z.ZodString>;
2375
2282
  query_ir: z.ZodObject<{
2376
- agg: z.ZodUnion<readonly [z.ZodObject<{
2377
- kind: z.ZodLiteral<"count_users">;
2378
- }, z.core.$strip>, z.ZodObject<{
2379
- kind: z.ZodLiteral<"count_events">;
2380
- }, z.core.$strip>, z.ZodObject<{
2381
- kind: z.ZodLiteral<"sum">;
2382
- }, z.core.$strip>, z.ZodObject<{
2383
- kind: z.ZodLiteral<"avg">;
2384
- }, z.core.$strip>, z.ZodObject<{
2385
- kind: z.ZodLiteral<"min">;
2386
- }, z.core.$strip>, z.ZodObject<{
2387
- kind: z.ZodLiteral<"max">;
2388
- }, z.core.$strip>, z.ZodObject<{
2389
- kind: z.ZodLiteral<"unique">;
2390
- }, z.core.$strip>, z.ZodObject<{
2391
- kind: z.ZodLiteral<"quantile">;
2392
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
2393
- }, z.core.$strip>, z.ZodObject<{
2394
- kind: z.ZodLiteral<"retention_Nd">;
2395
- n: z.ZodInt;
2396
- }, z.core.$strip>, z.ZodObject<{
2397
- kind: z.ZodLiteral<"ratio">;
2398
- numerator: z.ZodObject<{
2399
- agg: z.ZodEnum<{
2400
- count_users: "count_users";
2401
- count_events: "count_events";
2402
- }>;
2403
- metric: z.ZodString;
2404
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2405
- label: z.ZodString;
2406
- op: z.ZodEnum<{
2407
- "=": "=";
2408
- "!=": "!=";
2409
- "=~": "=~";
2410
- "!~": "!~";
2411
- }>;
2412
- value: z.ZodString;
2413
- }, z.core.$strip>>>;
2414
- }, z.core.$strip>;
2415
- denominator: z.ZodObject<{
2416
- agg: z.ZodEnum<{
2417
- count_users: "count_users";
2418
- count_events: "count_events";
2419
- }>;
2420
- metric: z.ZodString;
2421
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2422
- label: z.ZodString;
2423
- op: z.ZodEnum<{
2424
- "=": "=";
2425
- "!=": "!=";
2426
- "=~": "=~";
2427
- "!~": "!~";
2428
- }>;
2429
- value: z.ZodString;
2430
- }, z.core.$strip>>>;
2431
- }, z.core.$strip>;
2432
- }, z.core.$strip>]>;
2433
- metric: z.ZodString;
2434
- valueLabel: z.ZodOptional<z.ZodString>;
2435
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2436
- label: z.ZodString;
2437
- op: z.ZodEnum<{
2438
- "=": "=";
2439
- "!=": "!=";
2440
- "=~": "=~";
2441
- "!~": "!~";
2442
- }>;
2443
- value: z.ZodString;
2444
- }, z.core.$strip>>>>;
2283
+ v: z.ZodLiteral<2>;
2284
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2445
2285
  groupBy: z.ZodOptional<z.ZodObject<{
2446
2286
  op: z.ZodEnum<{
2447
2287
  by: "by";
@@ -2449,6 +2289,21 @@ declare const zUpdateMetricWithQueryIr: z.ZodObject<{
2449
2289
  }>;
2450
2290
  labels: z.ZodArray<z.ZodString>;
2451
2291
  }, z.core.$strip>>;
2292
+ display: z.ZodOptional<z.ZodObject<{
2293
+ band: z.ZodOptional<z.ZodObject<{
2294
+ method: z.ZodEnum<{
2295
+ seasonal: "seasonal";
2296
+ }>;
2297
+ sigma: z.ZodOptional<z.ZodNumber>;
2298
+ }, z.core.$strip>>;
2299
+ forecast: z.ZodOptional<z.ZodObject<{
2300
+ method: z.ZodEnum<{
2301
+ seasonal: "seasonal";
2302
+ linear: "linear";
2303
+ }>;
2304
+ horizon: z.ZodOptional<z.ZodInt>;
2305
+ }, z.core.$strip>>;
2306
+ }, z.core.$strip>>;
2452
2307
  }, z.core.$strip>;
2453
2308
  winsorize_pct: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
2454
2309
  default_min_effect_of_interest: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
@@ -2458,11 +2313,27 @@ declare const zUpdateMetricWithQueryIr: z.ZodObject<{
2458
2313
  neutral: "neutral";
2459
2314
  }>>>;
2460
2315
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2316
+ display: z.ZodOptional<z.ZodObject<{
2317
+ band: z.ZodOptional<z.ZodObject<{
2318
+ method: z.ZodEnum<{
2319
+ seasonal: "seasonal";
2320
+ }>;
2321
+ sigma: z.ZodOptional<z.ZodNumber>;
2322
+ }, z.core.$strip>>;
2323
+ forecast: z.ZodOptional<z.ZodObject<{
2324
+ method: z.ZodEnum<{
2325
+ seasonal: "seasonal";
2326
+ linear: "linear";
2327
+ }>;
2328
+ horizon: z.ZodOptional<z.ZodInt>;
2329
+ }, z.core.$strip>>;
2330
+ }, z.core.$strip>>;
2461
2331
  }, z.core.$strip>;
2462
2332
  /**
2463
- * Update-metric variant that leaves the query untouched (metadata-only edit — folder, event, winsorisation, default minimum effect of interest, direction, display unit).
2333
+ * Update-metric variant that leaves the query untouched (metadata-only edit — folder, event, winsorisation, default minimum effect of interest, direction, display unit, band and projection).
2464
2334
  */
2465
2335
  declare const zUpdateMetricFields: z.ZodObject<{
2336
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2466
2337
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2467
2338
  event_name: z.ZodOptional<z.ZodString>;
2468
2339
  winsorize_pct: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
@@ -2473,11 +2344,27 @@ declare const zUpdateMetricFields: z.ZodObject<{
2473
2344
  neutral: "neutral";
2474
2345
  }>>>;
2475
2346
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2347
+ display: z.ZodOptional<z.ZodObject<{
2348
+ band: z.ZodOptional<z.ZodObject<{
2349
+ method: z.ZodEnum<{
2350
+ seasonal: "seasonal";
2351
+ }>;
2352
+ sigma: z.ZodOptional<z.ZodNumber>;
2353
+ }, z.core.$strip>>;
2354
+ forecast: z.ZodOptional<z.ZodObject<{
2355
+ method: z.ZodEnum<{
2356
+ seasonal: "seasonal";
2357
+ linear: "linear";
2358
+ }>;
2359
+ horizon: z.ZodOptional<z.ZodInt>;
2360
+ }, z.core.$strip>>;
2361
+ }, z.core.$strip>>;
2476
2362
  }, z.core.$strip>;
2477
2363
  /**
2478
2364
  * Body for `PATCH /api/admin/metrics/{id}`. Every field is optional (`name` is immutable); provide at most one of `query` / `query_ir` — modelled as a `oneOf` of three disjoint strict variants (query-only, query_ir-only, or neither), so supplying both is rejected.
2479
2365
  */
2480
2366
  declare const zUpdateMetricRequest: z.ZodUnion<readonly [z.ZodObject<{
2367
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2481
2368
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2482
2369
  event_name: z.ZodOptional<z.ZodString>;
2483
2370
  query: z.ZodString;
@@ -2489,79 +2376,28 @@ declare const zUpdateMetricRequest: z.ZodUnion<readonly [z.ZodObject<{
2489
2376
  neutral: "neutral";
2490
2377
  }>>>;
2491
2378
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2379
+ display: z.ZodOptional<z.ZodObject<{
2380
+ band: z.ZodOptional<z.ZodObject<{
2381
+ method: z.ZodEnum<{
2382
+ seasonal: "seasonal";
2383
+ }>;
2384
+ sigma: z.ZodOptional<z.ZodNumber>;
2385
+ }, z.core.$strip>>;
2386
+ forecast: z.ZodOptional<z.ZodObject<{
2387
+ method: z.ZodEnum<{
2388
+ seasonal: "seasonal";
2389
+ linear: "linear";
2390
+ }>;
2391
+ horizon: z.ZodOptional<z.ZodInt>;
2392
+ }, z.core.$strip>>;
2393
+ }, z.core.$strip>>;
2492
2394
  }, z.core.$strip>, z.ZodObject<{
2395
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2493
2396
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2494
2397
  event_name: z.ZodOptional<z.ZodString>;
2495
2398
  query_ir: z.ZodObject<{
2496
- agg: z.ZodUnion<readonly [z.ZodObject<{
2497
- kind: z.ZodLiteral<"count_users">;
2498
- }, z.core.$strip>, z.ZodObject<{
2499
- kind: z.ZodLiteral<"count_events">;
2500
- }, z.core.$strip>, z.ZodObject<{
2501
- kind: z.ZodLiteral<"sum">;
2502
- }, z.core.$strip>, z.ZodObject<{
2503
- kind: z.ZodLiteral<"avg">;
2504
- }, z.core.$strip>, z.ZodObject<{
2505
- kind: z.ZodLiteral<"min">;
2506
- }, z.core.$strip>, z.ZodObject<{
2507
- kind: z.ZodLiteral<"max">;
2508
- }, z.core.$strip>, z.ZodObject<{
2509
- kind: z.ZodLiteral<"unique">;
2510
- }, z.core.$strip>, z.ZodObject<{
2511
- kind: z.ZodLiteral<"quantile">;
2512
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
2513
- }, z.core.$strip>, z.ZodObject<{
2514
- kind: z.ZodLiteral<"retention_Nd">;
2515
- n: z.ZodInt;
2516
- }, z.core.$strip>, z.ZodObject<{
2517
- kind: z.ZodLiteral<"ratio">;
2518
- numerator: z.ZodObject<{
2519
- agg: z.ZodEnum<{
2520
- count_users: "count_users";
2521
- count_events: "count_events";
2522
- }>;
2523
- metric: z.ZodString;
2524
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2525
- label: z.ZodString;
2526
- op: z.ZodEnum<{
2527
- "=": "=";
2528
- "!=": "!=";
2529
- "=~": "=~";
2530
- "!~": "!~";
2531
- }>;
2532
- value: z.ZodString;
2533
- }, z.core.$strip>>>;
2534
- }, z.core.$strip>;
2535
- denominator: z.ZodObject<{
2536
- agg: z.ZodEnum<{
2537
- count_users: "count_users";
2538
- count_events: "count_events";
2539
- }>;
2540
- metric: z.ZodString;
2541
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2542
- label: z.ZodString;
2543
- op: z.ZodEnum<{
2544
- "=": "=";
2545
- "!=": "!=";
2546
- "=~": "=~";
2547
- "!~": "!~";
2548
- }>;
2549
- value: z.ZodString;
2550
- }, z.core.$strip>>>;
2551
- }, z.core.$strip>;
2552
- }, z.core.$strip>]>;
2553
- metric: z.ZodString;
2554
- valueLabel: z.ZodOptional<z.ZodString>;
2555
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2556
- label: z.ZodString;
2557
- op: z.ZodEnum<{
2558
- "=": "=";
2559
- "!=": "!=";
2560
- "=~": "=~";
2561
- "!~": "!~";
2562
- }>;
2563
- value: z.ZodString;
2564
- }, z.core.$strip>>>>;
2399
+ v: z.ZodLiteral<2>;
2400
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2565
2401
  groupBy: z.ZodOptional<z.ZodObject<{
2566
2402
  op: z.ZodEnum<{
2567
2403
  by: "by";
@@ -2569,6 +2405,21 @@ declare const zUpdateMetricRequest: z.ZodUnion<readonly [z.ZodObject<{
2569
2405
  }>;
2570
2406
  labels: z.ZodArray<z.ZodString>;
2571
2407
  }, z.core.$strip>>;
2408
+ display: z.ZodOptional<z.ZodObject<{
2409
+ band: z.ZodOptional<z.ZodObject<{
2410
+ method: z.ZodEnum<{
2411
+ seasonal: "seasonal";
2412
+ }>;
2413
+ sigma: z.ZodOptional<z.ZodNumber>;
2414
+ }, z.core.$strip>>;
2415
+ forecast: z.ZodOptional<z.ZodObject<{
2416
+ method: z.ZodEnum<{
2417
+ seasonal: "seasonal";
2418
+ linear: "linear";
2419
+ }>;
2420
+ horizon: z.ZodOptional<z.ZodInt>;
2421
+ }, z.core.$strip>>;
2422
+ }, z.core.$strip>>;
2572
2423
  }, z.core.$strip>;
2573
2424
  winsorize_pct: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
2574
2425
  default_min_effect_of_interest: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
@@ -2578,7 +2429,23 @@ declare const zUpdateMetricRequest: z.ZodUnion<readonly [z.ZodObject<{
2578
2429
  neutral: "neutral";
2579
2430
  }>>>;
2580
2431
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2432
+ display: z.ZodOptional<z.ZodObject<{
2433
+ band: z.ZodOptional<z.ZodObject<{
2434
+ method: z.ZodEnum<{
2435
+ seasonal: "seasonal";
2436
+ }>;
2437
+ sigma: z.ZodOptional<z.ZodNumber>;
2438
+ }, z.core.$strip>>;
2439
+ forecast: z.ZodOptional<z.ZodObject<{
2440
+ method: z.ZodEnum<{
2441
+ seasonal: "seasonal";
2442
+ linear: "linear";
2443
+ }>;
2444
+ horizon: z.ZodOptional<z.ZodInt>;
2445
+ }, z.core.$strip>>;
2446
+ }, z.core.$strip>>;
2581
2447
  }, z.core.$strip>, z.ZodObject<{
2448
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2582
2449
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2583
2450
  event_name: z.ZodOptional<z.ZodString>;
2584
2451
  winsorize_pct: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
@@ -2589,6 +2456,21 @@ declare const zUpdateMetricRequest: z.ZodUnion<readonly [z.ZodObject<{
2589
2456
  neutral: "neutral";
2590
2457
  }>>>;
2591
2458
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2459
+ display: z.ZodOptional<z.ZodObject<{
2460
+ band: z.ZodOptional<z.ZodObject<{
2461
+ method: z.ZodEnum<{
2462
+ seasonal: "seasonal";
2463
+ }>;
2464
+ sigma: z.ZodOptional<z.ZodNumber>;
2465
+ }, z.core.$strip>>;
2466
+ forecast: z.ZodOptional<z.ZodObject<{
2467
+ method: z.ZodEnum<{
2468
+ seasonal: "seasonal";
2469
+ linear: "linear";
2470
+ }>;
2471
+ horizon: z.ZodOptional<z.ZodInt>;
2472
+ }, z.core.$strip>>;
2473
+ }, z.core.$strip>>;
2592
2474
  }, z.core.$strip>]>;
2593
2475
  /**
2594
2476
  * Experiments that attach this metric, ordered with running experiments first, then by role weight (goal > guardrail > secondary), then by name.
@@ -2632,6 +2514,8 @@ declare const zGetMetricSeriesResponse: z.ZodObject<{
2632
2514
  rows: z.ZodArray<z.ZodObject<{
2633
2515
  t: z.ZodInt;
2634
2516
  v: z.ZodNumber;
2517
+ lo: z.ZodOptional<z.ZodNumber>;
2518
+ hi: z.ZodOptional<z.ZodNumber>;
2635
2519
  }, z.core.$strip>>;
2636
2520
  }, z.core.$strip>;
2637
2521
  /**
@@ -2651,6 +2535,7 @@ declare const zListEventsResponse: z.ZodArray<z.ZodObject<{
2651
2535
  }>;
2652
2536
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2653
2537
  description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2538
+ pending: z.ZodOptional<z.ZodBoolean>;
2654
2539
  }, z.core.$strip>>;
2655
2540
  pending: z.ZodInt;
2656
2541
  createdAt: z.ZodString;
@@ -2697,6 +2582,7 @@ declare const zGetEventResponse: z.ZodObject<{
2697
2582
  }>;
2698
2583
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2699
2584
  description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2585
+ pending: z.ZodOptional<z.ZodBoolean>;
2700
2586
  }, z.core.$strip>>;
2701
2587
  pending: z.ZodInt;
2702
2588
  createdAt: z.ZodString;
@@ -2776,13 +2662,14 @@ declare const zOpsItemPriority: z.ZodEnum<{
2776
2662
  critical: "critical";
2777
2663
  }>;
2778
2664
  /**
2779
- * Where automation has taken an item in the investigation lifecycle — the signal the ops cockpit renders as "what AI did" plus the one action expected of the user. It is **written as a side-effect of the actions that already happen**, never authored on its own: linking a PR sets `pr_ready`, moving to `in_progress` sets `working`, `ready_for_qa` sets `ready_for_qa`, a system/assistant reply sets `question`, resolving clears it, and creation seeds `backlog` or `investigated`/`detected` for auto-filed error/alert tickets. `backlog` is the single "nothing has happened yet" state — how urgent that is reads off `priority`, not off a separate state, and its one action is to hand the item to an agent. `pr_merged` is derived client-side by scanning the linked pull request on GitHub, so it is accepted on write but not currently emitted by the API. Absent on rows filed before the field existed — consumers should treat a missing value as "derive from the other fields".
2665
+ * Where automation has taken an item in the investigation lifecycle — the signal the ops cockpit renders as "what AI did" plus the one action expected of the user. It is **written as a side-effect of the actions that already happen**, never authored on its own: linking a PR sets `pr_ready`, moving to `in_progress` sets `working`, `ready_for_qa` sets `ready_for_qa`, a system/assistant reply sets `question`, resolving clears it, and creation seeds `backlog` for every untouched item (bugs, features, and auto-filed error/alert tickets alike — type is not a signal). `backlog` is the single "nothing has happened yet" state — how urgent that is reads off `priority`, not off a separate state, and its one action is to hand the item to an agent. `investigated`/`detected` are set when a completed agent run leaves findings to review, not at filing time. `pr_merged` and `pr_closed` are written by the GitHub `pull_request` webhook when the linked PR reaches a terminal outcome — merged (the fix shipped, resolve the item) or closed without merging (the fix was rejected, decide what happens next). Absent on rows filed before the field existed — consumers should treat a missing value as "derive from the other fields".
2780
2666
  */
2781
2667
  declare const zOpsInvestigationState: z.ZodEnum<{
2782
2668
  pending_approval: "pending_approval";
2783
2669
  ready_for_qa: "ready_for_qa";
2784
2670
  pr_ready: "pr_ready";
2785
2671
  pr_merged: "pr_merged";
2672
+ pr_closed: "pr_closed";
2786
2673
  investigated: "investigated";
2787
2674
  detected: "detected";
2788
2675
  question: "question";
@@ -2842,21 +2729,24 @@ declare const zOpsAlertMetricSummary: z.ZodObject<{
2842
2729
  events: z.ZodArray<z.ZodString>;
2843
2730
  }, z.core.$strip>;
2844
2731
  /**
2845
- * Hydrated detail for an auto-filed `alert` ticket, resolving the rule → metric → event chain at request time.
2732
+ * Detail for an `alert` ticket — the fired-alert INSTANCE this ticket is. List rows carry the stored capture subset (`source`, `dedupeKey`, `ruleId`, `detail`, `href`, `observedValue`); the single-item read hydrates the rest, resolving `severity`/`status` off the ticket itself and the rule → metric → event chain at request time.
2846
2733
  */
2847
2734
  declare const zOpsAlertContext: z.ZodObject<{
2848
2735
  source: z.ZodEnum<{
2849
2736
  guardrail: "guardrail";
2850
2737
  metric_rule: "metric_rule";
2738
+ killswitch_armed: "killswitch_armed";
2851
2739
  experiment_srm: "experiment_srm";
2852
2740
  experiment_peek: "experiment_peek";
2853
2741
  }>;
2854
2742
  dedupeKey: z.ZodString;
2855
- severity: z.ZodEnum<{
2743
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2744
+ ruleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2745
+ severity: z.ZodOptional<z.ZodEnum<{
2856
2746
  info: "info";
2857
2747
  warn: "warn";
2858
2748
  danger: "danger";
2859
- }>;
2749
+ }>>;
2860
2750
  observedValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2861
2751
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2862
2752
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -2971,15 +2861,18 @@ declare const zOpsItemContext: z.ZodObject<{
2971
2861
  source: z.ZodEnum<{
2972
2862
  guardrail: "guardrail";
2973
2863
  metric_rule: "metric_rule";
2864
+ killswitch_armed: "killswitch_armed";
2974
2865
  experiment_srm: "experiment_srm";
2975
2866
  experiment_peek: "experiment_peek";
2976
2867
  }>;
2977
2868
  dedupeKey: z.ZodString;
2978
- severity: z.ZodEnum<{
2869
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2870
+ ruleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2871
+ severity: z.ZodOptional<z.ZodEnum<{
2979
2872
  info: "info";
2980
2873
  warn: "warn";
2981
2874
  danger: "danger";
2982
- }>;
2875
+ }>>;
2983
2876
  observedValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2984
2877
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2985
2878
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -3058,6 +2951,15 @@ declare const zGithubPrLink: z.ZodObject<{
3058
2951
  closes: "closes";
3059
2952
  comment: "comment";
3060
2953
  }>>;
2954
+ owner: z.ZodOptional<z.ZodString>;
2955
+ repo: z.ZodOptional<z.ZodString>;
2956
+ state: z.ZodOptional<z.ZodEnum<{
2957
+ open: "open";
2958
+ merged: "merged";
2959
+ closed: "closed";
2960
+ }>>;
2961
+ mergedAt: z.ZodOptional<z.ZodString>;
2962
+ closedAt: z.ZodOptional<z.ZodString>;
3061
2963
  }, z.core.$strip>;
3062
2964
  /**
3063
2965
  * GitHub connector trace — the issue it opened and, once linked, the pull request.
@@ -3079,6 +2981,15 @@ declare const zGithubConnectorData: z.ZodObject<{
3079
2981
  closes: "closes";
3080
2982
  comment: "comment";
3081
2983
  }>>;
2984
+ owner: z.ZodOptional<z.ZodString>;
2985
+ repo: z.ZodOptional<z.ZodString>;
2986
+ state: z.ZodOptional<z.ZodEnum<{
2987
+ open: "open";
2988
+ merged: "merged";
2989
+ closed: "closed";
2990
+ }>>;
2991
+ mergedAt: z.ZodOptional<z.ZodString>;
2992
+ closedAt: z.ZodOptional<z.ZodString>;
3082
2993
  }, z.core.$strip>>;
3083
2994
  }, z.core.$strip>;
3084
2995
  /**
@@ -3112,6 +3023,15 @@ declare const zConnectorData: z.ZodObject<{
3112
3023
  closes: "closes";
3113
3024
  comment: "comment";
3114
3025
  }>>;
3026
+ owner: z.ZodOptional<z.ZodString>;
3027
+ repo: z.ZodOptional<z.ZodString>;
3028
+ state: z.ZodOptional<z.ZodEnum<{
3029
+ open: "open";
3030
+ merged: "merged";
3031
+ closed: "closed";
3032
+ }>>;
3033
+ mergedAt: z.ZodOptional<z.ZodString>;
3034
+ closedAt: z.ZodOptional<z.ZodString>;
3115
3035
  }, z.core.$strip>>;
3116
3036
  }, z.core.$strip>>;
3117
3037
  slack: z.ZodOptional<z.ZodObject<{
@@ -3229,6 +3149,7 @@ declare const zListOpsItemsResponse: z.ZodArray<z.ZodObject<{
3229
3149
  ready_for_qa: "ready_for_qa";
3230
3150
  pr_ready: "pr_ready";
3231
3151
  pr_merged: "pr_merged";
3152
+ pr_closed: "pr_closed";
3232
3153
  investigated: "investigated";
3233
3154
  detected: "detected";
3234
3155
  question: "question";
@@ -3273,15 +3194,18 @@ declare const zListOpsItemsResponse: z.ZodArray<z.ZodObject<{
3273
3194
  source: z.ZodEnum<{
3274
3195
  guardrail: "guardrail";
3275
3196
  metric_rule: "metric_rule";
3197
+ killswitch_armed: "killswitch_armed";
3276
3198
  experiment_srm: "experiment_srm";
3277
3199
  experiment_peek: "experiment_peek";
3278
3200
  }>;
3279
3201
  dedupeKey: z.ZodString;
3280
- severity: z.ZodEnum<{
3202
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3203
+ ruleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3204
+ severity: z.ZodOptional<z.ZodEnum<{
3281
3205
  info: "info";
3282
3206
  warn: "warn";
3283
3207
  danger: "danger";
3284
- }>;
3208
+ }>>;
3285
3209
  observedValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3286
3210
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3287
3211
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -3366,6 +3290,15 @@ declare const zListOpsItemsResponse: z.ZodArray<z.ZodObject<{
3366
3290
  closes: "closes";
3367
3291
  comment: "comment";
3368
3292
  }>>;
3293
+ owner: z.ZodOptional<z.ZodString>;
3294
+ repo: z.ZodOptional<z.ZodString>;
3295
+ state: z.ZodOptional<z.ZodEnum<{
3296
+ open: "open";
3297
+ merged: "merged";
3298
+ closed: "closed";
3299
+ }>>;
3300
+ mergedAt: z.ZodOptional<z.ZodString>;
3301
+ closedAt: z.ZodOptional<z.ZodString>;
3369
3302
  }, z.core.$strip>>;
3370
3303
  }, z.core.$strip>>;
3371
3304
  slack: z.ZodOptional<z.ZodObject<{
@@ -3444,6 +3377,10 @@ declare const zListOpsItemsResponse: z.ZodArray<z.ZodObject<{
3444
3377
  createdAt: z.ZodString;
3445
3378
  updatedAt: z.ZodString;
3446
3379
  }, z.core.$strip>>;
3380
+ /**
3381
+ * A tag name. Trimmed; matched case-insensitively against the project's existing tags.
3382
+ */
3383
+ declare const zTagName: z.ZodString;
3447
3384
  /**
3448
3385
  * Bug-kind fields for `POST /api/admin/ops` (sent with `type: bug`).
3449
3386
  */
@@ -3611,6 +3548,95 @@ declare const zCreateOpsItemResponse: z.ZodObject<{
3611
3548
  id: z.ZodString;
3612
3549
  number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3613
3550
  }, z.core.$strip>;
3551
+ /**
3552
+ * Body for `POST /ops/bug`. The same bug fields as `CreateBugRequest`, minus the `type` discriminator — the path already says what is being filed, plus the public intake's own `dedupKey`.
3553
+ */
3554
+ declare const zCreatePublicBugRequest: z.ZodObject<{
3555
+ title: z.ZodString;
3556
+ stepsToReproduce: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3557
+ actualResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3558
+ expectedResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3559
+ priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3560
+ high: "high";
3561
+ nice_to_have: "nice_to_have";
3562
+ medium: "medium";
3563
+ critical: "critical";
3564
+ }>>>;
3565
+ status: z.ZodOptional<z.ZodEnum<{
3566
+ open: "open";
3567
+ pending_approval: "pending_approval";
3568
+ investigating_by_ai: "investigating_by_ai";
3569
+ in_progress: "in_progress";
3570
+ blocked: "blocked";
3571
+ ready_for_qa: "ready_for_qa";
3572
+ resolved: "resolved";
3573
+ wont_fix: "wont_fix";
3574
+ }>>;
3575
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3576
+ subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
3577
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
3578
+ reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
3579
+ pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
3580
+ userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3581
+ viewport: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3582
+ context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3583
+ dedupKey: z.ZodOptional<z.ZodString>;
3584
+ notify: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodObject<{
3585
+ slackChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3586
+ id: z.ZodString;
3587
+ name: z.ZodString;
3588
+ }, z.core.$strip>>>;
3589
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
3590
+ }, z.core.$strip>>>>;
3591
+ }, z.core.$strip>;
3592
+ /**
3593
+ * Response for the public ticket intake. A fresh file returns `201` with `id` + `number`; a repeat of a report already tracked by an open ticket returns `200` with that ticket's `number` and `deduped: true` — plus `updated: true` when a `dedupKey` re-triggered it and its fields were refreshed.
3594
+ */
3595
+ declare const zCreatePublicTicketResponse: z.ZodObject<{
3596
+ id: z.ZodOptional<z.ZodString>;
3597
+ number: z.ZodInt;
3598
+ deduped: z.ZodOptional<z.ZodBoolean>;
3599
+ updated: z.ZodOptional<z.ZodBoolean>;
3600
+ }, z.core.$strip>;
3601
+ /**
3602
+ * Body for `POST /ops/feature-request`. The same feature-request fields as `CreateFeatureRequestRequest`, minus the `type` discriminator — the path already says what is being filed, plus the public intake's own `dedupKey`.
3603
+ */
3604
+ declare const zCreatePublicFeatureRequestRequest: z.ZodObject<{
3605
+ title: z.ZodString;
3606
+ description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3607
+ useCase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3608
+ priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3609
+ high: "high";
3610
+ nice_to_have: "nice_to_have";
3611
+ medium: "medium";
3612
+ critical: "critical";
3613
+ }>>>;
3614
+ status: z.ZodOptional<z.ZodEnum<{
3615
+ open: "open";
3616
+ pending_approval: "pending_approval";
3617
+ investigating_by_ai: "investigating_by_ai";
3618
+ in_progress: "in_progress";
3619
+ blocked: "blocked";
3620
+ ready_for_qa: "ready_for_qa";
3621
+ resolved: "resolved";
3622
+ wont_fix: "wont_fix";
3623
+ }>>;
3624
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3625
+ subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
3626
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
3627
+ reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
3628
+ pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
3629
+ userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3630
+ context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3631
+ dedupKey: z.ZodOptional<z.ZodString>;
3632
+ notify: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodObject<{
3633
+ slackChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3634
+ id: z.ZodString;
3635
+ name: z.ZodString;
3636
+ }, z.core.$strip>>>;
3637
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
3638
+ }, z.core.$strip>>>>;
3639
+ }, z.core.$strip>;
3614
3640
  /**
3615
3641
  * A file uploaded with a bug/feature report.
3616
3642
  */
@@ -3673,6 +3699,7 @@ declare const zGetOpsItemResponse: z.ZodObject<{
3673
3699
  ready_for_qa: "ready_for_qa";
3674
3700
  pr_ready: "pr_ready";
3675
3701
  pr_merged: "pr_merged";
3702
+ pr_closed: "pr_closed";
3676
3703
  investigated: "investigated";
3677
3704
  detected: "detected";
3678
3705
  question: "question";
@@ -3713,15 +3740,18 @@ declare const zGetOpsItemResponse: z.ZodObject<{
3713
3740
  source: z.ZodEnum<{
3714
3741
  guardrail: "guardrail";
3715
3742
  metric_rule: "metric_rule";
3743
+ killswitch_armed: "killswitch_armed";
3716
3744
  experiment_srm: "experiment_srm";
3717
3745
  experiment_peek: "experiment_peek";
3718
3746
  }>;
3719
3747
  dedupeKey: z.ZodString;
3720
- severity: z.ZodEnum<{
3748
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3749
+ ruleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3750
+ severity: z.ZodOptional<z.ZodEnum<{
3721
3751
  info: "info";
3722
3752
  warn: "warn";
3723
3753
  danger: "danger";
3724
- }>;
3754
+ }>>;
3725
3755
  observedValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3726
3756
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3727
3757
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -3822,6 +3852,15 @@ declare const zGetOpsItemResponse: z.ZodObject<{
3822
3852
  closes: "closes";
3823
3853
  comment: "comment";
3824
3854
  }>>;
3855
+ owner: z.ZodOptional<z.ZodString>;
3856
+ repo: z.ZodOptional<z.ZodString>;
3857
+ state: z.ZodOptional<z.ZodEnum<{
3858
+ open: "open";
3859
+ merged: "merged";
3860
+ closed: "closed";
3861
+ }>>;
3862
+ mergedAt: z.ZodOptional<z.ZodString>;
3863
+ closedAt: z.ZodOptional<z.ZodString>;
3825
3864
  }, z.core.$strip>>;
3826
3865
  }, z.core.$strip>>;
3827
3866
  slack: z.ZodOptional<z.ZodObject<{
@@ -4094,6 +4133,15 @@ declare const zLinkPrToOpsItemResponse: z.ZodObject<{
4094
4133
  closes: "closes";
4095
4134
  comment: "comment";
4096
4135
  }>>;
4136
+ owner: z.ZodOptional<z.ZodString>;
4137
+ repo: z.ZodOptional<z.ZodString>;
4138
+ state: z.ZodOptional<z.ZodEnum<{
4139
+ open: "open";
4140
+ merged: "merged";
4141
+ closed: "closed";
4142
+ }>>;
4143
+ mergedAt: z.ZodOptional<z.ZodString>;
4144
+ closedAt: z.ZodOptional<z.ZodString>;
4097
4145
  }, z.core.$strip>>;
4098
4146
  }, z.core.$strip>;
4099
4147
  /**
@@ -4109,6 +4157,7 @@ declare const zAckOpsItemRequest: z.ZodObject<{
4109
4157
  gemini: "gemini";
4110
4158
  }>>;
4111
4159
  sessionId: z.ZodOptional<z.ZodString>;
4160
+ launch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4112
4161
  }, z.core.$strip>;
4113
4162
  /**
4114
4163
  * Response for `POST /api/admin/ops/{handle}/ack` — the opened run.
@@ -4326,6 +4375,206 @@ declare const zUpdateOpsInvestigationRequest: z.ZodObject<{
4326
4375
  completedAt: z.ZodOptional<z.ZodString>;
4327
4376
  sessionId: z.ZodOptional<z.ZodString>;
4328
4377
  }, z.core.$strip>;
4378
+ /**
4379
+ * Where a question stands — `open` (waiting on a person), `completed` (answered), or `cancelled` (withdrawn by the asker).
4380
+ */
4381
+ declare const zOpsQuestionStatus: z.ZodEnum<{
4382
+ open: "open";
4383
+ completed: "completed";
4384
+ cancelled: "cancelled";
4385
+ }>;
4386
+ /**
4387
+ * A person's answer to a question.
4388
+ */
4389
+ declare const zOpsQuestionAnswer: z.ZodObject<{
4390
+ selected: z.ZodArray<z.ZodString>;
4391
+ other: z.ZodNullable<z.ZodString>;
4392
+ }, z.core.$strip>;
4393
+ /**
4394
+ * How the answer gets back to the asker — `resume` re-fires the asking run's trigger connector on the item once every question that run asked is answered; `poll` fires nothing and the asker reads `GET .../questions`.
4395
+ */
4396
+ declare const zOpsQuestionDelivery: z.ZodEnum<{
4397
+ resume: "resume";
4398
+ poll: "poll";
4399
+ }>;
4400
+ /**
4401
+ * One structured question on a queue item and, once answered, its answer.
4402
+ */
4403
+ declare const zOpsQuestion: z.ZodObject<{
4404
+ id: z.ZodString;
4405
+ feedbackId: z.ZodString;
4406
+ header: z.ZodString;
4407
+ question: z.ZodString;
4408
+ options: z.ZodArray<z.ZodObject<{
4409
+ label: z.ZodString;
4410
+ description: z.ZodNullable<z.ZodString>;
4411
+ }, z.core.$strip>>;
4412
+ multiSelect: z.ZodBoolean;
4413
+ status: z.ZodEnum<{
4414
+ open: "open";
4415
+ completed: "completed";
4416
+ cancelled: "cancelled";
4417
+ }>;
4418
+ answer: z.ZodNullable<z.ZodObject<{
4419
+ selected: z.ZodArray<z.ZodString>;
4420
+ other: z.ZodNullable<z.ZodString>;
4421
+ }, z.core.$strip>>;
4422
+ answeredBy: z.ZodNullable<z.ZodString>;
4423
+ answeredAt: z.ZodNullable<z.ZodString>;
4424
+ agent: z.ZodNullable<z.ZodEnum<{
4425
+ jarvis: "jarvis";
4426
+ claude: "claude";
4427
+ cursor: "cursor";
4428
+ copilot: "copilot";
4429
+ jules: "jules";
4430
+ }>>;
4431
+ askedBy: z.ZodNullable<z.ZodString>;
4432
+ runId: z.ZodNullable<z.ZodString>;
4433
+ delivery: z.ZodEnum<{
4434
+ resume: "resume";
4435
+ poll: "poll";
4436
+ }>;
4437
+ deliveredAt: z.ZodNullable<z.ZodString>;
4438
+ deliveryError: z.ZodNullable<z.ZodString>;
4439
+ createdAt: z.ZodString;
4440
+ updatedAt: z.ZodString;
4441
+ }, z.core.$strip>;
4442
+ /**
4443
+ * Response for `GET /api/admin/ops/{handle}/questions` — the item's questions, newest first (max 100).
4444
+ */
4445
+ declare const zListOpsQuestionsResponse: z.ZodArray<z.ZodObject<{
4446
+ id: z.ZodString;
4447
+ feedbackId: z.ZodString;
4448
+ header: z.ZodString;
4449
+ question: z.ZodString;
4450
+ options: z.ZodArray<z.ZodObject<{
4451
+ label: z.ZodString;
4452
+ description: z.ZodNullable<z.ZodString>;
4453
+ }, z.core.$strip>>;
4454
+ multiSelect: z.ZodBoolean;
4455
+ status: z.ZodEnum<{
4456
+ open: "open";
4457
+ completed: "completed";
4458
+ cancelled: "cancelled";
4459
+ }>;
4460
+ answer: z.ZodNullable<z.ZodObject<{
4461
+ selected: z.ZodArray<z.ZodString>;
4462
+ other: z.ZodNullable<z.ZodString>;
4463
+ }, z.core.$strip>>;
4464
+ answeredBy: z.ZodNullable<z.ZodString>;
4465
+ answeredAt: z.ZodNullable<z.ZodString>;
4466
+ agent: z.ZodNullable<z.ZodEnum<{
4467
+ jarvis: "jarvis";
4468
+ claude: "claude";
4469
+ cursor: "cursor";
4470
+ copilot: "copilot";
4471
+ jules: "jules";
4472
+ }>>;
4473
+ askedBy: z.ZodNullable<z.ZodString>;
4474
+ runId: z.ZodNullable<z.ZodString>;
4475
+ delivery: z.ZodEnum<{
4476
+ resume: "resume";
4477
+ poll: "poll";
4478
+ }>;
4479
+ deliveredAt: z.ZodNullable<z.ZodString>;
4480
+ deliveryError: z.ZodNullable<z.ZodString>;
4481
+ createdAt: z.ZodString;
4482
+ updatedAt: z.ZodString;
4483
+ }, z.core.$strip>>;
4484
+ /**
4485
+ * One choice offered by a question — rendered as a radio, or a checkbox when the question is `multiSelect`.
4486
+ */
4487
+ declare const zOpsQuestionOption: z.ZodObject<{
4488
+ label: z.ZodString;
4489
+ description: z.ZodOptional<z.ZodString>;
4490
+ }, z.core.$strip>;
4491
+ /**
4492
+ * One question to ask — the `AskUserQuestion` shape.
4493
+ */
4494
+ declare const zAskOpsQuestionInput: z.ZodObject<{
4495
+ header: z.ZodString;
4496
+ question: z.ZodString;
4497
+ options: z.ZodArray<z.ZodObject<{
4498
+ label: z.ZodString;
4499
+ description: z.ZodOptional<z.ZodString>;
4500
+ }, z.core.$strip>>;
4501
+ multiSelect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4502
+ }, z.core.$strip>;
4503
+ /**
4504
+ * Body for `POST /api/admin/ops/{handle}/questions`.
4505
+ */
4506
+ declare const zAskOpsQuestionsRequest: z.ZodObject<{
4507
+ questions: z.ZodArray<z.ZodObject<{
4508
+ header: z.ZodString;
4509
+ question: z.ZodString;
4510
+ options: z.ZodArray<z.ZodObject<{
4511
+ label: z.ZodString;
4512
+ description: z.ZodOptional<z.ZodString>;
4513
+ }, z.core.$strip>>;
4514
+ multiSelect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4515
+ }, z.core.$strip>>;
4516
+ runId: z.ZodOptional<z.ZodString>;
4517
+ agent: z.ZodOptional<z.ZodEnum<{
4518
+ jarvis: "jarvis";
4519
+ claude: "claude";
4520
+ cursor: "cursor";
4521
+ copilot: "copilot";
4522
+ jules: "jules";
4523
+ }>>;
4524
+ delivery: z.ZodOptional<z.ZodEnum<{
4525
+ resume: "resume";
4526
+ poll: "poll";
4527
+ }>>;
4528
+ }, z.core.$strip>;
4529
+ /**
4530
+ * Response for `POST /api/admin/ops/{handle}/questions` — the created questions, in the order asked.
4531
+ */
4532
+ declare const zAskOpsQuestionsResponse: z.ZodArray<z.ZodObject<{
4533
+ id: z.ZodString;
4534
+ feedbackId: z.ZodString;
4535
+ header: z.ZodString;
4536
+ question: z.ZodString;
4537
+ options: z.ZodArray<z.ZodObject<{
4538
+ label: z.ZodString;
4539
+ description: z.ZodNullable<z.ZodString>;
4540
+ }, z.core.$strip>>;
4541
+ multiSelect: z.ZodBoolean;
4542
+ status: z.ZodEnum<{
4543
+ open: "open";
4544
+ completed: "completed";
4545
+ cancelled: "cancelled";
4546
+ }>;
4547
+ answer: z.ZodNullable<z.ZodObject<{
4548
+ selected: z.ZodArray<z.ZodString>;
4549
+ other: z.ZodNullable<z.ZodString>;
4550
+ }, z.core.$strip>>;
4551
+ answeredBy: z.ZodNullable<z.ZodString>;
4552
+ answeredAt: z.ZodNullable<z.ZodString>;
4553
+ agent: z.ZodNullable<z.ZodEnum<{
4554
+ jarvis: "jarvis";
4555
+ claude: "claude";
4556
+ cursor: "cursor";
4557
+ copilot: "copilot";
4558
+ jules: "jules";
4559
+ }>>;
4560
+ askedBy: z.ZodNullable<z.ZodString>;
4561
+ runId: z.ZodNullable<z.ZodString>;
4562
+ delivery: z.ZodEnum<{
4563
+ resume: "resume";
4564
+ poll: "poll";
4565
+ }>;
4566
+ deliveredAt: z.ZodNullable<z.ZodString>;
4567
+ deliveryError: z.ZodNullable<z.ZodString>;
4568
+ createdAt: z.ZodString;
4569
+ updatedAt: z.ZodString;
4570
+ }, z.core.$strip>>;
4571
+ /**
4572
+ * Body for `POST /api/admin/ops/{handle}/questions/{questionId}/answer` — pick option labels, write a free-text answer, or both (multi-select only).
4573
+ */
4574
+ declare const zAnswerOpsQuestionRequest: z.ZodObject<{
4575
+ selected: z.ZodOptional<z.ZodArray<z.ZodString>>;
4576
+ other: z.ZodOptional<z.ZodString>;
4577
+ }, z.core.$strip>;
4329
4578
  /**
4330
4579
  * One connected, assignable AI agent (an authenticated trigger connector).
4331
4580
  */
@@ -4436,11 +4685,28 @@ declare const zListSlackChannelsResponse: z.ZodObject<{
4436
4685
  isPrivate: z.ZodOptional<z.ZodBoolean>;
4437
4686
  }, z.core.$strip>>;
4438
4687
  }, z.core.$strip>;
4688
+ /**
4689
+ * What a `composite` rule is a boolean over. `rules` are sibling alert-rule ids in the same project and `op` is how their states combine. A child's state is what the current pass concluded about it, falling back to whether it has an open instance — so a composite still means something on a tick where a child could not be evaluated, which is exactly the tick a "two of these are broken at once" rule is for. One level deep: a child may not itself be composite.
4690
+ */
4691
+ declare const zAlertCompositeSpec: z.ZodObject<{
4692
+ op: z.ZodEnum<{
4693
+ and: "and";
4694
+ or: "or";
4695
+ }>;
4696
+ rules: z.ZodArray<z.ZodString>;
4697
+ }, z.core.$strip>;
4439
4698
  declare const zListAlertRulesResponse: z.ZodArray<z.ZodObject<{
4440
4699
  id: z.ZodString;
4441
4700
  name: z.ZodString;
4442
4701
  metricId: z.ZodString;
4443
4702
  metricName: z.ZodNullable<z.ZodString>;
4703
+ kind: z.ZodEnum<{
4704
+ normal: "normal";
4705
+ anomaly: "anomaly";
4706
+ outliers: "outliers";
4707
+ no_data: "no_data";
4708
+ composite: "composite";
4709
+ }>;
4444
4710
  comparator: z.ZodEnum<{
4445
4711
  gt: "gt";
4446
4712
  gte: "gte";
@@ -4448,7 +4714,32 @@ declare const zListAlertRulesResponse: z.ZodArray<z.ZodObject<{
4448
4714
  lte: "lte";
4449
4715
  }>;
4450
4716
  threshold: z.ZodNumber;
4717
+ rangeMin: z.ZodNullable<z.ZodNumber>;
4718
+ rangeMax: z.ZodNullable<z.ZodNumber>;
4719
+ sigma: z.ZodNullable<z.ZodNumber>;
4720
+ direction: z.ZodNullable<z.ZodEnum<{
4721
+ above: "above";
4722
+ below: "below";
4723
+ either: "either";
4724
+ }>>;
4725
+ sustained: z.ZodBoolean;
4726
+ warnThreshold: z.ZodNullable<z.ZodNumber>;
4727
+ recoveryThreshold: z.ZodNullable<z.ZodNumber>;
4728
+ groupAlerts: z.ZodBoolean;
4729
+ maxGroups: z.ZodNullable<z.ZodInt>;
4730
+ noDataMinutes: z.ZodNullable<z.ZodInt>;
4731
+ delayMinutes: z.ZodNullable<z.ZodInt>;
4732
+ autoResolveMinutes: z.ZodNullable<z.ZodInt>;
4733
+ composite: z.ZodNullable<z.ZodObject<{
4734
+ op: z.ZodEnum<{
4735
+ and: "and";
4736
+ or: "or";
4737
+ }>;
4738
+ rules: z.ZodArray<z.ZodString>;
4739
+ }, z.core.$strip>>;
4451
4740
  windowHours: z.ZodInt;
4741
+ bucketMinutes: z.ZodNullable<z.ZodInt>;
4742
+ requiredBuckets: z.ZodNullable<z.ZodInt>;
4452
4743
  severity: z.ZodEnum<{
4453
4744
  info: "info";
4454
4745
  warn: "warn";
@@ -4468,14 +4759,46 @@ declare const zListAlertRulesResponse: z.ZodArray<z.ZodObject<{
4468
4759
  declare const zCreateAlertRuleRequest: z.ZodObject<{
4469
4760
  name: z.ZodString;
4470
4761
  metricId: z.ZodString;
4471
- comparator: z.ZodEnum<{
4762
+ kind: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
4763
+ normal: "normal";
4764
+ anomaly: "anomaly";
4765
+ outliers: "outliers";
4766
+ no_data: "no_data";
4767
+ composite: "composite";
4768
+ }>>>;
4769
+ comparator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
4472
4770
  gt: "gt";
4473
4771
  gte: "gte";
4474
4772
  lt: "lt";
4475
4773
  lte: "lte";
4476
- }>;
4477
- threshold: z.ZodNumber;
4774
+ }>>>;
4775
+ threshold: z.ZodOptional<z.ZodNumber>;
4776
+ rangeMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4777
+ rangeMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4778
+ sigma: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4779
+ direction: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4780
+ above: "above";
4781
+ below: "below";
4782
+ either: "either";
4783
+ }>>>;
4784
+ sustained: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4478
4785
  windowHours: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
4786
+ bucketMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4787
+ requiredBuckets: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4788
+ warnThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4789
+ recoveryThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4790
+ groupAlerts: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4791
+ maxGroups: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4792
+ noDataMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4793
+ delayMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4794
+ autoResolveMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4795
+ composite: z.ZodOptional<z.ZodObject<{
4796
+ op: z.ZodEnum<{
4797
+ and: "and";
4798
+ or: "or";
4799
+ }>;
4800
+ rules: z.ZodArray<z.ZodString>;
4801
+ }, z.core.$strip>>;
4479
4802
  severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
4480
4803
  info: "info";
4481
4804
  warn: "warn";
@@ -4498,6 +4821,13 @@ declare const zDeleteAlertRuleResponse: z.ZodObject<{
4498
4821
  }, z.core.$strip>;
4499
4822
  declare const zUpdateAlertRuleRequest: z.ZodObject<{
4500
4823
  name: z.ZodOptional<z.ZodString>;
4824
+ kind: z.ZodOptional<z.ZodEnum<{
4825
+ normal: "normal";
4826
+ anomaly: "anomaly";
4827
+ outliers: "outliers";
4828
+ no_data: "no_data";
4829
+ composite: "composite";
4830
+ }>>;
4501
4831
  comparator: z.ZodOptional<z.ZodEnum<{
4502
4832
  gt: "gt";
4503
4833
  gte: "gte";
@@ -4505,7 +4835,32 @@ declare const zUpdateAlertRuleRequest: z.ZodObject<{
4505
4835
  lte: "lte";
4506
4836
  }>>;
4507
4837
  threshold: z.ZodOptional<z.ZodNumber>;
4838
+ rangeMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4839
+ rangeMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4840
+ sigma: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4841
+ direction: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4842
+ above: "above";
4843
+ below: "below";
4844
+ either: "either";
4845
+ }>>>;
4846
+ sustained: z.ZodOptional<z.ZodBoolean>;
4847
+ warnThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4848
+ recoveryThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4849
+ groupAlerts: z.ZodOptional<z.ZodBoolean>;
4850
+ maxGroups: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4851
+ noDataMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4852
+ delayMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4853
+ autoResolveMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4854
+ composite: z.ZodOptional<z.ZodObject<{
4855
+ op: z.ZodEnum<{
4856
+ and: "and";
4857
+ or: "or";
4858
+ }>;
4859
+ rules: z.ZodArray<z.ZodString>;
4860
+ }, z.core.$strip>>;
4508
4861
  windowHours: z.ZodOptional<z.ZodInt>;
4862
+ bucketMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4863
+ requiredBuckets: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4509
4864
  severity: z.ZodOptional<z.ZodEnum<{
4510
4865
  info: "info";
4511
4866
  warn: "warn";
@@ -4524,7 +4879,9 @@ declare const zUpdateAlertRuleResponse: z.ZodObject<{
4524
4879
  id: z.ZodString;
4525
4880
  }, z.core.$strip>;
4526
4881
  /**
4527
- * One FIRED alert — a condition the platform observed and raised, not the rule that defines it (alert *rules* are the `/api/admin/alert-rules` resource). Alerts are never filed by hand: the UI (killswitch flips) and the worker (analysis consumer + alerts cron) raise them, keyed by `(source, dedupeKey)` so re-raising refreshes the active row and a clearing condition auto-resolves it.
4882
+ * One FIRED alert — an INSTANCE of a condition the platform observed, not the rule that defines it (alert *rules* are the `/api/admin/alert-rules` resource). Instances are never filed by hand: the UI (killswitch flips) and the worker (analysis consumer + alerts cron) open them, keyed by `(source, dedupeKey)`, and at most one instance per condition is open at a time — re-raising refreshes the open one, and the condition clearing closes it.
4883
+ *
4884
+ * An instance IS an ops queue item (`/api/admin/ops` with `type: "alert"`) seen through the alert lens: same `id`, `severity` is that item's `priority`, and `status` is its work status projected onto three states. Resolving the queue item and clearing the alert are therefore the same act.
4528
4885
  *
4529
4886
  * Every field is always present on the wire; nullable fields are `null`, never absent.
4530
4887
  */
@@ -4533,9 +4890,9 @@ declare const zAlertApiRow: z.ZodObject<{
4533
4890
  source: z.ZodEnum<{
4534
4891
  guardrail: "guardrail";
4535
4892
  metric_rule: "metric_rule";
4893
+ killswitch_armed: "killswitch_armed";
4536
4894
  experiment_srm: "experiment_srm";
4537
4895
  experiment_peek: "experiment_peek";
4538
- killswitch_armed: "killswitch_armed";
4539
4896
  }>;
4540
4897
  ruleId: z.ZodNullable<z.ZodString>;
4541
4898
  severity: z.ZodEnum<{
@@ -4568,9 +4925,9 @@ declare const zListAlertsResponse: z.ZodArray<z.ZodObject<{
4568
4925
  source: z.ZodEnum<{
4569
4926
  guardrail: "guardrail";
4570
4927
  metric_rule: "metric_rule";
4928
+ killswitch_armed: "killswitch_armed";
4571
4929
  experiment_srm: "experiment_srm";
4572
4930
  experiment_peek: "experiment_peek";
4573
- killswitch_armed: "killswitch_armed";
4574
4931
  }>;
4575
4932
  ruleId: z.ZodNullable<z.ZodString>;
4576
4933
  severity: z.ZodEnum<{
@@ -4673,6 +5030,8 @@ declare const zGetCurrentProjectResponse: z.ZodObject<{
4673
5030
  moduleUser: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
4674
5031
  moduleEvents: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
4675
5032
  allowPublicTickets: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
5033
+ errorAutocloseDays: z.ZodInt;
5034
+ errorTicketMinOccurrences: z.ZodInt;
4676
5035
  stripeSubscriptionId: z.ZodNullable<z.ZodString>;
4677
5036
  scheduledInterval: z.ZodNullable<z.ZodEnum<{
4678
5037
  monthly: "monthly";
@@ -4756,6 +5115,8 @@ declare const zUpdateProjectRequest: z.ZodObject<{
4756
5115
  msprtTauMeiFactor: z.ZodOptional<z.ZodNumber>;
4757
5116
  msprtTauSdFactor: z.ZodOptional<z.ZodNumber>;
4758
5117
  srmThreshold: z.ZodOptional<z.ZodNumber>;
5118
+ errorAutocloseDays: z.ZodOptional<z.ZodInt>;
5119
+ errorTicketMinOccurrences: z.ZodOptional<z.ZodInt>;
4759
5120
  }, z.core.$strip>;
4760
5121
  declare const zListI18nProfilesResponse: z.ZodArray<z.ZodObject<{
4761
5122
  id: z.ZodString;
@@ -5265,13 +5626,26 @@ declare const zCreateClaudeTriggerRequest: z.ZodObject<{
5265
5626
  token: z.ZodOptional<z.ZodString>;
5266
5627
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5267
5628
  }, z.core.$strip>;
5629
+ /**
5630
+ * One repo a trigger runs against, with the branch its runs start from.
5631
+ */
5632
+ declare const zCursorTriggerRepo: z.ZodObject<{
5633
+ url: z.ZodURL;
5634
+ startingRef: z.ZodOptional<z.ZodString>;
5635
+ }, z.core.$strip>;
5268
5636
  /**
5269
5637
  * Non-secret config for a Cursor trigger.
5270
5638
  */
5271
5639
  declare const zCursorTriggerConfig: z.ZodObject<{
5272
5640
  repoUrl: z.ZodURL;
5273
5641
  startingRef: z.ZodOptional<z.ZodString>;
5642
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5643
+ url: z.ZodURL;
5644
+ startingRef: z.ZodOptional<z.ZodString>;
5645
+ }, z.core.$strip>>>;
5274
5646
  projectId: z.ZodString;
5647
+ agentId: z.ZodOptional<z.ZodString>;
5648
+ fireText: z.ZodOptional<z.ZodString>;
5275
5649
  }, z.core.$strip>;
5276
5650
  /**
5277
5651
  * Create a Cursor cloud-agent trigger. Both keys are required up front (never tokenless). Idempotent by `config.repoUrl`.
@@ -5288,12 +5662,26 @@ declare const zCreateCursorTriggerRequest: z.ZodObject<{
5288
5662
  config: z.ZodObject<{
5289
5663
  repoUrl: z.ZodURL;
5290
5664
  startingRef: z.ZodOptional<z.ZodString>;
5665
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5666
+ url: z.ZodURL;
5667
+ startingRef: z.ZodOptional<z.ZodString>;
5668
+ }, z.core.$strip>>>;
5291
5669
  projectId: z.ZodString;
5670
+ agentId: z.ZodOptional<z.ZodString>;
5671
+ fireText: z.ZodOptional<z.ZodString>;
5292
5672
  }, z.core.$strip>;
5293
5673
  apiKey: z.ZodString;
5294
5674
  opsKey: z.ZodString;
5295
5675
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5296
5676
  }, z.core.$strip>;
5677
+ /**
5678
+ * One repo a Copilot trigger runs against, with the base branch its tasks branch from.
5679
+ */
5680
+ declare const zCopilotTriggerRepo: z.ZodObject<{
5681
+ owner: z.ZodString;
5682
+ repo: z.ZodString;
5683
+ baseRef: z.ZodOptional<z.ZodString>;
5684
+ }, z.core.$strip>;
5297
5685
  /**
5298
5686
  * Non-secret config for a Copilot trigger.
5299
5687
  */
@@ -5301,7 +5689,13 @@ declare const zCopilotTriggerConfig: z.ZodObject<{
5301
5689
  owner: z.ZodString;
5302
5690
  repo: z.ZodString;
5303
5691
  baseRef: z.ZodOptional<z.ZodString>;
5692
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5693
+ owner: z.ZodString;
5694
+ repo: z.ZodString;
5695
+ baseRef: z.ZodOptional<z.ZodString>;
5696
+ }, z.core.$strip>>>;
5304
5697
  projectId: z.ZodString;
5698
+ fireText: z.ZodOptional<z.ZodString>;
5305
5699
  }, z.core.$strip>;
5306
5700
  /**
5307
5701
  * Create a GitHub Copilot coding-agent trigger. Idempotent by `config.owner/config.repo`.
@@ -5319,7 +5713,13 @@ declare const zCreateCopilotTriggerRequest: z.ZodObject<{
5319
5713
  owner: z.ZodString;
5320
5714
  repo: z.ZodString;
5321
5715
  baseRef: z.ZodOptional<z.ZodString>;
5716
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5717
+ owner: z.ZodString;
5718
+ repo: z.ZodString;
5719
+ baseRef: z.ZodOptional<z.ZodString>;
5720
+ }, z.core.$strip>>>;
5322
5721
  projectId: z.ZodString;
5722
+ fireText: z.ZodOptional<z.ZodString>;
5323
5723
  }, z.core.$strip>;
5324
5724
  token: z.ZodString;
5325
5725
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -5331,6 +5731,7 @@ declare const zJulesTriggerConfig: z.ZodObject<{
5331
5731
  source: z.ZodString;
5332
5732
  startingBranch: z.ZodOptional<z.ZodString>;
5333
5733
  projectId: z.ZodString;
5734
+ fireText: z.ZodOptional<z.ZodString>;
5334
5735
  }, z.core.$strip>;
5335
5736
  /**
5336
5737
  * Create a Google Jules trigger. Both keys are required up front. Idempotent by `config.source`.
@@ -5348,6 +5749,7 @@ declare const zCreateJulesTriggerRequest: z.ZodObject<{
5348
5749
  source: z.ZodString;
5349
5750
  startingBranch: z.ZodOptional<z.ZodString>;
5350
5751
  projectId: z.ZodString;
5752
+ fireText: z.ZodOptional<z.ZodString>;
5351
5753
  }, z.core.$strip>;
5352
5754
  apiKey: z.ZodString;
5353
5755
  opsKey: z.ZodString;
@@ -5399,7 +5801,13 @@ declare const zCreateConnectorRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
5399
5801
  config: z.ZodObject<{
5400
5802
  repoUrl: z.ZodURL;
5401
5803
  startingRef: z.ZodOptional<z.ZodString>;
5804
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5805
+ url: z.ZodURL;
5806
+ startingRef: z.ZodOptional<z.ZodString>;
5807
+ }, z.core.$strip>>>;
5402
5808
  projectId: z.ZodString;
5809
+ agentId: z.ZodOptional<z.ZodString>;
5810
+ fireText: z.ZodOptional<z.ZodString>;
5403
5811
  }, z.core.$strip>;
5404
5812
  apiKey: z.ZodString;
5405
5813
  opsKey: z.ZodString;
@@ -5415,7 +5823,13 @@ declare const zCreateConnectorRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
5415
5823
  owner: z.ZodString;
5416
5824
  repo: z.ZodString;
5417
5825
  baseRef: z.ZodOptional<z.ZodString>;
5826
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5827
+ owner: z.ZodString;
5828
+ repo: z.ZodString;
5829
+ baseRef: z.ZodOptional<z.ZodString>;
5830
+ }, z.core.$strip>>>;
5418
5831
  projectId: z.ZodString;
5832
+ fireText: z.ZodOptional<z.ZodString>;
5419
5833
  }, z.core.$strip>;
5420
5834
  token: z.ZodString;
5421
5835
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -5430,6 +5844,7 @@ declare const zCreateConnectorRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
5430
5844
  source: z.ZodString;
5431
5845
  startingBranch: z.ZodOptional<z.ZodString>;
5432
5846
  projectId: z.ZodString;
5847
+ fireText: z.ZodOptional<z.ZodString>;
5433
5848
  }, z.core.$strip>;
5434
5849
  apiKey: z.ZodString;
5435
5850
  opsKey: z.ZodString;
@@ -5494,7 +5909,7 @@ declare const zUpdateClaudeTriggerRequest: z.ZodObject<{
5494
5909
  token: z.ZodOptional<z.ZodString>;
5495
5910
  }, z.core.$strip>;
5496
5911
  /**
5497
- * Per-provider PATCH body for editing an existing `cursor_trigger` connector. `config` replaces the stored config wholesale; `name` and either credential are optional (a supplied credential rotates just that key).
5912
+ * Per-provider PATCH body for editing an existing `cursor_trigger` connector. `config` replaces the stored config wholesale, except for the server-managed keys: the provisioned `agentId` is carried over (and dropped, so a replacement agent is provisioned, when `repoUrl`/`startingRef` change), as is the last-run pointer. `name` and either credential are optional (a supplied credential rotates just that key).
5498
5913
  */
5499
5914
  declare const zUpdateCursorTriggerRequest: z.ZodObject<{
5500
5915
  provider: z.ZodEnum<{
@@ -5504,7 +5919,13 @@ declare const zUpdateCursorTriggerRequest: z.ZodObject<{
5504
5919
  config: z.ZodObject<{
5505
5920
  repoUrl: z.ZodURL;
5506
5921
  startingRef: z.ZodOptional<z.ZodString>;
5922
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5923
+ url: z.ZodURL;
5924
+ startingRef: z.ZodOptional<z.ZodString>;
5925
+ }, z.core.$strip>>>;
5507
5926
  projectId: z.ZodString;
5927
+ agentId: z.ZodOptional<z.ZodString>;
5928
+ fireText: z.ZodOptional<z.ZodString>;
5508
5929
  }, z.core.$strip>;
5509
5930
  apiKey: z.ZodOptional<z.ZodString>;
5510
5931
  opsKey: z.ZodOptional<z.ZodString>;
@@ -5521,7 +5942,13 @@ declare const zUpdateCopilotTriggerRequest: z.ZodObject<{
5521
5942
  owner: z.ZodString;
5522
5943
  repo: z.ZodString;
5523
5944
  baseRef: z.ZodOptional<z.ZodString>;
5945
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5946
+ owner: z.ZodString;
5947
+ repo: z.ZodString;
5948
+ baseRef: z.ZodOptional<z.ZodString>;
5949
+ }, z.core.$strip>>>;
5524
5950
  projectId: z.ZodString;
5951
+ fireText: z.ZodOptional<z.ZodString>;
5525
5952
  }, z.core.$strip>;
5526
5953
  token: z.ZodOptional<z.ZodString>;
5527
5954
  }, z.core.$strip>;
@@ -5537,6 +5964,7 @@ declare const zUpdateJulesTriggerRequest: z.ZodObject<{
5537
5964
  source: z.ZodString;
5538
5965
  startingBranch: z.ZodOptional<z.ZodString>;
5539
5966
  projectId: z.ZodString;
5967
+ fireText: z.ZodOptional<z.ZodString>;
5540
5968
  }, z.core.$strip>;
5541
5969
  apiKey: z.ZodOptional<z.ZodString>;
5542
5970
  opsKey: z.ZodOptional<z.ZodString>;
@@ -5557,7 +5985,13 @@ declare const zUpdateTriggerConnectorRequest: z.ZodDiscriminatedUnion<[z.ZodObje
5557
5985
  config: z.ZodObject<{
5558
5986
  repoUrl: z.ZodURL;
5559
5987
  startingRef: z.ZodOptional<z.ZodString>;
5988
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5989
+ url: z.ZodURL;
5990
+ startingRef: z.ZodOptional<z.ZodString>;
5991
+ }, z.core.$strip>>>;
5560
5992
  projectId: z.ZodString;
5993
+ agentId: z.ZodOptional<z.ZodString>;
5994
+ fireText: z.ZodOptional<z.ZodString>;
5561
5995
  }, z.core.$strip>;
5562
5996
  apiKey: z.ZodOptional<z.ZodString>;
5563
5997
  opsKey: z.ZodOptional<z.ZodString>;
@@ -5568,7 +6002,13 @@ declare const zUpdateTriggerConnectorRequest: z.ZodDiscriminatedUnion<[z.ZodObje
5568
6002
  owner: z.ZodString;
5569
6003
  repo: z.ZodString;
5570
6004
  baseRef: z.ZodOptional<z.ZodString>;
6005
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
6006
+ owner: z.ZodString;
6007
+ repo: z.ZodString;
6008
+ baseRef: z.ZodOptional<z.ZodString>;
6009
+ }, z.core.$strip>>>;
5571
6010
  projectId: z.ZodString;
6011
+ fireText: z.ZodOptional<z.ZodString>;
5572
6012
  }, z.core.$strip>;
5573
6013
  token: z.ZodOptional<z.ZodString>;
5574
6014
  provider: z.ZodLiteral<"copilot_trigger">;
@@ -5578,6 +6018,7 @@ declare const zUpdateTriggerConnectorRequest: z.ZodDiscriminatedUnion<[z.ZodObje
5578
6018
  source: z.ZodString;
5579
6019
  startingBranch: z.ZodOptional<z.ZodString>;
5580
6020
  projectId: z.ZodString;
6021
+ fireText: z.ZodOptional<z.ZodString>;
5581
6022
  }, z.core.$strip>;
5582
6023
  apiKey: z.ZodOptional<z.ZodString>;
5583
6024
  opsKey: z.ZodOptional<z.ZodString>;
@@ -5608,7 +6049,13 @@ declare const zCreateTriggerConnectorRequest: z.ZodDiscriminatedUnion<[z.ZodObje
5608
6049
  config: z.ZodObject<{
5609
6050
  repoUrl: z.ZodURL;
5610
6051
  startingRef: z.ZodOptional<z.ZodString>;
6052
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
6053
+ url: z.ZodURL;
6054
+ startingRef: z.ZodOptional<z.ZodString>;
6055
+ }, z.core.$strip>>>;
5611
6056
  projectId: z.ZodString;
6057
+ agentId: z.ZodOptional<z.ZodString>;
6058
+ fireText: z.ZodOptional<z.ZodString>;
5612
6059
  }, z.core.$strip>;
5613
6060
  apiKey: z.ZodString;
5614
6061
  opsKey: z.ZodString;
@@ -5624,7 +6071,13 @@ declare const zCreateTriggerConnectorRequest: z.ZodDiscriminatedUnion<[z.ZodObje
5624
6071
  owner: z.ZodString;
5625
6072
  repo: z.ZodString;
5626
6073
  baseRef: z.ZodOptional<z.ZodString>;
6074
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
6075
+ owner: z.ZodString;
6076
+ repo: z.ZodString;
6077
+ baseRef: z.ZodOptional<z.ZodString>;
6078
+ }, z.core.$strip>>>;
5627
6079
  projectId: z.ZodString;
6080
+ fireText: z.ZodOptional<z.ZodString>;
5628
6081
  }, z.core.$strip>;
5629
6082
  token: z.ZodString;
5630
6083
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -5639,6 +6092,7 @@ declare const zCreateTriggerConnectorRequest: z.ZodDiscriminatedUnion<[z.ZodObje
5639
6092
  source: z.ZodString;
5640
6093
  startingBranch: z.ZodOptional<z.ZodString>;
5641
6094
  projectId: z.ZodString;
6095
+ fireText: z.ZodOptional<z.ZodString>;
5642
6096
  }, z.core.$strip>;
5643
6097
  apiKey: z.ZodString;
5644
6098
  opsKey: z.ZodString;
@@ -5666,6 +6120,7 @@ declare const zKeyRecord: z.ZodObject<{
5666
6120
  expires_at: z.ZodNullable<z.ZodString>;
5667
6121
  created_by_email: z.ZodNullable<z.ZodString>;
5668
6122
  name: z.ZodNullable<z.ZodString>;
6123
+ description: z.ZodNullable<z.ZodString>;
5669
6124
  scopes: z.ZodNullable<z.ZodArray<z.ZodString>>;
5670
6125
  last4: z.ZodNullable<z.ZodString>;
5671
6126
  }, z.core.$strip>;
@@ -5691,6 +6146,7 @@ declare const zListKeysResponse: z.ZodObject<{
5691
6146
  expires_at: z.ZodNullable<z.ZodString>;
5692
6147
  created_by_email: z.ZodNullable<z.ZodString>;
5693
6148
  name: z.ZodNullable<z.ZodString>;
6149
+ description: z.ZodNullable<z.ZodString>;
5694
6150
  scopes: z.ZodNullable<z.ZodArray<z.ZodString>>;
5695
6151
  last4: z.ZodNullable<z.ZodString>;
5696
6152
  }, z.core.$strip>>;
@@ -5743,6 +6199,17 @@ declare const zCreateKeyResponse: z.ZodObject<{
5743
6199
  key: z.ZodString;
5744
6200
  expires_at: z.ZodNullable<z.ZodString>;
5745
6201
  }, z.core.$strip>;
6202
+ /**
6203
+ * Body for `PATCH /api/admin/keys/{id}`. Only the key's **label** is editable — `name` and `description`.
6204
+ *
6205
+ * Everything that gives a key its authority (`type`, `env`, `scopes`, `expires_at`) is fixed at mint: those are the isolation boundary the worker derives the read env and permissions from, so changing them would silently re-point a credential that is already deployed. Rotate instead — mint a replacement and revoke the old key.
6206
+ *
6207
+ * Omitted fields are left untouched; send `null` to clear one.
6208
+ */
6209
+ declare const zUpdateKeyRequest: z.ZodObject<{
6210
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6211
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6212
+ }, z.core.$strip>;
5746
6213
  /**
5747
6214
  * Confirms the key is revoked. Idempotent — revoking an already-revoked key returns the same shape.
5748
6215
  */
@@ -5786,6 +6253,54 @@ declare const zSearchResponse: z.ZodObject<{
5786
6253
  href: z.ZodString;
5787
6254
  }, z.core.$strip>>;
5788
6255
  }, z.core.$strip>;
6256
+ declare const zTag: z.ZodObject<{
6257
+ id: z.ZodString;
6258
+ name: z.ZodString;
6259
+ }, z.core.$strip>;
6260
+ /**
6261
+ * The project's tags, sorted by name.
6262
+ */
6263
+ declare const zListTagsResponse: z.ZodArray<z.ZodObject<{
6264
+ id: z.ZodString;
6265
+ name: z.ZodString;
6266
+ }, z.core.$strip>>;
6267
+ /**
6268
+ * The kind of item a tag set hangs off: `ops` (any queue item — bug, feature request, error/alert/measure-plan ticket), `flag` (feature gate), `config` (dynamic config), `killswitch`, `metric`, `error` (tracked error group), `alert_rule`, or `experiment`.
6269
+ */
6270
+ declare const zTaggableEntityType: z.ZodEnum<{
6271
+ error: "error";
6272
+ metric: "metric";
6273
+ experiment: "experiment";
6274
+ alert_rule: "alert_rule";
6275
+ ops: "ops";
6276
+ config: "config";
6277
+ killswitch: "killswitch";
6278
+ flag: "flag";
6279
+ }>;
6280
+ declare const zEntityTagsResponse: z.ZodObject<{
6281
+ entityType: z.ZodEnum<{
6282
+ error: "error";
6283
+ metric: "metric";
6284
+ experiment: "experiment";
6285
+ alert_rule: "alert_rule";
6286
+ ops: "ops";
6287
+ config: "config";
6288
+ killswitch: "killswitch";
6289
+ flag: "flag";
6290
+ }>;
6291
+ entityId: z.ZodString;
6292
+ tags: z.ZodArray<z.ZodString>;
6293
+ }, z.core.$strip>;
6294
+ declare const zSetEntityTagsRequest: z.ZodObject<{
6295
+ tags: z.ZodArray<z.ZodString>;
6296
+ }, z.core.$strip>;
6297
+ /**
6298
+ * Incremental tag edit — pass `add`, `remove`, or both. Every other tag on the item is left as is.
6299
+ */
6300
+ declare const zUpdateEntityTagsRequest: z.ZodObject<{
6301
+ add: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
6302
+ remove: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
6303
+ }, z.core.$strip>;
5789
6304
  /**
5790
6305
  * Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
5791
6306
  */
@@ -6301,6 +6816,95 @@ declare const zListGateActivityResponse2: z.ZodArray<z.ZodObject<{
6301
6816
  payload: z.ZodUnknown;
6302
6817
  createdAt: z.ZodString;
6303
6818
  }, z.core.$strip>>;
6819
+ declare const zRemoveFromGateWhitelistBody: z.ZodObject<{
6820
+ entries: z.ZodArray<z.ZodString>;
6821
+ }, z.core.$strip>;
6822
+ declare const zRemoveFromGateWhitelistHeaders: z.ZodObject<{
6823
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
6824
+ }, z.core.$strip>;
6825
+ declare const zRemoveFromGateWhitelistPath: z.ZodObject<{
6826
+ id: z.ZodString;
6827
+ }, z.core.$strip>;
6828
+ /**
6829
+ * Remove entries from a gate's whitelist
6830
+ */
6831
+ declare const zRemoveFromGateWhitelistResponse: z.ZodObject<{
6832
+ id: z.ZodString;
6833
+ name: z.ZodString;
6834
+ attr: z.ZodEnum<{
6835
+ email: "email";
6836
+ user_id: "user_id";
6837
+ }>;
6838
+ entries: z.ZodArray<z.ZodString>;
6839
+ }, z.core.$strip>;
6840
+ declare const zGetGateWhitelistHeaders: z.ZodObject<{
6841
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
6842
+ }, z.core.$strip>;
6843
+ declare const zGetGateWhitelistPath: z.ZodObject<{
6844
+ id: z.ZodString;
6845
+ }, z.core.$strip>;
6846
+ /**
6847
+ * Read a gate's whitelist
6848
+ */
6849
+ declare const zGetGateWhitelistResponse: z.ZodObject<{
6850
+ id: z.ZodString;
6851
+ name: z.ZodString;
6852
+ attr: z.ZodEnum<{
6853
+ email: "email";
6854
+ user_id: "user_id";
6855
+ }>;
6856
+ entries: z.ZodArray<z.ZodString>;
6857
+ }, z.core.$strip>;
6858
+ declare const zAddToGateWhitelistBody: z.ZodObject<{
6859
+ attr: z.ZodOptional<z.ZodEnum<{
6860
+ email: "email";
6861
+ user_id: "user_id";
6862
+ }>>;
6863
+ entries: z.ZodArray<z.ZodString>;
6864
+ }, z.core.$strip>;
6865
+ declare const zAddToGateWhitelistHeaders: z.ZodObject<{
6866
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
6867
+ }, z.core.$strip>;
6868
+ declare const zAddToGateWhitelistPath: z.ZodObject<{
6869
+ id: z.ZodString;
6870
+ }, z.core.$strip>;
6871
+ /**
6872
+ * Add entries to a gate's whitelist
6873
+ */
6874
+ declare const zAddToGateWhitelistResponse: z.ZodObject<{
6875
+ id: z.ZodString;
6876
+ name: z.ZodString;
6877
+ attr: z.ZodEnum<{
6878
+ email: "email";
6879
+ user_id: "user_id";
6880
+ }>;
6881
+ entries: z.ZodArray<z.ZodString>;
6882
+ }, z.core.$strip>;
6883
+ declare const zSetGateWhitelistBody: z.ZodObject<{
6884
+ attr: z.ZodOptional<z.ZodEnum<{
6885
+ email: "email";
6886
+ user_id: "user_id";
6887
+ }>>;
6888
+ entries: z.ZodArray<z.ZodString>;
6889
+ }, z.core.$strip>;
6890
+ declare const zSetGateWhitelistHeaders: z.ZodObject<{
6891
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
6892
+ }, z.core.$strip>;
6893
+ declare const zSetGateWhitelistPath: z.ZodObject<{
6894
+ id: z.ZodString;
6895
+ }, z.core.$strip>;
6896
+ /**
6897
+ * Replace a gate's whitelist
6898
+ */
6899
+ declare const zSetGateWhitelistResponse: z.ZodObject<{
6900
+ id: z.ZodString;
6901
+ name: z.ZodString;
6902
+ attr: z.ZodEnum<{
6903
+ email: "email";
6904
+ user_id: "user_id";
6905
+ }>;
6906
+ entries: z.ZodArray<z.ZodString>;
6907
+ }, z.core.$strip>;
6304
6908
  declare const zListExperimentsHeaders: z.ZodObject<{
6305
6909
  'X-Project-Id': z.ZodOptional<z.ZodString>;
6306
6910
  }, z.core.$strip>;
@@ -6424,10 +7028,7 @@ declare const zCreateExperimentBody: z.ZodObject<{
6424
7028
  query: z.ZodOptional<z.ZodString>;
6425
7029
  event: z.ZodOptional<z.ZodString>;
6426
7030
  aggregation: z.ZodOptional<z.ZodEnum<{
6427
- count_users: "count_users";
6428
7031
  count_events: "count_events";
6429
- retention_7d: "retention_7d";
6430
- retention_30d: "retention_30d";
6431
7032
  sum: "sum";
6432
7033
  avg: "avg";
6433
7034
  }>>;
@@ -6439,10 +7040,7 @@ declare const zCreateExperimentBody: z.ZodObject<{
6439
7040
  query: z.ZodOptional<z.ZodString>;
6440
7041
  event: z.ZodOptional<z.ZodString>;
6441
7042
  aggregation: z.ZodOptional<z.ZodEnum<{
6442
- count_users: "count_users";
6443
7043
  count_events: "count_events";
6444
- retention_7d: "retention_7d";
6445
- retention_30d: "retention_30d";
6446
7044
  sum: "sum";
6447
7045
  avg: "avg";
6448
7046
  }>>;
@@ -6589,10 +7187,7 @@ declare const zUpdateExperimentBody: z.ZodObject<{
6589
7187
  query: z.ZodOptional<z.ZodString>;
6590
7188
  event: z.ZodOptional<z.ZodString>;
6591
7189
  aggregation: z.ZodOptional<z.ZodEnum<{
6592
- count_users: "count_users";
6593
7190
  count_events: "count_events";
6594
- retention_7d: "retention_7d";
6595
- retention_30d: "retention_30d";
6596
7191
  sum: "sum";
6597
7192
  avg: "avg";
6598
7193
  }>>;
@@ -6604,10 +7199,7 @@ declare const zUpdateExperimentBody: z.ZodObject<{
6604
7199
  query: z.ZodOptional<z.ZodString>;
6605
7200
  event: z.ZodOptional<z.ZodString>;
6606
7201
  aggregation: z.ZodOptional<z.ZodEnum<{
6607
- count_users: "count_users";
6608
7202
  count_events: "count_events";
6609
- retention_7d: "retention_7d";
6610
- retention_30d: "retention_30d";
6611
7203
  sum: "sum";
6612
7204
  avg: "avg";
6613
7205
  }>>;
@@ -7316,6 +7908,40 @@ declare const zSetKillswitchValueResponse2: z.ZodObject<{
7316
7908
  switches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
7317
7909
  }, z.core.$strip>;
7318
7910
  }, z.core.$strip>;
7911
+ declare const zToggleKillswitchBody: z.ZodObject<{
7912
+ switchKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7913
+ value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7914
+ env: z.ZodOptional<z.ZodEnum<{
7915
+ dev: "dev";
7916
+ staging: "staging";
7917
+ prod: "prod";
7918
+ }>>;
7919
+ }, z.core.$strip>;
7920
+ declare const zToggleKillswitchHeaders: z.ZodObject<{
7921
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
7922
+ }, z.core.$strip>;
7923
+ declare const zToggleKillswitchPath: z.ZodObject<{
7924
+ id: z.ZodString;
7925
+ }, z.core.$strip>;
7926
+ /**
7927
+ * Toggle a killswitch or one of its switches
7928
+ */
7929
+ declare const zToggleKillswitchResponse2: z.ZodObject<{
7930
+ id: z.ZodString;
7931
+ env: z.ZodEnum<{
7932
+ dev: "dev";
7933
+ staging: "staging";
7934
+ prod: "prod";
7935
+ }>;
7936
+ switchKey: z.ZodNullable<z.ZodString>;
7937
+ previous: z.ZodBoolean;
7938
+ value: z.ZodBoolean;
7939
+ version: z.ZodInt;
7940
+ published: z.ZodObject<{
7941
+ value: z.ZodBoolean;
7942
+ switches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
7943
+ }, z.core.$strip>;
7944
+ }, z.core.$strip>;
7319
7945
  declare const zListUniversesHeaders: z.ZodObject<{
7320
7946
  'X-Project-Id': z.ZodOptional<z.ZodString>;
7321
7947
  }, z.core.$strip>;
@@ -7742,75 +8368,8 @@ declare const zListMetricsResponse2: z.ZodArray<z.ZodObject<{
7742
8368
  eventName: z.ZodString;
7743
8369
  query: z.ZodNullable<z.ZodString>;
7744
8370
  queryIr: z.ZodNullable<z.ZodObject<{
7745
- agg: z.ZodUnion<readonly [z.ZodObject<{
7746
- kind: z.ZodLiteral<"count_users">;
7747
- }, z.core.$strip>, z.ZodObject<{
7748
- kind: z.ZodLiteral<"count_events">;
7749
- }, z.core.$strip>, z.ZodObject<{
7750
- kind: z.ZodLiteral<"sum">;
7751
- }, z.core.$strip>, z.ZodObject<{
7752
- kind: z.ZodLiteral<"avg">;
7753
- }, z.core.$strip>, z.ZodObject<{
7754
- kind: z.ZodLiteral<"min">;
7755
- }, z.core.$strip>, z.ZodObject<{
7756
- kind: z.ZodLiteral<"max">;
7757
- }, z.core.$strip>, z.ZodObject<{
7758
- kind: z.ZodLiteral<"unique">;
7759
- }, z.core.$strip>, z.ZodObject<{
7760
- kind: z.ZodLiteral<"quantile">;
7761
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
7762
- }, z.core.$strip>, z.ZodObject<{
7763
- kind: z.ZodLiteral<"retention_Nd">;
7764
- n: z.ZodInt;
7765
- }, z.core.$strip>, z.ZodObject<{
7766
- kind: z.ZodLiteral<"ratio">;
7767
- numerator: z.ZodObject<{
7768
- agg: z.ZodEnum<{
7769
- count_users: "count_users";
7770
- count_events: "count_events";
7771
- }>;
7772
- metric: z.ZodString;
7773
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
7774
- label: z.ZodString;
7775
- op: z.ZodEnum<{
7776
- "=": "=";
7777
- "!=": "!=";
7778
- "=~": "=~";
7779
- "!~": "!~";
7780
- }>;
7781
- value: z.ZodString;
7782
- }, z.core.$strip>>>;
7783
- }, z.core.$strip>;
7784
- denominator: z.ZodObject<{
7785
- agg: z.ZodEnum<{
7786
- count_users: "count_users";
7787
- count_events: "count_events";
7788
- }>;
7789
- metric: z.ZodString;
7790
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
7791
- label: z.ZodString;
7792
- op: z.ZodEnum<{
7793
- "=": "=";
7794
- "!=": "!=";
7795
- "=~": "=~";
7796
- "!~": "!~";
7797
- }>;
7798
- value: z.ZodString;
7799
- }, z.core.$strip>>>;
7800
- }, z.core.$strip>;
7801
- }, z.core.$strip>]>;
7802
- metric: z.ZodString;
7803
- valueLabel: z.ZodOptional<z.ZodString>;
7804
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
7805
- label: z.ZodString;
7806
- op: z.ZodEnum<{
7807
- "=": "=";
7808
- "!=": "!=";
7809
- "=~": "=~";
7810
- "!~": "!~";
7811
- }>;
7812
- value: z.ZodString;
7813
- }, z.core.$strip>>>>;
8371
+ v: z.ZodLiteral<2>;
8372
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7814
8373
  groupBy: z.ZodOptional<z.ZodObject<{
7815
8374
  op: z.ZodEnum<{
7816
8375
  by: "by";
@@ -7818,6 +8377,21 @@ declare const zListMetricsResponse2: z.ZodArray<z.ZodObject<{
7818
8377
  }>;
7819
8378
  labels: z.ZodArray<z.ZodString>;
7820
8379
  }, z.core.$strip>>;
8380
+ display: z.ZodOptional<z.ZodObject<{
8381
+ band: z.ZodOptional<z.ZodObject<{
8382
+ method: z.ZodEnum<{
8383
+ seasonal: "seasonal";
8384
+ }>;
8385
+ sigma: z.ZodOptional<z.ZodNumber>;
8386
+ }, z.core.$strip>>;
8387
+ forecast: z.ZodOptional<z.ZodObject<{
8388
+ method: z.ZodEnum<{
8389
+ seasonal: "seasonal";
8390
+ linear: "linear";
8391
+ }>;
8392
+ horizon: z.ZodOptional<z.ZodInt>;
8393
+ }, z.core.$strip>>;
8394
+ }, z.core.$strip>>;
7821
8395
  }, z.core.$strip>>;
7822
8396
  displayName: z.ZodNullable<z.ZodString>;
7823
8397
  presetId: z.ZodNullable<z.ZodString>;
@@ -7838,6 +8412,7 @@ declare const zListMetricsResponse2: z.ZodArray<z.ZodObject<{
7838
8412
  }, z.core.$strip>>;
7839
8413
  declare const zCreateMetricBody: z.ZodUnion<readonly [z.ZodObject<{
7840
8414
  name: z.ZodString;
8415
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7841
8416
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7842
8417
  event_name: z.ZodString;
7843
8418
  query: z.ZodString;
@@ -7849,80 +8424,29 @@ declare const zCreateMetricBody: z.ZodUnion<readonly [z.ZodObject<{
7849
8424
  neutral: "neutral";
7850
8425
  }>>>;
7851
8426
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8427
+ display: z.ZodOptional<z.ZodObject<{
8428
+ band: z.ZodOptional<z.ZodObject<{
8429
+ method: z.ZodEnum<{
8430
+ seasonal: "seasonal";
8431
+ }>;
8432
+ sigma: z.ZodOptional<z.ZodNumber>;
8433
+ }, z.core.$strip>>;
8434
+ forecast: z.ZodOptional<z.ZodObject<{
8435
+ method: z.ZodEnum<{
8436
+ seasonal: "seasonal";
8437
+ linear: "linear";
8438
+ }>;
8439
+ horizon: z.ZodOptional<z.ZodInt>;
8440
+ }, z.core.$strip>>;
8441
+ }, z.core.$strip>>;
7852
8442
  }, z.core.$strip>, z.ZodObject<{
7853
8443
  name: z.ZodString;
8444
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7854
8445
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7855
8446
  event_name: z.ZodString;
7856
8447
  query_ir: z.ZodObject<{
7857
- agg: z.ZodUnion<readonly [z.ZodObject<{
7858
- kind: z.ZodLiteral<"count_users">;
7859
- }, z.core.$strip>, z.ZodObject<{
7860
- kind: z.ZodLiteral<"count_events">;
7861
- }, z.core.$strip>, z.ZodObject<{
7862
- kind: z.ZodLiteral<"sum">;
7863
- }, z.core.$strip>, z.ZodObject<{
7864
- kind: z.ZodLiteral<"avg">;
7865
- }, z.core.$strip>, z.ZodObject<{
7866
- kind: z.ZodLiteral<"min">;
7867
- }, z.core.$strip>, z.ZodObject<{
7868
- kind: z.ZodLiteral<"max">;
7869
- }, z.core.$strip>, z.ZodObject<{
7870
- kind: z.ZodLiteral<"unique">;
7871
- }, z.core.$strip>, z.ZodObject<{
7872
- kind: z.ZodLiteral<"quantile">;
7873
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
7874
- }, z.core.$strip>, z.ZodObject<{
7875
- kind: z.ZodLiteral<"retention_Nd">;
7876
- n: z.ZodInt;
7877
- }, z.core.$strip>, z.ZodObject<{
7878
- kind: z.ZodLiteral<"ratio">;
7879
- numerator: z.ZodObject<{
7880
- agg: z.ZodEnum<{
7881
- count_users: "count_users";
7882
- count_events: "count_events";
7883
- }>;
7884
- metric: z.ZodString;
7885
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
7886
- label: z.ZodString;
7887
- op: z.ZodEnum<{
7888
- "=": "=";
7889
- "!=": "!=";
7890
- "=~": "=~";
7891
- "!~": "!~";
7892
- }>;
7893
- value: z.ZodString;
7894
- }, z.core.$strip>>>;
7895
- }, z.core.$strip>;
7896
- denominator: z.ZodObject<{
7897
- agg: z.ZodEnum<{
7898
- count_users: "count_users";
7899
- count_events: "count_events";
7900
- }>;
7901
- metric: z.ZodString;
7902
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
7903
- label: z.ZodString;
7904
- op: z.ZodEnum<{
7905
- "=": "=";
7906
- "!=": "!=";
7907
- "=~": "=~";
7908
- "!~": "!~";
7909
- }>;
7910
- value: z.ZodString;
7911
- }, z.core.$strip>>>;
7912
- }, z.core.$strip>;
7913
- }, z.core.$strip>]>;
7914
- metric: z.ZodString;
7915
- valueLabel: z.ZodOptional<z.ZodString>;
7916
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
7917
- label: z.ZodString;
7918
- op: z.ZodEnum<{
7919
- "=": "=";
7920
- "!=": "!=";
7921
- "=~": "=~";
7922
- "!~": "!~";
7923
- }>;
7924
- value: z.ZodString;
7925
- }, z.core.$strip>>>>;
8448
+ v: z.ZodLiteral<2>;
8449
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7926
8450
  groupBy: z.ZodOptional<z.ZodObject<{
7927
8451
  op: z.ZodEnum<{
7928
8452
  by: "by";
@@ -7930,6 +8454,21 @@ declare const zCreateMetricBody: z.ZodUnion<readonly [z.ZodObject<{
7930
8454
  }>;
7931
8455
  labels: z.ZodArray<z.ZodString>;
7932
8456
  }, z.core.$strip>>;
8457
+ display: z.ZodOptional<z.ZodObject<{
8458
+ band: z.ZodOptional<z.ZodObject<{
8459
+ method: z.ZodEnum<{
8460
+ seasonal: "seasonal";
8461
+ }>;
8462
+ sigma: z.ZodOptional<z.ZodNumber>;
8463
+ }, z.core.$strip>>;
8464
+ forecast: z.ZodOptional<z.ZodObject<{
8465
+ method: z.ZodEnum<{
8466
+ seasonal: "seasonal";
8467
+ linear: "linear";
8468
+ }>;
8469
+ horizon: z.ZodOptional<z.ZodInt>;
8470
+ }, z.core.$strip>>;
8471
+ }, z.core.$strip>>;
7933
8472
  }, z.core.$strip>;
7934
8473
  winsorize_pct: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
7935
8474
  default_min_effect_of_interest: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
@@ -7939,6 +8478,21 @@ declare const zCreateMetricBody: z.ZodUnion<readonly [z.ZodObject<{
7939
8478
  neutral: "neutral";
7940
8479
  }>>>;
7941
8480
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8481
+ display: z.ZodOptional<z.ZodObject<{
8482
+ band: z.ZodOptional<z.ZodObject<{
8483
+ method: z.ZodEnum<{
8484
+ seasonal: "seasonal";
8485
+ }>;
8486
+ sigma: z.ZodOptional<z.ZodNumber>;
8487
+ }, z.core.$strip>>;
8488
+ forecast: z.ZodOptional<z.ZodObject<{
8489
+ method: z.ZodEnum<{
8490
+ seasonal: "seasonal";
8491
+ linear: "linear";
8492
+ }>;
8493
+ horizon: z.ZodOptional<z.ZodInt>;
8494
+ }, z.core.$strip>>;
8495
+ }, z.core.$strip>>;
7942
8496
  }, z.core.$strip>]>;
7943
8497
  declare const zCreateMetricHeaders: z.ZodObject<{
7944
8498
  'X-Project-Id': z.ZodOptional<z.ZodString>;
@@ -7978,75 +8532,8 @@ declare const zGetMetricResponse2: z.ZodObject<{
7978
8532
  eventName: z.ZodString;
7979
8533
  query: z.ZodNullable<z.ZodString>;
7980
8534
  queryIr: z.ZodNullable<z.ZodObject<{
7981
- agg: z.ZodUnion<readonly [z.ZodObject<{
7982
- kind: z.ZodLiteral<"count_users">;
7983
- }, z.core.$strip>, z.ZodObject<{
7984
- kind: z.ZodLiteral<"count_events">;
7985
- }, z.core.$strip>, z.ZodObject<{
7986
- kind: z.ZodLiteral<"sum">;
7987
- }, z.core.$strip>, z.ZodObject<{
7988
- kind: z.ZodLiteral<"avg">;
7989
- }, z.core.$strip>, z.ZodObject<{
7990
- kind: z.ZodLiteral<"min">;
7991
- }, z.core.$strip>, z.ZodObject<{
7992
- kind: z.ZodLiteral<"max">;
7993
- }, z.core.$strip>, z.ZodObject<{
7994
- kind: z.ZodLiteral<"unique">;
7995
- }, z.core.$strip>, z.ZodObject<{
7996
- kind: z.ZodLiteral<"quantile">;
7997
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
7998
- }, z.core.$strip>, z.ZodObject<{
7999
- kind: z.ZodLiteral<"retention_Nd">;
8000
- n: z.ZodInt;
8001
- }, z.core.$strip>, z.ZodObject<{
8002
- kind: z.ZodLiteral<"ratio">;
8003
- numerator: z.ZodObject<{
8004
- agg: z.ZodEnum<{
8005
- count_users: "count_users";
8006
- count_events: "count_events";
8007
- }>;
8008
- metric: z.ZodString;
8009
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
8010
- label: z.ZodString;
8011
- op: z.ZodEnum<{
8012
- "=": "=";
8013
- "!=": "!=";
8014
- "=~": "=~";
8015
- "!~": "!~";
8016
- }>;
8017
- value: z.ZodString;
8018
- }, z.core.$strip>>>;
8019
- }, z.core.$strip>;
8020
- denominator: z.ZodObject<{
8021
- agg: z.ZodEnum<{
8022
- count_users: "count_users";
8023
- count_events: "count_events";
8024
- }>;
8025
- metric: z.ZodString;
8026
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
8027
- label: z.ZodString;
8028
- op: z.ZodEnum<{
8029
- "=": "=";
8030
- "!=": "!=";
8031
- "=~": "=~";
8032
- "!~": "!~";
8033
- }>;
8034
- value: z.ZodString;
8035
- }, z.core.$strip>>>;
8036
- }, z.core.$strip>;
8037
- }, z.core.$strip>]>;
8038
- metric: z.ZodString;
8039
- valueLabel: z.ZodOptional<z.ZodString>;
8040
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
8041
- label: z.ZodString;
8042
- op: z.ZodEnum<{
8043
- "=": "=";
8044
- "!=": "!=";
8045
- "=~": "=~";
8046
- "!~": "!~";
8047
- }>;
8048
- value: z.ZodString;
8049
- }, z.core.$strip>>>>;
8535
+ v: z.ZodLiteral<2>;
8536
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8050
8537
  groupBy: z.ZodOptional<z.ZodObject<{
8051
8538
  op: z.ZodEnum<{
8052
8539
  by: "by";
@@ -8054,6 +8541,21 @@ declare const zGetMetricResponse2: z.ZodObject<{
8054
8541
  }>;
8055
8542
  labels: z.ZodArray<z.ZodString>;
8056
8543
  }, z.core.$strip>>;
8544
+ display: z.ZodOptional<z.ZodObject<{
8545
+ band: z.ZodOptional<z.ZodObject<{
8546
+ method: z.ZodEnum<{
8547
+ seasonal: "seasonal";
8548
+ }>;
8549
+ sigma: z.ZodOptional<z.ZodNumber>;
8550
+ }, z.core.$strip>>;
8551
+ forecast: z.ZodOptional<z.ZodObject<{
8552
+ method: z.ZodEnum<{
8553
+ seasonal: "seasonal";
8554
+ linear: "linear";
8555
+ }>;
8556
+ horizon: z.ZodOptional<z.ZodInt>;
8557
+ }, z.core.$strip>>;
8558
+ }, z.core.$strip>>;
8057
8559
  }, z.core.$strip>>;
8058
8560
  displayName: z.ZodNullable<z.ZodString>;
8059
8561
  presetId: z.ZodNullable<z.ZodString>;
@@ -8071,6 +8573,7 @@ declare const zGetMetricResponse2: z.ZodObject<{
8071
8573
  updatedAt: z.ZodOptional<z.ZodString>;
8072
8574
  }, z.core.$strip>;
8073
8575
  declare const zUpdateMetricBody: z.ZodUnion<readonly [z.ZodObject<{
8576
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8074
8577
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8075
8578
  event_name: z.ZodOptional<z.ZodString>;
8076
8579
  query: z.ZodString;
@@ -8082,79 +8585,28 @@ declare const zUpdateMetricBody: z.ZodUnion<readonly [z.ZodObject<{
8082
8585
  neutral: "neutral";
8083
8586
  }>>>;
8084
8587
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8588
+ display: z.ZodOptional<z.ZodObject<{
8589
+ band: z.ZodOptional<z.ZodObject<{
8590
+ method: z.ZodEnum<{
8591
+ seasonal: "seasonal";
8592
+ }>;
8593
+ sigma: z.ZodOptional<z.ZodNumber>;
8594
+ }, z.core.$strip>>;
8595
+ forecast: z.ZodOptional<z.ZodObject<{
8596
+ method: z.ZodEnum<{
8597
+ seasonal: "seasonal";
8598
+ linear: "linear";
8599
+ }>;
8600
+ horizon: z.ZodOptional<z.ZodInt>;
8601
+ }, z.core.$strip>>;
8602
+ }, z.core.$strip>>;
8085
8603
  }, z.core.$strip>, z.ZodObject<{
8604
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8086
8605
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8087
8606
  event_name: z.ZodOptional<z.ZodString>;
8088
8607
  query_ir: z.ZodObject<{
8089
- agg: z.ZodUnion<readonly [z.ZodObject<{
8090
- kind: z.ZodLiteral<"count_users">;
8091
- }, z.core.$strip>, z.ZodObject<{
8092
- kind: z.ZodLiteral<"count_events">;
8093
- }, z.core.$strip>, z.ZodObject<{
8094
- kind: z.ZodLiteral<"sum">;
8095
- }, z.core.$strip>, z.ZodObject<{
8096
- kind: z.ZodLiteral<"avg">;
8097
- }, z.core.$strip>, z.ZodObject<{
8098
- kind: z.ZodLiteral<"min">;
8099
- }, z.core.$strip>, z.ZodObject<{
8100
- kind: z.ZodLiteral<"max">;
8101
- }, z.core.$strip>, z.ZodObject<{
8102
- kind: z.ZodLiteral<"unique">;
8103
- }, z.core.$strip>, z.ZodObject<{
8104
- kind: z.ZodLiteral<"quantile">;
8105
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
8106
- }, z.core.$strip>, z.ZodObject<{
8107
- kind: z.ZodLiteral<"retention_Nd">;
8108
- n: z.ZodInt;
8109
- }, z.core.$strip>, z.ZodObject<{
8110
- kind: z.ZodLiteral<"ratio">;
8111
- numerator: z.ZodObject<{
8112
- agg: z.ZodEnum<{
8113
- count_users: "count_users";
8114
- count_events: "count_events";
8115
- }>;
8116
- metric: z.ZodString;
8117
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
8118
- label: z.ZodString;
8119
- op: z.ZodEnum<{
8120
- "=": "=";
8121
- "!=": "!=";
8122
- "=~": "=~";
8123
- "!~": "!~";
8124
- }>;
8125
- value: z.ZodString;
8126
- }, z.core.$strip>>>;
8127
- }, z.core.$strip>;
8128
- denominator: z.ZodObject<{
8129
- agg: z.ZodEnum<{
8130
- count_users: "count_users";
8131
- count_events: "count_events";
8132
- }>;
8133
- metric: z.ZodString;
8134
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
8135
- label: z.ZodString;
8136
- op: z.ZodEnum<{
8137
- "=": "=";
8138
- "!=": "!=";
8139
- "=~": "=~";
8140
- "!~": "!~";
8141
- }>;
8142
- value: z.ZodString;
8143
- }, z.core.$strip>>>;
8144
- }, z.core.$strip>;
8145
- }, z.core.$strip>]>;
8146
- metric: z.ZodString;
8147
- valueLabel: z.ZodOptional<z.ZodString>;
8148
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
8149
- label: z.ZodString;
8150
- op: z.ZodEnum<{
8151
- "=": "=";
8152
- "!=": "!=";
8153
- "=~": "=~";
8154
- "!~": "!~";
8155
- }>;
8156
- value: z.ZodString;
8157
- }, z.core.$strip>>>>;
8608
+ v: z.ZodLiteral<2>;
8609
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8158
8610
  groupBy: z.ZodOptional<z.ZodObject<{
8159
8611
  op: z.ZodEnum<{
8160
8612
  by: "by";
@@ -8162,6 +8614,21 @@ declare const zUpdateMetricBody: z.ZodUnion<readonly [z.ZodObject<{
8162
8614
  }>;
8163
8615
  labels: z.ZodArray<z.ZodString>;
8164
8616
  }, z.core.$strip>>;
8617
+ display: z.ZodOptional<z.ZodObject<{
8618
+ band: z.ZodOptional<z.ZodObject<{
8619
+ method: z.ZodEnum<{
8620
+ seasonal: "seasonal";
8621
+ }>;
8622
+ sigma: z.ZodOptional<z.ZodNumber>;
8623
+ }, z.core.$strip>>;
8624
+ forecast: z.ZodOptional<z.ZodObject<{
8625
+ method: z.ZodEnum<{
8626
+ seasonal: "seasonal";
8627
+ linear: "linear";
8628
+ }>;
8629
+ horizon: z.ZodOptional<z.ZodInt>;
8630
+ }, z.core.$strip>>;
8631
+ }, z.core.$strip>>;
8165
8632
  }, z.core.$strip>;
8166
8633
  winsorize_pct: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
8167
8634
  default_min_effect_of_interest: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
@@ -8171,7 +8638,23 @@ declare const zUpdateMetricBody: z.ZodUnion<readonly [z.ZodObject<{
8171
8638
  neutral: "neutral";
8172
8639
  }>>>;
8173
8640
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8641
+ display: z.ZodOptional<z.ZodObject<{
8642
+ band: z.ZodOptional<z.ZodObject<{
8643
+ method: z.ZodEnum<{
8644
+ seasonal: "seasonal";
8645
+ }>;
8646
+ sigma: z.ZodOptional<z.ZodNumber>;
8647
+ }, z.core.$strip>>;
8648
+ forecast: z.ZodOptional<z.ZodObject<{
8649
+ method: z.ZodEnum<{
8650
+ seasonal: "seasonal";
8651
+ linear: "linear";
8652
+ }>;
8653
+ horizon: z.ZodOptional<z.ZodInt>;
8654
+ }, z.core.$strip>>;
8655
+ }, z.core.$strip>>;
8174
8656
  }, z.core.$strip>, z.ZodObject<{
8657
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8175
8658
  folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8176
8659
  event_name: z.ZodOptional<z.ZodString>;
8177
8660
  winsorize_pct: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
@@ -8182,6 +8665,21 @@ declare const zUpdateMetricBody: z.ZodUnion<readonly [z.ZodObject<{
8182
8665
  neutral: "neutral";
8183
8666
  }>>>;
8184
8667
  unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8668
+ display: z.ZodOptional<z.ZodObject<{
8669
+ band: z.ZodOptional<z.ZodObject<{
8670
+ method: z.ZodEnum<{
8671
+ seasonal: "seasonal";
8672
+ }>;
8673
+ sigma: z.ZodOptional<z.ZodNumber>;
8674
+ }, z.core.$strip>>;
8675
+ forecast: z.ZodOptional<z.ZodObject<{
8676
+ method: z.ZodEnum<{
8677
+ seasonal: "seasonal";
8678
+ linear: "linear";
8679
+ }>;
8680
+ horizon: z.ZodOptional<z.ZodInt>;
8681
+ }, z.core.$strip>>;
8682
+ }, z.core.$strip>>;
8185
8683
  }, z.core.$strip>]>;
8186
8684
  declare const zUpdateMetricHeaders: z.ZodObject<{
8187
8685
  'X-Project-Id': z.ZodOptional<z.ZodString>;
@@ -8199,82 +8697,30 @@ declare const zUpdateMetricResponse: z.ZodObject<{
8199
8697
  eventName: z.ZodString;
8200
8698
  query: z.ZodNullable<z.ZodString>;
8201
8699
  queryIr: z.ZodNullable<z.ZodObject<{
8202
- agg: z.ZodUnion<readonly [z.ZodObject<{
8203
- kind: z.ZodLiteral<"count_users">;
8204
- }, z.core.$strip>, z.ZodObject<{
8205
- kind: z.ZodLiteral<"count_events">;
8206
- }, z.core.$strip>, z.ZodObject<{
8207
- kind: z.ZodLiteral<"sum">;
8208
- }, z.core.$strip>, z.ZodObject<{
8209
- kind: z.ZodLiteral<"avg">;
8210
- }, z.core.$strip>, z.ZodObject<{
8211
- kind: z.ZodLiteral<"min">;
8212
- }, z.core.$strip>, z.ZodObject<{
8213
- kind: z.ZodLiteral<"max">;
8214
- }, z.core.$strip>, z.ZodObject<{
8215
- kind: z.ZodLiteral<"unique">;
8216
- }, z.core.$strip>, z.ZodObject<{
8217
- kind: z.ZodLiteral<"quantile">;
8218
- p: z.ZodUnion<readonly [z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<0.9>, z.ZodLiteral<0.95>, z.ZodLiteral<0.99>, z.ZodLiteral<0.999>]>;
8219
- }, z.core.$strip>, z.ZodObject<{
8220
- kind: z.ZodLiteral<"retention_Nd">;
8221
- n: z.ZodInt;
8222
- }, z.core.$strip>, z.ZodObject<{
8223
- kind: z.ZodLiteral<"ratio">;
8224
- numerator: z.ZodObject<{
8225
- agg: z.ZodEnum<{
8226
- count_users: "count_users";
8227
- count_events: "count_events";
8228
- }>;
8229
- metric: z.ZodString;
8230
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
8231
- label: z.ZodString;
8232
- op: z.ZodEnum<{
8233
- "=": "=";
8234
- "!=": "!=";
8235
- "=~": "=~";
8236
- "!~": "!~";
8237
- }>;
8238
- value: z.ZodString;
8239
- }, z.core.$strip>>>;
8240
- }, z.core.$strip>;
8241
- denominator: z.ZodObject<{
8242
- agg: z.ZodEnum<{
8243
- count_users: "count_users";
8244
- count_events: "count_events";
8245
- }>;
8246
- metric: z.ZodString;
8247
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
8248
- label: z.ZodString;
8249
- op: z.ZodEnum<{
8250
- "=": "=";
8251
- "!=": "!=";
8252
- "=~": "=~";
8253
- "!~": "!~";
8254
- }>;
8255
- value: z.ZodString;
8256
- }, z.core.$strip>>>;
8257
- }, z.core.$strip>;
8258
- }, z.core.$strip>]>;
8259
- metric: z.ZodString;
8260
- valueLabel: z.ZodOptional<z.ZodString>;
8261
- filters: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
8262
- label: z.ZodString;
8263
- op: z.ZodEnum<{
8264
- "=": "=";
8265
- "!=": "!=";
8266
- "=~": "=~";
8267
- "!~": "!~";
8268
- }>;
8269
- value: z.ZodString;
8270
- }, z.core.$strip>>>>;
8271
- groupBy: z.ZodOptional<z.ZodObject<{
8700
+ v: z.ZodLiteral<2>;
8701
+ expr: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8702
+ groupBy: z.ZodOptional<z.ZodObject<{
8272
8703
  op: z.ZodEnum<{
8273
8704
  by: "by";
8274
8705
  without: "without";
8275
8706
  }>;
8276
8707
  labels: z.ZodArray<z.ZodString>;
8277
8708
  }, z.core.$strip>>;
8709
+ display: z.ZodOptional<z.ZodObject<{
8710
+ band: z.ZodOptional<z.ZodObject<{
8711
+ method: z.ZodEnum<{
8712
+ seasonal: "seasonal";
8713
+ }>;
8714
+ sigma: z.ZodOptional<z.ZodNumber>;
8715
+ }, z.core.$strip>>;
8716
+ forecast: z.ZodOptional<z.ZodObject<{
8717
+ method: z.ZodEnum<{
8718
+ seasonal: "seasonal";
8719
+ linear: "linear";
8720
+ }>;
8721
+ horizon: z.ZodOptional<z.ZodInt>;
8722
+ }, z.core.$strip>>;
8723
+ }, z.core.$strip>>;
8278
8724
  }, z.core.$strip>>;
8279
8725
  displayName: z.ZodNullable<z.ZodString>;
8280
8726
  presetId: z.ZodNullable<z.ZodString>;
@@ -8348,6 +8794,8 @@ declare const zGetMetricSeriesResponse2: z.ZodObject<{
8348
8794
  rows: z.ZodArray<z.ZodObject<{
8349
8795
  t: z.ZodInt;
8350
8796
  v: z.ZodNumber;
8797
+ lo: z.ZodOptional<z.ZodNumber>;
8798
+ hi: z.ZodOptional<z.ZodNumber>;
8351
8799
  }, z.core.$strip>>;
8352
8800
  }, z.core.$strip>;
8353
8801
  declare const zListEventsHeaders: z.ZodObject<{
@@ -8373,6 +8821,7 @@ declare const zListEventsResponse2: z.ZodArray<z.ZodObject<{
8373
8821
  }>;
8374
8822
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8375
8823
  description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8824
+ pending: z.ZodOptional<z.ZodBoolean>;
8376
8825
  }, z.core.$strip>>;
8377
8826
  pending: z.ZodInt;
8378
8827
  createdAt: z.ZodString;
@@ -8437,6 +8886,7 @@ declare const zGetEventResponse2: z.ZodObject<{
8437
8886
  }>;
8438
8887
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8439
8888
  description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8889
+ pending: z.ZodOptional<z.ZodBoolean>;
8440
8890
  }, z.core.$strip>>;
8441
8891
  pending: z.ZodInt;
8442
8892
  createdAt: z.ZodString;
@@ -8497,13 +8947,14 @@ declare const zListOpsItemsHeaders: z.ZodObject<{
8497
8947
  'X-Project-Id': z.ZodOptional<z.ZodString>;
8498
8948
  }, z.core.$strip>;
8499
8949
  declare const zListOpsItemsQuery: z.ZodObject<{
8500
- type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
8950
+ type: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
8501
8951
  error: "error";
8502
8952
  alert: "alert";
8503
8953
  bug: "bug";
8504
8954
  feature_request: "feature_request";
8505
- }>, z.ZodLiteral<"all">]>>;
8506
- status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
8955
+ measure_plan: "measure_plan";
8956
+ }>, z.ZodLiteral<"all">]>>>;
8957
+ status: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
8507
8958
  open: "open";
8508
8959
  pending_approval: "pending_approval";
8509
8960
  investigating_by_ai: "investigating_by_ai";
@@ -8512,8 +8963,19 @@ declare const zListOpsItemsQuery: z.ZodObject<{
8512
8963
  ready_for_qa: "ready_for_qa";
8513
8964
  resolved: "resolved";
8514
8965
  wont_fix: "wont_fix";
8515
- }>, z.ZodLiteral<"all">]>>;
8516
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
8966
+ }>, z.ZodLiteral<"unresolved">, z.ZodLiteral<"all">]>>>;
8967
+ priority: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
8968
+ high: "high";
8969
+ nice_to_have: "nice_to_have";
8970
+ medium: "medium";
8971
+ critical: "critical";
8972
+ }>, z.ZodLiteral<"all">]>>>;
8973
+ scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
8974
+ all: "all";
8975
+ ready: "ready";
8976
+ }>>>;
8977
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
8978
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
8517
8979
  owner: z.ZodOptional<z.ZodString>;
8518
8980
  }, z.core.$strip>;
8519
8981
  /**
@@ -8552,6 +9014,7 @@ declare const zListOpsItemsResponse2: z.ZodArray<z.ZodObject<{
8552
9014
  ready_for_qa: "ready_for_qa";
8553
9015
  pr_ready: "pr_ready";
8554
9016
  pr_merged: "pr_merged";
9017
+ pr_closed: "pr_closed";
8555
9018
  investigated: "investigated";
8556
9019
  detected: "detected";
8557
9020
  question: "question";
@@ -8596,15 +9059,18 @@ declare const zListOpsItemsResponse2: z.ZodArray<z.ZodObject<{
8596
9059
  source: z.ZodEnum<{
8597
9060
  guardrail: "guardrail";
8598
9061
  metric_rule: "metric_rule";
9062
+ killswitch_armed: "killswitch_armed";
8599
9063
  experiment_srm: "experiment_srm";
8600
9064
  experiment_peek: "experiment_peek";
8601
9065
  }>;
8602
9066
  dedupeKey: z.ZodString;
8603
- severity: z.ZodEnum<{
9067
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9068
+ ruleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9069
+ severity: z.ZodOptional<z.ZodEnum<{
8604
9070
  info: "info";
8605
9071
  warn: "warn";
8606
9072
  danger: "danger";
8607
- }>;
9073
+ }>>;
8608
9074
  observedValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8609
9075
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8610
9076
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -8689,6 +9155,15 @@ declare const zListOpsItemsResponse2: z.ZodArray<z.ZodObject<{
8689
9155
  closes: "closes";
8690
9156
  comment: "comment";
8691
9157
  }>>;
9158
+ owner: z.ZodOptional<z.ZodString>;
9159
+ repo: z.ZodOptional<z.ZodString>;
9160
+ state: z.ZodOptional<z.ZodEnum<{
9161
+ open: "open";
9162
+ merged: "merged";
9163
+ closed: "closed";
9164
+ }>>;
9165
+ mergedAt: z.ZodOptional<z.ZodString>;
9166
+ closedAt: z.ZodOptional<z.ZodString>;
8692
9167
  }, z.core.$strip>>;
8693
9168
  }, z.core.$strip>>;
8694
9169
  slack: z.ZodOptional<z.ZodObject<{
@@ -8850,6 +9325,98 @@ declare const zCreateOpsItemResponse2: z.ZodObject<{
8850
9325
  id: z.ZodString;
8851
9326
  number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8852
9327
  }, z.core.$strip>;
9328
+ declare const zCreatePublicBugBody: z.ZodObject<{
9329
+ title: z.ZodString;
9330
+ stepsToReproduce: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9331
+ actualResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9332
+ expectedResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9333
+ priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9334
+ high: "high";
9335
+ nice_to_have: "nice_to_have";
9336
+ medium: "medium";
9337
+ critical: "critical";
9338
+ }>>>;
9339
+ status: z.ZodOptional<z.ZodEnum<{
9340
+ open: "open";
9341
+ pending_approval: "pending_approval";
9342
+ investigating_by_ai: "investigating_by_ai";
9343
+ in_progress: "in_progress";
9344
+ blocked: "blocked";
9345
+ ready_for_qa: "ready_for_qa";
9346
+ resolved: "resolved";
9347
+ wont_fix: "wont_fix";
9348
+ }>>;
9349
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9350
+ subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
9351
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
9352
+ reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
9353
+ pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
9354
+ userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9355
+ viewport: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9356
+ context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9357
+ dedupKey: z.ZodOptional<z.ZodString>;
9358
+ notify: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodObject<{
9359
+ slackChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9360
+ id: z.ZodString;
9361
+ name: z.ZodString;
9362
+ }, z.core.$strip>>>;
9363
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
9364
+ }, z.core.$strip>>>>;
9365
+ }, z.core.$strip>;
9366
+ /**
9367
+ * An open ticket already tracks this report; nothing was filed
9368
+ */
9369
+ declare const zCreatePublicBugResponse: z.ZodObject<{
9370
+ id: z.ZodOptional<z.ZodString>;
9371
+ number: z.ZodInt;
9372
+ deduped: z.ZodOptional<z.ZodBoolean>;
9373
+ updated: z.ZodOptional<z.ZodBoolean>;
9374
+ }, z.core.$strip>;
9375
+ declare const zCreatePublicFeatureRequestBody: z.ZodObject<{
9376
+ title: z.ZodString;
9377
+ description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9378
+ useCase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9379
+ priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9380
+ high: "high";
9381
+ nice_to_have: "nice_to_have";
9382
+ medium: "medium";
9383
+ critical: "critical";
9384
+ }>>>;
9385
+ status: z.ZodOptional<z.ZodEnum<{
9386
+ open: "open";
9387
+ pending_approval: "pending_approval";
9388
+ investigating_by_ai: "investigating_by_ai";
9389
+ in_progress: "in_progress";
9390
+ blocked: "blocked";
9391
+ ready_for_qa: "ready_for_qa";
9392
+ resolved: "resolved";
9393
+ wont_fix: "wont_fix";
9394
+ }>>;
9395
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9396
+ subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
9397
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
9398
+ reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
9399
+ pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
9400
+ userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9401
+ context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9402
+ dedupKey: z.ZodOptional<z.ZodString>;
9403
+ notify: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodObject<{
9404
+ slackChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9405
+ id: z.ZodString;
9406
+ name: z.ZodString;
9407
+ }, z.core.$strip>>>;
9408
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
9409
+ }, z.core.$strip>>>>;
9410
+ }, z.core.$strip>;
9411
+ /**
9412
+ * An open ticket already tracks this report; nothing was filed
9413
+ */
9414
+ declare const zCreatePublicFeatureRequestResponse: z.ZodObject<{
9415
+ id: z.ZodOptional<z.ZodString>;
9416
+ number: z.ZodInt;
9417
+ deduped: z.ZodOptional<z.ZodBoolean>;
9418
+ updated: z.ZodOptional<z.ZodBoolean>;
9419
+ }, z.core.$strip>;
8853
9420
  declare const zDeleteOpsItemHeaders: z.ZodObject<{
8854
9421
  'X-Project-Id': z.ZodOptional<z.ZodString>;
8855
9422
  }, z.core.$strip>;
@@ -8908,6 +9475,7 @@ declare const zGetOpsItemResponse2: z.ZodObject<{
8908
9475
  ready_for_qa: "ready_for_qa";
8909
9476
  pr_ready: "pr_ready";
8910
9477
  pr_merged: "pr_merged";
9478
+ pr_closed: "pr_closed";
8911
9479
  investigated: "investigated";
8912
9480
  detected: "detected";
8913
9481
  question: "question";
@@ -8948,15 +9516,18 @@ declare const zGetOpsItemResponse2: z.ZodObject<{
8948
9516
  source: z.ZodEnum<{
8949
9517
  guardrail: "guardrail";
8950
9518
  metric_rule: "metric_rule";
9519
+ killswitch_armed: "killswitch_armed";
8951
9520
  experiment_srm: "experiment_srm";
8952
9521
  experiment_peek: "experiment_peek";
8953
9522
  }>;
8954
9523
  dedupeKey: z.ZodString;
8955
- severity: z.ZodEnum<{
9524
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9525
+ ruleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9526
+ severity: z.ZodOptional<z.ZodEnum<{
8956
9527
  info: "info";
8957
9528
  warn: "warn";
8958
9529
  danger: "danger";
8959
- }>;
9530
+ }>>;
8960
9531
  observedValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8961
9532
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8962
9533
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -9057,6 +9628,15 @@ declare const zGetOpsItemResponse2: z.ZodObject<{
9057
9628
  closes: "closes";
9058
9629
  comment: "comment";
9059
9630
  }>>;
9631
+ owner: z.ZodOptional<z.ZodString>;
9632
+ repo: z.ZodOptional<z.ZodString>;
9633
+ state: z.ZodOptional<z.ZodEnum<{
9634
+ open: "open";
9635
+ merged: "merged";
9636
+ closed: "closed";
9637
+ }>>;
9638
+ mergedAt: z.ZodOptional<z.ZodString>;
9639
+ closedAt: z.ZodOptional<z.ZodString>;
9060
9640
  }, z.core.$strip>>;
9061
9641
  }, z.core.$strip>>;
9062
9642
  slack: z.ZodOptional<z.ZodObject<{
@@ -9217,6 +9797,15 @@ declare const zLinkPrToOpsItemResponse2: z.ZodObject<{
9217
9797
  closes: "closes";
9218
9798
  comment: "comment";
9219
9799
  }>>;
9800
+ owner: z.ZodOptional<z.ZodString>;
9801
+ repo: z.ZodOptional<z.ZodString>;
9802
+ state: z.ZodOptional<z.ZodEnum<{
9803
+ open: "open";
9804
+ merged: "merged";
9805
+ closed: "closed";
9806
+ }>>;
9807
+ mergedAt: z.ZodOptional<z.ZodString>;
9808
+ closedAt: z.ZodOptional<z.ZodString>;
9220
9809
  }, z.core.$strip>>;
9221
9810
  }, z.core.$strip>;
9222
9811
  declare const zAckOpsItemBody: z.ZodObject<{
@@ -9229,6 +9818,7 @@ declare const zAckOpsItemBody: z.ZodObject<{
9229
9818
  gemini: "gemini";
9230
9819
  }>>;
9231
9820
  sessionId: z.ZodOptional<z.ZodString>;
9821
+ launch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9232
9822
  }, z.core.$strip>;
9233
9823
  declare const zAckOpsItemHeaders: z.ZodObject<{
9234
9824
  'X-Project-Id': z.ZodOptional<z.ZodString>;
@@ -9524,6 +10114,234 @@ declare const zUpdateOpsInvestigationResponse: z.ZodObject<{
9524
10114
  createdAt: z.ZodString;
9525
10115
  updatedAt: z.ZodString;
9526
10116
  }, z.core.$strip>;
10117
+ declare const zListOpsQuestionsHeaders: z.ZodObject<{
10118
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
10119
+ }, z.core.$strip>;
10120
+ declare const zListOpsQuestionsPath: z.ZodObject<{
10121
+ handle: z.ZodString;
10122
+ }, z.core.$strip>;
10123
+ declare const zListOpsQuestionsQuery: z.ZodObject<{
10124
+ status: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
10125
+ open: "open";
10126
+ completed: "completed";
10127
+ cancelled: "cancelled";
10128
+ }>, z.ZodLiteral<"all">]>>>;
10129
+ }, z.core.$strip>;
10130
+ /**
10131
+ * List an item's questions
10132
+ */
10133
+ declare const zListOpsQuestionsResponse2: z.ZodArray<z.ZodObject<{
10134
+ id: z.ZodString;
10135
+ feedbackId: z.ZodString;
10136
+ header: z.ZodString;
10137
+ question: z.ZodString;
10138
+ options: z.ZodArray<z.ZodObject<{
10139
+ label: z.ZodString;
10140
+ description: z.ZodNullable<z.ZodString>;
10141
+ }, z.core.$strip>>;
10142
+ multiSelect: z.ZodBoolean;
10143
+ status: z.ZodEnum<{
10144
+ open: "open";
10145
+ completed: "completed";
10146
+ cancelled: "cancelled";
10147
+ }>;
10148
+ answer: z.ZodNullable<z.ZodObject<{
10149
+ selected: z.ZodArray<z.ZodString>;
10150
+ other: z.ZodNullable<z.ZodString>;
10151
+ }, z.core.$strip>>;
10152
+ answeredBy: z.ZodNullable<z.ZodString>;
10153
+ answeredAt: z.ZodNullable<z.ZodString>;
10154
+ agent: z.ZodNullable<z.ZodEnum<{
10155
+ jarvis: "jarvis";
10156
+ claude: "claude";
10157
+ cursor: "cursor";
10158
+ copilot: "copilot";
10159
+ jules: "jules";
10160
+ }>>;
10161
+ askedBy: z.ZodNullable<z.ZodString>;
10162
+ runId: z.ZodNullable<z.ZodString>;
10163
+ delivery: z.ZodEnum<{
10164
+ resume: "resume";
10165
+ poll: "poll";
10166
+ }>;
10167
+ deliveredAt: z.ZodNullable<z.ZodString>;
10168
+ deliveryError: z.ZodNullable<z.ZodString>;
10169
+ createdAt: z.ZodString;
10170
+ updatedAt: z.ZodString;
10171
+ }, z.core.$strip>>;
10172
+ declare const zAskOpsQuestionsBody: z.ZodObject<{
10173
+ questions: z.ZodArray<z.ZodObject<{
10174
+ header: z.ZodString;
10175
+ question: z.ZodString;
10176
+ options: z.ZodArray<z.ZodObject<{
10177
+ label: z.ZodString;
10178
+ description: z.ZodOptional<z.ZodString>;
10179
+ }, z.core.$strip>>;
10180
+ multiSelect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10181
+ }, z.core.$strip>>;
10182
+ runId: z.ZodOptional<z.ZodString>;
10183
+ agent: z.ZodOptional<z.ZodEnum<{
10184
+ jarvis: "jarvis";
10185
+ claude: "claude";
10186
+ cursor: "cursor";
10187
+ copilot: "copilot";
10188
+ jules: "jules";
10189
+ }>>;
10190
+ delivery: z.ZodOptional<z.ZodEnum<{
10191
+ resume: "resume";
10192
+ poll: "poll";
10193
+ }>>;
10194
+ }, z.core.$strip>;
10195
+ declare const zAskOpsQuestionsHeaders: z.ZodObject<{
10196
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
10197
+ }, z.core.$strip>;
10198
+ declare const zAskOpsQuestionsPath: z.ZodObject<{
10199
+ handle: z.ZodString;
10200
+ }, z.core.$strip>;
10201
+ /**
10202
+ * The created questions, in the order asked
10203
+ */
10204
+ declare const zAskOpsQuestionsResponse2: z.ZodArray<z.ZodObject<{
10205
+ id: z.ZodString;
10206
+ feedbackId: z.ZodString;
10207
+ header: z.ZodString;
10208
+ question: z.ZodString;
10209
+ options: z.ZodArray<z.ZodObject<{
10210
+ label: z.ZodString;
10211
+ description: z.ZodNullable<z.ZodString>;
10212
+ }, z.core.$strip>>;
10213
+ multiSelect: z.ZodBoolean;
10214
+ status: z.ZodEnum<{
10215
+ open: "open";
10216
+ completed: "completed";
10217
+ cancelled: "cancelled";
10218
+ }>;
10219
+ answer: z.ZodNullable<z.ZodObject<{
10220
+ selected: z.ZodArray<z.ZodString>;
10221
+ other: z.ZodNullable<z.ZodString>;
10222
+ }, z.core.$strip>>;
10223
+ answeredBy: z.ZodNullable<z.ZodString>;
10224
+ answeredAt: z.ZodNullable<z.ZodString>;
10225
+ agent: z.ZodNullable<z.ZodEnum<{
10226
+ jarvis: "jarvis";
10227
+ claude: "claude";
10228
+ cursor: "cursor";
10229
+ copilot: "copilot";
10230
+ jules: "jules";
10231
+ }>>;
10232
+ askedBy: z.ZodNullable<z.ZodString>;
10233
+ runId: z.ZodNullable<z.ZodString>;
10234
+ delivery: z.ZodEnum<{
10235
+ resume: "resume";
10236
+ poll: "poll";
10237
+ }>;
10238
+ deliveredAt: z.ZodNullable<z.ZodString>;
10239
+ deliveryError: z.ZodNullable<z.ZodString>;
10240
+ createdAt: z.ZodString;
10241
+ updatedAt: z.ZodString;
10242
+ }, z.core.$strip>>;
10243
+ declare const zAnswerOpsQuestionBody: z.ZodObject<{
10244
+ selected: z.ZodOptional<z.ZodArray<z.ZodString>>;
10245
+ other: z.ZodOptional<z.ZodString>;
10246
+ }, z.core.$strip>;
10247
+ declare const zAnswerOpsQuestionHeaders: z.ZodObject<{
10248
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
10249
+ }, z.core.$strip>;
10250
+ declare const zAnswerOpsQuestionPath: z.ZodObject<{
10251
+ handle: z.ZodString;
10252
+ questionId: z.ZodString;
10253
+ }, z.core.$strip>;
10254
+ /**
10255
+ * The answered question
10256
+ */
10257
+ declare const zAnswerOpsQuestionResponse: z.ZodObject<{
10258
+ id: z.ZodString;
10259
+ feedbackId: z.ZodString;
10260
+ header: z.ZodString;
10261
+ question: z.ZodString;
10262
+ options: z.ZodArray<z.ZodObject<{
10263
+ label: z.ZodString;
10264
+ description: z.ZodNullable<z.ZodString>;
10265
+ }, z.core.$strip>>;
10266
+ multiSelect: z.ZodBoolean;
10267
+ status: z.ZodEnum<{
10268
+ open: "open";
10269
+ completed: "completed";
10270
+ cancelled: "cancelled";
10271
+ }>;
10272
+ answer: z.ZodNullable<z.ZodObject<{
10273
+ selected: z.ZodArray<z.ZodString>;
10274
+ other: z.ZodNullable<z.ZodString>;
10275
+ }, z.core.$strip>>;
10276
+ answeredBy: z.ZodNullable<z.ZodString>;
10277
+ answeredAt: z.ZodNullable<z.ZodString>;
10278
+ agent: z.ZodNullable<z.ZodEnum<{
10279
+ jarvis: "jarvis";
10280
+ claude: "claude";
10281
+ cursor: "cursor";
10282
+ copilot: "copilot";
10283
+ jules: "jules";
10284
+ }>>;
10285
+ askedBy: z.ZodNullable<z.ZodString>;
10286
+ runId: z.ZodNullable<z.ZodString>;
10287
+ delivery: z.ZodEnum<{
10288
+ resume: "resume";
10289
+ poll: "poll";
10290
+ }>;
10291
+ deliveredAt: z.ZodNullable<z.ZodString>;
10292
+ deliveryError: z.ZodNullable<z.ZodString>;
10293
+ createdAt: z.ZodString;
10294
+ updatedAt: z.ZodString;
10295
+ }, z.core.$strip>;
10296
+ declare const zCancelOpsQuestionHeaders: z.ZodObject<{
10297
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
10298
+ }, z.core.$strip>;
10299
+ declare const zCancelOpsQuestionPath: z.ZodObject<{
10300
+ handle: z.ZodString;
10301
+ questionId: z.ZodString;
10302
+ }, z.core.$strip>;
10303
+ /**
10304
+ * The withdrawn question
10305
+ */
10306
+ declare const zCancelOpsQuestionResponse: z.ZodObject<{
10307
+ id: z.ZodString;
10308
+ feedbackId: z.ZodString;
10309
+ header: z.ZodString;
10310
+ question: z.ZodString;
10311
+ options: z.ZodArray<z.ZodObject<{
10312
+ label: z.ZodString;
10313
+ description: z.ZodNullable<z.ZodString>;
10314
+ }, z.core.$strip>>;
10315
+ multiSelect: z.ZodBoolean;
10316
+ status: z.ZodEnum<{
10317
+ open: "open";
10318
+ completed: "completed";
10319
+ cancelled: "cancelled";
10320
+ }>;
10321
+ answer: z.ZodNullable<z.ZodObject<{
10322
+ selected: z.ZodArray<z.ZodString>;
10323
+ other: z.ZodNullable<z.ZodString>;
10324
+ }, z.core.$strip>>;
10325
+ answeredBy: z.ZodNullable<z.ZodString>;
10326
+ answeredAt: z.ZodNullable<z.ZodString>;
10327
+ agent: z.ZodNullable<z.ZodEnum<{
10328
+ jarvis: "jarvis";
10329
+ claude: "claude";
10330
+ cursor: "cursor";
10331
+ copilot: "copilot";
10332
+ jules: "jules";
10333
+ }>>;
10334
+ askedBy: z.ZodNullable<z.ZodString>;
10335
+ runId: z.ZodNullable<z.ZodString>;
10336
+ delivery: z.ZodEnum<{
10337
+ resume: "resume";
10338
+ poll: "poll";
10339
+ }>;
10340
+ deliveredAt: z.ZodNullable<z.ZodString>;
10341
+ deliveryError: z.ZodNullable<z.ZodString>;
10342
+ createdAt: z.ZodString;
10343
+ updatedAt: z.ZodString;
10344
+ }, z.core.$strip>;
9527
10345
  declare const zListOpsAgentsHeaders: z.ZodObject<{
9528
10346
  'X-Project-Id': z.ZodOptional<z.ZodString>;
9529
10347
  }, z.core.$strip>;
@@ -9626,6 +10444,13 @@ declare const zListAlertRulesResponse2: z.ZodArray<z.ZodObject<{
9626
10444
  name: z.ZodString;
9627
10445
  metricId: z.ZodString;
9628
10446
  metricName: z.ZodNullable<z.ZodString>;
10447
+ kind: z.ZodEnum<{
10448
+ normal: "normal";
10449
+ anomaly: "anomaly";
10450
+ outliers: "outliers";
10451
+ no_data: "no_data";
10452
+ composite: "composite";
10453
+ }>;
9629
10454
  comparator: z.ZodEnum<{
9630
10455
  gt: "gt";
9631
10456
  gte: "gte";
@@ -9633,7 +10458,32 @@ declare const zListAlertRulesResponse2: z.ZodArray<z.ZodObject<{
9633
10458
  lte: "lte";
9634
10459
  }>;
9635
10460
  threshold: z.ZodNumber;
10461
+ rangeMin: z.ZodNullable<z.ZodNumber>;
10462
+ rangeMax: z.ZodNullable<z.ZodNumber>;
10463
+ sigma: z.ZodNullable<z.ZodNumber>;
10464
+ direction: z.ZodNullable<z.ZodEnum<{
10465
+ above: "above";
10466
+ below: "below";
10467
+ either: "either";
10468
+ }>>;
10469
+ sustained: z.ZodBoolean;
10470
+ warnThreshold: z.ZodNullable<z.ZodNumber>;
10471
+ recoveryThreshold: z.ZodNullable<z.ZodNumber>;
10472
+ groupAlerts: z.ZodBoolean;
10473
+ maxGroups: z.ZodNullable<z.ZodInt>;
10474
+ noDataMinutes: z.ZodNullable<z.ZodInt>;
10475
+ delayMinutes: z.ZodNullable<z.ZodInt>;
10476
+ autoResolveMinutes: z.ZodNullable<z.ZodInt>;
10477
+ composite: z.ZodNullable<z.ZodObject<{
10478
+ op: z.ZodEnum<{
10479
+ and: "and";
10480
+ or: "or";
10481
+ }>;
10482
+ rules: z.ZodArray<z.ZodString>;
10483
+ }, z.core.$strip>>;
9636
10484
  windowHours: z.ZodInt;
10485
+ bucketMinutes: z.ZodNullable<z.ZodInt>;
10486
+ requiredBuckets: z.ZodNullable<z.ZodInt>;
9637
10487
  severity: z.ZodEnum<{
9638
10488
  info: "info";
9639
10489
  warn: "warn";
@@ -9653,14 +10503,46 @@ declare const zListAlertRulesResponse2: z.ZodArray<z.ZodObject<{
9653
10503
  declare const zCreateAlertRuleBody: z.ZodObject<{
9654
10504
  name: z.ZodString;
9655
10505
  metricId: z.ZodString;
9656
- comparator: z.ZodEnum<{
10506
+ kind: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
10507
+ normal: "normal";
10508
+ anomaly: "anomaly";
10509
+ outliers: "outliers";
10510
+ no_data: "no_data";
10511
+ composite: "composite";
10512
+ }>>>;
10513
+ comparator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
9657
10514
  gt: "gt";
9658
10515
  gte: "gte";
9659
10516
  lt: "lt";
9660
10517
  lte: "lte";
9661
- }>;
9662
- threshold: z.ZodNumber;
10518
+ }>>>;
10519
+ threshold: z.ZodOptional<z.ZodNumber>;
10520
+ rangeMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10521
+ rangeMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10522
+ sigma: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10523
+ direction: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
10524
+ above: "above";
10525
+ below: "below";
10526
+ either: "either";
10527
+ }>>>;
10528
+ sustained: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9663
10529
  windowHours: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
10530
+ bucketMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10531
+ requiredBuckets: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10532
+ warnThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10533
+ recoveryThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10534
+ groupAlerts: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10535
+ maxGroups: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10536
+ noDataMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10537
+ delayMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10538
+ autoResolveMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10539
+ composite: z.ZodOptional<z.ZodObject<{
10540
+ op: z.ZodEnum<{
10541
+ and: "and";
10542
+ or: "or";
10543
+ }>;
10544
+ rules: z.ZodArray<z.ZodString>;
10545
+ }, z.core.$strip>>;
9664
10546
  severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
9665
10547
  info: "info";
9666
10548
  warn: "warn";
@@ -9698,6 +10580,13 @@ declare const zDeleteAlertRuleResponse2: z.ZodObject<{
9698
10580
  }, z.core.$strip>;
9699
10581
  declare const zUpdateAlertRuleBody: z.ZodObject<{
9700
10582
  name: z.ZodOptional<z.ZodString>;
10583
+ kind: z.ZodOptional<z.ZodEnum<{
10584
+ normal: "normal";
10585
+ anomaly: "anomaly";
10586
+ outliers: "outliers";
10587
+ no_data: "no_data";
10588
+ composite: "composite";
10589
+ }>>;
9701
10590
  comparator: z.ZodOptional<z.ZodEnum<{
9702
10591
  gt: "gt";
9703
10592
  gte: "gte";
@@ -9705,7 +10594,32 @@ declare const zUpdateAlertRuleBody: z.ZodObject<{
9705
10594
  lte: "lte";
9706
10595
  }>>;
9707
10596
  threshold: z.ZodOptional<z.ZodNumber>;
10597
+ rangeMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10598
+ rangeMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10599
+ sigma: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10600
+ direction: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
10601
+ above: "above";
10602
+ below: "below";
10603
+ either: "either";
10604
+ }>>>;
10605
+ sustained: z.ZodOptional<z.ZodBoolean>;
10606
+ warnThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10607
+ recoveryThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10608
+ groupAlerts: z.ZodOptional<z.ZodBoolean>;
10609
+ maxGroups: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10610
+ noDataMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10611
+ delayMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10612
+ autoResolveMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10613
+ composite: z.ZodOptional<z.ZodObject<{
10614
+ op: z.ZodEnum<{
10615
+ and: "and";
10616
+ or: "or";
10617
+ }>;
10618
+ rules: z.ZodArray<z.ZodString>;
10619
+ }, z.core.$strip>>;
9708
10620
  windowHours: z.ZodOptional<z.ZodInt>;
10621
+ bucketMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10622
+ requiredBuckets: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9709
10623
  severity: z.ZodOptional<z.ZodEnum<{
9710
10624
  info: "info";
9711
10625
  warn: "warn";
@@ -9751,9 +10665,9 @@ declare const zListAlertsResponse2: z.ZodArray<z.ZodObject<{
9751
10665
  source: z.ZodEnum<{
9752
10666
  guardrail: "guardrail";
9753
10667
  metric_rule: "metric_rule";
10668
+ killswitch_armed: "killswitch_armed";
9754
10669
  experiment_srm: "experiment_srm";
9755
10670
  experiment_peek: "experiment_peek";
9756
- killswitch_armed: "killswitch_armed";
9757
10671
  }>;
9758
10672
  ruleId: z.ZodNullable<z.ZodString>;
9759
10673
  severity: z.ZodEnum<{
@@ -9801,9 +10715,9 @@ declare const zUpdateAlertResponse: z.ZodObject<{
9801
10715
  source: z.ZodEnum<{
9802
10716
  guardrail: "guardrail";
9803
10717
  metric_rule: "metric_rule";
10718
+ killswitch_armed: "killswitch_armed";
9804
10719
  experiment_srm: "experiment_srm";
9805
10720
  experiment_peek: "experiment_peek";
9806
- killswitch_armed: "killswitch_armed";
9807
10721
  }>;
9808
10722
  ruleId: z.ZodNullable<z.ZodString>;
9809
10723
  severity: z.ZodEnum<{
@@ -9895,6 +10809,8 @@ declare const zGetCurrentProjectResponse2: z.ZodObject<{
9895
10809
  moduleUser: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
9896
10810
  moduleEvents: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
9897
10811
  allowPublicTickets: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
10812
+ errorAutocloseDays: z.ZodInt;
10813
+ errorTicketMinOccurrences: z.ZodInt;
9898
10814
  stripeSubscriptionId: z.ZodNullable<z.ZodString>;
9899
10815
  scheduledInterval: z.ZodNullable<z.ZodEnum<{
9900
10816
  monthly: "monthly";
@@ -9998,6 +10914,8 @@ declare const zGetProjectResponse: z.ZodObject<{
9998
10914
  moduleUser: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
9999
10915
  moduleEvents: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
10000
10916
  allowPublicTickets: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
10917
+ errorAutocloseDays: z.ZodInt;
10918
+ errorTicketMinOccurrences: z.ZodInt;
10001
10919
  stripeSubscriptionId: z.ZodNullable<z.ZodString>;
10002
10920
  scheduledInterval: z.ZodNullable<z.ZodEnum<{
10003
10921
  monthly: "monthly";
@@ -10057,6 +10975,8 @@ declare const zUpdateProjectBody: z.ZodObject<{
10057
10975
  msprtTauMeiFactor: z.ZodOptional<z.ZodNumber>;
10058
10976
  msprtTauSdFactor: z.ZodOptional<z.ZodNumber>;
10059
10977
  srmThreshold: z.ZodOptional<z.ZodNumber>;
10978
+ errorAutocloseDays: z.ZodOptional<z.ZodInt>;
10979
+ errorTicketMinOccurrences: z.ZodOptional<z.ZodInt>;
10060
10980
  }, z.core.$strip>;
10061
10981
  declare const zUpdateProjectHeaders: z.ZodObject<{
10062
10982
  'X-Project-Id': z.ZodOptional<z.ZodString>;
@@ -10128,6 +11048,8 @@ declare const zUpdateProjectResponse: z.ZodObject<{
10128
11048
  moduleUser: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
10129
11049
  moduleEvents: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
10130
11050
  allowPublicTickets: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
11051
+ errorAutocloseDays: z.ZodInt;
11052
+ errorTicketMinOccurrences: z.ZodInt;
10131
11053
  stripeSubscriptionId: z.ZodNullable<z.ZodString>;
10132
11054
  scheduledInterval: z.ZodNullable<z.ZodEnum<{
10133
11055
  monthly: "monthly";
@@ -10177,7 +11099,7 @@ declare const zListI18nKeysQuery: z.ZodObject<{
10177
11099
  profile_id: z.ZodOptional<z.ZodString>;
10178
11100
  prefix: z.ZodOptional<z.ZodString>;
10179
11101
  q: z.ZodOptional<z.ZodString>;
10180
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
11102
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
10181
11103
  offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
10182
11104
  }, z.core.$strip>;
10183
11105
  /**
@@ -10829,7 +11751,13 @@ declare const zCreateConnectorBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
10829
11751
  config: z.ZodObject<{
10830
11752
  repoUrl: z.ZodURL;
10831
11753
  startingRef: z.ZodOptional<z.ZodString>;
11754
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
11755
+ url: z.ZodURL;
11756
+ startingRef: z.ZodOptional<z.ZodString>;
11757
+ }, z.core.$strip>>>;
10832
11758
  projectId: z.ZodString;
11759
+ agentId: z.ZodOptional<z.ZodString>;
11760
+ fireText: z.ZodOptional<z.ZodString>;
10833
11761
  }, z.core.$strip>;
10834
11762
  apiKey: z.ZodString;
10835
11763
  opsKey: z.ZodString;
@@ -10845,7 +11773,13 @@ declare const zCreateConnectorBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
10845
11773
  owner: z.ZodString;
10846
11774
  repo: z.ZodString;
10847
11775
  baseRef: z.ZodOptional<z.ZodString>;
11776
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
11777
+ owner: z.ZodString;
11778
+ repo: z.ZodString;
11779
+ baseRef: z.ZodOptional<z.ZodString>;
11780
+ }, z.core.$strip>>>;
10848
11781
  projectId: z.ZodString;
11782
+ fireText: z.ZodOptional<z.ZodString>;
10849
11783
  }, z.core.$strip>;
10850
11784
  token: z.ZodString;
10851
11785
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -10860,6 +11794,7 @@ declare const zCreateConnectorBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
10860
11794
  source: z.ZodString;
10861
11795
  startingBranch: z.ZodOptional<z.ZodString>;
10862
11796
  projectId: z.ZodString;
11797
+ fireText: z.ZodOptional<z.ZodString>;
10863
11798
  }, z.core.$strip>;
10864
11799
  apiKey: z.ZodString;
10865
11800
  opsKey: z.ZodString;
@@ -10985,7 +11920,13 @@ declare const zUpdateTriggerConnectorBody: z.ZodDiscriminatedUnion<[z.ZodObject<
10985
11920
  config: z.ZodObject<{
10986
11921
  repoUrl: z.ZodURL;
10987
11922
  startingRef: z.ZodOptional<z.ZodString>;
11923
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
11924
+ url: z.ZodURL;
11925
+ startingRef: z.ZodOptional<z.ZodString>;
11926
+ }, z.core.$strip>>>;
10988
11927
  projectId: z.ZodString;
11928
+ agentId: z.ZodOptional<z.ZodString>;
11929
+ fireText: z.ZodOptional<z.ZodString>;
10989
11930
  }, z.core.$strip>;
10990
11931
  apiKey: z.ZodOptional<z.ZodString>;
10991
11932
  opsKey: z.ZodOptional<z.ZodString>;
@@ -10996,7 +11937,13 @@ declare const zUpdateTriggerConnectorBody: z.ZodDiscriminatedUnion<[z.ZodObject<
10996
11937
  owner: z.ZodString;
10997
11938
  repo: z.ZodString;
10998
11939
  baseRef: z.ZodOptional<z.ZodString>;
11940
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
11941
+ owner: z.ZodString;
11942
+ repo: z.ZodString;
11943
+ baseRef: z.ZodOptional<z.ZodString>;
11944
+ }, z.core.$strip>>>;
10999
11945
  projectId: z.ZodString;
11946
+ fireText: z.ZodOptional<z.ZodString>;
11000
11947
  }, z.core.$strip>;
11001
11948
  token: z.ZodOptional<z.ZodString>;
11002
11949
  provider: z.ZodLiteral<"copilot_trigger">;
@@ -11006,6 +11953,7 @@ declare const zUpdateTriggerConnectorBody: z.ZodDiscriminatedUnion<[z.ZodObject<
11006
11953
  source: z.ZodString;
11007
11954
  startingBranch: z.ZodOptional<z.ZodString>;
11008
11955
  projectId: z.ZodString;
11956
+ fireText: z.ZodOptional<z.ZodString>;
11009
11957
  }, z.core.$strip>;
11010
11958
  apiKey: z.ZodOptional<z.ZodString>;
11011
11959
  opsKey: z.ZodOptional<z.ZodString>;
@@ -11045,7 +11993,13 @@ declare const zCreateTriggerConnectorBody: z.ZodDiscriminatedUnion<[z.ZodObject<
11045
11993
  config: z.ZodObject<{
11046
11994
  repoUrl: z.ZodURL;
11047
11995
  startingRef: z.ZodOptional<z.ZodString>;
11996
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
11997
+ url: z.ZodURL;
11998
+ startingRef: z.ZodOptional<z.ZodString>;
11999
+ }, z.core.$strip>>>;
11048
12000
  projectId: z.ZodString;
12001
+ agentId: z.ZodOptional<z.ZodString>;
12002
+ fireText: z.ZodOptional<z.ZodString>;
11049
12003
  }, z.core.$strip>;
11050
12004
  apiKey: z.ZodString;
11051
12005
  opsKey: z.ZodString;
@@ -11061,7 +12015,13 @@ declare const zCreateTriggerConnectorBody: z.ZodDiscriminatedUnion<[z.ZodObject<
11061
12015
  owner: z.ZodString;
11062
12016
  repo: z.ZodString;
11063
12017
  baseRef: z.ZodOptional<z.ZodString>;
12018
+ repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
12019
+ owner: z.ZodString;
12020
+ repo: z.ZodString;
12021
+ baseRef: z.ZodOptional<z.ZodString>;
12022
+ }, z.core.$strip>>>;
11064
12023
  projectId: z.ZodString;
12024
+ fireText: z.ZodOptional<z.ZodString>;
11065
12025
  }, z.core.$strip>;
11066
12026
  token: z.ZodString;
11067
12027
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -11076,6 +12036,7 @@ declare const zCreateTriggerConnectorBody: z.ZodDiscriminatedUnion<[z.ZodObject<
11076
12036
  source: z.ZodString;
11077
12037
  startingBranch: z.ZodOptional<z.ZodString>;
11078
12038
  projectId: z.ZodString;
12039
+ fireText: z.ZodOptional<z.ZodString>;
11079
12040
  }, z.core.$strip>;
11080
12041
  apiKey: z.ZodString;
11081
12042
  opsKey: z.ZodString;
@@ -11121,6 +12082,7 @@ declare const zListKeysResponse2: z.ZodObject<{
11121
12082
  expires_at: z.ZodNullable<z.ZodString>;
11122
12083
  created_by_email: z.ZodNullable<z.ZodString>;
11123
12084
  name: z.ZodNullable<z.ZodString>;
12085
+ description: z.ZodNullable<z.ZodString>;
11124
12086
  scopes: z.ZodNullable<z.ZodArray<z.ZodString>>;
11125
12087
  last4: z.ZodNullable<z.ZodString>;
11126
12088
  }, z.core.$strip>>;
@@ -11171,6 +12133,41 @@ declare const zCreateKeyResponse2: z.ZodObject<{
11171
12133
  key: z.ZodString;
11172
12134
  expires_at: z.ZodNullable<z.ZodString>;
11173
12135
  }, z.core.$strip>;
12136
+ declare const zUpdateKeyBody: z.ZodObject<{
12137
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12138
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12139
+ }, z.core.$strip>;
12140
+ declare const zUpdateKeyHeaders: z.ZodObject<{
12141
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
12142
+ }, z.core.$strip>;
12143
+ declare const zUpdateKeyPath: z.ZodObject<{
12144
+ id: z.ZodString;
12145
+ }, z.core.$strip>;
12146
+ /**
12147
+ * Update an API key's label
12148
+ */
12149
+ declare const zUpdateKeyResponse: z.ZodObject<{
12150
+ id: z.ZodString;
12151
+ type: z.ZodEnum<{
12152
+ server: "server";
12153
+ client: "client";
12154
+ admin: "admin";
12155
+ ops: "ops";
12156
+ }>;
12157
+ env: z.ZodEnum<{
12158
+ dev: "dev";
12159
+ staging: "staging";
12160
+ prod: "prod";
12161
+ }>;
12162
+ created_at: z.ZodString;
12163
+ revoked_at: z.ZodNullable<z.ZodString>;
12164
+ expires_at: z.ZodNullable<z.ZodString>;
12165
+ created_by_email: z.ZodNullable<z.ZodString>;
12166
+ name: z.ZodNullable<z.ZodString>;
12167
+ description: z.ZodNullable<z.ZodString>;
12168
+ scopes: z.ZodNullable<z.ZodArray<z.ZodString>>;
12169
+ last4: z.ZodNullable<z.ZodString>;
12170
+ }, z.core.$strip>;
11174
12171
  declare const zRevokeKeyHeaders: z.ZodObject<{
11175
12172
  'X-Project-Id': z.ZodOptional<z.ZodString>;
11176
12173
  }, z.core.$strip>;
@@ -11209,5 +12206,124 @@ declare const zSearchResourcesResponse: z.ZodObject<{
11209
12206
  href: z.ZodString;
11210
12207
  }, z.core.$strip>>;
11211
12208
  }, z.core.$strip>;
12209
+ declare const zListTagsHeaders: z.ZodObject<{
12210
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
12211
+ }, z.core.$strip>;
12212
+ declare const zListTagsQuery: z.ZodObject<{
12213
+ q: z.ZodOptional<z.ZodString>;
12214
+ }, z.core.$strip>;
12215
+ /**
12216
+ * List the project's tags
12217
+ */
12218
+ declare const zListTagsResponse2: z.ZodArray<z.ZodObject<{
12219
+ id: z.ZodString;
12220
+ name: z.ZodString;
12221
+ }, z.core.$strip>>;
12222
+ declare const zGetEntityTagsHeaders: z.ZodObject<{
12223
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
12224
+ }, z.core.$strip>;
12225
+ declare const zGetEntityTagsPath: z.ZodObject<{
12226
+ entityType: z.ZodEnum<{
12227
+ error: "error";
12228
+ metric: "metric";
12229
+ experiment: "experiment";
12230
+ alert_rule: "alert_rule";
12231
+ ops: "ops";
12232
+ config: "config";
12233
+ killswitch: "killswitch";
12234
+ flag: "flag";
12235
+ }>;
12236
+ entityId: z.ZodString;
12237
+ }, z.core.$strip>;
12238
+ /**
12239
+ * Read an item's tags
12240
+ */
12241
+ declare const zGetEntityTagsResponse: z.ZodObject<{
12242
+ entityType: z.ZodEnum<{
12243
+ error: "error";
12244
+ metric: "metric";
12245
+ experiment: "experiment";
12246
+ alert_rule: "alert_rule";
12247
+ ops: "ops";
12248
+ config: "config";
12249
+ killswitch: "killswitch";
12250
+ flag: "flag";
12251
+ }>;
12252
+ entityId: z.ZodString;
12253
+ tags: z.ZodArray<z.ZodString>;
12254
+ }, z.core.$strip>;
12255
+ declare const zUpdateEntityTagsBody: z.ZodObject<{
12256
+ add: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
12257
+ remove: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
12258
+ }, z.core.$strip>;
12259
+ declare const zUpdateEntityTagsHeaders: z.ZodObject<{
12260
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
12261
+ }, z.core.$strip>;
12262
+ declare const zUpdateEntityTagsPath: z.ZodObject<{
12263
+ entityType: z.ZodEnum<{
12264
+ error: "error";
12265
+ metric: "metric";
12266
+ experiment: "experiment";
12267
+ alert_rule: "alert_rule";
12268
+ ops: "ops";
12269
+ config: "config";
12270
+ killswitch: "killswitch";
12271
+ flag: "flag";
12272
+ }>;
12273
+ entityId: z.ZodString;
12274
+ }, z.core.$strip>;
12275
+ /**
12276
+ * Add or remove tags on an item
12277
+ */
12278
+ declare const zUpdateEntityTagsResponse: z.ZodObject<{
12279
+ entityType: z.ZodEnum<{
12280
+ error: "error";
12281
+ metric: "metric";
12282
+ experiment: "experiment";
12283
+ alert_rule: "alert_rule";
12284
+ ops: "ops";
12285
+ config: "config";
12286
+ killswitch: "killswitch";
12287
+ flag: "flag";
12288
+ }>;
12289
+ entityId: z.ZodString;
12290
+ tags: z.ZodArray<z.ZodString>;
12291
+ }, z.core.$strip>;
12292
+ declare const zSetEntityTagsBody: z.ZodObject<{
12293
+ tags: z.ZodArray<z.ZodString>;
12294
+ }, z.core.$strip>;
12295
+ declare const zSetEntityTagsHeaders: z.ZodObject<{
12296
+ 'X-Project-Id': z.ZodOptional<z.ZodString>;
12297
+ }, z.core.$strip>;
12298
+ declare const zSetEntityTagsPath: z.ZodObject<{
12299
+ entityType: z.ZodEnum<{
12300
+ error: "error";
12301
+ metric: "metric";
12302
+ experiment: "experiment";
12303
+ alert_rule: "alert_rule";
12304
+ ops: "ops";
12305
+ config: "config";
12306
+ killswitch: "killswitch";
12307
+ flag: "flag";
12308
+ }>;
12309
+ entityId: z.ZodString;
12310
+ }, z.core.$strip>;
12311
+ /**
12312
+ * Replace an item's tags
12313
+ */
12314
+ declare const zSetEntityTagsResponse: z.ZodObject<{
12315
+ entityType: z.ZodEnum<{
12316
+ error: "error";
12317
+ metric: "metric";
12318
+ experiment: "experiment";
12319
+ alert_rule: "alert_rule";
12320
+ ops: "ops";
12321
+ config: "config";
12322
+ killswitch: "killswitch";
12323
+ flag: "flag";
12324
+ }>;
12325
+ entityId: z.ZodString;
12326
+ tags: z.ZodArray<z.ZodString>;
12327
+ }, z.core.$strip>;
11212
12328
 
11213
- export { zAckOpsItemBody, zAckOpsItemHeaders, zAckOpsItemPath, zAckOpsItemRequest, zAckOpsItemResponse, zAckOpsItemResponse2, zAlertApiRow, zApproveEventBody, zApproveEventHeaders, zApproveEventPath, zApproveEventRequest, zApproveEventResponse, zApproveEventResponse2, zAttributeType, zClaudeTriggerConfig, zConfigName, zConnectorData, zConnectorEvent, zConnectorProvider, zConnectorRecord, zCopilotTriggerConfig, zCreateAlertRuleBody, zCreateAlertRuleHeaders, zCreateAlertRuleRequest, zCreateAlertRuleResponse, zCreateAlertRuleResponse2, zCreateAttributeBody, zCreateAttributeHeaders, zCreateAttributeRequest, zCreateAttributeResponse, zCreateAttributeResponse2, zCreateBugRequest, zCreateClaudeTriggerRequest, zCreateConfigBody, zCreateConfigHeaders, zCreateConfigRequest, zCreateConfigResponse, zCreateConfigResponse2, zCreateConnectorBody, zCreateConnectorHeaders, zCreateConnectorRequest, zCreateConnectorResponse, zCreateConnectorResponse2, zCreateCopilotTriggerRequest, zCreateCursorTriggerRequest, zCreateEventBody, zCreateEventHeaders, zCreateEventRequest, zCreateEventResponse, zCreateEventResponse2, zCreateExperimentBody, zCreateExperimentHeaders, zCreateExperimentReadoutBody, zCreateExperimentReadoutHeaders, zCreateExperimentReadoutPath, zCreateExperimentReadoutRequest, zCreateExperimentReadoutResponse, zCreateExperimentReadoutResponse2, zCreateExperimentRequest, zCreateExperimentResponse, zCreateExperimentResponse2, zCreateFeatureRequestRequest, zCreateGateBody, zCreateGateHeaders, zCreateGateRequest, zCreateGateResponse, zCreateGateResponse2, zCreateGateTemplateBody, zCreateGateTemplateHeaders, zCreateGateTemplateRequest, zCreateGateTemplateResponse, zCreateGateTemplateResponse2, zCreateI18nDraftBody, zCreateI18nDraftHeaders, zCreateI18nDraftRequest, zCreateI18nDraftResponse, zCreateI18nProfileBody, zCreateI18nProfileHeaders, zCreateI18nProfileRequest, zCreateI18nProfileResponse, zCreateI18nProfileResponse2, zCreateJulesTriggerRequest, zCreateKeyBody, zCreateKeyHeaders, zCreateKeyRequest, zCreateKeyResponse, zCreateKeyResponse2, zCreateKillswitchBody, zCreateKillswitchHeaders, zCreateKillswitchRequest, zCreateKillswitchResponse, zCreateKillswitchResponse2, zCreateMetricBody, zCreateMetricHeaders, zCreateMetricRequest, zCreateMetricResponse, zCreateMetricResponse2, zCreateMetricWithQuery, zCreateMetricWithQueryIr, zCreateOAuthConnectorRequest, zCreateOpsCommentBody, zCreateOpsCommentHeaders, zCreateOpsCommentPath, zCreateOpsCommentRequest, zCreateOpsCommentResponse, zCreateOpsCommentResponse2, zCreateOpsInvestigationBody, zCreateOpsInvestigationHeaders, zCreateOpsInvestigationPath, zCreateOpsInvestigationRequest, zCreateOpsInvestigationResponse, zCreateOpsItemBody, zCreateOpsItemHeaders, zCreateOpsItemRequest, zCreateOpsItemResponse, zCreateOpsItemResponse2, zCreateTriggerConnectorBody, zCreateTriggerConnectorHeaders, zCreateTriggerConnectorRequest, zCreateTriggerConnectorResponse, zCreateUniverseBody, zCreateUniverseHeaders, zCreateUniverseRequest, zCreateUniverseResponse, zCreateUniverseResponse2, zCursorTriggerConfig, zDeleteAlertRuleHeaders, zDeleteAlertRulePath, zDeleteAlertRuleResponse, zDeleteAlertRuleResponse2, zDeleteAttributeHeaders, zDeleteAttributePath, zDeleteAttributeResponse, zDeleteAttributeResponse2, zDeleteConfigHeaders, zDeleteConfigPath, zDeleteConfigResponse, zDeleteConfigResponse2, zDeleteConnectorHeaders, zDeleteConnectorPath, zDeleteConnectorResponse, zDeleteConnectorResponse2, zDeleteEventHeaders, zDeleteEventPath, zDeleteEventResponse, zDeleteEventResponse2, zDeleteExperimentHeaders, zDeleteExperimentPath, zDeleteExperimentResponse, zDeleteExperimentResponse2, zDeleteGateHeaders, zDeleteGatePath, zDeleteGateResponse, zDeleteGateResponse2, zDeleteGateTemplateHeaders, zDeleteGateTemplatePath, zDeleteGateTemplateResponse, zDeleteGateTemplateResponse2, zDeleteI18nDraftHeaders, zDeleteI18nDraftPath, zDeleteI18nDraftResponse, zDeleteI18nKeyHeaders, zDeleteI18nKeyPath, zDeleteI18nKeyResponse, zDeleteI18nProfileHeaders, zDeleteI18nProfilePath, zDeleteI18nProfileResponse, zDeleteKillswitchHeaders, zDeleteKillswitchPath, zDeleteKillswitchResponse, zDeleteKillswitchResponse2, zDeleteMetricHeaders, zDeleteMetricPath, zDeleteMetricResponse, zDeleteMetricResponse2, zDeleteOpsItemHeaders, zDeleteOpsItemPath, zDeleteOpsItemResponse, zDeleteOpsItemResponse2, zDeleteUniverseHeaders, zDeleteUniversePath, zDeleteUniverseResponse, zDeleteUniverseResponse2, zDisableGateHeaders, zDisableGatePath, zDisableGateResponse, zDisableGateResponse2, zDiscardConfigDraftBody, zDiscardConfigDraftHeaders, zDiscardConfigDraftPath, zDiscardConfigDraftRequest, zDiscardConfigDraftResponse, zDiscardConfigDraftResponse2, zDomain, zEnableGateHeaders, zEnableGatePath, zEnableGateResponse, zEnableGateResponse2, zEnv, zError, zErrorCode, zErrorOccurrence, zErrorRecord, zErrorSeriesRequest, zErrorSeriesResponse, zExperimentApiRow, zExperimentInlineMetric, zExperimentReadoutApiRow, zExperimentReadoutCaveat, zExperimentReadoutMetric, zExperimentResultRow, zFileErrorTicketHeaders, zFileErrorTicketPath, zFileErrorTicketResponse, zFileErrorTicketResponse2, zFireConnectorBody, zFireConnectorHeaders, zFireConnectorPath, zFireConnectorRequest, zFireConnectorResponse, zFireConnectorResponse2, zFolder, zGateApiRow, zGateTemplate, zGateTemplateRule, zGateTemplateRuleResponse, zGetAttributeHeaders, zGetAttributePath, zGetAttributeResponse, zGetAttributeResponse2, zGetConfigHeaders, zGetConfigPath, zGetConfigResponse, zGetConfigResponse2, zGetConnectorHeaders, zGetConnectorPath, zGetConnectorResponse, zGetCurrentProjectHeaders, zGetCurrentProjectResponse, zGetCurrentProjectResponse2, zGetErrorHeaders, zGetErrorPath, zGetErrorResponse, zGetErrorSeriesBody, zGetErrorSeriesHeaders, zGetErrorSeriesPath, zGetErrorSeriesResponse, zGetEventHeaders, zGetEventPath, zGetEventResponse, zGetEventResponse2, zGetExperimentHeaders, zGetExperimentPath, zGetExperimentReadoutHeaders, zGetExperimentReadoutPath, zGetExperimentReadoutResponse, zGetExperimentResponse, zGetExperimentResultsHeaders, zGetExperimentResultsPath, zGetExperimentResultsResponse, zGetExperimentResultsResponse2, zGetExperimentTimeseriesHeaders, zGetExperimentTimeseriesPath, zGetExperimentTimeseriesQuery, zGetExperimentTimeseriesResponse, zGetExperimentTimeseriesResponse2, zGetGateHeaders, zGetGatePath, zGetGateResponse, zGetGateTemplateHeaders, zGetGateTemplatePath, zGetGateTemplateResponse, zGetKillswitchHeaders, zGetKillswitchPath, zGetKillswitchResponse, zGetKillswitchResponse2, zGetMetricHeaders, zGetMetricPath, zGetMetricResponse, zGetMetricResponse2, zGetMetricSeriesBody, zGetMetricSeriesHeaders, zGetMetricSeriesPath, zGetMetricSeriesRequest, zGetMetricSeriesResponse, zGetMetricSeriesResponse2, zGetOpsItemHeaders, zGetOpsItemPath, zGetOpsItemResponse, zGetOpsItemResponse2, zGetProjectHeaders, zGetProjectPath, zGetProjectResponse, zGithubConnectorData, zGithubPrLink, zI18nDraft, zJulesTriggerConfig, zKeyRecord, zKillswitchValue, zLinkPrToOpsItemBody, zLinkPrToOpsItemHeaders, zLinkPrToOpsItemPath, zLinkPrToOpsItemRequest, zLinkPrToOpsItemResponse, zLinkPrToOpsItemResponse2, zListAlertRulesHeaders, zListAlertRulesQuery, zListAlertRulesResponse, zListAlertRulesResponse2, zListAlertsHeaders, zListAlertsQuery, zListAlertsResponse, zListAlertsResponse2, zListAttributesHeaders, zListAttributesQuery, zListAttributesResponse, zListAttributesResponse2, zListConfigActivityHeaders, zListConfigActivityPath, zListConfigActivityQuery, zListConfigActivityResponse, zListConfigActivityResponse2, zListConfigVersionsHeaders, zListConfigVersionsPath, zListConfigVersionsQuery, zListConfigVersionsResponse, zListConfigVersionsResponse2, zListConfigsHeaders, zListConfigsQuery, zListConfigsResponse, zListConfigsResponse2, zListConnectorsHeaders, zListConnectorsQuery, zListConnectorsResponse, zListConnectorsResponse2, zListErrorsHeaders, zListErrorsQuery, zListErrorsResponse, zListErrorsResponse2, zListEventsHeaders, zListEventsQuery, zListEventsResponse, zListEventsResponse2, zListExperimentsHeaders, zListExperimentsQuery, zListExperimentsResponse, zListExperimentsResponse2, zListGateActivityHeaders, zListGateActivityPath, zListGateActivityQuery, zListGateActivityResponse, zListGateActivityResponse2, zListGateTemplatesHeaders, zListGateTemplatesQuery, zListGateTemplatesResponse, zListGateTemplatesResponse2, zListGatesHeaders, zListGatesQuery, zListGatesResponse, zListGatesResponse2, zListI18nDraftKeysHeaders, zListI18nDraftKeysPath, zListI18nDraftKeysResponse, zListI18nDraftKeysResponse2, zListI18nDraftsHeaders, zListI18nDraftsResponse, zListI18nDraftsResponse2, zListI18nKeysHeaders, zListI18nKeysQuery, zListI18nKeysResponse, zListI18nKeysResponse2, zListI18nProfilesHeaders, zListI18nProfilesResponse, zListI18nProfilesResponse2, zListKeysHeaders, zListKeysQuery, zListKeysResponse, zListKeysResponse2, zListKillswitchesHeaders, zListKillswitchesQuery, zListKillswitchesResponse, zListKillswitchesResponse2, zListMetricExperimentsHeaders, zListMetricExperimentsPath, zListMetricExperimentsResponse, zListMetricExperimentsResponse2, zListMetricsHeaders, zListMetricsQuery, zListMetricsResponse, zListMetricsResponse2, zListOpsAgentsHeaders, zListOpsAgentsResponse, zListOpsAgentsResponse2, zListOpsCommentsHeaders, zListOpsCommentsPath, zListOpsCommentsResponse, zListOpsCommentsResponse2, zListOpsInvestigationsHeaders, zListOpsInvestigationsPath, zListOpsInvestigationsResponse, zListOpsInvestigationsResponse2, zListOpsItemsHeaders, zListOpsItemsQuery, zListOpsItemsResponse, zListOpsItemsResponse2, zListSlackChannelsHeaders, zListSlackChannelsResponse, zListSlackChannelsResponse2, zListUniversesHeaders, zListUniversesQuery, zListUniversesResponse, zListUniversesResponse2, zMeasurePlanResource, zMeasurePlanStep, zMetricDefaultMinEffectOfInterest, zMetricDirection, zMetricDisplayUnit, zMetricEventName, zMetricName, zMetricQueryDsl, zMetricWinsorizePct, zNotificationTarget, zNotifyOpsBody, zNotifyOpsHeaders, zNotifyOpsRequest, zNotifyOpsResponse, zNotifyOpsResponse2, zOkResponse, zOpsAgentProfile, zOpsAlertContext, zOpsAlertMetricSummary, zOpsAlertRuleSummary, zOpsBrowserContext, zOpsComment, zOpsCommentAuthorType, zOpsErrorContext, zOpsInvestigation, zOpsInvestigationState, zOpsItemAttachment, zOpsItemContext, zOpsItemNotifyOrNull, zOpsItemOwner, zOpsItemPriority, zOpsItemPriorityOrNull, zOpsItemRelated, zOpsItemStatus, zOpsMeasurePlanContext, zOpsRun, zOpsRunAction, zOpsRunActionOrNull, zPaginationCursor, zPaginationLimit, zProjectId, zPublishConfigDraftBody, zPublishConfigDraftHeaders, zPublishConfigDraftPath, zPublishConfigDraftRequest, zPublishConfigDraftResponse, zPublishConfigDraftResponse2, zPublishI18nProfileBody, zPublishI18nProfileHeaders, zPublishI18nProfilePath, zPublishI18nProfileRequest, zPublishI18nProfileResponse, zPublishI18nProfileResponse2, zPushI18nKeysBody, zPushI18nKeysHeaders, zPushI18nKeysRequest, zPushI18nKeysResponse, zPushI18nKeysResponse2, zQ, zQueryIr, zReanalyzeExperimentHeaders, zReanalyzeExperimentPath, zReanalyzeExperimentResponse, zReanalyzeExperimentResponse2, zResolveErrorHeaders, zResolveErrorPath, zResolveErrorResponse, zResourceId, zRevokeKeyHeaders, zRevokeKeyPath, zRevokeKeyResponse, zRevokeKeyResponse2, zSaveConfigDraftBody, zSaveConfigDraftHeaders, zSaveConfigDraftPath, zSaveConfigDraftRequest, zSaveConfigDraftResponse, zSaveConfigDraftResponse2, zSearchHit, zSearchResourcesHeaders, zSearchResourcesQuery, zSearchResourcesResponse, zSearchResponse, zSetExperimentMetricsBody, zSetExperimentMetricsHeaders, zSetExperimentMetricsPath, zSetExperimentMetricsRequest, zSetExperimentMetricsResponse, zSetExperimentMetricsResponse2, zSetExperimentStatusBody, zSetExperimentStatusHeaders, zSetExperimentStatusPath, zSetExperimentStatusRequest, zSetExperimentStatusResponse, zSetExperimentStatusResponse2, zSetI18nLabelBody, zSetI18nLabelHeaders, zSetI18nLabelRequest, zSetI18nLabelResponse, zSetI18nLabelResponse2, zSetKillswitchSwitchBody, zSetKillswitchSwitchHeaders, zSetKillswitchSwitchPath, zSetKillswitchSwitchRequest, zSetKillswitchSwitchResponse, zSetKillswitchSwitchResponse2, zSetKillswitchValueBody, zSetKillswitchValueHeaders, zSetKillswitchValuePath, zSetKillswitchValueRequest, zSetKillswitchValueResponse, zSetKillswitchValueResponse2, zSlackConnectorData, zTestConnectorHeaders, zTestConnectorPath, zTestConnectorResponse, zTestConnectorResponse2, zUnarchiveMetricHeaders, zUnarchiveMetricPath, zUnarchiveMetricResponse, zUnarchiveMetricResponse2, zUniverseParam, zUniverseParamSchema, zUnsetKillswitchSwitchBody, zUnsetKillswitchSwitchHeaders, zUnsetKillswitchSwitchPath, zUnsetKillswitchSwitchRequest, zUnsetKillswitchSwitchResponse, zUnsetKillswitchSwitchResponse2, zUpdateAlertBody, zUpdateAlertHeaders, zUpdateAlertPath, zUpdateAlertRequest, zUpdateAlertResponse, zUpdateAlertRuleBody, zUpdateAlertRuleHeaders, zUpdateAlertRulePath, zUpdateAlertRuleRequest, zUpdateAlertRuleResponse, zUpdateAlertRuleResponse2, zUpdateAttributeBody, zUpdateAttributeHeaders, zUpdateAttributePath, zUpdateAttributeRequest, zUpdateAttributeResponse, zUpdateAttributeResponse2, zUpdateBugRequest, zUpdateClaudeTriggerRequest, zUpdateConfigBody, zUpdateConfigHeaders, zUpdateConfigPath, zUpdateConfigRequest, zUpdateConfigResponse, zUpdateConfigResponse2, zUpdateConfigSchemaBody, zUpdateConfigSchemaHeaders, zUpdateConfigSchemaPath, zUpdateConfigSchemaRequest, zUpdateConfigSchemaResponse, zUpdateConfigSchemaResponse2, zUpdateConnectorBody, zUpdateConnectorHeaders, zUpdateConnectorPath, zUpdateConnectorRequest, zUpdateConnectorResponse, zUpdateConnectorResponse2, zUpdateCopilotTriggerRequest, zUpdateCursorTriggerRequest, zUpdateErrorStatusBody, zUpdateErrorStatusHeaders, zUpdateErrorStatusPath, zUpdateErrorStatusRequest, zUpdateErrorStatusResponse, zUpdateEventBody, zUpdateEventHeaders, zUpdateEventPath, zUpdateEventRequest, zUpdateEventResponse, zUpdateEventResponse2, zUpdateExperimentBody, zUpdateExperimentHeaders, zUpdateExperimentPath, zUpdateExperimentRequest, zUpdateExperimentResponse, zUpdateExperimentResponse2, zUpdateFeatureRequestRequest, zUpdateGateBody, zUpdateGateHeaders, zUpdateGatePath, zUpdateGateRequest, zUpdateGateResponse, zUpdateGateResponse2, zUpdateGateTemplateBody, zUpdateGateTemplateHeaders, zUpdateGateTemplatePath, zUpdateGateTemplateRequest, zUpdateGateTemplateResponse, zUpdateGateTemplateResponse2, zUpdateI18nDraftBody, zUpdateI18nDraftHeaders, zUpdateI18nDraftPath, zUpdateI18nDraftRequest, zUpdateI18nDraftResponse, zUpdateI18nKeyBody, zUpdateI18nKeyHeaders, zUpdateI18nKeyPath, zUpdateI18nKeyRequest, zUpdateI18nKeyResponse, zUpdateI18nKeyResponse2, zUpdateJulesTriggerRequest, zUpdateKillswitchBody, zUpdateKillswitchHeaders, zUpdateKillswitchPath, zUpdateKillswitchRequest, zUpdateKillswitchResponse, zUpdateKillswitchResponse2, zUpdateMetricBody, zUpdateMetricFields, zUpdateMetricHeaders, zUpdateMetricPath, zUpdateMetricRequest, zUpdateMetricResponse, zUpdateMetricWithQuery, zUpdateMetricWithQueryIr, zUpdateOpsInvestigationBody, zUpdateOpsInvestigationHeaders, zUpdateOpsInvestigationPath, zUpdateOpsInvestigationRequest, zUpdateOpsInvestigationResponse, zUpdateOpsItemBody, zUpdateOpsItemHeaders, zUpdateOpsItemPath, zUpdateOpsItemRequest, zUpdateOpsItemResponse, zUpdateOpsItemResponse2, zUpdateOpsItemStatusRequest, zUpdateProjectBody, zUpdateProjectHeaders, zUpdateProjectPath, zUpdateProjectRequest, zUpdateProjectResponse, zUpdateTriggerConnectorBody, zUpdateTriggerConnectorHeaders, zUpdateTriggerConnectorPath, zUpdateTriggerConnectorRequest, zUpdateTriggerConnectorResponse, zUpdateUniverseBody, zUpdateUniverseHeaders, zUpdateUniversePath, zUpdateUniverseRequest, zUpdateUniverseResponse, zUpdateUniverseResponse2, zUpsertI18nDraftKeyBody, zUpsertI18nDraftKeyHeaders, zUpsertI18nDraftKeyPath, zUpsertI18nDraftKeyRequest, zUpsertI18nDraftKeyResponse, zUpsertI18nKeysBody, zUpsertI18nKeysHeaders, zUpsertI18nKeysRequest, zUpsertI18nKeysResponse, zUpsertI18nKeysResponse2, zUpsertProjectBody, zUpsertProjectHeaders, zUpsertProjectRequest, zUpsertProjectResponse, zUpsertProjectResponse2 };
12329
+ export { zAckOpsItemBody, zAckOpsItemHeaders, zAckOpsItemPath, zAckOpsItemRequest, zAckOpsItemResponse, zAckOpsItemResponse2, zAddToGateWhitelistBody, zAddToGateWhitelistHeaders, zAddToGateWhitelistPath, zAddToGateWhitelistRequest, zAddToGateWhitelistResponse, zAlertApiRow, zAlertCompositeSpec, zAnswerOpsQuestionBody, zAnswerOpsQuestionHeaders, zAnswerOpsQuestionPath, zAnswerOpsQuestionRequest, zAnswerOpsQuestionResponse, zApproveEventBody, zApproveEventHeaders, zApproveEventPath, zApproveEventRequest, zApproveEventResponse, zApproveEventResponse2, zAskOpsQuestionInput, zAskOpsQuestionsBody, zAskOpsQuestionsHeaders, zAskOpsQuestionsPath, zAskOpsQuestionsRequest, zAskOpsQuestionsResponse, zAskOpsQuestionsResponse2, zAttributeType, zCancelOpsQuestionHeaders, zCancelOpsQuestionPath, zCancelOpsQuestionResponse, zClaudeTriggerConfig, zConfigName, zConnectorData, zConnectorEvent, zConnectorProvider, zConnectorRecord, zCopilotTriggerConfig, zCopilotTriggerRepo, zCreateAlertRuleBody, zCreateAlertRuleHeaders, zCreateAlertRuleRequest, zCreateAlertRuleResponse, zCreateAlertRuleResponse2, zCreateAttributeBody, zCreateAttributeHeaders, zCreateAttributeRequest, zCreateAttributeResponse, zCreateAttributeResponse2, zCreateBugRequest, zCreateClaudeTriggerRequest, zCreateConfigBody, zCreateConfigHeaders, zCreateConfigRequest, zCreateConfigResponse, zCreateConfigResponse2, zCreateConnectorBody, zCreateConnectorHeaders, zCreateConnectorRequest, zCreateConnectorResponse, zCreateConnectorResponse2, zCreateCopilotTriggerRequest, zCreateCursorTriggerRequest, zCreateEventBody, zCreateEventHeaders, zCreateEventRequest, zCreateEventResponse, zCreateEventResponse2, zCreateExperimentBody, zCreateExperimentHeaders, zCreateExperimentReadoutBody, zCreateExperimentReadoutHeaders, zCreateExperimentReadoutPath, zCreateExperimentReadoutRequest, zCreateExperimentReadoutResponse, zCreateExperimentReadoutResponse2, zCreateExperimentRequest, zCreateExperimentResponse, zCreateExperimentResponse2, zCreateFeatureRequestRequest, zCreateGateBody, zCreateGateHeaders, zCreateGateRequest, zCreateGateResponse, zCreateGateResponse2, zCreateGateTemplateBody, zCreateGateTemplateHeaders, zCreateGateTemplateRequest, zCreateGateTemplateResponse, zCreateGateTemplateResponse2, zCreateI18nDraftBody, zCreateI18nDraftHeaders, zCreateI18nDraftRequest, zCreateI18nDraftResponse, zCreateI18nProfileBody, zCreateI18nProfileHeaders, zCreateI18nProfileRequest, zCreateI18nProfileResponse, zCreateI18nProfileResponse2, zCreateJulesTriggerRequest, zCreateKeyBody, zCreateKeyHeaders, zCreateKeyRequest, zCreateKeyResponse, zCreateKeyResponse2, zCreateKillswitchBody, zCreateKillswitchHeaders, zCreateKillswitchRequest, zCreateKillswitchResponse, zCreateKillswitchResponse2, zCreateMetricBody, zCreateMetricHeaders, zCreateMetricRequest, zCreateMetricResponse, zCreateMetricResponse2, zCreateMetricWithQuery, zCreateMetricWithQueryIr, zCreateOAuthConnectorRequest, zCreateOpsCommentBody, zCreateOpsCommentHeaders, zCreateOpsCommentPath, zCreateOpsCommentRequest, zCreateOpsCommentResponse, zCreateOpsCommentResponse2, zCreateOpsInvestigationBody, zCreateOpsInvestigationHeaders, zCreateOpsInvestigationPath, zCreateOpsInvestigationRequest, zCreateOpsInvestigationResponse, zCreateOpsItemBody, zCreateOpsItemHeaders, zCreateOpsItemRequest, zCreateOpsItemResponse, zCreateOpsItemResponse2, zCreatePublicBugBody, zCreatePublicBugRequest, zCreatePublicBugResponse, zCreatePublicFeatureRequestBody, zCreatePublicFeatureRequestRequest, zCreatePublicFeatureRequestResponse, zCreatePublicTicketResponse, zCreateTriggerConnectorBody, zCreateTriggerConnectorHeaders, zCreateTriggerConnectorRequest, zCreateTriggerConnectorResponse, zCreateUniverseBody, zCreateUniverseHeaders, zCreateUniverseRequest, zCreateUniverseResponse, zCreateUniverseResponse2, zCursorTriggerConfig, zCursorTriggerRepo, zDeleteAlertRuleHeaders, zDeleteAlertRulePath, zDeleteAlertRuleResponse, zDeleteAlertRuleResponse2, zDeleteAttributeHeaders, zDeleteAttributePath, zDeleteAttributeResponse, zDeleteAttributeResponse2, zDeleteConfigHeaders, zDeleteConfigPath, zDeleteConfigResponse, zDeleteConfigResponse2, zDeleteConnectorHeaders, zDeleteConnectorPath, zDeleteConnectorResponse, zDeleteConnectorResponse2, zDeleteEventHeaders, zDeleteEventPath, zDeleteEventResponse, zDeleteEventResponse2, zDeleteExperimentHeaders, zDeleteExperimentPath, zDeleteExperimentResponse, zDeleteExperimentResponse2, zDeleteGateHeaders, zDeleteGatePath, zDeleteGateResponse, zDeleteGateResponse2, zDeleteGateTemplateHeaders, zDeleteGateTemplatePath, zDeleteGateTemplateResponse, zDeleteGateTemplateResponse2, zDeleteI18nDraftHeaders, zDeleteI18nDraftPath, zDeleteI18nDraftResponse, zDeleteI18nKeyHeaders, zDeleteI18nKeyPath, zDeleteI18nKeyResponse, zDeleteI18nProfileHeaders, zDeleteI18nProfilePath, zDeleteI18nProfileResponse, zDeleteKillswitchHeaders, zDeleteKillswitchPath, zDeleteKillswitchResponse, zDeleteKillswitchResponse2, zDeleteMetricHeaders, zDeleteMetricPath, zDeleteMetricResponse, zDeleteMetricResponse2, zDeleteOpsItemHeaders, zDeleteOpsItemPath, zDeleteOpsItemResponse, zDeleteOpsItemResponse2, zDeleteUniverseHeaders, zDeleteUniversePath, zDeleteUniverseResponse, zDeleteUniverseResponse2, zDisableGateHeaders, zDisableGatePath, zDisableGateResponse, zDisableGateResponse2, zDiscardConfigDraftBody, zDiscardConfigDraftHeaders, zDiscardConfigDraftPath, zDiscardConfigDraftRequest, zDiscardConfigDraftResponse, zDiscardConfigDraftResponse2, zDomain, zEnableGateHeaders, zEnableGatePath, zEnableGateResponse, zEnableGateResponse2, zEntityTagsResponse, zEnv, zError, zErrorCode, zErrorOccurrence, zErrorRecord, zErrorSeriesRequest, zErrorSeriesResponse, zExperimentApiRow, zExperimentInlineMetric, zExperimentReadoutApiRow, zExperimentReadoutCaveat, zExperimentReadoutMetric, zExperimentResultRow, zFileErrorTicketHeaders, zFileErrorTicketPath, zFileErrorTicketResponse, zFileErrorTicketResponse2, zFireConnectorBody, zFireConnectorHeaders, zFireConnectorPath, zFireConnectorRequest, zFireConnectorResponse, zFireConnectorResponse2, zFolder, zGateApiRow, zGateTemplate, zGateTemplateRule, zGateTemplateRuleResponse, zGateWhitelist, zGateWhitelistAttr, zGetAttributeHeaders, zGetAttributePath, zGetAttributeResponse, zGetAttributeResponse2, zGetConfigHeaders, zGetConfigPath, zGetConfigResponse, zGetConfigResponse2, zGetConnectorHeaders, zGetConnectorPath, zGetConnectorResponse, zGetCurrentProjectHeaders, zGetCurrentProjectResponse, zGetCurrentProjectResponse2, zGetEntityTagsHeaders, zGetEntityTagsPath, zGetEntityTagsResponse, zGetErrorHeaders, zGetErrorPath, zGetErrorResponse, zGetErrorSeriesBody, zGetErrorSeriesHeaders, zGetErrorSeriesPath, zGetErrorSeriesResponse, zGetEventHeaders, zGetEventPath, zGetEventResponse, zGetEventResponse2, zGetExperimentHeaders, zGetExperimentPath, zGetExperimentReadoutHeaders, zGetExperimentReadoutPath, zGetExperimentReadoutResponse, zGetExperimentResponse, zGetExperimentResultsHeaders, zGetExperimentResultsPath, zGetExperimentResultsResponse, zGetExperimentResultsResponse2, zGetExperimentTimeseriesHeaders, zGetExperimentTimeseriesPath, zGetExperimentTimeseriesQuery, zGetExperimentTimeseriesResponse, zGetExperimentTimeseriesResponse2, zGetGateHeaders, zGetGatePath, zGetGateResponse, zGetGateTemplateHeaders, zGetGateTemplatePath, zGetGateTemplateResponse, zGetGateWhitelistHeaders, zGetGateWhitelistPath, zGetGateWhitelistResponse, zGetKillswitchHeaders, zGetKillswitchPath, zGetKillswitchResponse, zGetKillswitchResponse2, zGetMetricHeaders, zGetMetricPath, zGetMetricResponse, zGetMetricResponse2, zGetMetricSeriesBody, zGetMetricSeriesHeaders, zGetMetricSeriesPath, zGetMetricSeriesRequest, zGetMetricSeriesResponse, zGetMetricSeriesResponse2, zGetOpsItemHeaders, zGetOpsItemPath, zGetOpsItemResponse, zGetOpsItemResponse2, zGetProjectHeaders, zGetProjectPath, zGetProjectResponse, zGithubConnectorData, zGithubPrLink, zI18nDraft, zJulesTriggerConfig, zKeyRecord, zKillswitchValue, zLinkPrToOpsItemBody, zLinkPrToOpsItemHeaders, zLinkPrToOpsItemPath, zLinkPrToOpsItemRequest, zLinkPrToOpsItemResponse, zLinkPrToOpsItemResponse2, zListAlertRulesHeaders, zListAlertRulesQuery, zListAlertRulesResponse, zListAlertRulesResponse2, zListAlertsHeaders, zListAlertsQuery, zListAlertsResponse, zListAlertsResponse2, zListAttributesHeaders, zListAttributesQuery, zListAttributesResponse, zListAttributesResponse2, zListConfigActivityHeaders, zListConfigActivityPath, zListConfigActivityQuery, zListConfigActivityResponse, zListConfigActivityResponse2, zListConfigVersionsHeaders, zListConfigVersionsPath, zListConfigVersionsQuery, zListConfigVersionsResponse, zListConfigVersionsResponse2, zListConfigsHeaders, zListConfigsQuery, zListConfigsResponse, zListConfigsResponse2, zListConnectorsHeaders, zListConnectorsQuery, zListConnectorsResponse, zListConnectorsResponse2, zListErrorsHeaders, zListErrorsQuery, zListErrorsResponse, zListErrorsResponse2, zListEventsHeaders, zListEventsQuery, zListEventsResponse, zListEventsResponse2, zListExperimentsHeaders, zListExperimentsQuery, zListExperimentsResponse, zListExperimentsResponse2, zListGateActivityHeaders, zListGateActivityPath, zListGateActivityQuery, zListGateActivityResponse, zListGateActivityResponse2, zListGateTemplatesHeaders, zListGateTemplatesQuery, zListGateTemplatesResponse, zListGateTemplatesResponse2, zListGatesHeaders, zListGatesQuery, zListGatesResponse, zListGatesResponse2, zListI18nDraftKeysHeaders, zListI18nDraftKeysPath, zListI18nDraftKeysResponse, zListI18nDraftKeysResponse2, zListI18nDraftsHeaders, zListI18nDraftsResponse, zListI18nDraftsResponse2, zListI18nKeysHeaders, zListI18nKeysQuery, zListI18nKeysResponse, zListI18nKeysResponse2, zListI18nProfilesHeaders, zListI18nProfilesResponse, zListI18nProfilesResponse2, zListKeysHeaders, zListKeysQuery, zListKeysResponse, zListKeysResponse2, zListKillswitchesHeaders, zListKillswitchesQuery, zListKillswitchesResponse, zListKillswitchesResponse2, zListMetricExperimentsHeaders, zListMetricExperimentsPath, zListMetricExperimentsResponse, zListMetricExperimentsResponse2, zListMetricsHeaders, zListMetricsQuery, zListMetricsResponse, zListMetricsResponse2, zListOpsAgentsHeaders, zListOpsAgentsResponse, zListOpsAgentsResponse2, zListOpsCommentsHeaders, zListOpsCommentsPath, zListOpsCommentsResponse, zListOpsCommentsResponse2, zListOpsInvestigationsHeaders, zListOpsInvestigationsPath, zListOpsInvestigationsResponse, zListOpsInvestigationsResponse2, zListOpsItemsHeaders, zListOpsItemsQuery, zListOpsItemsResponse, zListOpsItemsResponse2, zListOpsQuestionsHeaders, zListOpsQuestionsPath, zListOpsQuestionsQuery, zListOpsQuestionsResponse, zListOpsQuestionsResponse2, zListSlackChannelsHeaders, zListSlackChannelsResponse, zListSlackChannelsResponse2, zListTagsHeaders, zListTagsQuery, zListTagsResponse, zListTagsResponse2, zListUniversesHeaders, zListUniversesQuery, zListUniversesResponse, zListUniversesResponse2, zMeasurePlanResource, zMeasurePlanStep, zMetricDefaultMinEffectOfInterest, zMetricDirection, zMetricDisplayConfig, zMetricDisplayName, zMetricDisplayUnit, zMetricEventName, zMetricName, zMetricQueryDsl, zMetricWinsorizePct, zNotificationTarget, zNotifyOpsBody, zNotifyOpsHeaders, zNotifyOpsRequest, zNotifyOpsResponse, zNotifyOpsResponse2, zOkResponse, zOpsAgentProfile, zOpsAlertContext, zOpsAlertMetricSummary, zOpsAlertRuleSummary, zOpsBrowserContext, zOpsComment, zOpsCommentAuthorType, zOpsErrorContext, zOpsInvestigation, zOpsInvestigationState, zOpsItemAttachment, zOpsItemContext, zOpsItemNotifyOrNull, zOpsItemOwner, zOpsItemPriority, zOpsItemPriorityOrNull, zOpsItemRelated, zOpsItemStatus, zOpsMeasurePlanContext, zOpsQuestion, zOpsQuestionAnswer, zOpsQuestionDelivery, zOpsQuestionOption, zOpsQuestionStatus, zOpsRun, zOpsRunAction, zOpsRunActionOrNull, zPaginationCursor, zPaginationLimit, zProjectId, zPublishConfigDraftBody, zPublishConfigDraftHeaders, zPublishConfigDraftPath, zPublishConfigDraftRequest, zPublishConfigDraftResponse, zPublishConfigDraftResponse2, zPublishI18nProfileBody, zPublishI18nProfileHeaders, zPublishI18nProfilePath, zPublishI18nProfileRequest, zPublishI18nProfileResponse, zPublishI18nProfileResponse2, zPushI18nKeysBody, zPushI18nKeysHeaders, zPushI18nKeysRequest, zPushI18nKeysResponse, zPushI18nKeysResponse2, zQ, zQueryIr, zReanalyzeExperimentHeaders, zReanalyzeExperimentPath, zReanalyzeExperimentResponse, zReanalyzeExperimentResponse2, zRemoveFromGateWhitelistBody, zRemoveFromGateWhitelistHeaders, zRemoveFromGateWhitelistPath, zRemoveFromGateWhitelistRequest, zRemoveFromGateWhitelistResponse, zResolveErrorHeaders, zResolveErrorPath, zResolveErrorResponse, zResourceId, zRevokeKeyHeaders, zRevokeKeyPath, zRevokeKeyResponse, zRevokeKeyResponse2, zSaveConfigDraftBody, zSaveConfigDraftHeaders, zSaveConfigDraftPath, zSaveConfigDraftRequest, zSaveConfigDraftResponse, zSaveConfigDraftResponse2, zSearchHit, zSearchResourcesHeaders, zSearchResourcesQuery, zSearchResourcesResponse, zSearchResponse, zSetEntityTagsBody, zSetEntityTagsHeaders, zSetEntityTagsPath, zSetEntityTagsRequest, zSetEntityTagsResponse, zSetExperimentMetricsBody, zSetExperimentMetricsHeaders, zSetExperimentMetricsPath, zSetExperimentMetricsRequest, zSetExperimentMetricsResponse, zSetExperimentMetricsResponse2, zSetExperimentStatusBody, zSetExperimentStatusHeaders, zSetExperimentStatusPath, zSetExperimentStatusRequest, zSetExperimentStatusResponse, zSetExperimentStatusResponse2, zSetGateWhitelistBody, zSetGateWhitelistHeaders, zSetGateWhitelistPath, zSetGateWhitelistRequest, zSetGateWhitelistResponse, zSetI18nLabelBody, zSetI18nLabelHeaders, zSetI18nLabelRequest, zSetI18nLabelResponse, zSetI18nLabelResponse2, zSetKillswitchSwitchBody, zSetKillswitchSwitchHeaders, zSetKillswitchSwitchPath, zSetKillswitchSwitchRequest, zSetKillswitchSwitchResponse, zSetKillswitchSwitchResponse2, zSetKillswitchValueBody, zSetKillswitchValueHeaders, zSetKillswitchValuePath, zSetKillswitchValueRequest, zSetKillswitchValueResponse, zSetKillswitchValueResponse2, zSlackConnectorData, zTag, zTagName, zTaggableEntityType, zTestConnectorHeaders, zTestConnectorPath, zTestConnectorResponse, zTestConnectorResponse2, zToggleKillswitchBody, zToggleKillswitchHeaders, zToggleKillswitchPath, zToggleKillswitchRequest, zToggleKillswitchResponse, zToggleKillswitchResponse2, zUnarchiveMetricHeaders, zUnarchiveMetricPath, zUnarchiveMetricResponse, zUnarchiveMetricResponse2, zUniverseParam, zUniverseParamSchema, zUnsetKillswitchSwitchBody, zUnsetKillswitchSwitchHeaders, zUnsetKillswitchSwitchPath, zUnsetKillswitchSwitchRequest, zUnsetKillswitchSwitchResponse, zUnsetKillswitchSwitchResponse2, zUpdateAlertBody, zUpdateAlertHeaders, zUpdateAlertPath, zUpdateAlertRequest, zUpdateAlertResponse, zUpdateAlertRuleBody, zUpdateAlertRuleHeaders, zUpdateAlertRulePath, zUpdateAlertRuleRequest, zUpdateAlertRuleResponse, zUpdateAlertRuleResponse2, zUpdateAttributeBody, zUpdateAttributeHeaders, zUpdateAttributePath, zUpdateAttributeRequest, zUpdateAttributeResponse, zUpdateAttributeResponse2, zUpdateBugRequest, zUpdateClaudeTriggerRequest, zUpdateConfigBody, zUpdateConfigHeaders, zUpdateConfigPath, zUpdateConfigRequest, zUpdateConfigResponse, zUpdateConfigResponse2, zUpdateConfigSchemaBody, zUpdateConfigSchemaHeaders, zUpdateConfigSchemaPath, zUpdateConfigSchemaRequest, zUpdateConfigSchemaResponse, zUpdateConfigSchemaResponse2, zUpdateConnectorBody, zUpdateConnectorHeaders, zUpdateConnectorPath, zUpdateConnectorRequest, zUpdateConnectorResponse, zUpdateConnectorResponse2, zUpdateCopilotTriggerRequest, zUpdateCursorTriggerRequest, zUpdateEntityTagsBody, zUpdateEntityTagsHeaders, zUpdateEntityTagsPath, zUpdateEntityTagsRequest, zUpdateEntityTagsResponse, zUpdateErrorStatusBody, zUpdateErrorStatusHeaders, zUpdateErrorStatusPath, zUpdateErrorStatusRequest, zUpdateErrorStatusResponse, zUpdateEventBody, zUpdateEventHeaders, zUpdateEventPath, zUpdateEventRequest, zUpdateEventResponse, zUpdateEventResponse2, zUpdateExperimentBody, zUpdateExperimentHeaders, zUpdateExperimentPath, zUpdateExperimentRequest, zUpdateExperimentResponse, zUpdateExperimentResponse2, zUpdateFeatureRequestRequest, zUpdateGateBody, zUpdateGateHeaders, zUpdateGatePath, zUpdateGateRequest, zUpdateGateResponse, zUpdateGateResponse2, zUpdateGateTemplateBody, zUpdateGateTemplateHeaders, zUpdateGateTemplatePath, zUpdateGateTemplateRequest, zUpdateGateTemplateResponse, zUpdateGateTemplateResponse2, zUpdateI18nDraftBody, zUpdateI18nDraftHeaders, zUpdateI18nDraftPath, zUpdateI18nDraftRequest, zUpdateI18nDraftResponse, zUpdateI18nKeyBody, zUpdateI18nKeyHeaders, zUpdateI18nKeyPath, zUpdateI18nKeyRequest, zUpdateI18nKeyResponse, zUpdateI18nKeyResponse2, zUpdateJulesTriggerRequest, zUpdateKeyBody, zUpdateKeyHeaders, zUpdateKeyPath, zUpdateKeyRequest, zUpdateKeyResponse, zUpdateKillswitchBody, zUpdateKillswitchHeaders, zUpdateKillswitchPath, zUpdateKillswitchRequest, zUpdateKillswitchResponse, zUpdateKillswitchResponse2, zUpdateMetricBody, zUpdateMetricFields, zUpdateMetricHeaders, zUpdateMetricPath, zUpdateMetricRequest, zUpdateMetricResponse, zUpdateMetricWithQuery, zUpdateMetricWithQueryIr, zUpdateOpsInvestigationBody, zUpdateOpsInvestigationHeaders, zUpdateOpsInvestigationPath, zUpdateOpsInvestigationRequest, zUpdateOpsInvestigationResponse, zUpdateOpsItemBody, zUpdateOpsItemHeaders, zUpdateOpsItemPath, zUpdateOpsItemRequest, zUpdateOpsItemResponse, zUpdateOpsItemResponse2, zUpdateOpsItemStatusRequest, zUpdateProjectBody, zUpdateProjectHeaders, zUpdateProjectPath, zUpdateProjectRequest, zUpdateProjectResponse, zUpdateTriggerConnectorBody, zUpdateTriggerConnectorHeaders, zUpdateTriggerConnectorPath, zUpdateTriggerConnectorRequest, zUpdateTriggerConnectorResponse, zUpdateUniverseBody, zUpdateUniverseHeaders, zUpdateUniversePath, zUpdateUniverseRequest, zUpdateUniverseResponse, zUpdateUniverseResponse2, zUpsertI18nDraftKeyBody, zUpsertI18nDraftKeyHeaders, zUpsertI18nDraftKeyPath, zUpsertI18nDraftKeyRequest, zUpsertI18nDraftKeyResponse, zUpsertI18nKeysBody, zUpsertI18nKeysHeaders, zUpsertI18nKeysRequest, zUpsertI18nKeysResponse, zUpsertI18nKeysResponse2, zUpsertProjectBody, zUpsertProjectHeaders, zUpsertProjectRequest, zUpsertProjectResponse, zUpsertProjectResponse2 };