@sentry/api 0.228.0 → 0.230.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/types.gen.d.ts +40 -0
- package/dist/zod.gen.d.ts +72 -0
- package/dist/zod.js +18 -2
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -4590,6 +4590,23 @@ export type ListTraceItemAttributesResponse = Array<{
|
|
|
4590
4590
|
is_transformed_alias?: boolean;
|
|
4591
4591
|
};
|
|
4592
4592
|
attributeType: 'string' | 'number' | 'boolean';
|
|
4593
|
+
/**
|
|
4594
|
+
* Additional, mostly-static metadata about an attribute sourced from the
|
|
4595
|
+
* sentry conventions (``sentry_conventions.attributes.ATTRIBUTE_METADATA``).
|
|
4596
|
+
*
|
|
4597
|
+
* Only attributes that map to a known sentry convention have context, and
|
|
4598
|
+
* within the context only the fields actually present in the conventions
|
|
4599
|
+
* metadata are included. This is only attached when the caller passes
|
|
4600
|
+
* ``expand=context`` and the ``data-browsing-attribute-context`` feature is
|
|
4601
|
+
* enabled.
|
|
4602
|
+
*/
|
|
4603
|
+
context?: {
|
|
4604
|
+
brief: string;
|
|
4605
|
+
isDeprecated: boolean;
|
|
4606
|
+
details?: Array<string>;
|
|
4607
|
+
examples?: Array<unknown>;
|
|
4608
|
+
replacementAttribute?: string;
|
|
4609
|
+
};
|
|
4593
4610
|
}>;
|
|
4594
4611
|
export type ListWorkflow = Array<{
|
|
4595
4612
|
id: string;
|
|
@@ -6665,6 +6682,9 @@ export type OrganizationTraceResponse = Array<{
|
|
|
6665
6682
|
measurements: {
|
|
6666
6683
|
[key: string]: unknown;
|
|
6667
6684
|
};
|
|
6685
|
+
browser_web_vital: {
|
|
6686
|
+
[key: string]: unknown;
|
|
6687
|
+
};
|
|
6668
6688
|
op: string;
|
|
6669
6689
|
name: string;
|
|
6670
6690
|
parent_span_id: string | null;
|
|
@@ -21566,6 +21586,23 @@ export type ListOrganizationTraceItemAttributesResponses = {
|
|
|
21566
21586
|
is_transformed_alias?: boolean;
|
|
21567
21587
|
};
|
|
21568
21588
|
attributeType: 'string' | 'number' | 'boolean';
|
|
21589
|
+
/**
|
|
21590
|
+
* Additional, mostly-static metadata about an attribute sourced from the
|
|
21591
|
+
* sentry conventions (``sentry_conventions.attributes.ATTRIBUTE_METADATA``).
|
|
21592
|
+
*
|
|
21593
|
+
* Only attributes that map to a known sentry convention have context, and
|
|
21594
|
+
* within the context only the fields actually present in the conventions
|
|
21595
|
+
* metadata are included. This is only attached when the caller passes
|
|
21596
|
+
* ``expand=context`` and the ``data-browsing-attribute-context`` feature is
|
|
21597
|
+
* enabled.
|
|
21598
|
+
*/
|
|
21599
|
+
context?: {
|
|
21600
|
+
brief: string;
|
|
21601
|
+
isDeprecated: boolean;
|
|
21602
|
+
details?: Array<string>;
|
|
21603
|
+
examples?: Array<unknown>;
|
|
21604
|
+
replacementAttribute?: string;
|
|
21605
|
+
};
|
|
21569
21606
|
}>;
|
|
21570
21607
|
};
|
|
21571
21608
|
export type ListOrganizationTraceItemAttributesResponse = ListOrganizationTraceItemAttributesResponses[keyof ListOrganizationTraceItemAttributesResponses];
|
|
@@ -21755,6 +21792,9 @@ export type GetOrganizationTraceResponses = {
|
|
|
21755
21792
|
measurements: {
|
|
21756
21793
|
[key: string]: unknown;
|
|
21757
21794
|
};
|
|
21795
|
+
browser_web_vital: {
|
|
21796
|
+
[key: string]: unknown;
|
|
21797
|
+
};
|
|
21758
21798
|
op: string;
|
|
21759
21799
|
name: string;
|
|
21760
21800
|
parent_span_id: string | null;
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -13211,6 +13211,25 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
|
|
|
13211
13211
|
is_transformed_alias?: boolean | undefined;
|
|
13212
13212
|
}>;
|
|
13213
13213
|
attributeType: z.ZodEnum<["string", "number", "boolean"]>;
|
|
13214
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
13215
|
+
brief: z.ZodString;
|
|
13216
|
+
isDeprecated: z.ZodBoolean;
|
|
13217
|
+
details: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13218
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
13219
|
+
replacementAttribute: z.ZodOptional<z.ZodString>;
|
|
13220
|
+
}, "strip", z.ZodTypeAny, {
|
|
13221
|
+
isDeprecated: boolean;
|
|
13222
|
+
brief: string;
|
|
13223
|
+
details?: string[] | undefined;
|
|
13224
|
+
examples?: unknown[] | undefined;
|
|
13225
|
+
replacementAttribute?: string | undefined;
|
|
13226
|
+
}, {
|
|
13227
|
+
isDeprecated: boolean;
|
|
13228
|
+
brief: string;
|
|
13229
|
+
details?: string[] | undefined;
|
|
13230
|
+
examples?: unknown[] | undefined;
|
|
13231
|
+
replacementAttribute?: string | undefined;
|
|
13232
|
+
}>>;
|
|
13214
13233
|
}, "strip", z.ZodTypeAny, {
|
|
13215
13234
|
name: string;
|
|
13216
13235
|
key: string;
|
|
@@ -13219,6 +13238,13 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
|
|
|
13219
13238
|
source_type: "user" | "sentry";
|
|
13220
13239
|
is_transformed_alias?: boolean | undefined;
|
|
13221
13240
|
};
|
|
13241
|
+
context?: {
|
|
13242
|
+
isDeprecated: boolean;
|
|
13243
|
+
brief: string;
|
|
13244
|
+
details?: string[] | undefined;
|
|
13245
|
+
examples?: unknown[] | undefined;
|
|
13246
|
+
replacementAttribute?: string | undefined;
|
|
13247
|
+
} | undefined;
|
|
13222
13248
|
secondaryAliases?: string[] | undefined;
|
|
13223
13249
|
}, {
|
|
13224
13250
|
name: string;
|
|
@@ -13228,6 +13254,13 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
|
|
|
13228
13254
|
source_type: "user" | "sentry";
|
|
13229
13255
|
is_transformed_alias?: boolean | undefined;
|
|
13230
13256
|
};
|
|
13257
|
+
context?: {
|
|
13258
|
+
isDeprecated: boolean;
|
|
13259
|
+
brief: string;
|
|
13260
|
+
details?: string[] | undefined;
|
|
13261
|
+
examples?: unknown[] | undefined;
|
|
13262
|
+
replacementAttribute?: string | undefined;
|
|
13263
|
+
} | undefined;
|
|
13231
13264
|
secondaryAliases?: string[] | undefined;
|
|
13232
13265
|
}>, "many">;
|
|
13233
13266
|
export declare const zListWorkflow: z.ZodArray<z.ZodObject<{
|
|
@@ -18301,6 +18334,7 @@ export declare const zOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObj
|
|
|
18301
18334
|
duration: z.ZodNumber;
|
|
18302
18335
|
end_timestamp: z.ZodString;
|
|
18303
18336
|
measurements: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
18337
|
+
browser_web_vital: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
18304
18338
|
op: z.ZodString;
|
|
18305
18339
|
name: z.ZodString;
|
|
18306
18340
|
parent_span_id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -18363,6 +18397,7 @@ export declare const zOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObj
|
|
|
18363
18397
|
issue_type: number;
|
|
18364
18398
|
end_timestamp?: number | undefined;
|
|
18365
18399
|
}[];
|
|
18400
|
+
browser_web_vital: Record<string, unknown>;
|
|
18366
18401
|
op: string;
|
|
18367
18402
|
parent_span_id: string | null;
|
|
18368
18403
|
sdk_name: string;
|
|
@@ -18421,6 +18456,7 @@ export declare const zOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObj
|
|
|
18421
18456
|
issue_type: number;
|
|
18422
18457
|
end_timestamp?: number | undefined;
|
|
18423
18458
|
}[];
|
|
18459
|
+
browser_web_vital: Record<string, unknown>;
|
|
18424
18460
|
op: string;
|
|
18425
18461
|
parent_span_id: string | null;
|
|
18426
18462
|
sdk_name: string;
|
|
@@ -52894,6 +52930,25 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
|
|
|
52894
52930
|
is_transformed_alias?: boolean | undefined;
|
|
52895
52931
|
}>;
|
|
52896
52932
|
attributeType: z.ZodEnum<["string", "number", "boolean"]>;
|
|
52933
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
52934
|
+
brief: z.ZodString;
|
|
52935
|
+
isDeprecated: z.ZodBoolean;
|
|
52936
|
+
details: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
52937
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
52938
|
+
replacementAttribute: z.ZodOptional<z.ZodString>;
|
|
52939
|
+
}, "strip", z.ZodTypeAny, {
|
|
52940
|
+
isDeprecated: boolean;
|
|
52941
|
+
brief: string;
|
|
52942
|
+
details?: string[] | undefined;
|
|
52943
|
+
examples?: unknown[] | undefined;
|
|
52944
|
+
replacementAttribute?: string | undefined;
|
|
52945
|
+
}, {
|
|
52946
|
+
isDeprecated: boolean;
|
|
52947
|
+
brief: string;
|
|
52948
|
+
details?: string[] | undefined;
|
|
52949
|
+
examples?: unknown[] | undefined;
|
|
52950
|
+
replacementAttribute?: string | undefined;
|
|
52951
|
+
}>>;
|
|
52897
52952
|
}, "strip", z.ZodTypeAny, {
|
|
52898
52953
|
name: string;
|
|
52899
52954
|
key: string;
|
|
@@ -52902,6 +52957,13 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
|
|
|
52902
52957
|
source_type: "user" | "sentry";
|
|
52903
52958
|
is_transformed_alias?: boolean | undefined;
|
|
52904
52959
|
};
|
|
52960
|
+
context?: {
|
|
52961
|
+
isDeprecated: boolean;
|
|
52962
|
+
brief: string;
|
|
52963
|
+
details?: string[] | undefined;
|
|
52964
|
+
examples?: unknown[] | undefined;
|
|
52965
|
+
replacementAttribute?: string | undefined;
|
|
52966
|
+
} | undefined;
|
|
52905
52967
|
secondaryAliases?: string[] | undefined;
|
|
52906
52968
|
}, {
|
|
52907
52969
|
name: string;
|
|
@@ -52911,6 +52973,13 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
|
|
|
52911
52973
|
source_type: "user" | "sentry";
|
|
52912
52974
|
is_transformed_alias?: boolean | undefined;
|
|
52913
52975
|
};
|
|
52976
|
+
context?: {
|
|
52977
|
+
isDeprecated: boolean;
|
|
52978
|
+
brief: string;
|
|
52979
|
+
details?: string[] | undefined;
|
|
52980
|
+
examples?: unknown[] | undefined;
|
|
52981
|
+
replacementAttribute?: string | undefined;
|
|
52982
|
+
} | undefined;
|
|
52914
52983
|
secondaryAliases?: string[] | undefined;
|
|
52915
52984
|
}>, "many">;
|
|
52916
52985
|
export declare const zGetOrganizationTraceMetaData: z.ZodObject<{
|
|
@@ -53180,6 +53249,7 @@ export declare const zGetOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.Zod
|
|
|
53180
53249
|
duration: z.ZodNumber;
|
|
53181
53250
|
end_timestamp: z.ZodString;
|
|
53182
53251
|
measurements: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
53252
|
+
browser_web_vital: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
53183
53253
|
op: z.ZodString;
|
|
53184
53254
|
name: z.ZodString;
|
|
53185
53255
|
parent_span_id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -53242,6 +53312,7 @@ export declare const zGetOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.Zod
|
|
|
53242
53312
|
issue_type: number;
|
|
53243
53313
|
end_timestamp?: number | undefined;
|
|
53244
53314
|
}[];
|
|
53315
|
+
browser_web_vital: Record<string, unknown>;
|
|
53245
53316
|
op: string;
|
|
53246
53317
|
parent_span_id: string | null;
|
|
53247
53318
|
sdk_name: string;
|
|
@@ -53300,6 +53371,7 @@ export declare const zGetOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.Zod
|
|
|
53300
53371
|
issue_type: number;
|
|
53301
53372
|
end_timestamp?: number | undefined;
|
|
53302
53373
|
}[];
|
|
53374
|
+
browser_web_vital: Record<string, unknown>;
|
|
53303
53375
|
op: string;
|
|
53304
53376
|
parent_span_id: string | null;
|
|
53305
53377
|
sdk_name: string;
|
package/dist/zod.js
CHANGED
|
@@ -5369,7 +5369,14 @@ var zListTraceItemAttributesResponse = z.array(z.object({
|
|
|
5369
5369
|
"string",
|
|
5370
5370
|
"number",
|
|
5371
5371
|
"boolean"
|
|
5372
|
-
])
|
|
5372
|
+
]),
|
|
5373
|
+
context: z.object({
|
|
5374
|
+
brief: z.string(),
|
|
5375
|
+
isDeprecated: z.boolean(),
|
|
5376
|
+
details: z.array(z.string()).optional(),
|
|
5377
|
+
examples: z.array(z.unknown()).optional(),
|
|
5378
|
+
replacementAttribute: z.string().optional()
|
|
5379
|
+
}).optional()
|
|
5373
5380
|
}));
|
|
5374
5381
|
var zListWorkflow = z.array(z.object({
|
|
5375
5382
|
id: z.string(),
|
|
@@ -7622,6 +7629,7 @@ var zOrganizationTraceResponse = z.array(z.union([
|
|
|
7622
7629
|
duration: z.number(),
|
|
7623
7630
|
end_timestamp: z.string().datetime(),
|
|
7624
7631
|
measurements: z.record(z.unknown()),
|
|
7632
|
+
browser_web_vital: z.record(z.unknown()),
|
|
7625
7633
|
op: z.string(),
|
|
7626
7634
|
name: z.string(),
|
|
7627
7635
|
parent_span_id: z.union([
|
|
@@ -20119,7 +20127,14 @@ var zListOrganizationTraceItemAttributesResponse = z.array(z.object({
|
|
|
20119
20127
|
"string",
|
|
20120
20128
|
"number",
|
|
20121
20129
|
"boolean"
|
|
20122
|
-
])
|
|
20130
|
+
]),
|
|
20131
|
+
context: z.object({
|
|
20132
|
+
brief: z.string(),
|
|
20133
|
+
isDeprecated: z.boolean(),
|
|
20134
|
+
details: z.array(z.string()).optional(),
|
|
20135
|
+
examples: z.array(z.unknown()).optional(),
|
|
20136
|
+
replacementAttribute: z.string().optional()
|
|
20137
|
+
}).optional()
|
|
20123
20138
|
}));
|
|
20124
20139
|
var zGetOrganizationTraceMetaData = z.object({
|
|
20125
20140
|
body: z.never().optional(),
|
|
@@ -20221,6 +20236,7 @@ var zGetOrganizationTraceResponse = z.array(z.union([
|
|
|
20221
20236
|
duration: z.number(),
|
|
20222
20237
|
end_timestamp: z.string().datetime(),
|
|
20223
20238
|
measurements: z.record(z.unknown()),
|
|
20239
|
+
browser_web_vital: z.record(z.unknown()),
|
|
20224
20240
|
op: z.string(),
|
|
20225
20241
|
name: z.string(),
|
|
20226
20242
|
parent_span_id: z.union([
|