@sentry/api 0.289.0 → 0.291.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/error-results.gen.d.ts +5 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +24 -0
- package/dist/pagination.gen.d.ts +20 -1
- package/dist/sdk.gen.d.ts +25 -1
- package/dist/types.gen.d.ts +1143 -7
- package/dist/valibot.gen.d.ts +341 -8
- package/dist/valibot.js +453 -27
- package/dist/zod.gen.d.ts +1746 -371
- package/dist/zod.js +750 -23
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -33,9 +33,12 @@ export type AutofixPostResponse = {
|
|
|
33
33
|
export type AutofixStateResponse = {
|
|
34
34
|
/**
|
|
35
35
|
* The ``formatted`` field the mixin adds to a response when ``?llmFormat`` is requested.
|
|
36
|
+
*
|
|
37
|
+
* ``content`` is text for the text formats and a serialized JSON object for ``json``, so the
|
|
38
|
+
* response shape is the same whichever format a caller asks for.
|
|
36
39
|
*/
|
|
37
40
|
formatted?: {
|
|
38
|
-
format: 'markdown' | 'xml';
|
|
41
|
+
format: 'markdown' | 'xml' | 'json';
|
|
39
42
|
content: string;
|
|
40
43
|
};
|
|
41
44
|
autofix: {
|
|
@@ -2476,6 +2479,30 @@ export type DiscoverSavedQuery = {
|
|
|
2476
2479
|
* How to order the query results. Must be something in the `field` list, excluding equations.
|
|
2477
2480
|
*/
|
|
2478
2481
|
orderby?: string | null;
|
|
2482
|
+
/**
|
|
2483
|
+
* Time-bucket granularity in seconds for the saved query.
|
|
2484
|
+
*/
|
|
2485
|
+
rollup?: number | null;
|
|
2486
|
+
/**
|
|
2487
|
+
* Aggregate functions to apply, each as a `[function, column, alias]` triple.
|
|
2488
|
+
*/
|
|
2489
|
+
aggregations?: Array<Array<unknown>> | null;
|
|
2490
|
+
/**
|
|
2491
|
+
* Columns to group results by.
|
|
2492
|
+
*/
|
|
2493
|
+
groupby?: Array<string> | null;
|
|
2494
|
+
/**
|
|
2495
|
+
* Filter conditions, each as a `[column, operator, value]` triple.
|
|
2496
|
+
*/
|
|
2497
|
+
conditions?: Array<Array<unknown>> | null;
|
|
2498
|
+
/**
|
|
2499
|
+
* Maximum number of rows to return, from `0` to `1000`.
|
|
2500
|
+
*/
|
|
2501
|
+
limit?: number | null;
|
|
2502
|
+
/**
|
|
2503
|
+
* Saved query schema version. `1` for the legacy shape, `2` for the current one.
|
|
2504
|
+
*/
|
|
2505
|
+
version?: number | null;
|
|
2479
2506
|
/**
|
|
2480
2507
|
* The name of environments to filter by.
|
|
2481
2508
|
*/
|
|
@@ -2484,6 +2511,10 @@ export type DiscoverSavedQuery = {
|
|
|
2484
2511
|
* Filters results by using [query syntax](/product/sentry-basics/search/).
|
|
2485
2512
|
*/
|
|
2486
2513
|
query?: string | null;
|
|
2514
|
+
/**
|
|
2515
|
+
* Rendered column widths, in the same order as the query's fields.
|
|
2516
|
+
*/
|
|
2517
|
+
widths?: Array<string> | null;
|
|
2487
2518
|
/**
|
|
2488
2519
|
* Aggregate functions to be plotted on the chart.
|
|
2489
2520
|
*/
|
|
@@ -2527,6 +2558,7 @@ export type DiscoverSavedQueryListResponse = Array<{
|
|
|
2527
2558
|
exploreQuery?: {
|
|
2528
2559
|
[key: string]: unknown;
|
|
2529
2560
|
};
|
|
2561
|
+
lastVisited?: string;
|
|
2530
2562
|
id: string;
|
|
2531
2563
|
name: string;
|
|
2532
2564
|
projects: Array<number>;
|
|
@@ -2602,6 +2634,7 @@ export type DiscoverSavedQueryModel = {
|
|
|
2602
2634
|
exploreQuery?: {
|
|
2603
2635
|
[key: string]: unknown;
|
|
2604
2636
|
};
|
|
2637
|
+
lastVisited?: string;
|
|
2605
2638
|
id: string;
|
|
2606
2639
|
name: string;
|
|
2607
2640
|
projects: Array<number>;
|
|
@@ -2658,6 +2691,20 @@ export type DiscoverSavedQueryModel = {
|
|
|
2658
2691
|
}>;
|
|
2659
2692
|
};
|
|
2660
2693
|
};
|
|
2694
|
+
export type DynamicSamplingBias = {
|
|
2695
|
+
/**
|
|
2696
|
+
* * `boostEnvironments`
|
|
2697
|
+
* * `boostKeyTransactions`
|
|
2698
|
+
* * `boostLatestRelease`
|
|
2699
|
+
* * `boostLowVolumeTransactions`
|
|
2700
|
+
* * `boostReplayId`
|
|
2701
|
+
* * `ignoreHealthChecks`
|
|
2702
|
+
* * `minimumSampleRate`
|
|
2703
|
+
* * `recalibrationRule`
|
|
2704
|
+
*/
|
|
2705
|
+
id: 'boostEnvironments' | 'boostKeyTransactions' | 'boostLatestRelease' | 'boostLowVolumeTransactions' | 'boostReplayId' | 'ignoreHealthChecks' | 'minimumSampleRate' | 'recalibrationRule';
|
|
2706
|
+
active?: boolean;
|
|
2707
|
+
};
|
|
2661
2708
|
/**
|
|
2662
2709
|
* Configures multiple options for the Javascript Loader Script.
|
|
2663
2710
|
* - `Performance Monitoring`
|
|
@@ -2903,6 +2950,10 @@ export type ExternalIssueLinkResponse = {
|
|
|
2903
2950
|
* Errors are output in camel case.
|
|
2904
2951
|
*/
|
|
2905
2952
|
export type ExternalTeam = {
|
|
2953
|
+
/**
|
|
2954
|
+
* ID of the Sentry team to link to the external team.
|
|
2955
|
+
*/
|
|
2956
|
+
team_id: number;
|
|
2906
2957
|
/**
|
|
2907
2958
|
* The associated name for the provider.
|
|
2908
2959
|
*/
|
|
@@ -3793,6 +3844,30 @@ export type GroupValidator = {
|
|
|
3793
3844
|
* * `high`
|
|
3794
3845
|
*/
|
|
3795
3846
|
priority: 'low' | 'medium' | 'high';
|
|
3847
|
+
/**
|
|
3848
|
+
* Ignore the issue for this many minutes.
|
|
3849
|
+
*/
|
|
3850
|
+
ignoreDuration: number;
|
|
3851
|
+
/**
|
|
3852
|
+
* Ignore the issue until it is seen this many more times.
|
|
3853
|
+
*/
|
|
3854
|
+
ignoreCount: number;
|
|
3855
|
+
/**
|
|
3856
|
+
* Window in minutes over which `ignoreCount` is measured. Maximum is 7 days.
|
|
3857
|
+
*/
|
|
3858
|
+
ignoreWindow: number;
|
|
3859
|
+
/**
|
|
3860
|
+
* Ignore the issue until it affects this many more users.
|
|
3861
|
+
*/
|
|
3862
|
+
ignoreUserCount: number;
|
|
3863
|
+
/**
|
|
3864
|
+
* Window in minutes over which `ignoreUserCount` is measured. Maximum is 7 days.
|
|
3865
|
+
*/
|
|
3866
|
+
ignoreUserWindow: number;
|
|
3867
|
+
/**
|
|
3868
|
+
* Snooze the issue for this many minutes.
|
|
3869
|
+
*/
|
|
3870
|
+
snoozeDuration: number | null;
|
|
3796
3871
|
};
|
|
3797
3872
|
export type InCommitValidator = {
|
|
3798
3873
|
/**
|
|
@@ -4034,9 +4109,12 @@ export type IssueEventDetailsResponse = {
|
|
|
4034
4109
|
previousEventID: string | null;
|
|
4035
4110
|
/**
|
|
4036
4111
|
* The ``formatted`` field the mixin adds to a response when ``?llmFormat`` is requested.
|
|
4112
|
+
*
|
|
4113
|
+
* ``content`` is text for the text formats and a serialized JSON object for ``json``, so the
|
|
4114
|
+
* response shape is the same whichever format a caller asks for.
|
|
4037
4115
|
*/
|
|
4038
4116
|
formatted?: {
|
|
4039
|
-
format: 'markdown' | 'xml';
|
|
4117
|
+
format: 'markdown' | 'xml' | 'json';
|
|
4040
4118
|
content: string;
|
|
4041
4119
|
};
|
|
4042
4120
|
};
|
|
@@ -4588,6 +4666,34 @@ export type ListOrgTeamResponse = Array<{
|
|
|
4588
4666
|
status: string;
|
|
4589
4667
|
}>;
|
|
4590
4668
|
}>;
|
|
4669
|
+
export type ListOrganizationAiConversationsResponse = Array<{
|
|
4670
|
+
conversationId: string;
|
|
4671
|
+
title: string | null;
|
|
4672
|
+
projectId: number | null;
|
|
4673
|
+
flow: Array<string>;
|
|
4674
|
+
errors: number;
|
|
4675
|
+
llmCalls: number;
|
|
4676
|
+
toolCalls: number;
|
|
4677
|
+
totalTokens: number;
|
|
4678
|
+
inputTokens: number;
|
|
4679
|
+
outputTokens: number;
|
|
4680
|
+
totalCost: number;
|
|
4681
|
+
generationDuration: number;
|
|
4682
|
+
startTimestamp: number;
|
|
4683
|
+
endTimestamp: number;
|
|
4684
|
+
traceCount: number;
|
|
4685
|
+
traceIds: Array<string>;
|
|
4686
|
+
firstInput: string | null;
|
|
4687
|
+
lastOutput: string | null;
|
|
4688
|
+
user: {
|
|
4689
|
+
id: string | null;
|
|
4690
|
+
email: string | null;
|
|
4691
|
+
username: string | null;
|
|
4692
|
+
ip_address: string | null;
|
|
4693
|
+
} | null;
|
|
4694
|
+
toolNames: Array<string>;
|
|
4695
|
+
toolErrors: number;
|
|
4696
|
+
}>;
|
|
4591
4697
|
export type ListOrganizationClientKeysResponse = Array<{
|
|
4592
4698
|
id: string;
|
|
4593
4699
|
name: string;
|
|
@@ -5748,6 +5854,35 @@ export type Monitor = {
|
|
|
5748
5854
|
email?: string;
|
|
5749
5855
|
};
|
|
5750
5856
|
};
|
|
5857
|
+
export type MonitorAlertRuleTargetValidator = {
|
|
5858
|
+
/**
|
|
5859
|
+
* ID of target object
|
|
5860
|
+
*/
|
|
5861
|
+
target_identifier: number;
|
|
5862
|
+
/**
|
|
5863
|
+
* One of [Member, Team]
|
|
5864
|
+
*/
|
|
5865
|
+
target_type: string;
|
|
5866
|
+
};
|
|
5867
|
+
export type MonitorAlertRuleValidator = {
|
|
5868
|
+
/**
|
|
5869
|
+
* Name of the environment
|
|
5870
|
+
*/
|
|
5871
|
+
environment?: string | null;
|
|
5872
|
+
/**
|
|
5873
|
+
* Array of dictionaries with information of the user or team to be notified
|
|
5874
|
+
*/
|
|
5875
|
+
targets: Array<{
|
|
5876
|
+
/**
|
|
5877
|
+
* ID of target object
|
|
5878
|
+
*/
|
|
5879
|
+
target_identifier: number;
|
|
5880
|
+
/**
|
|
5881
|
+
* One of [Member, Team]
|
|
5882
|
+
*/
|
|
5883
|
+
target_type: string;
|
|
5884
|
+
}>;
|
|
5885
|
+
};
|
|
5751
5886
|
export type MonitorList = Array<{
|
|
5752
5887
|
alertRule?: {
|
|
5753
5888
|
targets: Array<{
|
|
@@ -6511,6 +6646,28 @@ export type MonitorValidator = {
|
|
|
6511
6646
|
* Disable creation of monitor incidents
|
|
6512
6647
|
*/
|
|
6513
6648
|
is_muted?: boolean;
|
|
6649
|
+
/**
|
|
6650
|
+
* Alert rule configuration created alongside the monitor.
|
|
6651
|
+
*/
|
|
6652
|
+
alert_rule?: {
|
|
6653
|
+
/**
|
|
6654
|
+
* Name of the environment
|
|
6655
|
+
*/
|
|
6656
|
+
environment?: string | null;
|
|
6657
|
+
/**
|
|
6658
|
+
* Array of dictionaries with information of the user or team to be notified
|
|
6659
|
+
*/
|
|
6660
|
+
targets: Array<{
|
|
6661
|
+
/**
|
|
6662
|
+
* ID of target object
|
|
6663
|
+
*/
|
|
6664
|
+
target_identifier: number;
|
|
6665
|
+
/**
|
|
6666
|
+
* One of [Member, Team]
|
|
6667
|
+
*/
|
|
6668
|
+
target_type: string;
|
|
6669
|
+
}>;
|
|
6670
|
+
};
|
|
6514
6671
|
};
|
|
6515
6672
|
/**
|
|
6516
6673
|
* Django Rest Framework serializer for incoming NotificationAction API payloads
|
|
@@ -6557,6 +6714,14 @@ export type NotificationAction = {
|
|
|
6557
6714
|
* List of project IDs or slugs that the Notification Action is created for.
|
|
6558
6715
|
*/
|
|
6559
6716
|
projects?: Array<string>;
|
|
6717
|
+
/**
|
|
6718
|
+
* ID of the custom integration to notify, when the target is a Sentry app.
|
|
6719
|
+
*/
|
|
6720
|
+
sentry_app_id?: number;
|
|
6721
|
+
/**
|
|
6722
|
+
* How the notification target is addressed.
|
|
6723
|
+
*/
|
|
6724
|
+
target_type?: string;
|
|
6560
6725
|
};
|
|
6561
6726
|
export type OrgReleaseResponse = {
|
|
6562
6727
|
ref?: string | null;
|
|
@@ -6876,6 +7041,10 @@ export type OrganizationDetailsPut = {
|
|
|
6876
7041
|
* Specify `true` to restore an organization that is pending deletion.
|
|
6877
7042
|
*/
|
|
6878
7043
|
cancelDeletion?: boolean;
|
|
7044
|
+
/**
|
|
7045
|
+
* Deprecated. Response-time threshold in milliseconds previously used to compute Apdex.
|
|
7046
|
+
*/
|
|
7047
|
+
apdexThreshold?: number;
|
|
6879
7048
|
};
|
|
6880
7049
|
export type OrganizationEnvironmentResponse = Array<{
|
|
6881
7050
|
id: string;
|
|
@@ -7379,6 +7548,17 @@ export type OrganizationMemberRequest = {
|
|
|
7379
7548
|
* The email address to send the invitation to.
|
|
7380
7549
|
*/
|
|
7381
7550
|
email: string;
|
|
7551
|
+
/**
|
|
7552
|
+
* Deprecated, use `orgRole`. The organization-level role to assign.
|
|
7553
|
+
*
|
|
7554
|
+
* * `member` - Member
|
|
7555
|
+
* * `admin` - Admin
|
|
7556
|
+
* * `manager` - Manager
|
|
7557
|
+
* * `owner` - Owner
|
|
7558
|
+
*
|
|
7559
|
+
* @deprecated
|
|
7560
|
+
*/
|
|
7561
|
+
role?: 'member' | 'admin' | 'manager' | 'owner';
|
|
7382
7562
|
/**
|
|
7383
7563
|
* The organization-level role of the new member. Roles include:
|
|
7384
7564
|
*
|
|
@@ -7395,6 +7575,12 @@ export type OrganizationMemberRequest = {
|
|
|
7395
7575
|
*
|
|
7396
7576
|
*/
|
|
7397
7577
|
orgRole?: 'billing' | 'member' | 'manager' | 'owner' | 'admin';
|
|
7578
|
+
/**
|
|
7579
|
+
* Deprecated, use `teamRoles`. Slugs of teams to add the member to.
|
|
7580
|
+
*
|
|
7581
|
+
* @deprecated
|
|
7582
|
+
*/
|
|
7583
|
+
teams?: Array<unknown>;
|
|
7398
7584
|
/**
|
|
7399
7585
|
* The team and team-roles assigned to the member. Team roles can be either:
|
|
7400
7586
|
* - `contributor` - Can view and act on issues. Depending on organization settings, they can also add team members.
|
|
@@ -7407,6 +7593,10 @@ export type OrganizationMemberRequest = {
|
|
|
7407
7593
|
* Whether or not to re-invite a user who has already been invited to the organization. Defaults to True.
|
|
7408
7594
|
*/
|
|
7409
7595
|
reinvite?: boolean;
|
|
7596
|
+
/**
|
|
7597
|
+
* Reissue the invite token, invalidating any previously sent invite link.
|
|
7598
|
+
*/
|
|
7599
|
+
regenerate?: boolean;
|
|
7410
7600
|
};
|
|
7411
7601
|
/**
|
|
7412
7602
|
* Conforming to the SCIM RFC, this represents a Sentry Org Member
|
|
@@ -7653,6 +7843,18 @@ export type OrganizationRelease = {
|
|
|
7653
7843
|
type: string;
|
|
7654
7844
|
}> | null;
|
|
7655
7845
|
}>;
|
|
7846
|
+
/**
|
|
7847
|
+
* The status of the release. Can be `open` or `archived`.
|
|
7848
|
+
*/
|
|
7849
|
+
status?: string;
|
|
7850
|
+
/**
|
|
7851
|
+
* Deprecated, use `commits`. Head commits to associate with the release.
|
|
7852
|
+
*/
|
|
7853
|
+
headCommits?: Array<{
|
|
7854
|
+
currentId: string;
|
|
7855
|
+
repository: string;
|
|
7856
|
+
previousId?: string | null;
|
|
7857
|
+
}>;
|
|
7656
7858
|
/**
|
|
7657
7859
|
* An optional way to indicate the start and end commits for each repository included in a release. Head commits must include parameters ``repository`` and ``commit`` (the HEAD SHA). For GitLab repositories, please use the Group name instead of the slug. They can optionally include ``previousCommit`` (the SHA of the HEAD of the previous release), which should be specified if this is the first time you've sent commit data.
|
|
7658
7860
|
*/
|
|
@@ -8216,10 +8418,121 @@ export type OutgoingNotificationAction = {
|
|
|
8216
8418
|
targetDisplay: string | null;
|
|
8217
8419
|
};
|
|
8218
8420
|
export type ProjectAdmin = {
|
|
8421
|
+
/**
|
|
8422
|
+
* Minimum time in seconds to wait before sending an issue digest email.
|
|
8423
|
+
*/
|
|
8424
|
+
digestsMinDelay: number;
|
|
8425
|
+
/**
|
|
8426
|
+
* Maximum time in seconds to wait before sending an issue digest email.
|
|
8427
|
+
*/
|
|
8428
|
+
digestsMaxDelay: number;
|
|
8429
|
+
/**
|
|
8430
|
+
* Token sent with security reports (CSP, Expect-CT, HPKP) so Sentry can verify their origin.
|
|
8431
|
+
*/
|
|
8432
|
+
securityToken: string;
|
|
8433
|
+
/**
|
|
8434
|
+
* Name of the header carrying the security token on inbound security reports.
|
|
8435
|
+
*/
|
|
8436
|
+
securityTokenHeader: string;
|
|
8219
8437
|
/**
|
|
8220
8438
|
* Enables starring the project within the projects tab. Can be updated with **`project:read`** permission.
|
|
8221
8439
|
*/
|
|
8222
8440
|
isBookmarked?: boolean;
|
|
8441
|
+
/**
|
|
8442
|
+
* How aggressively Seer runs Autofix on new issues. Can be updated with **`project:read`** permission.
|
|
8443
|
+
*
|
|
8444
|
+
* * `off`
|
|
8445
|
+
* * `super_low`
|
|
8446
|
+
* * `low`
|
|
8447
|
+
* * `medium`
|
|
8448
|
+
* * `high`
|
|
8449
|
+
* * `always`
|
|
8450
|
+
*/
|
|
8451
|
+
autofixAutomationTuning?: 'off' | 'super_low' | 'low' | 'medium' | 'high' | 'always';
|
|
8452
|
+
/**
|
|
8453
|
+
* Let Seer scan new issues automatically. Can be updated with **`project:read`** permission.
|
|
8454
|
+
*/
|
|
8455
|
+
seerScannerAutomation?: boolean;
|
|
8456
|
+
/**
|
|
8457
|
+
* Enable preprod size status checks. Can be updated with **`project:read`** permission.
|
|
8458
|
+
*/
|
|
8459
|
+
preprodSizeStatusChecksEnabled?: boolean;
|
|
8460
|
+
/**
|
|
8461
|
+
* Rules controlling when preprod size status checks fail. Can be updated with **`project:read`** permission.
|
|
8462
|
+
*/
|
|
8463
|
+
preprodSizeStatusChecksRules?: {
|
|
8464
|
+
[key: string]: unknown;
|
|
8465
|
+
};
|
|
8466
|
+
/**
|
|
8467
|
+
* Enable preprod size PR comments. Can be updated with **`project:read`** permission.
|
|
8468
|
+
*/
|
|
8469
|
+
preprodSizePrCommentsEnabled?: boolean;
|
|
8470
|
+
/**
|
|
8471
|
+
* Rules controlling which preprod size changes are posted as PR comments. Can be updated with **`project:read`** permission.
|
|
8472
|
+
*/
|
|
8473
|
+
preprodSizePrCommentsRules?: {
|
|
8474
|
+
[key: string]: unknown;
|
|
8475
|
+
};
|
|
8476
|
+
/**
|
|
8477
|
+
* Enable preprod snapshot status checks.
|
|
8478
|
+
*/
|
|
8479
|
+
preprodSnapshotStatusChecksEnabled?: boolean;
|
|
8480
|
+
/**
|
|
8481
|
+
* Fail the preprod snapshot status check when snapshots are added.
|
|
8482
|
+
*/
|
|
8483
|
+
preprodSnapshotStatusChecksFailOnAdded?: boolean;
|
|
8484
|
+
/**
|
|
8485
|
+
* Fail the preprod snapshot status check when snapshots are removed.
|
|
8486
|
+
*/
|
|
8487
|
+
preprodSnapshotStatusChecksFailOnRemoved?: boolean;
|
|
8488
|
+
/**
|
|
8489
|
+
* Fail the preprod snapshot status check when snapshots change.
|
|
8490
|
+
*/
|
|
8491
|
+
preprodSnapshotStatusChecksFailOnChanged?: boolean;
|
|
8492
|
+
/**
|
|
8493
|
+
* Fail the preprod snapshot status check when snapshots are renamed.
|
|
8494
|
+
*/
|
|
8495
|
+
preprodSnapshotStatusChecksFailOnRenamed?: boolean;
|
|
8496
|
+
/**
|
|
8497
|
+
* Enable preprod size analysis. Can be updated with **`project:read`** permission.
|
|
8498
|
+
*/
|
|
8499
|
+
preprodSizeEnabledByCustomer?: boolean | null;
|
|
8500
|
+
/**
|
|
8501
|
+
* Enable preprod build distribution. Can be updated with **`project:read`** permission.
|
|
8502
|
+
*/
|
|
8503
|
+
preprodDistributionEnabledByCustomer?: boolean | null;
|
|
8504
|
+
/**
|
|
8505
|
+
* Post preprod distribution updates as PR comments. Can be updated with **`project:read`** permission.
|
|
8506
|
+
*/
|
|
8507
|
+
preprodDistributionPrCommentsEnabledByCustomer?: boolean | null;
|
|
8508
|
+
/**
|
|
8509
|
+
* Post preprod snapshot changes as PR comments.
|
|
8510
|
+
*/
|
|
8511
|
+
preprodSnapshotPrCommentsEnabled?: boolean | null;
|
|
8512
|
+
/**
|
|
8513
|
+
* Include added snapshots in preprod snapshot PR comments.
|
|
8514
|
+
*/
|
|
8515
|
+
preprodSnapshotPrCommentsPostOnAdded?: boolean | null;
|
|
8516
|
+
/**
|
|
8517
|
+
* Include removed snapshots in preprod snapshot PR comments.
|
|
8518
|
+
*/
|
|
8519
|
+
preprodSnapshotPrCommentsPostOnRemoved?: boolean | null;
|
|
8520
|
+
/**
|
|
8521
|
+
* Include changed snapshots in preprod snapshot PR comments.
|
|
8522
|
+
*/
|
|
8523
|
+
preprodSnapshotPrCommentsPostOnChanged?: boolean | null;
|
|
8524
|
+
/**
|
|
8525
|
+
* Include renamed snapshots in preprod snapshot PR comments.
|
|
8526
|
+
*/
|
|
8527
|
+
preprodSnapshotPrCommentsPostOnRenamed?: boolean | null;
|
|
8528
|
+
/**
|
|
8529
|
+
* Query selecting which preprod builds are size-analyzed. Can be updated with **`project:read`** permission.
|
|
8530
|
+
*/
|
|
8531
|
+
preprodSizeEnabledQuery?: string | null;
|
|
8532
|
+
/**
|
|
8533
|
+
* Query selecting which preprod builds are distributed. Can be updated with **`project:read`** permission.
|
|
8534
|
+
*/
|
|
8535
|
+
preprodDistributionEnabledQuery?: string | null;
|
|
8223
8536
|
/**
|
|
8224
8537
|
* The name for the project
|
|
8225
8538
|
*/
|
|
@@ -8261,14 +8574,124 @@ export type ProjectAdmin = {
|
|
|
8261
8574
|
* E.g. `['release', 'environment']`
|
|
8262
8575
|
*/
|
|
8263
8576
|
highlightTags?: Array<string>;
|
|
8577
|
+
/**
|
|
8578
|
+
* Verify SSL certificates when delivering outbound webhooks and service hooks.
|
|
8579
|
+
*/
|
|
8580
|
+
verifySSL?: boolean;
|
|
8581
|
+
/**
|
|
8582
|
+
* Environment selected by default when viewing this project.
|
|
8583
|
+
*/
|
|
8584
|
+
defaultEnvironment?: string | null;
|
|
8585
|
+
/**
|
|
8586
|
+
* Remove known sensitive values from events before storing them.
|
|
8587
|
+
*/
|
|
8588
|
+
dataScrubber?: boolean;
|
|
8589
|
+
/**
|
|
8590
|
+
* Also scrub Sentry's built-in list of sensitive field names.
|
|
8591
|
+
*/
|
|
8592
|
+
dataScrubberDefaults?: boolean;
|
|
8593
|
+
/**
|
|
8594
|
+
* Additional field names to scrub from events, beyond the defaults.
|
|
8595
|
+
*/
|
|
8596
|
+
sensitiveFields?: Array<string>;
|
|
8597
|
+
/**
|
|
8598
|
+
* Field names to exempt from scrubbing, including the built-in defaults.
|
|
8599
|
+
*/
|
|
8600
|
+
safeFields?: Array<string>;
|
|
8601
|
+
/**
|
|
8602
|
+
* Number of native crash report files to store per issue. Use `-1` for unlimited or `0` to store none.
|
|
8603
|
+
*/
|
|
8604
|
+
storeCrashReports?: number | null;
|
|
8605
|
+
/**
|
|
8606
|
+
* Advanced data scrubbing rules, as a JSON string, applied before events are stored.
|
|
8607
|
+
*/
|
|
8608
|
+
relayPiiConfig?: string | null;
|
|
8609
|
+
/**
|
|
8610
|
+
* Identifiers of Sentry-hosted symbol sources to use when symbolicating events.
|
|
8611
|
+
*/
|
|
8612
|
+
builtinSymbolSources?: Array<string>;
|
|
8613
|
+
/**
|
|
8614
|
+
* Custom symbol sources, as a JSON string, to use when symbolicating events.
|
|
8615
|
+
*/
|
|
8616
|
+
symbolSources?: string | null;
|
|
8617
|
+
/**
|
|
8618
|
+
* Discard client IP addresses rather than storing them on events.
|
|
8619
|
+
*/
|
|
8620
|
+
scrubIPAddresses?: boolean;
|
|
8621
|
+
/**
|
|
8622
|
+
* Identifier of the grouping algorithm used to assign events to issues.
|
|
8623
|
+
*/
|
|
8624
|
+
groupingConfig?: string | null;
|
|
8625
|
+
/**
|
|
8626
|
+
* Grouping enhancement rules, as a newline-delimited config string, adjusting which stack frames contribute to an issue.
|
|
8627
|
+
*/
|
|
8628
|
+
groupingEnhancements?: string | null;
|
|
8629
|
+
/**
|
|
8630
|
+
* Fingerprinting rules, as a newline-delimited config string, controlling how events are grouped into issues.
|
|
8631
|
+
*/
|
|
8632
|
+
fingerprintingRules?: string | null;
|
|
8633
|
+
/**
|
|
8634
|
+
* Grouping algorithm run alongside the primary one during a grouping migration.
|
|
8635
|
+
*/
|
|
8636
|
+
secondaryGroupingConfig?: string | null;
|
|
8637
|
+
/**
|
|
8638
|
+
* Unix timestamp after which the secondary grouping algorithm stops running.
|
|
8639
|
+
*/
|
|
8640
|
+
secondaryGroupingExpiry?: number | null;
|
|
8641
|
+
/**
|
|
8642
|
+
* Allow Sentry to fetch source files and source maps from your servers.
|
|
8643
|
+
*/
|
|
8644
|
+
scrapeJavaScript?: boolean;
|
|
8264
8645
|
/**
|
|
8265
8646
|
* Automatically create releases from ingested events. When disabled, releases must be created manually (e.g. via the Sentry CLI).
|
|
8266
8647
|
*/
|
|
8267
8648
|
enableAutoReleaseCreation?: boolean;
|
|
8649
|
+
/**
|
|
8650
|
+
* Origins permitted to send events to this project. Use `*` to allow any.
|
|
8651
|
+
*/
|
|
8652
|
+
allowedDomains?: Array<string>;
|
|
8653
|
+
/**
|
|
8654
|
+
* ID of a project whose settings, teams, and keys should be copied into this one.
|
|
8655
|
+
*/
|
|
8656
|
+
copy_from_project?: number;
|
|
8657
|
+
/**
|
|
8658
|
+
* Target proportion of transactions to retain, from `0` to `1`. Requires manual dynamic sampling mode.
|
|
8659
|
+
*/
|
|
8660
|
+
targetSampleRate?: number;
|
|
8661
|
+
/**
|
|
8662
|
+
* Per-bias toggles adjusting which transactions dynamic sampling favors retaining.
|
|
8663
|
+
*/
|
|
8664
|
+
dynamicSamplingBiases?: Array<{
|
|
8665
|
+
/**
|
|
8666
|
+
* * `boostEnvironments`
|
|
8667
|
+
* * `boostKeyTransactions`
|
|
8668
|
+
* * `boostLatestRelease`
|
|
8669
|
+
* * `boostLowVolumeTransactions`
|
|
8670
|
+
* * `boostReplayId`
|
|
8671
|
+
* * `ignoreHealthChecks`
|
|
8672
|
+
* * `minimumSampleRate`
|
|
8673
|
+
* * `recalibrationRule`
|
|
8674
|
+
*/
|
|
8675
|
+
id: 'boostEnvironments' | 'boostKeyTransactions' | 'boostLatestRelease' | 'boostLowVolumeTransactions' | 'boostReplayId' | 'ignoreHealthChecks' | 'minimumSampleRate' | 'recalibrationRule';
|
|
8676
|
+
active?: boolean;
|
|
8677
|
+
}>;
|
|
8678
|
+
/**
|
|
8679
|
+
* Fetch screenshots attached to console crash reports. Requires the Tempest feature.
|
|
8680
|
+
*/
|
|
8681
|
+
tempestFetchScreenshots?: boolean;
|
|
8268
8682
|
/**
|
|
8269
8683
|
* Enable on-demand source context fetching from SCM integrations for stack traces.
|
|
8270
8684
|
*/
|
|
8271
8685
|
scmSourceContextEnabled?: boolean;
|
|
8686
|
+
/**
|
|
8687
|
+
* The role required to download debug information files, ProGuard mappings and source maps. If not set, inherits from organization setting.
|
|
8688
|
+
*
|
|
8689
|
+
* * `member` - Member
|
|
8690
|
+
* * `admin` - Admin
|
|
8691
|
+
* * `manager` - Manager
|
|
8692
|
+
* * `owner` - Owner
|
|
8693
|
+
*/
|
|
8694
|
+
debugFilesRole?: 'member' | 'admin' | 'manager' | 'owner' | null;
|
|
8272
8695
|
};
|
|
8273
8696
|
export type ProjectEventDetailsResponse = {
|
|
8274
8697
|
id: string;
|
|
@@ -8967,6 +9390,16 @@ export type ReplayDeletionJobCreateData = {
|
|
|
8967
9390
|
environments: Array<string>;
|
|
8968
9391
|
query: string | null;
|
|
8969
9392
|
};
|
|
9393
|
+
/**
|
|
9394
|
+
* Span page plus conversation-level metadata.
|
|
9395
|
+
*/
|
|
9396
|
+
export type RetrieveOrganizationAiConversationResponse = {
|
|
9397
|
+
conversationId: string;
|
|
9398
|
+
title: string | null;
|
|
9399
|
+
spans: Array<{
|
|
9400
|
+
[key: string]: unknown;
|
|
9401
|
+
}>;
|
|
9402
|
+
};
|
|
8970
9403
|
export type ScimListResponseEnvelopeScimMemberIndexResponse = {
|
|
8971
9404
|
schemas: Array<string>;
|
|
8972
9405
|
totalResults: number;
|
|
@@ -9055,6 +9488,10 @@ export type ScimPatchRequest = {
|
|
|
9055
9488
|
value: unknown;
|
|
9056
9489
|
path?: string;
|
|
9057
9490
|
}>;
|
|
9491
|
+
/**
|
|
9492
|
+
* SCIM schema URIs identifying the request format. Must be the PatchOp schema.
|
|
9493
|
+
*/
|
|
9494
|
+
schemas?: Array<string>;
|
|
9058
9495
|
};
|
|
9059
9496
|
export type ScimTeamPatchOperation = {
|
|
9060
9497
|
op: string;
|
|
@@ -9064,6 +9501,10 @@ export type ScimTeamPatchOperation = {
|
|
|
9064
9501
|
path?: string;
|
|
9065
9502
|
};
|
|
9066
9503
|
export type ScimTeamPatchRequest = {
|
|
9504
|
+
/**
|
|
9505
|
+
* SCIM schema URIs identifying the request format. Must be the PatchOp schema.
|
|
9506
|
+
*/
|
|
9507
|
+
schemas: Array<string>;
|
|
9067
9508
|
/**
|
|
9068
9509
|
* The list of operations to perform. Valid operations are:
|
|
9069
9510
|
* * Renaming a team:
|
|
@@ -9196,6 +9637,10 @@ export type SentryAppParser = {
|
|
|
9196
9637
|
* Webhook events the custom integration is subscribed to.
|
|
9197
9638
|
*/
|
|
9198
9639
|
events?: Array<string> | null;
|
|
9640
|
+
/**
|
|
9641
|
+
* The list of features that the custom integration supports.
|
|
9642
|
+
*/
|
|
9643
|
+
features?: Array<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | ''> | null;
|
|
9199
9644
|
/**
|
|
9200
9645
|
* The UI components schema, used to render the custom integration's configuration UI elements. See our [schema docs](https://docs.sentry.io/organization/integrations/integration-platform/ui-components/) for more information.
|
|
9201
9646
|
*/
|
|
@@ -11102,6 +11547,17 @@ export type OrganizationMemberRequestWritable = {
|
|
|
11102
11547
|
* The email address to send the invitation to.
|
|
11103
11548
|
*/
|
|
11104
11549
|
email: string;
|
|
11550
|
+
/**
|
|
11551
|
+
* Deprecated, use `orgRole`. The organization-level role to assign.
|
|
11552
|
+
*
|
|
11553
|
+
* * `member` - Member
|
|
11554
|
+
* * `admin` - Admin
|
|
11555
|
+
* * `manager` - Manager
|
|
11556
|
+
* * `owner` - Owner
|
|
11557
|
+
*
|
|
11558
|
+
* @deprecated
|
|
11559
|
+
*/
|
|
11560
|
+
role?: 'member' | 'admin' | 'manager' | 'owner';
|
|
11105
11561
|
/**
|
|
11106
11562
|
* The organization-level role of the new member. Roles include:
|
|
11107
11563
|
*
|
|
@@ -11118,6 +11574,12 @@ export type OrganizationMemberRequestWritable = {
|
|
|
11118
11574
|
*
|
|
11119
11575
|
*/
|
|
11120
11576
|
orgRole?: 'billing' | 'member' | 'manager' | 'owner' | 'admin';
|
|
11577
|
+
/**
|
|
11578
|
+
* Deprecated, use `teamRoles`. Slugs of teams to add the member to.
|
|
11579
|
+
*
|
|
11580
|
+
* @deprecated
|
|
11581
|
+
*/
|
|
11582
|
+
teams?: Array<unknown>;
|
|
11121
11583
|
/**
|
|
11122
11584
|
* The team and team-roles assigned to the member. Team roles can be either:
|
|
11123
11585
|
* - `contributor` - Can view and act on issues. Depending on organization settings, they can also add team members.
|
|
@@ -11134,6 +11596,10 @@ export type OrganizationMemberRequestWritable = {
|
|
|
11134
11596
|
* Whether or not to re-invite a user who has already been invited to the organization. Defaults to True.
|
|
11135
11597
|
*/
|
|
11136
11598
|
reinvite?: boolean;
|
|
11599
|
+
/**
|
|
11600
|
+
* Reissue the invite token, invalidating any previously sent invite link.
|
|
11601
|
+
*/
|
|
11602
|
+
regenerate?: boolean;
|
|
11137
11603
|
};
|
|
11138
11604
|
export type ListOrganizationsData = {
|
|
11139
11605
|
body?: never;
|
|
@@ -11486,6 +11952,10 @@ export type UpdateOrganizationData = {
|
|
|
11486
11952
|
* Specify `true` to restore an organization that is pending deletion.
|
|
11487
11953
|
*/
|
|
11488
11954
|
cancelDeletion?: boolean;
|
|
11955
|
+
/**
|
|
11956
|
+
* Deprecated. Response-time threshold in milliseconds previously used to compute Apdex.
|
|
11957
|
+
*/
|
|
11958
|
+
apdexThreshold?: number;
|
|
11489
11959
|
};
|
|
11490
11960
|
path: {
|
|
11491
11961
|
/**
|
|
@@ -11814,6 +12284,198 @@ export type UpdateOrganizationResponses = {
|
|
|
11814
12284
|
};
|
|
11815
12285
|
};
|
|
11816
12286
|
export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
|
|
12287
|
+
export type ListOrganizationAiConversationsData = {
|
|
12288
|
+
body?: never;
|
|
12289
|
+
path: {
|
|
12290
|
+
/**
|
|
12291
|
+
* The ID or slug of the organization the resource belongs to.
|
|
12292
|
+
*/
|
|
12293
|
+
organization_id_or_slug: string;
|
|
12294
|
+
};
|
|
12295
|
+
query?: {
|
|
12296
|
+
/**
|
|
12297
|
+
* 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.
|
|
12298
|
+
* For example, the following are valid parameters:
|
|
12299
|
+
* - `/?project=1234&project=56789`
|
|
12300
|
+
* - `/?project=android&project=javascript-react`
|
|
12301
|
+
* - `/?project=-1`
|
|
12302
|
+
*
|
|
12303
|
+
*/
|
|
12304
|
+
project?: Array<number | string>;
|
|
12305
|
+
/**
|
|
12306
|
+
* The name of environments to filter by.
|
|
12307
|
+
*/
|
|
12308
|
+
environment?: Array<string>;
|
|
12309
|
+
/**
|
|
12310
|
+
* The period of time for the query, will override the start & end parameters, a number followed by one of:
|
|
12311
|
+
* - `d` for days
|
|
12312
|
+
* - `h` for hours
|
|
12313
|
+
* - `m` for minutes
|
|
12314
|
+
* - `s` for seconds
|
|
12315
|
+
* - `w` for weeks
|
|
12316
|
+
*
|
|
12317
|
+
* For example, `24h`, to mean query data starting from 24 hours ago to now.
|
|
12318
|
+
*/
|
|
12319
|
+
statsPeriod?: string;
|
|
12320
|
+
/**
|
|
12321
|
+
* The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
|
|
12322
|
+
*/
|
|
12323
|
+
start?: string;
|
|
12324
|
+
/**
|
|
12325
|
+
* The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
|
|
12326
|
+
*/
|
|
12327
|
+
end?: string;
|
|
12328
|
+
/**
|
|
12329
|
+
* Sentry search syntax matched against spans. A conversation is returned when any span in it matches. Summary fields include all spans in selected projects and time range, not only matching spans.
|
|
12330
|
+
*/
|
|
12331
|
+
query?: string;
|
|
12332
|
+
/**
|
|
12333
|
+
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
12334
|
+
*/
|
|
12335
|
+
cursor?: string;
|
|
12336
|
+
/**
|
|
12337
|
+
* Number of conversations to return per page. Defaults to 10; maximum is 100.
|
|
12338
|
+
*/
|
|
12339
|
+
per_page?: number;
|
|
12340
|
+
};
|
|
12341
|
+
url: '/api/0/organizations/{organization_id_or_slug}/agents/conversations/';
|
|
12342
|
+
};
|
|
12343
|
+
export type ListOrganizationAiConversationsErrors = {
|
|
12344
|
+
/**
|
|
12345
|
+
* Bad Request
|
|
12346
|
+
*/
|
|
12347
|
+
400: unknown;
|
|
12348
|
+
/**
|
|
12349
|
+
* Unauthorized
|
|
12350
|
+
*/
|
|
12351
|
+
401: unknown;
|
|
12352
|
+
/**
|
|
12353
|
+
* Forbidden
|
|
12354
|
+
*/
|
|
12355
|
+
403: unknown;
|
|
12356
|
+
/**
|
|
12357
|
+
* Not Found
|
|
12358
|
+
*/
|
|
12359
|
+
404: unknown;
|
|
12360
|
+
};
|
|
12361
|
+
export type ListOrganizationAiConversationsResponses = {
|
|
12362
|
+
200: Array<{
|
|
12363
|
+
conversationId: string;
|
|
12364
|
+
title: string | null;
|
|
12365
|
+
projectId: number | null;
|
|
12366
|
+
flow: Array<string>;
|
|
12367
|
+
errors: number;
|
|
12368
|
+
llmCalls: number;
|
|
12369
|
+
toolCalls: number;
|
|
12370
|
+
totalTokens: number;
|
|
12371
|
+
inputTokens: number;
|
|
12372
|
+
outputTokens: number;
|
|
12373
|
+
totalCost: number;
|
|
12374
|
+
generationDuration: number;
|
|
12375
|
+
startTimestamp: number;
|
|
12376
|
+
endTimestamp: number;
|
|
12377
|
+
traceCount: number;
|
|
12378
|
+
traceIds: Array<string>;
|
|
12379
|
+
firstInput: string | null;
|
|
12380
|
+
lastOutput: string | null;
|
|
12381
|
+
user: {
|
|
12382
|
+
id: string | null;
|
|
12383
|
+
email: string | null;
|
|
12384
|
+
username: string | null;
|
|
12385
|
+
ip_address: string | null;
|
|
12386
|
+
} | null;
|
|
12387
|
+
toolNames: Array<string>;
|
|
12388
|
+
toolErrors: number;
|
|
12389
|
+
}>;
|
|
12390
|
+
};
|
|
12391
|
+
export type ListOrganizationAiConversationsResponse2 = ListOrganizationAiConversationsResponses[keyof ListOrganizationAiConversationsResponses];
|
|
12392
|
+
export type RetrieveOrganizationAiConversationData = {
|
|
12393
|
+
body?: never;
|
|
12394
|
+
path: {
|
|
12395
|
+
/**
|
|
12396
|
+
* The ID or slug of the organization the resource belongs to.
|
|
12397
|
+
*/
|
|
12398
|
+
organization_id_or_slug: string;
|
|
12399
|
+
/**
|
|
12400
|
+
* Conversation ID recorded in `gen_ai.conversation.id`.
|
|
12401
|
+
*/
|
|
12402
|
+
conversation_id: string;
|
|
12403
|
+
};
|
|
12404
|
+
query?: {
|
|
12405
|
+
/**
|
|
12406
|
+
* 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.
|
|
12407
|
+
* For example, the following are valid parameters:
|
|
12408
|
+
* - `/?project=1234&project=56789`
|
|
12409
|
+
* - `/?project=android&project=javascript-react`
|
|
12410
|
+
* - `/?project=-1`
|
|
12411
|
+
*
|
|
12412
|
+
*/
|
|
12413
|
+
project?: Array<number | string>;
|
|
12414
|
+
/**
|
|
12415
|
+
* The name of environments to filter by.
|
|
12416
|
+
*/
|
|
12417
|
+
environment?: Array<string>;
|
|
12418
|
+
/**
|
|
12419
|
+
* The period of time for the query, will override the start & end parameters, a number followed by one of:
|
|
12420
|
+
* - `d` for days
|
|
12421
|
+
* - `h` for hours
|
|
12422
|
+
* - `m` for minutes
|
|
12423
|
+
* - `s` for seconds
|
|
12424
|
+
* - `w` for weeks
|
|
12425
|
+
*
|
|
12426
|
+
* For example, `24h`, to mean query data starting from 24 hours ago to now.
|
|
12427
|
+
*/
|
|
12428
|
+
statsPeriod?: string;
|
|
12429
|
+
/**
|
|
12430
|
+
* The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
|
|
12431
|
+
*/
|
|
12432
|
+
start?: string;
|
|
12433
|
+
/**
|
|
12434
|
+
* The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
|
|
12435
|
+
*/
|
|
12436
|
+
end?: string;
|
|
12437
|
+
/**
|
|
12438
|
+
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
12439
|
+
*/
|
|
12440
|
+
cursor?: string;
|
|
12441
|
+
/**
|
|
12442
|
+
* Number of spans to return per page. Defaults to 100; maximum is 1,000.
|
|
12443
|
+
*/
|
|
12444
|
+
per_page?: number;
|
|
12445
|
+
};
|
|
12446
|
+
url: '/api/0/organizations/{organization_id_or_slug}/agents/conversations/{conversation_id}/';
|
|
12447
|
+
};
|
|
12448
|
+
export type RetrieveOrganizationAiConversationErrors = {
|
|
12449
|
+
/**
|
|
12450
|
+
* Bad Request
|
|
12451
|
+
*/
|
|
12452
|
+
400: unknown;
|
|
12453
|
+
/**
|
|
12454
|
+
* Unauthorized
|
|
12455
|
+
*/
|
|
12456
|
+
401: unknown;
|
|
12457
|
+
/**
|
|
12458
|
+
* Forbidden
|
|
12459
|
+
*/
|
|
12460
|
+
403: unknown;
|
|
12461
|
+
/**
|
|
12462
|
+
* Not Found
|
|
12463
|
+
*/
|
|
12464
|
+
404: unknown;
|
|
12465
|
+
};
|
|
12466
|
+
export type RetrieveOrganizationAiConversationResponses = {
|
|
12467
|
+
/**
|
|
12468
|
+
* Span page plus conversation-level metadata.
|
|
12469
|
+
*/
|
|
12470
|
+
200: {
|
|
12471
|
+
conversationId: string;
|
|
12472
|
+
title: string | null;
|
|
12473
|
+
spans: Array<{
|
|
12474
|
+
[key: string]: unknown;
|
|
12475
|
+
}>;
|
|
12476
|
+
};
|
|
12477
|
+
};
|
|
12478
|
+
export type RetrieveOrganizationAiConversationResponse2 = RetrieveOrganizationAiConversationResponses[keyof RetrieveOrganizationAiConversationResponses];
|
|
11817
12479
|
export type GetOrganizationConfigIntegrationsData = {
|
|
11818
12480
|
body?: never;
|
|
11819
12481
|
path: {
|
|
@@ -13559,6 +14221,7 @@ export type ListOrganizationDiscoverSavedQueriesResponses = {
|
|
|
13559
14221
|
exploreQuery?: {
|
|
13560
14222
|
[key: string]: unknown;
|
|
13561
14223
|
};
|
|
14224
|
+
lastVisited?: string;
|
|
13562
14225
|
id: string;
|
|
13563
14226
|
name: string;
|
|
13564
14227
|
projects: Array<number>;
|
|
@@ -13665,6 +14328,30 @@ export type CreateOrganizationDiscoverSavedQueryData = {
|
|
|
13665
14328
|
* How to order the query results. Must be something in the `field` list, excluding equations.
|
|
13666
14329
|
*/
|
|
13667
14330
|
orderby?: string | null;
|
|
14331
|
+
/**
|
|
14332
|
+
* Time-bucket granularity in seconds for the saved query.
|
|
14333
|
+
*/
|
|
14334
|
+
rollup?: number | null;
|
|
14335
|
+
/**
|
|
14336
|
+
* Aggregate functions to apply, each as a `[function, column, alias]` triple.
|
|
14337
|
+
*/
|
|
14338
|
+
aggregations?: Array<Array<unknown>> | null;
|
|
14339
|
+
/**
|
|
14340
|
+
* Columns to group results by.
|
|
14341
|
+
*/
|
|
14342
|
+
groupby?: Array<string> | null;
|
|
14343
|
+
/**
|
|
14344
|
+
* Filter conditions, each as a `[column, operator, value]` triple.
|
|
14345
|
+
*/
|
|
14346
|
+
conditions?: Array<Array<unknown>> | null;
|
|
14347
|
+
/**
|
|
14348
|
+
* Maximum number of rows to return, from `0` to `1000`.
|
|
14349
|
+
*/
|
|
14350
|
+
limit?: number | null;
|
|
14351
|
+
/**
|
|
14352
|
+
* Saved query schema version. `1` for the legacy shape, `2` for the current one.
|
|
14353
|
+
*/
|
|
14354
|
+
version?: number | null;
|
|
13668
14355
|
/**
|
|
13669
14356
|
* The name of environments to filter by.
|
|
13670
14357
|
*/
|
|
@@ -13673,6 +14360,10 @@ export type CreateOrganizationDiscoverSavedQueryData = {
|
|
|
13673
14360
|
* Filters results by using [query syntax](/product/sentry-basics/search/).
|
|
13674
14361
|
*/
|
|
13675
14362
|
query?: string | null;
|
|
14363
|
+
/**
|
|
14364
|
+
* Rendered column widths, in the same order as the query's fields.
|
|
14365
|
+
*/
|
|
14366
|
+
widths?: Array<string> | null;
|
|
13676
14367
|
/**
|
|
13677
14368
|
* Aggregate functions to be plotted on the chart.
|
|
13678
14369
|
*/
|
|
@@ -13740,6 +14431,7 @@ export type CreateOrganizationDiscoverSavedQueryResponses = {
|
|
|
13740
14431
|
exploreQuery?: {
|
|
13741
14432
|
[key: string]: unknown;
|
|
13742
14433
|
};
|
|
14434
|
+
lastVisited?: string;
|
|
13743
14435
|
id: string;
|
|
13744
14436
|
name: string;
|
|
13745
14437
|
projects: Array<number>;
|
|
@@ -13875,6 +14567,7 @@ export type GetOrganizationDiscoverSavedQueryResponses = {
|
|
|
13875
14567
|
exploreQuery?: {
|
|
13876
14568
|
[key: string]: unknown;
|
|
13877
14569
|
};
|
|
14570
|
+
lastVisited?: string;
|
|
13878
14571
|
id: string;
|
|
13879
14572
|
name: string;
|
|
13880
14573
|
projects: Array<number>;
|
|
@@ -13981,6 +14674,30 @@ export type UpdateOrganizationDiscoverSavedQueryData = {
|
|
|
13981
14674
|
* How to order the query results. Must be something in the `field` list, excluding equations.
|
|
13982
14675
|
*/
|
|
13983
14676
|
orderby?: string | null;
|
|
14677
|
+
/**
|
|
14678
|
+
* Time-bucket granularity in seconds for the saved query.
|
|
14679
|
+
*/
|
|
14680
|
+
rollup?: number | null;
|
|
14681
|
+
/**
|
|
14682
|
+
* Aggregate functions to apply, each as a `[function, column, alias]` triple.
|
|
14683
|
+
*/
|
|
14684
|
+
aggregations?: Array<Array<unknown>> | null;
|
|
14685
|
+
/**
|
|
14686
|
+
* Columns to group results by.
|
|
14687
|
+
*/
|
|
14688
|
+
groupby?: Array<string> | null;
|
|
14689
|
+
/**
|
|
14690
|
+
* Filter conditions, each as a `[column, operator, value]` triple.
|
|
14691
|
+
*/
|
|
14692
|
+
conditions?: Array<Array<unknown>> | null;
|
|
14693
|
+
/**
|
|
14694
|
+
* Maximum number of rows to return, from `0` to `1000`.
|
|
14695
|
+
*/
|
|
14696
|
+
limit?: number | null;
|
|
14697
|
+
/**
|
|
14698
|
+
* Saved query schema version. `1` for the legacy shape, `2` for the current one.
|
|
14699
|
+
*/
|
|
14700
|
+
version?: number | null;
|
|
13984
14701
|
/**
|
|
13985
14702
|
* The name of environments to filter by.
|
|
13986
14703
|
*/
|
|
@@ -13989,6 +14706,10 @@ export type UpdateOrganizationDiscoverSavedQueryData = {
|
|
|
13989
14706
|
* Filters results by using [query syntax](/product/sentry-basics/search/).
|
|
13990
14707
|
*/
|
|
13991
14708
|
query?: string | null;
|
|
14709
|
+
/**
|
|
14710
|
+
* Rendered column widths, in the same order as the query's fields.
|
|
14711
|
+
*/
|
|
14712
|
+
widths?: Array<string> | null;
|
|
13992
14713
|
/**
|
|
13993
14714
|
* Aggregate functions to be plotted on the chart.
|
|
13994
14715
|
*/
|
|
@@ -14060,6 +14781,7 @@ export type UpdateOrganizationDiscoverSavedQueryResponses = {
|
|
|
14060
14781
|
exploreQuery?: {
|
|
14061
14782
|
[key: string]: unknown;
|
|
14062
14783
|
};
|
|
14784
|
+
lastVisited?: string;
|
|
14063
14785
|
id: string;
|
|
14064
14786
|
name: string;
|
|
14065
14787
|
projects: Array<number>;
|
|
@@ -15896,6 +16618,30 @@ export type UpdateOrganizationIssuesData = {
|
|
|
15896
16618
|
* * `high`
|
|
15897
16619
|
*/
|
|
15898
16620
|
priority: 'low' | 'medium' | 'high';
|
|
16621
|
+
/**
|
|
16622
|
+
* Ignore the issue for this many minutes.
|
|
16623
|
+
*/
|
|
16624
|
+
ignoreDuration: number;
|
|
16625
|
+
/**
|
|
16626
|
+
* Ignore the issue until it is seen this many more times.
|
|
16627
|
+
*/
|
|
16628
|
+
ignoreCount: number;
|
|
16629
|
+
/**
|
|
16630
|
+
* Window in minutes over which `ignoreCount` is measured. Maximum is 7 days.
|
|
16631
|
+
*/
|
|
16632
|
+
ignoreWindow: number;
|
|
16633
|
+
/**
|
|
16634
|
+
* Ignore the issue until it affects this many more users.
|
|
16635
|
+
*/
|
|
16636
|
+
ignoreUserCount: number;
|
|
16637
|
+
/**
|
|
16638
|
+
* Window in minutes over which `ignoreUserCount` is measured. Maximum is 7 days.
|
|
16639
|
+
*/
|
|
16640
|
+
ignoreUserWindow: number;
|
|
16641
|
+
/**
|
|
16642
|
+
* Snooze the issue for this many minutes.
|
|
16643
|
+
*/
|
|
16644
|
+
snoozeDuration: number | null;
|
|
15899
16645
|
};
|
|
15900
16646
|
path: {
|
|
15901
16647
|
/**
|
|
@@ -16013,6 +16759,10 @@ export type ListOrganizationMembersData = {
|
|
|
16013
16759
|
organization_id_or_slug: string;
|
|
16014
16760
|
};
|
|
16015
16761
|
query?: {
|
|
16762
|
+
/**
|
|
16763
|
+
* Limit results to members matching the given query. `id, `user.id`, ... are supported prefixes match on: `id`, `user.id`, `email`, `role`, `scope`, `isInvited`, `ssoLinked`, `has2fa`, `hasExternalUsers`. For example, `query=user.id:1234`. An unrecognized field returns no results.
|
|
16764
|
+
*/
|
|
16765
|
+
query?: string;
|
|
16016
16766
|
/**
|
|
16017
16767
|
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
16018
16768
|
*/
|
|
@@ -16117,6 +16867,17 @@ export type AddOrganizationMemberData = {
|
|
|
16117
16867
|
* The email address to send the invitation to.
|
|
16118
16868
|
*/
|
|
16119
16869
|
email: string;
|
|
16870
|
+
/**
|
|
16871
|
+
* Deprecated, use `orgRole`. The organization-level role to assign.
|
|
16872
|
+
*
|
|
16873
|
+
* * `member` - Member
|
|
16874
|
+
* * `admin` - Admin
|
|
16875
|
+
* * `manager` - Manager
|
|
16876
|
+
* * `owner` - Owner
|
|
16877
|
+
*
|
|
16878
|
+
* @deprecated
|
|
16879
|
+
*/
|
|
16880
|
+
role?: 'member' | 'admin' | 'manager' | 'owner';
|
|
16120
16881
|
/**
|
|
16121
16882
|
* The organization-level role of the new member. Roles include:
|
|
16122
16883
|
*
|
|
@@ -16133,6 +16894,12 @@ export type AddOrganizationMemberData = {
|
|
|
16133
16894
|
*
|
|
16134
16895
|
*/
|
|
16135
16896
|
orgRole?: 'billing' | 'member' | 'manager' | 'owner' | 'admin';
|
|
16897
|
+
/**
|
|
16898
|
+
* Deprecated, use `teamRoles`. Slugs of teams to add the member to.
|
|
16899
|
+
*
|
|
16900
|
+
* @deprecated
|
|
16901
|
+
*/
|
|
16902
|
+
teams?: Array<unknown>;
|
|
16136
16903
|
/**
|
|
16137
16904
|
* The team and team-roles assigned to the member. Team roles can be either:
|
|
16138
16905
|
* - `contributor` - Can view and act on issues. Depending on organization settings, they can also add team members.
|
|
@@ -16149,6 +16916,10 @@ export type AddOrganizationMemberData = {
|
|
|
16149
16916
|
* Whether or not to re-invite a user who has already been invited to the organization. Defaults to True.
|
|
16150
16917
|
*/
|
|
16151
16918
|
reinvite?: boolean;
|
|
16919
|
+
/**
|
|
16920
|
+
* Reissue the invite token, invalidating any previously sent invite link.
|
|
16921
|
+
*/
|
|
16922
|
+
regenerate?: boolean;
|
|
16152
16923
|
};
|
|
16153
16924
|
path: {
|
|
16154
16925
|
/**
|
|
@@ -17583,6 +18354,28 @@ export type CreateOrganizationMonitorData = {
|
|
|
17583
18354
|
* Disable creation of monitor incidents
|
|
17584
18355
|
*/
|
|
17585
18356
|
is_muted?: boolean;
|
|
18357
|
+
/**
|
|
18358
|
+
* Alert rule configuration created alongside the monitor.
|
|
18359
|
+
*/
|
|
18360
|
+
alert_rule?: {
|
|
18361
|
+
/**
|
|
18362
|
+
* Name of the environment
|
|
18363
|
+
*/
|
|
18364
|
+
environment?: string | null;
|
|
18365
|
+
/**
|
|
18366
|
+
* Array of dictionaries with information of the user or team to be notified
|
|
18367
|
+
*/
|
|
18368
|
+
targets: Array<{
|
|
18369
|
+
/**
|
|
18370
|
+
* ID of target object
|
|
18371
|
+
*/
|
|
18372
|
+
target_identifier: number;
|
|
18373
|
+
/**
|
|
18374
|
+
* One of [Member, Team]
|
|
18375
|
+
*/
|
|
18376
|
+
target_type: string;
|
|
18377
|
+
}>;
|
|
18378
|
+
};
|
|
17586
18379
|
};
|
|
17587
18380
|
path: {
|
|
17588
18381
|
/**
|
|
@@ -18550,6 +19343,28 @@ export type UpdateOrganizationMonitorData = {
|
|
|
18550
19343
|
* Disable creation of monitor incidents
|
|
18551
19344
|
*/
|
|
18552
19345
|
is_muted?: boolean;
|
|
19346
|
+
/**
|
|
19347
|
+
* Alert rule configuration created alongside the monitor.
|
|
19348
|
+
*/
|
|
19349
|
+
alert_rule?: {
|
|
19350
|
+
/**
|
|
19351
|
+
* Name of the environment
|
|
19352
|
+
*/
|
|
19353
|
+
environment?: string | null;
|
|
19354
|
+
/**
|
|
19355
|
+
* Array of dictionaries with information of the user or team to be notified
|
|
19356
|
+
*/
|
|
19357
|
+
targets: Array<{
|
|
19358
|
+
/**
|
|
19359
|
+
* ID of target object
|
|
19360
|
+
*/
|
|
19361
|
+
target_identifier: number;
|
|
19362
|
+
/**
|
|
19363
|
+
* One of [Member, Team]
|
|
19364
|
+
*/
|
|
19365
|
+
target_type: string;
|
|
19366
|
+
}>;
|
|
19367
|
+
};
|
|
18553
19368
|
};
|
|
18554
19369
|
path: {
|
|
18555
19370
|
/**
|
|
@@ -18843,6 +19658,14 @@ export type CreateOrganizationNotificationsActionData = {
|
|
|
18843
19658
|
* List of project IDs or slugs that the Notification Action is created for.
|
|
18844
19659
|
*/
|
|
18845
19660
|
projects?: Array<string>;
|
|
19661
|
+
/**
|
|
19662
|
+
* ID of the custom integration to notify, when the target is a Sentry app.
|
|
19663
|
+
*/
|
|
19664
|
+
sentry_app_id?: number;
|
|
19665
|
+
/**
|
|
19666
|
+
* How the notification target is addressed.
|
|
19667
|
+
*/
|
|
19668
|
+
target_type?: string;
|
|
18846
19669
|
};
|
|
18847
19670
|
path: {
|
|
18848
19671
|
/**
|
|
@@ -18976,6 +19799,14 @@ export type UpdateOrganizationNotificationsActionData = {
|
|
|
18976
19799
|
* List of project IDs or slugs that the Notification Action is created for.
|
|
18977
19800
|
*/
|
|
18978
19801
|
projects?: Array<string>;
|
|
19802
|
+
/**
|
|
19803
|
+
* ID of the custom integration to notify, when the target is a Sentry app.
|
|
19804
|
+
*/
|
|
19805
|
+
sentry_app_id?: number;
|
|
19806
|
+
/**
|
|
19807
|
+
* How the notification target is addressed.
|
|
19808
|
+
*/
|
|
19809
|
+
target_type?: string;
|
|
18979
19810
|
};
|
|
18980
19811
|
path: {
|
|
18981
19812
|
/**
|
|
@@ -21080,6 +21911,18 @@ export type UpdateOrganizationReleaseData = {
|
|
|
21080
21911
|
type: string;
|
|
21081
21912
|
}> | null;
|
|
21082
21913
|
}>;
|
|
21914
|
+
/**
|
|
21915
|
+
* The status of the release. Can be `open` or `archived`.
|
|
21916
|
+
*/
|
|
21917
|
+
status?: string;
|
|
21918
|
+
/**
|
|
21919
|
+
* Deprecated, use `commits`. Head commits to associate with the release.
|
|
21920
|
+
*/
|
|
21921
|
+
headCommits?: Array<{
|
|
21922
|
+
currentId: string;
|
|
21923
|
+
repository: string;
|
|
21924
|
+
previousId?: string | null;
|
|
21925
|
+
}>;
|
|
21083
21926
|
/**
|
|
21084
21927
|
* An optional way to indicate the start and end commits for each repository included in a release. Head commits must include parameters ``repository`` and ``commit`` (the HEAD SHA). For GitLab repositories, please use the Group name instead of the slug. They can optionally include ``previousCommit`` (the SHA of the HEAD of the previous release), which should be specified if this is the first time you've sent commit data.
|
|
21085
21928
|
*/
|
|
@@ -22802,6 +23645,10 @@ export type GetOrganizationScimV2GroupResponses = {
|
|
|
22802
23645
|
export type GetOrganizationScimV2GroupResponse = GetOrganizationScimV2GroupResponses[keyof GetOrganizationScimV2GroupResponses];
|
|
22803
23646
|
export type UpdateOrganizationScimV2GroupData = {
|
|
22804
23647
|
body: {
|
|
23648
|
+
/**
|
|
23649
|
+
* SCIM schema URIs identifying the request format. Must be the PatchOp schema.
|
|
23650
|
+
*/
|
|
23651
|
+
schemas: Array<string>;
|
|
22805
23652
|
/**
|
|
22806
23653
|
* The list of operations to perform. Valid operations are:
|
|
22807
23654
|
* * Renaming a team:
|
|
@@ -23155,6 +24002,10 @@ export type UpdateOrganizationScimV2UserData = {
|
|
|
23155
24002
|
value: unknown;
|
|
23156
24003
|
path?: string;
|
|
23157
24004
|
}>;
|
|
24005
|
+
/**
|
|
24006
|
+
* SCIM schema URIs identifying the request format. Must be the PatchOp schema.
|
|
24007
|
+
*/
|
|
24008
|
+
schemas?: Array<string>;
|
|
23158
24009
|
};
|
|
23159
24010
|
path: {
|
|
23160
24011
|
/**
|
|
@@ -26963,11 +27814,122 @@ export type GetProjectResponses = {
|
|
|
26963
27814
|
};
|
|
26964
27815
|
export type GetProjectResponse = GetProjectResponses[keyof GetProjectResponses];
|
|
26965
27816
|
export type UpdateProjectData = {
|
|
26966
|
-
body
|
|
27817
|
+
body: {
|
|
27818
|
+
/**
|
|
27819
|
+
* Minimum time in seconds to wait before sending an issue digest email.
|
|
27820
|
+
*/
|
|
27821
|
+
digestsMinDelay: number;
|
|
27822
|
+
/**
|
|
27823
|
+
* Maximum time in seconds to wait before sending an issue digest email.
|
|
27824
|
+
*/
|
|
27825
|
+
digestsMaxDelay: number;
|
|
27826
|
+
/**
|
|
27827
|
+
* Token sent with security reports (CSP, Expect-CT, HPKP) so Sentry can verify their origin.
|
|
27828
|
+
*/
|
|
27829
|
+
securityToken: string;
|
|
27830
|
+
/**
|
|
27831
|
+
* Name of the header carrying the security token on inbound security reports.
|
|
27832
|
+
*/
|
|
27833
|
+
securityTokenHeader: string;
|
|
26967
27834
|
/**
|
|
26968
27835
|
* Enables starring the project within the projects tab. Can be updated with **`project:read`** permission.
|
|
26969
27836
|
*/
|
|
26970
27837
|
isBookmarked?: boolean;
|
|
27838
|
+
/**
|
|
27839
|
+
* How aggressively Seer runs Autofix on new issues. Can be updated with **`project:read`** permission.
|
|
27840
|
+
*
|
|
27841
|
+
* * `off`
|
|
27842
|
+
* * `super_low`
|
|
27843
|
+
* * `low`
|
|
27844
|
+
* * `medium`
|
|
27845
|
+
* * `high`
|
|
27846
|
+
* * `always`
|
|
27847
|
+
*/
|
|
27848
|
+
autofixAutomationTuning?: 'off' | 'super_low' | 'low' | 'medium' | 'high' | 'always';
|
|
27849
|
+
/**
|
|
27850
|
+
* Let Seer scan new issues automatically. Can be updated with **`project:read`** permission.
|
|
27851
|
+
*/
|
|
27852
|
+
seerScannerAutomation?: boolean;
|
|
27853
|
+
/**
|
|
27854
|
+
* Enable preprod size status checks. Can be updated with **`project:read`** permission.
|
|
27855
|
+
*/
|
|
27856
|
+
preprodSizeStatusChecksEnabled?: boolean;
|
|
27857
|
+
/**
|
|
27858
|
+
* Rules controlling when preprod size status checks fail. Can be updated with **`project:read`** permission.
|
|
27859
|
+
*/
|
|
27860
|
+
preprodSizeStatusChecksRules?: {
|
|
27861
|
+
[key: string]: unknown;
|
|
27862
|
+
};
|
|
27863
|
+
/**
|
|
27864
|
+
* Enable preprod size PR comments. Can be updated with **`project:read`** permission.
|
|
27865
|
+
*/
|
|
27866
|
+
preprodSizePrCommentsEnabled?: boolean;
|
|
27867
|
+
/**
|
|
27868
|
+
* Rules controlling which preprod size changes are posted as PR comments. Can be updated with **`project:read`** permission.
|
|
27869
|
+
*/
|
|
27870
|
+
preprodSizePrCommentsRules?: {
|
|
27871
|
+
[key: string]: unknown;
|
|
27872
|
+
};
|
|
27873
|
+
/**
|
|
27874
|
+
* Enable preprod snapshot status checks.
|
|
27875
|
+
*/
|
|
27876
|
+
preprodSnapshotStatusChecksEnabled?: boolean;
|
|
27877
|
+
/**
|
|
27878
|
+
* Fail the preprod snapshot status check when snapshots are added.
|
|
27879
|
+
*/
|
|
27880
|
+
preprodSnapshotStatusChecksFailOnAdded?: boolean;
|
|
27881
|
+
/**
|
|
27882
|
+
* Fail the preprod snapshot status check when snapshots are removed.
|
|
27883
|
+
*/
|
|
27884
|
+
preprodSnapshotStatusChecksFailOnRemoved?: boolean;
|
|
27885
|
+
/**
|
|
27886
|
+
* Fail the preprod snapshot status check when snapshots change.
|
|
27887
|
+
*/
|
|
27888
|
+
preprodSnapshotStatusChecksFailOnChanged?: boolean;
|
|
27889
|
+
/**
|
|
27890
|
+
* Fail the preprod snapshot status check when snapshots are renamed.
|
|
27891
|
+
*/
|
|
27892
|
+
preprodSnapshotStatusChecksFailOnRenamed?: boolean;
|
|
27893
|
+
/**
|
|
27894
|
+
* Enable preprod size analysis. Can be updated with **`project:read`** permission.
|
|
27895
|
+
*/
|
|
27896
|
+
preprodSizeEnabledByCustomer?: boolean | null;
|
|
27897
|
+
/**
|
|
27898
|
+
* Enable preprod build distribution. Can be updated with **`project:read`** permission.
|
|
27899
|
+
*/
|
|
27900
|
+
preprodDistributionEnabledByCustomer?: boolean | null;
|
|
27901
|
+
/**
|
|
27902
|
+
* Post preprod distribution updates as PR comments. Can be updated with **`project:read`** permission.
|
|
27903
|
+
*/
|
|
27904
|
+
preprodDistributionPrCommentsEnabledByCustomer?: boolean | null;
|
|
27905
|
+
/**
|
|
27906
|
+
* Post preprod snapshot changes as PR comments.
|
|
27907
|
+
*/
|
|
27908
|
+
preprodSnapshotPrCommentsEnabled?: boolean | null;
|
|
27909
|
+
/**
|
|
27910
|
+
* Include added snapshots in preprod snapshot PR comments.
|
|
27911
|
+
*/
|
|
27912
|
+
preprodSnapshotPrCommentsPostOnAdded?: boolean | null;
|
|
27913
|
+
/**
|
|
27914
|
+
* Include removed snapshots in preprod snapshot PR comments.
|
|
27915
|
+
*/
|
|
27916
|
+
preprodSnapshotPrCommentsPostOnRemoved?: boolean | null;
|
|
27917
|
+
/**
|
|
27918
|
+
* Include changed snapshots in preprod snapshot PR comments.
|
|
27919
|
+
*/
|
|
27920
|
+
preprodSnapshotPrCommentsPostOnChanged?: boolean | null;
|
|
27921
|
+
/**
|
|
27922
|
+
* Include renamed snapshots in preprod snapshot PR comments.
|
|
27923
|
+
*/
|
|
27924
|
+
preprodSnapshotPrCommentsPostOnRenamed?: boolean | null;
|
|
27925
|
+
/**
|
|
27926
|
+
* Query selecting which preprod builds are size-analyzed. Can be updated with **`project:read`** permission.
|
|
27927
|
+
*/
|
|
27928
|
+
preprodSizeEnabledQuery?: string | null;
|
|
27929
|
+
/**
|
|
27930
|
+
* Query selecting which preprod builds are distributed. Can be updated with **`project:read`** permission.
|
|
27931
|
+
*/
|
|
27932
|
+
preprodDistributionEnabledQuery?: string | null;
|
|
26971
27933
|
/**
|
|
26972
27934
|
* The name for the project
|
|
26973
27935
|
*/
|
|
@@ -27009,14 +27971,124 @@ export type UpdateProjectData = {
|
|
|
27009
27971
|
* E.g. `['release', 'environment']`
|
|
27010
27972
|
*/
|
|
27011
27973
|
highlightTags?: Array<string>;
|
|
27974
|
+
/**
|
|
27975
|
+
* Verify SSL certificates when delivering outbound webhooks and service hooks.
|
|
27976
|
+
*/
|
|
27977
|
+
verifySSL?: boolean;
|
|
27978
|
+
/**
|
|
27979
|
+
* Environment selected by default when viewing this project.
|
|
27980
|
+
*/
|
|
27981
|
+
defaultEnvironment?: string | null;
|
|
27982
|
+
/**
|
|
27983
|
+
* Remove known sensitive values from events before storing them.
|
|
27984
|
+
*/
|
|
27985
|
+
dataScrubber?: boolean;
|
|
27986
|
+
/**
|
|
27987
|
+
* Also scrub Sentry's built-in list of sensitive field names.
|
|
27988
|
+
*/
|
|
27989
|
+
dataScrubberDefaults?: boolean;
|
|
27990
|
+
/**
|
|
27991
|
+
* Additional field names to scrub from events, beyond the defaults.
|
|
27992
|
+
*/
|
|
27993
|
+
sensitiveFields?: Array<string>;
|
|
27994
|
+
/**
|
|
27995
|
+
* Field names to exempt from scrubbing, including the built-in defaults.
|
|
27996
|
+
*/
|
|
27997
|
+
safeFields?: Array<string>;
|
|
27998
|
+
/**
|
|
27999
|
+
* Number of native crash report files to store per issue. Use `-1` for unlimited or `0` to store none.
|
|
28000
|
+
*/
|
|
28001
|
+
storeCrashReports?: number | null;
|
|
28002
|
+
/**
|
|
28003
|
+
* Advanced data scrubbing rules, as a JSON string, applied before events are stored.
|
|
28004
|
+
*/
|
|
28005
|
+
relayPiiConfig?: string | null;
|
|
28006
|
+
/**
|
|
28007
|
+
* Identifiers of Sentry-hosted symbol sources to use when symbolicating events.
|
|
28008
|
+
*/
|
|
28009
|
+
builtinSymbolSources?: Array<string>;
|
|
28010
|
+
/**
|
|
28011
|
+
* Custom symbol sources, as a JSON string, to use when symbolicating events.
|
|
28012
|
+
*/
|
|
28013
|
+
symbolSources?: string | null;
|
|
28014
|
+
/**
|
|
28015
|
+
* Discard client IP addresses rather than storing them on events.
|
|
28016
|
+
*/
|
|
28017
|
+
scrubIPAddresses?: boolean;
|
|
28018
|
+
/**
|
|
28019
|
+
* Identifier of the grouping algorithm used to assign events to issues.
|
|
28020
|
+
*/
|
|
28021
|
+
groupingConfig?: string | null;
|
|
28022
|
+
/**
|
|
28023
|
+
* Grouping enhancement rules, as a newline-delimited config string, adjusting which stack frames contribute to an issue.
|
|
28024
|
+
*/
|
|
28025
|
+
groupingEnhancements?: string | null;
|
|
28026
|
+
/**
|
|
28027
|
+
* Fingerprinting rules, as a newline-delimited config string, controlling how events are grouped into issues.
|
|
28028
|
+
*/
|
|
28029
|
+
fingerprintingRules?: string | null;
|
|
28030
|
+
/**
|
|
28031
|
+
* Grouping algorithm run alongside the primary one during a grouping migration.
|
|
28032
|
+
*/
|
|
28033
|
+
secondaryGroupingConfig?: string | null;
|
|
28034
|
+
/**
|
|
28035
|
+
* Unix timestamp after which the secondary grouping algorithm stops running.
|
|
28036
|
+
*/
|
|
28037
|
+
secondaryGroupingExpiry?: number | null;
|
|
28038
|
+
/**
|
|
28039
|
+
* Allow Sentry to fetch source files and source maps from your servers.
|
|
28040
|
+
*/
|
|
28041
|
+
scrapeJavaScript?: boolean;
|
|
27012
28042
|
/**
|
|
27013
28043
|
* Automatically create releases from ingested events. When disabled, releases must be created manually (e.g. via the Sentry CLI).
|
|
27014
28044
|
*/
|
|
27015
28045
|
enableAutoReleaseCreation?: boolean;
|
|
28046
|
+
/**
|
|
28047
|
+
* Origins permitted to send events to this project. Use `*` to allow any.
|
|
28048
|
+
*/
|
|
28049
|
+
allowedDomains?: Array<string>;
|
|
28050
|
+
/**
|
|
28051
|
+
* ID of a project whose settings, teams, and keys should be copied into this one.
|
|
28052
|
+
*/
|
|
28053
|
+
copy_from_project?: number;
|
|
28054
|
+
/**
|
|
28055
|
+
* Target proportion of transactions to retain, from `0` to `1`. Requires manual dynamic sampling mode.
|
|
28056
|
+
*/
|
|
28057
|
+
targetSampleRate?: number;
|
|
28058
|
+
/**
|
|
28059
|
+
* Per-bias toggles adjusting which transactions dynamic sampling favors retaining.
|
|
28060
|
+
*/
|
|
28061
|
+
dynamicSamplingBiases?: Array<{
|
|
28062
|
+
/**
|
|
28063
|
+
* * `boostEnvironments`
|
|
28064
|
+
* * `boostKeyTransactions`
|
|
28065
|
+
* * `boostLatestRelease`
|
|
28066
|
+
* * `boostLowVolumeTransactions`
|
|
28067
|
+
* * `boostReplayId`
|
|
28068
|
+
* * `ignoreHealthChecks`
|
|
28069
|
+
* * `minimumSampleRate`
|
|
28070
|
+
* * `recalibrationRule`
|
|
28071
|
+
*/
|
|
28072
|
+
id: 'boostEnvironments' | 'boostKeyTransactions' | 'boostLatestRelease' | 'boostLowVolumeTransactions' | 'boostReplayId' | 'ignoreHealthChecks' | 'minimumSampleRate' | 'recalibrationRule';
|
|
28073
|
+
active?: boolean;
|
|
28074
|
+
}>;
|
|
28075
|
+
/**
|
|
28076
|
+
* Fetch screenshots attached to console crash reports. Requires the Tempest feature.
|
|
28077
|
+
*/
|
|
28078
|
+
tempestFetchScreenshots?: boolean;
|
|
27016
28079
|
/**
|
|
27017
28080
|
* Enable on-demand source context fetching from SCM integrations for stack traces.
|
|
27018
28081
|
*/
|
|
27019
28082
|
scmSourceContextEnabled?: boolean;
|
|
28083
|
+
/**
|
|
28084
|
+
* The role required to download debug information files, ProGuard mappings and source maps. If not set, inherits from organization setting.
|
|
28085
|
+
*
|
|
28086
|
+
* * `member` - Member
|
|
28087
|
+
* * `admin` - Admin
|
|
28088
|
+
* * `manager` - Manager
|
|
28089
|
+
* * `owner` - Owner
|
|
28090
|
+
*/
|
|
28091
|
+
debugFilesRole?: 'member' | 'admin' | 'manager' | 'owner' | null;
|
|
27020
28092
|
};
|
|
27021
28093
|
path: {
|
|
27022
28094
|
/**
|
|
@@ -29455,6 +30527,28 @@ export type UpdateProjectMonitorData = {
|
|
|
29455
30527
|
* Disable creation of monitor incidents
|
|
29456
30528
|
*/
|
|
29457
30529
|
is_muted?: boolean;
|
|
30530
|
+
/**
|
|
30531
|
+
* Alert rule configuration created alongside the monitor.
|
|
30532
|
+
*/
|
|
30533
|
+
alert_rule?: {
|
|
30534
|
+
/**
|
|
30535
|
+
* Name of the environment
|
|
30536
|
+
*/
|
|
30537
|
+
environment?: string | null;
|
|
30538
|
+
/**
|
|
30539
|
+
* Array of dictionaries with information of the user or team to be notified
|
|
30540
|
+
*/
|
|
30541
|
+
targets: Array<{
|
|
30542
|
+
/**
|
|
30543
|
+
* ID of target object
|
|
30544
|
+
*/
|
|
30545
|
+
target_identifier: number;
|
|
30546
|
+
/**
|
|
30547
|
+
* One of [Member, Team]
|
|
30548
|
+
*/
|
|
30549
|
+
target_type: string;
|
|
30550
|
+
}>;
|
|
30551
|
+
};
|
|
29458
30552
|
};
|
|
29459
30553
|
path: {
|
|
29460
30554
|
/**
|
|
@@ -32393,6 +33487,10 @@ export type UpdateSentryAppData = {
|
|
|
32393
33487
|
* Webhook events the custom integration is subscribed to.
|
|
32394
33488
|
*/
|
|
32395
33489
|
events?: Array<string> | null;
|
|
33490
|
+
/**
|
|
33491
|
+
* The list of features that the custom integration supports.
|
|
33492
|
+
*/
|
|
33493
|
+
features?: Array<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | ''> | null;
|
|
32396
33494
|
/**
|
|
32397
33495
|
* The UI components schema, used to render the custom integration's configuration UI elements. See our [schema docs](https://docs.sentry.io/organization/integrations/integration-platform/ui-components/) for more information.
|
|
32398
33496
|
*/
|
|
@@ -32848,6 +33946,10 @@ export type CreateTeamExternalTeamData = {
|
|
|
32848
33946
|
* Errors are output in camel case.
|
|
32849
33947
|
*/
|
|
32850
33948
|
body: {
|
|
33949
|
+
/**
|
|
33950
|
+
* ID of the Sentry team to link to the external team.
|
|
33951
|
+
*/
|
|
33952
|
+
team_id: number;
|
|
32851
33953
|
/**
|
|
32852
33954
|
* The associated name for the provider.
|
|
32853
33955
|
*/
|
|
@@ -32962,6 +34064,10 @@ export type UpdateTeamExternalTeamData = {
|
|
|
32962
34064
|
* Errors are output in camel case.
|
|
32963
34065
|
*/
|
|
32964
34066
|
body: {
|
|
34067
|
+
/**
|
|
34068
|
+
* ID of the Sentry team to link to the external team.
|
|
34069
|
+
*/
|
|
34070
|
+
team_id: number;
|
|
32965
34071
|
/**
|
|
32966
34072
|
* The associated name for the provider.
|
|
32967
34073
|
*/
|
|
@@ -34629,6 +35735,30 @@ export type UpdateOrganizationIssueData = {
|
|
|
34629
35735
|
* * `high`
|
|
34630
35736
|
*/
|
|
34631
35737
|
priority: 'low' | 'medium' | 'high';
|
|
35738
|
+
/**
|
|
35739
|
+
* Ignore the issue for this many minutes.
|
|
35740
|
+
*/
|
|
35741
|
+
ignoreDuration: number;
|
|
35742
|
+
/**
|
|
35743
|
+
* Ignore the issue until it is seen this many more times.
|
|
35744
|
+
*/
|
|
35745
|
+
ignoreCount: number;
|
|
35746
|
+
/**
|
|
35747
|
+
* Window in minutes over which `ignoreCount` is measured. Maximum is 7 days.
|
|
35748
|
+
*/
|
|
35749
|
+
ignoreWindow: number;
|
|
35750
|
+
/**
|
|
35751
|
+
* Ignore the issue until it affects this many more users.
|
|
35752
|
+
*/
|
|
35753
|
+
ignoreUserCount: number;
|
|
35754
|
+
/**
|
|
35755
|
+
* Window in minutes over which `ignoreUserCount` is measured. Maximum is 7 days.
|
|
35756
|
+
*/
|
|
35757
|
+
ignoreUserWindow: number;
|
|
35758
|
+
/**
|
|
35759
|
+
* Snooze the issue for this many minutes.
|
|
35760
|
+
*/
|
|
35761
|
+
snoozeDuration: number | null;
|
|
34632
35762
|
};
|
|
34633
35763
|
path: {
|
|
34634
35764
|
/**
|
|
@@ -34807,7 +35937,7 @@ export type GetOrganizationIssueAutofixStateData = {
|
|
|
34807
35937
|
/**
|
|
34808
35938
|
* If set, adds a `formatted` field to the response with the autofix rendered as the requested format for LLM consumption.
|
|
34809
35939
|
*/
|
|
34810
|
-
llmFormat?: 'markdown' | 'xml';
|
|
35940
|
+
llmFormat?: 'json' | 'markdown' | 'xml';
|
|
34811
35941
|
};
|
|
34812
35942
|
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/autofix/';
|
|
34813
35943
|
};
|
|
@@ -34832,9 +35962,12 @@ export type GetOrganizationIssueAutofixStateResponses = {
|
|
|
34832
35962
|
200: {
|
|
34833
35963
|
/**
|
|
34834
35964
|
* The ``formatted`` field the mixin adds to a response when ``?llmFormat`` is requested.
|
|
35965
|
+
*
|
|
35966
|
+
* ``content`` is text for the text formats and a serialized JSON object for ``json``, so the
|
|
35967
|
+
* response shape is the same whichever format a caller asks for.
|
|
34835
35968
|
*/
|
|
34836
35969
|
formatted?: {
|
|
34837
|
-
format: 'markdown' | 'xml';
|
|
35970
|
+
format: 'markdown' | 'xml' | 'json';
|
|
34838
35971
|
content: string;
|
|
34839
35972
|
};
|
|
34840
35973
|
autofix: {
|
|
@@ -35085,7 +36218,7 @@ export type GetOrganizationIssueEventData = {
|
|
|
35085
36218
|
/**
|
|
35086
36219
|
* If set, adds a `formatted` field to the response with the event rendered as the requested format for LLM consumption.
|
|
35087
36220
|
*/
|
|
35088
|
-
llmFormat?: 'markdown' | 'xml';
|
|
36221
|
+
llmFormat?: 'json' | 'markdown' | 'xml';
|
|
35089
36222
|
};
|
|
35090
36223
|
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/events/{event_id}/';
|
|
35091
36224
|
};
|
|
@@ -35275,9 +36408,12 @@ export type GetOrganizationIssueEventResponses = {
|
|
|
35275
36408
|
previousEventID: string | null;
|
|
35276
36409
|
/**
|
|
35277
36410
|
* The ``formatted`` field the mixin adds to a response when ``?llmFormat`` is requested.
|
|
36411
|
+
*
|
|
36412
|
+
* ``content`` is text for the text formats and a serialized JSON object for ``json``, so the
|
|
36413
|
+
* response shape is the same whichever format a caller asks for.
|
|
35278
36414
|
*/
|
|
35279
36415
|
formatted?: {
|
|
35280
|
-
format: 'markdown' | 'xml';
|
|
36416
|
+
format: 'markdown' | 'xml' | 'json';
|
|
35281
36417
|
content: string;
|
|
35282
36418
|
};
|
|
35283
36419
|
};
|