@sentry/api 0.253.0 → 0.254.1

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.
@@ -357,6 +357,8 @@ export type CommitSerializerResponse = Array<{
357
357
  title: string | null;
358
358
  message: string | null;
359
359
  dateCreated: string;
360
+ mergedAt: string | null;
361
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
360
362
  repository: {
361
363
  url?: string | null;
362
364
  provider?: {
@@ -1127,6 +1129,16 @@ export type ConfigValidator = {
1127
1129
  */
1128
1130
  recovery_threshold?: number | null;
1129
1131
  };
1132
+ export type CreateExternalIssueRequest = {
1133
+ /**
1134
+ * The title of the external issue to create.
1135
+ */
1136
+ title: string;
1137
+ /**
1138
+ * The description (body) of the external issue to create.
1139
+ */
1140
+ description?: string;
1141
+ };
1130
1142
  export type CreateOrganizationReleaseResponse = {
1131
1143
  ref?: string | null;
1132
1144
  url?: string | null;
@@ -1702,7 +1714,7 @@ export type DashboardDetailsModel = {
1702
1714
  [key: string]: number;
1703
1715
  } | null;
1704
1716
  axisRange: string | null;
1705
- legendType: 'default' | 'breakdown';
1717
+ legendType: 'default' | 'breakdown' | null;
1706
1718
  datasetSource: string | null;
1707
1719
  exploreUrls: Array<string> | null;
1708
1720
  changedReason: Array<{
@@ -2165,6 +2177,7 @@ export type DetailedProject = {
2165
2177
  verifySSL: boolean;
2166
2178
  scrubIPAddresses: boolean;
2167
2179
  scrapeJavaScript: boolean;
2180
+ enableAutoReleaseCreation: boolean;
2168
2181
  highlightTags: Array<string>;
2169
2182
  highlightContext: {
2170
2183
  [key: string]: unknown;
@@ -2586,18 +2599,49 @@ export type EventIdLookupResponse = {
2586
2599
  entries: Array<unknown>;
2587
2600
  dist: string | null;
2588
2601
  sdk: {
2589
- [key: string]: string;
2590
- };
2602
+ name: string | null;
2603
+ version: string | null;
2604
+ } | null;
2591
2605
  context: {
2592
2606
  [key: string]: unknown;
2593
2607
  } | null;
2594
2608
  packages: {
2595
2609
  [key: string]: unknown;
2596
2610
  };
2597
- type: string;
2598
- metadata: unknown;
2599
- errors: Array<unknown>;
2600
- occurrence: unknown;
2611
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
2612
+ metadata: {
2613
+ [key: string]: unknown;
2614
+ };
2615
+ errors: Array<{
2616
+ type: string;
2617
+ message: string;
2618
+ data: {
2619
+ [key: string]: unknown;
2620
+ };
2621
+ }>;
2622
+ occurrence: {
2623
+ id: string;
2624
+ projectId: number;
2625
+ eventId: string;
2626
+ fingerprint: Array<string>;
2627
+ issueTitle: string;
2628
+ subtitle: string;
2629
+ resourceId: string | null;
2630
+ evidenceData: {
2631
+ [key: string]: unknown;
2632
+ };
2633
+ evidenceDisplay: Array<{
2634
+ name: string;
2635
+ value: string;
2636
+ important: boolean;
2637
+ }>;
2638
+ type: number;
2639
+ detectionTime: number;
2640
+ level: string | null;
2641
+ culprit: string | null;
2642
+ assignee: string | null;
2643
+ priority: number | null;
2644
+ } | null;
2601
2645
  _meta: {
2602
2646
  [key: string]: unknown;
2603
2647
  };
@@ -2605,11 +2649,26 @@ export type EventIdLookupResponse = {
2605
2649
  culprit?: string | null;
2606
2650
  dateCreated?: string;
2607
2651
  fingerprints?: Array<string>;
2608
- groupingConfig?: unknown;
2609
- startTimestamp?: string;
2610
- endTimestamp?: string;
2611
- measurements?: unknown;
2612
- breakdowns?: unknown;
2652
+ groupingConfig?: {
2653
+ id: string;
2654
+ enhancements: string;
2655
+ };
2656
+ startTimestamp?: number;
2657
+ endTimestamp?: number;
2658
+ measurements?: {
2659
+ [key: string]: {
2660
+ value: number;
2661
+ unit: string | null;
2662
+ };
2663
+ } | null;
2664
+ breakdowns?: {
2665
+ [key: string]: {
2666
+ [key: string]: {
2667
+ value: number;
2668
+ unit: string | null;
2669
+ };
2670
+ };
2671
+ } | null;
2613
2672
  };
2614
2673
  };
2615
2674
  /**
@@ -2668,6 +2727,10 @@ export type ExplorerAutofixRequest = {
2668
2727
  * Referrer identifying where the issue fix was triggered from.
2669
2728
  */
2670
2729
  referrer?: string;
2730
+ /**
2731
+ * Override bash mode tools.
2732
+ */
2733
+ enable_bash_tools?: boolean;
2671
2734
  };
2672
2735
  export type ExternalActor = {
2673
2736
  externalId?: string;
@@ -2678,6 +2741,13 @@ export type ExternalActor = {
2678
2741
  externalName: string;
2679
2742
  integrationId: string;
2680
2743
  };
2744
+ export type ExternalIssueLinkResponse = {
2745
+ id: number;
2746
+ key: string;
2747
+ url: string;
2748
+ integrationId: number;
2749
+ displayName: string;
2750
+ };
2681
2751
  /**
2682
2752
  * Allows parameters to be defined in snake case, but passed as camel case.
2683
2753
  *
@@ -2847,6 +2917,7 @@ export type GetReplay = {
2847
2917
  };
2848
2918
  is_archived?: boolean | null;
2849
2919
  urls?: Array<string> | null;
2920
+ segment_names?: Array<string> | null;
2850
2921
  clicks?: Array<{
2851
2922
  [key: string]: unknown;
2852
2923
  }>;
@@ -2902,6 +2973,17 @@ export type GroupDetailsResponse = {
2902
2973
  userCount?: number;
2903
2974
  firstSeen?: string | null;
2904
2975
  lastSeen?: string | null;
2976
+ derivedData?: {
2977
+ blocker: string;
2978
+ progress: string;
2979
+ status: string;
2980
+ viewCount: number;
2981
+ hasOpenFixPr: boolean;
2982
+ isAssigned: boolean;
2983
+ hasRootCause: boolean;
2984
+ lastCompletedAutofixStep: string;
2985
+ lastProgressedAt: string | null;
2986
+ };
2905
2987
  id: string;
2906
2988
  shareId: string | null;
2907
2989
  shortId: string;
@@ -2909,10 +2991,9 @@ export type GroupDetailsResponse = {
2909
2991
  culprit: string | null;
2910
2992
  permalink: string;
2911
2993
  logger: string | null;
2912
- level: string;
2913
- status: string;
2994
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
2995
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
2914
2996
  statusDetails: {
2915
- autoResolved?: boolean;
2916
2997
  ignoreCount?: number;
2917
2998
  ignoreUntil?: string;
2918
2999
  ignoreUserCount?: number;
@@ -2968,12 +3049,16 @@ export type GroupDetailsResponse = {
2968
3049
  inRelease?: string;
2969
3050
  inCommit?: string;
2970
3051
  pendingEvents?: number;
2971
- info?: unknown;
3052
+ info?: {
3053
+ dateCreated: string;
3054
+ syncCount: number;
3055
+ totalEvents: number;
3056
+ } | null;
2972
3057
  };
2973
- substatus: string | null;
3058
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
2974
3059
  isPublic: boolean;
2975
3060
  platform: string | null;
2976
- priority: string | null;
3061
+ priority: 'low' | 'medium' | 'high' | null;
2977
3062
  priorityLockedAt: string | null;
2978
3063
  seerFixabilityScore: number | null;
2979
3064
  seerAutofixLastTriggered: string | null;
@@ -2984,7 +3069,7 @@ export type GroupDetailsResponse = {
2984
3069
  slug: string;
2985
3070
  platform: string | null;
2986
3071
  };
2987
- type: string;
3072
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
2988
3073
  issueType: string;
2989
3074
  issueCategory: string;
2990
3075
  metadata: {
@@ -3094,7 +3179,7 @@ export type GroupEventsResponseDict = Array<{
3094
3179
  crashFile: string | null;
3095
3180
  metadata: {
3096
3181
  [key: string]: unknown;
3097
- } | null;
3182
+ };
3098
3183
  }>;
3099
3184
  export type GroupExternalIssueResponse = Array<{
3100
3185
  id: string;
@@ -3140,18 +3225,49 @@ export type GroupHashesResponse = Array<{
3140
3225
  entries: Array<unknown>;
3141
3226
  dist: string | null;
3142
3227
  sdk: {
3143
- [key: string]: string;
3144
- };
3228
+ name: string | null;
3229
+ version: string | null;
3230
+ } | null;
3145
3231
  context: {
3146
3232
  [key: string]: unknown;
3147
3233
  } | null;
3148
3234
  packages: {
3149
3235
  [key: string]: unknown;
3150
3236
  };
3151
- type: string;
3152
- metadata: unknown;
3153
- errors: Array<unknown>;
3154
- occurrence: unknown;
3237
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
3238
+ metadata: {
3239
+ [key: string]: unknown;
3240
+ };
3241
+ errors: Array<{
3242
+ type: string;
3243
+ message: string;
3244
+ data: {
3245
+ [key: string]: unknown;
3246
+ };
3247
+ }>;
3248
+ occurrence: {
3249
+ id: string;
3250
+ projectId: number;
3251
+ eventId: string;
3252
+ fingerprint: Array<string>;
3253
+ issueTitle: string;
3254
+ subtitle: string;
3255
+ resourceId: string | null;
3256
+ evidenceData: {
3257
+ [key: string]: unknown;
3258
+ };
3259
+ evidenceDisplay: Array<{
3260
+ name: string;
3261
+ value: string;
3262
+ important: boolean;
3263
+ }>;
3264
+ type: number;
3265
+ detectionTime: number;
3266
+ level: string | null;
3267
+ culprit: string | null;
3268
+ assignee: string | null;
3269
+ priority: number | null;
3270
+ } | null;
3155
3271
  _meta: {
3156
3272
  [key: string]: unknown;
3157
3273
  };
@@ -3159,11 +3275,26 @@ export type GroupHashesResponse = Array<{
3159
3275
  culprit?: string | null;
3160
3276
  dateCreated?: string;
3161
3277
  fingerprints?: Array<string>;
3162
- groupingConfig?: unknown;
3163
- startTimestamp?: string;
3164
- endTimestamp?: string;
3165
- measurements?: unknown;
3166
- breakdowns?: unknown;
3278
+ groupingConfig?: {
3279
+ id: string;
3280
+ enhancements: string;
3281
+ };
3282
+ startTimestamp?: number;
3283
+ endTimestamp?: number;
3284
+ measurements?: {
3285
+ [key: string]: {
3286
+ value: number;
3287
+ unit: string | null;
3288
+ };
3289
+ } | null;
3290
+ breakdowns?: {
3291
+ [key: string]: {
3292
+ [key: string]: {
3293
+ value: number;
3294
+ unit: string | null;
3295
+ };
3296
+ };
3297
+ } | null;
3167
3298
  } | {
3168
3299
  id: string;
3169
3300
  'event.type': string;
@@ -3197,7 +3328,7 @@ export type GroupHashesResponse = Array<{
3197
3328
  crashFile: string | null;
3198
3329
  metadata: {
3199
3330
  [key: string]: unknown;
3200
- } | null;
3331
+ };
3201
3332
  } | {
3202
3333
  [key: string]: unknown;
3203
3334
  } | null;
@@ -3210,6 +3341,17 @@ export type GroupUpdateResponse = {
3210
3341
  userCount?: number;
3211
3342
  firstSeen?: string | null;
3212
3343
  lastSeen?: string | null;
3344
+ derivedData?: {
3345
+ blocker: string;
3346
+ progress: string;
3347
+ status: string;
3348
+ viewCount: number;
3349
+ hasOpenFixPr: boolean;
3350
+ isAssigned: boolean;
3351
+ hasRootCause: boolean;
3352
+ lastCompletedAutofixStep: string;
3353
+ lastProgressedAt: string | null;
3354
+ };
3213
3355
  id: string;
3214
3356
  shareId: string | null;
3215
3357
  shortId: string;
@@ -3217,10 +3359,9 @@ export type GroupUpdateResponse = {
3217
3359
  culprit: string | null;
3218
3360
  permalink: string;
3219
3361
  logger: string | null;
3220
- level: string;
3221
- status: string;
3362
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
3363
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
3222
3364
  statusDetails: {
3223
- autoResolved?: boolean;
3224
3365
  ignoreCount?: number;
3225
3366
  ignoreUntil?: string;
3226
3367
  ignoreUserCount?: number;
@@ -3276,12 +3417,16 @@ export type GroupUpdateResponse = {
3276
3417
  inRelease?: string;
3277
3418
  inCommit?: string;
3278
3419
  pendingEvents?: number;
3279
- info?: unknown;
3420
+ info?: {
3421
+ dateCreated: string;
3422
+ syncCount: number;
3423
+ totalEvents: number;
3424
+ } | null;
3280
3425
  };
3281
- substatus: string | null;
3426
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
3282
3427
  isPublic: boolean;
3283
3428
  platform: string | null;
3284
- priority: string | null;
3429
+ priority: 'low' | 'medium' | 'high' | null;
3285
3430
  priorityLockedAt: string | null;
3286
3431
  seerFixabilityScore: number | null;
3287
3432
  seerAutofixLastTriggered: string | null;
@@ -3292,7 +3437,7 @@ export type GroupUpdateResponse = {
3292
3437
  slug: string;
3293
3438
  platform: string | null;
3294
3439
  };
3295
- type: string;
3440
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
3296
3441
  issueType: string;
3297
3442
  issueCategory: string;
3298
3443
  metadata: {
@@ -3473,6 +3618,33 @@ export type InstallInfoResponse = {
3473
3618
  profileName: string | null;
3474
3619
  codesigningType: string | null;
3475
3620
  };
3621
+ export type IntegrationIssueConfigResponse = {
3622
+ id: string;
3623
+ name: string;
3624
+ icon: string | null;
3625
+ domainName: string | null;
3626
+ accountType: string | null;
3627
+ scopes: Array<string> | null;
3628
+ outOfDate: boolean | null;
3629
+ status: string;
3630
+ provider: {
3631
+ key: string;
3632
+ slug: string;
3633
+ name: string;
3634
+ canAdd: boolean;
3635
+ canDisable: boolean;
3636
+ features: Array<string>;
3637
+ aspects: {
3638
+ [key: string]: unknown;
3639
+ };
3640
+ };
3641
+ linkIssueConfig?: Array<{
3642
+ [key: string]: unknown;
3643
+ }>;
3644
+ createIssueConfig?: Array<{
3645
+ [key: string]: unknown;
3646
+ }>;
3647
+ };
3476
3648
  export type IssueEventDetailsResponse = {
3477
3649
  id: string;
3478
3650
  groupID: string | null;
@@ -3508,18 +3680,49 @@ export type IssueEventDetailsResponse = {
3508
3680
  entries: Array<unknown>;
3509
3681
  dist: string | null;
3510
3682
  sdk: {
3511
- [key: string]: string;
3512
- };
3683
+ name: string | null;
3684
+ version: string | null;
3685
+ } | null;
3513
3686
  context: {
3514
3687
  [key: string]: unknown;
3515
3688
  } | null;
3516
3689
  packages: {
3517
3690
  [key: string]: unknown;
3518
3691
  };
3519
- type: string;
3520
- metadata: unknown;
3521
- errors: Array<unknown>;
3522
- occurrence: unknown;
3692
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
3693
+ metadata: {
3694
+ [key: string]: unknown;
3695
+ };
3696
+ errors: Array<{
3697
+ type: string;
3698
+ message: string;
3699
+ data: {
3700
+ [key: string]: unknown;
3701
+ };
3702
+ }>;
3703
+ occurrence: {
3704
+ id: string;
3705
+ projectId: number;
3706
+ eventId: string;
3707
+ fingerprint: Array<string>;
3708
+ issueTitle: string;
3709
+ subtitle: string;
3710
+ resourceId: string | null;
3711
+ evidenceData: {
3712
+ [key: string]: unknown;
3713
+ };
3714
+ evidenceDisplay: Array<{
3715
+ name: string;
3716
+ value: string;
3717
+ important: boolean;
3718
+ }>;
3719
+ type: number;
3720
+ detectionTime: number;
3721
+ level: string | null;
3722
+ culprit: string | null;
3723
+ assignee: string | null;
3724
+ priority: number | null;
3725
+ } | null;
3523
3726
  _meta: {
3524
3727
  [key: string]: unknown;
3525
3728
  };
@@ -3527,11 +3730,26 @@ export type IssueEventDetailsResponse = {
3527
3730
  culprit?: string | null;
3528
3731
  dateCreated?: string;
3529
3732
  fingerprints?: Array<string>;
3530
- groupingConfig?: unknown;
3531
- startTimestamp?: string;
3532
- endTimestamp?: string;
3533
- measurements?: unknown;
3534
- breakdowns?: unknown;
3733
+ groupingConfig?: {
3734
+ id: string;
3735
+ enhancements: string;
3736
+ };
3737
+ startTimestamp?: number;
3738
+ endTimestamp?: number;
3739
+ measurements?: {
3740
+ [key: string]: {
3741
+ value: number;
3742
+ unit: string | null;
3743
+ };
3744
+ } | null;
3745
+ breakdowns?: {
3746
+ [key: string]: {
3747
+ [key: string]: {
3748
+ value: number;
3749
+ unit: string | null;
3750
+ };
3751
+ };
3752
+ } | null;
3535
3753
  release: {
3536
3754
  id?: number;
3537
3755
  commitCount?: number;
@@ -3606,6 +3824,7 @@ export type LatestBaseSnapshotResponse = {
3606
3824
  image_file_name?: string;
3607
3825
  width?: number;
3608
3826
  height?: number;
3827
+ canvas_theme?: 'light' | 'dark' | null;
3609
3828
  image_url?: string;
3610
3829
  }>;
3611
3830
  diff_threshold?: number | null;
@@ -3740,6 +3959,12 @@ export type Layout = {
3740
3959
  */
3741
3960
  casing: 'lowercase' | 'uppercase' | 'default';
3742
3961
  };
3962
+ export type LinkExternalIssueRequest = {
3963
+ /**
3964
+ * The identifier of the existing external issue to link, as understood by the provider (such as a Jira issue key).
3965
+ */
3966
+ externalIssue: string;
3967
+ };
3743
3968
  /**
3744
3969
  * Allows parameters to be defined in snake case, but passed as camel case.
3745
3970
  *
@@ -3959,7 +4184,7 @@ export type ListOrgMembersResponse = Array<{
3959
4184
  id: string;
3960
4185
  email: string;
3961
4186
  name: string;
3962
- user?: {
4187
+ user: {
3963
4188
  identities?: Array<{
3964
4189
  id: string;
3965
4190
  name: string;
@@ -4004,7 +4229,7 @@ export type ListOrgMembersResponse = Array<{
4004
4229
  email: string;
4005
4230
  is_verified: boolean;
4006
4231
  }>;
4007
- };
4232
+ } | null;
4008
4233
  orgRole: string;
4009
4234
  pending: boolean;
4010
4235
  expired: boolean;
@@ -4182,6 +4407,7 @@ export type ListOrganizationIntegrationResponse = Array<{
4182
4407
  domainName: string | null;
4183
4408
  accountType: string | null;
4184
4409
  scopes: Array<string> | null;
4410
+ outOfDate: boolean | null;
4185
4411
  status: string;
4186
4412
  provider: unknown;
4187
4413
  configOrganization: unknown;
@@ -4204,7 +4430,7 @@ export type ListOrganizationMemberResponse = Array<{
4204
4430
  id: string;
4205
4431
  email: string;
4206
4432
  name: string;
4207
- user?: {
4433
+ user: {
4208
4434
  identities?: Array<{
4209
4435
  id: string;
4210
4436
  name: string;
@@ -4249,7 +4475,7 @@ export type ListOrganizationMemberResponse = Array<{
4249
4475
  email: string;
4250
4476
  is_verified: boolean;
4251
4477
  }>;
4252
- };
4478
+ } | null;
4253
4479
  orgRole: string;
4254
4480
  pending: boolean;
4255
4481
  expired: boolean;
@@ -4274,6 +4500,8 @@ export type ListOrganizationReleaseCommitsResponse = Array<{
4274
4500
  title: string | null;
4275
4501
  message: string | null;
4276
4502
  dateCreated: string;
4503
+ mergedAt: string | null;
4504
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
4277
4505
  repository: {
4278
4506
  url?: string | null;
4279
4507
  provider?: {
@@ -4652,6 +4880,8 @@ export type ListProjectReleaseCommitsResponse = Array<{
4652
4880
  title: string | null;
4653
4881
  message: string | null;
4654
4882
  dateCreated: string;
4883
+ mergedAt: string | null;
4884
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
4655
4885
  repository: {
4656
4886
  url?: string | null;
4657
4887
  provider?: {
@@ -5020,6 +5250,7 @@ export type ListReplays = {
5020
5250
  };
5021
5251
  is_archived?: boolean | null;
5022
5252
  urls?: Array<string> | null;
5253
+ segment_names?: Array<string> | null;
5023
5254
  clicks?: Array<{
5024
5255
  [key: string]: unknown;
5025
5256
  }>;
@@ -5129,22 +5360,19 @@ export type ListTraceItemAttributesResponse = Array<{
5129
5360
  source_type: 'sentry' | 'user';
5130
5361
  is_transformed_alias?: boolean;
5131
5362
  };
5132
- attributeType: 'string' | 'number' | 'boolean';
5363
+ attributeType: 'string' | 'number' | 'boolean' | 'array';
5133
5364
  /**
5134
5365
  * Additional, mostly-static metadata about an attribute.
5135
5366
  *
5136
- * When ``expand=context`` is requested, context is attached to every
5137
- * attribute. Today the metadata is sourced from the sentry conventions
5138
- * (``sentry_conventions.attributes.ATTRIBUTE_METADATA``), matched by attribute
5139
- * name (and type when known) regardless of the attribute's source, so any
5140
- * attribute that maps to a known convention carries that metadata (only the
5141
- * fields actually present are included) while the rest get an empty context.
5142
- * Serving context for custom attributes is planned (gated behind the
5143
- * ``data-browsing-attribute-context`` feature), at which point the empty
5144
- * contexts will start to be populated.
5367
+ * When ``expand=context`` is requested, context is attached to every attribute.
5368
+ * Metadata comes from the sentry conventions, Sentry's own column definitions,
5369
+ * or user-authored context (gated behind ``data-browsing-attribute-context``),
5370
+ * in that precedence order. Only the fields available are included, so an
5371
+ * attribute with no metadata gets an empty context.
5145
5372
  */
5146
5373
  context?: {
5147
5374
  isConvention?: boolean;
5375
+ isCustom?: boolean;
5148
5376
  brief?: string;
5149
5377
  isDeprecated?: boolean;
5150
5378
  details?: Array<string>;
@@ -6487,7 +6715,7 @@ export type OrganizationEventsTimeseriesResponse = {
6487
6715
  comparisonValue?: number;
6488
6716
  sampleCount?: number;
6489
6717
  sampleRate?: number | null;
6490
- confidence?: 'low' | 'high';
6718
+ confidence?: 'low' | 'high' | null;
6491
6719
  incompleteReason?: string;
6492
6720
  }>;
6493
6721
  yAxis: string;
@@ -6515,10 +6743,9 @@ export type OrganizationGroupIndexGetResponse = Array<{
6515
6743
  culprit: string | null;
6516
6744
  permalink: string;
6517
6745
  logger: string | null;
6518
- level: string;
6519
- status: string;
6746
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
6747
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
6520
6748
  statusDetails: {
6521
- autoResolved?: boolean;
6522
6749
  ignoreCount?: number;
6523
6750
  ignoreUntil?: string;
6524
6751
  ignoreUserCount?: number;
@@ -6574,12 +6801,16 @@ export type OrganizationGroupIndexGetResponse = Array<{
6574
6801
  inRelease?: string;
6575
6802
  inCommit?: string;
6576
6803
  pendingEvents?: number;
6577
- info?: unknown;
6804
+ info?: {
6805
+ dateCreated: string;
6806
+ syncCount: number;
6807
+ totalEvents: number;
6808
+ } | null;
6578
6809
  };
6579
- substatus: string | null;
6810
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
6580
6811
  isPublic: boolean;
6581
6812
  platform: string | null;
6582
- priority: string | null;
6813
+ priority: 'low' | 'medium' | 'high' | null;
6583
6814
  priorityLockedAt: string | null;
6584
6815
  seerFixabilityScore: number | null;
6585
6816
  seerAutofixLastTriggered: string | null;
@@ -6590,7 +6821,7 @@ export type OrganizationGroupIndexGetResponse = Array<{
6590
6821
  slug: string;
6591
6822
  platform: string | null;
6592
6823
  };
6593
- type: string;
6824
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
6594
6825
  issueType: string;
6595
6826
  issueCategory: string;
6596
6827
  metadata: {
@@ -6619,6 +6850,17 @@ export type OrganizationGroupIndexGetResponse = Array<{
6619
6850
  userCount: number;
6620
6851
  firstSeen: string | null;
6621
6852
  lastSeen: string | null;
6853
+ derivedData: {
6854
+ blocker: string;
6855
+ progress: string;
6856
+ status: string;
6857
+ viewCount: number;
6858
+ hasOpenFixPr: boolean;
6859
+ isAssigned: boolean;
6860
+ hasRootCause: boolean;
6861
+ lastCompletedAutofixStep: string;
6862
+ lastProgressedAt: string | null;
6863
+ };
6622
6864
  stats: {
6623
6865
  [key: string]: unknown;
6624
6866
  };
@@ -6707,6 +6949,7 @@ export type OrganizationIntegrationResponse = {
6707
6949
  domainName: string | null;
6708
6950
  accountType: string | null;
6709
6951
  scopes: Array<string> | null;
6952
+ outOfDate: boolean | null;
6710
6953
  status: string;
6711
6954
  provider: unknown;
6712
6955
  configOrganization: unknown;
@@ -6729,7 +6972,7 @@ export type OrganizationMember = {
6729
6972
  id: string;
6730
6973
  email: string;
6731
6974
  name: string;
6732
- user?: {
6975
+ user: {
6733
6976
  identities?: Array<{
6734
6977
  id: string;
6735
6978
  name: string;
@@ -6774,7 +7017,7 @@ export type OrganizationMember = {
6774
7017
  email: string;
6775
7018
  is_verified: boolean;
6776
7019
  }>;
6777
- };
7020
+ } | null;
6778
7021
  orgRole: string;
6779
7022
  pending: boolean;
6780
7023
  expired: boolean;
@@ -6875,7 +7118,7 @@ export type OrganizationMemberWithRoles = {
6875
7118
  id: string;
6876
7119
  email: string;
6877
7120
  name: string;
6878
- user?: {
7121
+ user: {
6879
7122
  identities?: Array<{
6880
7123
  id: string;
6881
7124
  name: string;
@@ -6920,7 +7163,7 @@ export type OrganizationMemberWithRoles = {
6920
7163
  email: string;
6921
7164
  is_verified: boolean;
6922
7165
  }>;
6923
- };
7166
+ } | null;
6924
7167
  orgRole: string;
6925
7168
  pending: boolean;
6926
7169
  expired: boolean;
@@ -7088,6 +7331,7 @@ export type OrganizationSentryAppDetailsResponse = Array<{
7088
7331
  photoType: string;
7089
7332
  }>;
7090
7333
  events: Array<string>;
7334
+ webhookEvents: Array<string>;
7091
7335
  featureData: Array<string>;
7092
7336
  isAlertable: boolean;
7093
7337
  metadata: string;
@@ -7180,14 +7424,13 @@ export type OrganizationTraceMetaResponse = {
7180
7424
  export type OrganizationTraceResponse = Array<{
7181
7425
  description: string;
7182
7426
  event_id: string;
7183
- event_type: string;
7184
7427
  project_id: number;
7185
7428
  project_slug: string;
7186
7429
  transaction: string;
7430
+ event_type: 'span';
7187
7431
  children: Array<{
7188
7432
  description: string;
7189
7433
  event_id: string;
7190
- event_type: string;
7191
7434
  project_id: number;
7192
7435
  project_slug: string;
7193
7436
  transaction: string;
@@ -7195,10 +7438,10 @@ export type OrganizationTraceResponse = Array<{
7195
7438
  errors: Array<{
7196
7439
  description: string;
7197
7440
  event_id: string;
7198
- event_type: string;
7199
7441
  project_id: number;
7200
7442
  project_slug: string;
7201
7443
  transaction: string;
7444
+ event_type: 'error' | 'occurrence';
7202
7445
  issue_id: number;
7203
7446
  level: string;
7204
7447
  start_timestamp: number;
@@ -7210,10 +7453,10 @@ export type OrganizationTraceResponse = Array<{
7210
7453
  occurrences: Array<{
7211
7454
  description: string;
7212
7455
  event_id: string;
7213
- event_type: string;
7214
7456
  project_id: number;
7215
7457
  project_slug: string;
7216
7458
  transaction: string;
7459
+ event_type: 'error' | 'occurrence';
7217
7460
  issue_id: number;
7218
7461
  level: string;
7219
7462
  start_timestamp: number;
@@ -7223,15 +7466,15 @@ export type OrganizationTraceResponse = Array<{
7223
7466
  issue_type: number;
7224
7467
  }>;
7225
7468
  duration: number;
7226
- end_timestamp: string;
7469
+ end_timestamp: number;
7227
7470
  measurements: {
7228
- [key: string]: unknown;
7471
+ [key: string]: number;
7229
7472
  };
7230
7473
  browser_web_vital: {
7231
- [key: string]: unknown;
7474
+ [key: string]: number;
7232
7475
  };
7233
7476
  mobile_app_vital: {
7234
- [key: string]: unknown;
7477
+ [key: string]: number;
7235
7478
  };
7236
7479
  op: string;
7237
7480
  name: string;
@@ -7239,7 +7482,7 @@ export type OrganizationTraceResponse = Array<{
7239
7482
  profile_id: string;
7240
7483
  profiler_id: string;
7241
7484
  sdk_name: string;
7242
- start_timestamp: string;
7485
+ start_timestamp: number;
7243
7486
  is_transaction: boolean;
7244
7487
  transaction_id: string;
7245
7488
  additional_attributes?: {
@@ -7248,10 +7491,10 @@ export type OrganizationTraceResponse = Array<{
7248
7491
  } | {
7249
7492
  description: string;
7250
7493
  event_id: string;
7251
- event_type: string;
7252
7494
  project_id: number;
7253
7495
  project_slug: string;
7254
7496
  transaction: string;
7497
+ event_type: 'error' | 'occurrence';
7255
7498
  issue_id: number;
7256
7499
  level: string;
7257
7500
  start_timestamp: number;
@@ -7262,14 +7505,13 @@ export type OrganizationTraceResponse = Array<{
7262
7505
  } | {
7263
7506
  description: string;
7264
7507
  event_id: string;
7265
- event_type: string;
7266
7508
  project_id: number;
7267
7509
  project_slug: string;
7268
7510
  transaction: string;
7511
+ event_type: 'uptime_check';
7269
7512
  children: Array<{
7270
7513
  description: string;
7271
7514
  event_id: string;
7272
- event_type: string;
7273
7515
  project_id: number;
7274
7516
  project_slug: string;
7275
7517
  transaction: string;
@@ -7277,10 +7519,10 @@ export type OrganizationTraceResponse = Array<{
7277
7519
  errors: Array<{
7278
7520
  description: string;
7279
7521
  event_id: string;
7280
- event_type: string;
7281
7522
  project_id: number;
7282
7523
  project_slug: string;
7283
7524
  transaction: string;
7525
+ event_type: 'error' | 'occurrence';
7284
7526
  issue_id: number;
7285
7527
  level: string;
7286
7528
  start_timestamp: number;
@@ -7292,10 +7534,10 @@ export type OrganizationTraceResponse = Array<{
7292
7534
  occurrences: Array<{
7293
7535
  description: string;
7294
7536
  event_id: string;
7295
- event_type: string;
7296
7537
  project_id: number;
7297
7538
  project_slug: string;
7298
7539
  transaction: string;
7540
+ event_type: 'error' | 'occurrence';
7299
7541
  issue_id: number;
7300
7542
  level: string;
7301
7543
  start_timestamp: number;
@@ -7678,6 +7920,10 @@ export type ProjectAdmin = {
7678
7920
  * E.g. `['release', 'environment']`
7679
7921
  */
7680
7922
  highlightTags?: Array<string>;
7923
+ /**
7924
+ * Automatically create releases from ingested events. When disabled, releases must be created manually (e.g. via the Sentry CLI).
7925
+ */
7926
+ enableAutoReleaseCreation?: boolean;
7681
7927
  /**
7682
7928
  * Enable on-demand source context fetching from SCM integrations for stack traces.
7683
7929
  */
@@ -7718,18 +7964,49 @@ export type ProjectEventDetailsResponse = {
7718
7964
  entries: Array<unknown>;
7719
7965
  dist: string | null;
7720
7966
  sdk: {
7721
- [key: string]: string;
7722
- };
7967
+ name: string | null;
7968
+ version: string | null;
7969
+ } | null;
7723
7970
  context: {
7724
7971
  [key: string]: unknown;
7725
7972
  } | null;
7726
7973
  packages: {
7727
7974
  [key: string]: unknown;
7728
7975
  };
7729
- type: string;
7730
- metadata: unknown;
7731
- errors: Array<unknown>;
7732
- occurrence: unknown;
7976
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
7977
+ metadata: {
7978
+ [key: string]: unknown;
7979
+ };
7980
+ errors: Array<{
7981
+ type: string;
7982
+ message: string;
7983
+ data: {
7984
+ [key: string]: unknown;
7985
+ };
7986
+ }>;
7987
+ occurrence: {
7988
+ id: string;
7989
+ projectId: number;
7990
+ eventId: string;
7991
+ fingerprint: Array<string>;
7992
+ issueTitle: string;
7993
+ subtitle: string;
7994
+ resourceId: string | null;
7995
+ evidenceData: {
7996
+ [key: string]: unknown;
7997
+ };
7998
+ evidenceDisplay: Array<{
7999
+ name: string;
8000
+ value: string;
8001
+ important: boolean;
8002
+ }>;
8003
+ type: number;
8004
+ detectionTime: number;
8005
+ level: string | null;
8006
+ culprit: string | null;
8007
+ assignee: string | null;
8008
+ priority: number | null;
8009
+ } | null;
7733
8010
  _meta: {
7734
8011
  [key: string]: unknown;
7735
8012
  };
@@ -7737,11 +8014,26 @@ export type ProjectEventDetailsResponse = {
7737
8014
  culprit?: string | null;
7738
8015
  dateCreated?: string;
7739
8016
  fingerprints?: Array<string>;
7740
- groupingConfig?: unknown;
7741
- startTimestamp?: string;
7742
- endTimestamp?: string;
7743
- measurements?: unknown;
7744
- breakdowns?: unknown;
8017
+ groupingConfig?: {
8018
+ id: string;
8019
+ enhancements: string;
8020
+ };
8021
+ startTimestamp?: number;
8022
+ endTimestamp?: number;
8023
+ measurements?: {
8024
+ [key: string]: {
8025
+ value: number;
8026
+ unit: string | null;
8027
+ };
8028
+ } | null;
8029
+ breakdowns?: {
8030
+ [key: string]: {
8031
+ [key: string]: {
8032
+ value: number;
8033
+ unit: string | null;
8034
+ };
8035
+ };
8036
+ } | null;
7745
8037
  release: {
7746
8038
  id?: number;
7747
8039
  commitCount?: number;
@@ -7836,7 +8128,7 @@ export type ProjectEventsResponseDict = Array<{
7836
8128
  crashFile: string | null;
7837
8129
  metadata: {
7838
8130
  [key: string]: unknown;
7839
- } | null;
8131
+ };
7840
8132
  }>;
7841
8133
  export type ProjectFilterResponse = Array<{
7842
8134
  id: string;
@@ -8294,7 +8586,7 @@ export type ReleaseSerializerWithProjects = {
8294
8586
  export type ReleaseThresholdStatusResponse = {
8295
8587
  [key: string]: Array<{
8296
8588
  id?: string;
8297
- date?: string;
8589
+ date_added?: string;
8298
8590
  environment?: {
8299
8591
  [key: string]: unknown;
8300
8592
  } | null;
@@ -8302,8 +8594,8 @@ export type ReleaseThresholdStatusResponse = {
8302
8594
  [key: string]: unknown;
8303
8595
  };
8304
8596
  release?: string;
8305
- threshold_type?: number;
8306
- trigger_type?: string;
8597
+ threshold_type?: 'total_error_count' | 'new_issue_count' | 'unhandled_issue_count' | 'regressed_issue_count' | 'failure_rate' | 'crash_free_session_rate' | 'crash_free_user_rate';
8598
+ trigger_type?: 'over' | 'under';
8307
8599
  value?: number;
8308
8600
  window_in_seconds?: number;
8309
8601
  end: string;
@@ -8520,6 +8812,7 @@ export type SentryAppDetailsResponse = {
8520
8812
  photoType: string;
8521
8813
  }>;
8522
8814
  events: Array<string>;
8815
+ webhookEvents: Array<string>;
8523
8816
  featureData: Array<string>;
8524
8817
  isAlertable: boolean;
8525
8818
  metadata: string;
@@ -8631,6 +8924,17 @@ export type ShortIdLookupResponse = {
8631
8924
  userCount?: number;
8632
8925
  firstSeen?: string | null;
8633
8926
  lastSeen?: string | null;
8927
+ derivedData?: {
8928
+ blocker: string;
8929
+ progress: string;
8930
+ status: string;
8931
+ viewCount: number;
8932
+ hasOpenFixPr: boolean;
8933
+ isAssigned: boolean;
8934
+ hasRootCause: boolean;
8935
+ lastCompletedAutofixStep: string;
8936
+ lastProgressedAt: string | null;
8937
+ };
8634
8938
  id: string;
8635
8939
  shareId: string | null;
8636
8940
  shortId: string;
@@ -8638,10 +8942,9 @@ export type ShortIdLookupResponse = {
8638
8942
  culprit: string | null;
8639
8943
  permalink: string;
8640
8944
  logger: string | null;
8641
- level: string;
8642
- status: string;
8945
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
8946
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
8643
8947
  statusDetails: {
8644
- autoResolved?: boolean;
8645
8948
  ignoreCount?: number;
8646
8949
  ignoreUntil?: string;
8647
8950
  ignoreUserCount?: number;
@@ -8697,12 +9000,16 @@ export type ShortIdLookupResponse = {
8697
9000
  inRelease?: string;
8698
9001
  inCommit?: string;
8699
9002
  pendingEvents?: number;
8700
- info?: unknown;
9003
+ info?: {
9004
+ dateCreated: string;
9005
+ syncCount: number;
9006
+ totalEvents: number;
9007
+ } | null;
8701
9008
  };
8702
- substatus: string | null;
9009
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
8703
9010
  isPublic: boolean;
8704
9011
  platform: string | null;
8705
- priority: string | null;
9012
+ priority: 'low' | 'medium' | 'high' | null;
8706
9013
  priorityLockedAt: string | null;
8707
9014
  seerFixabilityScore: number | null;
8708
9015
  seerAutofixLastTriggered: string | null;
@@ -8713,7 +9020,7 @@ export type ShortIdLookupResponse = {
8713
9020
  slug: string;
8714
9021
  platform: string | null;
8715
9022
  };
8716
- type: string;
9023
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
8717
9024
  issueType: string;
8718
9025
  issueCategory: string;
8719
9026
  metadata: {
@@ -8837,6 +9144,23 @@ export type SizeAnalysisResponse = {
8837
9144
  }> | null;
8838
9145
  }> | null;
8839
9146
  };
9147
+ export type SkipStatusCheck = {
9148
+ /**
9149
+ * The full 40-character lowercase commit SHA.
9150
+ */
9151
+ sha: string;
9152
+ /**
9153
+ * The repository name in `owner/name` format.
9154
+ */
9155
+ repository: string;
9156
+ /**
9157
+ * The repository integration provider.
9158
+ *
9159
+ * * `github`
9160
+ * * `github_enterprise`
9161
+ */
9162
+ provider: 'github' | 'github_enterprise';
9163
+ };
8840
9164
  export type SnapshotCreateResponse = {
8841
9165
  artifactId: string;
8842
9166
  snapshotMetricsId: string;
@@ -8868,6 +9192,7 @@ export type SnapshotDetailsResponse = {
8868
9192
  image_file_name?: string;
8869
9193
  width?: number;
8870
9194
  height?: number;
9195
+ canvas_theme?: 'light' | 'dark' | null;
8871
9196
  }>;
8872
9197
  image_count?: number;
8873
9198
  added?: Array<{
@@ -8877,6 +9202,7 @@ export type SnapshotDetailsResponse = {
8877
9202
  image_file_name?: string;
8878
9203
  width?: number;
8879
9204
  height?: number;
9205
+ canvas_theme?: 'light' | 'dark' | null;
8880
9206
  }>;
8881
9207
  added_count?: number;
8882
9208
  removed?: Array<{
@@ -8886,6 +9212,7 @@ export type SnapshotDetailsResponse = {
8886
9212
  image_file_name?: string;
8887
9213
  width?: number;
8888
9214
  height?: number;
9215
+ canvas_theme?: 'light' | 'dark' | null;
8889
9216
  }>;
8890
9217
  removed_count?: number;
8891
9218
  renamed?: Array<{
@@ -8896,6 +9223,7 @@ export type SnapshotDetailsResponse = {
8896
9223
  image_file_name?: string;
8897
9224
  width?: number;
8898
9225
  height?: number;
9226
+ canvas_theme?: 'light' | 'dark' | null;
8899
9227
  };
8900
9228
  head_image?: {
8901
9229
  key?: string;
@@ -8904,6 +9232,7 @@ export type SnapshotDetailsResponse = {
8904
9232
  image_file_name?: string;
8905
9233
  width?: number;
8906
9234
  height?: number;
9235
+ canvas_theme?: 'light' | 'dark' | null;
8907
9236
  };
8908
9237
  diff_image_key?: string | null;
8909
9238
  diff?: number | null;
@@ -8917,6 +9246,7 @@ export type SnapshotDetailsResponse = {
8917
9246
  image_file_name?: string;
8918
9247
  width?: number;
8919
9248
  height?: number;
9249
+ canvas_theme?: 'light' | 'dark' | null;
8920
9250
  };
8921
9251
  head_image?: {
8922
9252
  key?: string;
@@ -8925,6 +9255,7 @@ export type SnapshotDetailsResponse = {
8925
9255
  image_file_name?: string;
8926
9256
  width?: number;
8927
9257
  height?: number;
9258
+ canvas_theme?: 'light' | 'dark' | null;
8928
9259
  };
8929
9260
  diff_image_key?: string | null;
8930
9261
  diff?: number | null;
@@ -8937,6 +9268,7 @@ export type SnapshotDetailsResponse = {
8937
9268
  image_file_name?: string;
8938
9269
  width?: number;
8939
9270
  height?: number;
9271
+ canvas_theme?: 'light' | 'dark' | null;
8940
9272
  }>;
8941
9273
  unchanged_count?: number;
8942
9274
  errored?: Array<{
@@ -8947,6 +9279,7 @@ export type SnapshotDetailsResponse = {
8947
9279
  image_file_name?: string;
8948
9280
  width?: number;
8949
9281
  height?: number;
9282
+ canvas_theme?: 'light' | 'dark' | null;
8950
9283
  };
8951
9284
  head_image?: {
8952
9285
  key?: string;
@@ -8955,6 +9288,7 @@ export type SnapshotDetailsResponse = {
8955
9288
  image_file_name?: string;
8956
9289
  width?: number;
8957
9290
  height?: number;
9291
+ canvas_theme?: 'light' | 'dark' | null;
8958
9292
  };
8959
9293
  diff_image_key?: string | null;
8960
9294
  diff?: number | null;
@@ -8967,6 +9301,7 @@ export type SnapshotDetailsResponse = {
8967
9301
  image_file_name?: string;
8968
9302
  width?: number;
8969
9303
  height?: number;
9304
+ canvas_theme?: 'light' | 'dark' | null;
8970
9305
  }>;
8971
9306
  skipped_count?: number;
8972
9307
  diff_threshold?: number | null;
@@ -8987,12 +9322,13 @@ export type SnapshotImageDetailResponse = {
8987
9322
  image_file_name?: string;
8988
9323
  comparison_status?: string | null;
8989
9324
  head_image?: {
8990
- content_hash?: string;
9325
+ key?: string;
8991
9326
  display_name?: string | null;
8992
9327
  group?: string | null;
8993
9328
  image_file_name?: string;
8994
9329
  width?: number;
8995
9330
  height?: number;
9331
+ canvas_theme?: 'light' | 'dark' | null;
8996
9332
  diff_threshold?: number | null;
8997
9333
  description?: string | null;
8998
9334
  tags?: {
@@ -9001,12 +9337,13 @@ export type SnapshotImageDetailResponse = {
9001
9337
  image_url?: string;
9002
9338
  } | null;
9003
9339
  base_image?: {
9004
- content_hash?: string;
9340
+ key?: string;
9005
9341
  display_name?: string | null;
9006
9342
  group?: string | null;
9007
9343
  image_file_name?: string;
9008
9344
  width?: number;
9009
9345
  height?: number;
9346
+ canvas_theme?: 'light' | 'dark' | null;
9010
9347
  diff_threshold?: number | null;
9011
9348
  description?: string | null;
9012
9349
  tags?: {
@@ -9473,6 +9810,18 @@ export type TeamScim = {
9473
9810
  display: string;
9474
9811
  }>;
9475
9812
  };
9813
+ export type TraceItemStatsResponse = {
9814
+ data: Array<{
9815
+ attributeDistributions: {
9816
+ data: {
9817
+ [key: string]: Array<{
9818
+ label: string;
9819
+ value: number;
9820
+ }>;
9821
+ };
9822
+ };
9823
+ }>;
9824
+ };
9476
9825
  export type UpdateClientKey = {
9477
9826
  /**
9478
9827
  * The name for the client key
@@ -11554,7 +11903,7 @@ export type CreateOrganizationDashboardResponses = {
11554
11903
  [key: string]: number;
11555
11904
  } | null;
11556
11905
  axisRange: string | null;
11557
- legendType: 'default' | 'breakdown';
11906
+ legendType: 'default' | 'breakdown' | null;
11558
11907
  datasetSource: string | null;
11559
11908
  exploreUrls: Array<string> | null;
11560
11909
  changedReason: Array<{
@@ -11741,7 +12090,7 @@ export type GetOrganizationDashboardResponses = {
11741
12090
  [key: string]: number;
11742
12091
  } | null;
11743
12092
  axisRange: string | null;
11744
- legendType: 'default' | 'breakdown';
12093
+ legendType: 'default' | 'breakdown' | null;
11745
12094
  datasetSource: string | null;
11746
12095
  exploreUrls: Array<string> | null;
11747
12096
  changedReason: Array<{
@@ -12064,7 +12413,7 @@ export type UpdateOrganizationDashboardResponses = {
12064
12413
  [key: string]: number;
12065
12414
  } | null;
12066
12415
  axisRange: string | null;
12067
- legendType: 'default' | 'breakdown';
12416
+ legendType: 'default' | 'breakdown' | null;
12068
12417
  datasetSource: string | null;
12069
12418
  exploreUrls: Array<string> | null;
12070
12419
  changedReason: Array<{
@@ -13483,18 +13832,49 @@ export type ResolveOrganizationEventIdResponses = {
13483
13832
  entries: Array<unknown>;
13484
13833
  dist: string | null;
13485
13834
  sdk: {
13486
- [key: string]: string;
13487
- };
13835
+ name: string | null;
13836
+ version: string | null;
13837
+ } | null;
13488
13838
  context: {
13489
13839
  [key: string]: unknown;
13490
13840
  } | null;
13491
13841
  packages: {
13492
13842
  [key: string]: unknown;
13493
13843
  };
13494
- type: string;
13495
- metadata: unknown;
13496
- errors: Array<unknown>;
13497
- occurrence: unknown;
13844
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
13845
+ metadata: {
13846
+ [key: string]: unknown;
13847
+ };
13848
+ errors: Array<{
13849
+ type: string;
13850
+ message: string;
13851
+ data: {
13852
+ [key: string]: unknown;
13853
+ };
13854
+ }>;
13855
+ occurrence: {
13856
+ id: string;
13857
+ projectId: number;
13858
+ eventId: string;
13859
+ fingerprint: Array<string>;
13860
+ issueTitle: string;
13861
+ subtitle: string;
13862
+ resourceId: string | null;
13863
+ evidenceData: {
13864
+ [key: string]: unknown;
13865
+ };
13866
+ evidenceDisplay: Array<{
13867
+ name: string;
13868
+ value: string;
13869
+ important: boolean;
13870
+ }>;
13871
+ type: number;
13872
+ detectionTime: number;
13873
+ level: string | null;
13874
+ culprit: string | null;
13875
+ assignee: string | null;
13876
+ priority: number | null;
13877
+ } | null;
13498
13878
  _meta: {
13499
13879
  [key: string]: unknown;
13500
13880
  };
@@ -13502,11 +13882,26 @@ export type ResolveOrganizationEventIdResponses = {
13502
13882
  culprit?: string | null;
13503
13883
  dateCreated?: string;
13504
13884
  fingerprints?: Array<string>;
13505
- groupingConfig?: unknown;
13506
- startTimestamp?: string;
13507
- endTimestamp?: string;
13508
- measurements?: unknown;
13509
- breakdowns?: unknown;
13885
+ groupingConfig?: {
13886
+ id: string;
13887
+ enhancements: string;
13888
+ };
13889
+ startTimestamp?: number;
13890
+ endTimestamp?: number;
13891
+ measurements?: {
13892
+ [key: string]: {
13893
+ value: number;
13894
+ unit: string | null;
13895
+ };
13896
+ } | null;
13897
+ breakdowns?: {
13898
+ [key: string]: {
13899
+ [key: string]: {
13900
+ value: number;
13901
+ unit: string | null;
13902
+ };
13903
+ };
13904
+ } | null;
13510
13905
  };
13511
13906
  };
13512
13907
  };
@@ -13791,7 +14186,7 @@ export type ListOrganizationEventsTimeseriesResponses = {
13791
14186
  comparisonValue?: number;
13792
14187
  sampleCount?: number;
13793
14188
  sampleRate?: number | null;
13794
- confidence?: 'low' | 'high';
14189
+ confidence?: 'low' | 'high' | null;
13795
14190
  incompleteReason?: string;
13796
14191
  }>;
13797
14192
  yAxis: string;
@@ -14324,6 +14719,7 @@ export type ListOrganizationIntegrationsResponses = {
14324
14719
  domainName: string | null;
14325
14720
  accountType: string | null;
14326
14721
  scopes: Array<string> | null;
14722
+ outOfDate: boolean | null;
14327
14723
  status: string;
14328
14724
  provider: unknown;
14329
14725
  configOrganization: unknown;
@@ -14386,6 +14782,7 @@ export type GetOrganizationIntegrationResponses = {
14386
14782
  domainName: string | null;
14387
14783
  accountType: string | null;
14388
14784
  scopes: Array<string> | null;
14785
+ outOfDate: boolean | null;
14389
14786
  status: string;
14390
14787
  provider: unknown;
14391
14788
  configOrganization: unknown;
@@ -14574,10 +14971,9 @@ export type ListOrganizationIssuesResponses = {
14574
14971
  culprit: string | null;
14575
14972
  permalink: string;
14576
14973
  logger: string | null;
14577
- level: string;
14578
- status: string;
14974
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
14975
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
14579
14976
  statusDetails: {
14580
- autoResolved?: boolean;
14581
14977
  ignoreCount?: number;
14582
14978
  ignoreUntil?: string;
14583
14979
  ignoreUserCount?: number;
@@ -14633,12 +15029,16 @@ export type ListOrganizationIssuesResponses = {
14633
15029
  inRelease?: string;
14634
15030
  inCommit?: string;
14635
15031
  pendingEvents?: number;
14636
- info?: unknown;
15032
+ info?: {
15033
+ dateCreated: string;
15034
+ syncCount: number;
15035
+ totalEvents: number;
15036
+ } | null;
14637
15037
  };
14638
- substatus: string | null;
15038
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
14639
15039
  isPublic: boolean;
14640
15040
  platform: string | null;
14641
- priority: string | null;
15041
+ priority: 'low' | 'medium' | 'high' | null;
14642
15042
  priorityLockedAt: string | null;
14643
15043
  seerFixabilityScore: number | null;
14644
15044
  seerAutofixLastTriggered: string | null;
@@ -14649,7 +15049,7 @@ export type ListOrganizationIssuesResponses = {
14649
15049
  slug: string;
14650
15050
  platform: string | null;
14651
15051
  };
14652
- type: string;
15052
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
14653
15053
  issueType: string;
14654
15054
  issueCategory: string;
14655
15055
  metadata: {
@@ -14678,6 +15078,17 @@ export type ListOrganizationIssuesResponses = {
14678
15078
  userCount: number;
14679
15079
  firstSeen: string | null;
14680
15080
  lastSeen: string | null;
15081
+ derivedData: {
15082
+ blocker: string;
15083
+ progress: string;
15084
+ status: string;
15085
+ viewCount: number;
15086
+ hasOpenFixPr: boolean;
15087
+ isAssigned: boolean;
15088
+ hasRootCause: boolean;
15089
+ lastCompletedAutofixStep: string;
15090
+ lastProgressedAt: string | null;
15091
+ };
14681
15092
  stats: {
14682
15093
  [key: string]: unknown;
14683
15094
  };
@@ -14984,7 +15395,7 @@ export type ListOrganizationMembersResponses = {
14984
15395
  id: string;
14985
15396
  email: string;
14986
15397
  name: string;
14987
- user?: {
15398
+ user: {
14988
15399
  identities?: Array<{
14989
15400
  id: string;
14990
15401
  name: string;
@@ -15029,7 +15440,7 @@ export type ListOrganizationMembersResponses = {
15029
15440
  email: string;
15030
15441
  is_verified: boolean;
15031
15442
  }>;
15032
- };
15443
+ } | null;
15033
15444
  orgRole: string;
15034
15445
  pending: boolean;
15035
15446
  expired: boolean;
@@ -15123,7 +15534,7 @@ export type AddOrganizationMemberResponses = {
15123
15534
  id: string;
15124
15535
  email: string;
15125
15536
  name: string;
15126
- user?: {
15537
+ user: {
15127
15538
  identities?: Array<{
15128
15539
  id: string;
15129
15540
  name: string;
@@ -15168,7 +15579,7 @@ export type AddOrganizationMemberResponses = {
15168
15579
  email: string;
15169
15580
  is_verified: boolean;
15170
15581
  }>;
15171
- };
15582
+ } | null;
15172
15583
  orgRole: string;
15173
15584
  pending: boolean;
15174
15585
  expired: boolean;
@@ -15267,7 +15678,7 @@ export type GetOrganizationMemberResponses = {
15267
15678
  id: string;
15268
15679
  email: string;
15269
15680
  name: string;
15270
- user?: {
15681
+ user: {
15271
15682
  identities?: Array<{
15272
15683
  id: string;
15273
15684
  name: string;
@@ -15312,7 +15723,7 @@ export type GetOrganizationMemberResponses = {
15312
15723
  email: string;
15313
15724
  is_verified: boolean;
15314
15725
  }>;
15315
- };
15726
+ } | null;
15316
15727
  orgRole: string;
15317
15728
  pending: boolean;
15318
15729
  expired: boolean;
@@ -15447,7 +15858,7 @@ export type UpdateOrganizationMemberResponses = {
15447
15858
  id: string;
15448
15859
  email: string;
15449
15860
  name: string;
15450
- user?: {
15861
+ user: {
15451
15862
  identities?: Array<{
15452
15863
  id: string;
15453
15864
  name: string;
@@ -15492,7 +15903,7 @@ export type UpdateOrganizationMemberResponses = {
15492
15903
  email: string;
15493
15904
  is_verified: boolean;
15494
15905
  }>;
15495
- };
15906
+ } | null;
15496
15907
  orgRole: string;
15497
15908
  pending: boolean;
15498
15909
  expired: boolean;
@@ -18233,6 +18644,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18233
18644
  image_file_name?: string;
18234
18645
  width?: number;
18235
18646
  height?: number;
18647
+ canvas_theme?: 'light' | 'dark' | null;
18236
18648
  }>;
18237
18649
  image_count?: number;
18238
18650
  added?: Array<{
@@ -18242,6 +18654,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18242
18654
  image_file_name?: string;
18243
18655
  width?: number;
18244
18656
  height?: number;
18657
+ canvas_theme?: 'light' | 'dark' | null;
18245
18658
  }>;
18246
18659
  added_count?: number;
18247
18660
  removed?: Array<{
@@ -18251,6 +18664,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18251
18664
  image_file_name?: string;
18252
18665
  width?: number;
18253
18666
  height?: number;
18667
+ canvas_theme?: 'light' | 'dark' | null;
18254
18668
  }>;
18255
18669
  removed_count?: number;
18256
18670
  renamed?: Array<{
@@ -18261,6 +18675,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18261
18675
  image_file_name?: string;
18262
18676
  width?: number;
18263
18677
  height?: number;
18678
+ canvas_theme?: 'light' | 'dark' | null;
18264
18679
  };
18265
18680
  head_image?: {
18266
18681
  key?: string;
@@ -18269,6 +18684,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18269
18684
  image_file_name?: string;
18270
18685
  width?: number;
18271
18686
  height?: number;
18687
+ canvas_theme?: 'light' | 'dark' | null;
18272
18688
  };
18273
18689
  diff_image_key?: string | null;
18274
18690
  diff?: number | null;
@@ -18282,6 +18698,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18282
18698
  image_file_name?: string;
18283
18699
  width?: number;
18284
18700
  height?: number;
18701
+ canvas_theme?: 'light' | 'dark' | null;
18285
18702
  };
18286
18703
  head_image?: {
18287
18704
  key?: string;
@@ -18290,6 +18707,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18290
18707
  image_file_name?: string;
18291
18708
  width?: number;
18292
18709
  height?: number;
18710
+ canvas_theme?: 'light' | 'dark' | null;
18293
18711
  };
18294
18712
  diff_image_key?: string | null;
18295
18713
  diff?: number | null;
@@ -18302,6 +18720,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18302
18720
  image_file_name?: string;
18303
18721
  width?: number;
18304
18722
  height?: number;
18723
+ canvas_theme?: 'light' | 'dark' | null;
18305
18724
  }>;
18306
18725
  unchanged_count?: number;
18307
18726
  errored?: Array<{
@@ -18312,6 +18731,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18312
18731
  image_file_name?: string;
18313
18732
  width?: number;
18314
18733
  height?: number;
18734
+ canvas_theme?: 'light' | 'dark' | null;
18315
18735
  };
18316
18736
  head_image?: {
18317
18737
  key?: string;
@@ -18320,6 +18740,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18320
18740
  image_file_name?: string;
18321
18741
  width?: number;
18322
18742
  height?: number;
18743
+ canvas_theme?: 'light' | 'dark' | null;
18323
18744
  };
18324
18745
  diff_image_key?: string | null;
18325
18746
  diff?: number | null;
@@ -18332,6 +18753,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18332
18753
  image_file_name?: string;
18333
18754
  width?: number;
18334
18755
  height?: number;
18756
+ canvas_theme?: 'light' | 'dark' | null;
18335
18757
  }>;
18336
18758
  skipped_count?: number;
18337
18759
  diff_threshold?: number | null;
@@ -18384,12 +18806,13 @@ export type GetOrganizationPreprodArtifactSnapshotImageResponses = {
18384
18806
  image_file_name?: string;
18385
18807
  comparison_status?: string | null;
18386
18808
  head_image?: {
18387
- content_hash?: string;
18809
+ key?: string;
18388
18810
  display_name?: string | null;
18389
18811
  group?: string | null;
18390
18812
  image_file_name?: string;
18391
18813
  width?: number;
18392
18814
  height?: number;
18815
+ canvas_theme?: 'light' | 'dark' | null;
18393
18816
  diff_threshold?: number | null;
18394
18817
  description?: string | null;
18395
18818
  tags?: {
@@ -18398,12 +18821,13 @@ export type GetOrganizationPreprodArtifactSnapshotImageResponses = {
18398
18821
  image_url?: string;
18399
18822
  } | null;
18400
18823
  base_image?: {
18401
- content_hash?: string;
18824
+ key?: string;
18402
18825
  display_name?: string | null;
18403
18826
  group?: string | null;
18404
18827
  image_file_name?: string;
18405
18828
  width?: number;
18406
18829
  height?: number;
18830
+ canvas_theme?: 'light' | 'dark' | null;
18407
18831
  diff_threshold?: number | null;
18408
18832
  description?: string | null;
18409
18833
  tags?: {
@@ -18473,6 +18897,7 @@ export type GetOrganizationPreprodArtifactSnapshotLatestBaseResponses = {
18473
18897
  image_file_name?: string;
18474
18898
  width?: number;
18475
18899
  height?: number;
18900
+ canvas_theme?: 'light' | 'dark' | null;
18476
18901
  image_url?: string;
18477
18902
  }>;
18478
18903
  diff_threshold?: number | null;
@@ -19301,7 +19726,7 @@ export type ListOrganizationReleaseThresholdStatusesResponses = {
19301
19726
  200: {
19302
19727
  [key: string]: Array<{
19303
19728
  id?: string;
19304
- date?: string;
19729
+ date_added?: string;
19305
19730
  environment?: {
19306
19731
  [key: string]: unknown;
19307
19732
  } | null;
@@ -19309,8 +19734,8 @@ export type ListOrganizationReleaseThresholdStatusesResponses = {
19309
19734
  [key: string]: unknown;
19310
19735
  };
19311
19736
  release?: string;
19312
- threshold_type?: number;
19313
- trigger_type?: string;
19737
+ threshold_type?: 'total_error_count' | 'new_issue_count' | 'unhandled_issue_count' | 'regressed_issue_count' | 'failure_rate' | 'crash_free_session_rate' | 'crash_free_user_rate';
19738
+ trigger_type?: 'over' | 'under';
19314
19739
  value?: number;
19315
19740
  window_in_seconds?: number;
19316
19741
  end: string;
@@ -20210,6 +20635,8 @@ export type ListOrganizationReleaseCommitsResponses = {
20210
20635
  title: string | null;
20211
20636
  message: string | null;
20212
20637
  dateCreated: string;
20638
+ mergedAt: string | null;
20639
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
20213
20640
  repository: {
20214
20641
  url?: string | null;
20215
20642
  provider?: {
@@ -20771,7 +21198,11 @@ export type GetOrganizationReplayCountData = {
20771
21198
  */
20772
21199
  organization_id_or_slug: string;
20773
21200
  };
20774
- query?: {
21201
+ query: {
21202
+ /**
21203
+ * The data source to query replays from.
21204
+ */
21205
+ data_source: 'events' | 'search_issues' | 'spans';
20775
21206
  /**
20776
21207
  * The name of environments to filter by.
20777
21208
  */
@@ -20818,10 +21249,6 @@ export type GetOrganizationReplayCountData = {
20818
21249
  *
20819
21250
  */
20820
21251
  query?: string;
20821
- /**
20822
- * The data source to query replays from. Defaults to 'discover'.
20823
- */
20824
- data_source?: 'discover' | 'events' | 'search_issues' | 'transactions';
20825
21252
  /**
20826
21253
  * If true, return issue IDs rather than counts.
20827
21254
  */
@@ -20975,7 +21402,7 @@ export type ListOrganizationReplaysData = {
20975
21402
  /**
20976
21403
  * Specifies a field that should be marshaled in the output. Invalid fields will be rejected.
20977
21404
  */
20978
- field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
21405
+ field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'segment_names' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
20979
21406
  /**
20980
21407
  * A list of project IDs or slugs to filter by.
20981
21408
  */
@@ -21074,6 +21501,7 @@ export type ListOrganizationReplaysResponses = {
21074
21501
  };
21075
21502
  is_archived?: boolean | null;
21076
21503
  urls?: Array<string> | null;
21504
+ segment_names?: Array<string> | null;
21077
21505
  clicks?: Array<{
21078
21506
  [key: string]: unknown;
21079
21507
  }>;
@@ -21136,7 +21564,7 @@ export type GetOrganizationReplayData = {
21136
21564
  /**
21137
21565
  * Specifies a field that should be marshaled in the output. Invalid fields will be rejected.
21138
21566
  */
21139
- field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
21567
+ field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'segment_names' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
21140
21568
  /**
21141
21569
  * A list of project IDs or slugs to filter by.
21142
21570
  */
@@ -21239,6 +21667,7 @@ export type GetOrganizationReplayResponses = {
21239
21667
  };
21240
21668
  is_archived?: boolean | null;
21241
21669
  urls?: Array<string> | null;
21670
+ segment_names?: Array<string> | null;
21242
21671
  clicks?: Array<{
21243
21672
  [key: string]: unknown;
21244
21673
  }>;
@@ -21376,6 +21805,8 @@ export type ListOrganizationRepoCommitsResponses = {
21376
21805
  title: string | null;
21377
21806
  message: string | null;
21378
21807
  dateCreated: string;
21808
+ mergedAt: string | null;
21809
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
21379
21810
  repository: {
21380
21811
  url?: string | null;
21381
21812
  provider?: {
@@ -22116,6 +22547,7 @@ export type ListOrganizationSentryAppsResponses = {
22116
22547
  photoType: string;
22117
22548
  }>;
22118
22549
  events: Array<string>;
22550
+ webhookEvents: Array<string>;
22119
22551
  featureData: Array<string>;
22120
22552
  isAlertable: boolean;
22121
22553
  metadata: string;
@@ -22318,6 +22750,17 @@ export type ResolveOrganizationShortIdResponses = {
22318
22750
  userCount?: number;
22319
22751
  firstSeen?: string | null;
22320
22752
  lastSeen?: string | null;
22753
+ derivedData?: {
22754
+ blocker: string;
22755
+ progress: string;
22756
+ status: string;
22757
+ viewCount: number;
22758
+ hasOpenFixPr: boolean;
22759
+ isAssigned: boolean;
22760
+ hasRootCause: boolean;
22761
+ lastCompletedAutofixStep: string;
22762
+ lastProgressedAt: string | null;
22763
+ };
22321
22764
  id: string;
22322
22765
  shareId: string | null;
22323
22766
  shortId: string;
@@ -22325,10 +22768,9 @@ export type ResolveOrganizationShortIdResponses = {
22325
22768
  culprit: string | null;
22326
22769
  permalink: string;
22327
22770
  logger: string | null;
22328
- level: string;
22329
- status: string;
22771
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
22772
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
22330
22773
  statusDetails: {
22331
- autoResolved?: boolean;
22332
22774
  ignoreCount?: number;
22333
22775
  ignoreUntil?: string;
22334
22776
  ignoreUserCount?: number;
@@ -22384,12 +22826,16 @@ export type ResolveOrganizationShortIdResponses = {
22384
22826
  inRelease?: string;
22385
22827
  inCommit?: string;
22386
22828
  pendingEvents?: number;
22387
- info?: unknown;
22829
+ info?: {
22830
+ dateCreated: string;
22831
+ syncCount: number;
22832
+ totalEvents: number;
22833
+ } | null;
22388
22834
  };
22389
- substatus: string | null;
22835
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
22390
22836
  isPublic: boolean;
22391
22837
  platform: string | null;
22392
- priority: string | null;
22838
+ priority: 'low' | 'medium' | 'high' | null;
22393
22839
  priorityLockedAt: string | null;
22394
22840
  seerFixabilityScore: number | null;
22395
22841
  seerAutofixLastTriggered: string | null;
@@ -22400,7 +22846,7 @@ export type ResolveOrganizationShortIdResponses = {
22400
22846
  slug: string;
22401
22847
  platform: string | null;
22402
22848
  };
22403
- type: string;
22849
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
22404
22850
  issueType: string;
22405
22851
  issueCategory: string;
22406
22852
  metadata: {
@@ -23085,7 +23531,7 @@ export type ListOrganizationTraceItemAttributesData = {
23085
23531
  /**
23086
23532
  * Filter to attributes of one or more types. Defaults to all types.
23087
23533
  */
23088
- attributeType?: Array<'boolean' | 'number' | 'string'>;
23534
+ attributeType?: Array<'array' | 'boolean' | 'number' | 'string'>;
23089
23535
  /**
23090
23536
  * Restrict results to attribute names containing this substring (case-sensitive).
23091
23537
  */
@@ -23124,22 +23570,19 @@ export type ListOrganizationTraceItemAttributesResponses = {
23124
23570
  source_type: 'sentry' | 'user';
23125
23571
  is_transformed_alias?: boolean;
23126
23572
  };
23127
- attributeType: 'string' | 'number' | 'boolean';
23573
+ attributeType: 'string' | 'number' | 'boolean' | 'array';
23128
23574
  /**
23129
23575
  * Additional, mostly-static metadata about an attribute.
23130
23576
  *
23131
- * When ``expand=context`` is requested, context is attached to every
23132
- * attribute. Today the metadata is sourced from the sentry conventions
23133
- * (``sentry_conventions.attributes.ATTRIBUTE_METADATA``), matched by attribute
23134
- * name (and type when known) regardless of the attribute's source, so any
23135
- * attribute that maps to a known convention carries that metadata (only the
23136
- * fields actually present are included) while the rest get an empty context.
23137
- * Serving context for custom attributes is planned (gated behind the
23138
- * ``data-browsing-attribute-context`` feature), at which point the empty
23139
- * contexts will start to be populated.
23577
+ * When ``expand=context`` is requested, context is attached to every attribute.
23578
+ * Metadata comes from the sentry conventions, Sentry's own column definitions,
23579
+ * or user-authored context (gated behind ``data-browsing-attribute-context``),
23580
+ * in that precedence order. Only the fields available are included, so an
23581
+ * attribute with no metadata gets an empty context.
23140
23582
  */
23141
23583
  context?: {
23142
23584
  isConvention?: boolean;
23585
+ isCustom?: boolean;
23143
23586
  brief?: string;
23144
23587
  isDeprecated?: boolean;
23145
23588
  details?: Array<string>;
@@ -23149,6 +23592,103 @@ export type ListOrganizationTraceItemAttributesResponses = {
23149
23592
  }>;
23150
23593
  };
23151
23594
  export type ListOrganizationTraceItemAttributesResponse = ListOrganizationTraceItemAttributesResponses[keyof ListOrganizationTraceItemAttributesResponses];
23595
+ export type ListOrganizationTraceItemsStatsData = {
23596
+ body?: never;
23597
+ path: {
23598
+ /**
23599
+ * The ID or slug of the organization the resource belongs to.
23600
+ */
23601
+ organization_id_or_slug: string;
23602
+ };
23603
+ query: {
23604
+ /**
23605
+ * The statistics to compute over the matching trace items.
23606
+ */
23607
+ statsType: Array<'attributeDistributions'>;
23608
+ /**
23609
+ * The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. `-1` is also accepted to include all accessible projects.
23610
+ * For example, the following are valid parameters:
23611
+ * - `/?project=1234&project=56789`
23612
+ * - `/?project=android&project=javascript-react`
23613
+ * - `/?project=-1`
23614
+ *
23615
+ */
23616
+ project?: Array<number | string>;
23617
+ /**
23618
+ * The name of environments to filter by.
23619
+ */
23620
+ environment?: Array<string>;
23621
+ /**
23622
+ * The period of time for the query, will override the start & end parameters, a number followed by one of:
23623
+ * - `d` for days
23624
+ * - `h` for hours
23625
+ * - `m` for minutes
23626
+ * - `s` for seconds
23627
+ * - `w` for weeks
23628
+ *
23629
+ * For example, `24h`, to mean query data starting from 24 hours ago to now.
23630
+ */
23631
+ statsPeriod?: string;
23632
+ /**
23633
+ * The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
23634
+ */
23635
+ start?: string;
23636
+ /**
23637
+ * The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
23638
+ */
23639
+ end?: string;
23640
+ /**
23641
+ * The trace item dataset to compute statistics for. Defaults to `spans`.
23642
+ */
23643
+ itemType?: 'occurrences' | 'spans';
23644
+ /**
23645
+ * Sentry [search syntax](https://docs.sentry.io/concepts/search/) to filter trace items before computing statistics.
23646
+ */
23647
+ query?: string;
23648
+ /**
23649
+ * Restrict results to attribute names containing this substring (case-sensitive).
23650
+ */
23651
+ substringMatch?: string;
23652
+ /**
23653
+ * Maximum number of trace items to sample when computing statistics. Defaults to `1000`, which is also the maximum.
23654
+ */
23655
+ traceItemsLimit?: number;
23656
+ /**
23657
+ * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
23658
+ */
23659
+ cursor?: string;
23660
+ };
23661
+ url: '/api/0/organizations/{organization_id_or_slug}/trace-items/stats/';
23662
+ };
23663
+ export type ListOrganizationTraceItemsStatsErrors = {
23664
+ /**
23665
+ * Unauthorized
23666
+ */
23667
+ 401: unknown;
23668
+ /**
23669
+ * Forbidden
23670
+ */
23671
+ 403: unknown;
23672
+ /**
23673
+ * Not Found
23674
+ */
23675
+ 404: unknown;
23676
+ };
23677
+ export type ListOrganizationTraceItemsStatsResponses = {
23678
+ 200: {
23679
+ data: Array<{
23680
+ attributeDistributions: {
23681
+ data: {
23682
+ [key: string]: Array<{
23683
+ label: string;
23684
+ value: number;
23685
+ }>;
23686
+ };
23687
+ };
23688
+ }>;
23689
+ };
23690
+ };
23691
+ export type ListOrganizationTraceItemsStatsResponse = ListOrganizationTraceItemsStatsResponses[keyof ListOrganizationTraceItemsStatsResponses];
23152
23692
  export type GetOrganizationTraceMetaData = {
23153
23693
  body?: never;
23154
23694
  path: {
@@ -23288,14 +23828,13 @@ export type GetOrganizationTraceResponses = {
23288
23828
  200: Array<{
23289
23829
  description: string;
23290
23830
  event_id: string;
23291
- event_type: string;
23292
23831
  project_id: number;
23293
23832
  project_slug: string;
23294
23833
  transaction: string;
23834
+ event_type: 'span';
23295
23835
  children: Array<{
23296
23836
  description: string;
23297
23837
  event_id: string;
23298
- event_type: string;
23299
23838
  project_id: number;
23300
23839
  project_slug: string;
23301
23840
  transaction: string;
@@ -23303,10 +23842,10 @@ export type GetOrganizationTraceResponses = {
23303
23842
  errors: Array<{
23304
23843
  description: string;
23305
23844
  event_id: string;
23306
- event_type: string;
23307
23845
  project_id: number;
23308
23846
  project_slug: string;
23309
23847
  transaction: string;
23848
+ event_type: 'error' | 'occurrence';
23310
23849
  issue_id: number;
23311
23850
  level: string;
23312
23851
  start_timestamp: number;
@@ -23318,10 +23857,10 @@ export type GetOrganizationTraceResponses = {
23318
23857
  occurrences: Array<{
23319
23858
  description: string;
23320
23859
  event_id: string;
23321
- event_type: string;
23322
23860
  project_id: number;
23323
23861
  project_slug: string;
23324
23862
  transaction: string;
23863
+ event_type: 'error' | 'occurrence';
23325
23864
  issue_id: number;
23326
23865
  level: string;
23327
23866
  start_timestamp: number;
@@ -23331,15 +23870,15 @@ export type GetOrganizationTraceResponses = {
23331
23870
  issue_type: number;
23332
23871
  }>;
23333
23872
  duration: number;
23334
- end_timestamp: string;
23873
+ end_timestamp: number;
23335
23874
  measurements: {
23336
- [key: string]: unknown;
23875
+ [key: string]: number;
23337
23876
  };
23338
23877
  browser_web_vital: {
23339
- [key: string]: unknown;
23878
+ [key: string]: number;
23340
23879
  };
23341
23880
  mobile_app_vital: {
23342
- [key: string]: unknown;
23881
+ [key: string]: number;
23343
23882
  };
23344
23883
  op: string;
23345
23884
  name: string;
@@ -23347,7 +23886,7 @@ export type GetOrganizationTraceResponses = {
23347
23886
  profile_id: string;
23348
23887
  profiler_id: string;
23349
23888
  sdk_name: string;
23350
- start_timestamp: string;
23889
+ start_timestamp: number;
23351
23890
  is_transaction: boolean;
23352
23891
  transaction_id: string;
23353
23892
  additional_attributes?: {
@@ -23356,10 +23895,10 @@ export type GetOrganizationTraceResponses = {
23356
23895
  } | {
23357
23896
  description: string;
23358
23897
  event_id: string;
23359
- event_type: string;
23360
23898
  project_id: number;
23361
23899
  project_slug: string;
23362
23900
  transaction: string;
23901
+ event_type: 'error' | 'occurrence';
23363
23902
  issue_id: number;
23364
23903
  level: string;
23365
23904
  start_timestamp: number;
@@ -23370,14 +23909,13 @@ export type GetOrganizationTraceResponses = {
23370
23909
  } | {
23371
23910
  description: string;
23372
23911
  event_id: string;
23373
- event_type: string;
23374
23912
  project_id: number;
23375
23913
  project_slug: string;
23376
23914
  transaction: string;
23915
+ event_type: 'uptime_check';
23377
23916
  children: Array<{
23378
23917
  description: string;
23379
23918
  event_id: string;
23380
- event_type: string;
23381
23919
  project_id: number;
23382
23920
  project_slug: string;
23383
23921
  transaction: string;
@@ -23385,10 +23923,10 @@ export type GetOrganizationTraceResponses = {
23385
23923
  errors: Array<{
23386
23924
  description: string;
23387
23925
  event_id: string;
23388
- event_type: string;
23389
23926
  project_id: number;
23390
23927
  project_slug: string;
23391
23928
  transaction: string;
23929
+ event_type: 'error' | 'occurrence';
23392
23930
  issue_id: number;
23393
23931
  level: string;
23394
23932
  start_timestamp: number;
@@ -23400,10 +23938,10 @@ export type GetOrganizationTraceResponses = {
23400
23938
  occurrences: Array<{
23401
23939
  description: string;
23402
23940
  event_id: string;
23403
- event_type: string;
23404
23941
  project_id: number;
23405
23942
  project_slug: string;
23406
23943
  transaction: string;
23944
+ event_type: 'error' | 'occurrence';
23407
23945
  issue_id: number;
23408
23946
  level: string;
23409
23947
  start_timestamp: number;
@@ -25655,6 +26193,7 @@ export type GetProjectResponses = {
25655
26193
  verifySSL: boolean;
25656
26194
  scrubIPAddresses: boolean;
25657
26195
  scrapeJavaScript: boolean;
26196
+ enableAutoReleaseCreation: boolean;
25658
26197
  highlightTags: Array<string>;
25659
26198
  highlightContext: {
25660
26199
  [key: string]: unknown;
@@ -25776,6 +26315,10 @@ export type UpdateProjectData = {
25776
26315
  * E.g. `['release', 'environment']`
25777
26316
  */
25778
26317
  highlightTags?: Array<string>;
26318
+ /**
26319
+ * Automatically create releases from ingested events. When disabled, releases must be created manually (e.g. via the Sentry CLI).
26320
+ */
26321
+ enableAutoReleaseCreation?: boolean;
25779
26322
  /**
25780
26323
  * Enable on-demand source context fetching from SCM integrations for stack traces.
25781
26324
  */
@@ -25882,6 +26425,7 @@ export type UpdateProjectResponses = {
25882
26425
  verifySSL: boolean;
25883
26426
  scrubIPAddresses: boolean;
25884
26427
  scrapeJavaScript: boolean;
26428
+ enableAutoReleaseCreation: boolean;
25885
26429
  highlightTags: Array<string>;
25886
26430
  highlightContext: {
25887
26431
  [key: string]: unknown;
@@ -26238,7 +26782,7 @@ export type ListProjectEventsResponses = {
26238
26782
  crashFile: string | null;
26239
26783
  metadata: {
26240
26784
  [key: string]: unknown;
26241
- } | null;
26785
+ };
26242
26786
  }>;
26243
26787
  };
26244
26788
  export type ListProjectEventsResponse = ListProjectEventsResponses[keyof ListProjectEventsResponses];
@@ -26316,18 +26860,49 @@ export type GetProjectEventResponses = {
26316
26860
  entries: Array<unknown>;
26317
26861
  dist: string | null;
26318
26862
  sdk: {
26319
- [key: string]: string;
26320
- };
26863
+ name: string | null;
26864
+ version: string | null;
26865
+ } | null;
26321
26866
  context: {
26322
26867
  [key: string]: unknown;
26323
26868
  } | null;
26324
26869
  packages: {
26325
26870
  [key: string]: unknown;
26326
26871
  };
26327
- type: string;
26328
- metadata: unknown;
26329
- errors: Array<unknown>;
26330
- occurrence: unknown;
26872
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
26873
+ metadata: {
26874
+ [key: string]: unknown;
26875
+ };
26876
+ errors: Array<{
26877
+ type: string;
26878
+ message: string;
26879
+ data: {
26880
+ [key: string]: unknown;
26881
+ };
26882
+ }>;
26883
+ occurrence: {
26884
+ id: string;
26885
+ projectId: number;
26886
+ eventId: string;
26887
+ fingerprint: Array<string>;
26888
+ issueTitle: string;
26889
+ subtitle: string;
26890
+ resourceId: string | null;
26891
+ evidenceData: {
26892
+ [key: string]: unknown;
26893
+ };
26894
+ evidenceDisplay: Array<{
26895
+ name: string;
26896
+ value: string;
26897
+ important: boolean;
26898
+ }>;
26899
+ type: number;
26900
+ detectionTime: number;
26901
+ level: string | null;
26902
+ culprit: string | null;
26903
+ assignee: string | null;
26904
+ priority: number | null;
26905
+ } | null;
26331
26906
  _meta: {
26332
26907
  [key: string]: unknown;
26333
26908
  };
@@ -26335,11 +26910,26 @@ export type GetProjectEventResponses = {
26335
26910
  culprit?: string | null;
26336
26911
  dateCreated?: string;
26337
26912
  fingerprints?: Array<string>;
26338
- groupingConfig?: unknown;
26339
- startTimestamp?: string;
26340
- endTimestamp?: string;
26341
- measurements?: unknown;
26342
- breakdowns?: unknown;
26913
+ groupingConfig?: {
26914
+ id: string;
26915
+ enhancements: string;
26916
+ };
26917
+ startTimestamp?: number;
26918
+ endTimestamp?: number;
26919
+ measurements?: {
26920
+ [key: string]: {
26921
+ value: number;
26922
+ unit: string | null;
26923
+ };
26924
+ } | null;
26925
+ breakdowns?: {
26926
+ [key: string]: {
26927
+ [key: string]: {
26928
+ value: number;
26929
+ unit: string | null;
26930
+ };
26931
+ };
26932
+ } | null;
26343
26933
  release: {
26344
26934
  id?: number;
26345
26935
  commitCount?: number;
@@ -26481,7 +27071,12 @@ export type GetProjectEventAttachmentData = {
26481
27071
  */
26482
27072
  attachment_id: string;
26483
27073
  };
26484
- query?: never;
27074
+ query?: {
27075
+ /**
27076
+ * If this parameter is present, the response will be a binary file download instead of JSON metadata. The value does not matter — any value (including empty) triggers the download.
27077
+ */
27078
+ download?: string;
27079
+ };
26485
27080
  url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/{event_id}/attachments/{attachment_id}/';
26486
27081
  };
26487
27082
  export type GetProjectEventAttachmentErrors = {
@@ -27259,7 +27854,7 @@ export type ListProjectMembersResponses = {
27259
27854
  id: string;
27260
27855
  email: string;
27261
27856
  name: string;
27262
- user?: {
27857
+ user: {
27263
27858
  identities?: Array<{
27264
27859
  id: string;
27265
27860
  name: string;
@@ -27304,7 +27899,7 @@ export type ListProjectMembersResponses = {
27304
27899
  email: string;
27305
27900
  is_verified: boolean;
27306
27901
  }>;
27307
- };
27902
+ } | null;
27308
27903
  orgRole: string;
27309
27904
  pending: boolean;
27310
27905
  expired: boolean;
@@ -28513,6 +29108,65 @@ export type GetProjectPreprodSizeAnalysisStatusCheckRulesResponses = {
28513
29108
  };
28514
29109
  };
28515
29110
  export type GetProjectPreprodSizeAnalysisStatusCheckRulesResponse = GetProjectPreprodSizeAnalysisStatusCheckRulesResponses[keyof GetProjectPreprodSizeAnalysisStatusCheckRulesResponses];
29111
+ export type CreateProjectPreprodSizeAnalysisSkippedStatusCheckData = {
29112
+ body: {
29113
+ /**
29114
+ * The full 40-character lowercase commit SHA.
29115
+ */
29116
+ sha: string;
29117
+ /**
29118
+ * The repository name in `owner/name` format.
29119
+ */
29120
+ repository: string;
29121
+ /**
29122
+ * The repository integration provider.
29123
+ *
29124
+ * * `github`
29125
+ * * `github_enterprise`
29126
+ */
29127
+ provider: 'github' | 'github_enterprise';
29128
+ };
29129
+ path: {
29130
+ /**
29131
+ * The ID or slug of the organization the resource belongs to.
29132
+ */
29133
+ organization_id_or_slug: string;
29134
+ /**
29135
+ * The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.
29136
+ */
29137
+ project_id_or_slug: string;
29138
+ };
29139
+ query?: never;
29140
+ url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/preprod/size-analysis/status-checks/skip/';
29141
+ };
29142
+ export type CreateProjectPreprodSizeAnalysisSkippedStatusCheckErrors = {
29143
+ /**
29144
+ * Bad Request
29145
+ */
29146
+ 400: unknown;
29147
+ /**
29148
+ * Forbidden
29149
+ */
29150
+ 403: unknown;
29151
+ /**
29152
+ * Not Found
29153
+ */
29154
+ 404: unknown;
29155
+ /**
29156
+ * Too Many Requests
29157
+ */
29158
+ 429: unknown;
29159
+ /**
29160
+ * Bad Gateway
29161
+ */
29162
+ 502: unknown;
29163
+ };
29164
+ export type CreateProjectPreprodSizeAnalysisSkippedStatusCheckResponses = {
29165
+ /**
29166
+ * Success
29167
+ */
29168
+ 200: unknown;
29169
+ };
28516
29170
  export type GetProjectPreprodSnapshotStatusCheckRulesData = {
28517
29171
  body?: never;
28518
29172
  path: {
@@ -28550,6 +29204,65 @@ export type GetProjectPreprodSnapshotStatusCheckRulesResponses = {
28550
29204
  };
28551
29205
  };
28552
29206
  export type GetProjectPreprodSnapshotStatusCheckRulesResponse = GetProjectPreprodSnapshotStatusCheckRulesResponses[keyof GetProjectPreprodSnapshotStatusCheckRulesResponses];
29207
+ export type CreateProjectPreprodSnapshotSkippedStatusCheckData = {
29208
+ body: {
29209
+ /**
29210
+ * The full 40-character lowercase commit SHA.
29211
+ */
29212
+ sha: string;
29213
+ /**
29214
+ * The repository name in `owner/name` format.
29215
+ */
29216
+ repository: string;
29217
+ /**
29218
+ * The repository integration provider.
29219
+ *
29220
+ * * `github`
29221
+ * * `github_enterprise`
29222
+ */
29223
+ provider: 'github' | 'github_enterprise';
29224
+ };
29225
+ path: {
29226
+ /**
29227
+ * The ID or slug of the organization the resource belongs to.
29228
+ */
29229
+ organization_id_or_slug: string;
29230
+ /**
29231
+ * The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.
29232
+ */
29233
+ project_id_or_slug: string;
29234
+ };
29235
+ query?: never;
29236
+ url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/preprod/snapshots/status-checks/skip/';
29237
+ };
29238
+ export type CreateProjectPreprodSnapshotSkippedStatusCheckErrors = {
29239
+ /**
29240
+ * Bad Request
29241
+ */
29242
+ 400: unknown;
29243
+ /**
29244
+ * Forbidden
29245
+ */
29246
+ 403: unknown;
29247
+ /**
29248
+ * Not Found
29249
+ */
29250
+ 404: unknown;
29251
+ /**
29252
+ * Too Many Requests
29253
+ */
29254
+ 429: unknown;
29255
+ /**
29256
+ * Bad Gateway
29257
+ */
29258
+ 502: unknown;
29259
+ };
29260
+ export type CreateProjectPreprodSnapshotSkippedStatusCheckResponses = {
29261
+ /**
29262
+ * Success
29263
+ */
29264
+ 200: unknown;
29265
+ };
28553
29266
  export type GetProjectInstallableBuildLatestData = {
28554
29267
  body?: never;
28555
29268
  path: {
@@ -28576,9 +29289,9 @@ export type GetProjectInstallableBuildLatestData = {
28576
29289
  */
28577
29290
  buildVersion?: string;
28578
29291
  /**
28579
- * Current build number. Either this or mainBinaryIdentifier must be provided when buildVersion is set.
29292
+ * Current build number. Accepts a plain integer (e.g. 42) or a version string of two to three period-separated integers (e.g. 1.2.3), each up to 6 digits — the format used by build identifiers such as Apple's CFBundleVersion. Either this or mainBinaryIdentifier must be provided when buildVersion is set.
28580
29293
  */
28581
- buildNumber?: number;
29294
+ buildNumber?: number | string;
28582
29295
  /**
28583
29296
  * UUID of the main binary (e.g. Mach-O UUID for Apple builds). Either this or buildNumber must be provided when buildVersion is set.
28584
29297
  */
@@ -28984,6 +29697,8 @@ export type ListProjectReleaseCommitsResponses = {
28984
29697
  title: string | null;
28985
29698
  message: string | null;
28986
29699
  dateCreated: string;
29700
+ mergedAt: string | null;
29701
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
28987
29702
  repository: {
28988
29703
  url?: string | null;
28989
29704
  provider?: {
@@ -30938,6 +31653,7 @@ export type GetSentryAppResponses = {
30938
31653
  photoType: string;
30939
31654
  }>;
30940
31655
  events: Array<string>;
31656
+ webhookEvents: Array<string>;
30941
31657
  featureData: Array<string>;
30942
31658
  isAlertable: boolean;
30943
31659
  metadata: string;
@@ -31052,6 +31768,7 @@ export type UpdateSentryAppResponses = {
31052
31768
  photoType: string;
31053
31769
  }>;
31054
31770
  events: Array<string>;
31771
+ webhookEvents: Array<string>;
31055
31772
  featureData: Array<string>;
31056
31773
  isAlertable: boolean;
31057
31774
  metadata: string;
@@ -32933,6 +33650,17 @@ export type GetOrganizationIssueResponses = {
32933
33650
  userCount?: number;
32934
33651
  firstSeen?: string | null;
32935
33652
  lastSeen?: string | null;
33653
+ derivedData?: {
33654
+ blocker: string;
33655
+ progress: string;
33656
+ status: string;
33657
+ viewCount: number;
33658
+ hasOpenFixPr: boolean;
33659
+ isAssigned: boolean;
33660
+ hasRootCause: boolean;
33661
+ lastCompletedAutofixStep: string;
33662
+ lastProgressedAt: string | null;
33663
+ };
32936
33664
  id: string;
32937
33665
  shareId: string | null;
32938
33666
  shortId: string;
@@ -32940,10 +33668,9 @@ export type GetOrganizationIssueResponses = {
32940
33668
  culprit: string | null;
32941
33669
  permalink: string;
32942
33670
  logger: string | null;
32943
- level: string;
32944
- status: string;
33671
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
33672
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
32945
33673
  statusDetails: {
32946
- autoResolved?: boolean;
32947
33674
  ignoreCount?: number;
32948
33675
  ignoreUntil?: string;
32949
33676
  ignoreUserCount?: number;
@@ -32999,12 +33726,16 @@ export type GetOrganizationIssueResponses = {
32999
33726
  inRelease?: string;
33000
33727
  inCommit?: string;
33001
33728
  pendingEvents?: number;
33002
- info?: unknown;
33729
+ info?: {
33730
+ dateCreated: string;
33731
+ syncCount: number;
33732
+ totalEvents: number;
33733
+ } | null;
33003
33734
  };
33004
- substatus: string | null;
33735
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
33005
33736
  isPublic: boolean;
33006
33737
  platform: string | null;
33007
- priority: string | null;
33738
+ priority: 'low' | 'medium' | 'high' | null;
33008
33739
  priorityLockedAt: string | null;
33009
33740
  seerFixabilityScore: number | null;
33010
33741
  seerAutofixLastTriggered: string | null;
@@ -33015,7 +33746,7 @@ export type GetOrganizationIssueResponses = {
33015
33746
  slug: string;
33016
33747
  platform: string | null;
33017
33748
  };
33018
- type: string;
33749
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
33019
33750
  issueType: string;
33020
33751
  issueCategory: string;
33021
33752
  metadata: {
@@ -33243,6 +33974,17 @@ export type UpdateOrganizationIssueResponses = {
33243
33974
  userCount?: number;
33244
33975
  firstSeen?: string | null;
33245
33976
  lastSeen?: string | null;
33977
+ derivedData?: {
33978
+ blocker: string;
33979
+ progress: string;
33980
+ status: string;
33981
+ viewCount: number;
33982
+ hasOpenFixPr: boolean;
33983
+ isAssigned: boolean;
33984
+ hasRootCause: boolean;
33985
+ lastCompletedAutofixStep: string;
33986
+ lastProgressedAt: string | null;
33987
+ };
33246
33988
  id: string;
33247
33989
  shareId: string | null;
33248
33990
  shortId: string;
@@ -33250,10 +33992,9 @@ export type UpdateOrganizationIssueResponses = {
33250
33992
  culprit: string | null;
33251
33993
  permalink: string;
33252
33994
  logger: string | null;
33253
- level: string;
33254
- status: string;
33995
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
33996
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
33255
33997
  statusDetails: {
33256
- autoResolved?: boolean;
33257
33998
  ignoreCount?: number;
33258
33999
  ignoreUntil?: string;
33259
34000
  ignoreUserCount?: number;
@@ -33309,12 +34050,16 @@ export type UpdateOrganizationIssueResponses = {
33309
34050
  inRelease?: string;
33310
34051
  inCommit?: string;
33311
34052
  pendingEvents?: number;
33312
- info?: unknown;
34053
+ info?: {
34054
+ dateCreated: string;
34055
+ syncCount: number;
34056
+ totalEvents: number;
34057
+ } | null;
33313
34058
  };
33314
- substatus: string | null;
34059
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
33315
34060
  isPublic: boolean;
33316
34061
  platform: string | null;
33317
- priority: string | null;
34062
+ priority: 'low' | 'medium' | 'high' | null;
33318
34063
  priorityLockedAt: string | null;
33319
34064
  seerFixabilityScore: number | null;
33320
34065
  seerAutofixLastTriggered: string | null;
@@ -33325,7 +34070,7 @@ export type UpdateOrganizationIssueResponses = {
33325
34070
  slug: string;
33326
34071
  platform: string | null;
33327
34072
  };
33328
- type: string;
34073
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
33329
34074
  issueType: string;
33330
34075
  issueCategory: string;
33331
34076
  metadata: {
@@ -33449,6 +34194,10 @@ export type StartOrganizationIssueAutofixData = {
33449
34194
  * Referrer identifying where the issue fix was triggered from.
33450
34195
  */
33451
34196
  referrer?: string;
34197
+ /**
34198
+ * Override bash mode tools.
34199
+ */
34200
+ enable_bash_tools?: boolean;
33452
34201
  };
33453
34202
  path: {
33454
34203
  /**
@@ -33602,7 +34351,7 @@ export type ListOrganizationIssueEventsResponses = {
33602
34351
  crashFile: string | null;
33603
34352
  metadata: {
33604
34353
  [key: string]: unknown;
33605
- } | null;
34354
+ };
33606
34355
  }>;
33607
34356
  };
33608
34357
  export type ListOrganizationIssueEventsResponse = ListOrganizationIssueEventsResponses[keyof ListOrganizationIssueEventsResponses];
@@ -33684,18 +34433,49 @@ export type GetOrganizationIssueEventResponses = {
33684
34433
  entries: Array<unknown>;
33685
34434
  dist: string | null;
33686
34435
  sdk: {
33687
- [key: string]: string;
33688
- };
34436
+ name: string | null;
34437
+ version: string | null;
34438
+ } | null;
33689
34439
  context: {
33690
34440
  [key: string]: unknown;
33691
34441
  } | null;
33692
34442
  packages: {
33693
34443
  [key: string]: unknown;
33694
34444
  };
33695
- type: string;
33696
- metadata: unknown;
33697
- errors: Array<unknown>;
33698
- occurrence: unknown;
34445
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
34446
+ metadata: {
34447
+ [key: string]: unknown;
34448
+ };
34449
+ errors: Array<{
34450
+ type: string;
34451
+ message: string;
34452
+ data: {
34453
+ [key: string]: unknown;
34454
+ };
34455
+ }>;
34456
+ occurrence: {
34457
+ id: string;
34458
+ projectId: number;
34459
+ eventId: string;
34460
+ fingerprint: Array<string>;
34461
+ issueTitle: string;
34462
+ subtitle: string;
34463
+ resourceId: string | null;
34464
+ evidenceData: {
34465
+ [key: string]: unknown;
34466
+ };
34467
+ evidenceDisplay: Array<{
34468
+ name: string;
34469
+ value: string;
34470
+ important: boolean;
34471
+ }>;
34472
+ type: number;
34473
+ detectionTime: number;
34474
+ level: string | null;
34475
+ culprit: string | null;
34476
+ assignee: string | null;
34477
+ priority: number | null;
34478
+ } | null;
33699
34479
  _meta: {
33700
34480
  [key: string]: unknown;
33701
34481
  };
@@ -33703,11 +34483,26 @@ export type GetOrganizationIssueEventResponses = {
33703
34483
  culprit?: string | null;
33704
34484
  dateCreated?: string;
33705
34485
  fingerprints?: Array<string>;
33706
- groupingConfig?: unknown;
33707
- startTimestamp?: string;
33708
- endTimestamp?: string;
33709
- measurements?: unknown;
33710
- breakdowns?: unknown;
34486
+ groupingConfig?: {
34487
+ id: string;
34488
+ enhancements: string;
34489
+ };
34490
+ startTimestamp?: number;
34491
+ endTimestamp?: number;
34492
+ measurements?: {
34493
+ [key: string]: {
34494
+ value: number;
34495
+ unit: string | null;
34496
+ };
34497
+ } | null;
34498
+ breakdowns?: {
34499
+ [key: string]: {
34500
+ [key: string]: {
34501
+ value: number;
34502
+ unit: string | null;
34503
+ };
34504
+ };
34505
+ } | null;
33711
34506
  release: {
33712
34507
  id?: number;
33713
34508
  commitCount?: number;
@@ -33872,18 +34667,49 @@ export type ListOrganizationIssueHashesResponses = {
33872
34667
  entries: Array<unknown>;
33873
34668
  dist: string | null;
33874
34669
  sdk: {
33875
- [key: string]: string;
33876
- };
34670
+ name: string | null;
34671
+ version: string | null;
34672
+ } | null;
33877
34673
  context: {
33878
34674
  [key: string]: unknown;
33879
34675
  } | null;
33880
34676
  packages: {
33881
34677
  [key: string]: unknown;
33882
34678
  };
33883
- type: string;
33884
- metadata: unknown;
33885
- errors: Array<unknown>;
33886
- occurrence: unknown;
34679
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
34680
+ metadata: {
34681
+ [key: string]: unknown;
34682
+ };
34683
+ errors: Array<{
34684
+ type: string;
34685
+ message: string;
34686
+ data: {
34687
+ [key: string]: unknown;
34688
+ };
34689
+ }>;
34690
+ occurrence: {
34691
+ id: string;
34692
+ projectId: number;
34693
+ eventId: string;
34694
+ fingerprint: Array<string>;
34695
+ issueTitle: string;
34696
+ subtitle: string;
34697
+ resourceId: string | null;
34698
+ evidenceData: {
34699
+ [key: string]: unknown;
34700
+ };
34701
+ evidenceDisplay: Array<{
34702
+ name: string;
34703
+ value: string;
34704
+ important: boolean;
34705
+ }>;
34706
+ type: number;
34707
+ detectionTime: number;
34708
+ level: string | null;
34709
+ culprit: string | null;
34710
+ assignee: string | null;
34711
+ priority: number | null;
34712
+ } | null;
33887
34713
  _meta: {
33888
34714
  [key: string]: unknown;
33889
34715
  };
@@ -33891,11 +34717,26 @@ export type ListOrganizationIssueHashesResponses = {
33891
34717
  culprit?: string | null;
33892
34718
  dateCreated?: string;
33893
34719
  fingerprints?: Array<string>;
33894
- groupingConfig?: unknown;
33895
- startTimestamp?: string;
33896
- endTimestamp?: string;
33897
- measurements?: unknown;
33898
- breakdowns?: unknown;
34720
+ groupingConfig?: {
34721
+ id: string;
34722
+ enhancements: string;
34723
+ };
34724
+ startTimestamp?: number;
34725
+ endTimestamp?: number;
34726
+ measurements?: {
34727
+ [key: string]: {
34728
+ value: number;
34729
+ unit: string | null;
34730
+ };
34731
+ } | null;
34732
+ breakdowns?: {
34733
+ [key: string]: {
34734
+ [key: string]: {
34735
+ value: number;
34736
+ unit: string | null;
34737
+ };
34738
+ };
34739
+ } | null;
33899
34740
  } | {
33900
34741
  id: string;
33901
34742
  'event.type': string;
@@ -33929,7 +34770,7 @@ export type ListOrganizationIssueHashesResponses = {
33929
34770
  crashFile: string | null;
33930
34771
  metadata: {
33931
34772
  [key: string]: unknown;
33932
- } | null;
34773
+ };
33933
34774
  } | {
33934
34775
  [key: string]: unknown;
33935
34776
  } | null;
@@ -33938,6 +34779,223 @@ export type ListOrganizationIssueHashesResponses = {
33938
34779
  }>;
33939
34780
  };
33940
34781
  export type ListOrganizationIssueHashesResponse = ListOrganizationIssueHashesResponses[keyof ListOrganizationIssueHashesResponses];
34782
+ export type DeleteOrganizationIssueIntegrationData = {
34783
+ body?: never;
34784
+ path: {
34785
+ /**
34786
+ * The ID or slug of the organization the resource belongs to.
34787
+ */
34788
+ organization_id_or_slug: string;
34789
+ /**
34790
+ * The ID of the issue you'd like to query.
34791
+ */
34792
+ issue_id: string;
34793
+ /**
34794
+ * The ID of the integration installed on the organization.
34795
+ */
34796
+ integration_id: string;
34797
+ };
34798
+ query: {
34799
+ /**
34800
+ * The ID of the `ExternalIssue` link to remove.
34801
+ */
34802
+ externalIssue: number;
34803
+ };
34804
+ url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/{integration_id}/';
34805
+ };
34806
+ export type DeleteOrganizationIssueIntegrationErrors = {
34807
+ /**
34808
+ * Bad Request
34809
+ */
34810
+ 400: unknown;
34811
+ /**
34812
+ * Forbidden
34813
+ */
34814
+ 403: unknown;
34815
+ /**
34816
+ * Not Found
34817
+ */
34818
+ 404: unknown;
34819
+ };
34820
+ export type DeleteOrganizationIssueIntegrationResponses = {
34821
+ /**
34822
+ * No Content
34823
+ */
34824
+ 204: void;
34825
+ };
34826
+ export type DeleteOrganizationIssueIntegrationResponse = DeleteOrganizationIssueIntegrationResponses[keyof DeleteOrganizationIssueIntegrationResponses];
34827
+ export type GetOrganizationIssueIntegrationData = {
34828
+ body?: never;
34829
+ path: {
34830
+ /**
34831
+ * The ID or slug of the organization the resource belongs to.
34832
+ */
34833
+ organization_id_or_slug: string;
34834
+ /**
34835
+ * The ID of the issue you'd like to query.
34836
+ */
34837
+ issue_id: string;
34838
+ /**
34839
+ * The ID of the integration installed on the organization.
34840
+ */
34841
+ integration_id: string;
34842
+ };
34843
+ query: {
34844
+ /**
34845
+ * Whether to fetch the config for linking an existing external issue (`link`) or creating a new one (`create`).
34846
+ */
34847
+ action: 'create' | 'link';
34848
+ };
34849
+ url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/{integration_id}/';
34850
+ };
34851
+ export type GetOrganizationIssueIntegrationErrors = {
34852
+ /**
34853
+ * Bad Request
34854
+ */
34855
+ 400: unknown;
34856
+ /**
34857
+ * Unauthorized
34858
+ */
34859
+ 401: unknown;
34860
+ /**
34861
+ * Forbidden
34862
+ */
34863
+ 403: unknown;
34864
+ /**
34865
+ * Not Found
34866
+ */
34867
+ 404: unknown;
34868
+ };
34869
+ export type GetOrganizationIssueIntegrationResponses = {
34870
+ 200: {
34871
+ id: string;
34872
+ name: string;
34873
+ icon: string | null;
34874
+ domainName: string | null;
34875
+ accountType: string | null;
34876
+ scopes: Array<string> | null;
34877
+ outOfDate: boolean | null;
34878
+ status: string;
34879
+ provider: {
34880
+ key: string;
34881
+ slug: string;
34882
+ name: string;
34883
+ canAdd: boolean;
34884
+ canDisable: boolean;
34885
+ features: Array<string>;
34886
+ aspects: {
34887
+ [key: string]: unknown;
34888
+ };
34889
+ };
34890
+ linkIssueConfig?: Array<{
34891
+ [key: string]: unknown;
34892
+ }>;
34893
+ createIssueConfig?: Array<{
34894
+ [key: string]: unknown;
34895
+ }>;
34896
+ };
34897
+ };
34898
+ export type GetOrganizationIssueIntegrationResponse = GetOrganizationIssueIntegrationResponses[keyof GetOrganizationIssueIntegrationResponses];
34899
+ export type CreateOrganizationIssueIntegrationData = {
34900
+ body: {
34901
+ /**
34902
+ * The title of the external issue to create.
34903
+ */
34904
+ title: string;
34905
+ /**
34906
+ * The description (body) of the external issue to create.
34907
+ */
34908
+ description?: string;
34909
+ };
34910
+ path: {
34911
+ /**
34912
+ * The ID or slug of the organization the resource belongs to.
34913
+ */
34914
+ organization_id_or_slug: string;
34915
+ /**
34916
+ * The ID of the issue you'd like to query.
34917
+ */
34918
+ issue_id: string;
34919
+ /**
34920
+ * The ID of the integration installed on the organization.
34921
+ */
34922
+ integration_id: string;
34923
+ };
34924
+ query?: never;
34925
+ url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/{integration_id}/';
34926
+ };
34927
+ export type CreateOrganizationIssueIntegrationErrors = {
34928
+ /**
34929
+ * Bad Request
34930
+ */
34931
+ 400: unknown;
34932
+ /**
34933
+ * Unauthorized
34934
+ */
34935
+ 401: unknown;
34936
+ /**
34937
+ * Not Found
34938
+ */
34939
+ 404: unknown;
34940
+ };
34941
+ export type CreateOrganizationIssueIntegrationResponses = {
34942
+ 201: {
34943
+ id: number;
34944
+ key: string;
34945
+ url: string;
34946
+ integrationId: number;
34947
+ displayName: string;
34948
+ };
34949
+ };
34950
+ export type CreateOrganizationIssueIntegrationResponse = CreateOrganizationIssueIntegrationResponses[keyof CreateOrganizationIssueIntegrationResponses];
34951
+ export type UpdateOrganizationIssueIntegrationData = {
34952
+ body: {
34953
+ /**
34954
+ * The identifier of the existing external issue to link, as understood by the provider (such as a Jira issue key).
34955
+ */
34956
+ externalIssue: string;
34957
+ };
34958
+ path: {
34959
+ /**
34960
+ * The ID or slug of the organization the resource belongs to.
34961
+ */
34962
+ organization_id_or_slug: string;
34963
+ /**
34964
+ * The ID of the issue you'd like to query.
34965
+ */
34966
+ issue_id: string;
34967
+ /**
34968
+ * The ID of the integration installed on the organization.
34969
+ */
34970
+ integration_id: string;
34971
+ };
34972
+ query?: never;
34973
+ url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/{integration_id}/';
34974
+ };
34975
+ export type UpdateOrganizationIssueIntegrationErrors = {
34976
+ /**
34977
+ * Bad Request
34978
+ */
34979
+ 400: unknown;
34980
+ /**
34981
+ * Unauthorized
34982
+ */
34983
+ 401: unknown;
34984
+ /**
34985
+ * Not Found
34986
+ */
34987
+ 404: unknown;
34988
+ };
34989
+ export type UpdateOrganizationIssueIntegrationResponses = {
34990
+ 201: {
34991
+ id: number;
34992
+ key: string;
34993
+ url: string;
34994
+ integrationId: number;
34995
+ displayName: string;
34996
+ };
34997
+ };
34998
+ export type UpdateOrganizationIssueIntegrationResponse = UpdateOrganizationIssueIntegrationResponses[keyof UpdateOrganizationIssueIntegrationResponses];
33941
34999
  export type GetOrganizationIssueTagData = {
33942
35000
  body?: never;
33943
35001
  path: {