@sentry/api 0.173.0 → 0.175.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/zod.js CHANGED
@@ -4605,6 +4605,45 @@ var zListOrganizationMemberResponse = z.array(z.object({
4605
4605
  z.null()
4606
4606
  ])
4607
4607
  }));
4608
+ var zListOrganizationTagsResponse = z.array(z.object({
4609
+ uniqueValues: z.union([
4610
+ z.number().int(),
4611
+ z.null()
4612
+ ]).optional(),
4613
+ totalValues: z.union([
4614
+ z.number().int(),
4615
+ z.null()
4616
+ ]).optional(),
4617
+ topValues: z.union([
4618
+ z.array(z.object({
4619
+ query: z.union([
4620
+ z.string(),
4621
+ z.null()
4622
+ ]).optional(),
4623
+ key: z.string(),
4624
+ name: z.string(),
4625
+ value: z.union([
4626
+ z.string(),
4627
+ z.null()
4628
+ ]),
4629
+ count: z.union([
4630
+ z.number().int(),
4631
+ z.null()
4632
+ ]),
4633
+ lastSeen: z.union([
4634
+ z.string(),
4635
+ z.null()
4636
+ ]),
4637
+ firstSeen: z.union([
4638
+ z.string(),
4639
+ z.null()
4640
+ ])
4641
+ })),
4642
+ z.null()
4643
+ ]).optional(),
4644
+ key: z.string(),
4645
+ name: z.string()
4646
+ }));
4608
4647
  var zListOrganizations = z.array(z.object({
4609
4648
  features: z.array(z.string()).optional(),
4610
4649
  extraOptions: z.record(z.record(z.unknown())).optional(),
@@ -10312,7 +10351,8 @@ var zListYourOrganizationsData = z.object({
10312
10351
  owner: z.boolean().optional(),
10313
10352
  cursor: z.string().min(1).optional(),
10314
10353
  query: z.string().optional(),
10315
- sortBy: z.string().optional()
10354
+ sortBy: z.string().optional(),
10355
+ per_page: z.number().int().optional()
10316
10356
  }).optional()
10317
10357
  });
10318
10358
  var zListYourOrganizationsResponse = z.array(z.object({
@@ -12635,6 +12675,7 @@ var zQueryExploreEventsInTableFormatData = z.object({
12635
12675
  per_page: z.number().int().optional(),
12636
12676
  query: z.string().optional(),
12637
12677
  sort: z.string().optional(),
12678
+ allowAggregateConditions: z.boolean().optional(),
12638
12679
  cursor: z.string().min(1).optional()
12639
12680
  })
12640
12681
  });
@@ -17957,7 +17998,14 @@ var zRetrieveACountOfReplaysForAGivenIssueOrTransactionData = z.object({
17957
17998
  end: z.string().datetime().optional(),
17958
17999
  statsPeriod: z.string().optional(),
17959
18000
  project_id_or_slug: z.array(z.string()).optional(),
17960
- query: z.string().optional()
18001
+ query: z.string().optional(),
18002
+ data_source: z.enum([
18003
+ "discover",
18004
+ "events",
18005
+ "search_issues",
18006
+ "transactions"
18007
+ ]).optional(),
18008
+ returnIds: z.boolean().optional()
17961
18009
  }).optional()
17962
18010
  });
17963
18011
  var zRetrieveACountOfReplaysForAGivenIssueOrTransactionResponse = z.record(z.number().int());
@@ -19294,6 +19342,66 @@ var zRetrieveEventCountsForAnOrganizationV2Response = z.object({
19294
19342
  series: z.record(z.unknown())
19295
19343
  }))
19296
19344
  });
19345
+ var zListAnOrganizationSTagsData = z.object({
19346
+ body: z.never().optional(),
19347
+ path: z.object({
19348
+ organization_id_or_slug: z.string()
19349
+ }),
19350
+ query: z.object({
19351
+ project: z.array(z.number().int()).optional(),
19352
+ environment: z.array(z.string()).optional(),
19353
+ statsPeriod: z.string().optional(),
19354
+ start: z.string().datetime().optional(),
19355
+ end: z.string().datetime().optional(),
19356
+ dataset: z.enum([
19357
+ "discover",
19358
+ "events",
19359
+ "replays",
19360
+ "search_issues"
19361
+ ]).optional(),
19362
+ use_cache: z.enum(["0", "1"]).optional(),
19363
+ useFlagsBackend: z.enum(["0", "1"]).optional()
19364
+ }).optional()
19365
+ });
19366
+ var zListAnOrganizationSTagsResponse = z.array(z.object({
19367
+ uniqueValues: z.union([
19368
+ z.number().int(),
19369
+ z.null()
19370
+ ]).optional(),
19371
+ totalValues: z.union([
19372
+ z.number().int(),
19373
+ z.null()
19374
+ ]).optional(),
19375
+ topValues: z.union([
19376
+ z.array(z.object({
19377
+ query: z.union([
19378
+ z.string(),
19379
+ z.null()
19380
+ ]).optional(),
19381
+ key: z.string(),
19382
+ name: z.string(),
19383
+ value: z.union([
19384
+ z.string(),
19385
+ z.null()
19386
+ ]),
19387
+ count: z.union([
19388
+ z.number().int(),
19389
+ z.null()
19390
+ ]),
19391
+ lastSeen: z.union([
19392
+ z.string(),
19393
+ z.null()
19394
+ ]),
19395
+ firstSeen: z.union([
19396
+ z.string(),
19397
+ z.null()
19398
+ ])
19399
+ })),
19400
+ z.null()
19401
+ ]).optional(),
19402
+ key: z.string(),
19403
+ name: z.string()
19404
+ }));
19297
19405
  var zListAnOrganizationSTeamsData = z.object({
19298
19406
  body: z.never().optional(),
19299
19407
  path: z.object({
@@ -26034,7 +26142,7 @@ var zBulkMutateAListOfIssuesResponse = z.object({
26034
26142
  var zListATagSValuesForAnIssueData = z.object({
26035
26143
  body: z.never().optional(),
26036
26144
  path: z.object({
26037
- issue_id: z.number().int(),
26145
+ issue_id: z.string(),
26038
26146
  organization_id_or_slug: z.string(),
26039
26147
  key: z.string()
26040
26148
  }),
@@ -26575,7 +26683,7 @@ var zRemoveAnIssueData = z.object({
26575
26683
  body: z.never().optional(),
26576
26684
  path: z.object({
26577
26685
  organization_id_or_slug: z.string(),
26578
- issue_id: z.number().int()
26686
+ issue_id: z.string()
26579
26687
  }),
26580
26688
  query: z.never().optional()
26581
26689
  });
@@ -26583,7 +26691,7 @@ var zRetrieveAnIssueData = z.object({
26583
26691
  body: z.never().optional(),
26584
26692
  path: z.object({
26585
26693
  organization_id_or_slug: z.string(),
26586
- issue_id: z.number().int()
26694
+ issue_id: z.string()
26587
26695
  }),
26588
26696
  query: z.object({
26589
26697
  environment: z.array(z.string()).optional(),
@@ -26844,7 +26952,7 @@ var zUpdateAnIssueData = z.object({
26844
26952
  }),
26845
26953
  path: z.object({
26846
26954
  organization_id_or_slug: z.string(),
26847
- issue_id: z.number().int()
26955
+ issue_id: z.string()
26848
26956
  }),
26849
26957
  query: z.never().optional()
26850
26958
  });
@@ -27018,7 +27126,7 @@ var zRetrieveSeerIssueFixStateData = z.object({
27018
27126
  body: z.never().optional(),
27019
27127
  path: z.object({
27020
27128
  organization_id_or_slug: z.string(),
27021
- issue_id: z.number().int()
27129
+ issue_id: z.string()
27022
27130
  }),
27023
27131
  query: z.never().optional()
27024
27132
  });
@@ -27053,7 +27161,7 @@ var zStartSeerIssueFixData = z.object({
27053
27161
  }).optional(),
27054
27162
  path: z.object({
27055
27163
  organization_id_or_slug: z.string(),
27056
- issue_id: z.number().int()
27164
+ issue_id: z.string()
27057
27165
  }),
27058
27166
  query: z.never().optional()
27059
27167
  });
@@ -27064,7 +27172,7 @@ var zListAnIssueSEventsData = z.object({
27064
27172
  body: z.never().optional(),
27065
27173
  path: z.object({
27066
27174
  organization_id_or_slug: z.string(),
27067
- issue_id: z.number().int()
27175
+ issue_id: z.string()
27068
27176
  }),
27069
27177
  query: z.object({
27070
27178
  start: z.string().datetime().optional(),
@@ -27152,7 +27260,7 @@ var zRetrieveAnIssueEventData = z.object({
27152
27260
  body: z.never().optional(),
27153
27261
  path: z.object({
27154
27262
  organization_id_or_slug: z.string(),
27155
- issue_id: z.number().int(),
27263
+ issue_id: z.string(),
27156
27264
  event_id: z.enum([
27157
27265
  "latest",
27158
27266
  "oldest",
@@ -27391,7 +27499,7 @@ var zRetrieveCustomIntegrationIssueLinksForTheGivenSentryIssueData = z.object({
27391
27499
  body: z.never().optional(),
27392
27500
  path: z.object({
27393
27501
  organization_id_or_slug: z.string(),
27394
- issue_id: z.number().int()
27502
+ issue_id: z.string()
27395
27503
  }),
27396
27504
  query: z.never().optional()
27397
27505
  });
@@ -27406,7 +27514,7 @@ var zListAnIssueSHashesData = z.object({
27406
27514
  body: z.never().optional(),
27407
27515
  path: z.object({
27408
27516
  organization_id_or_slug: z.string(),
27409
- issue_id: z.number().int()
27517
+ issue_id: z.string()
27410
27518
  }),
27411
27519
  query: z.object({
27412
27520
  full: z.boolean().optional().default(true),
@@ -27597,7 +27705,7 @@ var zListAnIssueSHashesResponse = z.array(z.object({
27597
27705
  var zRetrieveTagDetailsData = z.object({
27598
27706
  body: z.never().optional(),
27599
27707
  path: z.object({
27600
- issue_id: z.number().int(),
27708
+ issue_id: z.string(),
27601
27709
  organization_id_or_slug: z.string(),
27602
27710
  key: z.string()
27603
27711
  }),
@@ -27949,6 +28057,7 @@ export {
27949
28057
  zListProjectEnvironments,
27950
28058
  zListProjectDebugFilesResponse,
27951
28059
  zListOrganizations,
28060
+ zListOrganizationTagsResponse,
27952
28061
  zListOrganizationMemberResponse,
27953
28062
  zListOrganizationIntegrationResponse,
27954
28063
  zListOrganizationClientKeysResponse,
@@ -27969,6 +28078,8 @@ export {
27969
28078
  zListAnOrganizationSTrustedRelaysData,
27970
28079
  zListAnOrganizationSTeamsResponse,
27971
28080
  zListAnOrganizationSTeamsData,
28081
+ zListAnOrganizationSTagsResponse,
28082
+ zListAnOrganizationSTagsData,
27972
28083
  zListAnOrganizationSSelectorsResponse,
27973
28084
  zListAnOrganizationSSelectorsData,
27974
28085
  zListAnOrganizationSScimMembersResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.173.0",
3
+ "version": "0.175.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",