@sentry/api 0.189.0 → 0.191.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.
@@ -6414,7 +6414,7 @@ export type OrganizationProjectResponseDict = Array<{
6414
6414
  export type OrganizationRelayResponse = Array<{
6415
6415
  relayId: string;
6416
6416
  version: string;
6417
- publicKey: string;
6417
+ publicKey: string | null;
6418
6418
  firstSeen: string;
6419
6419
  lastSeen: string;
6420
6420
  }>;
@@ -18442,7 +18442,7 @@ export type ListAnOrganizationSTrustedRelaysResponses = {
18442
18442
  200: Array<{
18443
18443
  relayId: string;
18444
18444
  version: string;
18445
- publicKey: string;
18445
+ publicKey: string | null;
18446
18446
  firstSeen: string;
18447
18447
  lastSeen: string;
18448
18448
  }>;
package/dist/zod.gen.d.ts CHANGED
@@ -17415,7 +17415,7 @@ export declare const zOrganizationProjectResponseDict: z.ZodArray<z.ZodObject<{
17415
17415
  export declare const zOrganizationRelayResponse: z.ZodArray<z.ZodObject<{
17416
17416
  relayId: z.ZodString;
17417
17417
  version: z.ZodString;
17418
- publicKey: z.ZodString;
17418
+ publicKey: z.ZodUnion<[z.ZodString, z.ZodNull]>;
17419
17419
  firstSeen: z.ZodString;
17420
17420
  lastSeen: z.ZodString;
17421
17421
  }, "strip", z.ZodTypeAny, {
@@ -17423,13 +17423,13 @@ export declare const zOrganizationRelayResponse: z.ZodArray<z.ZodObject<{
17423
17423
  firstSeen: string;
17424
17424
  lastSeen: string;
17425
17425
  relayId: string;
17426
- publicKey: string;
17426
+ publicKey: string | null;
17427
17427
  }, {
17428
17428
  version: string;
17429
17429
  firstSeen: string;
17430
17430
  lastSeen: string;
17431
17431
  relayId: string;
17432
- publicKey: string;
17432
+ publicKey: string | null;
17433
17433
  }>, "many">;
17434
17434
  export declare const zOrganizationRelease: z.ZodObject<{
17435
17435
  ref: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
@@ -44667,7 +44667,7 @@ export declare const zListAnOrganizationSTrustedRelaysData: z.ZodObject<{
44667
44667
  export declare const zListAnOrganizationSTrustedRelaysResponse: z.ZodArray<z.ZodObject<{
44668
44668
  relayId: z.ZodString;
44669
44669
  version: z.ZodString;
44670
- publicKey: z.ZodString;
44670
+ publicKey: z.ZodUnion<[z.ZodString, z.ZodNull]>;
44671
44671
  firstSeen: z.ZodString;
44672
44672
  lastSeen: z.ZodString;
44673
44673
  }, "strip", z.ZodTypeAny, {
@@ -44675,13 +44675,13 @@ export declare const zListAnOrganizationSTrustedRelaysResponse: z.ZodArray<z.Zod
44675
44675
  firstSeen: string;
44676
44676
  lastSeen: string;
44677
44677
  relayId: string;
44678
- publicKey: string;
44678
+ publicKey: string | null;
44679
44679
  }, {
44680
44680
  version: string;
44681
44681
  firstSeen: string;
44682
44682
  lastSeen: string;
44683
44683
  relayId: string;
44684
- publicKey: string;
44684
+ publicKey: string | null;
44685
44685
  }>, "many">;
44686
44686
  export declare const zRetrieveStatusesOfReleaseThresholdsAlphaData: z.ZodObject<{
44687
44687
  body: z.ZodOptional<z.ZodNever>;
package/dist/zod.js CHANGED
@@ -7296,9 +7296,12 @@ var zOrganizationProjectResponseDict = z.array(z.object({
7296
7296
  var zOrganizationRelayResponse = z.array(z.object({
7297
7297
  relayId: z.string(),
7298
7298
  version: z.string(),
7299
- publicKey: z.string(),
7300
- firstSeen: z.string(),
7301
- lastSeen: z.string()
7299
+ publicKey: z.union([
7300
+ z.string(),
7301
+ z.null()
7302
+ ]),
7303
+ firstSeen: z.string().datetime(),
7304
+ lastSeen: z.string().datetime()
7302
7305
  }));
7303
7306
  var zOrganizationRelease = z.object({
7304
7307
  ref: z.union([
@@ -17339,9 +17342,12 @@ var zListAnOrganizationSTrustedRelaysData = z.object({
17339
17342
  var zListAnOrganizationSTrustedRelaysResponse = z.array(z.object({
17340
17343
  relayId: z.string(),
17341
17344
  version: z.string(),
17342
- publicKey: z.string(),
17343
- firstSeen: z.string(),
17344
- lastSeen: z.string()
17345
+ publicKey: z.union([
17346
+ z.string(),
17347
+ z.null()
17348
+ ]),
17349
+ firstSeen: z.string().datetime(),
17350
+ lastSeen: z.string().datetime()
17345
17351
  }));
17346
17352
  var zRetrieveStatusesOfReleaseThresholdsAlphaData = z.object({
17347
17353
  body: z.never().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.189.0",
3
+ "version": "0.191.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",