@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/valibot.gen.d.ts
CHANGED
|
@@ -3110,6 +3110,17 @@ export declare const vListOrganizationTagsResponse: v.ArraySchema<v.ObjectSchema
|
|
|
3110
3110
|
readonly key: v.StringSchema<undefined>;
|
|
3111
3111
|
readonly name: v.StringSchema<undefined>;
|
|
3112
3112
|
}, undefined>, undefined>;
|
|
3113
|
+
export declare const vListOrganizationTraceMetricsResponse: v.ArraySchema<v.ObjectSchema<{
|
|
3114
|
+
readonly name: v.StringSchema<undefined>;
|
|
3115
|
+
readonly type: v.PicklistSchema<["counter", "gauge", "distribution"], undefined>;
|
|
3116
|
+
readonly unit: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
3117
|
+
readonly count: v.NumberSchema<undefined>;
|
|
3118
|
+
readonly lastSeen: v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
3119
|
+
readonly context: v.OptionalSchema<v.ObjectSchema<{
|
|
3120
|
+
readonly brief: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3121
|
+
readonly details: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3122
|
+
}, undefined>, undefined>;
|
|
3123
|
+
}, undefined>, undefined>;
|
|
3113
3124
|
export declare const vListOrganizations: v.ArraySchema<v.ObjectSchema<{
|
|
3114
3125
|
readonly features: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3115
3126
|
readonly extraOptions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
|
|
@@ -12901,6 +12912,34 @@ export declare const vListOrganizationTraceItemAttributesResponse: v.ArraySchema
|
|
|
12901
12912
|
}, undefined>;
|
|
12902
12913
|
readonly attributeType: v.PicklistSchema<["string", "number", "boolean", "array"], undefined>;
|
|
12903
12914
|
}, undefined>, undefined>;
|
|
12915
|
+
export declare const vListOrganizationTraceMetricsData: v.ObjectSchema<{
|
|
12916
|
+
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
12917
|
+
readonly path: v.ObjectSchema<{
|
|
12918
|
+
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
12919
|
+
}, undefined>;
|
|
12920
|
+
readonly query: v.OptionalSchema<v.ObjectSchema<{
|
|
12921
|
+
readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
|
|
12922
|
+
readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
12923
|
+
readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12924
|
+
readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
12925
|
+
readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
12926
|
+
readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12927
|
+
readonly sort: v.OptionalSchema<v.PicklistSchema<["-count", "-lastSeen", "-name", "-type", "-unit", "count", "lastSeen", "name", "type", "unit"], undefined>, undefined>;
|
|
12928
|
+
readonly expand: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["context"], undefined>, undefined>, undefined>;
|
|
12929
|
+
readonly contextOnly: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
12930
|
+
}, undefined>, undefined>;
|
|
12931
|
+
}, undefined>;
|
|
12932
|
+
export declare const vListOrganizationTraceMetricsResponse2: v.ArraySchema<v.ObjectSchema<{
|
|
12933
|
+
readonly name: v.StringSchema<undefined>;
|
|
12934
|
+
readonly type: v.PicklistSchema<["counter", "gauge", "distribution"], undefined>;
|
|
12935
|
+
readonly unit: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
12936
|
+
readonly count: v.NumberSchema<undefined>;
|
|
12937
|
+
readonly lastSeen: v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
12938
|
+
readonly context: v.OptionalSchema<v.ObjectSchema<{
|
|
12939
|
+
readonly brief: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12940
|
+
readonly details: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
12941
|
+
}, undefined>, undefined>;
|
|
12942
|
+
}, undefined>, undefined>;
|
|
12904
12943
|
export declare const vListOrganizationTraceItemsStatsData: v.ObjectSchema<{
|
|
12905
12944
|
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
12906
12945
|
readonly path: v.ObjectSchema<{
|
package/dist/valibot.js
CHANGED
|
@@ -3907,6 +3907,21 @@ var vListOrganizationTagsResponse = v.array(v.object({
|
|
|
3907
3907
|
key: v.string(),
|
|
3908
3908
|
name: v.string()
|
|
3909
3909
|
}));
|
|
3910
|
+
var vListOrganizationTraceMetricsResponse = v.array(v.object({
|
|
3911
|
+
name: v.string(),
|
|
3912
|
+
type: v.picklist([
|
|
3913
|
+
"counter",
|
|
3914
|
+
"gauge",
|
|
3915
|
+
"distribution"
|
|
3916
|
+
]),
|
|
3917
|
+
unit: v.union([v.string(), v.null()]),
|
|
3918
|
+
count: v.number(),
|
|
3919
|
+
lastSeen: v.union([v.number(), v.null()]),
|
|
3920
|
+
context: v.optional(v.object({
|
|
3921
|
+
brief: v.optional(v.string()),
|
|
3922
|
+
details: v.optional(v.array(v.string()))
|
|
3923
|
+
}))
|
|
3924
|
+
}));
|
|
3910
3925
|
var vListOrganizations = v.array(v.object({
|
|
3911
3926
|
features: v.optional(v.array(v.string())),
|
|
3912
3927
|
extraOptions: v.optional(v.record(v.string(), v.record(v.string(), v.unknown()))),
|
|
@@ -16285,6 +16300,49 @@ var vListOrganizationTraceItemAttributesResponse = v.array(v.object({
|
|
|
16285
16300
|
"array"
|
|
16286
16301
|
])
|
|
16287
16302
|
}));
|
|
16303
|
+
var vListOrganizationTraceMetricsData = v.object({
|
|
16304
|
+
body: v.optional(v.never()),
|
|
16305
|
+
path: v.object({
|
|
16306
|
+
organization_id_or_slug: v.string()
|
|
16307
|
+
}),
|
|
16308
|
+
query: v.optional(v.object({
|
|
16309
|
+
project: v.optional(v.array(v.unknown())),
|
|
16310
|
+
environment: v.optional(v.array(v.string())),
|
|
16311
|
+
statsPeriod: v.optional(v.string()),
|
|
16312
|
+
start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
|
|
16313
|
+
end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
|
|
16314
|
+
query: v.optional(v.string()),
|
|
16315
|
+
sort: v.optional(v.picklist([
|
|
16316
|
+
"-count",
|
|
16317
|
+
"-lastSeen",
|
|
16318
|
+
"-name",
|
|
16319
|
+
"-type",
|
|
16320
|
+
"-unit",
|
|
16321
|
+
"count",
|
|
16322
|
+
"lastSeen",
|
|
16323
|
+
"name",
|
|
16324
|
+
"type",
|
|
16325
|
+
"unit"
|
|
16326
|
+
])),
|
|
16327
|
+
expand: v.optional(v.array(v.picklist(["context"]))),
|
|
16328
|
+
contextOnly: v.optional(v.boolean())
|
|
16329
|
+
}))
|
|
16330
|
+
});
|
|
16331
|
+
var vListOrganizationTraceMetricsResponse2 = v.array(v.object({
|
|
16332
|
+
name: v.string(),
|
|
16333
|
+
type: v.picklist([
|
|
16334
|
+
"counter",
|
|
16335
|
+
"gauge",
|
|
16336
|
+
"distribution"
|
|
16337
|
+
]),
|
|
16338
|
+
unit: v.union([v.string(), v.null()]),
|
|
16339
|
+
count: v.number(),
|
|
16340
|
+
lastSeen: v.union([v.number(), v.null()]),
|
|
16341
|
+
context: v.optional(v.object({
|
|
16342
|
+
brief: v.optional(v.string()),
|
|
16343
|
+
details: v.optional(v.array(v.string()))
|
|
16344
|
+
}))
|
|
16345
|
+
}));
|
|
16288
16346
|
var vListOrganizationTraceItemsStatsData = v.object({
|
|
16289
16347
|
body: v.optional(v.never()),
|
|
16290
16348
|
path: v.object({
|
|
@@ -22731,6 +22789,9 @@ export {
|
|
|
22731
22789
|
vListOrganizationWorkflowsData,
|
|
22732
22790
|
vListOrganizationUserTeamsResponse,
|
|
22733
22791
|
vListOrganizationUserTeamsData,
|
|
22792
|
+
vListOrganizationTraceMetricsResponse2,
|
|
22793
|
+
vListOrganizationTraceMetricsResponse,
|
|
22794
|
+
vListOrganizationTraceMetricsData,
|
|
22734
22795
|
vListOrganizationTraceItemsStatsResponse,
|
|
22735
22796
|
vListOrganizationTraceItemsStatsData,
|
|
22736
22797
|
vListOrganizationTraceItemAttributesResponse,
|