@sentry/api 1.31.0 → 1.32.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.
@@ -2649,7 +2649,17 @@ export declare function createSentryClient(config?: Config): {
2649
2649
  description: string;
2650
2650
  }> | null;
2651
2651
  status: string;
2652
- provider: unknown;
2652
+ provider: {
2653
+ key: string;
2654
+ slug: string;
2655
+ name: string;
2656
+ canAdd: boolean;
2657
+ canDisable: boolean;
2658
+ features: Array<string>;
2659
+ aspects: {
2660
+ [key: string]: unknown;
2661
+ };
2662
+ };
2653
2663
  configOrganization: unknown;
2654
2664
  configData: unknown;
2655
2665
  externalId: string;
@@ -2865,14 +2875,14 @@ export declare function createSentryClient(config?: Config): {
2865
2875
  measurements?: {
2866
2876
  [key: string]: {
2867
2877
  value: number;
2868
- unit: string | null;
2878
+ unit?: string | null;
2869
2879
  };
2870
2880
  } | null;
2871
2881
  breakdowns?: {
2872
2882
  [key: string]: {
2873
2883
  [key: string]: {
2874
2884
  value: number;
2875
- unit: string | null;
2885
+ unit?: string | null;
2876
2886
  };
2877
2887
  };
2878
2888
  } | null;
@@ -2953,15 +2963,15 @@ export declare function createSentryClient(config?: Config): {
2953
2963
  /** Fetch a single page of `listOrganizationIssues` with cursors from the Link header. */
2954
2964
  readonly listOrganizationIssues: (options: Omit<NonNullable<Parameters<typeof pagination.fetchPage_listOrganizationIssues>[0]>, "client">, cursor?: Parameters<typeof pagination.fetchPage_listOrganizationIssues>[1]) => Promise<import("./sentry-pagination").PaginatedResponse<{
2955
2965
  id: string;
2956
- shareId: string | null;
2957
- shortId: string | null;
2958
- title: string;
2959
- culprit: string | null;
2960
- permalink: string;
2961
- logger: string | null;
2962
- level: "sample" | "debug" | "info" | "warning" | "error" | "fatal" | "unknown";
2963
- status: "resolved" | "ignored" | "pending_deletion" | "pending_merge" | "reprocessing" | "unresolved";
2964
- statusDetails: {
2966
+ shareId?: string | null;
2967
+ shortId?: string | null;
2968
+ title?: string;
2969
+ culprit?: string | null;
2970
+ permalink?: string;
2971
+ logger?: string | null;
2972
+ level?: "sample" | "debug" | "info" | "warning" | "error" | "fatal" | "unknown";
2973
+ status?: "resolved" | "ignored" | "pending_deletion" | "pending_merge" | "reprocessing" | "unresolved";
2974
+ statusDetails?: {
2965
2975
  ignoreCount?: number;
2966
2976
  ignoreUntil?: string;
2967
2977
  ignoreUserCount?: number;
@@ -3029,50 +3039,50 @@ export declare function createSentryClient(config?: Config): {
3029
3039
  totalEvents: number;
3030
3040
  } | null;
3031
3041
  };
3032
- substatus: "archived_until_escalating" | "archived_until_condition_met" | "archived_forever" | "escalating" | "ongoing" | "regressed" | "new" | null;
3033
- isPublic: boolean;
3034
- platform: string | null;
3035
- priority: "low" | "medium" | "high" | null;
3036
- priorityLockedAt: string | null;
3037
- seerFixabilityScore: number | null;
3038
- seerAutofixLastTriggered: string | null;
3039
- seerExplorerAutofixLastTriggered: string | null;
3040
- project: {
3042
+ substatus?: "archived_until_escalating" | "archived_until_condition_met" | "archived_forever" | "escalating" | "ongoing" | "regressed" | "new" | null;
3043
+ isPublic?: boolean;
3044
+ platform?: string | null;
3045
+ priority?: "low" | "medium" | "high" | null;
3046
+ priorityLockedAt?: string | null;
3047
+ seerFixabilityScore?: number | null;
3048
+ seerAutofixLastTriggered?: string | null;
3049
+ seerExplorerAutofixLastTriggered?: string | null;
3050
+ project?: {
3041
3051
  id: string;
3042
3052
  name: string;
3043
3053
  slug: string;
3044
3054
  platform: string | null;
3045
3055
  };
3046
- type: "default" | "error" | "csp" | "nel" | "hpkp" | "expectct" | "expectstaple" | "transaction" | "generic" | "feedback";
3047
- issueType: string;
3048
- issueCategory: string;
3049
- metadata: {
3056
+ type?: "default" | "error" | "csp" | "nel" | "hpkp" | "expectct" | "expectstaple" | "transaction" | "generic" | "feedback";
3057
+ issueType?: string;
3058
+ issueCategory?: string;
3059
+ metadata?: {
3050
3060
  [key: string]: unknown;
3051
3061
  };
3052
- numComments: number;
3053
- assignedTo: {
3062
+ numComments?: number;
3063
+ assignedTo?: {
3054
3064
  type: "user" | "team";
3055
3065
  id: string;
3056
3066
  name: string;
3057
3067
  email?: string;
3058
3068
  } | null;
3059
- isBookmarked: boolean;
3060
- isSubscribed: boolean;
3061
- subscriptionDetails: {
3069
+ isBookmarked?: boolean;
3070
+ isSubscribed?: boolean;
3071
+ subscriptionDetails?: {
3062
3072
  disabled?: boolean;
3063
3073
  reason?: string;
3064
3074
  } | null;
3065
- hasSeen: boolean;
3066
- annotations: Array<{
3075
+ hasSeen?: boolean;
3076
+ annotations?: Array<{
3067
3077
  displayName: string;
3068
3078
  url: string;
3069
3079
  }>;
3070
- isUnhandled: boolean;
3071
- count: string;
3072
- userCount: number;
3073
- firstSeen: string | null;
3074
- lastSeen: string | null;
3075
- derivedData: {
3080
+ isUnhandled?: boolean;
3081
+ count?: string;
3082
+ userCount?: number;
3083
+ firstSeen?: string | null;
3084
+ lastSeen?: string | null;
3085
+ derivedData?: {
3076
3086
  blocker: string;
3077
3087
  progress: string;
3078
3088
  status: string;
@@ -3083,23 +3093,23 @@ export declare function createSentryClient(config?: Config): {
3083
3093
  lastCompletedAutofixStep: string;
3084
3094
  lastProgressedAt: string | null;
3085
3095
  };
3086
- stats: {
3096
+ stats?: {
3087
3097
  [key: string]: unknown;
3088
3098
  };
3089
- lifetime: {
3099
+ lifetime?: {
3090
3100
  [key: string]: unknown;
3091
3101
  };
3092
- filtered: {
3102
+ filtered?: {
3093
3103
  count: string;
3094
3104
  userCount: number;
3095
3105
  firstSeen: string | null;
3096
3106
  lastSeen: string | null;
3097
- stats: {
3107
+ stats?: {
3098
3108
  [key: string]: unknown;
3099
3109
  };
3100
3110
  } | null;
3101
- sessionCount: number;
3102
- inbox: {
3111
+ sessionCount?: number;
3112
+ inbox?: {
3103
3113
  reason: number;
3104
3114
  reason_details: {
3105
3115
  until: string | null;
@@ -3110,20 +3120,20 @@ export declare function createSentryClient(config?: Config): {
3110
3120
  } | null;
3111
3121
  date_added: string;
3112
3122
  };
3113
- owners: Array<{
3123
+ owners?: Array<{
3114
3124
  type: string;
3115
3125
  owner: string;
3116
3126
  date_added: string;
3117
3127
  }> | null;
3118
- integrationIssues: Array<{
3128
+ integrationIssues?: Array<{
3119
3129
  [key: string]: unknown;
3120
3130
  }>;
3121
- sentryAppIssues: Array<{
3131
+ sentryAppIssues?: Array<{
3122
3132
  [key: string]: unknown;
3123
3133
  }>;
3124
- latestEventHasAttachments: boolean;
3125
- matchingEventId: string | null;
3126
- matchingEventEnvironment: string | null;
3134
+ latestEventHasAttachments?: boolean;
3135
+ matchingEventId?: string | null;
3136
+ matchingEventEnvironment?: string | null;
3127
3137
  }[]>>;
3128
3138
  /** Fetch a single page of `listOrganizationIssueViews` with cursors from the Link header. */
3129
3139
  readonly listOrganizationIssueViews: (options: Omit<NonNullable<Parameters<typeof pagination.fetchPage_listOrganizationIssueViews>[0]>, "client">, cursor?: Parameters<typeof pagination.fetchPage_listOrganizationIssueViews>[1]) => Promise<import("./sentry-pagination").PaginatedResponse<{
@@ -3373,7 +3383,7 @@ export declare function createSentryClient(config?: Config): {
3373
3383
  color: string;
3374
3384
  status: string;
3375
3385
  };
3376
- environments: {
3386
+ environments: Array<{
3377
3387
  name: string;
3378
3388
  status: string;
3379
3389
  isMuted: boolean;
@@ -3389,13 +3399,13 @@ export declare function createSentryClient(config?: Config): {
3389
3399
  environmentMutedTimestamp: string | null;
3390
3400
  } | null;
3391
3401
  } | null;
3392
- };
3402
+ }>;
3393
3403
  owner: {
3394
3404
  type: "user" | "team";
3395
3405
  id: string;
3396
3406
  name: string;
3397
3407
  email?: string;
3398
- };
3408
+ } | null;
3399
3409
  }[]>>;
3400
3410
  /** Fetch a single page of `listOrganizationProjectKeys` with cursors from the Link header. */
3401
3411
  readonly listOrganizationProjectKeys: (options: Omit<NonNullable<Parameters<typeof pagination.fetchPage_listOrganizationProjectKeys>[0]>, "client">, cursor?: Parameters<typeof pagination.fetchPage_listOrganizationProjectKeys>[1]) => Promise<import("./sentry-pagination").PaginatedResponse<{
@@ -4172,7 +4182,7 @@ export declare function createSentryClient(config?: Config): {
4172
4182
  photoType: string;
4173
4183
  }>;
4174
4184
  };
4175
- installationUuid: string;
4185
+ installationUuid?: string;
4176
4186
  }[]>>;
4177
4187
  /** Fetch a single page of `listOrganizationSentryAppInstallations` with cursors from the Link header. */
4178
4188
  readonly listOrganizationSentryAppInstallations: (options: Omit<NonNullable<Parameters<typeof pagination.fetchPage_listOrganizationSentryAppInstallations>[0]>, "client">, cursor?: Parameters<typeof pagination.fetchPage_listOrganizationSentryAppInstallations>[1]) => Promise<import("./sentry-pagination").PaginatedResponse<{
@@ -5483,7 +5493,17 @@ export declare function createSentryClient(config?: Config): {
5483
5493
  description: string;
5484
5494
  }> | null;
5485
5495
  status: string;
5486
- provider: unknown;
5496
+ provider: {
5497
+ key: string;
5498
+ slug: string;
5499
+ name: string;
5500
+ canAdd: boolean;
5501
+ canDisable: boolean;
5502
+ features: Array<string>;
5503
+ aspects: {
5504
+ [key: string]: unknown;
5505
+ };
5506
+ };
5487
5507
  configOrganization: unknown;
5488
5508
  configData: unknown;
5489
5509
  externalId: string;
@@ -5699,14 +5719,14 @@ export declare function createSentryClient(config?: Config): {
5699
5719
  measurements?: {
5700
5720
  [key: string]: {
5701
5721
  value: number;
5702
- unit: string | null;
5722
+ unit?: string | null;
5703
5723
  };
5704
5724
  } | null;
5705
5725
  breakdowns?: {
5706
5726
  [key: string]: {
5707
5727
  [key: string]: {
5708
5728
  value: number;
5709
- unit: string | null;
5729
+ unit?: string | null;
5710
5730
  };
5711
5731
  };
5712
5732
  } | null;
@@ -5787,15 +5807,15 @@ export declare function createSentryClient(config?: Config): {
5787
5807
  /** Eagerly fetch all pages of `listOrganizationIssues`. Bounded by `maxPages` (default 50). */
5788
5808
  readonly listOrganizationIssues: (options: Omit<NonNullable<Parameters<typeof pagination.paginateAll_listOrganizationIssues>[0]>, "client">, paginateOptions?: Parameters<typeof pagination.paginateAll_listOrganizationIssues>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{
5789
5809
  id: string;
5790
- shareId: string | null;
5791
- shortId: string | null;
5792
- title: string;
5793
- culprit: string | null;
5794
- permalink: string;
5795
- logger: string | null;
5796
- level: "sample" | "debug" | "info" | "warning" | "error" | "fatal" | "unknown";
5797
- status: "resolved" | "ignored" | "pending_deletion" | "pending_merge" | "reprocessing" | "unresolved";
5798
- statusDetails: {
5810
+ shareId?: string | null;
5811
+ shortId?: string | null;
5812
+ title?: string;
5813
+ culprit?: string | null;
5814
+ permalink?: string;
5815
+ logger?: string | null;
5816
+ level?: "sample" | "debug" | "info" | "warning" | "error" | "fatal" | "unknown";
5817
+ status?: "resolved" | "ignored" | "pending_deletion" | "pending_merge" | "reprocessing" | "unresolved";
5818
+ statusDetails?: {
5799
5819
  ignoreCount?: number;
5800
5820
  ignoreUntil?: string;
5801
5821
  ignoreUserCount?: number;
@@ -5863,50 +5883,50 @@ export declare function createSentryClient(config?: Config): {
5863
5883
  totalEvents: number;
5864
5884
  } | null;
5865
5885
  };
5866
- substatus: "archived_until_escalating" | "archived_until_condition_met" | "archived_forever" | "escalating" | "ongoing" | "regressed" | "new" | null;
5867
- isPublic: boolean;
5868
- platform: string | null;
5869
- priority: "low" | "medium" | "high" | null;
5870
- priorityLockedAt: string | null;
5871
- seerFixabilityScore: number | null;
5872
- seerAutofixLastTriggered: string | null;
5873
- seerExplorerAutofixLastTriggered: string | null;
5874
- project: {
5886
+ substatus?: "archived_until_escalating" | "archived_until_condition_met" | "archived_forever" | "escalating" | "ongoing" | "regressed" | "new" | null;
5887
+ isPublic?: boolean;
5888
+ platform?: string | null;
5889
+ priority?: "low" | "medium" | "high" | null;
5890
+ priorityLockedAt?: string | null;
5891
+ seerFixabilityScore?: number | null;
5892
+ seerAutofixLastTriggered?: string | null;
5893
+ seerExplorerAutofixLastTriggered?: string | null;
5894
+ project?: {
5875
5895
  id: string;
5876
5896
  name: string;
5877
5897
  slug: string;
5878
5898
  platform: string | null;
5879
5899
  };
5880
- type: "default" | "error" | "csp" | "nel" | "hpkp" | "expectct" | "expectstaple" | "transaction" | "generic" | "feedback";
5881
- issueType: string;
5882
- issueCategory: string;
5883
- metadata: {
5900
+ type?: "default" | "error" | "csp" | "nel" | "hpkp" | "expectct" | "expectstaple" | "transaction" | "generic" | "feedback";
5901
+ issueType?: string;
5902
+ issueCategory?: string;
5903
+ metadata?: {
5884
5904
  [key: string]: unknown;
5885
5905
  };
5886
- numComments: number;
5887
- assignedTo: {
5906
+ numComments?: number;
5907
+ assignedTo?: {
5888
5908
  type: "user" | "team";
5889
5909
  id: string;
5890
5910
  name: string;
5891
5911
  email?: string;
5892
5912
  } | null;
5893
- isBookmarked: boolean;
5894
- isSubscribed: boolean;
5895
- subscriptionDetails: {
5913
+ isBookmarked?: boolean;
5914
+ isSubscribed?: boolean;
5915
+ subscriptionDetails?: {
5896
5916
  disabled?: boolean;
5897
5917
  reason?: string;
5898
5918
  } | null;
5899
- hasSeen: boolean;
5900
- annotations: Array<{
5919
+ hasSeen?: boolean;
5920
+ annotations?: Array<{
5901
5921
  displayName: string;
5902
5922
  url: string;
5903
5923
  }>;
5904
- isUnhandled: boolean;
5905
- count: string;
5906
- userCount: number;
5907
- firstSeen: string | null;
5908
- lastSeen: string | null;
5909
- derivedData: {
5924
+ isUnhandled?: boolean;
5925
+ count?: string;
5926
+ userCount?: number;
5927
+ firstSeen?: string | null;
5928
+ lastSeen?: string | null;
5929
+ derivedData?: {
5910
5930
  blocker: string;
5911
5931
  progress: string;
5912
5932
  status: string;
@@ -5917,23 +5937,23 @@ export declare function createSentryClient(config?: Config): {
5917
5937
  lastCompletedAutofixStep: string;
5918
5938
  lastProgressedAt: string | null;
5919
5939
  };
5920
- stats: {
5940
+ stats?: {
5921
5941
  [key: string]: unknown;
5922
5942
  };
5923
- lifetime: {
5943
+ lifetime?: {
5924
5944
  [key: string]: unknown;
5925
5945
  };
5926
- filtered: {
5946
+ filtered?: {
5927
5947
  count: string;
5928
5948
  userCount: number;
5929
5949
  firstSeen: string | null;
5930
5950
  lastSeen: string | null;
5931
- stats: {
5951
+ stats?: {
5932
5952
  [key: string]: unknown;
5933
5953
  };
5934
5954
  } | null;
5935
- sessionCount: number;
5936
- inbox: {
5955
+ sessionCount?: number;
5956
+ inbox?: {
5937
5957
  reason: number;
5938
5958
  reason_details: {
5939
5959
  until: string | null;
@@ -5944,20 +5964,20 @@ export declare function createSentryClient(config?: Config): {
5944
5964
  } | null;
5945
5965
  date_added: string;
5946
5966
  };
5947
- owners: Array<{
5967
+ owners?: Array<{
5948
5968
  type: string;
5949
5969
  owner: string;
5950
5970
  date_added: string;
5951
5971
  }> | null;
5952
- integrationIssues: Array<{
5972
+ integrationIssues?: Array<{
5953
5973
  [key: string]: unknown;
5954
5974
  }>;
5955
- sentryAppIssues: Array<{
5975
+ sentryAppIssues?: Array<{
5956
5976
  [key: string]: unknown;
5957
5977
  }>;
5958
- latestEventHasAttachments: boolean;
5959
- matchingEventId: string | null;
5960
- matchingEventEnvironment: string | null;
5978
+ latestEventHasAttachments?: boolean;
5979
+ matchingEventId?: string | null;
5980
+ matchingEventEnvironment?: string | null;
5961
5981
  }>>;
5962
5982
  /** Eagerly fetch all pages of `listOrganizationIssueViews`. Bounded by `maxPages` (default 50). */
5963
5983
  readonly listOrganizationIssueViews: (options: Omit<NonNullable<Parameters<typeof pagination.paginateAll_listOrganizationIssueViews>[0]>, "client">, paginateOptions?: Parameters<typeof pagination.paginateAll_listOrganizationIssueViews>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{
@@ -6207,7 +6227,7 @@ export declare function createSentryClient(config?: Config): {
6207
6227
  color: string;
6208
6228
  status: string;
6209
6229
  };
6210
- environments: {
6230
+ environments: Array<{
6211
6231
  name: string;
6212
6232
  status: string;
6213
6233
  isMuted: boolean;
@@ -6223,13 +6243,13 @@ export declare function createSentryClient(config?: Config): {
6223
6243
  environmentMutedTimestamp: string | null;
6224
6244
  } | null;
6225
6245
  } | null;
6226
- };
6246
+ }>;
6227
6247
  owner: {
6228
6248
  type: "user" | "team";
6229
6249
  id: string;
6230
6250
  name: string;
6231
6251
  email?: string;
6232
- };
6252
+ } | null;
6233
6253
  }>>;
6234
6254
  /** Eagerly fetch all pages of `listOrganizationProjectKeys`. Bounded by `maxPages` (default 50). */
6235
6255
  readonly listOrganizationProjectKeys: (options: Omit<NonNullable<Parameters<typeof pagination.paginateAll_listOrganizationProjectKeys>[0]>, "client">, paginateOptions?: Parameters<typeof pagination.paginateAll_listOrganizationProjectKeys>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{
@@ -6915,7 +6935,7 @@ export declare function createSentryClient(config?: Config): {
6915
6935
  photoType: string;
6916
6936
  }>;
6917
6937
  };
6918
- installationUuid: string;
6938
+ installationUuid?: string;
6919
6939
  }>>;
6920
6940
  /** Eagerly fetch all pages of `listOrganizationSentryAppInstallations`. Bounded by `maxPages` (default 50). */
6921
6941
  readonly listOrganizationSentryAppInstallations: (options: Omit<NonNullable<Parameters<typeof pagination.paginateAll_listOrganizationSentryAppInstallations>[0]>, "client">, paginateOptions?: Parameters<typeof pagination.paginateAll_listOrganizationSentryAppInstallations>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{
@@ -8078,7 +8098,17 @@ export declare function createSentryClient(config?: Config): {
8078
8098
  description: string;
8079
8099
  }> | null;
8080
8100
  status: string;
8081
- provider: unknown;
8101
+ provider: {
8102
+ key: string;
8103
+ slug: string;
8104
+ name: string;
8105
+ canAdd: boolean;
8106
+ canDisable: boolean;
8107
+ features: Array<string>;
8108
+ aspects: {
8109
+ [key: string]: unknown;
8110
+ };
8111
+ };
8082
8112
  configOrganization: unknown;
8083
8113
  configData: unknown;
8084
8114
  externalId: string;
@@ -8294,14 +8324,14 @@ export declare function createSentryClient(config?: Config): {
8294
8324
  measurements?: {
8295
8325
  [key: string]: {
8296
8326
  value: number;
8297
- unit: string | null;
8327
+ unit?: string | null;
8298
8328
  };
8299
8329
  } | null;
8300
8330
  breakdowns?: {
8301
8331
  [key: string]: {
8302
8332
  [key: string]: {
8303
8333
  value: number;
8304
- unit: string | null;
8334
+ unit?: string | null;
8305
8335
  };
8306
8336
  };
8307
8337
  } | null;
@@ -8382,15 +8412,15 @@ export declare function createSentryClient(config?: Config): {
8382
8412
  /** Paginate `listOrganizationIssues` up to `limit` items; see PaginateUpToOptions. */
8383
8413
  readonly listOrganizationIssues: (options: Omit<NonNullable<Parameters<typeof pagination.paginateUpTo_listOrganizationIssues>[0]>, "client">, paginateOptions: Parameters<typeof pagination.paginateUpTo_listOrganizationIssues>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{
8384
8414
  id: string;
8385
- shareId: string | null;
8386
- shortId: string | null;
8387
- title: string;
8388
- culprit: string | null;
8389
- permalink: string;
8390
- logger: string | null;
8391
- level: "sample" | "debug" | "info" | "warning" | "error" | "fatal" | "unknown";
8392
- status: "resolved" | "ignored" | "pending_deletion" | "pending_merge" | "reprocessing" | "unresolved";
8393
- statusDetails: {
8415
+ shareId?: string | null;
8416
+ shortId?: string | null;
8417
+ title?: string;
8418
+ culprit?: string | null;
8419
+ permalink?: string;
8420
+ logger?: string | null;
8421
+ level?: "sample" | "debug" | "info" | "warning" | "error" | "fatal" | "unknown";
8422
+ status?: "resolved" | "ignored" | "pending_deletion" | "pending_merge" | "reprocessing" | "unresolved";
8423
+ statusDetails?: {
8394
8424
  ignoreCount?: number;
8395
8425
  ignoreUntil?: string;
8396
8426
  ignoreUserCount?: number;
@@ -8458,50 +8488,50 @@ export declare function createSentryClient(config?: Config): {
8458
8488
  totalEvents: number;
8459
8489
  } | null;
8460
8490
  };
8461
- substatus: "archived_until_escalating" | "archived_until_condition_met" | "archived_forever" | "escalating" | "ongoing" | "regressed" | "new" | null;
8462
- isPublic: boolean;
8463
- platform: string | null;
8464
- priority: "low" | "medium" | "high" | null;
8465
- priorityLockedAt: string | null;
8466
- seerFixabilityScore: number | null;
8467
- seerAutofixLastTriggered: string | null;
8468
- seerExplorerAutofixLastTriggered: string | null;
8469
- project: {
8491
+ substatus?: "archived_until_escalating" | "archived_until_condition_met" | "archived_forever" | "escalating" | "ongoing" | "regressed" | "new" | null;
8492
+ isPublic?: boolean;
8493
+ platform?: string | null;
8494
+ priority?: "low" | "medium" | "high" | null;
8495
+ priorityLockedAt?: string | null;
8496
+ seerFixabilityScore?: number | null;
8497
+ seerAutofixLastTriggered?: string | null;
8498
+ seerExplorerAutofixLastTriggered?: string | null;
8499
+ project?: {
8470
8500
  id: string;
8471
8501
  name: string;
8472
8502
  slug: string;
8473
8503
  platform: string | null;
8474
8504
  };
8475
- type: "default" | "error" | "csp" | "nel" | "hpkp" | "expectct" | "expectstaple" | "transaction" | "generic" | "feedback";
8476
- issueType: string;
8477
- issueCategory: string;
8478
- metadata: {
8505
+ type?: "default" | "error" | "csp" | "nel" | "hpkp" | "expectct" | "expectstaple" | "transaction" | "generic" | "feedback";
8506
+ issueType?: string;
8507
+ issueCategory?: string;
8508
+ metadata?: {
8479
8509
  [key: string]: unknown;
8480
8510
  };
8481
- numComments: number;
8482
- assignedTo: {
8511
+ numComments?: number;
8512
+ assignedTo?: {
8483
8513
  type: "user" | "team";
8484
8514
  id: string;
8485
8515
  name: string;
8486
8516
  email?: string;
8487
8517
  } | null;
8488
- isBookmarked: boolean;
8489
- isSubscribed: boolean;
8490
- subscriptionDetails: {
8518
+ isBookmarked?: boolean;
8519
+ isSubscribed?: boolean;
8520
+ subscriptionDetails?: {
8491
8521
  disabled?: boolean;
8492
8522
  reason?: string;
8493
8523
  } | null;
8494
- hasSeen: boolean;
8495
- annotations: Array<{
8524
+ hasSeen?: boolean;
8525
+ annotations?: Array<{
8496
8526
  displayName: string;
8497
8527
  url: string;
8498
8528
  }>;
8499
- isUnhandled: boolean;
8500
- count: string;
8501
- userCount: number;
8502
- firstSeen: string | null;
8503
- lastSeen: string | null;
8504
- derivedData: {
8529
+ isUnhandled?: boolean;
8530
+ count?: string;
8531
+ userCount?: number;
8532
+ firstSeen?: string | null;
8533
+ lastSeen?: string | null;
8534
+ derivedData?: {
8505
8535
  blocker: string;
8506
8536
  progress: string;
8507
8537
  status: string;
@@ -8512,23 +8542,23 @@ export declare function createSentryClient(config?: Config): {
8512
8542
  lastCompletedAutofixStep: string;
8513
8543
  lastProgressedAt: string | null;
8514
8544
  };
8515
- stats: {
8545
+ stats?: {
8516
8546
  [key: string]: unknown;
8517
8547
  };
8518
- lifetime: {
8548
+ lifetime?: {
8519
8549
  [key: string]: unknown;
8520
8550
  };
8521
- filtered: {
8551
+ filtered?: {
8522
8552
  count: string;
8523
8553
  userCount: number;
8524
8554
  firstSeen: string | null;
8525
8555
  lastSeen: string | null;
8526
- stats: {
8556
+ stats?: {
8527
8557
  [key: string]: unknown;
8528
8558
  };
8529
8559
  } | null;
8530
- sessionCount: number;
8531
- inbox: {
8560
+ sessionCount?: number;
8561
+ inbox?: {
8532
8562
  reason: number;
8533
8563
  reason_details: {
8534
8564
  until: string | null;
@@ -8539,20 +8569,20 @@ export declare function createSentryClient(config?: Config): {
8539
8569
  } | null;
8540
8570
  date_added: string;
8541
8571
  };
8542
- owners: Array<{
8572
+ owners?: Array<{
8543
8573
  type: string;
8544
8574
  owner: string;
8545
8575
  date_added: string;
8546
8576
  }> | null;
8547
- integrationIssues: Array<{
8577
+ integrationIssues?: Array<{
8548
8578
  [key: string]: unknown;
8549
8579
  }>;
8550
- sentryAppIssues: Array<{
8580
+ sentryAppIssues?: Array<{
8551
8581
  [key: string]: unknown;
8552
8582
  }>;
8553
- latestEventHasAttachments: boolean;
8554
- matchingEventId: string | null;
8555
- matchingEventEnvironment: string | null;
8583
+ latestEventHasAttachments?: boolean;
8584
+ matchingEventId?: string | null;
8585
+ matchingEventEnvironment?: string | null;
8556
8586
  }>>;
8557
8587
  /** Paginate `listOrganizationIssueViews` up to `limit` items; see PaginateUpToOptions. */
8558
8588
  readonly listOrganizationIssueViews: (options: Omit<NonNullable<Parameters<typeof pagination.paginateUpTo_listOrganizationIssueViews>[0]>, "client">, paginateOptions: Parameters<typeof pagination.paginateUpTo_listOrganizationIssueViews>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{
@@ -8802,7 +8832,7 @@ export declare function createSentryClient(config?: Config): {
8802
8832
  color: string;
8803
8833
  status: string;
8804
8834
  };
8805
- environments: {
8835
+ environments: Array<{
8806
8836
  name: string;
8807
8837
  status: string;
8808
8838
  isMuted: boolean;
@@ -8818,13 +8848,13 @@ export declare function createSentryClient(config?: Config): {
8818
8848
  environmentMutedTimestamp: string | null;
8819
8849
  } | null;
8820
8850
  } | null;
8821
- };
8851
+ }>;
8822
8852
  owner: {
8823
8853
  type: "user" | "team";
8824
8854
  id: string;
8825
8855
  name: string;
8826
8856
  email?: string;
8827
- };
8857
+ } | null;
8828
8858
  }>>;
8829
8859
  /** Paginate `listOrganizationProjectKeys` up to `limit` items; see PaginateUpToOptions. */
8830
8860
  readonly listOrganizationProjectKeys: (options: Omit<NonNullable<Parameters<typeof pagination.paginateUpTo_listOrganizationProjectKeys>[0]>, "client">, paginateOptions: Parameters<typeof pagination.paginateUpTo_listOrganizationProjectKeys>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{
@@ -9510,7 +9540,7 @@ export declare function createSentryClient(config?: Config): {
9510
9540
  photoType: string;
9511
9541
  }>;
9512
9542
  };
9513
- installationUuid: string;
9543
+ installationUuid?: string;
9514
9544
  }>>;
9515
9545
  /** Paginate `listOrganizationSentryAppInstallations` up to `limit` items; see PaginateUpToOptions. */
9516
9546
  readonly listOrganizationSentryAppInstallations: (options: Omit<NonNullable<Parameters<typeof pagination.paginateUpTo_listOrganizationSentryAppInstallations>[0]>, "client">, paginateOptions: Parameters<typeof pagination.paginateUpTo_listOrganizationSentryAppInstallations>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{