@sentry/api 0.371.0 → 0.372.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.
@@ -7309,9 +7309,13 @@ export type OrganizationEventsTimeseriesResponse = {
7309
7309
  timeSeries: Array<{
7310
7310
  values: Array<{
7311
7311
  timestamp: number;
7312
- value: number;
7312
+ value: number | null;
7313
7313
  incomplete: boolean;
7314
- comparisonValue?: number;
7314
+ comparisonValue?: number | null;
7315
+ filled?: boolean;
7316
+ smoothed?: boolean;
7317
+ comparisonFilled?: boolean;
7318
+ comparisonSmoothed?: boolean;
7315
7319
  sampleCount?: number;
7316
7320
  sampleRate?: number | null;
7317
7321
  confidence?: 'low' | 'high' | null;
@@ -16195,9 +16199,13 @@ export type ListOrganizationEventsTimeseriesResponses = {
16195
16199
  timeSeries: Array<{
16196
16200
  values: Array<{
16197
16201
  timestamp: number;
16198
- value: number;
16202
+ value: number | null;
16199
16203
  incomplete: boolean;
16200
- comparisonValue?: number;
16204
+ comparisonValue?: number | null;
16205
+ filled?: boolean;
16206
+ smoothed?: boolean;
16207
+ comparisonFilled?: boolean;
16208
+ comparisonSmoothed?: boolean;
16201
16209
  sampleCount?: number;
16202
16210
  sampleRate?: number | null;
16203
16211
  confidence?: 'low' | 'high' | null;
@@ -4149,9 +4149,13 @@ export declare const vOrganizationEventsTimeseriesResponse: v.ObjectSchema<{
4149
4149
  readonly timeSeries: v.ArraySchema<v.ObjectSchema<{
4150
4150
  readonly values: v.ArraySchema<v.ObjectSchema<{
4151
4151
  readonly timestamp: v.NumberSchema<undefined>;
4152
- readonly value: v.NumberSchema<undefined>;
4152
+ readonly value: v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
4153
4153
  readonly incomplete: v.BooleanSchema<undefined>;
4154
- readonly comparisonValue: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4154
+ readonly comparisonValue: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
4155
+ readonly filled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4156
+ readonly smoothed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4157
+ readonly comparisonFilled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4158
+ readonly comparisonSmoothed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4155
4159
  readonly sampleCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4156
4160
  readonly sampleRate: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
4157
4161
  readonly confidence: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["low", "high"], undefined>, undefined>, undefined>;
@@ -9037,9 +9041,13 @@ export declare const vListOrganizationEventsTimeseriesResponse: v.ObjectSchema<{
9037
9041
  readonly timeSeries: v.ArraySchema<v.ObjectSchema<{
9038
9042
  readonly values: v.ArraySchema<v.ObjectSchema<{
9039
9043
  readonly timestamp: v.NumberSchema<undefined>;
9040
- readonly value: v.NumberSchema<undefined>;
9044
+ readonly value: v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
9041
9045
  readonly incomplete: v.BooleanSchema<undefined>;
9042
- readonly comparisonValue: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
9046
+ readonly comparisonValue: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
9047
+ readonly filled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
9048
+ readonly smoothed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
9049
+ readonly comparisonFilled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
9050
+ readonly comparisonSmoothed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
9043
9051
  readonly sampleCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
9044
9052
  readonly sampleRate: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
9045
9053
  readonly confidence: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["low", "high"], undefined>, undefined>, undefined>;
package/dist/valibot.js CHANGED
@@ -5616,9 +5616,13 @@ var vOrganizationEventsTimeseriesResponse = v.object({
5616
5616
  timeSeries: v.array(v.object({
5617
5617
  values: v.array(v.object({
5618
5618
  timestamp: v.number(),
5619
- value: v.number(),
5619
+ value: v.union([v.number(), v.null()]),
5620
5620
  incomplete: v.boolean(),
5621
- comparisonValue: v.optional(v.number()),
5621
+ comparisonValue: v.optional(v.union([v.number(), v.null()])),
5622
+ filled: v.optional(v.boolean()),
5623
+ smoothed: v.optional(v.boolean()),
5624
+ comparisonFilled: v.optional(v.boolean()),
5625
+ comparisonSmoothed: v.optional(v.boolean()),
5622
5626
  sampleCount: v.optional(v.number()),
5623
5627
  sampleRate: v.optional(v.union([v.number(), v.null()])),
5624
5628
  confidence: v.optional(v.nullable(v.picklist(["low", "high"]))),
@@ -10918,9 +10922,13 @@ var vListOrganizationEventsTimeseriesResponse = v.object({
10918
10922
  timeSeries: v.array(v.object({
10919
10923
  values: v.array(v.object({
10920
10924
  timestamp: v.number(),
10921
- value: v.number(),
10925
+ value: v.union([v.number(), v.null()]),
10922
10926
  incomplete: v.boolean(),
10923
- comparisonValue: v.optional(v.number()),
10927
+ comparisonValue: v.optional(v.union([v.number(), v.null()])),
10928
+ filled: v.optional(v.boolean()),
10929
+ smoothed: v.optional(v.boolean()),
10930
+ comparisonFilled: v.optional(v.boolean()),
10931
+ comparisonSmoothed: v.optional(v.boolean()),
10924
10932
  sampleCount: v.optional(v.number()),
10925
10933
  sampleRate: v.optional(v.union([v.number(), v.null()])),
10926
10934
  confidence: v.optional(v.nullable(v.picklist(["low", "high"]))),
package/dist/zod.gen.d.ts CHANGED
@@ -20541,27 +20541,39 @@ export declare const zOrganizationEventsTimeseriesResponse: z.ZodObject<{
20541
20541
  timeSeries: z.ZodArray<z.ZodObject<{
20542
20542
  values: z.ZodArray<z.ZodObject<{
20543
20543
  timestamp: z.ZodNumber;
20544
- value: z.ZodNumber;
20544
+ value: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
20545
20545
  incomplete: z.ZodBoolean;
20546
- comparisonValue: z.ZodOptional<z.ZodNumber>;
20546
+ comparisonValue: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
20547
+ filled: z.ZodOptional<z.ZodBoolean>;
20548
+ smoothed: z.ZodOptional<z.ZodBoolean>;
20549
+ comparisonFilled: z.ZodOptional<z.ZodBoolean>;
20550
+ comparisonSmoothed: z.ZodOptional<z.ZodBoolean>;
20547
20551
  sampleCount: z.ZodOptional<z.ZodNumber>;
20548
20552
  sampleRate: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
20549
20553
  confidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["low", "high"]>>>;
20550
20554
  incompleteReason: z.ZodOptional<z.ZodString>;
20551
20555
  }, "strip", z.ZodTypeAny, {
20552
- value: number;
20556
+ value: number | null;
20553
20557
  timestamp: number;
20554
20558
  incomplete: boolean;
20555
- comparisonValue?: number | undefined;
20559
+ comparisonValue?: number | null | undefined;
20560
+ filled?: boolean | undefined;
20561
+ smoothed?: boolean | undefined;
20562
+ comparisonFilled?: boolean | undefined;
20563
+ comparisonSmoothed?: boolean | undefined;
20556
20564
  sampleCount?: number | undefined;
20557
20565
  sampleRate?: number | null | undefined;
20558
20566
  confidence?: "high" | "low" | null | undefined;
20559
20567
  incompleteReason?: string | undefined;
20560
20568
  }, {
20561
- value: number;
20569
+ value: number | null;
20562
20570
  timestamp: number;
20563
20571
  incomplete: boolean;
20564
- comparisonValue?: number | undefined;
20572
+ comparisonValue?: number | null | undefined;
20573
+ filled?: boolean | undefined;
20574
+ smoothed?: boolean | undefined;
20575
+ comparisonFilled?: boolean | undefined;
20576
+ comparisonSmoothed?: boolean | undefined;
20565
20577
  sampleCount?: number | undefined;
20566
20578
  sampleRate?: number | null | undefined;
20567
20579
  confidence?: "high" | "low" | null | undefined;
@@ -20602,10 +20614,14 @@ export declare const zOrganizationEventsTimeseriesResponse: z.ZodObject<{
20602
20614
  }>;
20603
20615
  }, "strip", z.ZodTypeAny, {
20604
20616
  values: {
20605
- value: number;
20617
+ value: number | null;
20606
20618
  timestamp: number;
20607
20619
  incomplete: boolean;
20608
- comparisonValue?: number | undefined;
20620
+ comparisonValue?: number | null | undefined;
20621
+ filled?: boolean | undefined;
20622
+ smoothed?: boolean | undefined;
20623
+ comparisonFilled?: boolean | undefined;
20624
+ comparisonSmoothed?: boolean | undefined;
20609
20625
  sampleCount?: number | undefined;
20610
20626
  sampleRate?: number | null | undefined;
20611
20627
  confidence?: "high" | "low" | null | undefined;
@@ -20626,10 +20642,14 @@ export declare const zOrganizationEventsTimeseriesResponse: z.ZodObject<{
20626
20642
  }[] | undefined;
20627
20643
  }, {
20628
20644
  values: {
20629
- value: number;
20645
+ value: number | null;
20630
20646
  timestamp: number;
20631
20647
  incomplete: boolean;
20632
- comparisonValue?: number | undefined;
20648
+ comparisonValue?: number | null | undefined;
20649
+ filled?: boolean | undefined;
20650
+ smoothed?: boolean | undefined;
20651
+ comparisonFilled?: boolean | undefined;
20652
+ comparisonSmoothed?: boolean | undefined;
20633
20653
  sampleCount?: number | undefined;
20634
20654
  sampleRate?: number | null | undefined;
20635
20655
  confidence?: "high" | "low" | null | undefined;
@@ -20652,10 +20672,14 @@ export declare const zOrganizationEventsTimeseriesResponse: z.ZodObject<{
20652
20672
  }, "strip", z.ZodTypeAny, {
20653
20673
  timeSeries: {
20654
20674
  values: {
20655
- value: number;
20675
+ value: number | null;
20656
20676
  timestamp: number;
20657
20677
  incomplete: boolean;
20658
- comparisonValue?: number | undefined;
20678
+ comparisonValue?: number | null | undefined;
20679
+ filled?: boolean | undefined;
20680
+ smoothed?: boolean | undefined;
20681
+ comparisonFilled?: boolean | undefined;
20682
+ comparisonSmoothed?: boolean | undefined;
20659
20683
  sampleCount?: number | undefined;
20660
20684
  sampleRate?: number | null | undefined;
20661
20685
  confidence?: "high" | "low" | null | undefined;
@@ -20688,10 +20712,14 @@ export declare const zOrganizationEventsTimeseriesResponse: z.ZodObject<{
20688
20712
  }, {
20689
20713
  timeSeries: {
20690
20714
  values: {
20691
- value: number;
20715
+ value: number | null;
20692
20716
  timestamp: number;
20693
20717
  incomplete: boolean;
20694
- comparisonValue?: number | undefined;
20718
+ comparisonValue?: number | null | undefined;
20719
+ filled?: boolean | undefined;
20720
+ smoothed?: boolean | undefined;
20721
+ comparisonFilled?: boolean | undefined;
20722
+ comparisonSmoothed?: boolean | undefined;
20695
20723
  sampleCount?: number | undefined;
20696
20724
  sampleRate?: number | null | undefined;
20697
20725
  confidence?: "high" | "low" | null | undefined;
@@ -44522,27 +44550,39 @@ export declare const zListOrganizationEventsTimeseriesResponse: z.ZodObject<{
44522
44550
  timeSeries: z.ZodArray<z.ZodObject<{
44523
44551
  values: z.ZodArray<z.ZodObject<{
44524
44552
  timestamp: z.ZodNumber;
44525
- value: z.ZodNumber;
44553
+ value: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
44526
44554
  incomplete: z.ZodBoolean;
44527
- comparisonValue: z.ZodOptional<z.ZodNumber>;
44555
+ comparisonValue: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
44556
+ filled: z.ZodOptional<z.ZodBoolean>;
44557
+ smoothed: z.ZodOptional<z.ZodBoolean>;
44558
+ comparisonFilled: z.ZodOptional<z.ZodBoolean>;
44559
+ comparisonSmoothed: z.ZodOptional<z.ZodBoolean>;
44528
44560
  sampleCount: z.ZodOptional<z.ZodNumber>;
44529
44561
  sampleRate: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
44530
44562
  confidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["low", "high"]>>>;
44531
44563
  incompleteReason: z.ZodOptional<z.ZodString>;
44532
44564
  }, "strip", z.ZodTypeAny, {
44533
- value: number;
44565
+ value: number | null;
44534
44566
  timestamp: number;
44535
44567
  incomplete: boolean;
44536
- comparisonValue?: number | undefined;
44568
+ comparisonValue?: number | null | undefined;
44569
+ filled?: boolean | undefined;
44570
+ smoothed?: boolean | undefined;
44571
+ comparisonFilled?: boolean | undefined;
44572
+ comparisonSmoothed?: boolean | undefined;
44537
44573
  sampleCount?: number | undefined;
44538
44574
  sampleRate?: number | null | undefined;
44539
44575
  confidence?: "high" | "low" | null | undefined;
44540
44576
  incompleteReason?: string | undefined;
44541
44577
  }, {
44542
- value: number;
44578
+ value: number | null;
44543
44579
  timestamp: number;
44544
44580
  incomplete: boolean;
44545
- comparisonValue?: number | undefined;
44581
+ comparisonValue?: number | null | undefined;
44582
+ filled?: boolean | undefined;
44583
+ smoothed?: boolean | undefined;
44584
+ comparisonFilled?: boolean | undefined;
44585
+ comparisonSmoothed?: boolean | undefined;
44546
44586
  sampleCount?: number | undefined;
44547
44587
  sampleRate?: number | null | undefined;
44548
44588
  confidence?: "high" | "low" | null | undefined;
@@ -44583,10 +44623,14 @@ export declare const zListOrganizationEventsTimeseriesResponse: z.ZodObject<{
44583
44623
  }>;
44584
44624
  }, "strip", z.ZodTypeAny, {
44585
44625
  values: {
44586
- value: number;
44626
+ value: number | null;
44587
44627
  timestamp: number;
44588
44628
  incomplete: boolean;
44589
- comparisonValue?: number | undefined;
44629
+ comparisonValue?: number | null | undefined;
44630
+ filled?: boolean | undefined;
44631
+ smoothed?: boolean | undefined;
44632
+ comparisonFilled?: boolean | undefined;
44633
+ comparisonSmoothed?: boolean | undefined;
44590
44634
  sampleCount?: number | undefined;
44591
44635
  sampleRate?: number | null | undefined;
44592
44636
  confidence?: "high" | "low" | null | undefined;
@@ -44607,10 +44651,14 @@ export declare const zListOrganizationEventsTimeseriesResponse: z.ZodObject<{
44607
44651
  }[] | undefined;
44608
44652
  }, {
44609
44653
  values: {
44610
- value: number;
44654
+ value: number | null;
44611
44655
  timestamp: number;
44612
44656
  incomplete: boolean;
44613
- comparisonValue?: number | undefined;
44657
+ comparisonValue?: number | null | undefined;
44658
+ filled?: boolean | undefined;
44659
+ smoothed?: boolean | undefined;
44660
+ comparisonFilled?: boolean | undefined;
44661
+ comparisonSmoothed?: boolean | undefined;
44614
44662
  sampleCount?: number | undefined;
44615
44663
  sampleRate?: number | null | undefined;
44616
44664
  confidence?: "high" | "low" | null | undefined;
@@ -44633,10 +44681,14 @@ export declare const zListOrganizationEventsTimeseriesResponse: z.ZodObject<{
44633
44681
  }, "strip", z.ZodTypeAny, {
44634
44682
  timeSeries: {
44635
44683
  values: {
44636
- value: number;
44684
+ value: number | null;
44637
44685
  timestamp: number;
44638
44686
  incomplete: boolean;
44639
- comparisonValue?: number | undefined;
44687
+ comparisonValue?: number | null | undefined;
44688
+ filled?: boolean | undefined;
44689
+ smoothed?: boolean | undefined;
44690
+ comparisonFilled?: boolean | undefined;
44691
+ comparisonSmoothed?: boolean | undefined;
44640
44692
  sampleCount?: number | undefined;
44641
44693
  sampleRate?: number | null | undefined;
44642
44694
  confidence?: "high" | "low" | null | undefined;
@@ -44669,10 +44721,14 @@ export declare const zListOrganizationEventsTimeseriesResponse: z.ZodObject<{
44669
44721
  }, {
44670
44722
  timeSeries: {
44671
44723
  values: {
44672
- value: number;
44724
+ value: number | null;
44673
44725
  timestamp: number;
44674
44726
  incomplete: boolean;
44675
- comparisonValue?: number | undefined;
44727
+ comparisonValue?: number | null | undefined;
44728
+ filled?: boolean | undefined;
44729
+ smoothed?: boolean | undefined;
44730
+ comparisonFilled?: boolean | undefined;
44731
+ comparisonSmoothed?: boolean | undefined;
44676
44732
  sampleCount?: number | undefined;
44677
44733
  sampleRate?: number | null | undefined;
44678
44734
  confidence?: "high" | "low" | null | undefined;
package/dist/zod.js CHANGED
@@ -8679,9 +8679,19 @@ var zOrganizationEventsTimeseriesResponse = z.object({
8679
8679
  timeSeries: z.array(z.object({
8680
8680
  values: z.array(z.object({
8681
8681
  timestamp: z.number(),
8682
- value: z.number(),
8682
+ value: z.union([
8683
+ z.number(),
8684
+ z.null()
8685
+ ]),
8683
8686
  incomplete: z.boolean(),
8684
- comparisonValue: z.number().optional(),
8687
+ comparisonValue: z.union([
8688
+ z.number(),
8689
+ z.null()
8690
+ ]).optional(),
8691
+ filled: z.boolean().optional(),
8692
+ smoothed: z.boolean().optional(),
8693
+ comparisonFilled: z.boolean().optional(),
8694
+ comparisonSmoothed: z.boolean().optional(),
8685
8695
  sampleCount: z.number().optional(),
8686
8696
  sampleRate: z.union([
8687
8697
  z.number(),
@@ -16500,9 +16510,19 @@ var zListOrganizationEventsTimeseriesResponse = z.object({
16500
16510
  timeSeries: z.array(z.object({
16501
16511
  values: z.array(z.object({
16502
16512
  timestamp: z.number(),
16503
- value: z.number(),
16513
+ value: z.union([
16514
+ z.number(),
16515
+ z.null()
16516
+ ]),
16504
16517
  incomplete: z.boolean(),
16505
- comparisonValue: z.number().optional(),
16518
+ comparisonValue: z.union([
16519
+ z.number(),
16520
+ z.null()
16521
+ ]).optional(),
16522
+ filled: z.boolean().optional(),
16523
+ smoothed: z.boolean().optional(),
16524
+ comparisonFilled: z.boolean().optional(),
16525
+ comparisonSmoothed: z.boolean().optional(),
16506
16526
  sampleCount: z.number().optional(),
16507
16527
  sampleRate: z.union([
16508
16528
  z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.371.0",
3
+ "version": "0.372.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",