@sentry/api 0.230.0 → 0.232.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.
@@ -3113,6 +3113,7 @@ export type GroupHashesResponse = Array<{
3113
3113
  [key: string]: unknown;
3114
3114
  } | null;
3115
3115
  mergedBySeer: boolean;
3116
+ seerMatchDistance: number | null;
3116
3117
  }>;
3117
3118
  export type GroupUpdateResponse = {
3118
3119
  isUnhandled?: boolean;
@@ -17836,9 +17837,9 @@ export type ListOrganizationProfilingChunksData = {
17836
17837
  };
17837
17838
  query: {
17838
17839
  /**
17839
- * The ID of the project to fetch chunks for. Exactly one project must be specified.
17840
+ * The ID or slug of the project to fetch chunks for. Exactly one project must be specified.
17840
17841
  */
17841
- project: number;
17842
+ project: string;
17842
17843
  /**
17843
17844
  * The continuous-profiler ID to fetch chunks for.
17844
17845
  */
@@ -32787,6 +32788,7 @@ export type ListOrganizationIssueHashesResponses = {
32787
32788
  [key: string]: unknown;
32788
32789
  } | null;
32789
32790
  mergedBySeer: boolean;
32791
+ seerMatchDistance: number | null;
32790
32792
  }>;
32791
32793
  };
32792
32794
  export type ListOrganizationIssueHashesResponse = ListOrganizationIssueHashesResponses[keyof ListOrganizationIssueHashesResponses];
package/dist/zod.gen.d.ts CHANGED
@@ -7126,6 +7126,7 @@ export declare const zGroupHashesResponse: z.ZodArray<z.ZodObject<{
7126
7126
  'event.type': string;
7127
7127
  }>, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>]>;
7128
7128
  mergedBySeer: z.ZodBoolean;
7129
+ seerMatchDistance: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
7129
7130
  }, "strip", z.ZodTypeAny, {
7130
7131
  id: string;
7131
7132
  latestEvent: Record<string, unknown> | {
@@ -7203,6 +7204,7 @@ export declare const zGroupHashesResponse: z.ZodArray<z.ZodObject<{
7203
7204
  'event.type': string;
7204
7205
  } | null;
7205
7206
  mergedBySeer: boolean;
7207
+ seerMatchDistance: number | null;
7206
7208
  }, {
7207
7209
  id: string;
7208
7210
  latestEvent: Record<string, unknown> | {
@@ -7280,6 +7282,7 @@ export declare const zGroupHashesResponse: z.ZodArray<z.ZodObject<{
7280
7282
  'event.type': string;
7281
7283
  } | null;
7282
7284
  mergedBySeer: boolean;
7285
+ seerMatchDistance: number | null;
7283
7286
  }>, "many">;
7284
7287
  export declare const zGroupUpdateResponse: z.ZodObject<{
7285
7288
  isUnhandled: z.ZodOptional<z.ZodBoolean>;
@@ -44222,19 +44225,19 @@ export declare const zListOrganizationProfilingChunksData: z.ZodObject<{
44222
44225
  organization_id_or_slug: string;
44223
44226
  }>;
44224
44227
  query: z.ZodObject<{
44225
- project: z.ZodNumber;
44228
+ project: z.ZodString;
44226
44229
  profiler_id: z.ZodString;
44227
44230
  statsPeriod: z.ZodOptional<z.ZodString>;
44228
44231
  start: z.ZodOptional<z.ZodString>;
44229
44232
  end: z.ZodOptional<z.ZodString>;
44230
44233
  }, "strip", z.ZodTypeAny, {
44231
- project: number;
44234
+ project: string;
44232
44235
  profiler_id: string;
44233
44236
  end?: string | undefined;
44234
44237
  start?: string | undefined;
44235
44238
  statsPeriod?: string | undefined;
44236
44239
  }, {
44237
- project: number;
44240
+ project: string;
44238
44241
  profiler_id: string;
44239
44242
  end?: string | undefined;
44240
44243
  start?: string | undefined;
@@ -44242,7 +44245,7 @@ export declare const zListOrganizationProfilingChunksData: z.ZodObject<{
44242
44245
  }>;
44243
44246
  }, "strip", z.ZodTypeAny, {
44244
44247
  query: {
44245
- project: number;
44248
+ project: string;
44246
44249
  profiler_id: string;
44247
44250
  end?: string | undefined;
44248
44251
  start?: string | undefined;
@@ -44254,7 +44257,7 @@ export declare const zListOrganizationProfilingChunksData: z.ZodObject<{
44254
44257
  body?: undefined;
44255
44258
  }, {
44256
44259
  query: {
44257
- project: number;
44260
+ project: string;
44258
44261
  profiler_id: string;
44259
44262
  end?: string | undefined;
44260
44263
  start?: string | undefined;
@@ -74340,6 +74343,7 @@ export declare const zListOrganizationIssueHashesResponse: z.ZodArray<z.ZodObjec
74340
74343
  'event.type': string;
74341
74344
  }>, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>]>;
74342
74345
  mergedBySeer: z.ZodBoolean;
74346
+ seerMatchDistance: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
74343
74347
  }, "strip", z.ZodTypeAny, {
74344
74348
  id: string;
74345
74349
  latestEvent: Record<string, unknown> | {
@@ -74417,6 +74421,7 @@ export declare const zListOrganizationIssueHashesResponse: z.ZodArray<z.ZodObjec
74417
74421
  'event.type': string;
74418
74422
  } | null;
74419
74423
  mergedBySeer: boolean;
74424
+ seerMatchDistance: number | null;
74420
74425
  }, {
74421
74426
  id: string;
74422
74427
  latestEvent: Record<string, unknown> | {
@@ -74494,6 +74499,7 @@ export declare const zListOrganizationIssueHashesResponse: z.ZodArray<z.ZodObjec
74494
74499
  'event.type': string;
74495
74500
  } | null;
74496
74501
  mergedBySeer: boolean;
74502
+ seerMatchDistance: number | null;
74497
74503
  }>, "many">;
74498
74504
  export declare const zGetOrganizationIssueTagData: z.ZodObject<{
74499
74505
  body: z.ZodOptional<z.ZodNever>;
package/dist/zod.js CHANGED
@@ -3167,7 +3167,11 @@ var zGroupHashesResponse = z.array(z.object({
3167
3167
  z.null()
3168
3168
  ])
3169
3169
  ]),
3170
- mergedBySeer: z.boolean()
3170
+ mergedBySeer: z.boolean(),
3171
+ seerMatchDistance: z.union([
3172
+ z.number(),
3173
+ z.null()
3174
+ ])
3171
3175
  }));
3172
3176
  var zGroupUpdateResponse = z.object({
3173
3177
  isUnhandled: z.boolean().optional(),
@@ -17248,7 +17252,7 @@ var zListOrganizationProfilingChunksData = z.object({
17248
17252
  organization_id_or_slug: z.string()
17249
17253
  }),
17250
17254
  query: z.object({
17251
- project: z.number().int(),
17255
+ project: z.string(),
17252
17256
  profiler_id: z.string(),
17253
17257
  statsPeriod: z.string().optional(),
17254
17258
  start: z.string().datetime().optional(),
@@ -28158,7 +28162,11 @@ var zListOrganizationIssueHashesResponse = z.array(z.object({
28158
28162
  z.null()
28159
28163
  ])
28160
28164
  ]),
28161
- mergedBySeer: z.boolean()
28165
+ mergedBySeer: z.boolean(),
28166
+ seerMatchDistance: z.union([
28167
+ z.number(),
28168
+ z.null()
28169
+ ])
28162
28170
  }));
28163
28171
  var zGetOrganizationIssueTagData = z.object({
28164
28172
  body: z.never().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.230.0",
3
+ "version": "0.232.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",