@sentry/api 0.302.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 +103 -0
- package/dist/valibot.gen.d.ts +39 -0
- package/dist/valibot.js +61 -0
- package/dist/zod.gen.d.ts +512 -365
- package/dist/zod.js +73 -0
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -6174,6 +6174,27 @@ var zListOrganizationTagsResponse = z.array(z.object({
|
|
|
6174
6174
|
key: z.string(),
|
|
6175
6175
|
name: z.string()
|
|
6176
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
|
+
}));
|
|
6177
6198
|
var zListOrganizations = z.array(z.object({
|
|
6178
6199
|
features: z.array(z.string()).optional(),
|
|
6179
6200
|
extraOptions: z.record(z.record(z.unknown())).optional(),
|
|
@@ -24314,6 +24335,55 @@ var zListOrganizationTraceItemAttributesResponse = z.array(z.object({
|
|
|
24314
24335
|
"array"
|
|
24315
24336
|
])
|
|
24316
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
|
+
}));
|
|
24317
24387
|
var zListOrganizationTraceItemsStatsData = z.object({
|
|
24318
24388
|
body: z.never().optional(),
|
|
24319
24389
|
path: z.object({
|
|
@@ -33274,6 +33344,9 @@ export {
|
|
|
33274
33344
|
zListOrganizationWorkflowsData,
|
|
33275
33345
|
zListOrganizationUserTeamsResponse,
|
|
33276
33346
|
zListOrganizationUserTeamsData,
|
|
33347
|
+
zListOrganizationTraceMetricsResponse2,
|
|
33348
|
+
zListOrganizationTraceMetricsResponse,
|
|
33349
|
+
zListOrganizationTraceMetricsData,
|
|
33277
33350
|
zListOrganizationTraceItemsStatsResponse,
|
|
33278
33351
|
zListOrganizationTraceItemsStatsData,
|
|
33279
33352
|
zListOrganizationTraceItemAttributesResponse,
|