@sentry/api 1.29.1 → 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.
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.1",
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",