@sentry/api 0.258.0 → 0.259.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.
@@ -5361,24 +5361,6 @@ export type ListTraceItemAttributesResponse = Array<{
5361
5361
  is_transformed_alias?: boolean;
5362
5362
  };
5363
5363
  attributeType: 'string' | 'number' | 'boolean' | 'array';
5364
- /**
5365
- * Additional, mostly-static metadata about an attribute.
5366
- *
5367
- * When ``expand=context`` is requested, context is attached to every attribute.
5368
- * Metadata comes from the sentry conventions, Sentry's own column definitions,
5369
- * or user-authored context (gated behind ``data-browsing-attribute-context``),
5370
- * in that precedence order. Only the fields available are included, so an
5371
- * attribute with no metadata gets an empty context.
5372
- */
5373
- context?: {
5374
- isConvention?: boolean;
5375
- isCustom?: boolean;
5376
- brief?: string;
5377
- isDeprecated?: boolean;
5378
- details?: Array<string>;
5379
- examples?: Array<unknown>;
5380
- replacementAttribute?: string;
5381
- };
5382
5364
  }>;
5383
5365
  export type ListWorkflow = Array<{
5384
5366
  id: string;
@@ -23571,24 +23553,6 @@ export type ListOrganizationTraceItemAttributesResponses = {
23571
23553
  is_transformed_alias?: boolean;
23572
23554
  };
23573
23555
  attributeType: 'string' | 'number' | 'boolean' | 'array';
23574
- /**
23575
- * Additional, mostly-static metadata about an attribute.
23576
- *
23577
- * When ``expand=context`` is requested, context is attached to every attribute.
23578
- * Metadata comes from the sentry conventions, Sentry's own column definitions,
23579
- * or user-authored context (gated behind ``data-browsing-attribute-context``),
23580
- * in that precedence order. Only the fields available are included, so an
23581
- * attribute with no metadata gets an empty context.
23582
- */
23583
- context?: {
23584
- isConvention?: boolean;
23585
- isCustom?: boolean;
23586
- brief?: string;
23587
- isDeprecated?: boolean;
23588
- details?: Array<string>;
23589
- examples?: Array<unknown>;
23590
- replacementAttribute?: string;
23591
- };
23592
23556
  }>;
23593
23557
  };
23594
23558
  export type ListOrganizationTraceItemAttributesResponse = ListOrganizationTraceItemAttributesResponses[keyof ListOrganizationTraceItemAttributesResponses];
@@ -3414,15 +3414,6 @@ export declare const vListTraceItemAttributesResponse: v.ArraySchema<v.ObjectSch
3414
3414
  readonly is_transformed_alias: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3415
3415
  }, undefined>;
3416
3416
  readonly attributeType: v.PicklistSchema<["string", "number", "boolean", "array"], undefined>;
3417
- readonly context: v.OptionalSchema<v.ObjectSchema<{
3418
- readonly isConvention: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3419
- readonly isCustom: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3420
- readonly brief: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3421
- readonly isDeprecated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3422
- readonly details: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
3423
- readonly examples: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
3424
- readonly replacementAttribute: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3425
- }, undefined>, undefined>;
3426
3417
  }, undefined>, undefined>;
3427
3418
  export declare const vListWorkflow: v.ArraySchema<v.ObjectSchema<{
3428
3419
  readonly id: v.StringSchema<undefined>;
@@ -12191,15 +12182,6 @@ export declare const vListOrganizationTraceItemAttributesResponse: v.ArraySchema
12191
12182
  readonly is_transformed_alias: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
12192
12183
  }, undefined>;
12193
12184
  readonly attributeType: v.PicklistSchema<["string", "number", "boolean", "array"], undefined>;
12194
- readonly context: v.OptionalSchema<v.ObjectSchema<{
12195
- readonly isConvention: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
12196
- readonly isCustom: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
12197
- readonly brief: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
12198
- readonly isDeprecated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
12199
- readonly details: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
12200
- readonly examples: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
12201
- readonly replacementAttribute: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
12202
- }, undefined>, undefined>;
12203
12185
  }, undefined>, undefined>;
12204
12186
  export declare const vListOrganizationTraceItemsStatsData: v.ObjectSchema<{
12205
12187
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
package/dist/valibot.js CHANGED
@@ -4187,16 +4187,7 @@ var vListTraceItemAttributesResponse = v.array(v.object({
4187
4187
  "number",
4188
4188
  "boolean",
4189
4189
  "array"
4190
- ]),
4191
- context: v.optional(v.object({
4192
- isConvention: v.optional(v.boolean()),
4193
- isCustom: v.optional(v.boolean()),
4194
- brief: v.optional(v.string()),
4195
- isDeprecated: v.optional(v.boolean()),
4196
- details: v.optional(v.array(v.string())),
4197
- examples: v.optional(v.array(v.unknown())),
4198
- replacementAttribute: v.optional(v.string())
4199
- }))
4190
+ ])
4200
4191
  }));
4201
4192
  var vListWorkflow = v.array(v.object({
4202
4193
  id: v.string(),
@@ -15444,16 +15435,7 @@ var vListOrganizationTraceItemAttributesResponse = v.array(v.object({
15444
15435
  "number",
15445
15436
  "boolean",
15446
15437
  "array"
15447
- ]),
15448
- context: v.optional(v.object({
15449
- isConvention: v.optional(v.boolean()),
15450
- isCustom: v.optional(v.boolean()),
15451
- brief: v.optional(v.string()),
15452
- isDeprecated: v.optional(v.boolean()),
15453
- details: v.optional(v.array(v.string())),
15454
- examples: v.optional(v.array(v.unknown())),
15455
- replacementAttribute: v.optional(v.string())
15456
- }))
15438
+ ])
15457
15439
  }));
15458
15440
  var vListOrganizationTraceItemsStatsData = v.object({
15459
15441
  body: v.optional(v.never()),
package/dist/zod.gen.d.ts CHANGED
@@ -17208,31 +17208,6 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
17208
17208
  is_transformed_alias?: boolean | undefined;
17209
17209
  }>;
17210
17210
  attributeType: z.ZodEnum<["string", "number", "boolean", "array"]>;
17211
- context: z.ZodOptional<z.ZodObject<{
17212
- isConvention: z.ZodOptional<z.ZodBoolean>;
17213
- isCustom: z.ZodOptional<z.ZodBoolean>;
17214
- brief: z.ZodOptional<z.ZodString>;
17215
- isDeprecated: z.ZodOptional<z.ZodBoolean>;
17216
- details: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17217
- examples: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
17218
- replacementAttribute: z.ZodOptional<z.ZodString>;
17219
- }, "strip", z.ZodTypeAny, {
17220
- details?: string[] | undefined;
17221
- isConvention?: boolean | undefined;
17222
- isCustom?: boolean | undefined;
17223
- brief?: string | undefined;
17224
- isDeprecated?: boolean | undefined;
17225
- examples?: unknown[] | undefined;
17226
- replacementAttribute?: string | undefined;
17227
- }, {
17228
- details?: string[] | undefined;
17229
- isConvention?: boolean | undefined;
17230
- isCustom?: boolean | undefined;
17231
- brief?: string | undefined;
17232
- isDeprecated?: boolean | undefined;
17233
- examples?: unknown[] | undefined;
17234
- replacementAttribute?: string | undefined;
17235
- }>>;
17236
17211
  }, "strip", z.ZodTypeAny, {
17237
17212
  name: string;
17238
17213
  key: string;
@@ -17241,15 +17216,6 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
17241
17216
  source_type: "user" | "sentry";
17242
17217
  is_transformed_alias?: boolean | undefined;
17243
17218
  };
17244
- context?: {
17245
- details?: string[] | undefined;
17246
- isConvention?: boolean | undefined;
17247
- isCustom?: boolean | undefined;
17248
- brief?: string | undefined;
17249
- isDeprecated?: boolean | undefined;
17250
- examples?: unknown[] | undefined;
17251
- replacementAttribute?: string | undefined;
17252
- } | undefined;
17253
17219
  secondaryAliases?: string[] | undefined;
17254
17220
  }, {
17255
17221
  name: string;
@@ -17259,15 +17225,6 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
17259
17225
  source_type: "user" | "sentry";
17260
17226
  is_transformed_alias?: boolean | undefined;
17261
17227
  };
17262
- context?: {
17263
- details?: string[] | undefined;
17264
- isConvention?: boolean | undefined;
17265
- isCustom?: boolean | undefined;
17266
- brief?: string | undefined;
17267
- isDeprecated?: boolean | undefined;
17268
- examples?: unknown[] | undefined;
17269
- replacementAttribute?: string | undefined;
17270
- } | undefined;
17271
17228
  secondaryAliases?: string[] | undefined;
17272
17229
  }>, "many">;
17273
17230
  export declare const zListWorkflow: z.ZodArray<z.ZodObject<{
@@ -61008,31 +60965,6 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
61008
60965
  is_transformed_alias?: boolean | undefined;
61009
60966
  }>;
61010
60967
  attributeType: z.ZodEnum<["string", "number", "boolean", "array"]>;
61011
- context: z.ZodOptional<z.ZodObject<{
61012
- isConvention: z.ZodOptional<z.ZodBoolean>;
61013
- isCustom: z.ZodOptional<z.ZodBoolean>;
61014
- brief: z.ZodOptional<z.ZodString>;
61015
- isDeprecated: z.ZodOptional<z.ZodBoolean>;
61016
- details: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61017
- examples: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
61018
- replacementAttribute: z.ZodOptional<z.ZodString>;
61019
- }, "strip", z.ZodTypeAny, {
61020
- details?: string[] | undefined;
61021
- isConvention?: boolean | undefined;
61022
- isCustom?: boolean | undefined;
61023
- brief?: string | undefined;
61024
- isDeprecated?: boolean | undefined;
61025
- examples?: unknown[] | undefined;
61026
- replacementAttribute?: string | undefined;
61027
- }, {
61028
- details?: string[] | undefined;
61029
- isConvention?: boolean | undefined;
61030
- isCustom?: boolean | undefined;
61031
- brief?: string | undefined;
61032
- isDeprecated?: boolean | undefined;
61033
- examples?: unknown[] | undefined;
61034
- replacementAttribute?: string | undefined;
61035
- }>>;
61036
60968
  }, "strip", z.ZodTypeAny, {
61037
60969
  name: string;
61038
60970
  key: string;
@@ -61041,15 +60973,6 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
61041
60973
  source_type: "user" | "sentry";
61042
60974
  is_transformed_alias?: boolean | undefined;
61043
60975
  };
61044
- context?: {
61045
- details?: string[] | undefined;
61046
- isConvention?: boolean | undefined;
61047
- isCustom?: boolean | undefined;
61048
- brief?: string | undefined;
61049
- isDeprecated?: boolean | undefined;
61050
- examples?: unknown[] | undefined;
61051
- replacementAttribute?: string | undefined;
61052
- } | undefined;
61053
60976
  secondaryAliases?: string[] | undefined;
61054
60977
  }, {
61055
60978
  name: string;
@@ -61059,15 +60982,6 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
61059
60982
  source_type: "user" | "sentry";
61060
60983
  is_transformed_alias?: boolean | undefined;
61061
60984
  };
61062
- context?: {
61063
- details?: string[] | undefined;
61064
- isConvention?: boolean | undefined;
61065
- isCustom?: boolean | undefined;
61066
- brief?: string | undefined;
61067
- isDeprecated?: boolean | undefined;
61068
- examples?: unknown[] | undefined;
61069
- replacementAttribute?: string | undefined;
61070
- } | undefined;
61071
60985
  secondaryAliases?: string[] | undefined;
61072
60986
  }>, "many">;
61073
60987
  export declare const zListOrganizationTraceItemsStatsData: z.ZodObject<{
package/dist/zod.js CHANGED
@@ -6761,16 +6761,7 @@ var zListTraceItemAttributesResponse = z.array(z.object({
6761
6761
  "number",
6762
6762
  "boolean",
6763
6763
  "array"
6764
- ]),
6765
- context: z.object({
6766
- isConvention: z.boolean().optional(),
6767
- isCustom: z.boolean().optional(),
6768
- brief: z.string().optional(),
6769
- isDeprecated: z.boolean().optional(),
6770
- details: z.array(z.string()).optional(),
6771
- examples: z.array(z.unknown()).optional(),
6772
- replacementAttribute: z.string().optional()
6773
- }).optional()
6764
+ ])
6774
6765
  }));
6775
6766
  var zListWorkflow = z.array(z.object({
6776
6767
  id: z.string(),
@@ -23051,16 +23042,7 @@ var zListOrganizationTraceItemAttributesResponse = z.array(z.object({
23051
23042
  "number",
23052
23043
  "boolean",
23053
23044
  "array"
23054
- ]),
23055
- context: z.object({
23056
- isConvention: z.boolean().optional(),
23057
- isCustom: z.boolean().optional(),
23058
- brief: z.string().optional(),
23059
- isDeprecated: z.boolean().optional(),
23060
- details: z.array(z.string()).optional(),
23061
- examples: z.array(z.unknown()).optional(),
23062
- replacementAttribute: z.string().optional()
23063
- }).optional()
23045
+ ])
23064
23046
  }));
23065
23047
  var zListOrganizationTraceItemsStatsData = z.object({
23066
23048
  body: z.never().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.258.0",
3
+ "version": "0.259.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",