@sentry/api 0.319.0 → 0.321.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/sdk.gen.d.ts CHANGED
@@ -185,6 +185,9 @@ export declare const resolveOrganizationEventId: <ThrowOnError extends boolean =
185
185
  * The `field` query parameter determines what fields will be selected in the `data` and `meta` keys of the endpoint response.
186
186
  * - The `data` key contains a list of results row by row that match the `query` made
187
187
  * - The `meta` key contains information about the response, including the unit or type of the fields requested
188
+ * - EAP table results may include `meta.routingHint`. Pass this opaque value unchanged as
189
+ * `routing_hint` when fetching item details for a row in this response. It identifies how
190
+ * the table query was routed and is omitted when no hint is available.
188
191
  */
189
192
  export declare const listOrganizationEvents: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationEventsData, ThrowOnError>) => import("./client").RequestResult<ListOrganizationEventsResponses, ListOrganizationEventsErrors, ThrowOnError, "fields">;
190
193
  /**
@@ -1962,7 +1962,6 @@ export type DashboardListResponse = Array<{
1962
1962
  teamsWithEditAccess: Array<number>;
1963
1963
  } | null;
1964
1964
  isFavorited: boolean;
1965
- isHidden: boolean;
1966
1965
  projects: Array<number>;
1967
1966
  prebuiltId: number | null;
1968
1967
  }>;
@@ -7148,6 +7147,7 @@ export type OrganizationEventsResponseDict = {
7148
7147
  discoverSplitDecision?: unknown;
7149
7148
  dataScanned?: string;
7150
7149
  bytesScanned?: number;
7150
+ routingHint?: string;
7151
7151
  debug_info?: unknown;
7152
7152
  };
7153
7153
  };
@@ -12681,7 +12681,7 @@ export type ListOrganizationDashboardsData = {
12681
12681
  /**
12682
12682
  * Filter the dashboards returned. Repeat this parameter to apply multiple filters.
12683
12683
  */
12684
- filter?: Array<'excludeFavorites' | 'excludePrebuilt' | 'onlyFavorites' | 'onlyPrebuilt' | 'owned' | 'shared' | 'showHidden' | 'showUserHidden'>;
12684
+ filter?: Array<'excludeFavorites' | 'excludePrebuilt' | 'onlyFavorites' | 'onlyPrebuilt' | 'owned' | 'shared' | 'showHidden'>;
12685
12685
  /**
12686
12686
  * Filter dashboards by title.
12687
12687
  */
@@ -12797,7 +12797,6 @@ export type ListOrganizationDashboardsResponses = {
12797
12797
  teamsWithEditAccess: Array<number>;
12798
12798
  } | null;
12799
12799
  isFavorited: boolean;
12800
- isHidden: boolean;
12801
12800
  projects: Array<number>;
12802
12801
  prebuiltId: number | null;
12803
12802
  }>;
@@ -15319,6 +15318,7 @@ export type ListOrganizationEventsResponses = {
15319
15318
  discoverSplitDecision?: unknown;
15320
15319
  dataScanned?: string;
15321
15320
  bytesScanned?: number;
15321
+ routingHint?: string;
15322
15322
  debug_info?: unknown;
15323
15323
  };
15324
15324
  };
@@ -714,7 +714,6 @@ export declare const vDashboardListResponse: v.ArraySchema<v.ObjectSchema<{
714
714
  readonly teamsWithEditAccess: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
715
715
  }, undefined>, v.NullSchema<undefined>], undefined>;
716
716
  readonly isFavorited: v.BooleanSchema<undefined>;
717
- readonly isHidden: v.BooleanSchema<undefined>;
718
717
  readonly projects: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
719
718
  readonly prebuiltId: v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>;
720
719
  }, undefined>, undefined>;
@@ -4043,6 +4042,7 @@ export declare const vOrganizationEventsResponseDict: v.ObjectSchema<{
4043
4042
  readonly discoverSplitDecision: v.OptionalSchema<v.UnknownSchema, undefined>;
4044
4043
  readonly dataScanned: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4045
4044
  readonly bytesScanned: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
4045
+ readonly routingHint: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4046
4046
  readonly debug_info: v.OptionalSchema<v.UnknownSchema, undefined>;
4047
4047
  }, undefined>;
4048
4048
  }, undefined>;
@@ -7244,7 +7244,7 @@ export declare const vListOrganizationDashboardsData: v.ObjectSchema<{
7244
7244
  readonly organization_id_or_slug: v.StringSchema<undefined>;
7245
7245
  }, undefined>;
7246
7246
  readonly query: v.OptionalSchema<v.ObjectSchema<{
7247
- readonly filter: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["excludeFavorites", "excludePrebuilt", "onlyFavorites", "onlyPrebuilt", "owned", "shared", "showHidden", "showUserHidden"], undefined>, undefined>, undefined>;
7247
+ readonly filter: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["excludeFavorites", "excludePrebuilt", "onlyFavorites", "onlyPrebuilt", "owned", "shared", "showHidden"], undefined>, undefined>, undefined>;
7248
7248
  readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7249
7249
  readonly sort: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7250
7250
  readonly pin: v.OptionalSchema<v.PicklistSchema<["favorites"], undefined>, undefined>;
@@ -7314,7 +7314,6 @@ export declare const vListOrganizationDashboardsResponse: v.ArraySchema<v.Object
7314
7314
  readonly teamsWithEditAccess: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
7315
7315
  }, undefined>, v.NullSchema<undefined>], undefined>;
7316
7316
  readonly isFavorited: v.BooleanSchema<undefined>;
7317
- readonly isHidden: v.BooleanSchema<undefined>;
7318
7317
  readonly projects: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
7319
7318
  readonly prebuiltId: v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>;
7320
7319
  }, undefined>, undefined>;
@@ -8508,6 +8507,7 @@ export declare const vListOrganizationEventsResponse: v.ObjectSchema<{
8508
8507
  readonly discoverSplitDecision: v.OptionalSchema<v.UnknownSchema, undefined>;
8509
8508
  readonly dataScanned: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8510
8509
  readonly bytesScanned: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
8510
+ readonly routingHint: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8511
8511
  readonly debug_info: v.OptionalSchema<v.UnknownSchema, undefined>;
8512
8512
  }, undefined>;
8513
8513
  }, undefined>;
package/dist/valibot.js CHANGED
@@ -1374,7 +1374,6 @@ var vDashboardListResponse = v.array(v.object({
1374
1374
  teamsWithEditAccess: v.array(v.pipe(v.number(), v.integer()))
1375
1375
  }), v.null()]),
1376
1376
  isFavorited: v.boolean(),
1377
- isHidden: v.boolean(),
1378
1377
  projects: v.array(v.pipe(v.number(), v.integer())),
1379
1378
  prebuiltId: v.union([v.pipe(v.number(), v.integer()), v.null()])
1380
1379
  }));
@@ -5466,6 +5465,7 @@ var vOrganizationEventsResponseDict = v.object({
5466
5465
  discoverSplitDecision: v.optional(v.unknown()),
5467
5466
  dataScanned: v.optional(v.string()),
5468
5467
  bytesScanned: v.optional(v.pipe(v.number(), v.integer())),
5468
+ routingHint: v.optional(v.string()),
5469
5469
  debug_info: v.optional(v.unknown())
5470
5470
  })
5471
5471
  });
@@ -8968,8 +8968,7 @@ var vListOrganizationDashboardsData = v.object({
8968
8968
  "onlyPrebuilt",
8969
8969
  "owned",
8970
8970
  "shared",
8971
- "showHidden",
8972
- "showUserHidden"
8971
+ "showHidden"
8973
8972
  ]))),
8974
8973
  query: v.optional(v.string()),
8975
8974
  sort: v.optional(v.string()),
@@ -9040,7 +9039,6 @@ var vListOrganizationDashboardsResponse = v.array(v.object({
9040
9039
  teamsWithEditAccess: v.array(v.pipe(v.number(), v.integer()))
9041
9040
  }), v.null()]),
9042
9041
  isFavorited: v.boolean(),
9043
- isHidden: v.boolean(),
9044
9042
  projects: v.array(v.pipe(v.number(), v.integer())),
9045
9043
  prebuiltId: v.union([v.pipe(v.number(), v.integer()), v.null()])
9046
9044
  }));
@@ -10308,6 +10306,7 @@ var vListOrganizationEventsResponse = v.object({
10308
10306
  discoverSplitDecision: v.optional(v.unknown()),
10309
10307
  dataScanned: v.optional(v.string()),
10310
10308
  bytesScanned: v.optional(v.pipe(v.number(), v.integer())),
10309
+ routingHint: v.optional(v.string()),
10311
10310
  debug_info: v.optional(v.unknown())
10312
10311
  })
10313
10312
  });
package/dist/zod.gen.d.ts CHANGED
@@ -3684,7 +3684,6 @@ export declare const zDashboardListResponse: z.ZodArray<z.ZodObject<{
3684
3684
  isEditableByEveryone: boolean;
3685
3685
  }>, z.ZodNull]>;
3686
3686
  isFavorited: z.ZodBoolean;
3687
- isHidden: z.ZodBoolean;
3688
3687
  projects: z.ZodArray<z.ZodNumber, "many">;
3689
3688
  prebuiltId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
3690
3689
  }, "strip", z.ZodTypeAny, {
@@ -3735,7 +3734,6 @@ export declare const zDashboardListResponse: z.ZodArray<z.ZodObject<{
3735
3734
  canReset2fa?: boolean | undefined;
3736
3735
  };
3737
3736
  dateCreated: string;
3738
- isHidden: boolean;
3739
3737
  title: string;
3740
3738
  projects: number[];
3741
3739
  filters: {
@@ -3800,7 +3798,6 @@ export declare const zDashboardListResponse: z.ZodArray<z.ZodObject<{
3800
3798
  canReset2fa?: boolean | undefined;
3801
3799
  };
3802
3800
  dateCreated: string;
3803
- isHidden: boolean;
3804
3801
  title: string;
3805
3802
  projects: number[];
3806
3803
  filters: {
@@ -20111,6 +20108,7 @@ export declare const zOrganizationEventsResponseDict: z.ZodObject<{
20111
20108
  discoverSplitDecision: z.ZodOptional<z.ZodUnknown>;
20112
20109
  dataScanned: z.ZodOptional<z.ZodString>;
20113
20110
  bytesScanned: z.ZodOptional<z.ZodNumber>;
20111
+ routingHint: z.ZodOptional<z.ZodString>;
20114
20112
  debug_info: z.ZodOptional<z.ZodUnknown>;
20115
20113
  }, "strip", z.ZodTypeAny, {
20116
20114
  fields?: Record<string, string> | undefined;
@@ -20123,6 +20121,7 @@ export declare const zOrganizationEventsResponseDict: z.ZodObject<{
20123
20121
  discoverSplitDecision?: unknown;
20124
20122
  dataScanned?: string | undefined;
20125
20123
  bytesScanned?: number | undefined;
20124
+ routingHint?: string | undefined;
20126
20125
  debug_info?: unknown;
20127
20126
  }, {
20128
20127
  fields?: Record<string, string> | undefined;
@@ -20135,6 +20134,7 @@ export declare const zOrganizationEventsResponseDict: z.ZodObject<{
20135
20134
  discoverSplitDecision?: unknown;
20136
20135
  dataScanned?: string | undefined;
20137
20136
  bytesScanned?: number | undefined;
20137
+ routingHint?: string | undefined;
20138
20138
  debug_info?: unknown;
20139
20139
  }>;
20140
20140
  }, "strip", z.ZodTypeAny, {
@@ -20150,6 +20150,7 @@ export declare const zOrganizationEventsResponseDict: z.ZodObject<{
20150
20150
  discoverSplitDecision?: unknown;
20151
20151
  dataScanned?: string | undefined;
20152
20152
  bytesScanned?: number | undefined;
20153
+ routingHint?: string | undefined;
20153
20154
  debug_info?: unknown;
20154
20155
  };
20155
20156
  }, {
@@ -20165,6 +20166,7 @@ export declare const zOrganizationEventsResponseDict: z.ZodObject<{
20165
20166
  discoverSplitDecision?: unknown;
20166
20167
  dataScanned?: string | undefined;
20167
20168
  bytesScanned?: number | undefined;
20169
+ routingHint?: string | undefined;
20168
20170
  debug_info?: unknown;
20169
20171
  };
20170
20172
  }>;
@@ -35561,7 +35563,7 @@ export declare const zListOrganizationDashboardsData: z.ZodObject<{
35561
35563
  organization_id_or_slug: string;
35562
35564
  }>;
35563
35565
  query: z.ZodOptional<z.ZodObject<{
35564
- filter: z.ZodOptional<z.ZodArray<z.ZodEnum<["excludeFavorites", "excludePrebuilt", "onlyFavorites", "onlyPrebuilt", "owned", "shared", "showHidden", "showUserHidden"]>, "many">>;
35566
+ filter: z.ZodOptional<z.ZodArray<z.ZodEnum<["excludeFavorites", "excludePrebuilt", "onlyFavorites", "onlyPrebuilt", "owned", "shared", "showHidden"]>, "many">>;
35565
35567
  query: z.ZodOptional<z.ZodString>;
35566
35568
  sort: z.ZodOptional<z.ZodString>;
35567
35569
  pin: z.ZodOptional<z.ZodEnum<["favorites"]>>;
@@ -35569,14 +35571,14 @@ export declare const zListOrganizationDashboardsData: z.ZodObject<{
35569
35571
  cursor: z.ZodOptional<z.ZodString>;
35570
35572
  }, "strip", z.ZodTypeAny, {
35571
35573
  sort?: string | undefined;
35572
- filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden" | "showUserHidden")[] | undefined;
35574
+ filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden")[] | undefined;
35573
35575
  query?: string | undefined;
35574
35576
  cursor?: string | undefined;
35575
35577
  per_page?: number | undefined;
35576
35578
  pin?: "favorites" | undefined;
35577
35579
  }, {
35578
35580
  sort?: string | undefined;
35579
- filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden" | "showUserHidden")[] | undefined;
35581
+ filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden")[] | undefined;
35580
35582
  query?: string | undefined;
35581
35583
  cursor?: string | undefined;
35582
35584
  per_page?: number | undefined;
@@ -35588,7 +35590,7 @@ export declare const zListOrganizationDashboardsData: z.ZodObject<{
35588
35590
  };
35589
35591
  query?: {
35590
35592
  sort?: string | undefined;
35591
- filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden" | "showUserHidden")[] | undefined;
35593
+ filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden")[] | undefined;
35592
35594
  query?: string | undefined;
35593
35595
  cursor?: string | undefined;
35594
35596
  per_page?: number | undefined;
@@ -35601,7 +35603,7 @@ export declare const zListOrganizationDashboardsData: z.ZodObject<{
35601
35603
  };
35602
35604
  query?: {
35603
35605
  sort?: string | undefined;
35604
- filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden" | "showUserHidden")[] | undefined;
35606
+ filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden")[] | undefined;
35605
35607
  query?: string | undefined;
35606
35608
  cursor?: string | undefined;
35607
35609
  per_page?: number | undefined;
@@ -35825,7 +35827,6 @@ export declare const zListOrganizationDashboardsResponse: z.ZodArray<z.ZodObject
35825
35827
  isEditableByEveryone: boolean;
35826
35828
  }>, z.ZodNull]>;
35827
35829
  isFavorited: z.ZodBoolean;
35828
- isHidden: z.ZodBoolean;
35829
35830
  projects: z.ZodArray<z.ZodNumber, "many">;
35830
35831
  prebuiltId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
35831
35832
  }, "strip", z.ZodTypeAny, {
@@ -35876,7 +35877,6 @@ export declare const zListOrganizationDashboardsResponse: z.ZodArray<z.ZodObject
35876
35877
  canReset2fa?: boolean | undefined;
35877
35878
  };
35878
35879
  dateCreated: string;
35879
- isHidden: boolean;
35880
35880
  title: string;
35881
35881
  projects: number[];
35882
35882
  filters: {
@@ -35941,7 +35941,6 @@ export declare const zListOrganizationDashboardsResponse: z.ZodArray<z.ZodObject
35941
35941
  canReset2fa?: boolean | undefined;
35942
35942
  };
35943
35943
  dateCreated: string;
35944
- isHidden: boolean;
35945
35944
  title: string;
35946
35945
  projects: number[];
35947
35946
  filters: {
@@ -42047,6 +42046,7 @@ export declare const zListOrganizationEventsResponse: z.ZodObject<{
42047
42046
  discoverSplitDecision: z.ZodOptional<z.ZodUnknown>;
42048
42047
  dataScanned: z.ZodOptional<z.ZodString>;
42049
42048
  bytesScanned: z.ZodOptional<z.ZodNumber>;
42049
+ routingHint: z.ZodOptional<z.ZodString>;
42050
42050
  debug_info: z.ZodOptional<z.ZodUnknown>;
42051
42051
  }, "strip", z.ZodTypeAny, {
42052
42052
  fields?: Record<string, string> | undefined;
@@ -42059,6 +42059,7 @@ export declare const zListOrganizationEventsResponse: z.ZodObject<{
42059
42059
  discoverSplitDecision?: unknown;
42060
42060
  dataScanned?: string | undefined;
42061
42061
  bytesScanned?: number | undefined;
42062
+ routingHint?: string | undefined;
42062
42063
  debug_info?: unknown;
42063
42064
  }, {
42064
42065
  fields?: Record<string, string> | undefined;
@@ -42071,6 +42072,7 @@ export declare const zListOrganizationEventsResponse: z.ZodObject<{
42071
42072
  discoverSplitDecision?: unknown;
42072
42073
  dataScanned?: string | undefined;
42073
42074
  bytesScanned?: number | undefined;
42075
+ routingHint?: string | undefined;
42074
42076
  debug_info?: unknown;
42075
42077
  }>;
42076
42078
  }, "strip", z.ZodTypeAny, {
@@ -42086,6 +42088,7 @@ export declare const zListOrganizationEventsResponse: z.ZodObject<{
42086
42088
  discoverSplitDecision?: unknown;
42087
42089
  dataScanned?: string | undefined;
42088
42090
  bytesScanned?: number | undefined;
42091
+ routingHint?: string | undefined;
42089
42092
  debug_info?: unknown;
42090
42093
  };
42091
42094
  }, {
@@ -42101,6 +42104,7 @@ export declare const zListOrganizationEventsResponse: z.ZodObject<{
42101
42104
  discoverSplitDecision?: unknown;
42102
42105
  dataScanned?: string | undefined;
42103
42106
  bytesScanned?: number | undefined;
42107
+ routingHint?: string | undefined;
42104
42108
  debug_info?: unknown;
42105
42109
  };
42106
42110
  }>;
package/dist/zod.js CHANGED
@@ -1891,7 +1891,6 @@ var zDashboardListResponse = z.array(z.object({
1891
1891
  z.null()
1892
1892
  ]),
1893
1893
  isFavorited: z.boolean(),
1894
- isHidden: z.boolean(),
1895
1894
  projects: z.array(z.number().int()),
1896
1895
  prebuiltId: z.union([
1897
1896
  z.number().int(),
@@ -8512,6 +8511,7 @@ var zOrganizationEventsResponseDict = z.object({
8512
8511
  discoverSplitDecision: z.unknown().optional(),
8513
8512
  dataScanned: z.string().optional(),
8514
8513
  bytesScanned: z.number().int().optional(),
8514
+ routingHint: z.string().optional(),
8515
8515
  debug_info: z.unknown().optional()
8516
8516
  })
8517
8517
  });
@@ -13780,8 +13780,7 @@ var zListOrganizationDashboardsData = z.object({
13780
13780
  "onlyPrebuilt",
13781
13781
  "owned",
13782
13782
  "shared",
13783
- "showHidden",
13784
- "showUserHidden"
13783
+ "showHidden"
13785
13784
  ])).optional(),
13786
13785
  query: z.string().optional(),
13787
13786
  sort: z.string().optional(),
@@ -13870,7 +13869,6 @@ var zListOrganizationDashboardsResponse = z.array(z.object({
13870
13869
  z.null()
13871
13870
  ]),
13872
13871
  isFavorited: z.boolean(),
13873
- isHidden: z.boolean(),
13874
13872
  projects: z.array(z.number().int()),
13875
13873
  prebuiltId: z.union([
13876
13874
  z.number().int(),
@@ -15774,6 +15772,7 @@ var zListOrganizationEventsResponse = z.object({
15774
15772
  discoverSplitDecision: z.unknown().optional(),
15775
15773
  dataScanned: z.string().optional(),
15776
15774
  bytesScanned: z.number().int().optional(),
15775
+ routingHint: z.string().optional(),
15777
15776
  debug_info: z.unknown().optional()
15778
15777
  })
15779
15778
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.319.0",
3
+ "version": "0.321.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",