@sentry/api 0.321.0 → 0.322.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.
@@ -22951,11 +22951,11 @@ export type GetOrganizationReplayCountData = {
22951
22951
  /**
22952
22952
  * The data source to query replays from.
22953
22953
  *
22954
- * * `events`
22954
+ * * `errors`
22955
22955
  * * `search_issues`
22956
22956
  * * `spans`
22957
22957
  */
22958
- data_source: 'events' | 'search_issues' | 'spans';
22958
+ data_source: 'errors' | 'search_issues' | 'spans';
22959
22959
  /**
22960
22960
  * The name of environments to filter by.
22961
22961
  */
@@ -11803,7 +11803,7 @@ export declare const vGetOrganizationReplayCountData: v.ObjectSchema<{
11803
11803
  }, undefined>;
11804
11804
  readonly query: v.ObjectSchema<{
11805
11805
  readonly query: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
11806
- readonly data_source: v.PicklistSchema<["events", "search_issues", "spans"], undefined>;
11806
+ readonly data_source: v.PicklistSchema<["errors", "search_issues", "spans"], undefined>;
11807
11807
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
11808
11808
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
11809
11809
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
package/dist/valibot.js CHANGED
@@ -15016,7 +15016,7 @@ var vGetOrganizationReplayCountData = v.object({
15016
15016
  query: v.object({
15017
15017
  query: v.pipe(v.string(), v.minLength(1)),
15018
15018
  data_source: v.picklist([
15019
- "events",
15019
+ "errors",
15020
15020
  "search_issues",
15021
15021
  "spans"
15022
15022
  ]),
package/dist/zod.gen.d.ts CHANGED
@@ -58500,7 +58500,7 @@ export declare const zGetOrganizationReplayCountData: z.ZodObject<{
58500
58500
  }>;
58501
58501
  query: z.ZodObject<{
58502
58502
  query: z.ZodString;
58503
- data_source: z.ZodEnum<["events", "search_issues", "spans"]>;
58503
+ data_source: z.ZodEnum<["errors", "search_issues", "spans"]>;
58504
58504
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
58505
58505
  start: z.ZodOptional<z.ZodString>;
58506
58506
  end: z.ZodOptional<z.ZodString>;
@@ -58510,7 +58510,7 @@ export declare const zGetOrganizationReplayCountData: z.ZodObject<{
58510
58510
  returnIds: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
58511
58511
  }, "strip", z.ZodTypeAny, {
58512
58512
  query: string;
58513
- data_source: "spans" | "events" | "search_issues";
58513
+ data_source: "spans" | "errors" | "search_issues";
58514
58514
  returnIds: boolean;
58515
58515
  environment?: string[] | undefined;
58516
58516
  project?: (string | number)[] | undefined;
@@ -58520,7 +58520,7 @@ export declare const zGetOrganizationReplayCountData: z.ZodObject<{
58520
58520
  project_id_or_slug?: string[] | undefined;
58521
58521
  }, {
58522
58522
  query: string;
58523
- data_source: "spans" | "events" | "search_issues";
58523
+ data_source: "spans" | "errors" | "search_issues";
58524
58524
  environment?: string[] | undefined;
58525
58525
  project?: (string | number)[] | undefined;
58526
58526
  statsPeriod?: string | undefined;
@@ -58532,7 +58532,7 @@ export declare const zGetOrganizationReplayCountData: z.ZodObject<{
58532
58532
  }, "strip", z.ZodTypeAny, {
58533
58533
  query: {
58534
58534
  query: string;
58535
- data_source: "spans" | "events" | "search_issues";
58535
+ data_source: "spans" | "errors" | "search_issues";
58536
58536
  returnIds: boolean;
58537
58537
  environment?: string[] | undefined;
58538
58538
  project?: (string | number)[] | undefined;
@@ -58548,7 +58548,7 @@ export declare const zGetOrganizationReplayCountData: z.ZodObject<{
58548
58548
  }, {
58549
58549
  query: {
58550
58550
  query: string;
58551
- data_source: "spans" | "events" | "search_issues";
58551
+ data_source: "spans" | "errors" | "search_issues";
58552
58552
  environment?: string[] | undefined;
58553
58553
  project?: (string | number)[] | undefined;
58554
58554
  statsPeriod?: string | undefined;
@@ -63380,7 +63380,7 @@ export declare const zListOrganizationTagsData: z.ZodObject<{
63380
63380
  statsPeriod?: string | undefined;
63381
63381
  start?: string | undefined;
63382
63382
  end?: string | undefined;
63383
- dataset?: "discover" | "events" | "search_issues" | "replays" | undefined;
63383
+ dataset?: "discover" | "search_issues" | "replays" | "events" | undefined;
63384
63384
  use_cache?: "0" | "1" | undefined;
63385
63385
  useFlagsBackend?: "0" | "1" | undefined;
63386
63386
  }, {
@@ -63389,7 +63389,7 @@ export declare const zListOrganizationTagsData: z.ZodObject<{
63389
63389
  statsPeriod?: string | undefined;
63390
63390
  start?: string | undefined;
63391
63391
  end?: string | undefined;
63392
- dataset?: "discover" | "events" | "search_issues" | "replays" | undefined;
63392
+ dataset?: "discover" | "search_issues" | "replays" | "events" | undefined;
63393
63393
  use_cache?: "0" | "1" | undefined;
63394
63394
  useFlagsBackend?: "0" | "1" | undefined;
63395
63395
  }>>;
@@ -63403,7 +63403,7 @@ export declare const zListOrganizationTagsData: z.ZodObject<{
63403
63403
  statsPeriod?: string | undefined;
63404
63404
  start?: string | undefined;
63405
63405
  end?: string | undefined;
63406
- dataset?: "discover" | "events" | "search_issues" | "replays" | undefined;
63406
+ dataset?: "discover" | "search_issues" | "replays" | "events" | undefined;
63407
63407
  use_cache?: "0" | "1" | undefined;
63408
63408
  useFlagsBackend?: "0" | "1" | undefined;
63409
63409
  } | undefined;
@@ -63418,7 +63418,7 @@ export declare const zListOrganizationTagsData: z.ZodObject<{
63418
63418
  statsPeriod?: string | undefined;
63419
63419
  start?: string | undefined;
63420
63420
  end?: string | undefined;
63421
- dataset?: "discover" | "events" | "search_issues" | "replays" | undefined;
63421
+ dataset?: "discover" | "search_issues" | "replays" | "events" | undefined;
63422
63422
  use_cache?: "0" | "1" | undefined;
63423
63423
  useFlagsBackend?: "0" | "1" | undefined;
63424
63424
  } | undefined;
@@ -83186,15 +83186,15 @@ export declare const zListProjectHooksResponse: z.ZodArray<z.ZodObject<{
83186
83186
  url: z.ZodString;
83187
83187
  }, "strip", z.ZodTypeAny, {
83188
83188
  url: string;
83189
- events: string[];
83190
83189
  id: string;
83190
+ events: string[];
83191
83191
  status: string;
83192
83192
  dateCreated: string;
83193
83193
  secret: string;
83194
83194
  }, {
83195
83195
  url: string;
83196
- events: string[];
83197
83196
  id: string;
83197
+ events: string[];
83198
83198
  status: string;
83199
83199
  dateCreated: string;
83200
83200
  secret: string;
@@ -83254,15 +83254,15 @@ export declare const zCreateProjectHookResponse: z.ZodObject<{
83254
83254
  url: z.ZodString;
83255
83255
  }, "strip", z.ZodTypeAny, {
83256
83256
  url: string;
83257
- events: string[];
83258
83257
  id: string;
83258
+ events: string[];
83259
83259
  status: string;
83260
83260
  dateCreated: string;
83261
83261
  secret: string;
83262
83262
  }, {
83263
83263
  url: string;
83264
- events: string[];
83265
83264
  id: string;
83265
+ events: string[];
83266
83266
  status: string;
83267
83267
  dateCreated: string;
83268
83268
  secret: string;
@@ -83349,15 +83349,15 @@ export declare const zGetProjectHookResponse: z.ZodObject<{
83349
83349
  url: z.ZodString;
83350
83350
  }, "strip", z.ZodTypeAny, {
83351
83351
  url: string;
83352
- events: string[];
83353
83352
  id: string;
83353
+ events: string[];
83354
83354
  status: string;
83355
83355
  dateCreated: string;
83356
83356
  secret: string;
83357
83357
  }, {
83358
83358
  url: string;
83359
- events: string[];
83360
83359
  id: string;
83360
+ events: string[];
83361
83361
  status: string;
83362
83362
  dateCreated: string;
83363
83363
  secret: string;
@@ -83422,15 +83422,15 @@ export declare const zUpdateProjectHookResponse: z.ZodObject<{
83422
83422
  url: z.ZodString;
83423
83423
  }, "strip", z.ZodTypeAny, {
83424
83424
  url: string;
83425
- events: string[];
83426
83425
  id: string;
83426
+ events: string[];
83427
83427
  status: string;
83428
83428
  dateCreated: string;
83429
83429
  secret: string;
83430
83430
  }, {
83431
83431
  url: string;
83432
- events: string[];
83433
83432
  id: string;
83433
+ events: string[];
83434
83434
  status: string;
83435
83435
  dateCreated: string;
83436
83436
  secret: string;
package/dist/zod.js CHANGED
@@ -22571,7 +22571,7 @@ var zGetOrganizationReplayCountData = z.object({
22571
22571
  query: z.object({
22572
22572
  query: z.string().min(1),
22573
22573
  data_source: z.enum([
22574
- "events",
22574
+ "errors",
22575
22575
  "search_issues",
22576
22576
  "spans"
22577
22577
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.321.0",
3
+ "version": "0.322.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",