@sentry/api 0.212.0 → 0.213.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.
@@ -19295,9 +19295,9 @@ export type ListOrganizationReplaySelectorsData = {
19295
19295
  */
19296
19296
  end?: string;
19297
19297
  /**
19298
- * The ID of the projects to filter by.
19298
+ * A list of project IDs or slugs to filter by.
19299
19299
  */
19300
- project?: Array<number>;
19300
+ project?: Array<number | string>;
19301
19301
  /**
19302
19302
  * A list of project slugs to filter your results by.
19303
19303
  */
@@ -19401,9 +19401,9 @@ export type ListOrganizationReplaysData = {
19401
19401
  */
19402
19402
  field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
19403
19403
  /**
19404
- * The ID of the projects to filter by.
19404
+ * A list of project IDs or slugs to filter by.
19405
19405
  */
19406
- project?: Array<number>;
19406
+ project?: Array<number | string>;
19407
19407
  /**
19408
19408
  * A list of project slugs to filter your results by.
19409
19409
  */
@@ -19562,9 +19562,9 @@ export type GetOrganizationReplayData = {
19562
19562
  */
19563
19563
  field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
19564
19564
  /**
19565
- * The ID of the projects to filter by.
19565
+ * A list of project IDs or slugs to filter by.
19566
19566
  */
19567
- project?: Array<number>;
19567
+ project?: Array<number | string>;
19568
19568
  /**
19569
19569
  * A list of project slugs to filter your results by.
19570
19570
  */
package/dist/zod.gen.d.ts CHANGED
@@ -47017,7 +47017,7 @@ export declare const zListOrganizationReplaySelectorsData: z.ZodObject<{
47017
47017
  statsPeriod: z.ZodOptional<z.ZodString>;
47018
47018
  start: z.ZodOptional<z.ZodString>;
47019
47019
  end: z.ZodOptional<z.ZodString>;
47020
- project: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47020
+ project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
47021
47021
  projectSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47022
47022
  sort: z.ZodOptional<z.ZodString>;
47023
47023
  sortBy: z.ZodOptional<z.ZodString>;
@@ -47029,7 +47029,7 @@ export declare const zListOrganizationReplaySelectorsData: z.ZodObject<{
47029
47029
  sort?: string | undefined;
47030
47030
  query?: string | undefined;
47031
47031
  environment?: string[] | undefined;
47032
- project?: number[] | undefined;
47032
+ project?: (string | number)[] | undefined;
47033
47033
  cursor?: string | undefined;
47034
47034
  sortBy?: string | undefined;
47035
47035
  per_page?: number | undefined;
@@ -47042,7 +47042,7 @@ export declare const zListOrganizationReplaySelectorsData: z.ZodObject<{
47042
47042
  sort?: string | undefined;
47043
47043
  query?: string | undefined;
47044
47044
  environment?: string[] | undefined;
47045
- project?: number[] | undefined;
47045
+ project?: (string | number)[] | undefined;
47046
47046
  cursor?: string | undefined;
47047
47047
  sortBy?: string | undefined;
47048
47048
  per_page?: number | undefined;
@@ -47060,7 +47060,7 @@ export declare const zListOrganizationReplaySelectorsData: z.ZodObject<{
47060
47060
  sort?: string | undefined;
47061
47061
  query?: string | undefined;
47062
47062
  environment?: string[] | undefined;
47063
- project?: number[] | undefined;
47063
+ project?: (string | number)[] | undefined;
47064
47064
  cursor?: string | undefined;
47065
47065
  sortBy?: string | undefined;
47066
47066
  per_page?: number | undefined;
@@ -47079,7 +47079,7 @@ export declare const zListOrganizationReplaySelectorsData: z.ZodObject<{
47079
47079
  sort?: string | undefined;
47080
47080
  query?: string | undefined;
47081
47081
  environment?: string[] | undefined;
47082
- project?: number[] | undefined;
47082
+ project?: (string | number)[] | undefined;
47083
47083
  cursor?: string | undefined;
47084
47084
  sortBy?: string | undefined;
47085
47085
  per_page?: number | undefined;
@@ -47212,7 +47212,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
47212
47212
  start: z.ZodOptional<z.ZodString>;
47213
47213
  end: z.ZodOptional<z.ZodString>;
47214
47214
  field: z.ZodOptional<z.ZodArray<z.ZodEnum<["activity", "browser", "count_dead_clicks", "count_errors", "count_rage_clicks", "count_segments", "count_urls", "device", "dist", "duration", "environment", "error_ids", "finished_at", "id", "is_archived", "os", "platform", "project_id", "releases", "sdk", "started_at", "tags", "trace_ids", "urls", "user", "clicks", "info_ids", "warning_ids", "count_warnings", "count_infos", "has_viewed"]>, "many">>;
47215
- project: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47215
+ project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
47216
47216
  projectSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47217
47217
  environment: z.ZodOptional<z.ZodString>;
47218
47218
  sort: z.ZodOptional<z.ZodString>;
@@ -47225,7 +47225,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
47225
47225
  sort?: string | undefined;
47226
47226
  query?: string | undefined;
47227
47227
  environment?: string | undefined;
47228
- project?: number[] | undefined;
47228
+ project?: (string | number)[] | undefined;
47229
47229
  cursor?: string | undefined;
47230
47230
  sortBy?: string | undefined;
47231
47231
  per_page?: number | undefined;
@@ -47239,7 +47239,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
47239
47239
  sort?: string | undefined;
47240
47240
  query?: string | undefined;
47241
47241
  environment?: string | undefined;
47242
- project?: number[] | undefined;
47242
+ project?: (string | number)[] | undefined;
47243
47243
  cursor?: string | undefined;
47244
47244
  sortBy?: string | undefined;
47245
47245
  per_page?: number | undefined;
@@ -47258,7 +47258,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
47258
47258
  sort?: string | undefined;
47259
47259
  query?: string | undefined;
47260
47260
  environment?: string | undefined;
47261
- project?: number[] | undefined;
47261
+ project?: (string | number)[] | undefined;
47262
47262
  cursor?: string | undefined;
47263
47263
  sortBy?: string | undefined;
47264
47264
  per_page?: number | undefined;
@@ -47278,7 +47278,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
47278
47278
  sort?: string | undefined;
47279
47279
  query?: string | undefined;
47280
47280
  environment?: string | undefined;
47281
- project?: number[] | undefined;
47281
+ project?: (string | number)[] | undefined;
47282
47282
  cursor?: string | undefined;
47283
47283
  sortBy?: string | undefined;
47284
47284
  per_page?: number | undefined;
@@ -47695,7 +47695,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
47695
47695
  start: z.ZodOptional<z.ZodString>;
47696
47696
  end: z.ZodOptional<z.ZodString>;
47697
47697
  field: z.ZodOptional<z.ZodArray<z.ZodEnum<["activity", "browser", "count_dead_clicks", "count_errors", "count_rage_clicks", "count_segments", "count_urls", "device", "dist", "duration", "environment", "error_ids", "finished_at", "id", "is_archived", "os", "platform", "project_id", "releases", "sdk", "started_at", "tags", "trace_ids", "urls", "user", "clicks", "info_ids", "warning_ids", "count_warnings", "count_infos", "has_viewed"]>, "many">>;
47698
- project: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47698
+ project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
47699
47699
  projectSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47700
47700
  environment: z.ZodOptional<z.ZodString>;
47701
47701
  sort: z.ZodOptional<z.ZodString>;
@@ -47708,7 +47708,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
47708
47708
  sort?: string | undefined;
47709
47709
  query?: string | undefined;
47710
47710
  environment?: string | undefined;
47711
- project?: number[] | undefined;
47711
+ project?: (string | number)[] | undefined;
47712
47712
  cursor?: string | undefined;
47713
47713
  sortBy?: string | undefined;
47714
47714
  per_page?: number | undefined;
@@ -47722,7 +47722,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
47722
47722
  sort?: string | undefined;
47723
47723
  query?: string | undefined;
47724
47724
  environment?: string | undefined;
47725
- project?: number[] | undefined;
47725
+ project?: (string | number)[] | undefined;
47726
47726
  cursor?: string | undefined;
47727
47727
  sortBy?: string | undefined;
47728
47728
  per_page?: number | undefined;
@@ -47742,7 +47742,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
47742
47742
  sort?: string | undefined;
47743
47743
  query?: string | undefined;
47744
47744
  environment?: string | undefined;
47745
- project?: number[] | undefined;
47745
+ project?: (string | number)[] | undefined;
47746
47746
  cursor?: string | undefined;
47747
47747
  sortBy?: string | undefined;
47748
47748
  per_page?: number | undefined;
@@ -47763,7 +47763,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
47763
47763
  sort?: string | undefined;
47764
47764
  query?: string | undefined;
47765
47765
  environment?: string | undefined;
47766
- project?: number[] | undefined;
47766
+ project?: (string | number)[] | undefined;
47767
47767
  cursor?: string | undefined;
47768
47768
  sortBy?: string | undefined;
47769
47769
  per_page?: number | undefined;
package/dist/zod.js CHANGED
@@ -18325,7 +18325,7 @@ var zListOrganizationReplaySelectorsData = z.object({
18325
18325
  statsPeriod: z.string().min(1).optional(),
18326
18326
  start: z.string().datetime().optional(),
18327
18327
  end: z.string().datetime().optional(),
18328
- project: z.array(z.number().int()).optional(),
18328
+ project: z.array(z.union([z.number().int(), z.string()])).optional(),
18329
18329
  projectSlug: z.array(z.string()).optional(),
18330
18330
  sort: z.string().min(1).optional(),
18331
18331
  sortBy: z.string().min(1).optional(),
@@ -18396,7 +18396,7 @@ var zListOrganizationReplaysData = z.object({
18396
18396
  "count_infos",
18397
18397
  "has_viewed"
18398
18398
  ])).optional(),
18399
- project: z.array(z.number().int()).optional(),
18399
+ project: z.array(z.union([z.number().int(), z.string()])).optional(),
18400
18400
  projectSlug: z.array(z.string()).optional(),
18401
18401
  environment: z.string().min(1).optional(),
18402
18402
  sort: z.string().min(1).optional(),
@@ -18632,7 +18632,7 @@ var zGetOrganizationReplayData = z.object({
18632
18632
  "count_infos",
18633
18633
  "has_viewed"
18634
18634
  ])).optional(),
18635
- project: z.array(z.number().int()).optional(),
18635
+ project: z.array(z.union([z.number().int(), z.string()])).optional(),
18636
18636
  projectSlug: z.array(z.string()).optional(),
18637
18637
  environment: z.string().min(1).optional(),
18638
18638
  sort: z.string().min(1).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.212.0",
3
+ "version": "0.213.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",