@sentry/api 0.190.0 → 0.192.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.
@@ -2896,10 +2896,20 @@ export type GroupDetailsResponse = {
2896
2896
  [key: string]: Array<Array<number>>;
2897
2897
  };
2898
2898
  inbox?: {
2899
- [key: string]: unknown;
2899
+ reason: number;
2900
+ reason_details: {
2901
+ until: string | null;
2902
+ count: number | null;
2903
+ window: number | null;
2904
+ user_count: number | null;
2905
+ user_window: number | null;
2906
+ } | null;
2907
+ date_added: string;
2900
2908
  } | null;
2901
2909
  owners?: Array<{
2902
- [key: string]: unknown;
2910
+ type: string;
2911
+ owner: string;
2912
+ date_added: string;
2903
2913
  }> | null;
2904
2914
  forecast?: {
2905
2915
  [key: string]: unknown;
@@ -2908,7 +2918,11 @@ export type GroupDetailsResponse = {
2908
2918
  [key: string]: unknown;
2909
2919
  }>;
2910
2920
  sentryAppIssues?: Array<{
2911
- [key: string]: unknown;
2921
+ id: string;
2922
+ issueId: string;
2923
+ serviceType: string;
2924
+ displayName: string;
2925
+ webUrl: string;
2912
2926
  }>;
2913
2927
  latestEventHasAttachments?: boolean;
2914
2928
  activity: Array<{
@@ -6037,6 +6051,8 @@ export type OrganizationGroupIndexGetResponse = Array<{
6037
6051
  [key: string]: unknown;
6038
6052
  }>;
6039
6053
  latestEventHasAttachments: boolean;
6054
+ matchingEventId: string | null;
6055
+ matchingEventEnvironment: string | null;
6040
6056
  }>;
6041
6057
  export type OrganizationGroupIndexPutResponse = {
6042
6058
  assignedTo?: {
@@ -6414,7 +6430,7 @@ export type OrganizationProjectResponseDict = Array<{
6414
6430
  export type OrganizationRelayResponse = Array<{
6415
6431
  relayId: string;
6416
6432
  version: string;
6417
- publicKey: string;
6433
+ publicKey: string | null;
6418
6434
  firstSeen: string;
6419
6435
  lastSeen: string;
6420
6436
  }>;
@@ -13921,6 +13937,8 @@ export type ListAnOrganizationSissuesResponses = {
13921
13937
  [key: string]: unknown;
13922
13938
  }>;
13923
13939
  latestEventHasAttachments: boolean;
13940
+ matchingEventId: string | null;
13941
+ matchingEventEnvironment: string | null;
13924
13942
  }>;
13925
13943
  };
13926
13944
  export type ListAnOrganizationSissuesResponse = ListAnOrganizationSissuesResponses[keyof ListAnOrganizationSissuesResponses];
@@ -18442,7 +18460,7 @@ export type ListAnOrganizationSTrustedRelaysResponses = {
18442
18460
  200: Array<{
18443
18461
  relayId: string;
18444
18462
  version: string;
18445
- publicKey: string;
18463
+ publicKey: string | null;
18446
18464
  firstSeen: string;
18447
18465
  lastSeen: string;
18448
18466
  }>;
@@ -31636,10 +31654,20 @@ export type RetrieveAnIssueResponses = {
31636
31654
  [key: string]: Array<Array<number>>;
31637
31655
  };
31638
31656
  inbox?: {
31639
- [key: string]: unknown;
31657
+ reason: number;
31658
+ reason_details: {
31659
+ until: string | null;
31660
+ count: number | null;
31661
+ window: number | null;
31662
+ user_count: number | null;
31663
+ user_window: number | null;
31664
+ } | null;
31665
+ date_added: string;
31640
31666
  } | null;
31641
31667
  owners?: Array<{
31642
- [key: string]: unknown;
31668
+ type: string;
31669
+ owner: string;
31670
+ date_added: string;
31643
31671
  }> | null;
31644
31672
  forecast?: {
31645
31673
  [key: string]: unknown;
@@ -31648,7 +31676,11 @@ export type RetrieveAnIssueResponses = {
31648
31676
  [key: string]: unknown;
31649
31677
  }>;
31650
31678
  sentryAppIssues?: Array<{
31651
- [key: string]: unknown;
31679
+ id: string;
31680
+ issueId: string;
31681
+ serviceType: string;
31682
+ displayName: string;
31683
+ webUrl: string;
31652
31684
  }>;
31653
31685
  latestEventHasAttachments?: boolean;
31654
31686
  activity: Array<{
package/dist/zod.gen.d.ts CHANGED
@@ -6291,11 +6291,83 @@ export declare const zGroupDetailsResponse: z.ZodObject<{
6291
6291
  lastRelease: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
6292
6292
  tags: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
6293
6293
  stats: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">>>;
6294
- inbox: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
6295
- owners: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
6294
+ inbox: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6295
+ reason: z.ZodNumber;
6296
+ reason_details: z.ZodUnion<[z.ZodObject<{
6297
+ until: z.ZodUnion<[z.ZodString, z.ZodNull]>;
6298
+ count: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
6299
+ window: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
6300
+ user_count: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
6301
+ user_window: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
6302
+ }, "strip", z.ZodTypeAny, {
6303
+ window: number | null;
6304
+ count: number | null;
6305
+ until: string | null;
6306
+ user_count: number | null;
6307
+ user_window: number | null;
6308
+ }, {
6309
+ window: number | null;
6310
+ count: number | null;
6311
+ until: string | null;
6312
+ user_count: number | null;
6313
+ user_window: number | null;
6314
+ }>, z.ZodNull]>;
6315
+ date_added: z.ZodString;
6316
+ }, "strip", z.ZodTypeAny, {
6317
+ reason: number;
6318
+ reason_details: {
6319
+ window: number | null;
6320
+ count: number | null;
6321
+ until: string | null;
6322
+ user_count: number | null;
6323
+ user_window: number | null;
6324
+ } | null;
6325
+ date_added: string;
6326
+ }, {
6327
+ reason: number;
6328
+ reason_details: {
6329
+ window: number | null;
6330
+ count: number | null;
6331
+ until: string | null;
6332
+ user_count: number | null;
6333
+ user_window: number | null;
6334
+ } | null;
6335
+ date_added: string;
6336
+ }>, z.ZodNull]>>;
6337
+ owners: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
6338
+ type: z.ZodString;
6339
+ owner: z.ZodString;
6340
+ date_added: z.ZodString;
6341
+ }, "strip", z.ZodTypeAny, {
6342
+ owner: string;
6343
+ type: string;
6344
+ date_added: string;
6345
+ }, {
6346
+ owner: string;
6347
+ type: string;
6348
+ date_added: string;
6349
+ }>, "many">, z.ZodNull]>>;
6296
6350
  forecast: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6297
6351
  integrationIssues: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
6298
- sentryAppIssues: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
6352
+ sentryAppIssues: z.ZodOptional<z.ZodArray<z.ZodObject<{
6353
+ id: z.ZodString;
6354
+ issueId: z.ZodString;
6355
+ serviceType: z.ZodString;
6356
+ displayName: z.ZodString;
6357
+ webUrl: z.ZodString;
6358
+ }, "strip", z.ZodTypeAny, {
6359
+ id: string;
6360
+ displayName: string;
6361
+ issueId: string;
6362
+ serviceType: string;
6363
+ webUrl: string;
6364
+ }, {
6365
+ id: string;
6366
+ displayName: string;
6367
+ issueId: string;
6368
+ serviceType: string;
6369
+ webUrl: string;
6370
+ }>, "many">>;
6299
6371
  latestEventHasAttachments: z.ZodOptional<z.ZodBoolean>;
6300
6372
  activity: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
6301
6373
  seenBy: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
@@ -6414,11 +6486,31 @@ export declare const zGroupDetailsResponse: z.ZodObject<{
6414
6486
  pluginContexts: Record<string, unknown>[];
6415
6487
  userReportCount: number;
6416
6488
  participants: Record<string, unknown>[];
6417
- inbox?: Record<string, unknown> | null | undefined;
6489
+ inbox?: {
6490
+ reason: number;
6491
+ reason_details: {
6492
+ window: number | null;
6493
+ count: number | null;
6494
+ until: string | null;
6495
+ user_count: number | null;
6496
+ user_window: number | null;
6497
+ } | null;
6498
+ date_added: string;
6499
+ } | null | undefined;
6418
6500
  integrationIssues?: Record<string, unknown>[] | undefined;
6419
6501
  latestEventHasAttachments?: boolean | undefined;
6420
- owners?: Record<string, unknown>[] | null | undefined;
6421
- sentryAppIssues?: Record<string, unknown>[] | undefined;
6502
+ owners?: {
6503
+ owner: string;
6504
+ type: string;
6505
+ date_added: string;
6506
+ }[] | null | undefined;
6507
+ sentryAppIssues?: {
6508
+ id: string;
6509
+ displayName: string;
6510
+ issueId: string;
6511
+ serviceType: string;
6512
+ webUrl: string;
6513
+ }[] | undefined;
6422
6514
  stats?: Record<string, number[][]> | undefined;
6423
6515
  tags?: Record<string, unknown>[] | undefined;
6424
6516
  count?: string | undefined;
@@ -6539,11 +6631,31 @@ export declare const zGroupDetailsResponse: z.ZodObject<{
6539
6631
  pluginContexts: Record<string, unknown>[];
6540
6632
  userReportCount: number;
6541
6633
  participants: Record<string, unknown>[];
6542
- inbox?: Record<string, unknown> | null | undefined;
6634
+ inbox?: {
6635
+ reason: number;
6636
+ reason_details: {
6637
+ window: number | null;
6638
+ count: number | null;
6639
+ until: string | null;
6640
+ user_count: number | null;
6641
+ user_window: number | null;
6642
+ } | null;
6643
+ date_added: string;
6644
+ } | null | undefined;
6543
6645
  integrationIssues?: Record<string, unknown>[] | undefined;
6544
6646
  latestEventHasAttachments?: boolean | undefined;
6545
- owners?: Record<string, unknown>[] | null | undefined;
6546
- sentryAppIssues?: Record<string, unknown>[] | undefined;
6647
+ owners?: {
6648
+ owner: string;
6649
+ type: string;
6650
+ date_added: string;
6651
+ }[] | null | undefined;
6652
+ sentryAppIssues?: {
6653
+ id: string;
6654
+ displayName: string;
6655
+ issueId: string;
6656
+ serviceType: string;
6657
+ webUrl: string;
6658
+ }[] | undefined;
6547
6659
  stats?: Record<string, number[][]> | undefined;
6548
6660
  tags?: Record<string, unknown>[] | undefined;
6549
6661
  count?: string | undefined;
@@ -8484,6 +8596,7 @@ export declare const zLatestBaseSnapshotResponse: z.ZodObject<{
8484
8596
  }, "strip", z.ZodTypeAny, {
8485
8597
  app_id?: string | null | undefined;
8486
8598
  project_id?: string | undefined;
8599
+ date_added?: string | undefined;
8487
8600
  head_artifact_id?: string | undefined;
8488
8601
  project_slug?: string | undefined;
8489
8602
  image_count?: number | undefined;
@@ -8497,7 +8610,6 @@ export declare const zLatestBaseSnapshotResponse: z.ZodObject<{
8497
8610
  image_url?: string | undefined;
8498
8611
  }[] | undefined;
8499
8612
  diff_threshold?: number | null | undefined;
8500
- date_added?: string | undefined;
8501
8613
  vcs_info?: {
8502
8614
  head_sha?: string | null | undefined;
8503
8615
  base_sha?: string | null | undefined;
@@ -8509,6 +8621,7 @@ export declare const zLatestBaseSnapshotResponse: z.ZodObject<{
8509
8621
  }, {
8510
8622
  app_id?: string | null | undefined;
8511
8623
  project_id?: string | undefined;
8624
+ date_added?: string | undefined;
8512
8625
  head_artifact_id?: string | undefined;
8513
8626
  project_slug?: string | undefined;
8514
8627
  image_count?: number | undefined;
@@ -8522,7 +8635,6 @@ export declare const zLatestBaseSnapshotResponse: z.ZodObject<{
8522
8635
  image_url?: string | undefined;
8523
8636
  }[] | undefined;
8524
8637
  diff_threshold?: number | null | undefined;
8525
- date_added?: string | undefined;
8526
8638
  vcs_info?: {
8527
8639
  head_sha?: string | null | undefined;
8528
8640
  base_sha?: string | null | undefined;
@@ -15671,7 +15783,6 @@ export declare const zOrganizationGroupIndexGetResponse: z.ZodArray<z.ZodObject<
15671
15783
  date_added: z.ZodString;
15672
15784
  }, "strip", z.ZodTypeAny, {
15673
15785
  reason: number;
15674
- date_added: string;
15675
15786
  reason_details: {
15676
15787
  window: number | null;
15677
15788
  count: number | null;
@@ -15679,9 +15790,9 @@ export declare const zOrganizationGroupIndexGetResponse: z.ZodArray<z.ZodObject<
15679
15790
  user_count: number | null;
15680
15791
  user_window: number | null;
15681
15792
  } | null;
15793
+ date_added: string;
15682
15794
  }, {
15683
15795
  reason: number;
15684
- date_added: string;
15685
15796
  reason_details: {
15686
15797
  window: number | null;
15687
15798
  count: number | null;
@@ -15689,6 +15800,7 @@ export declare const zOrganizationGroupIndexGetResponse: z.ZodArray<z.ZodObject<
15689
15800
  user_count: number | null;
15690
15801
  user_window: number | null;
15691
15802
  } | null;
15803
+ date_added: string;
15692
15804
  }>;
15693
15805
  owners: z.ZodObject<{
15694
15806
  type: z.ZodString;
@@ -15708,11 +15820,12 @@ export declare const zOrganizationGroupIndexGetResponse: z.ZodArray<z.ZodObject<
15708
15820
  integrationIssues: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
15709
15821
  sentryAppIssues: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
15710
15822
  latestEventHasAttachments: z.ZodBoolean;
15823
+ matchingEventId: z.ZodUnion<[z.ZodString, z.ZodNull]>;
15824
+ matchingEventEnvironment: z.ZodUnion<[z.ZodString, z.ZodNull]>;
15711
15825
  }, "strip", z.ZodTypeAny, {
15712
15826
  priority: string | null;
15713
15827
  inbox: {
15714
15828
  reason: number;
15715
- date_added: string;
15716
15829
  reason_details: {
15717
15830
  window: number | null;
15718
15831
  count: number | null;
@@ -15720,6 +15833,7 @@ export declare const zOrganizationGroupIndexGetResponse: z.ZodArray<z.ZodObject<
15720
15833
  user_count: number | null;
15721
15834
  user_window: number | null;
15722
15835
  } | null;
15836
+ date_added: string;
15723
15837
  };
15724
15838
  integrationIssues: Record<string, unknown>[];
15725
15839
  latestEventHasAttachments: boolean;
@@ -15847,11 +15961,12 @@ export declare const zOrganizationGroupIndexGetResponse: z.ZodArray<z.ZodObject<
15847
15961
  displayName: string;
15848
15962
  }[];
15849
15963
  sessionCount: number;
15964
+ matchingEventId: string | null;
15965
+ matchingEventEnvironment: string | null;
15850
15966
  }, {
15851
15967
  priority: string | null;
15852
15968
  inbox: {
15853
15969
  reason: number;
15854
- date_added: string;
15855
15970
  reason_details: {
15856
15971
  window: number | null;
15857
15972
  count: number | null;
@@ -15859,6 +15974,7 @@ export declare const zOrganizationGroupIndexGetResponse: z.ZodArray<z.ZodObject<
15859
15974
  user_count: number | null;
15860
15975
  user_window: number | null;
15861
15976
  } | null;
15977
+ date_added: string;
15862
15978
  };
15863
15979
  integrationIssues: Record<string, unknown>[];
15864
15980
  latestEventHasAttachments: boolean;
@@ -15986,6 +16102,8 @@ export declare const zOrganizationGroupIndexGetResponse: z.ZodArray<z.ZodObject<
15986
16102
  displayName: string;
15987
16103
  }[];
15988
16104
  sessionCount: number;
16105
+ matchingEventId: string | null;
16106
+ matchingEventEnvironment: string | null;
15989
16107
  }>, "many">;
15990
16108
  export declare const zOrganizationGroupIndexPutResponse: z.ZodObject<{
15991
16109
  assignedTo: z.ZodOptional<z.ZodObject<{
@@ -17415,7 +17533,7 @@ export declare const zOrganizationProjectResponseDict: z.ZodArray<z.ZodObject<{
17415
17533
  export declare const zOrganizationRelayResponse: z.ZodArray<z.ZodObject<{
17416
17534
  relayId: z.ZodString;
17417
17535
  version: z.ZodString;
17418
- publicKey: z.ZodString;
17536
+ publicKey: z.ZodUnion<[z.ZodString, z.ZodNull]>;
17419
17537
  firstSeen: z.ZodString;
17420
17538
  lastSeen: z.ZodString;
17421
17539
  }, "strip", z.ZodTypeAny, {
@@ -17423,13 +17541,13 @@ export declare const zOrganizationRelayResponse: z.ZodArray<z.ZodObject<{
17423
17541
  firstSeen: string;
17424
17542
  lastSeen: string;
17425
17543
  relayId: string;
17426
- publicKey: string;
17544
+ publicKey: string | null;
17427
17545
  }, {
17428
17546
  version: string;
17429
17547
  firstSeen: string;
17430
17548
  lastSeen: string;
17431
17549
  relayId: string;
17432
- publicKey: string;
17550
+ publicKey: string | null;
17433
17551
  }>, "many">;
17434
17552
  export declare const zOrganizationRelease: z.ZodObject<{
17435
17553
  ref: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
@@ -36174,7 +36292,6 @@ export declare const zListAnOrganizationSissuesResponse: z.ZodArray<z.ZodObject<
36174
36292
  date_added: z.ZodString;
36175
36293
  }, "strip", z.ZodTypeAny, {
36176
36294
  reason: number;
36177
- date_added: string;
36178
36295
  reason_details: {
36179
36296
  window: number | null;
36180
36297
  count: number | null;
@@ -36182,9 +36299,9 @@ export declare const zListAnOrganizationSissuesResponse: z.ZodArray<z.ZodObject<
36182
36299
  user_count: number | null;
36183
36300
  user_window: number | null;
36184
36301
  } | null;
36302
+ date_added: string;
36185
36303
  }, {
36186
36304
  reason: number;
36187
- date_added: string;
36188
36305
  reason_details: {
36189
36306
  window: number | null;
36190
36307
  count: number | null;
@@ -36192,6 +36309,7 @@ export declare const zListAnOrganizationSissuesResponse: z.ZodArray<z.ZodObject<
36192
36309
  user_count: number | null;
36193
36310
  user_window: number | null;
36194
36311
  } | null;
36312
+ date_added: string;
36195
36313
  }>;
36196
36314
  owners: z.ZodObject<{
36197
36315
  type: z.ZodString;
@@ -36211,11 +36329,12 @@ export declare const zListAnOrganizationSissuesResponse: z.ZodArray<z.ZodObject<
36211
36329
  integrationIssues: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
36212
36330
  sentryAppIssues: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
36213
36331
  latestEventHasAttachments: z.ZodBoolean;
36332
+ matchingEventId: z.ZodUnion<[z.ZodString, z.ZodNull]>;
36333
+ matchingEventEnvironment: z.ZodUnion<[z.ZodString, z.ZodNull]>;
36214
36334
  }, "strip", z.ZodTypeAny, {
36215
36335
  priority: string | null;
36216
36336
  inbox: {
36217
36337
  reason: number;
36218
- date_added: string;
36219
36338
  reason_details: {
36220
36339
  window: number | null;
36221
36340
  count: number | null;
@@ -36223,6 +36342,7 @@ export declare const zListAnOrganizationSissuesResponse: z.ZodArray<z.ZodObject<
36223
36342
  user_count: number | null;
36224
36343
  user_window: number | null;
36225
36344
  } | null;
36345
+ date_added: string;
36226
36346
  };
36227
36347
  integrationIssues: Record<string, unknown>[];
36228
36348
  latestEventHasAttachments: boolean;
@@ -36350,11 +36470,12 @@ export declare const zListAnOrganizationSissuesResponse: z.ZodArray<z.ZodObject<
36350
36470
  displayName: string;
36351
36471
  }[];
36352
36472
  sessionCount: number;
36473
+ matchingEventId: string | null;
36474
+ matchingEventEnvironment: string | null;
36353
36475
  }, {
36354
36476
  priority: string | null;
36355
36477
  inbox: {
36356
36478
  reason: number;
36357
- date_added: string;
36358
36479
  reason_details: {
36359
36480
  window: number | null;
36360
36481
  count: number | null;
@@ -36362,6 +36483,7 @@ export declare const zListAnOrganizationSissuesResponse: z.ZodArray<z.ZodObject<
36362
36483
  user_count: number | null;
36363
36484
  user_window: number | null;
36364
36485
  } | null;
36486
+ date_added: string;
36365
36487
  };
36366
36488
  integrationIssues: Record<string, unknown>[];
36367
36489
  latestEventHasAttachments: boolean;
@@ -36489,6 +36611,8 @@ export declare const zListAnOrganizationSissuesResponse: z.ZodArray<z.ZodObject<
36489
36611
  displayName: string;
36490
36612
  }[];
36491
36613
  sessionCount: number;
36614
+ matchingEventId: string | null;
36615
+ matchingEventEnvironment: string | null;
36492
36616
  }>, "many">;
36493
36617
  export declare const zBulkMutateAnOrganizationSissuesData: z.ZodObject<{
36494
36618
  body: z.ZodObject<{
@@ -43614,6 +43738,7 @@ export declare const zRetrieveLatestBaseSnapshotResponse: z.ZodObject<{
43614
43738
  }, "strip", z.ZodTypeAny, {
43615
43739
  app_id?: string | null | undefined;
43616
43740
  project_id?: string | undefined;
43741
+ date_added?: string | undefined;
43617
43742
  head_artifact_id?: string | undefined;
43618
43743
  project_slug?: string | undefined;
43619
43744
  image_count?: number | undefined;
@@ -43627,7 +43752,6 @@ export declare const zRetrieveLatestBaseSnapshotResponse: z.ZodObject<{
43627
43752
  image_url?: string | undefined;
43628
43753
  }[] | undefined;
43629
43754
  diff_threshold?: number | null | undefined;
43630
- date_added?: string | undefined;
43631
43755
  vcs_info?: {
43632
43756
  head_sha?: string | null | undefined;
43633
43757
  base_sha?: string | null | undefined;
@@ -43639,6 +43763,7 @@ export declare const zRetrieveLatestBaseSnapshotResponse: z.ZodObject<{
43639
43763
  }, {
43640
43764
  app_id?: string | null | undefined;
43641
43765
  project_id?: string | undefined;
43766
+ date_added?: string | undefined;
43642
43767
  head_artifact_id?: string | undefined;
43643
43768
  project_slug?: string | undefined;
43644
43769
  image_count?: number | undefined;
@@ -43652,7 +43777,6 @@ export declare const zRetrieveLatestBaseSnapshotResponse: z.ZodObject<{
43652
43777
  image_url?: string | undefined;
43653
43778
  }[] | undefined;
43654
43779
  diff_threshold?: number | null | undefined;
43655
- date_added?: string | undefined;
43656
43780
  vcs_info?: {
43657
43781
  head_sha?: string | null | undefined;
43658
43782
  base_sha?: string | null | undefined;
@@ -44667,7 +44791,7 @@ export declare const zListAnOrganizationSTrustedRelaysData: z.ZodObject<{
44667
44791
  export declare const zListAnOrganizationSTrustedRelaysResponse: z.ZodArray<z.ZodObject<{
44668
44792
  relayId: z.ZodString;
44669
44793
  version: z.ZodString;
44670
- publicKey: z.ZodString;
44794
+ publicKey: z.ZodUnion<[z.ZodString, z.ZodNull]>;
44671
44795
  firstSeen: z.ZodString;
44672
44796
  lastSeen: z.ZodString;
44673
44797
  }, "strip", z.ZodTypeAny, {
@@ -44675,13 +44799,13 @@ export declare const zListAnOrganizationSTrustedRelaysResponse: z.ZodArray<z.Zod
44675
44799
  firstSeen: string;
44676
44800
  lastSeen: string;
44677
44801
  relayId: string;
44678
- publicKey: string;
44802
+ publicKey: string | null;
44679
44803
  }, {
44680
44804
  version: string;
44681
44805
  firstSeen: string;
44682
44806
  lastSeen: string;
44683
44807
  relayId: string;
44684
- publicKey: string;
44808
+ publicKey: string | null;
44685
44809
  }>, "many">;
44686
44810
  export declare const zRetrieveStatusesOfReleaseThresholdsAlphaData: z.ZodObject<{
44687
44811
  body: z.ZodOptional<z.ZodNever>;
@@ -71152,11 +71276,83 @@ export declare const zRetrieveAnIssueResponse: z.ZodObject<{
71152
71276
  lastRelease: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
71153
71277
  tags: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
71154
71278
  stats: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">>>;
71155
- inbox: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
71156
- owners: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
71279
+ inbox: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
71280
+ reason: z.ZodNumber;
71281
+ reason_details: z.ZodUnion<[z.ZodObject<{
71282
+ until: z.ZodUnion<[z.ZodString, z.ZodNull]>;
71283
+ count: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
71284
+ window: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
71285
+ user_count: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
71286
+ user_window: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
71287
+ }, "strip", z.ZodTypeAny, {
71288
+ window: number | null;
71289
+ count: number | null;
71290
+ until: string | null;
71291
+ user_count: number | null;
71292
+ user_window: number | null;
71293
+ }, {
71294
+ window: number | null;
71295
+ count: number | null;
71296
+ until: string | null;
71297
+ user_count: number | null;
71298
+ user_window: number | null;
71299
+ }>, z.ZodNull]>;
71300
+ date_added: z.ZodString;
71301
+ }, "strip", z.ZodTypeAny, {
71302
+ reason: number;
71303
+ reason_details: {
71304
+ window: number | null;
71305
+ count: number | null;
71306
+ until: string | null;
71307
+ user_count: number | null;
71308
+ user_window: number | null;
71309
+ } | null;
71310
+ date_added: string;
71311
+ }, {
71312
+ reason: number;
71313
+ reason_details: {
71314
+ window: number | null;
71315
+ count: number | null;
71316
+ until: string | null;
71317
+ user_count: number | null;
71318
+ user_window: number | null;
71319
+ } | null;
71320
+ date_added: string;
71321
+ }>, z.ZodNull]>>;
71322
+ owners: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
71323
+ type: z.ZodString;
71324
+ owner: z.ZodString;
71325
+ date_added: z.ZodString;
71326
+ }, "strip", z.ZodTypeAny, {
71327
+ owner: string;
71328
+ type: string;
71329
+ date_added: string;
71330
+ }, {
71331
+ owner: string;
71332
+ type: string;
71333
+ date_added: string;
71334
+ }>, "many">, z.ZodNull]>>;
71157
71335
  forecast: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
71158
71336
  integrationIssues: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
71159
- sentryAppIssues: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
71337
+ sentryAppIssues: z.ZodOptional<z.ZodArray<z.ZodObject<{
71338
+ id: z.ZodString;
71339
+ issueId: z.ZodString;
71340
+ serviceType: z.ZodString;
71341
+ displayName: z.ZodString;
71342
+ webUrl: z.ZodString;
71343
+ }, "strip", z.ZodTypeAny, {
71344
+ id: string;
71345
+ displayName: string;
71346
+ issueId: string;
71347
+ serviceType: string;
71348
+ webUrl: string;
71349
+ }, {
71350
+ id: string;
71351
+ displayName: string;
71352
+ issueId: string;
71353
+ serviceType: string;
71354
+ webUrl: string;
71355
+ }>, "many">>;
71160
71356
  latestEventHasAttachments: z.ZodOptional<z.ZodBoolean>;
71161
71357
  activity: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
71162
71358
  seenBy: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
@@ -71275,11 +71471,31 @@ export declare const zRetrieveAnIssueResponse: z.ZodObject<{
71275
71471
  pluginContexts: Record<string, unknown>[];
71276
71472
  userReportCount: number;
71277
71473
  participants: Record<string, unknown>[];
71278
- inbox?: Record<string, unknown> | null | undefined;
71474
+ inbox?: {
71475
+ reason: number;
71476
+ reason_details: {
71477
+ window: number | null;
71478
+ count: number | null;
71479
+ until: string | null;
71480
+ user_count: number | null;
71481
+ user_window: number | null;
71482
+ } | null;
71483
+ date_added: string;
71484
+ } | null | undefined;
71279
71485
  integrationIssues?: Record<string, unknown>[] | undefined;
71280
71486
  latestEventHasAttachments?: boolean | undefined;
71281
- owners?: Record<string, unknown>[] | null | undefined;
71282
- sentryAppIssues?: Record<string, unknown>[] | undefined;
71487
+ owners?: {
71488
+ owner: string;
71489
+ type: string;
71490
+ date_added: string;
71491
+ }[] | null | undefined;
71492
+ sentryAppIssues?: {
71493
+ id: string;
71494
+ displayName: string;
71495
+ issueId: string;
71496
+ serviceType: string;
71497
+ webUrl: string;
71498
+ }[] | undefined;
71283
71499
  stats?: Record<string, number[][]> | undefined;
71284
71500
  tags?: Record<string, unknown>[] | undefined;
71285
71501
  count?: string | undefined;
@@ -71400,11 +71616,31 @@ export declare const zRetrieveAnIssueResponse: z.ZodObject<{
71400
71616
  pluginContexts: Record<string, unknown>[];
71401
71617
  userReportCount: number;
71402
71618
  participants: Record<string, unknown>[];
71403
- inbox?: Record<string, unknown> | null | undefined;
71619
+ inbox?: {
71620
+ reason: number;
71621
+ reason_details: {
71622
+ window: number | null;
71623
+ count: number | null;
71624
+ until: string | null;
71625
+ user_count: number | null;
71626
+ user_window: number | null;
71627
+ } | null;
71628
+ date_added: string;
71629
+ } | null | undefined;
71404
71630
  integrationIssues?: Record<string, unknown>[] | undefined;
71405
71631
  latestEventHasAttachments?: boolean | undefined;
71406
- owners?: Record<string, unknown>[] | null | undefined;
71407
- sentryAppIssues?: Record<string, unknown>[] | undefined;
71632
+ owners?: {
71633
+ owner: string;
71634
+ type: string;
71635
+ date_added: string;
71636
+ }[] | null | undefined;
71637
+ sentryAppIssues?: {
71638
+ id: string;
71639
+ displayName: string;
71640
+ issueId: string;
71641
+ serviceType: string;
71642
+ webUrl: string;
71643
+ }[] | undefined;
71408
71644
  stats?: Record<string, number[][]> | undefined;
71409
71645
  tags?: Record<string, unknown>[] | undefined;
71410
71646
  count?: string | undefined;
package/dist/zod.js CHANGED
@@ -2822,16 +2822,54 @@ var zGroupDetailsResponse = z.object({
2822
2822
  tags: z.array(z.record(z.unknown())).optional(),
2823
2823
  stats: z.record(z.array(z.array(z.number()))).optional(),
2824
2824
  inbox: z.union([
2825
- z.record(z.unknown()),
2825
+ z.object({
2826
+ reason: z.number().int(),
2827
+ reason_details: z.union([
2828
+ z.object({
2829
+ until: z.union([
2830
+ z.string(),
2831
+ z.null()
2832
+ ]),
2833
+ count: z.union([
2834
+ z.number().int(),
2835
+ z.null()
2836
+ ]),
2837
+ window: z.union([
2838
+ z.number().int(),
2839
+ z.null()
2840
+ ]),
2841
+ user_count: z.union([
2842
+ z.number().int(),
2843
+ z.null()
2844
+ ]),
2845
+ user_window: z.union([
2846
+ z.number().int(),
2847
+ z.null()
2848
+ ])
2849
+ }),
2850
+ z.null()
2851
+ ]),
2852
+ date_added: z.string().datetime()
2853
+ }),
2826
2854
  z.null()
2827
2855
  ]).optional(),
2828
2856
  owners: z.union([
2829
- z.array(z.record(z.unknown())),
2857
+ z.array(z.object({
2858
+ type: z.string(),
2859
+ owner: z.string(),
2860
+ date_added: z.string().datetime()
2861
+ })),
2830
2862
  z.null()
2831
2863
  ]).optional(),
2832
2864
  forecast: z.record(z.unknown()).optional(),
2833
2865
  integrationIssues: z.array(z.record(z.unknown())).optional(),
2834
- sentryAppIssues: z.array(z.record(z.unknown())).optional(),
2866
+ sentryAppIssues: z.array(z.object({
2867
+ id: z.string(),
2868
+ issueId: z.string(),
2869
+ serviceType: z.string(),
2870
+ displayName: z.string(),
2871
+ webUrl: z.string()
2872
+ })).optional(),
2835
2873
  latestEventHasAttachments: z.boolean().optional(),
2836
2874
  activity: z.array(z.record(z.unknown())),
2837
2875
  seenBy: z.array(z.record(z.unknown())),
@@ -6892,7 +6930,15 @@ var zOrganizationGroupIndexGetResponse = z.array(z.object({
6892
6930
  pluginIssues: z.array(z.record(z.unknown())),
6893
6931
  integrationIssues: z.array(z.record(z.unknown())),
6894
6932
  sentryAppIssues: z.array(z.record(z.unknown())),
6895
- latestEventHasAttachments: z.boolean()
6933
+ latestEventHasAttachments: z.boolean(),
6934
+ matchingEventId: z.union([
6935
+ z.string(),
6936
+ z.null()
6937
+ ]),
6938
+ matchingEventEnvironment: z.union([
6939
+ z.string(),
6940
+ z.null()
6941
+ ])
6896
6942
  }));
6897
6943
  var zOrganizationGroupIndexPutResponse = z.object({
6898
6944
  assignedTo: z.object({
@@ -7296,9 +7342,12 @@ var zOrganizationProjectResponseDict = z.array(z.object({
7296
7342
  var zOrganizationRelayResponse = z.array(z.object({
7297
7343
  relayId: z.string(),
7298
7344
  version: z.string(),
7299
- publicKey: z.string(),
7300
- firstSeen: z.string(),
7301
- lastSeen: z.string()
7345
+ publicKey: z.union([
7346
+ z.string(),
7347
+ z.null()
7348
+ ]),
7349
+ firstSeen: z.string().datetime(),
7350
+ lastSeen: z.string().datetime()
7302
7351
  }));
7303
7352
  var zOrganizationRelease = z.object({
7304
7353
  ref: z.union([
@@ -13460,7 +13509,15 @@ var zListAnOrganizationSissuesResponse = z.array(z.object({
13460
13509
  pluginIssues: z.array(z.record(z.unknown())),
13461
13510
  integrationIssues: z.array(z.record(z.unknown())),
13462
13511
  sentryAppIssues: z.array(z.record(z.unknown())),
13463
- latestEventHasAttachments: z.boolean()
13512
+ latestEventHasAttachments: z.boolean(),
13513
+ matchingEventId: z.union([
13514
+ z.string(),
13515
+ z.null()
13516
+ ]),
13517
+ matchingEventEnvironment: z.union([
13518
+ z.string(),
13519
+ z.null()
13520
+ ])
13464
13521
  }));
13465
13522
  var zBulkMutateAnOrganizationSissuesData = z.object({
13466
13523
  body: z.object({
@@ -17339,9 +17396,12 @@ var zListAnOrganizationSTrustedRelaysData = z.object({
17339
17396
  var zListAnOrganizationSTrustedRelaysResponse = z.array(z.object({
17340
17397
  relayId: z.string(),
17341
17398
  version: z.string(),
17342
- publicKey: z.string(),
17343
- firstSeen: z.string(),
17344
- lastSeen: z.string()
17399
+ publicKey: z.union([
17400
+ z.string(),
17401
+ z.null()
17402
+ ]),
17403
+ firstSeen: z.string().datetime(),
17404
+ lastSeen: z.string().datetime()
17345
17405
  }));
17346
17406
  var zRetrieveStatusesOfReleaseThresholdsAlphaData = z.object({
17347
17407
  body: z.never().optional(),
@@ -26977,16 +27037,54 @@ var zRetrieveAnIssueResponse = z.object({
26977
27037
  tags: z.array(z.record(z.unknown())).optional(),
26978
27038
  stats: z.record(z.array(z.array(z.number()))).optional(),
26979
27039
  inbox: z.union([
26980
- z.record(z.unknown()),
27040
+ z.object({
27041
+ reason: z.number().int(),
27042
+ reason_details: z.union([
27043
+ z.object({
27044
+ until: z.union([
27045
+ z.string(),
27046
+ z.null()
27047
+ ]),
27048
+ count: z.union([
27049
+ z.number().int(),
27050
+ z.null()
27051
+ ]),
27052
+ window: z.union([
27053
+ z.number().int(),
27054
+ z.null()
27055
+ ]),
27056
+ user_count: z.union([
27057
+ z.number().int(),
27058
+ z.null()
27059
+ ]),
27060
+ user_window: z.union([
27061
+ z.number().int(),
27062
+ z.null()
27063
+ ])
27064
+ }),
27065
+ z.null()
27066
+ ]),
27067
+ date_added: z.string().datetime()
27068
+ }),
26981
27069
  z.null()
26982
27070
  ]).optional(),
26983
27071
  owners: z.union([
26984
- z.array(z.record(z.unknown())),
27072
+ z.array(z.object({
27073
+ type: z.string(),
27074
+ owner: z.string(),
27075
+ date_added: z.string().datetime()
27076
+ })),
26985
27077
  z.null()
26986
27078
  ]).optional(),
26987
27079
  forecast: z.record(z.unknown()).optional(),
26988
27080
  integrationIssues: z.array(z.record(z.unknown())).optional(),
26989
- sentryAppIssues: z.array(z.record(z.unknown())).optional(),
27081
+ sentryAppIssues: z.array(z.object({
27082
+ id: z.string(),
27083
+ issueId: z.string(),
27084
+ serviceType: z.string(),
27085
+ displayName: z.string(),
27086
+ webUrl: z.string()
27087
+ })).optional(),
26990
27088
  latestEventHasAttachments: z.boolean().optional(),
26991
27089
  activity: z.array(z.record(z.unknown())),
26992
27090
  seenBy: z.array(z.record(z.unknown())),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.190.0",
3
+ "version": "0.192.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",