@sentry/api 0.282.0 → 0.284.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/index.d.ts +1 -1
- package/dist/index.js +12 -0
- package/dist/pagination.gen.d.ts +31 -1
- package/dist/types.gen.d.ts +207 -18
- package/dist/valibot.gen.d.ts +72 -4
- package/dist/valibot.js +99 -8
- package/dist/zod.gen.d.ts +284 -26
- package/dist/zod.js +126 -8
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -1369,8 +1369,7 @@ var zDashboard = z.object({
|
|
|
1369
1369
|
x: z.number().int().gte(0).lte(5),
|
|
1370
1370
|
y: z.number().int().gte(0),
|
|
1371
1371
|
w: z.number().int().gte(1).lte(6),
|
|
1372
|
-
h: z.number().int().gte(1)
|
|
1373
|
-
min_h: z.number().int().gte(1)
|
|
1372
|
+
h: z.number().int().gte(1)
|
|
1374
1373
|
}),
|
|
1375
1374
|
z.null()
|
|
1376
1375
|
]).optional(),
|
|
@@ -1405,6 +1404,102 @@ var zDashboard = z.object({
|
|
|
1405
1404
|
]).optional(),
|
|
1406
1405
|
is_favorited: z.boolean().optional().default(false)
|
|
1407
1406
|
});
|
|
1407
|
+
var zDashboardCreateWidget = z.object({
|
|
1408
|
+
id: z.string().optional(),
|
|
1409
|
+
title: z.string().max(255).optional(),
|
|
1410
|
+
description: z.union([
|
|
1411
|
+
z.string(),
|
|
1412
|
+
z.null()
|
|
1413
|
+
]).optional(),
|
|
1414
|
+
thresholds: z.union([
|
|
1415
|
+
z.record(z.unknown()),
|
|
1416
|
+
z.null()
|
|
1417
|
+
]).optional(),
|
|
1418
|
+
display_type: z.enum([
|
|
1419
|
+
"line",
|
|
1420
|
+
"area",
|
|
1421
|
+
"bar",
|
|
1422
|
+
"table",
|
|
1423
|
+
"big_number",
|
|
1424
|
+
"details",
|
|
1425
|
+
"categorical_bar",
|
|
1426
|
+
"wheel",
|
|
1427
|
+
"rage_and_dead_clicks",
|
|
1428
|
+
"server_tree",
|
|
1429
|
+
"text",
|
|
1430
|
+
"agents_traces_table",
|
|
1431
|
+
"heatmap"
|
|
1432
|
+
]).optional(),
|
|
1433
|
+
interval: z.string().max(10).optional(),
|
|
1434
|
+
queries: z.array(z.object({
|
|
1435
|
+
id: z.string().optional(),
|
|
1436
|
+
fields: z.array(z.string()).optional(),
|
|
1437
|
+
aggregates: z.union([
|
|
1438
|
+
z.array(z.string()),
|
|
1439
|
+
z.null()
|
|
1440
|
+
]).optional(),
|
|
1441
|
+
columns: z.union([
|
|
1442
|
+
z.array(z.string()),
|
|
1443
|
+
z.null()
|
|
1444
|
+
]).optional(),
|
|
1445
|
+
field_aliases: z.union([
|
|
1446
|
+
z.array(z.string()),
|
|
1447
|
+
z.null()
|
|
1448
|
+
]).optional(),
|
|
1449
|
+
name: z.string().optional(),
|
|
1450
|
+
conditions: z.string().optional(),
|
|
1451
|
+
orderby: z.string().optional(),
|
|
1452
|
+
is_hidden: z.boolean().optional(),
|
|
1453
|
+
on_demand_extraction: z.object({
|
|
1454
|
+
extraction_state: z.string().optional(),
|
|
1455
|
+
enabled: z.boolean().optional()
|
|
1456
|
+
}).optional(),
|
|
1457
|
+
on_demand_extraction_disabled: z.boolean().optional(),
|
|
1458
|
+
selected_aggregate: z.union([
|
|
1459
|
+
z.number().int(),
|
|
1460
|
+
z.null()
|
|
1461
|
+
]).optional(),
|
|
1462
|
+
linked_dashboards: z.union([
|
|
1463
|
+
z.array(z.object({
|
|
1464
|
+
field: z.string(),
|
|
1465
|
+
dashboard_id: z.string()
|
|
1466
|
+
})),
|
|
1467
|
+
z.null()
|
|
1468
|
+
]).optional()
|
|
1469
|
+
})).optional(),
|
|
1470
|
+
widget_type: z.enum([
|
|
1471
|
+
"discover",
|
|
1472
|
+
"issue",
|
|
1473
|
+
"metrics",
|
|
1474
|
+
"error-events",
|
|
1475
|
+
"transaction-like",
|
|
1476
|
+
"spans",
|
|
1477
|
+
"logs",
|
|
1478
|
+
"tracemetrics",
|
|
1479
|
+
"preprod-app-size"
|
|
1480
|
+
]).nullable().optional(),
|
|
1481
|
+
limit: z.union([
|
|
1482
|
+
z.number().int().gte(1),
|
|
1483
|
+
z.null()
|
|
1484
|
+
]).optional(),
|
|
1485
|
+
layout: z.union([
|
|
1486
|
+
z.object({
|
|
1487
|
+
x: z.number().int().gte(0).lte(5),
|
|
1488
|
+
y: z.number().int().gte(0),
|
|
1489
|
+
w: z.number().int().gte(1).lte(6),
|
|
1490
|
+
h: z.number().int().gte(1)
|
|
1491
|
+
}),
|
|
1492
|
+
z.null()
|
|
1493
|
+
]).optional(),
|
|
1494
|
+
axis_range: z.enum(["auto", "dataMin"]).nullable().optional(),
|
|
1495
|
+
legend_type: z.enum(["default", "breakdown"]).nullable().optional()
|
|
1496
|
+
});
|
|
1497
|
+
var zDashboardCreateWidgetLayout = z.object({
|
|
1498
|
+
x: z.number().int().gte(0).lte(5),
|
|
1499
|
+
y: z.number().int().gte(0),
|
|
1500
|
+
w: z.number().int().gte(1).lte(6),
|
|
1501
|
+
h: z.number().int().gte(1)
|
|
1502
|
+
});
|
|
1408
1503
|
var zDashboardDetails = z.object({
|
|
1409
1504
|
id: z.string().optional(),
|
|
1410
1505
|
title: z.string().max(255).optional(),
|
|
@@ -12807,6 +12902,18 @@ var zListOrganizationDashboardsData = z.object({
|
|
|
12807
12902
|
organization_id_or_slug: z.string()
|
|
12808
12903
|
}),
|
|
12809
12904
|
query: z.object({
|
|
12905
|
+
filter: z.array(z.enum([
|
|
12906
|
+
"excludeFavorites",
|
|
12907
|
+
"excludePrebuilt",
|
|
12908
|
+
"onlyFavorites",
|
|
12909
|
+
"onlyPrebuilt",
|
|
12910
|
+
"owned",
|
|
12911
|
+
"shared",
|
|
12912
|
+
"showHidden"
|
|
12913
|
+
])).optional(),
|
|
12914
|
+
query: z.string().optional(),
|
|
12915
|
+
sort: z.string().optional(),
|
|
12916
|
+
pin: z.enum(["favorites"]).optional(),
|
|
12810
12917
|
per_page: z.number().int().optional(),
|
|
12811
12918
|
cursor: z.string().min(1).optional()
|
|
12812
12919
|
}).optional()
|
|
@@ -12984,8 +13091,7 @@ var zCreateOrganizationDashboardData = z.object({
|
|
|
12984
13091
|
x: z.number().int().gte(0).lte(5),
|
|
12985
13092
|
y: z.number().int().gte(0),
|
|
12986
13093
|
w: z.number().int().gte(1).lte(6),
|
|
12987
|
-
h: z.number().int().gte(1)
|
|
12988
|
-
min_h: z.number().int().gte(1)
|
|
13094
|
+
h: z.number().int().gte(1)
|
|
12989
13095
|
}),
|
|
12990
13096
|
z.null()
|
|
12991
13097
|
]).optional(),
|
|
@@ -13720,7 +13826,9 @@ var zListOrganizationDetectorsData = z.object({
|
|
|
13720
13826
|
project: z.array(z.union([z.number().int(), z.string()])).optional(),
|
|
13721
13827
|
query: z.string().optional(),
|
|
13722
13828
|
sortBy: z.string().optional(),
|
|
13723
|
-
id: z.array(z.number().int()).optional()
|
|
13829
|
+
id: z.array(z.number().int()).optional(),
|
|
13830
|
+
per_page: z.number().int().optional(),
|
|
13831
|
+
cursor: z.string().min(1).optional()
|
|
13724
13832
|
}).optional()
|
|
13725
13833
|
});
|
|
13726
13834
|
var zListOrganizationDetectorsResponse = z.array(z.object({
|
|
@@ -14684,6 +14792,7 @@ var zListOrganizationEventsData = z.object({
|
|
|
14684
14792
|
]),
|
|
14685
14793
|
end: z.string().datetime().optional(),
|
|
14686
14794
|
environment: z.array(z.string()).optional(),
|
|
14795
|
+
referrer: z.string().optional(),
|
|
14687
14796
|
project: z.array(z.union([z.number().int(), z.string()])).optional(),
|
|
14688
14797
|
start: z.string().datetime().optional(),
|
|
14689
14798
|
statsPeriod: z.string().optional(),
|
|
@@ -21257,11 +21366,12 @@ var zListOrganizationReplaysData = z.object({
|
|
|
21257
21366
|
])).optional(),
|
|
21258
21367
|
project: z.array(z.union([z.number().int(), z.string()])).optional(),
|
|
21259
21368
|
projectSlug: z.array(z.string()).optional(),
|
|
21260
|
-
environment: z.
|
|
21369
|
+
environment: z.array(z.string()).optional(),
|
|
21261
21370
|
sort: z.string().min(1).optional(),
|
|
21262
21371
|
sortBy: z.string().min(1).optional(),
|
|
21263
21372
|
orderBy: z.string().min(1).optional(),
|
|
21264
21373
|
query: z.string().min(1).optional(),
|
|
21374
|
+
queryReferrer: z.string().min(1).optional(),
|
|
21265
21375
|
per_page: z.number().int().optional(),
|
|
21266
21376
|
cursor: z.string().min(1).optional()
|
|
21267
21377
|
}).optional()
|
|
@@ -21498,11 +21608,12 @@ var zGetOrganizationReplayData = z.object({
|
|
|
21498
21608
|
])).optional(),
|
|
21499
21609
|
project: z.array(z.union([z.number().int(), z.string()])).optional(),
|
|
21500
21610
|
projectSlug: z.array(z.string()).optional(),
|
|
21501
|
-
environment: z.
|
|
21611
|
+
environment: z.array(z.string()).optional(),
|
|
21502
21612
|
sort: z.string().min(1).optional(),
|
|
21503
21613
|
sortBy: z.string().min(1).optional(),
|
|
21504
21614
|
orderBy: z.string().min(1).optional(),
|
|
21505
21615
|
query: z.string().min(1).optional(),
|
|
21616
|
+
queryReferrer: z.string().min(1).optional(),
|
|
21506
21617
|
per_page: z.number().int().optional(),
|
|
21507
21618
|
cursor: z.string().min(1).optional()
|
|
21508
21619
|
}).optional()
|
|
@@ -23012,6 +23123,8 @@ var zListOrganizationTraceItemAttributesData = z.object({
|
|
|
23012
23123
|
statsPeriod: z.string().optional(),
|
|
23013
23124
|
start: z.string().datetime().optional(),
|
|
23014
23125
|
end: z.string().datetime().optional(),
|
|
23126
|
+
environment: z.array(z.string()).optional(),
|
|
23127
|
+
project: z.array(z.union([z.number().int(), z.string()])).optional(),
|
|
23015
23128
|
dataset: z.enum([
|
|
23016
23129
|
"logs",
|
|
23017
23130
|
"preprod",
|
|
@@ -23458,7 +23571,10 @@ var zListOrganizationWorkflowsData = z.object({
|
|
|
23458
23571
|
sortBy: z.string().optional(),
|
|
23459
23572
|
query: z.string().optional(),
|
|
23460
23573
|
id: z.array(z.number().int()).optional(),
|
|
23461
|
-
|
|
23574
|
+
detector: z.array(z.number().int()).optional(),
|
|
23575
|
+
project: z.array(z.union([z.number().int(), z.string()])).optional(),
|
|
23576
|
+
per_page: z.number().int().optional(),
|
|
23577
|
+
cursor: z.string().min(1).optional()
|
|
23462
23578
|
}).optional()
|
|
23463
23579
|
});
|
|
23464
23580
|
var zListOrganizationWorkflowsResponse = z.array(z.object({
|
|
@@ -32101,6 +32217,8 @@ export {
|
|
|
32101
32217
|
zDashboardListResponse,
|
|
32102
32218
|
zDashboardDetailsModel,
|
|
32103
32219
|
zDashboardDetails,
|
|
32220
|
+
zDashboardCreateWidgetLayout,
|
|
32221
|
+
zDashboardCreateWidget,
|
|
32104
32222
|
zDashboard,
|
|
32105
32223
|
zCreateTeamProjectResponse,
|
|
32106
32224
|
zCreateTeamProjectData,
|