@sentry/api 0.210.0 → 0.212.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.
@@ -1175,8 +1175,9 @@ export type Dashboard = {
1175
1175
  * * `server_tree`
1176
1176
  * * `text`
1177
1177
  * * `agents_traces_table`
1178
+ * * `heatmap`
1178
1179
  */
1179
- display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table';
1180
+ display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table' | 'heatmap';
1180
1181
  interval?: string;
1181
1182
  queries?: Array<{
1182
1183
  id?: string;
@@ -1343,8 +1344,9 @@ export type DashboardDetails = {
1343
1344
  * * `server_tree`
1344
1345
  * * `text`
1345
1346
  * * `agents_traces_table`
1347
+ * * `heatmap`
1346
1348
  */
1347
- display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table';
1349
+ display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table' | 'heatmap';
1348
1350
  interval?: string;
1349
1351
  queries?: Array<{
1350
1352
  id?: string;
@@ -1708,8 +1710,9 @@ export type DashboardWidget = {
1708
1710
  * * `server_tree`
1709
1711
  * * `text`
1710
1712
  * * `agents_traces_table`
1713
+ * * `heatmap`
1711
1714
  */
1712
- display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table';
1715
+ display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table' | 'heatmap';
1713
1716
  interval?: string;
1714
1717
  queries?: Array<{
1715
1718
  id?: string;
@@ -10601,8 +10604,9 @@ export type CreateOrganizationDashboardData = {
10601
10604
  * * `server_tree`
10602
10605
  * * `text`
10603
10606
  * * `agents_traces_table`
10607
+ * * `heatmap`
10604
10608
  */
10605
- display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table';
10609
+ display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table' | 'heatmap';
10606
10610
  interval?: string;
10607
10611
  queries?: Array<{
10608
10612
  id?: string;
@@ -11114,8 +11118,9 @@ export type UpdateOrganizationDashboardData = {
11114
11118
  * * `server_tree`
11115
11119
  * * `text`
11116
11120
  * * `agents_traces_table`
11121
+ * * `heatmap`
11117
11122
  */
11118
- display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table';
11123
+ display_type?: 'line' | 'area' | 'bar' | 'table' | 'big_number' | 'details' | 'categorical_bar' | 'wheel' | 'rage_and_dead_clicks' | 'server_tree' | 'text' | 'agents_traces_table' | 'heatmap';
11119
11124
  interval?: string;
11120
11125
  queries?: Array<{
11121
11126
  id?: string;
@@ -18577,6 +18582,10 @@ export type ListOrganizationReleaseThresholdStatusesData = {
18577
18582
  * A list of release versions to filter your results by.
18578
18583
  */
18579
18584
  release?: Array<string>;
18585
+ /**
18586
+ * A list of project IDs or slugs to filter your results by.
18587
+ */
18588
+ project?: Array<number | string>;
18580
18589
  };
18581
18590
  url: '/api/0/organizations/{organization_id_or_slug}/release-threshold-statuses/';
18582
18591
  };
@@ -18665,9 +18674,15 @@ export type GetOrganizationReleaseData = {
18665
18674
  };
18666
18675
  query?: {
18667
18676
  /**
18668
- * The project ID to filter by.
18677
+ * Deprecated. Use project instead.
18678
+ *
18679
+ * @deprecated
18669
18680
  */
18670
18681
  project_id?: string;
18682
+ /**
18683
+ * The project ID or slug to filter by. Overrides project_id when both are sent.
18684
+ */
18685
+ project?: number | string;
18671
18686
  /**
18672
18687
  * Whether or not to include health data with the release. By default, this is false.
18673
18688
  */
package/dist/zod.gen.d.ts CHANGED
@@ -1328,7 +1328,7 @@ export declare const zDashboard: z.ZodObject<{
1328
1328
  title: z.ZodOptional<z.ZodString>;
1329
1329
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1330
1330
  thresholds: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
1331
- display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table"]>>;
1331
+ display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table", "heatmap"]>>;
1332
1332
  interval: z.ZodOptional<z.ZodString>;
1333
1333
  queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
1334
1334
  id: z.ZodOptional<z.ZodString>;
@@ -1433,7 +1433,7 @@ export declare const zDashboard: z.ZodObject<{
1433
1433
  description?: string | null | undefined;
1434
1434
  title?: string | undefined;
1435
1435
  thresholds?: Record<string, unknown> | null | undefined;
1436
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
1436
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
1437
1437
  queries?: {
1438
1438
  name?: string | undefined;
1439
1439
  fields?: string[] | undefined;
@@ -1472,7 +1472,7 @@ export declare const zDashboard: z.ZodObject<{
1472
1472
  description?: string | null | undefined;
1473
1473
  title?: string | undefined;
1474
1474
  thresholds?: Record<string, unknown> | null | undefined;
1475
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
1475
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
1476
1476
  queries?: {
1477
1477
  name?: string | undefined;
1478
1478
  fields?: string[] | undefined;
@@ -1537,7 +1537,7 @@ export declare const zDashboard: z.ZodObject<{
1537
1537
  description?: string | null | undefined;
1538
1538
  title?: string | undefined;
1539
1539
  thresholds?: Record<string, unknown> | null | undefined;
1540
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
1540
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
1541
1541
  queries?: {
1542
1542
  name?: string | undefined;
1543
1543
  fields?: string[] | undefined;
@@ -1591,7 +1591,7 @@ export declare const zDashboard: z.ZodObject<{
1591
1591
  description?: string | null | undefined;
1592
1592
  title?: string | undefined;
1593
1593
  thresholds?: Record<string, unknown> | null | undefined;
1594
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
1594
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
1595
1595
  queries?: {
1596
1596
  name?: string | undefined;
1597
1597
  fields?: string[] | undefined;
@@ -1647,7 +1647,7 @@ export declare const zDashboardDetails: z.ZodObject<{
1647
1647
  title: z.ZodOptional<z.ZodString>;
1648
1648
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1649
1649
  thresholds: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
1650
- display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table"]>>;
1650
+ display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table", "heatmap"]>>;
1651
1651
  interval: z.ZodOptional<z.ZodString>;
1652
1652
  queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
1653
1653
  id: z.ZodOptional<z.ZodString>;
@@ -1752,7 +1752,7 @@ export declare const zDashboardDetails: z.ZodObject<{
1752
1752
  description?: string | null | undefined;
1753
1753
  title?: string | undefined;
1754
1754
  thresholds?: Record<string, unknown> | null | undefined;
1755
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
1755
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
1756
1756
  queries?: {
1757
1757
  name?: string | undefined;
1758
1758
  fields?: string[] | undefined;
@@ -1791,7 +1791,7 @@ export declare const zDashboardDetails: z.ZodObject<{
1791
1791
  description?: string | null | undefined;
1792
1792
  title?: string | undefined;
1793
1793
  thresholds?: Record<string, unknown> | null | undefined;
1794
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
1794
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
1795
1795
  queries?: {
1796
1796
  name?: string | undefined;
1797
1797
  fields?: string[] | undefined;
@@ -1854,7 +1854,7 @@ export declare const zDashboardDetails: z.ZodObject<{
1854
1854
  description?: string | null | undefined;
1855
1855
  title?: string | undefined;
1856
1856
  thresholds?: Record<string, unknown> | null | undefined;
1857
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
1857
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
1858
1858
  queries?: {
1859
1859
  name?: string | undefined;
1860
1860
  fields?: string[] | undefined;
@@ -1908,7 +1908,7 @@ export declare const zDashboardDetails: z.ZodObject<{
1908
1908
  description?: string | null | undefined;
1909
1909
  title?: string | undefined;
1910
1910
  thresholds?: Record<string, unknown> | null | undefined;
1911
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
1911
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
1912
1912
  queries?: {
1913
1913
  name?: string | undefined;
1914
1914
  fields?: string[] | undefined;
@@ -2985,7 +2985,7 @@ export declare const zDashboardWidget: z.ZodObject<{
2985
2985
  title: z.ZodOptional<z.ZodString>;
2986
2986
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2987
2987
  thresholds: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
2988
- display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table"]>>;
2988
+ display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table", "heatmap"]>>;
2989
2989
  interval: z.ZodOptional<z.ZodString>;
2990
2990
  queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
2991
2991
  id: z.ZodOptional<z.ZodString>;
@@ -3090,7 +3090,7 @@ export declare const zDashboardWidget: z.ZodObject<{
3090
3090
  description?: string | null | undefined;
3091
3091
  title?: string | undefined;
3092
3092
  thresholds?: Record<string, unknown> | null | undefined;
3093
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
3093
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
3094
3094
  queries?: {
3095
3095
  name?: string | undefined;
3096
3096
  fields?: string[] | undefined;
@@ -3129,7 +3129,7 @@ export declare const zDashboardWidget: z.ZodObject<{
3129
3129
  description?: string | null | undefined;
3130
3130
  title?: string | undefined;
3131
3131
  thresholds?: Record<string, unknown> | null | undefined;
3132
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
3132
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
3133
3133
  queries?: {
3134
3134
  name?: string | undefined;
3135
3135
  fields?: string[] | undefined;
@@ -28938,7 +28938,7 @@ export declare const zCreateOrganizationDashboardData: z.ZodObject<{
28938
28938
  title: z.ZodOptional<z.ZodString>;
28939
28939
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
28940
28940
  thresholds: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
28941
- display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table"]>>;
28941
+ display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table", "heatmap"]>>;
28942
28942
  interval: z.ZodOptional<z.ZodString>;
28943
28943
  queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
28944
28944
  id: z.ZodOptional<z.ZodString>;
@@ -29043,7 +29043,7 @@ export declare const zCreateOrganizationDashboardData: z.ZodObject<{
29043
29043
  description?: string | null | undefined;
29044
29044
  title?: string | undefined;
29045
29045
  thresholds?: Record<string, unknown> | null | undefined;
29046
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
29046
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
29047
29047
  queries?: {
29048
29048
  name?: string | undefined;
29049
29049
  fields?: string[] | undefined;
@@ -29082,7 +29082,7 @@ export declare const zCreateOrganizationDashboardData: z.ZodObject<{
29082
29082
  description?: string | null | undefined;
29083
29083
  title?: string | undefined;
29084
29084
  thresholds?: Record<string, unknown> | null | undefined;
29085
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
29085
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
29086
29086
  queries?: {
29087
29087
  name?: string | undefined;
29088
29088
  fields?: string[] | undefined;
@@ -29147,7 +29147,7 @@ export declare const zCreateOrganizationDashboardData: z.ZodObject<{
29147
29147
  description?: string | null | undefined;
29148
29148
  title?: string | undefined;
29149
29149
  thresholds?: Record<string, unknown> | null | undefined;
29150
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
29150
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
29151
29151
  queries?: {
29152
29152
  name?: string | undefined;
29153
29153
  fields?: string[] | undefined;
@@ -29201,7 +29201,7 @@ export declare const zCreateOrganizationDashboardData: z.ZodObject<{
29201
29201
  description?: string | null | undefined;
29202
29202
  title?: string | undefined;
29203
29203
  thresholds?: Record<string, unknown> | null | undefined;
29204
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
29204
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
29205
29205
  queries?: {
29206
29206
  name?: string | undefined;
29207
29207
  fields?: string[] | undefined;
@@ -29267,7 +29267,7 @@ export declare const zCreateOrganizationDashboardData: z.ZodObject<{
29267
29267
  description?: string | null | undefined;
29268
29268
  title?: string | undefined;
29269
29269
  thresholds?: Record<string, unknown> | null | undefined;
29270
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
29270
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
29271
29271
  queries?: {
29272
29272
  name?: string | undefined;
29273
29273
  fields?: string[] | undefined;
@@ -29327,7 +29327,7 @@ export declare const zCreateOrganizationDashboardData: z.ZodObject<{
29327
29327
  description?: string | null | undefined;
29328
29328
  title?: string | undefined;
29329
29329
  thresholds?: Record<string, unknown> | null | undefined;
29330
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
29330
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
29331
29331
  queries?: {
29332
29332
  name?: string | undefined;
29333
29333
  fields?: string[] | undefined;
@@ -30770,7 +30770,7 @@ export declare const zUpdateOrganizationDashboardData: z.ZodObject<{
30770
30770
  title: z.ZodOptional<z.ZodString>;
30771
30771
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
30772
30772
  thresholds: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
30773
- display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table"]>>;
30773
+ display_type: z.ZodOptional<z.ZodEnum<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table", "heatmap"]>>;
30774
30774
  interval: z.ZodOptional<z.ZodString>;
30775
30775
  queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
30776
30776
  id: z.ZodOptional<z.ZodString>;
@@ -30875,7 +30875,7 @@ export declare const zUpdateOrganizationDashboardData: z.ZodObject<{
30875
30875
  description?: string | null | undefined;
30876
30876
  title?: string | undefined;
30877
30877
  thresholds?: Record<string, unknown> | null | undefined;
30878
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
30878
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
30879
30879
  queries?: {
30880
30880
  name?: string | undefined;
30881
30881
  fields?: string[] | undefined;
@@ -30914,7 +30914,7 @@ export declare const zUpdateOrganizationDashboardData: z.ZodObject<{
30914
30914
  description?: string | null | undefined;
30915
30915
  title?: string | undefined;
30916
30916
  thresholds?: Record<string, unknown> | null | undefined;
30917
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
30917
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
30918
30918
  queries?: {
30919
30919
  name?: string | undefined;
30920
30920
  fields?: string[] | undefined;
@@ -30977,7 +30977,7 @@ export declare const zUpdateOrganizationDashboardData: z.ZodObject<{
30977
30977
  description?: string | null | undefined;
30978
30978
  title?: string | undefined;
30979
30979
  thresholds?: Record<string, unknown> | null | undefined;
30980
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
30980
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
30981
30981
  queries?: {
30982
30982
  name?: string | undefined;
30983
30983
  fields?: string[] | undefined;
@@ -31031,7 +31031,7 @@ export declare const zUpdateOrganizationDashboardData: z.ZodObject<{
31031
31031
  description?: string | null | undefined;
31032
31032
  title?: string | undefined;
31033
31033
  thresholds?: Record<string, unknown> | null | undefined;
31034
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
31034
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
31035
31035
  queries?: {
31036
31036
  name?: string | undefined;
31037
31037
  fields?: string[] | undefined;
@@ -31103,7 +31103,7 @@ export declare const zUpdateOrganizationDashboardData: z.ZodObject<{
31103
31103
  description?: string | null | undefined;
31104
31104
  title?: string | undefined;
31105
31105
  thresholds?: Record<string, unknown> | null | undefined;
31106
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
31106
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
31107
31107
  queries?: {
31108
31108
  name?: string | undefined;
31109
31109
  fields?: string[] | undefined;
@@ -31164,7 +31164,7 @@ export declare const zUpdateOrganizationDashboardData: z.ZodObject<{
31164
31164
  description?: string | null | undefined;
31165
31165
  title?: string | undefined;
31166
31166
  thresholds?: Record<string, unknown> | null | undefined;
31167
- display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | undefined;
31167
+ display_type?: "text" | "line" | "area" | "bar" | "table" | "big_number" | "details" | "categorical_bar" | "wheel" | "rage_and_dead_clicks" | "server_tree" | "agents_traces_table" | "heatmap" | undefined;
31168
31168
  queries?: {
31169
31169
  name?: string | undefined;
31170
31170
  fields?: string[] | undefined;
@@ -45209,16 +45209,19 @@ export declare const zListOrganizationReleaseThresholdStatusesData: z.ZodObject<
45209
45209
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45210
45210
  projectSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45211
45211
  release: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45212
+ project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
45212
45213
  }, "strip", z.ZodTypeAny, {
45213
45214
  end: string;
45214
45215
  start: string;
45215
45216
  environment?: string[] | undefined;
45217
+ project?: (string | number)[] | undefined;
45216
45218
  release?: string[] | undefined;
45217
45219
  projectSlug?: string[] | undefined;
45218
45220
  }, {
45219
45221
  end: string;
45220
45222
  start: string;
45221
45223
  environment?: string[] | undefined;
45224
+ project?: (string | number)[] | undefined;
45222
45225
  release?: string[] | undefined;
45223
45226
  projectSlug?: string[] | undefined;
45224
45227
  }>;
@@ -45227,6 +45230,7 @@ export declare const zListOrganizationReleaseThresholdStatusesData: z.ZodObject<
45227
45230
  end: string;
45228
45231
  start: string;
45229
45232
  environment?: string[] | undefined;
45233
+ project?: (string | number)[] | undefined;
45230
45234
  release?: string[] | undefined;
45231
45235
  projectSlug?: string[] | undefined;
45232
45236
  };
@@ -45239,6 +45243,7 @@ export declare const zListOrganizationReleaseThresholdStatusesData: z.ZodObject<
45239
45243
  end: string;
45240
45244
  start: string;
45241
45245
  environment?: string[] | undefined;
45246
+ project?: (string | number)[] | undefined;
45242
45247
  release?: string[] | undefined;
45243
45248
  projectSlug?: string[] | undefined;
45244
45249
  };
@@ -45345,6 +45350,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
45345
45350
  }>;
45346
45351
  query: z.ZodOptional<z.ZodObject<{
45347
45352
  project_id: z.ZodOptional<z.ZodString>;
45353
+ project: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
45348
45354
  health: z.ZodOptional<z.ZodBoolean>;
45349
45355
  adoptionStages: z.ZodOptional<z.ZodBoolean>;
45350
45356
  summaryStatsPeriod: z.ZodOptional<z.ZodEnum<["14d", "1d", "1h", "24h", "2d", "30d", "48h", "7d", "90d"]>>;
@@ -45356,6 +45362,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
45356
45362
  sort?: "date" | "sessions" | "crash_free_sessions" | "crash_free_users" | "users" | undefined;
45357
45363
  query?: string | undefined;
45358
45364
  project_id?: string | undefined;
45365
+ project?: string | number | undefined;
45359
45366
  status?: "archived" | "open" | undefined;
45360
45367
  health?: boolean | undefined;
45361
45368
  adoptionStages?: boolean | undefined;
@@ -45365,6 +45372,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
45365
45372
  sort?: "date" | "sessions" | "crash_free_sessions" | "crash_free_users" | "users" | undefined;
45366
45373
  query?: string | undefined;
45367
45374
  project_id?: string | undefined;
45375
+ project?: string | number | undefined;
45368
45376
  status?: "archived" | "open" | undefined;
45369
45377
  health?: boolean | undefined;
45370
45378
  adoptionStages?: boolean | undefined;
@@ -45380,6 +45388,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
45380
45388
  sort?: "date" | "sessions" | "crash_free_sessions" | "crash_free_users" | "users" | undefined;
45381
45389
  query?: string | undefined;
45382
45390
  project_id?: string | undefined;
45391
+ project?: string | number | undefined;
45383
45392
  status?: "archived" | "open" | undefined;
45384
45393
  health?: boolean | undefined;
45385
45394
  adoptionStages?: boolean | undefined;
@@ -45396,6 +45405,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
45396
45405
  sort?: "date" | "sessions" | "crash_free_sessions" | "crash_free_users" | "users" | undefined;
45397
45406
  query?: string | undefined;
45398
45407
  project_id?: string | undefined;
45408
+ project?: string | number | undefined;
45399
45409
  status?: "archived" | "open" | undefined;
45400
45410
  health?: boolean | undefined;
45401
45411
  adoptionStages?: boolean | undefined;
package/dist/zod.js CHANGED
@@ -1053,7 +1053,8 @@ var zDashboard = z.object({
1053
1053
  "rage_and_dead_clicks",
1054
1054
  "server_tree",
1055
1055
  "text",
1056
- "agents_traces_table"
1056
+ "agents_traces_table",
1057
+ "heatmap"
1057
1058
  ]).optional(),
1058
1059
  interval: z.string().max(10).optional(),
1059
1060
  queries: z.array(z.object({
@@ -1174,7 +1175,8 @@ var zDashboardDetails = z.object({
1174
1175
  "rage_and_dead_clicks",
1175
1176
  "server_tree",
1176
1177
  "text",
1177
- "agents_traces_table"
1178
+ "agents_traces_table",
1179
+ "heatmap"
1178
1180
  ]).optional(),
1179
1181
  interval: z.string().max(10).optional(),
1180
1182
  queries: z.array(z.object({
@@ -1556,7 +1558,8 @@ var zDashboardWidget = z.object({
1556
1558
  "rage_and_dead_clicks",
1557
1559
  "server_tree",
1558
1560
  "text",
1559
- "agents_traces_table"
1561
+ "agents_traces_table",
1562
+ "heatmap"
1560
1563
  ]).optional(),
1561
1564
  interval: z.string().max(10).optional(),
1562
1565
  queries: z.array(z.object({
@@ -11173,7 +11176,8 @@ var zCreateOrganizationDashboardData = z.object({
11173
11176
  "rage_and_dead_clicks",
11174
11177
  "server_tree",
11175
11178
  "text",
11176
- "agents_traces_table"
11179
+ "agents_traces_table",
11180
+ "heatmap"
11177
11181
  ]).optional(),
11178
11182
  interval: z.string().max(10).optional(),
11179
11183
  queries: z.array(z.object({
@@ -11667,7 +11671,8 @@ var zUpdateOrganizationDashboardData = z.object({
11667
11671
  "rage_and_dead_clicks",
11668
11672
  "server_tree",
11669
11673
  "text",
11670
- "agents_traces_table"
11674
+ "agents_traces_table",
11675
+ "heatmap"
11671
11676
  ]).optional(),
11672
11677
  interval: z.string().max(10).optional(),
11673
11678
  queries: z.array(z.object({
@@ -17597,7 +17602,8 @@ var zListOrganizationReleaseThresholdStatusesData = z.object({
17597
17602
  end: z.string().datetime(),
17598
17603
  environment: z.array(z.string()).optional(),
17599
17604
  projectSlug: z.array(z.string()).optional(),
17600
- release: z.array(z.string()).optional()
17605
+ release: z.array(z.string()).optional(),
17606
+ project: z.array(z.union([z.number().int(), z.string()])).optional()
17601
17607
  })
17602
17608
  });
17603
17609
  var zListOrganizationReleaseThresholdStatusesResponse = z.record(z.array(z.object({
@@ -17645,6 +17651,10 @@ var zGetOrganizationReleaseData = z.object({
17645
17651
  }),
17646
17652
  query: z.object({
17647
17653
  project_id: z.string().optional(),
17654
+ project: z.union([
17655
+ z.number().int(),
17656
+ z.string()
17657
+ ]).optional(),
17648
17658
  health: z.boolean().optional(),
17649
17659
  adoptionStages: z.boolean().optional(),
17650
17660
  summaryStatsPeriod: z.enum([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.210.0",
3
+ "version": "0.212.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",