@sentry/api 0.156.0 → 0.158.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
@@ -2226,6 +2226,26 @@ var zEnvironmentProject = z.object({
2226
2226
  name: z.string(),
2227
2227
  isHidden: z.boolean()
2228
2228
  });
2229
+ var zEventAttachmentDetailsResponse = z.object({
2230
+ id: z.string(),
2231
+ event_id: z.string(),
2232
+ type: z.string(),
2233
+ name: z.string(),
2234
+ mimetype: z.union([
2235
+ z.string(),
2236
+ z.null()
2237
+ ]),
2238
+ dateCreated: z.string().datetime(),
2239
+ size: z.number().int(),
2240
+ headers: z.record(z.union([
2241
+ z.string(),
2242
+ z.null()
2243
+ ])),
2244
+ sha1: z.union([
2245
+ z.string(),
2246
+ z.null()
2247
+ ])
2248
+ });
2229
2249
  var zEventIdLookupResponse = z.object({
2230
2250
  organizationSlug: z.string(),
2231
2251
  projectSlug: z.string(),
@@ -3888,6 +3908,26 @@ var zListDetectorSerializerResponse = z.array(z.object({
3888
3908
  config: z.record(z.unknown()),
3889
3909
  enabled: z.boolean()
3890
3910
  }));
3911
+ var zListEventAttachmentsResponse = z.array(z.object({
3912
+ id: z.string(),
3913
+ event_id: z.string(),
3914
+ type: z.string(),
3915
+ name: z.string(),
3916
+ mimetype: z.union([
3917
+ z.string(),
3918
+ z.null()
3919
+ ]),
3920
+ dateCreated: z.string().datetime(),
3921
+ size: z.number().int(),
3922
+ headers: z.record(z.union([
3923
+ z.string(),
3924
+ z.null()
3925
+ ])),
3926
+ sha1: z.union([
3927
+ z.string(),
3928
+ z.null()
3929
+ ])
3930
+ }));
3891
3931
  var zListMemberOnTeamResponse = z.array(z.object({
3892
3932
  externalUsers: z.array(z.object({
3893
3933
  externalId: z.string().optional(),
@@ -7150,6 +7190,16 @@ var zOrganizationSummary = z.object({
7150
7190
  allowMemberProjectCreation: z.boolean(),
7151
7191
  allowSuperuserAccess: z.boolean()
7152
7192
  });
7193
+ var zOrganizationTraceMetaResponse = z.object({
7194
+ uptimeCount: z.number().int().optional(),
7195
+ errorsCount: z.number().int(),
7196
+ logsCount: z.number(),
7197
+ metricsCount: z.number(),
7198
+ performanceIssuesCount: z.number().int(),
7199
+ spansCount: z.number(),
7200
+ transactionChildCountMap: z.array(z.record(z.unknown())),
7201
+ spansCountMap: z.record(z.number())
7202
+ });
7153
7203
  var zOrganizationWithProjectsAndTeams = z.object({
7154
7204
  features: z.array(z.string()).optional(),
7155
7205
  extraOptions: z.record(z.record(z.unknown())).optional(),
@@ -9310,16 +9360,6 @@ var zSource = z.object({
9310
9360
  client_email: z.string().optional(),
9311
9361
  private_key: z.string().optional()
9312
9362
  });
9313
- var zSourceMapDebug = z.object({
9314
- errors: z.array(z.object({
9315
- type: z.string(),
9316
- message: z.string(),
9317
- data: z.union([
9318
- z.record(z.unknown()),
9319
- z.null()
9320
- ])
9321
- }))
9322
- });
9323
9363
  var zStatusDetailsValidator = z.object({
9324
9364
  inNextRelease: z.boolean(),
9325
9365
  inRelease: z.string(),
@@ -19101,6 +19141,29 @@ var zListTraceItemAttributesResponse2 = z.array(z.object({
19101
19141
  "boolean"
19102
19142
  ])
19103
19143
  }));
19144
+ var zRetrieveTraceMetadataData = z.object({
19145
+ body: z.never().optional(),
19146
+ path: z.object({
19147
+ organization_id_or_slug: z.string(),
19148
+ trace_id: z.string()
19149
+ }),
19150
+ query: z.object({
19151
+ statsPeriod: z.string().optional(),
19152
+ start: z.string().datetime().optional(),
19153
+ end: z.string().datetime().optional(),
19154
+ include_uptime: z.enum(["0", "1"]).optional()
19155
+ }).optional()
19156
+ });
19157
+ var zRetrieveTraceMetadataResponse = z.object({
19158
+ uptimeCount: z.number().int().optional(),
19159
+ errorsCount: z.number().int(),
19160
+ logsCount: z.number(),
19161
+ metricsCount: z.number(),
19162
+ performanceIssuesCount: z.number().int(),
19163
+ spansCount: z.number(),
19164
+ transactionChildCountMap: z.array(z.record(z.unknown())),
19165
+ spansCountMap: z.record(z.number())
19166
+ });
19104
19167
  var zListAuserSTeamsForAnOrganizationData = z.object({
19105
19168
  body: z.never().optional(),
19106
19169
  path: z.object({
@@ -20695,7 +20758,7 @@ var zRetrieveAnEventForAProjectResponse = z.object({
20695
20758
  z.null()
20696
20759
  ])
20697
20760
  });
20698
- var zDebugIssuesRelatedToSourceMapsForAGivenEventData = z.object({
20761
+ var zListAnEventSAttachmentsData = z.object({
20699
20762
  body: z.never().optional(),
20700
20763
  path: z.object({
20701
20764
  organization_id_or_slug: z.string(),
@@ -20703,19 +20766,59 @@ var zDebugIssuesRelatedToSourceMapsForAGivenEventData = z.object({
20703
20766
  event_id: z.string().regex(/^[0-9a-f]{32}$/)
20704
20767
  }),
20705
20768
  query: z.object({
20706
- frame_idx: z.number().int(),
20707
- exception_idx: z.number().int()
20708
- })
20769
+ query: z.string().optional(),
20770
+ cursor: z.string().min(1).optional()
20771
+ }).optional()
20709
20772
  });
20710
- var zDebugIssuesRelatedToSourceMapsForAGivenEventResponse = z.object({
20711
- errors: z.array(z.object({
20712
- type: z.string(),
20713
- message: z.string(),
20714
- data: z.union([
20715
- z.record(z.unknown()),
20716
- z.null()
20717
- ])
20718
- }))
20773
+ var zListAnEventSAttachmentsResponse = z.array(z.object({
20774
+ id: z.string(),
20775
+ event_id: z.string(),
20776
+ type: z.string(),
20777
+ name: z.string(),
20778
+ mimetype: z.union([
20779
+ z.string(),
20780
+ z.null()
20781
+ ]),
20782
+ dateCreated: z.string().datetime(),
20783
+ size: z.number().int(),
20784
+ headers: z.record(z.union([
20785
+ z.string(),
20786
+ z.null()
20787
+ ])),
20788
+ sha1: z.union([
20789
+ z.string(),
20790
+ z.null()
20791
+ ])
20792
+ }));
20793
+ var zRetrieveAnEventAttachmentData = z.object({
20794
+ body: z.never().optional(),
20795
+ path: z.object({
20796
+ organization_id_or_slug: z.string(),
20797
+ project_id_or_slug: z.string(),
20798
+ event_id: z.string().regex(/^[0-9a-f]{32}$/),
20799
+ attachment_id: z.string()
20800
+ }),
20801
+ query: z.never().optional()
20802
+ });
20803
+ var zRetrieveAnEventAttachmentResponse = z.object({
20804
+ id: z.string(),
20805
+ event_id: z.string(),
20806
+ type: z.string(),
20807
+ name: z.string(),
20808
+ mimetype: z.union([
20809
+ z.string(),
20810
+ z.null()
20811
+ ]),
20812
+ dateCreated: z.string().datetime(),
20813
+ size: z.number().int(),
20814
+ headers: z.record(z.union([
20815
+ z.string(),
20816
+ z.null()
20817
+ ])),
20818
+ sha1: z.union([
20819
+ z.string(),
20820
+ z.null()
20821
+ ])
20719
20822
  });
20720
20823
  var zListAProjectSDebugInformationFilesData = z.object({
20721
20824
  body: z.never().optional(),
@@ -26907,7 +27010,6 @@ export {
26907
27010
  zStatusDetailsValidator,
26908
27011
  zStartSeerIssueFixResponse,
26909
27012
  zStartSeerIssueFixData,
26910
- zSourceMapDebug,
26911
27013
  zSource,
26912
27014
  zSnapshotImageDetailResponse,
26913
27015
  zSnapshotDetailsResponse,
@@ -26926,6 +27028,8 @@ export {
26926
27028
  zScimMemberProvision,
26927
27029
  zScimListResponseEnvelopeScimTeamIndexResponse,
26928
27030
  zScimListResponseEnvelopeScimMemberIndexResponse,
27031
+ zRetrieveTraceMetadataResponse,
27032
+ zRetrieveTraceMetadataData,
26929
27033
  zRetrieveTheCustomIntegrationsCreatedByAnOrganizationResponse,
26930
27034
  zRetrieveTheCustomIntegrationsCreatedByAnOrganizationData,
26931
27035
  zRetrieveTagDetailsResponse,
@@ -26989,6 +27093,8 @@ export {
26989
27093
  zRetrieveAnIntegrationForAnOrganizationData,
26990
27094
  zRetrieveAnEventForAProjectResponse,
26991
27095
  zRetrieveAnEventForAProjectData,
27096
+ zRetrieveAnEventAttachmentResponse,
27097
+ zRetrieveAnEventAttachmentData,
26992
27098
  zRetrieveATeamResponse,
26993
27099
  zRetrieveATeamData,
26994
27100
  zRetrieveASpikeProtectionNotificationActionResponse,
@@ -27065,6 +27171,7 @@ export {
27065
27171
  zOutgoingNotificationAction,
27066
27172
  zOutcomesResponse,
27067
27173
  zOrganizationWithProjectsAndTeams,
27174
+ zOrganizationTraceMetaResponse,
27068
27175
  zOrganizationSummary,
27069
27176
  zOrganizationStatsSummaryResponse,
27070
27177
  zOrganizationSentryAppDetailsResponse,
@@ -27127,6 +27234,7 @@ export {
27127
27234
  zListOrgTeamResponse,
27128
27235
  zListOrgMembersResponse,
27129
27236
  zListMemberOnTeamResponse,
27237
+ zListEventAttachmentsResponse,
27130
27238
  zListDetectorSerializerResponse,
27131
27239
  zListDataForwarderResponse,
27132
27240
  zListClientKeysResponse,
@@ -27176,6 +27284,8 @@ export {
27176
27284
  zListAnIssueSHashesData,
27177
27285
  zListAnIssueSEventsResponse,
27178
27286
  zListAnIssueSEventsData,
27287
+ zListAnEventSAttachmentsResponse,
27288
+ zListAnEventSAttachmentsData,
27179
27289
  zListATeamSProjectsResponse,
27180
27290
  zListATeamSProjectsData,
27181
27291
  zListATeamSMembersResponse,
@@ -27254,6 +27364,7 @@ export {
27254
27364
  zExternalActor,
27255
27365
  zExplorerAutofixRequest,
27256
27366
  zEventIdLookupResponse,
27367
+ zEventAttachmentDetailsResponse,
27257
27368
  zEnvironmentProject,
27258
27369
  zEnvironment,
27259
27370
  zEnableSpikeProtectionData,
@@ -27323,8 +27434,6 @@ export {
27323
27434
  zDeleteACustomIntegrationData,
27324
27435
  zDeleteAClientKeyResponse,
27325
27436
  zDeleteAClientKeyData,
27326
- zDebugIssuesRelatedToSourceMapsForAGivenEventResponse,
27327
- zDebugIssuesRelatedToSourceMapsForAGivenEventData,
27328
27437
  zDataForwarderResponse,
27329
27438
  zDataForwarder,
27330
27439
  zDashboardWidgetQueryOnDemand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.156.0",
3
+ "version": "0.158.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",