@sentry/api 0.222.0 → 0.224.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sdk.gen.d.ts CHANGED
@@ -1188,6 +1188,8 @@ export declare const listProjectUserFeedback: <ThrowOnError extends boolean = fa
1188
1188
  * If feedback is rejected due to a mutability threshold, a 409 status code will be returned.
1189
1189
  *
1190
1190
  * Note: Feedback may be submitted with DSN authentication (see auth documentation).
1191
+ *
1192
+ * @deprecated
1191
1193
  */
1192
1194
  export declare const createProjectUserFeedback: <ThrowOnError extends boolean = false>(options: Options<CreateProjectUserFeedbackData, ThrowOnError>) => import("./client").RequestResult<CreateProjectUserFeedbackResponses, CreateProjectUserFeedbackErrors, ThrowOnError, "fields">;
1193
1195
  /**
@@ -1236,6 +1238,8 @@ export declare const deleteProjectIssues: <ThrowOnError extends boolean = false>
1236
1238
  * The ``statsPeriod`` parameter can be used to select the timeline stats which should be present. Possible values are: ``""`` (disable),``"24h"`` (default), ``"14d"``
1237
1239
  *
1238
1240
  * User feedback items from the [User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget) are built off the issue platform, so to return a list of user feedback items for a specific project, filter for `issue.category:feedback`.
1241
+ *
1242
+ * @deprecated
1239
1243
  */
1240
1244
  export declare const listProjectIssues: <ThrowOnError extends boolean = false>(options: Options<ListProjectIssuesData, ThrowOnError>) => import("./client").RequestResult<ListProjectIssuesResponses, ListProjectIssuesErrors, ThrowOnError, "fields">;
1241
1245
  /**
@@ -8761,6 +8761,10 @@ export type TeamDetails = {
8761
8761
  * Uniquely identifies a team. This is must be available.
8762
8762
  */
8763
8763
  slug: string;
8764
+ /**
8765
+ * The name of the team.
8766
+ */
8767
+ name?: string;
8764
8768
  };
8765
8769
  export type TeamPost = {
8766
8770
  /**
@@ -27259,6 +27263,10 @@ export type ListProjectReleasesData = {
27259
27263
  * Case-insensitive substring match against the release version.
27260
27264
  */
27261
27265
  query?: string;
27266
+ /**
27267
+ * Limit the number of rows to return in the result. Default and maximum allowed is 100.
27268
+ */
27269
+ per_page?: number;
27262
27270
  /**
27263
27271
  * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
27264
27272
  */
@@ -29257,6 +29265,10 @@ export type UpdateTeamData = {
29257
29265
  * Uniquely identifies a team. This is must be available.
29258
29266
  */
29259
29267
  slug: string;
29268
+ /**
29269
+ * The name of the team.
29270
+ */
29271
+ name?: string;
29260
29272
  };
29261
29273
  path: {
29262
29274
  /**
@@ -30369,6 +30381,14 @@ export type ListProjectIssuesData = {
30369
30381
  * A list of hashes of groups to return. Is not compatible with 'query' parameter. The maximum number of hashes that can be sent is 100. If more are sent, only the first 100 will be used.
30370
30382
  */
30371
30383
  hashes?: string;
30384
+ /**
30385
+ * The sort order of the issues. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), and 'Date Added' (`inbox`).
30386
+ */
30387
+ sort?: 'date' | 'new' | 'trends' | 'freq' | 'user' | 'inbox';
30388
+ /**
30389
+ * The maximum number of issues to return. The maximum is 100.
30390
+ */
30391
+ limit?: number;
30372
30392
  /**
30373
30393
  * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
30374
30394
  */
@@ -30598,6 +30618,14 @@ export type ListOrganizationReleasesData = {
30598
30618
  * This parameter can be used to create a "starts with" filter for the version.
30599
30619
  */
30600
30620
  query?: string;
30621
+ /**
30622
+ * The IDs or slugs of projects to filter releases by. This parameter may be repeated to filter by multiple projects. Omit to include all accessible projects; `-1` includes all accessible projects.
30623
+ */
30624
+ project?: Array<string>;
30625
+ /**
30626
+ * The number of releases to return per page. Default and maximum allowed is 100.
30627
+ */
30628
+ per_page?: number;
30601
30629
  /**
30602
30630
  * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
30603
30631
  */
@@ -32324,6 +32352,10 @@ export type ListOrganizationIssueEventsData = {
32324
32352
  * An optional search query for filtering events. See [search syntax](https://docs.sentry.io/concepts/search/) and queryable event properties at [Sentry Search Documentation](https://docs.sentry.io/concepts/search/searchable-properties/events/) for more information. An example query might be `query=transaction:foo AND release:abc`
32325
32353
  */
32326
32354
  query?: string;
32355
+ /**
32356
+ * Limit the number of rows to return in the result. Default and maximum allowed is 100.
32357
+ */
32358
+ per_page?: number;
32327
32359
  /**
32328
32360
  * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
32329
32361
  */
package/dist/zod.gen.d.ts CHANGED
@@ -25939,10 +25939,13 @@ export declare const zTeam: z.ZodObject<{
25939
25939
  */
25940
25940
  export declare const zTeamDetails: z.ZodObject<{
25941
25941
  slug: z.ZodString;
25942
+ name: z.ZodOptional<z.ZodString>;
25942
25943
  }, "strip", z.ZodTypeAny, {
25943
25944
  slug: string;
25945
+ name?: string | undefined;
25944
25946
  }, {
25945
25947
  slug: string;
25948
+ name?: string | undefined;
25946
25949
  }>;
25947
25950
  export declare const zTeamPost: z.ZodObject<{
25948
25951
  slug: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
@@ -62919,15 +62922,18 @@ export declare const zListProjectReleasesData: z.ZodObject<{
62919
62922
  query: z.ZodOptional<z.ZodObject<{
62920
62923
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62921
62924
  query: z.ZodOptional<z.ZodString>;
62925
+ per_page: z.ZodOptional<z.ZodNumber>;
62922
62926
  cursor: z.ZodOptional<z.ZodString>;
62923
62927
  }, "strip", z.ZodTypeAny, {
62924
62928
  query?: string | undefined;
62925
62929
  environment?: string[] | undefined;
62926
62930
  cursor?: string | undefined;
62931
+ per_page?: number | undefined;
62927
62932
  }, {
62928
62933
  query?: string | undefined;
62929
62934
  environment?: string[] | undefined;
62930
62935
  cursor?: string | undefined;
62936
+ per_page?: number | undefined;
62931
62937
  }>>;
62932
62938
  }, "strip", z.ZodTypeAny, {
62933
62939
  path: {
@@ -62938,6 +62944,7 @@ export declare const zListProjectReleasesData: z.ZodObject<{
62938
62944
  query?: string | undefined;
62939
62945
  environment?: string[] | undefined;
62940
62946
  cursor?: string | undefined;
62947
+ per_page?: number | undefined;
62941
62948
  } | undefined;
62942
62949
  body?: undefined;
62943
62950
  }, {
@@ -62949,6 +62956,7 @@ export declare const zListProjectReleasesData: z.ZodObject<{
62949
62956
  query?: string | undefined;
62950
62957
  environment?: string[] | undefined;
62951
62958
  cursor?: string | undefined;
62959
+ per_page?: number | undefined;
62952
62960
  } | undefined;
62953
62961
  body?: undefined;
62954
62962
  }>;
@@ -67146,10 +67154,13 @@ export declare const zGetTeamResponse: z.ZodObject<{
67146
67154
  export declare const zUpdateTeamData: z.ZodObject<{
67147
67155
  body: z.ZodObject<{
67148
67156
  slug: z.ZodString;
67157
+ name: z.ZodOptional<z.ZodString>;
67149
67158
  }, "strip", z.ZodTypeAny, {
67150
67159
  slug: string;
67160
+ name?: string | undefined;
67151
67161
  }, {
67152
67162
  slug: string;
67163
+ name?: string | undefined;
67153
67164
  }>;
67154
67165
  path: z.ZodObject<{
67155
67166
  organization_id_or_slug: z.ZodString;
@@ -67165,6 +67176,7 @@ export declare const zUpdateTeamData: z.ZodObject<{
67165
67176
  }, "strip", z.ZodTypeAny, {
67166
67177
  body: {
67167
67178
  slug: string;
67179
+ name?: string | undefined;
67168
67180
  };
67169
67181
  path: {
67170
67182
  organization_id_or_slug: string;
@@ -67174,6 +67186,7 @@ export declare const zUpdateTeamData: z.ZodObject<{
67174
67186
  }, {
67175
67187
  body: {
67176
67188
  slug: string;
67189
+ name?: string | undefined;
67177
67190
  };
67178
67191
  path: {
67179
67192
  organization_id_or_slug: string;
@@ -69438,17 +69451,23 @@ export declare const zListProjectIssuesData: z.ZodObject<{
69438
69451
  shortIdLookup: z.ZodOptional<z.ZodBoolean>;
69439
69452
  query: z.ZodOptional<z.ZodString>;
69440
69453
  hashes: z.ZodOptional<z.ZodString>;
69454
+ sort: z.ZodOptional<z.ZodEnum<["date", "new", "trends", "freq", "user", "inbox"]>>;
69455
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
69441
69456
  cursor: z.ZodOptional<z.ZodString>;
69442
69457
  }, "strip", z.ZodTypeAny, {
69458
+ limit: number;
69459
+ sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
69443
69460
  query?: string | undefined;
69444
69461
  cursor?: string | undefined;
69445
69462
  statsPeriod?: string | undefined;
69446
69463
  shortIdLookup?: boolean | undefined;
69447
69464
  hashes?: string | undefined;
69448
69465
  }, {
69466
+ sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
69449
69467
  query?: string | undefined;
69450
69468
  cursor?: string | undefined;
69451
69469
  statsPeriod?: string | undefined;
69470
+ limit?: number | undefined;
69452
69471
  shortIdLookup?: boolean | undefined;
69453
69472
  hashes?: string | undefined;
69454
69473
  }>>;
@@ -69458,6 +69477,8 @@ export declare const zListProjectIssuesData: z.ZodObject<{
69458
69477
  project_id_or_slug: string;
69459
69478
  };
69460
69479
  query?: {
69480
+ limit: number;
69481
+ sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
69461
69482
  query?: string | undefined;
69462
69483
  cursor?: string | undefined;
69463
69484
  statsPeriod?: string | undefined;
@@ -69471,9 +69492,11 @@ export declare const zListProjectIssuesData: z.ZodObject<{
69471
69492
  project_id_or_slug: string;
69472
69493
  };
69473
69494
  query?: {
69495
+ sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
69474
69496
  query?: string | undefined;
69475
69497
  cursor?: string | undefined;
69476
69498
  statsPeriod?: string | undefined;
69499
+ limit?: number | undefined;
69477
69500
  shortIdLookup?: boolean | undefined;
69478
69501
  hashes?: string | undefined;
69479
69502
  } | undefined;
@@ -69875,13 +69898,19 @@ export declare const zListOrganizationReleasesData: z.ZodObject<{
69875
69898
  }>;
69876
69899
  query: z.ZodOptional<z.ZodObject<{
69877
69900
  query: z.ZodOptional<z.ZodString>;
69901
+ project: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
69902
+ per_page: z.ZodOptional<z.ZodNumber>;
69878
69903
  cursor: z.ZodOptional<z.ZodString>;
69879
69904
  }, "strip", z.ZodTypeAny, {
69880
69905
  query?: string | undefined;
69906
+ project?: string[] | undefined;
69881
69907
  cursor?: string | undefined;
69908
+ per_page?: number | undefined;
69882
69909
  }, {
69883
69910
  query?: string | undefined;
69911
+ project?: string[] | undefined;
69884
69912
  cursor?: string | undefined;
69913
+ per_page?: number | undefined;
69885
69914
  }>>;
69886
69915
  }, "strip", z.ZodTypeAny, {
69887
69916
  path: {
@@ -69889,7 +69918,9 @@ export declare const zListOrganizationReleasesData: z.ZodObject<{
69889
69918
  };
69890
69919
  query?: {
69891
69920
  query?: string | undefined;
69921
+ project?: string[] | undefined;
69892
69922
  cursor?: string | undefined;
69923
+ per_page?: number | undefined;
69893
69924
  } | undefined;
69894
69925
  body?: undefined;
69895
69926
  }, {
@@ -69898,7 +69929,9 @@ export declare const zListOrganizationReleasesData: z.ZodObject<{
69898
69929
  };
69899
69930
  query?: {
69900
69931
  query?: string | undefined;
69932
+ project?: string[] | undefined;
69901
69933
  cursor?: string | undefined;
69934
+ per_page?: number | undefined;
69902
69935
  } | undefined;
69903
69936
  body?: undefined;
69904
69937
  }>;
@@ -73212,6 +73245,7 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
73212
73245
  full: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
73213
73246
  sample: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
73214
73247
  query: z.ZodOptional<z.ZodString>;
73248
+ per_page: z.ZodOptional<z.ZodNumber>;
73215
73249
  cursor: z.ZodOptional<z.ZodString>;
73216
73250
  }, "strip", z.ZodTypeAny, {
73217
73251
  full: boolean;
@@ -73219,6 +73253,7 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
73219
73253
  query?: string | undefined;
73220
73254
  environment?: string[] | undefined;
73221
73255
  cursor?: string | undefined;
73256
+ per_page?: number | undefined;
73222
73257
  end?: string | undefined;
73223
73258
  start?: string | undefined;
73224
73259
  statsPeriod?: string | undefined;
@@ -73227,6 +73262,7 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
73227
73262
  full?: boolean | undefined;
73228
73263
  environment?: string[] | undefined;
73229
73264
  cursor?: string | undefined;
73265
+ per_page?: number | undefined;
73230
73266
  end?: string | undefined;
73231
73267
  start?: string | undefined;
73232
73268
  statsPeriod?: string | undefined;
@@ -73243,6 +73279,7 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
73243
73279
  query?: string | undefined;
73244
73280
  environment?: string[] | undefined;
73245
73281
  cursor?: string | undefined;
73282
+ per_page?: number | undefined;
73246
73283
  end?: string | undefined;
73247
73284
  start?: string | undefined;
73248
73285
  statsPeriod?: string | undefined;
@@ -73258,6 +73295,7 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
73258
73295
  full?: boolean | undefined;
73259
73296
  environment?: string[] | undefined;
73260
73297
  cursor?: string | undefined;
73298
+ per_page?: number | undefined;
73261
73299
  end?: string | undefined;
73262
73300
  start?: string | undefined;
73263
73301
  statsPeriod?: string | undefined;
package/dist/zod.js CHANGED
@@ -10266,7 +10266,8 @@ var zTeam = z.object({
10266
10266
  })).optional()
10267
10267
  });
10268
10268
  var zTeamDetails = z.object({
10269
- slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/)
10269
+ slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/),
10270
+ name: z.string().max(64).optional()
10270
10271
  });
10271
10272
  var zTeamPost = z.object({
10272
10273
  slug: z.union([
@@ -24026,6 +24027,7 @@ var zListProjectReleasesData = z.object({
24026
24027
  query: z.object({
24027
24028
  environment: z.array(z.string()).optional(),
24028
24029
  query: z.string().optional(),
24030
+ per_page: z.number().int().optional(),
24029
24031
  cursor: z.string().min(1).optional()
24030
24032
  }).optional()
24031
24033
  });
@@ -25716,7 +25718,8 @@ var zGetTeamResponse = z.object({
25716
25718
  });
25717
25719
  var zUpdateTeamData = z.object({
25718
25720
  body: z.object({
25719
- slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/)
25721
+ slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/),
25722
+ name: z.string().max(64).optional()
25720
25723
  }),
25721
25724
  path: z.object({
25722
25725
  organization_id_or_slug: z.string(),
@@ -26422,6 +26425,15 @@ var zListProjectIssuesData = z.object({
26422
26425
  shortIdLookup: z.boolean().optional(),
26423
26426
  query: z.string().optional(),
26424
26427
  hashes: z.string().optional(),
26428
+ sort: z.enum([
26429
+ "date",
26430
+ "new",
26431
+ "trends",
26432
+ "freq",
26433
+ "user",
26434
+ "inbox"
26435
+ ]).optional(),
26436
+ limit: z.number().int().optional().default(100),
26425
26437
  cursor: z.string().optional()
26426
26438
  }).optional()
26427
26439
  });
@@ -26570,6 +26582,8 @@ var zListOrganizationReleasesData = z.object({
26570
26582
  }),
26571
26583
  query: z.object({
26572
26584
  query: z.string().optional(),
26585
+ project: z.array(z.string()).optional(),
26586
+ per_page: z.number().int().optional(),
26573
26587
  cursor: z.string().optional()
26574
26588
  }).optional()
26575
26589
  });
@@ -27609,6 +27623,7 @@ var zListOrganizationIssueEventsData = z.object({
27609
27623
  full: z.boolean().optional().default(false),
27610
27624
  sample: z.boolean().optional().default(false),
27611
27625
  query: z.string().optional(),
27626
+ per_page: z.number().int().optional(),
27612
27627
  cursor: z.string().min(1).optional()
27613
27628
  }).optional()
27614
27629
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.222.0",
3
+ "version": "0.224.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",