@sentry/api 0.301.0 → 0.303.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 +8 -0
- package/dist/sdk.gen.d.ts +9 -1
- package/dist/types.gen.d.ts +115 -0
- package/dist/valibot.gen.d.ts +51 -0
- package/dist/valibot.js +73 -0
- package/dist/zod.gen.d.ts +433 -250
- package/dist/zod.js +103 -0
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -2453,6 +2453,11 @@ var zDiscoverSavedQueryListResponse = z.array(z.object({
|
|
|
2453
2453
|
interval: z.string().optional(),
|
|
2454
2454
|
exploreQuery: z.record(z.unknown()).optional(),
|
|
2455
2455
|
lastVisited: z.string().optional(),
|
|
2456
|
+
starred: z.boolean().optional(),
|
|
2457
|
+
position: z.union([
|
|
2458
|
+
z.number().int(),
|
|
2459
|
+
z.null()
|
|
2460
|
+
]).optional(),
|
|
2456
2461
|
id: z.string(),
|
|
2457
2462
|
name: z.string(),
|
|
2458
2463
|
projects: z.array(z.number().int()),
|
|
@@ -2537,6 +2542,11 @@ var zDiscoverSavedQueryModel = z.object({
|
|
|
2537
2542
|
interval: z.string().optional(),
|
|
2538
2543
|
exploreQuery: z.record(z.unknown()).optional(),
|
|
2539
2544
|
lastVisited: z.string().optional(),
|
|
2545
|
+
starred: z.boolean().optional(),
|
|
2546
|
+
position: z.union([
|
|
2547
|
+
z.number().int(),
|
|
2548
|
+
z.null()
|
|
2549
|
+
]).optional(),
|
|
2540
2550
|
id: z.string(),
|
|
2541
2551
|
name: z.string(),
|
|
2542
2552
|
projects: z.array(z.number().int()),
|
|
@@ -6164,6 +6174,27 @@ var zListOrganizationTagsResponse = z.array(z.object({
|
|
|
6164
6174
|
key: z.string(),
|
|
6165
6175
|
name: z.string()
|
|
6166
6176
|
}));
|
|
6177
|
+
var zListOrganizationTraceMetricsResponse = z.array(z.object({
|
|
6178
|
+
name: z.string(),
|
|
6179
|
+
type: z.enum([
|
|
6180
|
+
"counter",
|
|
6181
|
+
"gauge",
|
|
6182
|
+
"distribution"
|
|
6183
|
+
]),
|
|
6184
|
+
unit: z.union([
|
|
6185
|
+
z.string(),
|
|
6186
|
+
z.null()
|
|
6187
|
+
]),
|
|
6188
|
+
count: z.number(),
|
|
6189
|
+
lastSeen: z.union([
|
|
6190
|
+
z.number(),
|
|
6191
|
+
z.null()
|
|
6192
|
+
]),
|
|
6193
|
+
context: z.object({
|
|
6194
|
+
brief: z.string().optional(),
|
|
6195
|
+
details: z.array(z.string()).optional()
|
|
6196
|
+
}).optional()
|
|
6197
|
+
}));
|
|
6167
6198
|
var zListOrganizations = z.array(z.object({
|
|
6168
6199
|
features: z.array(z.string()).optional(),
|
|
6169
6200
|
extraOptions: z.record(z.record(z.unknown())).optional(),
|
|
@@ -14841,6 +14872,11 @@ var zListOrganizationDiscoverSavedQueriesResponse = z.array(z.object({
|
|
|
14841
14872
|
interval: z.string().optional(),
|
|
14842
14873
|
exploreQuery: z.record(z.unknown()).optional(),
|
|
14843
14874
|
lastVisited: z.string().optional(),
|
|
14875
|
+
starred: z.boolean().optional(),
|
|
14876
|
+
position: z.union([
|
|
14877
|
+
z.number().int(),
|
|
14878
|
+
z.null()
|
|
14879
|
+
]).optional(),
|
|
14844
14880
|
id: z.string(),
|
|
14845
14881
|
name: z.string(),
|
|
14846
14882
|
projects: z.array(z.number().int()),
|
|
@@ -15012,6 +15048,11 @@ var zCreateOrganizationDiscoverSavedQueryResponse = z.object({
|
|
|
15012
15048
|
interval: z.string().optional(),
|
|
15013
15049
|
exploreQuery: z.record(z.unknown()).optional(),
|
|
15014
15050
|
lastVisited: z.string().optional(),
|
|
15051
|
+
starred: z.boolean().optional(),
|
|
15052
|
+
position: z.union([
|
|
15053
|
+
z.number().int(),
|
|
15054
|
+
z.null()
|
|
15055
|
+
]).optional(),
|
|
15015
15056
|
id: z.string(),
|
|
15016
15057
|
name: z.string(),
|
|
15017
15058
|
projects: z.array(z.number().int()),
|
|
@@ -15113,6 +15154,11 @@ var zGetOrganizationDiscoverSavedQueryResponse = z.object({
|
|
|
15113
15154
|
interval: z.string().optional(),
|
|
15114
15155
|
exploreQuery: z.record(z.unknown()).optional(),
|
|
15115
15156
|
lastVisited: z.string().optional(),
|
|
15157
|
+
starred: z.boolean().optional(),
|
|
15158
|
+
position: z.union([
|
|
15159
|
+
z.number().int(),
|
|
15160
|
+
z.null()
|
|
15161
|
+
]).optional(),
|
|
15116
15162
|
id: z.string(),
|
|
15117
15163
|
name: z.string(),
|
|
15118
15164
|
projects: z.array(z.number().int()),
|
|
@@ -15285,6 +15331,11 @@ var zUpdateOrganizationDiscoverSavedQueryResponse = z.object({
|
|
|
15285
15331
|
interval: z.string().optional(),
|
|
15286
15332
|
exploreQuery: z.record(z.unknown()).optional(),
|
|
15287
15333
|
lastVisited: z.string().optional(),
|
|
15334
|
+
starred: z.boolean().optional(),
|
|
15335
|
+
position: z.union([
|
|
15336
|
+
z.number().int(),
|
|
15337
|
+
z.null()
|
|
15338
|
+
]).optional(),
|
|
15288
15339
|
id: z.string(),
|
|
15289
15340
|
name: z.string(),
|
|
15290
15341
|
projects: z.array(z.number().int()),
|
|
@@ -24284,6 +24335,55 @@ var zListOrganizationTraceItemAttributesResponse = z.array(z.object({
|
|
|
24284
24335
|
"array"
|
|
24285
24336
|
])
|
|
24286
24337
|
}));
|
|
24338
|
+
var zListOrganizationTraceMetricsData = z.object({
|
|
24339
|
+
body: z.never().optional(),
|
|
24340
|
+
path: z.object({
|
|
24341
|
+
organization_id_or_slug: z.string()
|
|
24342
|
+
}),
|
|
24343
|
+
query: z.object({
|
|
24344
|
+
project: z.array(z.union([z.number().int(), z.string()])).optional(),
|
|
24345
|
+
environment: z.array(z.string()).optional(),
|
|
24346
|
+
statsPeriod: z.string().optional(),
|
|
24347
|
+
start: z.string().datetime().optional(),
|
|
24348
|
+
end: z.string().datetime().optional(),
|
|
24349
|
+
query: z.string().optional(),
|
|
24350
|
+
sort: z.enum([
|
|
24351
|
+
"-count",
|
|
24352
|
+
"-lastSeen",
|
|
24353
|
+
"-name",
|
|
24354
|
+
"-type",
|
|
24355
|
+
"-unit",
|
|
24356
|
+
"count",
|
|
24357
|
+
"lastSeen",
|
|
24358
|
+
"name",
|
|
24359
|
+
"type",
|
|
24360
|
+
"unit"
|
|
24361
|
+
]).optional(),
|
|
24362
|
+
expand: z.array(z.enum(["context"])).optional(),
|
|
24363
|
+
contextOnly: z.boolean().optional()
|
|
24364
|
+
}).optional()
|
|
24365
|
+
});
|
|
24366
|
+
var zListOrganizationTraceMetricsResponse2 = z.array(z.object({
|
|
24367
|
+
name: z.string(),
|
|
24368
|
+
type: z.enum([
|
|
24369
|
+
"counter",
|
|
24370
|
+
"gauge",
|
|
24371
|
+
"distribution"
|
|
24372
|
+
]),
|
|
24373
|
+
unit: z.union([
|
|
24374
|
+
z.string(),
|
|
24375
|
+
z.null()
|
|
24376
|
+
]),
|
|
24377
|
+
count: z.number(),
|
|
24378
|
+
lastSeen: z.union([
|
|
24379
|
+
z.number(),
|
|
24380
|
+
z.null()
|
|
24381
|
+
]),
|
|
24382
|
+
context: z.object({
|
|
24383
|
+
brief: z.string().optional(),
|
|
24384
|
+
details: z.array(z.string()).optional()
|
|
24385
|
+
}).optional()
|
|
24386
|
+
}));
|
|
24287
24387
|
var zListOrganizationTraceItemsStatsData = z.object({
|
|
24288
24388
|
body: z.never().optional(),
|
|
24289
24389
|
path: z.object({
|
|
@@ -33244,6 +33344,9 @@ export {
|
|
|
33244
33344
|
zListOrganizationWorkflowsData,
|
|
33245
33345
|
zListOrganizationUserTeamsResponse,
|
|
33246
33346
|
zListOrganizationUserTeamsData,
|
|
33347
|
+
zListOrganizationTraceMetricsResponse2,
|
|
33348
|
+
zListOrganizationTraceMetricsResponse,
|
|
33349
|
+
zListOrganizationTraceMetricsData,
|
|
33247
33350
|
zListOrganizationTraceItemsStatsResponse,
|
|
33248
33351
|
zListOrganizationTraceItemsStatsData,
|
|
33249
33352
|
zListOrganizationTraceItemAttributesResponse,
|