@sentry/api 1.3.0 → 1.5.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.
- package/dist/error-results.gen.d.ts +3 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +19 -0
- package/dist/operations.js +41 -0
- package/dist/query-enums.gen.d.ts +3 -1
- package/dist/sdk.gen.d.ts +9 -1
- package/dist/sentry-client.gen.d.ts +14 -6
- package/dist/types.gen.d.ts +8028 -1571
- package/dist/valibot.gen.d.ts +1068 -94
- package/dist/valibot.js +1193 -77
- package/dist/zod.gen.d.ts +12949 -755
- package/dist/zod.js +8526 -371
- package/package.json +1 -1
package/dist/valibot.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
var vActionFilterValidator = /* @__PURE__ */ v.object({
|
|
4
4
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
5
|
-
|
|
5
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
6
6
|
"any",
|
|
7
7
|
"any-short",
|
|
8
8
|
"all",
|
|
9
9
|
"none"
|
|
10
10
|
]),
|
|
11
11
|
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
12
|
-
actions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.
|
|
12
|
+
actions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())
|
|
13
13
|
});
|
|
14
14
|
var vArtifactBundleAssembleResponse = /* @__PURE__ */ v.object({
|
|
15
15
|
state: /* @__PURE__ */ v.string(),
|
|
@@ -52,7 +52,7 @@ var vAutofixStateResponse = /* @__PURE__ */ v.object({
|
|
|
52
52
|
});
|
|
53
53
|
var vBaseDataConditionGroupValidator = /* @__PURE__ */ v.object({
|
|
54
54
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
55
|
-
|
|
55
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
56
56
|
"any",
|
|
57
57
|
"any-short",
|
|
58
58
|
"all",
|
|
@@ -60,26 +60,6 @@ var vBaseDataConditionGroupValidator = /* @__PURE__ */ v.object({
|
|
|
60
60
|
]),
|
|
61
61
|
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
62
62
|
});
|
|
63
|
-
var vBaseDetectorTypeValidator = /* @__PURE__ */ v.object({
|
|
64
|
-
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
65
|
-
type: /* @__PURE__ */ v.string(),
|
|
66
|
-
workflow_ids: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
67
|
-
data_sources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
68
|
-
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
69
|
-
condition_group: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
70
|
-
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
71
|
-
logic_type: /* @__PURE__ */ v.picklist([
|
|
72
|
-
"any",
|
|
73
|
-
"any-short",
|
|
74
|
-
"all",
|
|
75
|
-
"none"
|
|
76
|
-
]),
|
|
77
|
-
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
78
|
-
})),
|
|
79
|
-
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
80
|
-
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
81
|
-
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
82
|
-
});
|
|
83
63
|
var vBaseTeam = /* @__PURE__ */ v.object({
|
|
84
64
|
id: /* @__PURE__ */ v.string(),
|
|
85
65
|
slug: /* @__PURE__ */ v.string(),
|
|
@@ -1389,7 +1369,7 @@ var vDashboardDetailsModel = /* @__PURE__ */ v.object({
|
|
|
1389
1369
|
id: /* @__PURE__ */ v.string(),
|
|
1390
1370
|
title: /* @__PURE__ */ v.string(),
|
|
1391
1371
|
description: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
1392
|
-
displayType: /* @__PURE__ */ v.string(),
|
|
1372
|
+
displayType: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
1393
1373
|
thresholds: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.object({
|
|
1394
1374
|
preferredPolarity: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
1395
1375
|
timeWindow: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
@@ -1460,8 +1440,8 @@ var vDashboardListResponse = /* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
|
1460
1440
|
globalFilter: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())))
|
|
1461
1441
|
}),
|
|
1462
1442
|
lastVisited: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.isoTimestamp())),
|
|
1463
|
-
widgetDisplay: /* @__PURE__ */ v.array(/* @__PURE__ */ v.string()),
|
|
1464
|
-
widgetPreview: /* @__PURE__ */ v.array(/* @__PURE__ */ v.
|
|
1443
|
+
widgetDisplay: /* @__PURE__ */ v.array(/* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string())),
|
|
1444
|
+
widgetPreview: /* @__PURE__ */ v.array(/* @__PURE__ */ v.object({})),
|
|
1465
1445
|
permissions: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.object({
|
|
1466
1446
|
isEditableByEveryone: /* @__PURE__ */ v.boolean(),
|
|
1467
1447
|
teamsWithEditAccess: /* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))
|
|
@@ -1787,6 +1767,407 @@ var vDetector = /* @__PURE__ */ v.object({
|
|
|
1787
1767
|
config: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()),
|
|
1788
1768
|
enabled: /* @__PURE__ */ v.boolean()
|
|
1789
1769
|
});
|
|
1770
|
+
var vDetectorCreateRequest = /* @__PURE__ */ v.intersect([/* @__PURE__ */ v.union([
|
|
1771
|
+
/* @__PURE__ */ v.object({
|
|
1772
|
+
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
1773
|
+
type: /* @__PURE__ */ v.picklist(["metric_issue"]),
|
|
1774
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
1775
|
+
dataSources: /* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
1776
|
+
query_type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
1777
|
+
dataset: /* @__PURE__ */ v.string(),
|
|
1778
|
+
query: /* @__PURE__ */ v.string(),
|
|
1779
|
+
aggregate: /* @__PURE__ */ v.string(),
|
|
1780
|
+
time_window: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()),
|
|
1781
|
+
environment: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(64))),
|
|
1782
|
+
event_types: /* @__PURE__ */ v.array(/* @__PURE__ */ v.string()),
|
|
1783
|
+
group_by: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)))),
|
|
1784
|
+
extrapolation_mode: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
1785
|
+
})),
|
|
1786
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.variant("detectionType", [
|
|
1787
|
+
/* @__PURE__ */ v.object({
|
|
1788
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
1789
|
+
300,
|
|
1790
|
+
900,
|
|
1791
|
+
3600,
|
|
1792
|
+
86400,
|
|
1793
|
+
604800,
|
|
1794
|
+
2592e3
|
|
1795
|
+
])),
|
|
1796
|
+
detectionType: /* @__PURE__ */ v.picklist(["static"])
|
|
1797
|
+
}),
|
|
1798
|
+
/* @__PURE__ */ v.object({
|
|
1799
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
1800
|
+
300,
|
|
1801
|
+
900,
|
|
1802
|
+
3600,
|
|
1803
|
+
86400,
|
|
1804
|
+
604800,
|
|
1805
|
+
2592e3
|
|
1806
|
+
])),
|
|
1807
|
+
detectionType: /* @__PURE__ */ v.picklist(["percent"])
|
|
1808
|
+
}),
|
|
1809
|
+
/* @__PURE__ */ v.object({
|
|
1810
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
1811
|
+
300,
|
|
1812
|
+
900,
|
|
1813
|
+
3600,
|
|
1814
|
+
86400,
|
|
1815
|
+
604800,
|
|
1816
|
+
2592e3
|
|
1817
|
+
])),
|
|
1818
|
+
detectionType: /* @__PURE__ */ v.picklist(["dynamic"])
|
|
1819
|
+
})
|
|
1820
|
+
])),
|
|
1821
|
+
conditionGroup: /* @__PURE__ */ v.object({
|
|
1822
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
1823
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
1824
|
+
"any",
|
|
1825
|
+
"any-short",
|
|
1826
|
+
"all",
|
|
1827
|
+
"none"
|
|
1828
|
+
]),
|
|
1829
|
+
conditions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())
|
|
1830
|
+
}),
|
|
1831
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1832
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1833
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
1834
|
+
}),
|
|
1835
|
+
/* @__PURE__ */ v.object({
|
|
1836
|
+
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
1837
|
+
type: /* @__PURE__ */ v.picklist(["monitor_check_in_failure"]),
|
|
1838
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
1839
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
1840
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(128))),
|
|
1841
|
+
slug: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(50), /* @__PURE__ */ v.regex(/^[-a-zA-Z0-9_]+$/))),
|
|
1842
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
1843
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1844
|
+
is_muted: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean()),
|
|
1845
|
+
config: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())
|
|
1846
|
+
}))),
|
|
1847
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
1848
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
1849
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
1850
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
1851
|
+
"any",
|
|
1852
|
+
"any-short",
|
|
1853
|
+
"all",
|
|
1854
|
+
"none"
|
|
1855
|
+
]),
|
|
1856
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
1857
|
+
})),
|
|
1858
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1859
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1860
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
1861
|
+
}),
|
|
1862
|
+
/* @__PURE__ */ v.object({
|
|
1863
|
+
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
1864
|
+
type: /* @__PURE__ */ v.picklist(["preprod_size_analysis"]),
|
|
1865
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
1866
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
1867
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({
|
|
1868
|
+
thresholdType: /* @__PURE__ */ v.picklist([
|
|
1869
|
+
"absolute_diff",
|
|
1870
|
+
"absolute",
|
|
1871
|
+
"relative_diff"
|
|
1872
|
+
]),
|
|
1873
|
+
measurement: /* @__PURE__ */ v.picklist(["install_size", "download_size"]),
|
|
1874
|
+
query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
1875
|
+
})),
|
|
1876
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
1877
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
1878
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
1879
|
+
"any",
|
|
1880
|
+
"any-short",
|
|
1881
|
+
"all",
|
|
1882
|
+
"none"
|
|
1883
|
+
]),
|
|
1884
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
1885
|
+
})),
|
|
1886
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1887
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1888
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
1889
|
+
}),
|
|
1890
|
+
/* @__PURE__ */ v.object({
|
|
1891
|
+
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
1892
|
+
type: /* @__PURE__ */ v.picklist(["uptime_domain_failure"]),
|
|
1893
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
1894
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
1895
|
+
url: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.url(), /* @__PURE__ */ v.maxLength(255)),
|
|
1896
|
+
headers: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
1897
|
+
timeout_ms: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1e3), /* @__PURE__ */ v.maxValue(6e4)),
|
|
1898
|
+
method: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist([
|
|
1899
|
+
"GET",
|
|
1900
|
+
"POST",
|
|
1901
|
+
"HEAD",
|
|
1902
|
+
"PUT",
|
|
1903
|
+
"DELETE",
|
|
1904
|
+
"PATCH",
|
|
1905
|
+
"OPTIONS"
|
|
1906
|
+
])),
|
|
1907
|
+
trace_sampling: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), false),
|
|
1908
|
+
response_capture_enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), true),
|
|
1909
|
+
body: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1910
|
+
interval_seconds: /* @__PURE__ */ v.picklist([
|
|
1911
|
+
60,
|
|
1912
|
+
300,
|
|
1913
|
+
600,
|
|
1914
|
+
1200,
|
|
1915
|
+
1800,
|
|
1916
|
+
3600
|
|
1917
|
+
]),
|
|
1918
|
+
assertion: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()))
|
|
1919
|
+
}))),
|
|
1920
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({
|
|
1921
|
+
mode: /* @__PURE__ */ v.picklist([
|
|
1922
|
+
1,
|
|
1923
|
+
2,
|
|
1924
|
+
3
|
|
1925
|
+
]),
|
|
1926
|
+
environment: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
1927
|
+
recoveryThreshold: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1)),
|
|
1928
|
+
downtimeThreshold: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1))
|
|
1929
|
+
})),
|
|
1930
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
1931
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
1932
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
1933
|
+
"any",
|
|
1934
|
+
"any-short",
|
|
1935
|
+
"all",
|
|
1936
|
+
"none"
|
|
1937
|
+
]),
|
|
1938
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
1939
|
+
})),
|
|
1940
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1941
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1942
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
1943
|
+
})
|
|
1944
|
+
]), /* @__PURE__ */ v.object({
|
|
1945
|
+
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
1946
|
+
type: /* @__PURE__ */ v.string(),
|
|
1947
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
1948
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
1949
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
1950
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
1951
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
1952
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
1953
|
+
"any",
|
|
1954
|
+
"any-short",
|
|
1955
|
+
"all",
|
|
1956
|
+
"none"
|
|
1957
|
+
]),
|
|
1958
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
1959
|
+
})),
|
|
1960
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1961
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1962
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
1963
|
+
})]);
|
|
1964
|
+
var vDetectorUpdateRequest = /* @__PURE__ */ v.intersect([/* @__PURE__ */ v.union([
|
|
1965
|
+
/* @__PURE__ */ v.object({
|
|
1966
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
1967
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["error"])),
|
|
1968
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
1969
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
1970
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({})),
|
|
1971
|
+
conditionGroup: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
1972
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1973
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1974
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean()),
|
|
1975
|
+
fingerprintingRules: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
1976
|
+
resolveAge: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))
|
|
1977
|
+
}),
|
|
1978
|
+
/* @__PURE__ */ v.object({
|
|
1979
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
1980
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["metric_issue"])),
|
|
1981
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
1982
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
1983
|
+
query_type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
1984
|
+
dataset: /* @__PURE__ */ v.string(),
|
|
1985
|
+
query: /* @__PURE__ */ v.string(),
|
|
1986
|
+
aggregate: /* @__PURE__ */ v.string(),
|
|
1987
|
+
time_window: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()),
|
|
1988
|
+
environment: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(64))),
|
|
1989
|
+
event_types: /* @__PURE__ */ v.array(/* @__PURE__ */ v.string()),
|
|
1990
|
+
group_by: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)))),
|
|
1991
|
+
extrapolation_mode: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
1992
|
+
}))),
|
|
1993
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.variant("detectionType", [
|
|
1994
|
+
/* @__PURE__ */ v.object({
|
|
1995
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
1996
|
+
300,
|
|
1997
|
+
900,
|
|
1998
|
+
3600,
|
|
1999
|
+
86400,
|
|
2000
|
+
604800,
|
|
2001
|
+
2592e3
|
|
2002
|
+
])),
|
|
2003
|
+
detectionType: /* @__PURE__ */ v.picklist(["static"])
|
|
2004
|
+
}),
|
|
2005
|
+
/* @__PURE__ */ v.object({
|
|
2006
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
2007
|
+
300,
|
|
2008
|
+
900,
|
|
2009
|
+
3600,
|
|
2010
|
+
86400,
|
|
2011
|
+
604800,
|
|
2012
|
+
2592e3
|
|
2013
|
+
])),
|
|
2014
|
+
detectionType: /* @__PURE__ */ v.picklist(["percent"])
|
|
2015
|
+
}),
|
|
2016
|
+
/* @__PURE__ */ v.object({
|
|
2017
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
2018
|
+
300,
|
|
2019
|
+
900,
|
|
2020
|
+
3600,
|
|
2021
|
+
86400,
|
|
2022
|
+
604800,
|
|
2023
|
+
2592e3
|
|
2024
|
+
])),
|
|
2025
|
+
detectionType: /* @__PURE__ */ v.picklist(["dynamic"])
|
|
2026
|
+
})
|
|
2027
|
+
])),
|
|
2028
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
2029
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
2030
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
2031
|
+
"any",
|
|
2032
|
+
"any-short",
|
|
2033
|
+
"all",
|
|
2034
|
+
"none"
|
|
2035
|
+
]),
|
|
2036
|
+
conditions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())
|
|
2037
|
+
})),
|
|
2038
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2039
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2040
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
2041
|
+
}),
|
|
2042
|
+
/* @__PURE__ */ v.object({
|
|
2043
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
2044
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["monitor_check_in_failure"])),
|
|
2045
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
2046
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
2047
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(128))),
|
|
2048
|
+
slug: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(50), /* @__PURE__ */ v.regex(/^[-a-zA-Z0-9_]+$/))),
|
|
2049
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
2050
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2051
|
+
is_muted: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean()),
|
|
2052
|
+
config: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())
|
|
2053
|
+
}))),
|
|
2054
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
2055
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
2056
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
2057
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
2058
|
+
"any",
|
|
2059
|
+
"any-short",
|
|
2060
|
+
"all",
|
|
2061
|
+
"none"
|
|
2062
|
+
]),
|
|
2063
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
2064
|
+
})),
|
|
2065
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2066
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2067
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
2068
|
+
}),
|
|
2069
|
+
/* @__PURE__ */ v.object({
|
|
2070
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
2071
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["preprod_size_analysis"])),
|
|
2072
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
2073
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
2074
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({
|
|
2075
|
+
thresholdType: /* @__PURE__ */ v.picklist([
|
|
2076
|
+
"absolute_diff",
|
|
2077
|
+
"absolute",
|
|
2078
|
+
"relative_diff"
|
|
2079
|
+
]),
|
|
2080
|
+
measurement: /* @__PURE__ */ v.picklist(["install_size", "download_size"]),
|
|
2081
|
+
query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
2082
|
+
})),
|
|
2083
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
2084
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
2085
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
2086
|
+
"any",
|
|
2087
|
+
"any-short",
|
|
2088
|
+
"all",
|
|
2089
|
+
"none"
|
|
2090
|
+
]),
|
|
2091
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
2092
|
+
})),
|
|
2093
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2094
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2095
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
2096
|
+
}),
|
|
2097
|
+
/* @__PURE__ */ v.object({
|
|
2098
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
2099
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["uptime_domain_failure"])),
|
|
2100
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
2101
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
2102
|
+
url: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.url(), /* @__PURE__ */ v.maxLength(255)),
|
|
2103
|
+
headers: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
2104
|
+
timeout_ms: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1e3), /* @__PURE__ */ v.maxValue(6e4)),
|
|
2105
|
+
method: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist([
|
|
2106
|
+
"GET",
|
|
2107
|
+
"POST",
|
|
2108
|
+
"HEAD",
|
|
2109
|
+
"PUT",
|
|
2110
|
+
"DELETE",
|
|
2111
|
+
"PATCH",
|
|
2112
|
+
"OPTIONS"
|
|
2113
|
+
])),
|
|
2114
|
+
trace_sampling: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), false),
|
|
2115
|
+
response_capture_enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), true),
|
|
2116
|
+
body: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2117
|
+
interval_seconds: /* @__PURE__ */ v.picklist([
|
|
2118
|
+
60,
|
|
2119
|
+
300,
|
|
2120
|
+
600,
|
|
2121
|
+
1200,
|
|
2122
|
+
1800,
|
|
2123
|
+
3600
|
|
2124
|
+
]),
|
|
2125
|
+
assertion: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()))
|
|
2126
|
+
}))),
|
|
2127
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({
|
|
2128
|
+
mode: /* @__PURE__ */ v.picklist([
|
|
2129
|
+
1,
|
|
2130
|
+
2,
|
|
2131
|
+
3
|
|
2132
|
+
]),
|
|
2133
|
+
environment: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
2134
|
+
recoveryThreshold: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1)),
|
|
2135
|
+
downtimeThreshold: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1))
|
|
2136
|
+
})),
|
|
2137
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
2138
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
2139
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
2140
|
+
"any",
|
|
2141
|
+
"any-short",
|
|
2142
|
+
"all",
|
|
2143
|
+
"none"
|
|
2144
|
+
]),
|
|
2145
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
2146
|
+
})),
|
|
2147
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2148
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2149
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
2150
|
+
})
|
|
2151
|
+
]), /* @__PURE__ */ v.object({
|
|
2152
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
2153
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
2154
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
2155
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
2156
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
2157
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
2158
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
2159
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
2160
|
+
"any",
|
|
2161
|
+
"any-short",
|
|
2162
|
+
"all",
|
|
2163
|
+
"none"
|
|
2164
|
+
]),
|
|
2165
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
2166
|
+
})),
|
|
2167
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2168
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
2169
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
2170
|
+
})]);
|
|
1790
2171
|
var vDiscoverSavedQuery = /* @__PURE__ */ v.object({
|
|
1791
2172
|
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(255)),
|
|
1792
2173
|
projects: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
@@ -3599,6 +3980,34 @@ var vLinkedDashboard = /* @__PURE__ */ v.object({
|
|
|
3599
3980
|
field: /* @__PURE__ */ v.string(),
|
|
3600
3981
|
dashboard_id: /* @__PURE__ */ v.string()
|
|
3601
3982
|
});
|
|
3983
|
+
var vListAvailableActionResponse = /* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
3984
|
+
type: /* @__PURE__ */ v.string(),
|
|
3985
|
+
handlerGroup: /* @__PURE__ */ v.string(),
|
|
3986
|
+
configSchema: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()),
|
|
3987
|
+
dataSchema: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()),
|
|
3988
|
+
sentryApp: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
3989
|
+
id: /* @__PURE__ */ v.string(),
|
|
3990
|
+
name: /* @__PURE__ */ v.string(),
|
|
3991
|
+
installationId: /* @__PURE__ */ v.string(),
|
|
3992
|
+
installationUuid: /* @__PURE__ */ v.string(),
|
|
3993
|
+
status: /* @__PURE__ */ v.string(),
|
|
3994
|
+
settings: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
3995
|
+
title: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
3996
|
+
})),
|
|
3997
|
+
integrations: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
3998
|
+
id: /* @__PURE__ */ v.string(),
|
|
3999
|
+
name: /* @__PURE__ */ v.string(),
|
|
4000
|
+
services: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
4001
|
+
id: /* @__PURE__ */ v.string(),
|
|
4002
|
+
name: /* @__PURE__ */ v.string()
|
|
4003
|
+
})))
|
|
4004
|
+
}))),
|
|
4005
|
+
services: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
4006
|
+
slug: /* @__PURE__ */ v.string(),
|
|
4007
|
+
name: /* @__PURE__ */ v.string()
|
|
4008
|
+
}))),
|
|
4009
|
+
disabledReason: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["plan"]))
|
|
4010
|
+
}));
|
|
3602
4011
|
var vListClientKeysResponse = /* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
3603
4012
|
id: /* @__PURE__ */ v.string(),
|
|
3604
4013
|
name: /* @__PURE__ */ v.string(),
|
|
@@ -5050,6 +5459,16 @@ var vMappingItem = /* @__PURE__ */ v.object({
|
|
|
5050
5459
|
stack_root: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.regex(/^[^\s'\"]+$/)),
|
|
5051
5460
|
source_root: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.regex(/^[^\s'\"]+$/))
|
|
5052
5461
|
});
|
|
5462
|
+
var vMetricIssueConditionGroupValidator = /* @__PURE__ */ v.object({
|
|
5463
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
5464
|
+
logic_type: /* @__PURE__ */ v.picklist([
|
|
5465
|
+
"any",
|
|
5466
|
+
"any-short",
|
|
5467
|
+
"all",
|
|
5468
|
+
"none"
|
|
5469
|
+
]),
|
|
5470
|
+
conditions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())
|
|
5471
|
+
});
|
|
5053
5472
|
var vMonitor = /* @__PURE__ */ v.object({
|
|
5054
5473
|
id: /* @__PURE__ */ v.string(),
|
|
5055
5474
|
name: /* @__PURE__ */ v.string(),
|
|
@@ -5142,6 +5561,14 @@ var vMonitor = /* @__PURE__ */ v.object({
|
|
|
5142
5561
|
email: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
5143
5562
|
})
|
|
5144
5563
|
});
|
|
5564
|
+
var vMonitorDataSourceValidator = /* @__PURE__ */ v.object({
|
|
5565
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(128))),
|
|
5566
|
+
slug: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(50), /* @__PURE__ */ v.regex(/^[-a-zA-Z0-9_]+$/))),
|
|
5567
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
5568
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
5569
|
+
is_muted: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean()),
|
|
5570
|
+
config: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())
|
|
5571
|
+
});
|
|
5145
5572
|
var vMonitorList = /* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
5146
5573
|
id: /* @__PURE__ */ v.string(),
|
|
5147
5574
|
name: /* @__PURE__ */ v.string(),
|
|
@@ -9077,6 +9504,17 @@ var vSnapshotImageDetailResponse = /* @__PURE__ */ v.object({
|
|
|
9077
9504
|
diff_percentage: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.number()),
|
|
9078
9505
|
previous_image_file_name: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
9079
9506
|
});
|
|
9507
|
+
var vSnubaQueryValidator = /* @__PURE__ */ v.object({
|
|
9508
|
+
query_type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
9509
|
+
dataset: /* @__PURE__ */ v.string(),
|
|
9510
|
+
query: /* @__PURE__ */ v.string(),
|
|
9511
|
+
aggregate: /* @__PURE__ */ v.string(),
|
|
9512
|
+
time_window: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()),
|
|
9513
|
+
environment: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(64))),
|
|
9514
|
+
event_types: /* @__PURE__ */ v.array(/* @__PURE__ */ v.string()),
|
|
9515
|
+
group_by: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)))),
|
|
9516
|
+
extrapolation_mode: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
9517
|
+
});
|
|
9080
9518
|
var vSource = /* @__PURE__ */ v.object({
|
|
9081
9519
|
type: /* @__PURE__ */ v.picklist([
|
|
9082
9520
|
"http",
|
|
@@ -9523,6 +9961,38 @@ var vUpdateOrgMemberRoles = /* @__PURE__ */ v.object({
|
|
|
9523
9961
|
])),
|
|
9524
9962
|
teamRoles: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.array(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())))
|
|
9525
9963
|
});
|
|
9964
|
+
var vUptimeDomainCheckFailureConfigValidator = /* @__PURE__ */ v.object({
|
|
9965
|
+
environment: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(64))),
|
|
9966
|
+
recovery_threshold: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1)), 1),
|
|
9967
|
+
downtime_threshold: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1)), 3),
|
|
9968
|
+
mode: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()), 1)
|
|
9969
|
+
});
|
|
9970
|
+
var vUptimeMonitorDataSourceValidator = /* @__PURE__ */ v.object({
|
|
9971
|
+
url: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.url(), /* @__PURE__ */ v.maxLength(255)),
|
|
9972
|
+
headers: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
9973
|
+
timeout_ms: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1e3), /* @__PURE__ */ v.maxValue(6e4)),
|
|
9974
|
+
method: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist([
|
|
9975
|
+
"GET",
|
|
9976
|
+
"POST",
|
|
9977
|
+
"HEAD",
|
|
9978
|
+
"PUT",
|
|
9979
|
+
"DELETE",
|
|
9980
|
+
"PATCH",
|
|
9981
|
+
"OPTIONS"
|
|
9982
|
+
])),
|
|
9983
|
+
trace_sampling: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), false),
|
|
9984
|
+
response_capture_enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), true),
|
|
9985
|
+
body: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
9986
|
+
interval_seconds: /* @__PURE__ */ v.picklist([
|
|
9987
|
+
60,
|
|
9988
|
+
300,
|
|
9989
|
+
600,
|
|
9990
|
+
1200,
|
|
9991
|
+
1800,
|
|
9992
|
+
3600
|
|
9993
|
+
]),
|
|
9994
|
+
assertion: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()))
|
|
9995
|
+
});
|
|
9526
9996
|
var vWidgetLayout = /* @__PURE__ */ v.object({
|
|
9527
9997
|
x: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(0), /* @__PURE__ */ v.maxValue(5)),
|
|
9528
9998
|
y: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(0)),
|
|
@@ -9582,33 +10052,261 @@ var vWorkflow = /* @__PURE__ */ v.object({
|
|
|
9582
10052
|
lastTriggered: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.isoTimestamp())),
|
|
9583
10053
|
owner: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string())
|
|
9584
10054
|
});
|
|
10055
|
+
var vWorkflowAction = /* @__PURE__ */ v.variant("type", [
|
|
10056
|
+
/* @__PURE__ */ v.object({
|
|
10057
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10058
|
+
type: /* @__PURE__ */ v.picklist(["discord"]),
|
|
10059
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10060
|
+
tags: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
10061
|
+
}),
|
|
10062
|
+
config: /* @__PURE__ */ v.strictObject({
|
|
10063
|
+
targetIdentifier: /* @__PURE__ */ v.string(),
|
|
10064
|
+
targetDisplay: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
10065
|
+
targetType: /* @__PURE__ */ v.picklist(["specific"])
|
|
10066
|
+
}),
|
|
10067
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10068
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10069
|
+
}),
|
|
10070
|
+
/* @__PURE__ */ v.object({
|
|
10071
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10072
|
+
type: /* @__PURE__ */ v.picklist(["email"]),
|
|
10073
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10074
|
+
fallthroughType: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist([
|
|
10075
|
+
"AllMembers",
|
|
10076
|
+
"ActiveMembers",
|
|
10077
|
+
"NoOne"
|
|
10078
|
+
]))
|
|
10079
|
+
}),
|
|
10080
|
+
config: /* @__PURE__ */ v.strictObject({
|
|
10081
|
+
targetIdentifier: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
10082
|
+
targetDisplay: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10083
|
+
targetType: /* @__PURE__ */ v.picklist([
|
|
10084
|
+
"user",
|
|
10085
|
+
"team",
|
|
10086
|
+
"issue_owners"
|
|
10087
|
+
])
|
|
10088
|
+
}),
|
|
10089
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
10090
|
+
}),
|
|
10091
|
+
/* @__PURE__ */ v.object({
|
|
10092
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10093
|
+
type: /* @__PURE__ */ v.picklist(["github"]),
|
|
10094
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10095
|
+
dynamicFormFields: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())), []),
|
|
10096
|
+
additionalFields: /* @__PURE__ */ v.objectWithRest({
|
|
10097
|
+
repo: /* @__PURE__ */ v.string(),
|
|
10098
|
+
labels: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.array(/* @__PURE__ */ v.string()), []),
|
|
10099
|
+
assignee: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
10100
|
+
}, /* @__PURE__ */ v.unknown())
|
|
10101
|
+
}),
|
|
10102
|
+
config: /* @__PURE__ */ v.object({
|
|
10103
|
+
targetIdentifier: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10104
|
+
targetDisplay: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10105
|
+
targetType: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["specific"]))
|
|
10106
|
+
}),
|
|
10107
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10108
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10109
|
+
}),
|
|
10110
|
+
/* @__PURE__ */ v.object({
|
|
10111
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10112
|
+
type: /* @__PURE__ */ v.picklist(["github_enterprise"]),
|
|
10113
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10114
|
+
dynamicFormFields: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())), []),
|
|
10115
|
+
additionalFields: /* @__PURE__ */ v.objectWithRest({
|
|
10116
|
+
repo: /* @__PURE__ */ v.string(),
|
|
10117
|
+
labels: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.array(/* @__PURE__ */ v.string()), []),
|
|
10118
|
+
assignee: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
10119
|
+
}, /* @__PURE__ */ v.unknown())
|
|
10120
|
+
}),
|
|
10121
|
+
config: /* @__PURE__ */ v.object({
|
|
10122
|
+
targetIdentifier: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10123
|
+
targetDisplay: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10124
|
+
targetType: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["specific"]))
|
|
10125
|
+
}),
|
|
10126
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10127
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10128
|
+
}),
|
|
10129
|
+
/* @__PURE__ */ v.object({
|
|
10130
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10131
|
+
type: /* @__PURE__ */ v.picklist(["jira"]),
|
|
10132
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10133
|
+
dynamicFormFields: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())), []),
|
|
10134
|
+
additionalFields: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()), {})
|
|
10135
|
+
}),
|
|
10136
|
+
config: /* @__PURE__ */ v.object({
|
|
10137
|
+
targetIdentifier: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10138
|
+
targetDisplay: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10139
|
+
targetType: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["specific"]))
|
|
10140
|
+
}),
|
|
10141
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10142
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10143
|
+
}),
|
|
10144
|
+
/* @__PURE__ */ v.object({
|
|
10145
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10146
|
+
type: /* @__PURE__ */ v.picklist(["jira_server"]),
|
|
10147
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10148
|
+
dynamicFormFields: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())), []),
|
|
10149
|
+
additionalFields: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()), {})
|
|
10150
|
+
}),
|
|
10151
|
+
config: /* @__PURE__ */ v.object({
|
|
10152
|
+
targetIdentifier: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10153
|
+
targetDisplay: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10154
|
+
targetType: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["specific"]))
|
|
10155
|
+
}),
|
|
10156
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10157
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10158
|
+
}),
|
|
10159
|
+
/* @__PURE__ */ v.object({
|
|
10160
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10161
|
+
type: /* @__PURE__ */ v.picklist(["msteams"]),
|
|
10162
|
+
data: /* @__PURE__ */ v.strictObject({}),
|
|
10163
|
+
config: /* @__PURE__ */ v.strictObject({
|
|
10164
|
+
targetIdentifier: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10165
|
+
targetDisplay: /* @__PURE__ */ v.string(),
|
|
10166
|
+
targetType: /* @__PURE__ */ v.picklist(["specific"])
|
|
10167
|
+
}),
|
|
10168
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10169
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10170
|
+
}),
|
|
10171
|
+
/* @__PURE__ */ v.object({
|
|
10172
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10173
|
+
type: /* @__PURE__ */ v.picklist(["opsgenie"]),
|
|
10174
|
+
data: /* @__PURE__ */ v.object({
|
|
10175
|
+
priority: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist([
|
|
10176
|
+
"P2",
|
|
10177
|
+
"P4",
|
|
10178
|
+
"P3",
|
|
10179
|
+
"P1",
|
|
10180
|
+
"P5"
|
|
10181
|
+
]))
|
|
10182
|
+
}),
|
|
10183
|
+
config: /* @__PURE__ */ v.strictObject({
|
|
10184
|
+
targetIdentifier: /* @__PURE__ */ v.string(),
|
|
10185
|
+
targetDisplay: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
10186
|
+
targetType: /* @__PURE__ */ v.picklist(["specific"])
|
|
10187
|
+
}),
|
|
10188
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10189
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10190
|
+
}),
|
|
10191
|
+
/* @__PURE__ */ v.object({
|
|
10192
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10193
|
+
type: /* @__PURE__ */ v.picklist(["pagerduty"]),
|
|
10194
|
+
data: /* @__PURE__ */ v.object({
|
|
10195
|
+
priority: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist([
|
|
10196
|
+
"default",
|
|
10197
|
+
"critical",
|
|
10198
|
+
"warning",
|
|
10199
|
+
"error",
|
|
10200
|
+
"info"
|
|
10201
|
+
]))
|
|
10202
|
+
}),
|
|
10203
|
+
config: /* @__PURE__ */ v.strictObject({
|
|
10204
|
+
targetIdentifier: /* @__PURE__ */ v.string(),
|
|
10205
|
+
targetDisplay: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
10206
|
+
targetType: /* @__PURE__ */ v.picklist(["specific"])
|
|
10207
|
+
}),
|
|
10208
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10209
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10210
|
+
}),
|
|
10211
|
+
/* @__PURE__ */ v.object({
|
|
10212
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10213
|
+
type: /* @__PURE__ */ v.picklist(["seer_workflow"]),
|
|
10214
|
+
data: /* @__PURE__ */ v.strictObject({}),
|
|
10215
|
+
config: /* @__PURE__ */ v.strictObject({}),
|
|
10216
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
10217
|
+
}),
|
|
10218
|
+
/* @__PURE__ */ v.object({
|
|
10219
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10220
|
+
type: /* @__PURE__ */ v.picklist(["sentry_app"]),
|
|
10221
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10222
|
+
settings: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
10223
|
+
}),
|
|
10224
|
+
config: /* @__PURE__ */ v.strictObject({
|
|
10225
|
+
targetIdentifier: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.regex(/^[0-9]+$/)),
|
|
10226
|
+
targetDisplay: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
10227
|
+
targetType: /* @__PURE__ */ v.picklist(["sentry_app"])
|
|
10228
|
+
}),
|
|
10229
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
10230
|
+
}),
|
|
10231
|
+
/* @__PURE__ */ v.object({
|
|
10232
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10233
|
+
type: /* @__PURE__ */ v.picklist(["slack"]),
|
|
10234
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10235
|
+
tags: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10236
|
+
notes: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
10237
|
+
}),
|
|
10238
|
+
config: /* @__PURE__ */ v.strictObject({
|
|
10239
|
+
targetIdentifier: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10240
|
+
targetDisplay: /* @__PURE__ */ v.string(),
|
|
10241
|
+
targetType: /* @__PURE__ */ v.picklist(["specific"])
|
|
10242
|
+
}),
|
|
10243
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10244
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10245
|
+
}),
|
|
10246
|
+
/* @__PURE__ */ v.object({
|
|
10247
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10248
|
+
type: /* @__PURE__ */ v.picklist(["slack_staging"]),
|
|
10249
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10250
|
+
tags: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10251
|
+
notes: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
10252
|
+
}),
|
|
10253
|
+
config: /* @__PURE__ */ v.strictObject({
|
|
10254
|
+
targetIdentifier: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10255
|
+
targetDisplay: /* @__PURE__ */ v.string(),
|
|
10256
|
+
targetType: /* @__PURE__ */ v.picklist(["specific"])
|
|
10257
|
+
}),
|
|
10258
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10259
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10260
|
+
}),
|
|
10261
|
+
/* @__PURE__ */ v.object({
|
|
10262
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10263
|
+
type: /* @__PURE__ */ v.picklist(["vsts"]),
|
|
10264
|
+
data: /* @__PURE__ */ v.strictObject({
|
|
10265
|
+
dynamicFormFields: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())), []),
|
|
10266
|
+
additionalFields: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()), {})
|
|
10267
|
+
}),
|
|
10268
|
+
config: /* @__PURE__ */ v.object({
|
|
10269
|
+
targetIdentifier: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10270
|
+
targetDisplay: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10271
|
+
targetType: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["specific"]))
|
|
10272
|
+
}),
|
|
10273
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10274
|
+
integrationId: /* @__PURE__ */ v.string()
|
|
10275
|
+
}),
|
|
10276
|
+
/* @__PURE__ */ v.object({
|
|
10277
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10278
|
+
type: /* @__PURE__ */ v.picklist(["webhook"]),
|
|
10279
|
+
data: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()),
|
|
10280
|
+
config: /* @__PURE__ */ v.object({
|
|
10281
|
+
targetIdentifier: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10282
|
+
targetDisplay: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.unknown()),
|
|
10283
|
+
targetType: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.unknown())
|
|
10284
|
+
}),
|
|
10285
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
10286
|
+
})
|
|
10287
|
+
]);
|
|
9585
10288
|
var vWorkflowValidator = /* @__PURE__ */ v.object({
|
|
9586
10289
|
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(256)),
|
|
9587
10290
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
9588
10291
|
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), true),
|
|
9589
|
-
|
|
10292
|
+
detectorIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
9590
10293
|
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
9591
10294
|
environment: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
9592
10295
|
triggers: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
9593
10296
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
9594
|
-
|
|
9595
|
-
"any",
|
|
9596
|
-
"any-short",
|
|
9597
|
-
"all",
|
|
9598
|
-
"none"
|
|
9599
|
-
]),
|
|
10297
|
+
logicType: /* @__PURE__ */ v.picklist(["any-short"]),
|
|
9600
10298
|
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
9601
10299
|
})),
|
|
9602
|
-
|
|
10300
|
+
actionFilters: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
9603
10301
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
9604
|
-
|
|
10302
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
9605
10303
|
"any",
|
|
9606
10304
|
"any-short",
|
|
9607
10305
|
"all",
|
|
9608
10306
|
"none"
|
|
9609
10307
|
]),
|
|
9610
10308
|
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
9611
|
-
actions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.
|
|
10309
|
+
actions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())
|
|
9612
10310
|
}))),
|
|
9613
10311
|
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
9614
10312
|
});
|
|
@@ -10339,6 +11037,56 @@ var vAssembleOrganizationArtifactBundleResponse = /* @__PURE__ */ v.object({
|
|
|
10339
11037
|
missingChunks: /* @__PURE__ */ v.array(/* @__PURE__ */ v.string()),
|
|
10340
11038
|
detail: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
10341
11039
|
});
|
|
11040
|
+
var vFetchOrganizationAvailableActionsPath = /* @__PURE__ */ v.object({
|
|
11041
|
+
organization_id_or_slug: /* @__PURE__ */ v.string()
|
|
11042
|
+
});
|
|
11043
|
+
var vFetchOrganizationAvailableActionsQuery = /* @__PURE__ */ v.object({
|
|
11044
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.picklist([
|
|
11045
|
+
"discord",
|
|
11046
|
+
"email",
|
|
11047
|
+
"github",
|
|
11048
|
+
"github_enterprise",
|
|
11049
|
+
"jira",
|
|
11050
|
+
"jira_server",
|
|
11051
|
+
"msteams",
|
|
11052
|
+
"opsgenie",
|
|
11053
|
+
"pagerduty",
|
|
11054
|
+
"seer_workflow",
|
|
11055
|
+
"sentry_app",
|
|
11056
|
+
"slack",
|
|
11057
|
+
"slack_staging",
|
|
11058
|
+
"vsts",
|
|
11059
|
+
"webhook"
|
|
11060
|
+
])))
|
|
11061
|
+
});
|
|
11062
|
+
var vFetchOrganizationAvailableActionsResponse = /* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
11063
|
+
type: /* @__PURE__ */ v.string(),
|
|
11064
|
+
handlerGroup: /* @__PURE__ */ v.string(),
|
|
11065
|
+
configSchema: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()),
|
|
11066
|
+
dataSchema: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()),
|
|
11067
|
+
sentryApp: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
11068
|
+
id: /* @__PURE__ */ v.string(),
|
|
11069
|
+
name: /* @__PURE__ */ v.string(),
|
|
11070
|
+
installationId: /* @__PURE__ */ v.string(),
|
|
11071
|
+
installationUuid: /* @__PURE__ */ v.string(),
|
|
11072
|
+
status: /* @__PURE__ */ v.string(),
|
|
11073
|
+
settings: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
11074
|
+
title: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
11075
|
+
})),
|
|
11076
|
+
integrations: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
11077
|
+
id: /* @__PURE__ */ v.string(),
|
|
11078
|
+
name: /* @__PURE__ */ v.string(),
|
|
11079
|
+
services: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
11080
|
+
id: /* @__PURE__ */ v.string(),
|
|
11081
|
+
name: /* @__PURE__ */ v.string()
|
|
11082
|
+
})))
|
|
11083
|
+
}))),
|
|
11084
|
+
services: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
11085
|
+
slug: /* @__PURE__ */ v.string(),
|
|
11086
|
+
name: /* @__PURE__ */ v.string()
|
|
11087
|
+
}))),
|
|
11088
|
+
disabledReason: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["plan"]))
|
|
11089
|
+
}));
|
|
10342
11090
|
var vGetOrganizationChunkUploadOptionsPath = /* @__PURE__ */ v.object({
|
|
10343
11091
|
organization_id_or_slug: /* @__PURE__ */ v.string()
|
|
10344
11092
|
});
|
|
@@ -10568,8 +11316,8 @@ var vListOrganizationDashboardsResponse = /* @__PURE__ */ v.array(/* @__PURE__ *
|
|
|
10568
11316
|
globalFilter: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())))
|
|
10569
11317
|
}),
|
|
10570
11318
|
lastVisited: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.isoTimestamp())),
|
|
10571
|
-
widgetDisplay: /* @__PURE__ */ v.array(/* @__PURE__ */ v.string()),
|
|
10572
|
-
widgetPreview: /* @__PURE__ */ v.array(/* @__PURE__ */ v.
|
|
11319
|
+
widgetDisplay: /* @__PURE__ */ v.array(/* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string())),
|
|
11320
|
+
widgetPreview: /* @__PURE__ */ v.array(/* @__PURE__ */ v.object({})),
|
|
10573
11321
|
permissions: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.object({
|
|
10574
11322
|
isEditableByEveryone: /* @__PURE__ */ v.boolean(),
|
|
10575
11323
|
teamsWithEditAccess: /* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))
|
|
@@ -10676,7 +11424,7 @@ var vCreateOrganizationDashboardResponse = /* @__PURE__ */ v.object({
|
|
|
10676
11424
|
id: /* @__PURE__ */ v.string(),
|
|
10677
11425
|
title: /* @__PURE__ */ v.string(),
|
|
10678
11426
|
description: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
10679
|
-
displayType: /* @__PURE__ */ v.string(),
|
|
11427
|
+
displayType: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
10680
11428
|
thresholds: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.object({
|
|
10681
11429
|
preferredPolarity: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10682
11430
|
timeWindow: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
@@ -10759,7 +11507,7 @@ var vGetOrganizationDashboardResponse = /* @__PURE__ */ v.object({
|
|
|
10759
11507
|
id: /* @__PURE__ */ v.string(),
|
|
10760
11508
|
title: /* @__PURE__ */ v.string(),
|
|
10761
11509
|
description: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
10762
|
-
displayType: /* @__PURE__ */ v.string(),
|
|
11510
|
+
displayType: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
10763
11511
|
thresholds: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.object({
|
|
10764
11512
|
preferredPolarity: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10765
11513
|
timeWindow: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
@@ -10917,7 +11665,7 @@ var vUpdateOrganizationDashboardResponse = /* @__PURE__ */ v.object({
|
|
|
10917
11665
|
id: /* @__PURE__ */ v.string(),
|
|
10918
11666
|
title: /* @__PURE__ */ v.string(),
|
|
10919
11667
|
description: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
10920
|
-
displayType: /* @__PURE__ */ v.string(),
|
|
11668
|
+
displayType: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
10921
11669
|
thresholds: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.object({
|
|
10922
11670
|
preferredPolarity: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
10923
11671
|
timeWindow: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
@@ -11085,15 +11833,202 @@ var vGetOrganizationDetectorResponse = /* @__PURE__ */ v.object({
|
|
|
11085
11833
|
config: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()),
|
|
11086
11834
|
enabled: /* @__PURE__ */ v.boolean()
|
|
11087
11835
|
});
|
|
11088
|
-
var vUpdateOrganizationDetectorBody = /* @__PURE__ */ v.
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
|
|
11836
|
+
var vUpdateOrganizationDetectorBody = /* @__PURE__ */ v.intersect([/* @__PURE__ */ v.union([
|
|
11837
|
+
/* @__PURE__ */ v.object({
|
|
11838
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
11839
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["error"])),
|
|
11840
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
11841
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
11842
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({})),
|
|
11843
|
+
conditionGroup: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
11844
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11845
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11846
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean()),
|
|
11847
|
+
fingerprintingRules: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11848
|
+
resolveAge: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))
|
|
11849
|
+
}),
|
|
11850
|
+
/* @__PURE__ */ v.object({
|
|
11851
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
11852
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["metric_issue"])),
|
|
11853
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
11854
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
11855
|
+
query_type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
11856
|
+
dataset: /* @__PURE__ */ v.string(),
|
|
11857
|
+
query: /* @__PURE__ */ v.string(),
|
|
11858
|
+
aggregate: /* @__PURE__ */ v.string(),
|
|
11859
|
+
time_window: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()),
|
|
11860
|
+
environment: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(64))),
|
|
11861
|
+
event_types: /* @__PURE__ */ v.array(/* @__PURE__ */ v.string()),
|
|
11862
|
+
group_by: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)))),
|
|
11863
|
+
extrapolation_mode: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
11864
|
+
}))),
|
|
11865
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.variant("detectionType", [
|
|
11866
|
+
/* @__PURE__ */ v.object({
|
|
11867
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
11868
|
+
300,
|
|
11869
|
+
900,
|
|
11870
|
+
3600,
|
|
11871
|
+
86400,
|
|
11872
|
+
604800,
|
|
11873
|
+
2592e3
|
|
11874
|
+
])),
|
|
11875
|
+
detectionType: /* @__PURE__ */ v.picklist(["static"])
|
|
11876
|
+
}),
|
|
11877
|
+
/* @__PURE__ */ v.object({
|
|
11878
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
11879
|
+
300,
|
|
11880
|
+
900,
|
|
11881
|
+
3600,
|
|
11882
|
+
86400,
|
|
11883
|
+
604800,
|
|
11884
|
+
2592e3
|
|
11885
|
+
])),
|
|
11886
|
+
detectionType: /* @__PURE__ */ v.picklist(["percent"])
|
|
11887
|
+
}),
|
|
11888
|
+
/* @__PURE__ */ v.object({
|
|
11889
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
11890
|
+
300,
|
|
11891
|
+
900,
|
|
11892
|
+
3600,
|
|
11893
|
+
86400,
|
|
11894
|
+
604800,
|
|
11895
|
+
2592e3
|
|
11896
|
+
])),
|
|
11897
|
+
detectionType: /* @__PURE__ */ v.picklist(["dynamic"])
|
|
11898
|
+
})
|
|
11899
|
+
])),
|
|
11900
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
11901
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
11902
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
11903
|
+
"any",
|
|
11904
|
+
"any-short",
|
|
11905
|
+
"all",
|
|
11906
|
+
"none"
|
|
11907
|
+
]),
|
|
11908
|
+
conditions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())
|
|
11909
|
+
})),
|
|
11910
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11911
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11912
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
11913
|
+
}),
|
|
11914
|
+
/* @__PURE__ */ v.object({
|
|
11915
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
11916
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["monitor_check_in_failure"])),
|
|
11917
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
11918
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
11919
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(128))),
|
|
11920
|
+
slug: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(50), /* @__PURE__ */ v.regex(/^[-a-zA-Z0-9_]+$/))),
|
|
11921
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
11922
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11923
|
+
is_muted: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean()),
|
|
11924
|
+
config: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())
|
|
11925
|
+
}))),
|
|
11926
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
11927
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
11928
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
11929
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
11930
|
+
"any",
|
|
11931
|
+
"any-short",
|
|
11932
|
+
"all",
|
|
11933
|
+
"none"
|
|
11934
|
+
]),
|
|
11935
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
11936
|
+
})),
|
|
11937
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11938
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11939
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
11940
|
+
}),
|
|
11941
|
+
/* @__PURE__ */ v.object({
|
|
11942
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
11943
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["preprod_size_analysis"])),
|
|
11944
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
11945
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
11946
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({
|
|
11947
|
+
thresholdType: /* @__PURE__ */ v.picklist([
|
|
11948
|
+
"absolute_diff",
|
|
11949
|
+
"absolute",
|
|
11950
|
+
"relative_diff"
|
|
11951
|
+
]),
|
|
11952
|
+
measurement: /* @__PURE__ */ v.picklist(["install_size", "download_size"]),
|
|
11953
|
+
query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
11954
|
+
})),
|
|
11955
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
11956
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
11957
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
11958
|
+
"any",
|
|
11959
|
+
"any-short",
|
|
11960
|
+
"all",
|
|
11961
|
+
"none"
|
|
11962
|
+
]),
|
|
11963
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
11964
|
+
})),
|
|
11965
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11966
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11967
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
11968
|
+
}),
|
|
11969
|
+
/* @__PURE__ */ v.object({
|
|
11970
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
11971
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist(["uptime_domain_failure"])),
|
|
11972
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
11973
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
11974
|
+
url: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.url(), /* @__PURE__ */ v.maxLength(255)),
|
|
11975
|
+
headers: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
11976
|
+
timeout_ms: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1e3), /* @__PURE__ */ v.maxValue(6e4)),
|
|
11977
|
+
method: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist([
|
|
11978
|
+
"GET",
|
|
11979
|
+
"POST",
|
|
11980
|
+
"HEAD",
|
|
11981
|
+
"PUT",
|
|
11982
|
+
"DELETE",
|
|
11983
|
+
"PATCH",
|
|
11984
|
+
"OPTIONS"
|
|
11985
|
+
])),
|
|
11986
|
+
trace_sampling: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), false),
|
|
11987
|
+
response_capture_enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), true),
|
|
11988
|
+
body: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11989
|
+
interval_seconds: /* @__PURE__ */ v.picklist([
|
|
11990
|
+
60,
|
|
11991
|
+
300,
|
|
11992
|
+
600,
|
|
11993
|
+
1200,
|
|
11994
|
+
1800,
|
|
11995
|
+
3600
|
|
11996
|
+
]),
|
|
11997
|
+
assertion: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()))
|
|
11998
|
+
}))),
|
|
11999
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({
|
|
12000
|
+
mode: /* @__PURE__ */ v.picklist([
|
|
12001
|
+
1,
|
|
12002
|
+
2,
|
|
12003
|
+
3
|
|
12004
|
+
]),
|
|
12005
|
+
environment: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
12006
|
+
recoveryThreshold: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1)),
|
|
12007
|
+
downtimeThreshold: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1))
|
|
12008
|
+
})),
|
|
12009
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
12010
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
12011
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
12012
|
+
"any",
|
|
12013
|
+
"any-short",
|
|
12014
|
+
"all",
|
|
12015
|
+
"none"
|
|
12016
|
+
]),
|
|
12017
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
12018
|
+
})),
|
|
12019
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
12020
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
12021
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
12022
|
+
})
|
|
12023
|
+
]), /* @__PURE__ */ v.object({
|
|
12024
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200))),
|
|
12025
|
+
type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
12026
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
12027
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
11093
12028
|
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
11094
|
-
|
|
12029
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
11095
12030
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
11096
|
-
|
|
12031
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
11097
12032
|
"any",
|
|
11098
12033
|
"any-short",
|
|
11099
12034
|
"all",
|
|
@@ -11104,7 +12039,7 @@ var vUpdateOrganizationDetectorBody = /* @__PURE__ */ v.object({
|
|
|
11104
12039
|
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11105
12040
|
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
11106
12041
|
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
11107
|
-
});
|
|
12042
|
+
})]);
|
|
11108
12043
|
var vUpdateOrganizationDetectorPath = /* @__PURE__ */ v.object({
|
|
11109
12044
|
organization_id_or_slug: /* @__PURE__ */ v.string(),
|
|
11110
12045
|
detector_id: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())
|
|
@@ -15707,15 +16642,189 @@ var vCreateOrganizationProjectResponse = /* @__PURE__ */ v.object({
|
|
|
15707
16642
|
version: /* @__PURE__ */ v.string()
|
|
15708
16643
|
}))
|
|
15709
16644
|
});
|
|
15710
|
-
var vCreateOrganizationProjectDetectorBody = /* @__PURE__ */ v.
|
|
16645
|
+
var vCreateOrganizationProjectDetectorBody = /* @__PURE__ */ v.intersect([/* @__PURE__ */ v.union([
|
|
16646
|
+
/* @__PURE__ */ v.object({
|
|
16647
|
+
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
16648
|
+
type: /* @__PURE__ */ v.picklist(["metric_issue"]),
|
|
16649
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
16650
|
+
dataSources: /* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
16651
|
+
query_type: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
16652
|
+
dataset: /* @__PURE__ */ v.string(),
|
|
16653
|
+
query: /* @__PURE__ */ v.string(),
|
|
16654
|
+
aggregate: /* @__PURE__ */ v.string(),
|
|
16655
|
+
time_window: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()),
|
|
16656
|
+
environment: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(64))),
|
|
16657
|
+
event_types: /* @__PURE__ */ v.array(/* @__PURE__ */ v.string()),
|
|
16658
|
+
group_by: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)))),
|
|
16659
|
+
extrapolation_mode: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
16660
|
+
})),
|
|
16661
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.variant("detectionType", [
|
|
16662
|
+
/* @__PURE__ */ v.object({
|
|
16663
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
16664
|
+
300,
|
|
16665
|
+
900,
|
|
16666
|
+
3600,
|
|
16667
|
+
86400,
|
|
16668
|
+
604800,
|
|
16669
|
+
2592e3
|
|
16670
|
+
])),
|
|
16671
|
+
detectionType: /* @__PURE__ */ v.picklist(["static"])
|
|
16672
|
+
}),
|
|
16673
|
+
/* @__PURE__ */ v.object({
|
|
16674
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
16675
|
+
300,
|
|
16676
|
+
900,
|
|
16677
|
+
3600,
|
|
16678
|
+
86400,
|
|
16679
|
+
604800,
|
|
16680
|
+
2592e3
|
|
16681
|
+
])),
|
|
16682
|
+
detectionType: /* @__PURE__ */ v.picklist(["percent"])
|
|
16683
|
+
}),
|
|
16684
|
+
/* @__PURE__ */ v.object({
|
|
16685
|
+
comparisonDelta: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.picklist([
|
|
16686
|
+
300,
|
|
16687
|
+
900,
|
|
16688
|
+
3600,
|
|
16689
|
+
86400,
|
|
16690
|
+
604800,
|
|
16691
|
+
2592e3
|
|
16692
|
+
])),
|
|
16693
|
+
detectionType: /* @__PURE__ */ v.picklist(["dynamic"])
|
|
16694
|
+
})
|
|
16695
|
+
])),
|
|
16696
|
+
conditionGroup: /* @__PURE__ */ v.object({
|
|
16697
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
16698
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
16699
|
+
"any",
|
|
16700
|
+
"any-short",
|
|
16701
|
+
"all",
|
|
16702
|
+
"none"
|
|
16703
|
+
]),
|
|
16704
|
+
conditions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())
|
|
16705
|
+
}),
|
|
16706
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16707
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16708
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
16709
|
+
}),
|
|
16710
|
+
/* @__PURE__ */ v.object({
|
|
16711
|
+
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
16712
|
+
type: /* @__PURE__ */ v.picklist(["monitor_check_in_failure"]),
|
|
16713
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
16714
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
16715
|
+
name: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(128))),
|
|
16716
|
+
slug: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(50), /* @__PURE__ */ v.regex(/^[-a-zA-Z0-9_]+$/))),
|
|
16717
|
+
status: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
16718
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16719
|
+
is_muted: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean()),
|
|
16720
|
+
config: /* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())
|
|
16721
|
+
}))),
|
|
16722
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
16723
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
16724
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
16725
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
16726
|
+
"any",
|
|
16727
|
+
"any-short",
|
|
16728
|
+
"all",
|
|
16729
|
+
"none"
|
|
16730
|
+
]),
|
|
16731
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
16732
|
+
})),
|
|
16733
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16734
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16735
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
16736
|
+
}),
|
|
16737
|
+
/* @__PURE__ */ v.object({
|
|
16738
|
+
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
16739
|
+
type: /* @__PURE__ */ v.picklist(["preprod_size_analysis"]),
|
|
16740
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
16741
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
16742
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({
|
|
16743
|
+
thresholdType: /* @__PURE__ */ v.picklist([
|
|
16744
|
+
"absolute_diff",
|
|
16745
|
+
"absolute",
|
|
16746
|
+
"relative_diff"
|
|
16747
|
+
]),
|
|
16748
|
+
measurement: /* @__PURE__ */ v.picklist(["install_size", "download_size"]),
|
|
16749
|
+
query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string())
|
|
16750
|
+
})),
|
|
16751
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
16752
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
16753
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
16754
|
+
"any",
|
|
16755
|
+
"any-short",
|
|
16756
|
+
"all",
|
|
16757
|
+
"none"
|
|
16758
|
+
]),
|
|
16759
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
16760
|
+
})),
|
|
16761
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16762
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16763
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
16764
|
+
}),
|
|
16765
|
+
/* @__PURE__ */ v.object({
|
|
16766
|
+
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
16767
|
+
type: /* @__PURE__ */ v.picklist(["uptime_domain_failure"]),
|
|
16768
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
16769
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
16770
|
+
url: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.url(), /* @__PURE__ */ v.maxLength(255)),
|
|
16771
|
+
headers: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
16772
|
+
timeout_ms: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1e3), /* @__PURE__ */ v.maxValue(6e4)),
|
|
16773
|
+
method: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.picklist([
|
|
16774
|
+
"GET",
|
|
16775
|
+
"POST",
|
|
16776
|
+
"HEAD",
|
|
16777
|
+
"PUT",
|
|
16778
|
+
"DELETE",
|
|
16779
|
+
"PATCH",
|
|
16780
|
+
"OPTIONS"
|
|
16781
|
+
])),
|
|
16782
|
+
trace_sampling: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), false),
|
|
16783
|
+
response_capture_enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), true),
|
|
16784
|
+
body: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16785
|
+
interval_seconds: /* @__PURE__ */ v.picklist([
|
|
16786
|
+
60,
|
|
16787
|
+
300,
|
|
16788
|
+
600,
|
|
16789
|
+
1200,
|
|
16790
|
+
1800,
|
|
16791
|
+
3600
|
|
16792
|
+
]),
|
|
16793
|
+
assertion: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown()))
|
|
16794
|
+
}))),
|
|
16795
|
+
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.strictObject({
|
|
16796
|
+
mode: /* @__PURE__ */ v.picklist([
|
|
16797
|
+
1,
|
|
16798
|
+
2,
|
|
16799
|
+
3
|
|
16800
|
+
]),
|
|
16801
|
+
environment: /* @__PURE__ */ v.nullable(/* @__PURE__ */ v.string()),
|
|
16802
|
+
recoveryThreshold: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1)),
|
|
16803
|
+
downtimeThreshold: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer(), /* @__PURE__ */ v.minValue(1))
|
|
16804
|
+
})),
|
|
16805
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
16806
|
+
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
16807
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
16808
|
+
"any",
|
|
16809
|
+
"any-short",
|
|
16810
|
+
"all",
|
|
16811
|
+
"none"
|
|
16812
|
+
]),
|
|
16813
|
+
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
16814
|
+
})),
|
|
16815
|
+
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16816
|
+
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
16817
|
+
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
16818
|
+
})
|
|
16819
|
+
]), /* @__PURE__ */ v.object({
|
|
15711
16820
|
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(200)),
|
|
15712
16821
|
type: /* @__PURE__ */ v.string(),
|
|
15713
|
-
|
|
15714
|
-
|
|
16822
|
+
workflowIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
16823
|
+
dataSources: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
15715
16824
|
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
15716
|
-
|
|
16825
|
+
conditionGroup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
15717
16826
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
15718
|
-
|
|
16827
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
15719
16828
|
"any",
|
|
15720
16829
|
"any-short",
|
|
15721
16830
|
"all",
|
|
@@ -15726,7 +16835,7 @@ var vCreateOrganizationProjectDetectorBody = /* @__PURE__ */ v.object({
|
|
|
15726
16835
|
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
15727
16836
|
description: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
15728
16837
|
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean())
|
|
15729
|
-
});
|
|
16838
|
+
})]);
|
|
15730
16839
|
var vCreateOrganizationProjectDetectorPath = /* @__PURE__ */ v.object({
|
|
15731
16840
|
organization_id_or_slug: /* @__PURE__ */ v.string(),
|
|
15732
16841
|
project_id_or_slug: /* @__PURE__ */ v.string()
|
|
@@ -18289,29 +19398,24 @@ var vCreateOrganizationWorkflowBody = /* @__PURE__ */ v.object({
|
|
|
18289
19398
|
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(256)),
|
|
18290
19399
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
18291
19400
|
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), true),
|
|
18292
|
-
|
|
19401
|
+
detectorIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
18293
19402
|
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
18294
19403
|
environment: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
18295
19404
|
triggers: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
18296
19405
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
18297
|
-
|
|
18298
|
-
"any",
|
|
18299
|
-
"any-short",
|
|
18300
|
-
"all",
|
|
18301
|
-
"none"
|
|
18302
|
-
]),
|
|
19406
|
+
logicType: /* @__PURE__ */ v.picklist(["any-short"]),
|
|
18303
19407
|
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
18304
19408
|
})),
|
|
18305
|
-
|
|
19409
|
+
actionFilters: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
18306
19410
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
18307
|
-
|
|
19411
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
18308
19412
|
"any",
|
|
18309
19413
|
"any-short",
|
|
18310
19414
|
"all",
|
|
18311
19415
|
"none"
|
|
18312
19416
|
]),
|
|
18313
19417
|
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
18314
|
-
actions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.
|
|
19418
|
+
actions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())
|
|
18315
19419
|
}))),
|
|
18316
19420
|
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
18317
19421
|
});
|
|
@@ -18498,29 +19602,24 @@ var vUpdateOrganizationWorkflowBody = /* @__PURE__ */ v.object({
|
|
|
18498
19602
|
name: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.maxLength(256)),
|
|
18499
19603
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.string()),
|
|
18500
19604
|
enabled: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.boolean(), true),
|
|
18501
|
-
|
|
19605
|
+
detectorIds: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()))),
|
|
18502
19606
|
config: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.record(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.unknown())),
|
|
18503
19607
|
environment: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string()),
|
|
18504
19608
|
triggers: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
|
|
18505
19609
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
18506
|
-
|
|
18507
|
-
"any",
|
|
18508
|
-
"any-short",
|
|
18509
|
-
"all",
|
|
18510
|
-
"none"
|
|
18511
|
-
]),
|
|
19610
|
+
logicType: /* @__PURE__ */ v.picklist(["any-short"]),
|
|
18512
19611
|
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown()))
|
|
18513
19612
|
})),
|
|
18514
|
-
|
|
19613
|
+
actionFilters: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.object({
|
|
18515
19614
|
id: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer())),
|
|
18516
|
-
|
|
19615
|
+
logicType: /* @__PURE__ */ v.picklist([
|
|
18517
19616
|
"any",
|
|
18518
19617
|
"any-short",
|
|
18519
19618
|
"all",
|
|
18520
19619
|
"none"
|
|
18521
19620
|
]),
|
|
18522
19621
|
conditions: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())),
|
|
18523
|
-
actions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.
|
|
19622
|
+
actions: /* @__PURE__ */ v.array(/* @__PURE__ */ v.unknown())
|
|
18524
19623
|
}))),
|
|
18525
19624
|
owner: /* @__PURE__ */ v.nullish(/* @__PURE__ */ v.string())
|
|
18526
19625
|
});
|
|
@@ -25199,6 +26298,11 @@ var vAssembleOrganizationArtifactBundleData = /* @__PURE__ */ v.object({
|
|
|
25199
26298
|
path: vAssembleOrganizationArtifactBundlePath,
|
|
25200
26299
|
query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.never())
|
|
25201
26300
|
});
|
|
26301
|
+
var vFetchOrganizationAvailableActionsData = /* @__PURE__ */ v.object({
|
|
26302
|
+
body: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.never()),
|
|
26303
|
+
path: vFetchOrganizationAvailableActionsPath,
|
|
26304
|
+
query: /* @__PURE__ */ v.optional(vFetchOrganizationAvailableActionsQuery)
|
|
26305
|
+
});
|
|
25202
26306
|
var vGetOrganizationChunkUploadOptionsData = /* @__PURE__ */ v.object({
|
|
25203
26307
|
body: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.never()),
|
|
25204
26308
|
path: vGetOrganizationChunkUploadOptionsPath,
|
|
@@ -25295,7 +26399,7 @@ var vGetOrganizationDetectorData = /* @__PURE__ */ v.object({
|
|
|
25295
26399
|
query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.never())
|
|
25296
26400
|
});
|
|
25297
26401
|
var vUpdateOrganizationDetectorData = /* @__PURE__ */ v.object({
|
|
25298
|
-
body: vUpdateOrganizationDetectorBody,
|
|
26402
|
+
body: /* @__PURE__ */ v.optional(vUpdateOrganizationDetectorBody),
|
|
25299
26403
|
path: vUpdateOrganizationDetectorPath,
|
|
25300
26404
|
query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.never())
|
|
25301
26405
|
});
|
|
@@ -26567,7 +27671,6 @@ export {
|
|
|
26567
27671
|
vAutofixPostResponse,
|
|
26568
27672
|
vAutofixStateResponse,
|
|
26569
27673
|
vBaseDataConditionGroupValidator,
|
|
26570
|
-
vBaseDetectorTypeValidator,
|
|
26571
27674
|
vBaseTeam,
|
|
26572
27675
|
vBranchOverride,
|
|
26573
27676
|
vBulkCodeMappingsPartialResponse,
|
|
@@ -26838,6 +27941,8 @@ export {
|
|
|
26838
27941
|
vDeployResponse,
|
|
26839
27942
|
vDetailedProject,
|
|
26840
27943
|
vDetector,
|
|
27944
|
+
vDetectorCreateRequest,
|
|
27945
|
+
vDetectorUpdateRequest,
|
|
26841
27946
|
vDiscoverSavedQuery,
|
|
26842
27947
|
vDiscoverSavedQueryListResponse,
|
|
26843
27948
|
vDiscoverSavedQueryModel,
|
|
@@ -26858,6 +27963,10 @@ export {
|
|
|
26858
27963
|
vExternalTeam,
|
|
26859
27964
|
vExternalUser,
|
|
26860
27965
|
vExternalUserWritable,
|
|
27966
|
+
vFetchOrganizationAvailableActionsData,
|
|
27967
|
+
vFetchOrganizationAvailableActionsPath,
|
|
27968
|
+
vFetchOrganizationAvailableActionsQuery,
|
|
27969
|
+
vFetchOrganizationAvailableActionsResponse,
|
|
26861
27970
|
vFilters,
|
|
26862
27971
|
vGetFlagLogResponse,
|
|
26863
27972
|
vGetOrganizationChunkUploadOptionsData,
|
|
@@ -27089,6 +28198,7 @@ export {
|
|
|
27089
28198
|
vLinkProjectRepositoryPath,
|
|
27090
28199
|
vLinkProjectRepositoryResponse,
|
|
27091
28200
|
vLinkedDashboard,
|
|
28201
|
+
vListAvailableActionResponse,
|
|
27092
28202
|
vListClientKeysResponse,
|
|
27093
28203
|
vListDataForwarderResponse,
|
|
27094
28204
|
vListDetectorSerializerResponse,
|
|
@@ -27450,7 +28560,9 @@ export {
|
|
|
27450
28560
|
vListTraceItemAttributesResponse,
|
|
27451
28561
|
vListWorkflow,
|
|
27452
28562
|
vMappingItem,
|
|
28563
|
+
vMetricIssueConditionGroupValidator,
|
|
27453
28564
|
vMonitor,
|
|
28565
|
+
vMonitorDataSourceValidator,
|
|
27454
28566
|
vMonitorList,
|
|
27455
28567
|
vMonitorValidator,
|
|
27456
28568
|
vNotificationAction,
|
|
@@ -27584,6 +28696,7 @@ export {
|
|
|
27584
28696
|
vSnapshotCreateResponse,
|
|
27585
28697
|
vSnapshotDetailsResponse,
|
|
27586
28698
|
vSnapshotImageDetailResponse,
|
|
28699
|
+
vSnubaQueryValidator,
|
|
27587
28700
|
vSource,
|
|
27588
28701
|
vSourceMapDebug,
|
|
27589
28702
|
vStackPrefixesResponse,
|
|
@@ -27780,11 +28893,14 @@ export {
|
|
|
27780
28893
|
vUploadProjectReleaseFileData,
|
|
27781
28894
|
vUploadProjectReleaseFilePath,
|
|
27782
28895
|
vUploadProjectReleaseFileResponse,
|
|
28896
|
+
vUptimeDomainCheckFailureConfigValidator,
|
|
28897
|
+
vUptimeMonitorDataSourceValidator,
|
|
27783
28898
|
vValidateOrganizationIntegrationChannelData,
|
|
27784
28899
|
vValidateOrganizationIntegrationChannelPath,
|
|
27785
28900
|
vValidateOrganizationIntegrationChannelQuery,
|
|
27786
28901
|
vValidateOrganizationIntegrationChannelResponse,
|
|
27787
28902
|
vWidgetLayout,
|
|
27788
28903
|
vWorkflow,
|
|
28904
|
+
vWorkflowAction,
|
|
27789
28905
|
vWorkflowValidator
|
|
27790
28906
|
};
|