@sentry/api 0.149.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
@@ -5858,32 +5858,35 @@ var zOrgReleaseResponse = z.object({
5858
5858
  data: z.record(z.unknown()),
5859
5859
  commitCount: z.number().int(),
5860
5860
  deployCount: z.number().int(),
5861
- authors: z.array(z.object({
5862
- lastLogin: z.string().optional(),
5863
- has2fa: z.boolean().optional(),
5864
- lastActive: z.string().optional(),
5865
- isSuperuser: z.boolean().optional(),
5866
- isStaff: z.boolean().optional(),
5867
- experiments: z.record(z.union([
5868
- z.string(),
5869
- z.number().int(),
5870
- z.number(),
5871
- z.boolean(),
5872
- z.union([
5873
- 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(),
5874
5880
  z.null()
5875
- ])
5876
- ])).optional(),
5877
- emails: z.array(z.record(z.union([
5878
- z.number().int(),
5879
- z.string(),
5880
- z.boolean()
5881
- ]))).optional(),
5882
- avatar: z.record(z.union([
5883
- z.string(),
5884
- z.null()
5885
- ])).optional(),
5886
- 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(),
5887
5890
  name: z.string(),
5888
5891
  username: z.string(),
5889
5892
  email: z.string(),
@@ -5892,8 +5895,31 @@ var zOrgReleaseResponse = z.object({
5892
5895
  isSuspended: z.boolean(),
5893
5896
  hasPasswordAuth: z.boolean(),
5894
5897
  isManaged: z.boolean(),
5895
- dateJoined: z.string()
5896
- })),
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
+ })])),
5897
5923
  projects: z.array(z.object({
5898
5924
  healthData: z.union([
5899
5925
  z.object({
@@ -17003,32 +17029,35 @@ var zRetrieveAnOrganizationSReleaseResponse = z.object({
17003
17029
  data: z.record(z.unknown()),
17004
17030
  commitCount: z.number().int(),
17005
17031
  deployCount: z.number().int(),
17006
- authors: z.array(z.object({
17007
- lastLogin: z.string().optional(),
17008
- has2fa: z.boolean().optional(),
17009
- lastActive: z.string().optional(),
17010
- isSuperuser: z.boolean().optional(),
17011
- isStaff: z.boolean().optional(),
17012
- experiments: z.record(z.union([
17013
- z.string(),
17014
- z.number().int(),
17015
- z.number(),
17016
- z.boolean(),
17017
- z.union([
17018
- 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(),
17019
17051
  z.null()
17020
- ])
17021
- ])).optional(),
17022
- emails: z.array(z.record(z.union([
17023
- z.number().int(),
17024
- z.string(),
17025
- z.boolean()
17026
- ]))).optional(),
17027
- avatar: z.record(z.union([
17028
- z.string(),
17029
- z.null()
17030
- ])).optional(),
17031
- 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(),
17032
17061
  name: z.string(),
17033
17062
  username: z.string(),
17034
17063
  email: z.string(),
@@ -17037,8 +17066,31 @@ var zRetrieveAnOrganizationSReleaseResponse = z.object({
17037
17066
  isSuspended: z.boolean(),
17038
17067
  hasPasswordAuth: z.boolean(),
17039
17068
  isManaged: z.boolean(),
17040
- dateJoined: z.string()
17041
- })),
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
+ })])),
17042
17094
  projects: z.array(z.object({
17043
17095
  healthData: z.union([
17044
17096
  z.object({
@@ -17272,32 +17324,35 @@ var zUpdateAnOrganizationSReleaseResponse = z.object({
17272
17324
  data: z.record(z.unknown()),
17273
17325
  commitCount: z.number().int(),
17274
17326
  deployCount: z.number().int(),
17275
- authors: z.array(z.object({
17276
- lastLogin: z.string().optional(),
17277
- has2fa: z.boolean().optional(),
17278
- lastActive: z.string().optional(),
17279
- isSuperuser: z.boolean().optional(),
17280
- isStaff: z.boolean().optional(),
17281
- experiments: z.record(z.union([
17282
- z.string(),
17283
- z.number().int(),
17284
- z.number(),
17285
- z.boolean(),
17286
- z.union([
17287
- 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(),
17288
17346
  z.null()
17289
- ])
17290
- ])).optional(),
17291
- emails: z.array(z.record(z.union([
17292
- z.number().int(),
17293
- z.string(),
17294
- z.boolean()
17295
- ]))).optional(),
17296
- avatar: z.record(z.union([
17297
- z.string(),
17298
- z.null()
17299
- ])).optional(),
17300
- 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(),
17301
17356
  name: z.string(),
17302
17357
  username: z.string(),
17303
17358
  email: z.string(),
@@ -17306,8 +17361,31 @@ var zUpdateAnOrganizationSReleaseResponse = z.object({
17306
17361
  isSuspended: z.boolean(),
17307
17362
  hasPasswordAuth: z.boolean(),
17308
17363
  isManaged: z.boolean(),
17309
- dateJoined: z.string()
17310
- })),
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
+ })])),
17311
17389
  projects: z.array(z.object({
17312
17390
  healthData: z.union([
17313
17391
  z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.149.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",