@sentry/api 0.274.0 → 0.276.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/index.js CHANGED
@@ -2499,7 +2499,7 @@ var narrowError_listOrganizationMembers = async (options) => callWithTypedErrors
2499
2499
  var narrowError_listOrganizationMonitorCheckins = async (options) => callWithTypedErrors(() => listOrganizationMonitorCheckins({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
2500
2500
  var narrowError_listOrganizationMonitors = async (options) => callWithTypedErrors(() => listOrganizationMonitors({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
2501
2501
  var narrowError_listOrganizationNotificationsActions = async (options) => callWithTypedErrors(() => listOrganizationNotificationsActions({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
2502
- var narrowError_listOrganizationProfilingChunks = async (options) => callWithTypedErrors(() => listOrganizationProfilingChunks({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
2502
+ var narrowError_listOrganizationProfilingChunks = async (options) => callWithTypedErrors(() => listOrganizationProfilingChunks({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
2503
2503
  var narrowError_listOrganizationProjectKeys = async (options) => callWithTypedErrors(() => listOrganizationProjectKeys({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
2504
2504
  var narrowError_listOrganizationProjects = async (options) => callWithTypedErrors(() => listOrganizationProjects({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
2505
2505
  var narrowError_listOrganizationRelayUsage = async (options) => callWithTypedErrors(() => listOrganizationRelayUsage({ ...options, responseStyle: "fields", throwOnError: false }), [404]);
@@ -18949,6 +18949,10 @@ export type ListOrganizationProfilingChunksData = {
18949
18949
  url: '/api/0/organizations/{organization_id_or_slug}/profiling/chunks/';
18950
18950
  };
18951
18951
  export type ListOrganizationProfilingChunksErrors = {
18952
+ /**
18953
+ * Bad Request
18954
+ */
18955
+ 400: unknown;
18952
18956
  /**
18953
18957
  * Unauthorized
18954
18958
  */
@@ -33093,9 +33097,9 @@ export type ListProjectIssuesData = {
33093
33097
  */
33094
33098
  hashes?: string;
33095
33099
  /**
33096
- * The sort order of the issues. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), and 'Date Added' (`inbox`).
33100
+ * The sort order of the issues. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), and 'Recommended' (`recommended`).
33097
33101
  */
33098
- sort?: 'date' | 'new' | 'trends' | 'freq' | 'user' | 'inbox';
33102
+ sort?: 'date' | 'new' | 'trends' | 'freq' | 'user' | 'recommended';
33099
33103
  /**
33100
33104
  * The maximum number of issues to return. The maximum is 100.
33101
33105
  */
@@ -10002,7 +10002,7 @@ export declare const vListOrganizationProfilingChunksData: v.ObjectSchema<{
10002
10002
  }, undefined>;
10003
10003
  readonly query: v.ObjectSchema<{
10004
10004
  readonly project: v.StringSchema<undefined>;
10005
- readonly profiler_id: v.StringSchema<undefined>;
10005
+ readonly profiler_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
10006
10006
  readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10007
10007
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
10008
10008
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
@@ -16106,7 +16106,7 @@ export declare const vListProjectIssuesData: v.ObjectSchema<{
16106
16106
  readonly shortIdLookup: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
16107
16107
  readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
16108
16108
  readonly hashes: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
16109
- readonly sort: v.OptionalSchema<v.PicklistSchema<["date", "new", "trends", "freq", "user", "inbox"], undefined>, undefined>;
16109
+ readonly sort: v.OptionalSchema<v.PicklistSchema<["date", "new", "trends", "freq", "user", "recommended"], undefined>, undefined>;
16110
16110
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, 100>;
16111
16111
  readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
16112
16112
  }, undefined>, undefined>;
package/dist/valibot.js CHANGED
@@ -13037,7 +13037,7 @@ var vListOrganizationProfilingChunksData = v.object({
13037
13037
  }),
13038
13038
  query: v.object({
13039
13039
  project: v.string(),
13040
- profiler_id: v.string(),
13040
+ profiler_id: v.pipe(v.string(), v.uuid()),
13041
13041
  statsPeriod: v.optional(v.string()),
13042
13042
  start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
13043
13043
  end: v.optional(v.pipe(v.string(), v.isoTimestamp()))
@@ -20345,7 +20345,7 @@ var vListProjectIssuesData = v.object({
20345
20345
  "trends",
20346
20346
  "freq",
20347
20347
  "user",
20348
- "inbox"
20348
+ "recommended"
20349
20349
  ])),
20350
20350
  limit: v.optional(v.pipe(v.number(), v.integer()), 100),
20351
20351
  cursor: v.optional(v.string())
package/dist/zod.gen.d.ts CHANGED
@@ -79096,19 +79096,19 @@ export declare const zListProjectIssuesData: z.ZodObject<{
79096
79096
  shortIdLookup: z.ZodOptional<z.ZodBoolean>;
79097
79097
  query: z.ZodOptional<z.ZodString>;
79098
79098
  hashes: z.ZodOptional<z.ZodString>;
79099
- sort: z.ZodOptional<z.ZodEnum<["date", "new", "trends", "freq", "user", "inbox"]>>;
79099
+ sort: z.ZodOptional<z.ZodEnum<["date", "new", "trends", "freq", "user", "recommended"]>>;
79100
79100
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
79101
79101
  cursor: z.ZodOptional<z.ZodString>;
79102
79102
  }, "strip", z.ZodTypeAny, {
79103
79103
  limit: number;
79104
- sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
79104
+ sort?: "user" | "new" | "date" | "freq" | "recommended" | "trends" | undefined;
79105
79105
  query?: string | undefined;
79106
79106
  cursor?: string | undefined;
79107
79107
  statsPeriod?: string | undefined;
79108
79108
  shortIdLookup?: boolean | undefined;
79109
79109
  hashes?: string | undefined;
79110
79110
  }, {
79111
- sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
79111
+ sort?: "user" | "new" | "date" | "freq" | "recommended" | "trends" | undefined;
79112
79112
  query?: string | undefined;
79113
79113
  cursor?: string | undefined;
79114
79114
  statsPeriod?: string | undefined;
@@ -79123,7 +79123,7 @@ export declare const zListProjectIssuesData: z.ZodObject<{
79123
79123
  };
79124
79124
  query?: {
79125
79125
  limit: number;
79126
- sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
79126
+ sort?: "user" | "new" | "date" | "freq" | "recommended" | "trends" | undefined;
79127
79127
  query?: string | undefined;
79128
79128
  cursor?: string | undefined;
79129
79129
  statsPeriod?: string | undefined;
@@ -79137,7 +79137,7 @@ export declare const zListProjectIssuesData: z.ZodObject<{
79137
79137
  project_id_or_slug: string;
79138
79138
  };
79139
79139
  query?: {
79140
- sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
79140
+ sort?: "user" | "new" | "date" | "freq" | "recommended" | "trends" | undefined;
79141
79141
  query?: string | undefined;
79142
79142
  cursor?: string | undefined;
79143
79143
  statsPeriod?: string | undefined;
package/dist/zod.js CHANGED
@@ -19167,7 +19167,7 @@ var zListOrganizationProfilingChunksData = z.object({
19167
19167
  }),
19168
19168
  query: z.object({
19169
19169
  project: z.string(),
19170
- profiler_id: z.string(),
19170
+ profiler_id: z.string().uuid(),
19171
19171
  statsPeriod: z.string().optional(),
19172
19172
  start: z.string().datetime().optional(),
19173
19173
  end: z.string().datetime().optional()
@@ -29825,7 +29825,7 @@ var zListProjectIssuesData = z.object({
29825
29825
  "trends",
29826
29826
  "freq",
29827
29827
  "user",
29828
- "inbox"
29828
+ "recommended"
29829
29829
  ]).optional(),
29830
29830
  limit: z.number().int().optional().default(100),
29831
29831
  cursor: z.string().optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.274.0",
3
+ "version": "0.276.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",