@sentry/api 0.200.0 → 0.202.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.
@@ -2127,7 +2127,7 @@ export type DetailedProject = {
2127
2127
  builtinSymbolSources: Array<string>;
2128
2128
  dynamicSamplingBiases: Array<{
2129
2129
  [key: string]: string | boolean;
2130
- }>;
2130
+ }> | null;
2131
2131
  symbolSources: string;
2132
2132
  isDynamicallySampled: boolean;
2133
2133
  tempestFetchScreenshots: boolean;
@@ -2776,9 +2776,14 @@ export type GetReplayDeletionJob = {
2776
2776
  countDeleted: number;
2777
2777
  };
2778
2778
  };
2779
- export type GetReplayRecordingSegment = Array<{
2780
- [key: string]: unknown;
2781
- }>;
2779
+ export type GetReplayRecordingSegment = {
2780
+ data: {
2781
+ replayId: string;
2782
+ segmentId: number;
2783
+ projectId: string;
2784
+ dateAdded: string | null;
2785
+ };
2786
+ };
2782
2787
  export type GetReplayViewedBy = {
2783
2788
  data: {
2784
2789
  viewed_by: Array<{
@@ -24105,7 +24110,7 @@ export type GetProjectResponses = {
24105
24110
  builtinSymbolSources: Array<string>;
24106
24111
  dynamicSamplingBiases: Array<{
24107
24112
  [key: string]: string | boolean;
24108
- }>;
24113
+ }> | null;
24109
24114
  symbolSources: string;
24110
24115
  isDynamicallySampled: boolean;
24111
24116
  tempestFetchScreenshots: boolean;
@@ -24367,7 +24372,7 @@ export type UpdateProjectResponses = {
24367
24372
  builtinSymbolSources: Array<string>;
24368
24373
  dynamicSamplingBiases: Array<{
24369
24374
  [key: string]: string | boolean;
24370
- }>;
24375
+ }> | null;
24371
24376
  symbolSources: string;
24372
24377
  isDynamicallySampled: boolean;
24373
24378
  tempestFetchScreenshots: boolean;
@@ -27535,9 +27540,14 @@ export type GetProjectReplayRecordingSegmentErrors = {
27535
27540
  404: unknown;
27536
27541
  };
27537
27542
  export type GetProjectReplayRecordingSegmentResponses = {
27538
- 200: Array<{
27539
- [key: string]: unknown;
27540
- }>;
27543
+ 200: {
27544
+ data: {
27545
+ replayId: string;
27546
+ segmentId: number;
27547
+ projectId: string;
27548
+ dateAdded: string | null;
27549
+ };
27550
+ };
27541
27551
  };
27542
27552
  export type GetProjectReplayRecordingSegmentResponse = GetProjectReplayRecordingSegmentResponses[keyof GetProjectReplayRecordingSegmentResponses];
27543
27553
  export type ListProjectReplayViewedByData = {
package/dist/zod.gen.d.ts CHANGED
@@ -3788,7 +3788,7 @@ export declare const zDetailedProject: z.ZodObject<{
3788
3788
  defaultEnvironment: z.ZodUnion<[z.ZodString, z.ZodNull]>;
3789
3789
  relayPiiConfig: z.ZodUnion<[z.ZodString, z.ZodNull]>;
3790
3790
  builtinSymbolSources: z.ZodArray<z.ZodString, "many">;
3791
- dynamicSamplingBiases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">;
3791
+ dynamicSamplingBiases: z.ZodUnion<[z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">, z.ZodNull]>;
3792
3792
  symbolSources: z.ZodString;
3793
3793
  isDynamicallySampled: z.ZodBoolean;
3794
3794
  tempestFetchScreenshots: z.ZodBoolean;
@@ -3943,7 +3943,7 @@ export declare const zDetailedProject: z.ZodObject<{
3943
3943
  defaultEnvironment: string | null;
3944
3944
  relayPiiConfig: string | null;
3945
3945
  builtinSymbolSources: string[];
3946
- dynamicSamplingBiases: Record<string, string | boolean>[];
3946
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
3947
3947
  symbolSources: string;
3948
3948
  isDynamicallySampled: boolean;
3949
3949
  tempestFetchScreenshots: boolean;
@@ -4106,7 +4106,7 @@ export declare const zDetailedProject: z.ZodObject<{
4106
4106
  defaultEnvironment: string | null;
4107
4107
  relayPiiConfig: string | null;
4108
4108
  builtinSymbolSources: string[];
4109
- dynamicSamplingBiases: Record<string, string | boolean>[];
4109
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
4110
4110
  symbolSources: string;
4111
4111
  isDynamicallySampled: boolean;
4112
4112
  tempestFetchScreenshots: boolean;
@@ -5900,7 +5900,38 @@ export declare const zGetReplayDeletionJob: z.ZodObject<{
5900
5900
  countDeleted: number;
5901
5901
  };
5902
5902
  }>;
5903
- export declare const zGetReplayRecordingSegment: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
5903
+ export declare const zGetReplayRecordingSegment: z.ZodObject<{
5904
+ data: z.ZodObject<{
5905
+ replayId: z.ZodString;
5906
+ segmentId: z.ZodNumber;
5907
+ projectId: z.ZodString;
5908
+ dateAdded: z.ZodUnion<[z.ZodString, z.ZodNull]>;
5909
+ }, "strip", z.ZodTypeAny, {
5910
+ dateAdded: string | null;
5911
+ projectId: string;
5912
+ replayId: string;
5913
+ segmentId: number;
5914
+ }, {
5915
+ dateAdded: string | null;
5916
+ projectId: string;
5917
+ replayId: string;
5918
+ segmentId: number;
5919
+ }>;
5920
+ }, "strip", z.ZodTypeAny, {
5921
+ data: {
5922
+ dateAdded: string | null;
5923
+ projectId: string;
5924
+ replayId: string;
5925
+ segmentId: number;
5926
+ };
5927
+ }, {
5928
+ data: {
5929
+ dateAdded: string | null;
5930
+ projectId: string;
5931
+ replayId: string;
5932
+ segmentId: number;
5933
+ };
5934
+ }>;
5904
5935
  export declare const zGetReplayViewedBy: z.ZodObject<{
5905
5936
  data: z.ZodObject<{
5906
5937
  viewed_by: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
@@ -56245,7 +56276,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
56245
56276
  defaultEnvironment: z.ZodUnion<[z.ZodString, z.ZodNull]>;
56246
56277
  relayPiiConfig: z.ZodUnion<[z.ZodString, z.ZodNull]>;
56247
56278
  builtinSymbolSources: z.ZodArray<z.ZodString, "many">;
56248
- dynamicSamplingBiases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">;
56279
+ dynamicSamplingBiases: z.ZodUnion<[z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">, z.ZodNull]>;
56249
56280
  symbolSources: z.ZodString;
56250
56281
  isDynamicallySampled: z.ZodBoolean;
56251
56282
  tempestFetchScreenshots: z.ZodBoolean;
@@ -56400,7 +56431,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
56400
56431
  defaultEnvironment: string | null;
56401
56432
  relayPiiConfig: string | null;
56402
56433
  builtinSymbolSources: string[];
56403
- dynamicSamplingBiases: Record<string, string | boolean>[];
56434
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
56404
56435
  symbolSources: string;
56405
56436
  isDynamicallySampled: boolean;
56406
56437
  tempestFetchScreenshots: boolean;
@@ -56563,7 +56594,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
56563
56594
  defaultEnvironment: string | null;
56564
56595
  relayPiiConfig: string | null;
56565
56596
  builtinSymbolSources: string[];
56566
- dynamicSamplingBiases: Record<string, string | boolean>[];
56597
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
56567
56598
  symbolSources: string;
56568
56599
  isDynamicallySampled: boolean;
56569
56600
  tempestFetchScreenshots: boolean;
@@ -57004,7 +57035,7 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
57004
57035
  defaultEnvironment: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57005
57036
  relayPiiConfig: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57006
57037
  builtinSymbolSources: z.ZodArray<z.ZodString, "many">;
57007
- dynamicSamplingBiases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">;
57038
+ dynamicSamplingBiases: z.ZodUnion<[z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">, z.ZodNull]>;
57008
57039
  symbolSources: z.ZodString;
57009
57040
  isDynamicallySampled: z.ZodBoolean;
57010
57041
  tempestFetchScreenshots: z.ZodBoolean;
@@ -57159,7 +57190,7 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
57159
57190
  defaultEnvironment: string | null;
57160
57191
  relayPiiConfig: string | null;
57161
57192
  builtinSymbolSources: string[];
57162
- dynamicSamplingBiases: Record<string, string | boolean>[];
57193
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
57163
57194
  symbolSources: string;
57164
57195
  isDynamicallySampled: boolean;
57165
57196
  tempestFetchScreenshots: boolean;
@@ -57322,7 +57353,7 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
57322
57353
  defaultEnvironment: string | null;
57323
57354
  relayPiiConfig: string | null;
57324
57355
  builtinSymbolSources: string[];
57325
- dynamicSamplingBiases: Record<string, string | boolean>[];
57356
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
57326
57357
  symbolSources: string;
57327
57358
  isDynamicallySampled: boolean;
57328
57359
  tempestFetchScreenshots: boolean;
@@ -63676,7 +63707,38 @@ export declare const zGetProjectReplayRecordingSegmentData: z.ZodObject<{
63676
63707
  query?: undefined;
63677
63708
  body?: undefined;
63678
63709
  }>;
63679
- export declare const zGetProjectReplayRecordingSegmentResponse: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
63710
+ export declare const zGetProjectReplayRecordingSegmentResponse: z.ZodObject<{
63711
+ data: z.ZodObject<{
63712
+ replayId: z.ZodString;
63713
+ segmentId: z.ZodNumber;
63714
+ projectId: z.ZodString;
63715
+ dateAdded: z.ZodUnion<[z.ZodString, z.ZodNull]>;
63716
+ }, "strip", z.ZodTypeAny, {
63717
+ dateAdded: string | null;
63718
+ projectId: string;
63719
+ replayId: string;
63720
+ segmentId: number;
63721
+ }, {
63722
+ dateAdded: string | null;
63723
+ projectId: string;
63724
+ replayId: string;
63725
+ segmentId: number;
63726
+ }>;
63727
+ }, "strip", z.ZodTypeAny, {
63728
+ data: {
63729
+ dateAdded: string | null;
63730
+ projectId: string;
63731
+ replayId: string;
63732
+ segmentId: number;
63733
+ };
63734
+ }, {
63735
+ data: {
63736
+ dateAdded: string | null;
63737
+ projectId: string;
63738
+ replayId: string;
63739
+ segmentId: number;
63740
+ };
63741
+ }>;
63680
63742
  export declare const zListProjectReplayViewedByData: z.ZodObject<{
63681
63743
  body: z.ZodOptional<z.ZodNever>;
63682
63744
  path: z.ZodObject<{
package/dist/zod.js CHANGED
@@ -1942,10 +1942,13 @@ var zDetailedProject = z.object({
1942
1942
  z.null()
1943
1943
  ]),
1944
1944
  builtinSymbolSources: z.array(z.string()),
1945
- dynamicSamplingBiases: z.array(z.record(z.union([
1946
- z.string(),
1947
- z.boolean()
1948
- ]))),
1945
+ dynamicSamplingBiases: z.union([
1946
+ z.array(z.record(z.union([
1947
+ z.string(),
1948
+ z.boolean()
1949
+ ]))),
1950
+ z.null()
1951
+ ]),
1949
1952
  symbolSources: z.string(),
1950
1953
  isDynamicallySampled: z.boolean(),
1951
1954
  tempestFetchScreenshots: z.boolean(),
@@ -2649,7 +2652,17 @@ var zGetReplayDeletionJob = z.object({
2649
2652
  countDeleted: z.number().int()
2650
2653
  })
2651
2654
  });
2652
- var zGetReplayRecordingSegment = z.array(z.record(z.unknown()));
2655
+ var zGetReplayRecordingSegment = z.object({
2656
+ data: z.object({
2657
+ replayId: z.string(),
2658
+ segmentId: z.number().int(),
2659
+ projectId: z.string(),
2660
+ dateAdded: z.union([
2661
+ z.string(),
2662
+ z.null()
2663
+ ])
2664
+ })
2665
+ });
2653
2666
  var zGetReplayViewedBy = z.object({
2654
2667
  data: z.object({
2655
2668
  viewed_by: z.array(z.record(z.unknown()))
@@ -21251,10 +21264,13 @@ var zGetProjectResponse = z.object({
21251
21264
  z.null()
21252
21265
  ]),
21253
21266
  builtinSymbolSources: z.array(z.string()),
21254
- dynamicSamplingBiases: z.array(z.record(z.union([
21255
- z.string(),
21256
- z.boolean()
21257
- ]))),
21267
+ dynamicSamplingBiases: z.union([
21268
+ z.array(z.record(z.union([
21269
+ z.string(),
21270
+ z.boolean()
21271
+ ]))),
21272
+ z.null()
21273
+ ]),
21258
21274
  symbolSources: z.string(),
21259
21275
  isDynamicallySampled: z.boolean(),
21260
21276
  tempestFetchScreenshots: z.boolean(),
@@ -21488,10 +21504,13 @@ var zUpdateProjectResponse = z.object({
21488
21504
  z.null()
21489
21505
  ]),
21490
21506
  builtinSymbolSources: z.array(z.string()),
21491
- dynamicSamplingBiases: z.array(z.record(z.union([
21492
- z.string(),
21493
- z.boolean()
21494
- ]))),
21507
+ dynamicSamplingBiases: z.union([
21508
+ z.array(z.record(z.union([
21509
+ z.string(),
21510
+ z.boolean()
21511
+ ]))),
21512
+ z.null()
21513
+ ]),
21495
21514
  symbolSources: z.string(),
21496
21515
  isDynamicallySampled: z.boolean(),
21497
21516
  tempestFetchScreenshots: z.boolean(),
@@ -24270,7 +24289,17 @@ var zGetProjectReplayRecordingSegmentData = z.object({
24270
24289
  }),
24271
24290
  query: z.never().optional()
24272
24291
  });
24273
- var zGetProjectReplayRecordingSegmentResponse = z.array(z.record(z.unknown()));
24292
+ var zGetProjectReplayRecordingSegmentResponse = z.object({
24293
+ data: z.object({
24294
+ replayId: z.string(),
24295
+ segmentId: z.number().int(),
24296
+ projectId: z.string(),
24297
+ dateAdded: z.union([
24298
+ z.string(),
24299
+ z.null()
24300
+ ])
24301
+ })
24302
+ });
24274
24303
  var zListProjectReplayViewedByData = z.object({
24275
24304
  body: z.never().optional(),
24276
24305
  path: z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.200.0",
3
+ "version": "0.202.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",