@sentry/api 1.29.2 → 1.30.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.
@@ -1813,13 +1813,7 @@ var operations = [
1813
1813
  {
1814
1814
  "name": "query",
1815
1815
  "required": false,
1816
- "description": "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.",
1817
- "type": "string"
1818
- },
1819
- {
1820
- "name": "viewId",
1821
- "required": false,
1822
- "description": "The ID of the view to use. If no query is present, the view's query and filters will be applied.",
1816
+ "description": "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.",
1823
1817
  "type": "string"
1824
1818
  },
1825
1819
  {
@@ -1836,12 +1830,6 @@ var operations = [
1836
1830
  "trends",
1837
1831
  "user"
1838
1832
  ]
1839
- },
1840
- {
1841
- "name": "limit",
1842
- "required": false,
1843
- "description": "The maximum number of issues to affect. The maximum is 100.",
1844
- "type": "integer"
1845
1833
  }
1846
1834
  ],
1847
1835
  "deprecated": false,
@@ -1928,13 +1916,7 @@ var operations = [
1928
1916
  {
1929
1917
  "name": "query",
1930
1918
  "required": false,
1931
- "description": "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.",
1932
- "type": "string"
1933
- },
1934
- {
1935
- "name": "viewId",
1936
- "required": false,
1937
- "description": "The ID of the view to use. If no query is present, the view's query and filters will be applied.",
1919
+ "description": "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.",
1938
1920
  "type": "string"
1939
1921
  },
1940
1922
  {
@@ -1955,7 +1937,7 @@ var operations = [
1955
1937
  {
1956
1938
  "name": "limit",
1957
1939
  "required": false,
1958
- "description": "The maximum number of issues to affect. The maximum is 100.",
1940
+ "description": "The maximum number of issues to return. The maximum is 100.",
1959
1941
  "type": "integer"
1960
1942
  },
1961
1943
  {
@@ -2048,13 +2030,7 @@ var operations = [
2048
2030
  {
2049
2031
  "name": "query",
2050
2032
  "required": false,
2051
- "description": "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.",
2052
- "type": "string"
2053
- },
2054
- {
2055
- "name": "viewId",
2056
- "required": false,
2057
- "description": "The ID of the view to use. If no query is present, the view's query and filters will be applied.",
2033
+ "description": "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.",
2058
2034
  "type": "string"
2059
2035
  },
2060
2036
  {
@@ -2071,12 +2047,6 @@ var operations = [
2071
2047
  "trends",
2072
2048
  "user"
2073
2049
  ]
2074
- },
2075
- {
2076
- "name": "limit",
2077
- "required": false,
2078
- "description": "The maximum number of issues to affect. The maximum is 100.",
2079
- "type": "integer"
2080
2050
  }
2081
2051
  ],
2082
2052
  "deprecated": false,
@@ -7950,7 +7950,7 @@ export type GroupValidator = {
7950
7950
  */
7951
7951
  inbox: boolean;
7952
7952
  /**
7953
- * Limit mutations to only issues with the given status.
7953
+ * The new status for the issues.
7954
7954
  *
7955
7955
  * * `resolved`
7956
7956
  * * `unresolved`
@@ -30611,21 +30611,13 @@ export type DeleteOrganizationIssuesData = {
30611
30611
  */
30612
30612
  end?: string;
30613
30613
  /**
30614
- * An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.
30614
+ * An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.
30615
30615
  */
30616
30616
  query?: string;
30617
- /**
30618
- * The ID of the view to use. If no query is present, the view's query and filters will be applied.
30619
- */
30620
- viewId?: string;
30621
30617
  /**
30622
30618
  * The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).
30623
30619
  */
30624
30620
  sort?: 'date' | 'freq' | 'inbox' | 'new' | 'recommended' | 'trends' | 'user';
30625
- /**
30626
- * The maximum number of issues to affect. The maximum is 100.
30627
- */
30628
- limit?: number;
30629
30621
  };
30630
30622
  url: '/api/0/organizations/{organization_id_or_slug}/issues/';
30631
30623
  };
@@ -30712,19 +30704,15 @@ export type ListOrganizationIssuesData = {
30712
30704
  */
30713
30705
  shortIdLookup?: '0' | '1';
30714
30706
  /**
30715
- * An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.
30707
+ * An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.
30716
30708
  */
30717
30709
  query?: string;
30718
- /**
30719
- * The ID of the view to use. If no query is present, the view's query and filters will be applied.
30720
- */
30721
- viewId?: string;
30722
30710
  /**
30723
30711
  * The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).
30724
30712
  */
30725
30713
  sort?: 'date' | 'freq' | 'inbox' | 'new' | 'recommended' | 'trends' | 'user';
30726
30714
  /**
30727
- * The maximum number of issues to affect. The maximum is 100.
30715
+ * The maximum number of issues to return. The maximum is 100.
30728
30716
  */
30729
30717
  limit?: number;
30730
30718
  /**
@@ -31070,7 +31058,7 @@ export type UpdateOrganizationIssuesData = {
31070
31058
  */
31071
31059
  inbox: boolean;
31072
31060
  /**
31073
- * Limit mutations to only issues with the given status.
31061
+ * The new status for the issues.
31074
31062
  *
31075
31063
  * * `resolved`
31076
31064
  * * `unresolved`
@@ -31242,21 +31230,13 @@ export type UpdateOrganizationIssuesData = {
31242
31230
  */
31243
31231
  end?: string;
31244
31232
  /**
31245
- * An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.
31233
+ * An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.
31246
31234
  */
31247
31235
  query?: string;
31248
- /**
31249
- * The ID of the view to use. If no query is present, the view's query and filters will be applied.
31250
- */
31251
- viewId?: string;
31252
31236
  /**
31253
31237
  * The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).
31254
31238
  */
31255
31239
  sort?: 'date' | 'freq' | 'inbox' | 'new' | 'recommended' | 'trends' | 'user';
31256
- /**
31257
- * The maximum number of issues to affect. The maximum is 100.
31258
- */
31259
- limit?: number;
31260
31240
  };
31261
31241
  url: '/api/0/organizations/{organization_id_or_slug}/issues/';
31262
31242
  };
@@ -60260,7 +60240,7 @@ export type UpdateOrganizationIssueData = {
60260
60240
  */
60261
60241
  inbox: boolean;
60262
60242
  /**
60263
- * Limit mutations to only issues with the given status.
60243
+ * The new status for the issues.
60264
60244
  *
60265
60245
  * * `resolved`
60266
60246
  * * `unresolved`
@@ -3725,7 +3725,7 @@ export declare const vGroupUpdateResponse: v.ObjectSchema<{
3725
3725
  }, undefined>;
3726
3726
  export declare const vGroupValidator: v.ObjectSchema<{
3727
3727
  readonly inbox: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as reviewed by the requestor.">]>;
3728
- readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
3728
+ readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
3729
3729
  readonly statusDetails: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3730
3730
  readonly inNextRelease: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as resolved in the next release.">]>;
3731
3731
  readonly inRelease: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The version of the release that the issue should be resolved in.If set to `latest`, the latest release will be used.">]>;
@@ -16176,10 +16176,8 @@ export declare const vDeleteOrganizationIssuesQuery: v.ObjectSchema<{
16176
16176
  readonly statsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.">]>, undefined>;
16177
16177
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
16178
16178
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
16179
- readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
16180
- readonly viewId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The ID of the view to use. If no query is present, the view's query and filters will be applied.">]>, undefined>;
16179
+ readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
16181
16180
  readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["date", "freq", "inbox", "new", "recommended", "trends", "user"], undefined>, v.DescriptionAction<"user" | "new" | "inbox" | "date" | "trends" | "freq" | "recommended", "The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).">]>, "date">;
16182
- readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.DescriptionAction<number, "The maximum number of issues to affect. The maximum is 100.">]>, 100>;
16183
16181
  }, undefined>;
16184
16182
  /**
16185
16183
  * No Content
@@ -16198,10 +16196,9 @@ export declare const vListOrganizationIssuesQuery: v.ObjectSchema<{
16198
16196
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
16199
16197
  readonly groupStatsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["", "14d", "24h", "auto"], undefined>, v.DescriptionAction<"" | "auto" | "14d" | "24h", "The timeline on which stats for the groups should be presented.">]>, undefined>;
16200
16198
  readonly shortIdLookup: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["0", "1"], undefined>, v.DescriptionAction<"0" | "1", "If this is set to `1` then the query will be parsed for issue short IDs. These may ignore other filters (e.g. projects), which is why it is an opt-in.">]>, undefined>;
16201
- readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
16202
- readonly viewId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The ID of the view to use. If no query is present, the view's query and filters will be applied.">]>, undefined>;
16199
+ readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
16203
16200
  readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["date", "freq", "inbox", "new", "recommended", "trends", "user"], undefined>, v.DescriptionAction<"user" | "new" | "inbox" | "date" | "trends" | "freq" | "recommended", "The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).">]>, "date">;
16204
- readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.DescriptionAction<number, "The maximum number of issues to affect. The maximum is 100.">]>, 100>;
16201
+ readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.DescriptionAction<number, "The maximum number of issues to return. The maximum is 100.">]>, 100>;
16205
16202
  readonly expand: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["inbox", "integrationIssues", "latestEventHasAttachments", "owners", "sentryAppIssues", "sessions"], undefined>, undefined>, v.DescriptionAction<("inbox" | "owners" | "integrationIssues" | "sentryAppIssues" | "latestEventHasAttachments" | "sessions")[], "Additional data to include in the response.">]>, undefined>;
16206
16203
  readonly collapse: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["base", "filtered", "lifetime", "stats", "unhandled"], undefined>, undefined>, v.DescriptionAction<("stats" | "lifetime" | "filtered" | "base" | "unhandled")[], "Fields to remove from the response to improve query performance.">]>, undefined>;
16207
16204
  readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, v.DescriptionAction<string, "A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.">]>, undefined>;
@@ -16403,7 +16400,7 @@ export declare const vListOrganizationIssuesResponse: v.ArraySchema<v.ObjectSche
16403
16400
  }, undefined>, undefined>;
16404
16401
  export declare const vUpdateOrganizationIssuesBody: v.ObjectSchema<{
16405
16402
  readonly inbox: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as reviewed by the requestor.">]>;
16406
- readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
16403
+ readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
16407
16404
  readonly statusDetails: v.SchemaWithPipe<readonly [v.ObjectSchema<{
16408
16405
  readonly inNextRelease: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as resolved in the next release.">]>;
16409
16406
  readonly inRelease: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The version of the release that the issue should be resolved in.If set to `latest`, the latest release will be used.">]>;
@@ -16458,10 +16455,8 @@ export declare const vUpdateOrganizationIssuesQuery: v.ObjectSchema<{
16458
16455
  readonly statsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.">]>, undefined>;
16459
16456
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
16460
16457
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
16461
- readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
16462
- readonly viewId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The ID of the view to use. If no query is present, the view's query and filters will be applied.">]>, undefined>;
16458
+ readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
16463
16459
  readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["date", "freq", "inbox", "new", "recommended", "trends", "user"], undefined>, v.DescriptionAction<"user" | "new" | "inbox" | "date" | "trends" | "freq" | "recommended", "The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).">]>, "date">;
16464
- readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.DescriptionAction<number, "The maximum number of issues to affect. The maximum is 100.">]>, 100>;
16465
16460
  }, undefined>;
16466
16461
  export declare const vUpdateOrganizationIssuesResponse: v.UnionSchema<[v.ObjectSchema<{
16467
16462
  readonly assignedTo: v.OptionalSchema<v.ObjectSchema<{
@@ -27923,7 +27918,7 @@ export declare const vGetOrganizationIssueResponse: v.ObjectSchema<{
27923
27918
  }, undefined>;
27924
27919
  export declare const vUpdateOrganizationIssueBody: v.ObjectSchema<{
27925
27920
  readonly inbox: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as reviewed by the requestor.">]>;
27926
- readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
27921
+ readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
27927
27922
  readonly statusDetails: v.SchemaWithPipe<readonly [v.ObjectSchema<{
27928
27923
  readonly inNextRelease: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as resolved in the next release.">]>;
27929
27924
  readonly inRelease: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The version of the release that the issue should be resolved in.If set to `latest`, the latest release will be used.">]>;
@@ -30527,10 +30522,8 @@ export declare const vDeleteOrganizationIssuesData: v.ObjectSchema<{
30527
30522
  readonly statsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.">]>, undefined>;
30528
30523
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
30529
30524
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
30530
- readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
30531
- readonly viewId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The ID of the view to use. If no query is present, the view's query and filters will be applied.">]>, undefined>;
30525
+ readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
30532
30526
  readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["date", "freq", "inbox", "new", "recommended", "trends", "user"], undefined>, v.DescriptionAction<"user" | "new" | "inbox" | "date" | "trends" | "freq" | "recommended", "The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).">]>, "date">;
30533
- readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.DescriptionAction<number, "The maximum number of issues to affect. The maximum is 100.">]>, 100>;
30534
30527
  }, undefined>, undefined>;
30535
30528
  }, undefined>;
30536
30529
  export declare const vListOrganizationIssuesData: v.ObjectSchema<{
@@ -30548,10 +30541,9 @@ export declare const vListOrganizationIssuesData: v.ObjectSchema<{
30548
30541
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
30549
30542
  readonly groupStatsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["", "14d", "24h", "auto"], undefined>, v.DescriptionAction<"" | "auto" | "14d" | "24h", "The timeline on which stats for the groups should be presented.">]>, undefined>;
30550
30543
  readonly shortIdLookup: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["0", "1"], undefined>, v.DescriptionAction<"0" | "1", "If this is set to `1` then the query will be parsed for issue short IDs. These may ignore other filters (e.g. projects), which is why it is an opt-in.">]>, undefined>;
30551
- readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
30552
- readonly viewId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The ID of the view to use. If no query is present, the view's query and filters will be applied.">]>, undefined>;
30544
+ readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
30553
30545
  readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["date", "freq", "inbox", "new", "recommended", "trends", "user"], undefined>, v.DescriptionAction<"user" | "new" | "inbox" | "date" | "trends" | "freq" | "recommended", "The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).">]>, "date">;
30554
- readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.DescriptionAction<number, "The maximum number of issues to affect. The maximum is 100.">]>, 100>;
30546
+ readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.DescriptionAction<number, "The maximum number of issues to return. The maximum is 100.">]>, 100>;
30555
30547
  readonly expand: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["inbox", "integrationIssues", "latestEventHasAttachments", "owners", "sentryAppIssues", "sessions"], undefined>, undefined>, v.DescriptionAction<("inbox" | "owners" | "integrationIssues" | "sentryAppIssues" | "latestEventHasAttachments" | "sessions")[], "Additional data to include in the response.">]>, undefined>;
30556
30548
  readonly collapse: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["base", "filtered", "lifetime", "stats", "unhandled"], undefined>, undefined>, v.DescriptionAction<("stats" | "lifetime" | "filtered" | "base" | "unhandled")[], "Fields to remove from the response to improve query performance.">]>, undefined>;
30557
30549
  readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, v.DescriptionAction<string, "A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.">]>, undefined>;
@@ -30560,7 +30552,7 @@ export declare const vListOrganizationIssuesData: v.ObjectSchema<{
30560
30552
  export declare const vUpdateOrganizationIssuesData: v.ObjectSchema<{
30561
30553
  readonly body: v.ObjectSchema<{
30562
30554
  readonly inbox: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as reviewed by the requestor.">]>;
30563
- readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
30555
+ readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
30564
30556
  readonly statusDetails: v.SchemaWithPipe<readonly [v.ObjectSchema<{
30565
30557
  readonly inNextRelease: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as resolved in the next release.">]>;
30566
30558
  readonly inRelease: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The version of the release that the issue should be resolved in.If set to `latest`, the latest release will be used.">]>;
@@ -30615,10 +30607,8 @@ export declare const vUpdateOrganizationIssuesData: v.ObjectSchema<{
30615
30607
  readonly statsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.">]>, undefined>;
30616
30608
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
30617
30609
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.DescriptionAction<string, "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.">]>, undefined>;
30618
- readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
30619
- readonly viewId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The ID of the view to use. If no query is present, the view's query and filters will be applied.">]>, undefined>;
30610
+ readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.">]>, "is:unresolved">;
30620
30611
  readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["date", "freq", "inbox", "new", "recommended", "trends", "user"], undefined>, v.DescriptionAction<"user" | "new" | "inbox" | "date" | "trends" | "freq" | "recommended", "The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).">]>, "date">;
30621
- readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.DescriptionAction<number, "The maximum number of issues to affect. The maximum is 100.">]>, 100>;
30622
30612
  }, undefined>, undefined>;
30623
30613
  }, undefined>;
30624
30614
  export declare const vListOrganizationMembersData: v.ObjectSchema<{
@@ -33739,7 +33729,7 @@ export declare const vGetOrganizationIssueData: v.ObjectSchema<{
33739
33729
  export declare const vUpdateOrganizationIssueData: v.ObjectSchema<{
33740
33730
  readonly body: v.ObjectSchema<{
33741
33731
  readonly inbox: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as reviewed by the requestor.">]>;
33742
- readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
33732
+ readonly status: v.SchemaWithPipe<readonly [v.PicklistSchema<["resolved", "unresolved", "ignored", "resolvedInNextRelease", "muted"], undefined>, v.DescriptionAction<"resolved" | "ignored" | "unresolved" | "resolvedInNextRelease" | "muted", "The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`">]>;
33743
33733
  readonly statusDetails: v.SchemaWithPipe<readonly [v.ObjectSchema<{
33744
33734
  readonly inNextRelease: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "If true, marks the issue as resolved in the next release.">]>;
33745
33735
  readonly inRelease: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "The version of the release that the issue should be resolved in.If set to `latest`, the latest release will be used.">]>;
package/dist/valibot.js CHANGED
@@ -3429,7 +3429,7 @@ var vGroupValidator = /* @__PURE__ */ v.object({
3429
3429
  "ignored",
3430
3430
  "resolvedInNextRelease",
3431
3431
  "muted"
3432
- ]), /* @__PURE__ */ v.description("Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`")),
3432
+ ]), /* @__PURE__ */ v.description("The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`")),
3433
3433
  statusDetails: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.object({
3434
3434
  inNextRelease: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.boolean(), /* @__PURE__ */ v.description("If true, marks the issue as resolved in the next release.")),
3435
3435
  inRelease: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("The version of the release that the issue should be resolved in.If set to `latest`, the latest release will be used.")),
@@ -13437,8 +13437,7 @@ var vDeleteOrganizationIssuesQuery = /* @__PURE__ */ v.object({
13437
13437
  statsPeriod: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now."))),
13438
13438
  start: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.isoTimestamp()), /* @__PURE__ */ v.description("The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`."))),
13439
13439
  end: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.isoTimestamp()), /* @__PURE__ */ v.description("The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`."))),
13440
- query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.")), "is:unresolved"),
13441
- viewId: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("The ID of the view to use. If no query is present, the view's query and filters will be applied."))),
13440
+ query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.")), "is:unresolved"),
13442
13441
  sort: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.picklist([
13443
13442
  "date",
13444
13443
  "freq",
@@ -13447,8 +13446,7 @@ var vDeleteOrganizationIssuesQuery = /* @__PURE__ */ v.object({
13447
13446
  "recommended",
13448
13447
  "trends",
13449
13448
  "user"
13450
- ]), /* @__PURE__ */ v.description("The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).")), "date"),
13451
- limit: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()), /* @__PURE__ */ v.description("The maximum number of issues to affect. The maximum is 100.")), 100)
13449
+ ]), /* @__PURE__ */ v.description("The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).")), "date")
13452
13450
  });
13453
13451
  var vDeleteOrganizationIssuesResponse = /* @__PURE__ */ v.void();
13454
13452
  var vListOrganizationIssuesPath = /* @__PURE__ */ v.object({
@@ -13469,8 +13467,7 @@ var vListOrganizationIssuesQuery = /* @__PURE__ */ v.object({
13469
13467
  "auto"
13470
13468
  ]), /* @__PURE__ */ v.description("The timeline on which stats for the groups should be presented."))),
13471
13469
  shortIdLookup: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.picklist(["0", "1"]), /* @__PURE__ */ v.description("If this is set to `1` then the query will be parsed for issue short IDs. These may ignore other filters (e.g. projects), which is why it is an opt-in."))),
13472
- query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.")), "is:unresolved"),
13473
- viewId: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("The ID of the view to use. If no query is present, the view's query and filters will be applied."))),
13470
+ query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.")), "is:unresolved"),
13474
13471
  sort: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.picklist([
13475
13472
  "date",
13476
13473
  "freq",
@@ -13480,7 +13477,7 @@ var vListOrganizationIssuesQuery = /* @__PURE__ */ v.object({
13480
13477
  "trends",
13481
13478
  "user"
13482
13479
  ]), /* @__PURE__ */ v.description("The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).")), "date"),
13483
- limit: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()), /* @__PURE__ */ v.description("The maximum number of issues to affect. The maximum is 100.")), 100),
13480
+ limit: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()), /* @__PURE__ */ v.description("The maximum number of issues to return. The maximum is 100.")), 100),
13484
13481
  expand: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.array(/* @__PURE__ */ v.picklist([
13485
13482
  "inbox",
13486
13483
  "integrationIssues",
@@ -13704,7 +13701,7 @@ var vUpdateOrganizationIssuesBody = /* @__PURE__ */ v.object({
13704
13701
  "ignored",
13705
13702
  "resolvedInNextRelease",
13706
13703
  "muted"
13707
- ]), /* @__PURE__ */ v.description("Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`")),
13704
+ ]), /* @__PURE__ */ v.description("The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`")),
13708
13705
  statusDetails: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.object({
13709
13706
  inNextRelease: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.boolean(), /* @__PURE__ */ v.description("If true, marks the issue as resolved in the next release.")),
13710
13707
  inRelease: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("The version of the release that the issue should be resolved in.If set to `latest`, the latest release will be used.")),
@@ -13756,8 +13753,7 @@ var vUpdateOrganizationIssuesQuery = /* @__PURE__ */ v.object({
13756
13753
  statsPeriod: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now."))),
13757
13754
  start: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.isoTimestamp()), /* @__PURE__ */ v.description("The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`."))),
13758
13755
  end: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.isoTimestamp()), /* @__PURE__ */ v.description("The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`."))),
13759
- query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.")), "is:unresolved"),
13760
- viewId: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("The ID of the view to use. If no query is present, the view's query and filters will be applied."))),
13756
+ query: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string.")), "is:unresolved"),
13761
13757
  sort: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.picklist([
13762
13758
  "date",
13763
13759
  "freq",
@@ -13766,8 +13762,7 @@ var vUpdateOrganizationIssuesQuery = /* @__PURE__ */ v.object({
13766
13762
  "recommended",
13767
13763
  "trends",
13768
13764
  "user"
13769
- ]), /* @__PURE__ */ v.description("The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).")), "date"),
13770
- limit: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.pipe(/* @__PURE__ */ v.number(), /* @__PURE__ */ v.integer()), /* @__PURE__ */ v.description("The maximum number of issues to affect. The maximum is 100.")), 100)
13765
+ ]), /* @__PURE__ */ v.description("The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`).")), "date")
13771
13766
  });
13772
13767
  var vUpdateOrganizationIssuesResponse = /* @__PURE__ */ v.union([/* @__PURE__ */ v.object({
13773
13768
  assignedTo: /* @__PURE__ */ v.optional(/* @__PURE__ */ v.object({
@@ -25304,7 +25299,7 @@ var vUpdateOrganizationIssueBody = /* @__PURE__ */ v.object({
25304
25299
  "ignored",
25305
25300
  "resolvedInNextRelease",
25306
25301
  "muted"
25307
- ]), /* @__PURE__ */ v.description("Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`")),
25302
+ ]), /* @__PURE__ */ v.description("The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`")),
25308
25303
  statusDetails: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.object({
25309
25304
  inNextRelease: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.boolean(), /* @__PURE__ */ v.description("If true, marks the issue as resolved in the next release.")),
25310
25305
  inRelease: /* @__PURE__ */ v.pipe(/* @__PURE__ */ v.string(), /* @__PURE__ */ v.description("The version of the release that the issue should be resolved in.If set to `latest`, the latest release will be used.")),
package/dist/zod.gen.d.ts CHANGED
@@ -18141,7 +18141,6 @@ export declare const zDeleteOrganizationIssuesQuery: z.ZodObject<{
18141
18141
  start: z.ZodOptional<z.ZodISODateTime>;
18142
18142
  end: z.ZodOptional<z.ZodISODateTime>;
18143
18143
  query: z.ZodDefault<z.ZodOptional<z.ZodString>>;
18144
- viewId: z.ZodOptional<z.ZodString>;
18145
18144
  sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
18146
18145
  date: "date";
18147
18146
  new: "new";
@@ -18151,7 +18150,6 @@ export declare const zDeleteOrganizationIssuesQuery: z.ZodObject<{
18151
18150
  freq: "freq";
18152
18151
  recommended: "recommended";
18153
18152
  }>>>;
18154
- limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
18155
18153
  }, z.core.$strip>;
18156
18154
  /**
18157
18155
  * No Content
@@ -18179,7 +18177,6 @@ export declare const zListOrganizationIssuesQuery: z.ZodObject<{
18179
18177
  1: "1";
18180
18178
  }>>;
18181
18179
  query: z.ZodDefault<z.ZodOptional<z.ZodString>>;
18182
- viewId: z.ZodOptional<z.ZodString>;
18183
18180
  sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
18184
18181
  date: "date";
18185
18182
  new: "new";
@@ -18469,7 +18466,6 @@ export declare const zUpdateOrganizationIssuesQuery: z.ZodObject<{
18469
18466
  start: z.ZodOptional<z.ZodISODateTime>;
18470
18467
  end: z.ZodOptional<z.ZodISODateTime>;
18471
18468
  query: z.ZodDefault<z.ZodOptional<z.ZodString>>;
18472
- viewId: z.ZodOptional<z.ZodString>;
18473
18469
  sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
18474
18470
  date: "date";
18475
18471
  new: "new";
@@ -18479,7 +18475,6 @@ export declare const zUpdateOrganizationIssuesQuery: z.ZodObject<{
18479
18475
  freq: "freq";
18480
18476
  recommended: "recommended";
18481
18477
  }>>>;
18482
- limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
18483
18478
  }, z.core.$strip>;
18484
18479
  export declare const zUpdateOrganizationIssuesResponse: z.ZodUnion<readonly [z.ZodObject<{
18485
18480
  assignedTo: z.ZodOptional<z.ZodObject<{
@@ -36895,7 +36890,6 @@ export declare const zDeleteOrganizationIssuesData: z.ZodObject<{
36895
36890
  start: z.ZodOptional<z.ZodISODateTime>;
36896
36891
  end: z.ZodOptional<z.ZodISODateTime>;
36897
36892
  query: z.ZodDefault<z.ZodOptional<z.ZodString>>;
36898
- viewId: z.ZodOptional<z.ZodString>;
36899
36893
  sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
36900
36894
  date: "date";
36901
36895
  new: "new";
@@ -36905,7 +36899,6 @@ export declare const zDeleteOrganizationIssuesData: z.ZodObject<{
36905
36899
  freq: "freq";
36906
36900
  recommended: "recommended";
36907
36901
  }>>>;
36908
- limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
36909
36902
  }, z.core.$strip>>;
36910
36903
  }, z.core.$strip>;
36911
36904
  export declare const zListOrganizationIssuesData: z.ZodObject<{
@@ -36932,7 +36925,6 @@ export declare const zListOrganizationIssuesData: z.ZodObject<{
36932
36925
  1: "1";
36933
36926
  }>>;
36934
36927
  query: z.ZodDefault<z.ZodOptional<z.ZodString>>;
36935
- viewId: z.ZodOptional<z.ZodString>;
36936
36928
  sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
36937
36929
  date: "date";
36938
36930
  new: "new";
@@ -37023,7 +37015,6 @@ export declare const zUpdateOrganizationIssuesData: z.ZodObject<{
37023
37015
  start: z.ZodOptional<z.ZodISODateTime>;
37024
37016
  end: z.ZodOptional<z.ZodISODateTime>;
37025
37017
  query: z.ZodDefault<z.ZodOptional<z.ZodString>>;
37026
- viewId: z.ZodOptional<z.ZodString>;
37027
37018
  sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
37028
37019
  date: "date";
37029
37020
  new: "new";
@@ -37033,7 +37024,6 @@ export declare const zUpdateOrganizationIssuesData: z.ZodObject<{
37033
37024
  freq: "freq";
37034
37025
  recommended: "recommended";
37035
37026
  }>>>;
37036
- limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
37037
37027
  }, z.core.$strip>>;
37038
37028
  }, z.core.$strip>;
37039
37029
  export declare const zListOrganizationMembersData: z.ZodObject<{
package/dist/zod.js CHANGED
@@ -7377,7 +7377,7 @@ var zGroupValidator = /* @__PURE__ */ z.object({
7377
7377
  "resolvedInNextRelease",
7378
7378
  "muted"
7379
7379
  ]).register(z.globalRegistry, {
7380
- description: "Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`"
7380
+ description: "The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`"
7381
7381
  }),
7382
7382
  statusDetails: /* @__PURE__ */ z.object({
7383
7383
  inNextRelease: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
@@ -25422,11 +25422,8 @@ var zDeleteOrganizationIssuesQuery = /* @__PURE__ */ z.object({
25422
25422
  description: "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`."
25423
25423
  }).optional(),
25424
25424
  query: /* @__PURE__ */ z.string().register(z.globalRegistry, {
25425
- description: "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string."
25425
+ description: "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string."
25426
25426
  }).optional().default("is:unresolved"),
25427
- viewId: /* @__PURE__ */ z.string().register(z.globalRegistry, {
25428
- description: "The ID of the view to use. If no query is present, the view's query and filters will be applied."
25429
- }).optional(),
25430
25427
  sort: /* @__PURE__ */ z.enum([
25431
25428
  "date",
25432
25429
  "freq",
@@ -25437,10 +25434,7 @@ var zDeleteOrganizationIssuesQuery = /* @__PURE__ */ z.object({
25437
25434
  "user"
25438
25435
  ]).register(z.globalRegistry, {
25439
25436
  description: "The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`)."
25440
- }).optional().default("date"),
25441
- limit: /* @__PURE__ */ z.int().register(z.globalRegistry, {
25442
- description: "The maximum number of issues to affect. The maximum is 100."
25443
- }).optional().default(100)
25437
+ }).optional().default("date")
25444
25438
  });
25445
25439
  var zDeleteOrganizationIssuesResponse = /* @__PURE__ */ z.void().register(z.globalRegistry, {
25446
25440
  description: "No Content"
@@ -25484,11 +25478,8 @@ var zListOrganizationIssuesQuery = /* @__PURE__ */ z.object({
25484
25478
  description: "If this is set to `1` then the query will be parsed for issue short IDs. These may ignore other filters (e.g. projects), which is why it is an opt-in."
25485
25479
  }).optional(),
25486
25480
  query: /* @__PURE__ */ z.string().register(z.globalRegistry, {
25487
- description: "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string."
25481
+ description: "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string."
25488
25482
  }).optional().default("is:unresolved"),
25489
- viewId: /* @__PURE__ */ z.string().register(z.globalRegistry, {
25490
- description: "The ID of the view to use. If no query is present, the view's query and filters will be applied."
25491
- }).optional(),
25492
25483
  sort: /* @__PURE__ */ z.enum([
25493
25484
  "date",
25494
25485
  "freq",
@@ -25501,7 +25492,7 @@ var zListOrganizationIssuesQuery = /* @__PURE__ */ z.object({
25501
25492
  description: "The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`)."
25502
25493
  }).optional().default("date"),
25503
25494
  limit: /* @__PURE__ */ z.int().register(z.globalRegistry, {
25504
- description: "The maximum number of issues to affect. The maximum is 100."
25495
+ description: "The maximum number of issues to return. The maximum is 100."
25505
25496
  }).optional().default(100),
25506
25497
  expand: /* @__PURE__ */ z.array(/* @__PURE__ */ z.enum([
25507
25498
  "inbox",
@@ -25819,7 +25810,7 @@ var zUpdateOrganizationIssuesBody = /* @__PURE__ */ z.object({
25819
25810
  "resolvedInNextRelease",
25820
25811
  "muted"
25821
25812
  ]).register(z.globalRegistry, {
25822
- description: "Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`"
25813
+ description: "The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`"
25823
25814
  }),
25824
25815
  statusDetails: /* @__PURE__ */ z.object({
25825
25816
  inNextRelease: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
@@ -25939,11 +25930,8 @@ var zUpdateOrganizationIssuesQuery = /* @__PURE__ */ z.object({
25939
25930
  description: "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`."
25940
25931
  }).optional(),
25941
25932
  query: /* @__PURE__ */ z.string().register(z.globalRegistry, {
25942
- description: "An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string."
25933
+ description: "An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string."
25943
25934
  }).optional().default("is:unresolved"),
25944
- viewId: /* @__PURE__ */ z.string().register(z.globalRegistry, {
25945
- description: "The ID of the view to use. If no query is present, the view's query and filters will be applied."
25946
- }).optional(),
25947
25935
  sort: /* @__PURE__ */ z.enum([
25948
25936
  "date",
25949
25937
  "freq",
@@ -25954,10 +25942,7 @@ var zUpdateOrganizationIssuesQuery = /* @__PURE__ */ z.object({
25954
25942
  "user"
25955
25943
  ]).register(z.globalRegistry, {
25956
25944
  description: "The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`)."
25957
- }).optional().default("date"),
25958
- limit: /* @__PURE__ */ z.int().register(z.globalRegistry, {
25959
- description: "The maximum number of issues to affect. The maximum is 100."
25960
- }).optional().default(100)
25945
+ }).optional().default("date")
25961
25946
  });
25962
25947
  var zUpdateOrganizationIssuesResponse = /* @__PURE__ */ z.union([
25963
25948
  /* @__PURE__ */ z.object({
@@ -48209,7 +48194,7 @@ var zUpdateOrganizationIssueBody = /* @__PURE__ */ z.object({
48209
48194
  "resolvedInNextRelease",
48210
48195
  "muted"
48211
48196
  ]).register(z.globalRegistry, {
48212
- description: "Limit mutations to only issues with the given status.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`"
48197
+ description: "The new status for the issues.\n\n* `resolved`\n* `unresolved`\n* `ignored`\n* `resolvedInNextRelease`\n* `muted`"
48213
48198
  }),
48214
48199
  statusDetails: /* @__PURE__ */ z.object({
48215
48200
  inNextRelease: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "1.29.2",
3
+ "version": "1.30.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",