@sentry/api 0.148.0 → 0.150.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
@@ -4453,6 +4453,23 @@ var zListOrganizations = z.array(z.object({
4453
4453
  allowMemberProjectCreation: z.boolean(),
4454
4454
  allowSuperuserAccess: z.boolean()
4455
4455
  }));
4456
+ var zListProjectDebugFilesResponse = z.array(z.object({
4457
+ id: z.string(),
4458
+ uuid: z.string(),
4459
+ debugId: z.string(),
4460
+ codeId: z.union([
4461
+ z.string(),
4462
+ z.null()
4463
+ ]),
4464
+ cpuName: z.string(),
4465
+ objectName: z.string(),
4466
+ symbolType: z.string(),
4467
+ headers: z.record(z.string()),
4468
+ size: z.number().int(),
4469
+ sha1: z.string(),
4470
+ dateCreated: z.string().datetime(),
4471
+ data: z.record(z.unknown())
4472
+ }));
4456
4473
  var zListProjectEnvironments = z.array(z.object({
4457
4474
  id: z.string(),
4458
4475
  name: z.string(),
@@ -5841,32 +5858,35 @@ var zOrgReleaseResponse = z.object({
5841
5858
  data: z.record(z.unknown()),
5842
5859
  commitCount: z.number().int(),
5843
5860
  deployCount: z.number().int(),
5844
- authors: z.array(z.object({
5845
- lastLogin: z.string().optional(),
5846
- has2fa: z.boolean().optional(),
5847
- lastActive: z.string().optional(),
5848
- isSuperuser: z.boolean().optional(),
5849
- isStaff: z.boolean().optional(),
5850
- experiments: z.record(z.union([
5851
- z.string(),
5852
- z.number().int(),
5853
- z.number(),
5854
- z.boolean(),
5855
- z.union([
5856
- z.record(z.unknown()),
5861
+ authors: z.array(z.union([z.object({
5862
+ identities: z.array(z.object({
5863
+ id: z.string(),
5864
+ name: z.string(),
5865
+ organization: z.object({
5866
+ slug: z.string(),
5867
+ name: z.string()
5868
+ }),
5869
+ provider: z.object({
5870
+ id: z.string(),
5871
+ name: z.string()
5872
+ }),
5873
+ dateVerified: z.string().datetime(),
5874
+ dateSynced: z.string().datetime()
5875
+ })).optional(),
5876
+ avatar: z.object({
5877
+ avatarType: z.string().optional(),
5878
+ avatarUuid: z.union([
5879
+ z.string(),
5857
5880
  z.null()
5858
- ])
5859
- ])).optional(),
5860
- emails: z.array(z.record(z.union([
5861
- z.number().int(),
5862
- z.string(),
5863
- z.boolean()
5864
- ]))).optional(),
5865
- avatar: z.record(z.union([
5866
- z.string(),
5867
- z.null()
5868
- ])).optional(),
5869
- id: z.number().int(),
5881
+ ]).optional(),
5882
+ avatarUrl: z.union([
5883
+ z.string(),
5884
+ z.null()
5885
+ ]).optional()
5886
+ }).optional(),
5887
+ authenticators: z.array(z.unknown()).optional(),
5888
+ canReset2fa: z.boolean().optional(),
5889
+ id: z.string(),
5870
5890
  name: z.string(),
5871
5891
  username: z.string(),
5872
5892
  email: z.string(),
@@ -5875,8 +5895,31 @@ var zOrgReleaseResponse = z.object({
5875
5895
  isSuspended: z.boolean(),
5876
5896
  hasPasswordAuth: z.boolean(),
5877
5897
  isManaged: z.boolean(),
5878
- dateJoined: z.string()
5879
- })),
5898
+ dateJoined: z.string().datetime(),
5899
+ lastLogin: z.union([
5900
+ z.string().datetime(),
5901
+ z.null()
5902
+ ]),
5903
+ has2fa: z.boolean(),
5904
+ lastActive: z.union([
5905
+ z.string().datetime(),
5906
+ z.null()
5907
+ ]),
5908
+ isSuperuser: z.boolean(),
5909
+ isStaff: z.boolean(),
5910
+ experiments: z.record(z.unknown()),
5911
+ emails: z.array(z.object({
5912
+ id: z.string(),
5913
+ email: z.string(),
5914
+ is_verified: z.boolean()
5915
+ }))
5916
+ }), z.object({
5917
+ name: z.union([
5918
+ z.string(),
5919
+ z.null()
5920
+ ]),
5921
+ email: z.string()
5922
+ })])),
5880
5923
  projects: z.array(z.object({
5881
5924
  healthData: z.union([
5882
5925
  z.object({
@@ -16986,32 +17029,35 @@ var zRetrieveAnOrganizationSReleaseResponse = z.object({
16986
17029
  data: z.record(z.unknown()),
16987
17030
  commitCount: z.number().int(),
16988
17031
  deployCount: z.number().int(),
16989
- authors: z.array(z.object({
16990
- lastLogin: z.string().optional(),
16991
- has2fa: z.boolean().optional(),
16992
- lastActive: z.string().optional(),
16993
- isSuperuser: z.boolean().optional(),
16994
- isStaff: z.boolean().optional(),
16995
- experiments: z.record(z.union([
16996
- z.string(),
16997
- z.number().int(),
16998
- z.number(),
16999
- z.boolean(),
17000
- z.union([
17001
- z.record(z.unknown()),
17032
+ authors: z.array(z.union([z.object({
17033
+ identities: z.array(z.object({
17034
+ id: z.string(),
17035
+ name: z.string(),
17036
+ organization: z.object({
17037
+ slug: z.string(),
17038
+ name: z.string()
17039
+ }),
17040
+ provider: z.object({
17041
+ id: z.string(),
17042
+ name: z.string()
17043
+ }),
17044
+ dateVerified: z.string().datetime(),
17045
+ dateSynced: z.string().datetime()
17046
+ })).optional(),
17047
+ avatar: z.object({
17048
+ avatarType: z.string().optional(),
17049
+ avatarUuid: z.union([
17050
+ z.string(),
17002
17051
  z.null()
17003
- ])
17004
- ])).optional(),
17005
- emails: z.array(z.record(z.union([
17006
- z.number().int(),
17007
- z.string(),
17008
- z.boolean()
17009
- ]))).optional(),
17010
- avatar: z.record(z.union([
17011
- z.string(),
17012
- z.null()
17013
- ])).optional(),
17014
- id: z.number().int(),
17052
+ ]).optional(),
17053
+ avatarUrl: z.union([
17054
+ z.string(),
17055
+ z.null()
17056
+ ]).optional()
17057
+ }).optional(),
17058
+ authenticators: z.array(z.unknown()).optional(),
17059
+ canReset2fa: z.boolean().optional(),
17060
+ id: z.string(),
17015
17061
  name: z.string(),
17016
17062
  username: z.string(),
17017
17063
  email: z.string(),
@@ -17020,8 +17066,31 @@ var zRetrieveAnOrganizationSReleaseResponse = z.object({
17020
17066
  isSuspended: z.boolean(),
17021
17067
  hasPasswordAuth: z.boolean(),
17022
17068
  isManaged: z.boolean(),
17023
- dateJoined: z.string()
17024
- })),
17069
+ dateJoined: z.string().datetime(),
17070
+ lastLogin: z.union([
17071
+ z.string().datetime(),
17072
+ z.null()
17073
+ ]),
17074
+ has2fa: z.boolean(),
17075
+ lastActive: z.union([
17076
+ z.string().datetime(),
17077
+ z.null()
17078
+ ]),
17079
+ isSuperuser: z.boolean(),
17080
+ isStaff: z.boolean(),
17081
+ experiments: z.record(z.unknown()),
17082
+ emails: z.array(z.object({
17083
+ id: z.string(),
17084
+ email: z.string(),
17085
+ is_verified: z.boolean()
17086
+ }))
17087
+ }), z.object({
17088
+ name: z.union([
17089
+ z.string(),
17090
+ z.null()
17091
+ ]),
17092
+ email: z.string()
17093
+ })])),
17025
17094
  projects: z.array(z.object({
17026
17095
  healthData: z.union([
17027
17096
  z.object({
@@ -17255,32 +17324,35 @@ var zUpdateAnOrganizationSReleaseResponse = z.object({
17255
17324
  data: z.record(z.unknown()),
17256
17325
  commitCount: z.number().int(),
17257
17326
  deployCount: z.number().int(),
17258
- authors: z.array(z.object({
17259
- lastLogin: z.string().optional(),
17260
- has2fa: z.boolean().optional(),
17261
- lastActive: z.string().optional(),
17262
- isSuperuser: z.boolean().optional(),
17263
- isStaff: z.boolean().optional(),
17264
- experiments: z.record(z.union([
17265
- z.string(),
17266
- z.number().int(),
17267
- z.number(),
17268
- z.boolean(),
17269
- z.union([
17270
- z.record(z.unknown()),
17327
+ authors: z.array(z.union([z.object({
17328
+ identities: z.array(z.object({
17329
+ id: z.string(),
17330
+ name: z.string(),
17331
+ organization: z.object({
17332
+ slug: z.string(),
17333
+ name: z.string()
17334
+ }),
17335
+ provider: z.object({
17336
+ id: z.string(),
17337
+ name: z.string()
17338
+ }),
17339
+ dateVerified: z.string().datetime(),
17340
+ dateSynced: z.string().datetime()
17341
+ })).optional(),
17342
+ avatar: z.object({
17343
+ avatarType: z.string().optional(),
17344
+ avatarUuid: z.union([
17345
+ z.string(),
17271
17346
  z.null()
17272
- ])
17273
- ])).optional(),
17274
- emails: z.array(z.record(z.union([
17275
- z.number().int(),
17276
- z.string(),
17277
- z.boolean()
17278
- ]))).optional(),
17279
- avatar: z.record(z.union([
17280
- z.string(),
17281
- z.null()
17282
- ])).optional(),
17283
- id: z.number().int(),
17347
+ ]).optional(),
17348
+ avatarUrl: z.union([
17349
+ z.string(),
17350
+ z.null()
17351
+ ]).optional()
17352
+ }).optional(),
17353
+ authenticators: z.array(z.unknown()).optional(),
17354
+ canReset2fa: z.boolean().optional(),
17355
+ id: z.string(),
17284
17356
  name: z.string(),
17285
17357
  username: z.string(),
17286
17358
  email: z.string(),
@@ -17289,8 +17361,31 @@ var zUpdateAnOrganizationSReleaseResponse = z.object({
17289
17361
  isSuspended: z.boolean(),
17290
17362
  hasPasswordAuth: z.boolean(),
17291
17363
  isManaged: z.boolean(),
17292
- dateJoined: z.string()
17293
- })),
17364
+ dateJoined: z.string().datetime(),
17365
+ lastLogin: z.union([
17366
+ z.string().datetime(),
17367
+ z.null()
17368
+ ]),
17369
+ has2fa: z.boolean(),
17370
+ lastActive: z.union([
17371
+ z.string().datetime(),
17372
+ z.null()
17373
+ ]),
17374
+ isSuperuser: z.boolean(),
17375
+ isStaff: z.boolean(),
17376
+ experiments: z.record(z.unknown()),
17377
+ emails: z.array(z.object({
17378
+ id: z.string(),
17379
+ email: z.string(),
17380
+ is_verified: z.boolean()
17381
+ }))
17382
+ }), z.object({
17383
+ name: z.union([
17384
+ z.string(),
17385
+ z.null()
17386
+ ]),
17387
+ email: z.string()
17388
+ })])),
17294
17389
  projects: z.array(z.object({
17295
17390
  healthData: z.union([
17296
17391
  z.object({
@@ -20725,6 +20820,37 @@ var zDebugIssuesRelatedToSourceMapsForAGivenEventResponse = z.object({
20725
20820
  ])
20726
20821
  }))
20727
20822
  });
20823
+ var zListAProjectSDebugInformationFilesData = z.object({
20824
+ body: z.never().optional(),
20825
+ path: z.object({
20826
+ organization_id_or_slug: z.string(),
20827
+ project_id_or_slug: z.string()
20828
+ }),
20829
+ query: z.object({
20830
+ query: z.string().optional(),
20831
+ debug_id: z.string().optional(),
20832
+ code_id: z.string().optional(),
20833
+ file_formats: z.array(z.string()).optional(),
20834
+ cursor: z.string().min(1).optional()
20835
+ }).optional()
20836
+ });
20837
+ var zListAProjectSDebugInformationFilesResponse = z.array(z.object({
20838
+ id: z.string(),
20839
+ uuid: z.string(),
20840
+ debugId: z.string(),
20841
+ codeId: z.union([
20842
+ z.string(),
20843
+ z.null()
20844
+ ]),
20845
+ cpuName: z.string(),
20846
+ objectName: z.string(),
20847
+ symbolType: z.string(),
20848
+ headers: z.record(z.string()),
20849
+ size: z.number().int(),
20850
+ sha1: z.string(),
20851
+ dateCreated: z.string().datetime(),
20852
+ data: z.record(z.unknown())
20853
+ }));
20728
20854
  var zListAProjectSDataFiltersData = z.object({
20729
20855
  body: z.never().optional(),
20730
20856
  path: z.object({
@@ -24482,35 +24608,6 @@ var zListAnOrganizationSRepositoriesResponse = z.array(z.object({
24482
24608
  id: z.string(),
24483
24609
  name: z.string()
24484
24610
  }));
24485
- var zDeleteASpecificProjectSDebugInformationFileData = z.object({
24486
- body: z.never().optional(),
24487
- path: z.object({
24488
- organization_id_or_slug: z.string(),
24489
- project_id_or_slug: z.string()
24490
- }),
24491
- query: z.object({
24492
- id: z.string()
24493
- })
24494
- });
24495
- var zDeleteASpecificProjectSDebugInformationFileResponse = z.void();
24496
- var zListAProjectSDebugInformationFilesData = z.object({
24497
- body: z.never().optional(),
24498
- path: z.object({
24499
- organization_id_or_slug: z.string(),
24500
- project_id_or_slug: z.string()
24501
- }),
24502
- query: z.never().optional()
24503
- });
24504
- var zUploadANewFileData = z.object({
24505
- body: z.object({
24506
- file: z.string()
24507
- }),
24508
- path: z.object({
24509
- organization_id_or_slug: z.string(),
24510
- project_id_or_slug: z.string()
24511
- }),
24512
- query: z.never().optional()
24513
- });
24514
24611
  var zListAProjectSusersData = z.object({
24515
24612
  body: z.never().optional(),
24516
24613
  path: z.object({
@@ -26600,7 +26697,6 @@ export {
26600
26697
  zUploadANewProjectReleaseFileResponse,
26601
26698
  zUploadANewProjectReleaseFileData,
26602
26699
  zUploadANewOrganizationReleaseFileData,
26603
- zUploadANewFileData,
26604
26700
  zUpdateOwnershipConfigurationForAProjectResponse,
26605
26701
  zUpdateOwnershipConfigurationForAProjectData,
26606
26702
  zUpdateOrgMemberRoles,
@@ -26904,6 +27000,7 @@ export {
26904
27000
  zListRecordingSegmentsResponse,
26905
27001
  zListRecordingSegmentsData,
26906
27002
  zListProjectEnvironments,
27003
+ zListProjectDebugFilesResponse,
26907
27004
  zListOrganizations,
26908
27005
  zListOrganizationMemberResponse,
26909
27006
  zListOrganizationIntegrationResponse,
@@ -26990,6 +27087,7 @@ export {
26990
27087
  zListAProjectSErrorEventsData,
26991
27088
  zListAProjectSEnvironmentsResponse,
26992
27089
  zListAProjectSEnvironmentsData,
27090
+ zListAProjectSDebugInformationFilesResponse,
26993
27091
  zListAProjectSDebugInformationFilesData,
26994
27092
  zListAProjectSDataFiltersResponse,
26995
27093
  zListAProjectSDataFiltersData,
@@ -27088,8 +27186,6 @@ export {
27088
27186
  zDeleteASymbolSourceFromAProjectData,
27089
27187
  zDeleteASpikeProtectionNotificationActionResponse,
27090
27188
  zDeleteASpikeProtectionNotificationActionData,
27091
- zDeleteASpecificProjectSDebugInformationFileResponse,
27092
- zDeleteASpecificProjectSDebugInformationFileData,
27093
27189
  zDeleteASnapshotResponse,
27094
27190
  zDeleteASnapshotData,
27095
27191
  zDeleteAReplayInstanceResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.148.0",
3
+ "version": "0.150.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",