@sentry/api 0.290.0 → 0.292.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 +7 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +38 -0
- package/dist/pagination.gen.d.ts +35 -1
- package/dist/sdk.gen.d.ts +34 -1
- package/dist/types.gen.d.ts +1380 -62
- package/dist/valibot.gen.d.ts +479 -8
- package/dist/valibot.js +619 -27
- package/dist/zod.gen.d.ts +3096 -999
- package/dist/zod.js +976 -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;
|
|
@@ -7235,6 +7404,71 @@ export type OrganizationIssueView = {
|
|
|
7235
7404
|
starred: boolean;
|
|
7236
7405
|
stars: number;
|
|
7237
7406
|
};
|
|
7407
|
+
export type OrganizationIssueViewList = Array<{
|
|
7408
|
+
id: string;
|
|
7409
|
+
createdBy: {
|
|
7410
|
+
identities?: Array<{
|
|
7411
|
+
id: string;
|
|
7412
|
+
name: string;
|
|
7413
|
+
organization: {
|
|
7414
|
+
slug: string;
|
|
7415
|
+
name: string;
|
|
7416
|
+
};
|
|
7417
|
+
provider: {
|
|
7418
|
+
id: string;
|
|
7419
|
+
name: string;
|
|
7420
|
+
};
|
|
7421
|
+
dateVerified: string;
|
|
7422
|
+
dateSynced: string;
|
|
7423
|
+
}>;
|
|
7424
|
+
avatar?: {
|
|
7425
|
+
avatarType?: string;
|
|
7426
|
+
avatarUuid?: string | null;
|
|
7427
|
+
avatarUrl?: string | null;
|
|
7428
|
+
};
|
|
7429
|
+
authenticators?: Array<unknown>;
|
|
7430
|
+
canReset2fa?: boolean;
|
|
7431
|
+
id: string;
|
|
7432
|
+
name: string;
|
|
7433
|
+
username: string;
|
|
7434
|
+
email: string;
|
|
7435
|
+
avatarUrl: string;
|
|
7436
|
+
isActive: boolean;
|
|
7437
|
+
isSuspended: boolean;
|
|
7438
|
+
hasPasswordAuth: boolean;
|
|
7439
|
+
isManaged: boolean;
|
|
7440
|
+
dateJoined: string;
|
|
7441
|
+
lastLogin: string | null;
|
|
7442
|
+
has2fa: boolean;
|
|
7443
|
+
lastActive: string | null;
|
|
7444
|
+
isSuperuser: boolean;
|
|
7445
|
+
isStaff: boolean;
|
|
7446
|
+
experiments: {
|
|
7447
|
+
[key: string]: unknown;
|
|
7448
|
+
};
|
|
7449
|
+
emails: Array<{
|
|
7450
|
+
id: string;
|
|
7451
|
+
email: string;
|
|
7452
|
+
is_verified: boolean;
|
|
7453
|
+
}>;
|
|
7454
|
+
} | null;
|
|
7455
|
+
name: string;
|
|
7456
|
+
query: string;
|
|
7457
|
+
querySort: 'date' | 'new' | 'trends' | 'freq' | 'user' | 'inbox' | 'recommended';
|
|
7458
|
+
projects: Array<number>;
|
|
7459
|
+
environments: Array<string>;
|
|
7460
|
+
timeFilters: {
|
|
7461
|
+
start?: string | null;
|
|
7462
|
+
end?: string | null;
|
|
7463
|
+
period?: string | null;
|
|
7464
|
+
utc?: boolean | null;
|
|
7465
|
+
};
|
|
7466
|
+
lastVisited: string | null;
|
|
7467
|
+
dateCreated: string;
|
|
7468
|
+
dateUpdated: string;
|
|
7469
|
+
starred: boolean;
|
|
7470
|
+
stars: number;
|
|
7471
|
+
}>;
|
|
7238
7472
|
export type OrganizationMember = {
|
|
7239
7473
|
externalUsers?: Array<{
|
|
7240
7474
|
externalId?: string;
|
|
@@ -7314,6 +7548,17 @@ export type OrganizationMemberRequest = {
|
|
|
7314
7548
|
* The email address to send the invitation to.
|
|
7315
7549
|
*/
|
|
7316
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';
|
|
7317
7562
|
/**
|
|
7318
7563
|
* The organization-level role of the new member. Roles include:
|
|
7319
7564
|
*
|
|
@@ -7330,6 +7575,12 @@ export type OrganizationMemberRequest = {
|
|
|
7330
7575
|
*
|
|
7331
7576
|
*/
|
|
7332
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>;
|
|
7333
7584
|
/**
|
|
7334
7585
|
* The team and team-roles assigned to the member. Team roles can be either:
|
|
7335
7586
|
* - `contributor` - Can view and act on issues. Depending on organization settings, they can also add team members.
|
|
@@ -7342,6 +7593,10 @@ export type OrganizationMemberRequest = {
|
|
|
7342
7593
|
* Whether or not to re-invite a user who has already been invited to the organization. Defaults to True.
|
|
7343
7594
|
*/
|
|
7344
7595
|
reinvite?: boolean;
|
|
7596
|
+
/**
|
|
7597
|
+
* Reissue the invite token, invalidating any previously sent invite link.
|
|
7598
|
+
*/
|
|
7599
|
+
regenerate?: boolean;
|
|
7345
7600
|
};
|
|
7346
7601
|
/**
|
|
7347
7602
|
* Conforming to the SCIM RFC, this represents a Sentry Org Member
|
|
@@ -7588,6 +7843,18 @@ export type OrganizationRelease = {
|
|
|
7588
7843
|
type: string;
|
|
7589
7844
|
}> | null;
|
|
7590
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
|
+
}>;
|
|
7591
7858
|
/**
|
|
7592
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.
|
|
7593
7860
|
*/
|
|
@@ -8151,10 +8418,121 @@ export type OutgoingNotificationAction = {
|
|
|
8151
8418
|
targetDisplay: string | null;
|
|
8152
8419
|
};
|
|
8153
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;
|
|
8154
8437
|
/**
|
|
8155
8438
|
* Enables starring the project within the projects tab. Can be updated with **`project:read`** permission.
|
|
8156
8439
|
*/
|
|
8157
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;
|
|
8158
8536
|
/**
|
|
8159
8537
|
* The name for the project
|
|
8160
8538
|
*/
|
|
@@ -8196,14 +8574,124 @@ export type ProjectAdmin = {
|
|
|
8196
8574
|
* E.g. `['release', 'environment']`
|
|
8197
8575
|
*/
|
|
8198
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;
|
|
8199
8645
|
/**
|
|
8200
8646
|
* Automatically create releases from ingested events. When disabled, releases must be created manually (e.g. via the Sentry CLI).
|
|
8201
8647
|
*/
|
|
8202
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;
|
|
8203
8682
|
/**
|
|
8204
8683
|
* Enable on-demand source context fetching from SCM integrations for stack traces.
|
|
8205
8684
|
*/
|
|
8206
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;
|
|
8207
8695
|
};
|
|
8208
8696
|
export type ProjectEventDetailsResponse = {
|
|
8209
8697
|
id: string;
|
|
@@ -8902,6 +9390,16 @@ export type ReplayDeletionJobCreateData = {
|
|
|
8902
9390
|
environments: Array<string>;
|
|
8903
9391
|
query: string | null;
|
|
8904
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
|
+
};
|
|
8905
9403
|
export type ScimListResponseEnvelopeScimMemberIndexResponse = {
|
|
8906
9404
|
schemas: Array<string>;
|
|
8907
9405
|
totalResults: number;
|
|
@@ -8990,6 +9488,10 @@ export type ScimPatchRequest = {
|
|
|
8990
9488
|
value: unknown;
|
|
8991
9489
|
path?: string;
|
|
8992
9490
|
}>;
|
|
9491
|
+
/**
|
|
9492
|
+
* SCIM schema URIs identifying the request format. Must be the PatchOp schema.
|
|
9493
|
+
*/
|
|
9494
|
+
schemas?: Array<string>;
|
|
8993
9495
|
};
|
|
8994
9496
|
export type ScimTeamPatchOperation = {
|
|
8995
9497
|
op: string;
|
|
@@ -8999,6 +9501,10 @@ export type ScimTeamPatchOperation = {
|
|
|
8999
9501
|
path?: string;
|
|
9000
9502
|
};
|
|
9001
9503
|
export type ScimTeamPatchRequest = {
|
|
9504
|
+
/**
|
|
9505
|
+
* SCIM schema URIs identifying the request format. Must be the PatchOp schema.
|
|
9506
|
+
*/
|
|
9507
|
+
schemas: Array<string>;
|
|
9002
9508
|
/**
|
|
9003
9509
|
* The list of operations to perform. Valid operations are:
|
|
9004
9510
|
* * Renaming a team:
|
|
@@ -9131,6 +9637,10 @@ export type SentryAppParser = {
|
|
|
9131
9637
|
* Webhook events the custom integration is subscribed to.
|
|
9132
9638
|
*/
|
|
9133
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;
|
|
9134
9644
|
/**
|
|
9135
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.
|
|
9136
9646
|
*/
|
|
@@ -11037,6 +11547,17 @@ export type OrganizationMemberRequestWritable = {
|
|
|
11037
11547
|
* The email address to send the invitation to.
|
|
11038
11548
|
*/
|
|
11039
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';
|
|
11040
11561
|
/**
|
|
11041
11562
|
* The organization-level role of the new member. Roles include:
|
|
11042
11563
|
*
|
|
@@ -11053,6 +11574,12 @@ export type OrganizationMemberRequestWritable = {
|
|
|
11053
11574
|
*
|
|
11054
11575
|
*/
|
|
11055
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>;
|
|
11056
11583
|
/**
|
|
11057
11584
|
* The team and team-roles assigned to the member. Team roles can be either:
|
|
11058
11585
|
* - `contributor` - Can view and act on issues. Depending on organization settings, they can also add team members.
|
|
@@ -11069,6 +11596,10 @@ export type OrganizationMemberRequestWritable = {
|
|
|
11069
11596
|
* Whether or not to re-invite a user who has already been invited to the organization. Defaults to True.
|
|
11070
11597
|
*/
|
|
11071
11598
|
reinvite?: boolean;
|
|
11599
|
+
/**
|
|
11600
|
+
* Reissue the invite token, invalidating any previously sent invite link.
|
|
11601
|
+
*/
|
|
11602
|
+
regenerate?: boolean;
|
|
11072
11603
|
};
|
|
11073
11604
|
export type ListOrganizationsData = {
|
|
11074
11605
|
body?: never;
|
|
@@ -11421,6 +11952,10 @@ export type UpdateOrganizationData = {
|
|
|
11421
11952
|
* Specify `true` to restore an organization that is pending deletion.
|
|
11422
11953
|
*/
|
|
11423
11954
|
cancelDeletion?: boolean;
|
|
11955
|
+
/**
|
|
11956
|
+
* Deprecated. Response-time threshold in milliseconds previously used to compute Apdex.
|
|
11957
|
+
*/
|
|
11958
|
+
apdexThreshold?: number;
|
|
11424
11959
|
};
|
|
11425
11960
|
path: {
|
|
11426
11961
|
/**
|
|
@@ -11749,6 +12284,198 @@ export type UpdateOrganizationResponses = {
|
|
|
11749
12284
|
};
|
|
11750
12285
|
};
|
|
11751
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];
|
|
11752
12479
|
export type GetOrganizationConfigIntegrationsData = {
|
|
11753
12480
|
body?: never;
|
|
11754
12481
|
path: {
|
|
@@ -13494,6 +14221,7 @@ export type ListOrganizationDiscoverSavedQueriesResponses = {
|
|
|
13494
14221
|
exploreQuery?: {
|
|
13495
14222
|
[key: string]: unknown;
|
|
13496
14223
|
};
|
|
14224
|
+
lastVisited?: string;
|
|
13497
14225
|
id: string;
|
|
13498
14226
|
name: string;
|
|
13499
14227
|
projects: Array<number>;
|
|
@@ -13600,6 +14328,30 @@ export type CreateOrganizationDiscoverSavedQueryData = {
|
|
|
13600
14328
|
* How to order the query results. Must be something in the `field` list, excluding equations.
|
|
13601
14329
|
*/
|
|
13602
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;
|
|
13603
14355
|
/**
|
|
13604
14356
|
* The name of environments to filter by.
|
|
13605
14357
|
*/
|
|
@@ -13608,6 +14360,10 @@ export type CreateOrganizationDiscoverSavedQueryData = {
|
|
|
13608
14360
|
* Filters results by using [query syntax](/product/sentry-basics/search/).
|
|
13609
14361
|
*/
|
|
13610
14362
|
query?: string | null;
|
|
14363
|
+
/**
|
|
14364
|
+
* Rendered column widths, in the same order as the query's fields.
|
|
14365
|
+
*/
|
|
14366
|
+
widths?: Array<string> | null;
|
|
13611
14367
|
/**
|
|
13612
14368
|
* Aggregate functions to be plotted on the chart.
|
|
13613
14369
|
*/
|
|
@@ -13675,6 +14431,7 @@ export type CreateOrganizationDiscoverSavedQueryResponses = {
|
|
|
13675
14431
|
exploreQuery?: {
|
|
13676
14432
|
[key: string]: unknown;
|
|
13677
14433
|
};
|
|
14434
|
+
lastVisited?: string;
|
|
13678
14435
|
id: string;
|
|
13679
14436
|
name: string;
|
|
13680
14437
|
projects: Array<number>;
|
|
@@ -13810,6 +14567,7 @@ export type GetOrganizationDiscoverSavedQueryResponses = {
|
|
|
13810
14567
|
exploreQuery?: {
|
|
13811
14568
|
[key: string]: unknown;
|
|
13812
14569
|
};
|
|
14570
|
+
lastVisited?: string;
|
|
13813
14571
|
id: string;
|
|
13814
14572
|
name: string;
|
|
13815
14573
|
projects: Array<number>;
|
|
@@ -13916,6 +14674,30 @@ export type UpdateOrganizationDiscoverSavedQueryData = {
|
|
|
13916
14674
|
* How to order the query results. Must be something in the `field` list, excluding equations.
|
|
13917
14675
|
*/
|
|
13918
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;
|
|
13919
14701
|
/**
|
|
13920
14702
|
* The name of environments to filter by.
|
|
13921
14703
|
*/
|
|
@@ -13924,6 +14706,10 @@ export type UpdateOrganizationDiscoverSavedQueryData = {
|
|
|
13924
14706
|
* Filters results by using [query syntax](/product/sentry-basics/search/).
|
|
13925
14707
|
*/
|
|
13926
14708
|
query?: string | null;
|
|
14709
|
+
/**
|
|
14710
|
+
* Rendered column widths, in the same order as the query's fields.
|
|
14711
|
+
*/
|
|
14712
|
+
widths?: Array<string> | null;
|
|
13927
14713
|
/**
|
|
13928
14714
|
* Aggregate functions to be plotted on the chart.
|
|
13929
14715
|
*/
|
|
@@ -13995,6 +14781,7 @@ export type UpdateOrganizationDiscoverSavedQueryResponses = {
|
|
|
13995
14781
|
exploreQuery?: {
|
|
13996
14782
|
[key: string]: unknown;
|
|
13997
14783
|
};
|
|
14784
|
+
lastVisited?: string;
|
|
13998
14785
|
id: string;
|
|
13999
14786
|
name: string;
|
|
14000
14787
|
projects: Array<number>;
|
|
@@ -14986,72 +15773,38 @@ export type UpdateOrganizationForwardingResponses = {
|
|
|
14986
15773
|
};
|
|
14987
15774
|
};
|
|
14988
15775
|
export type UpdateOrganizationForwardingResponse = UpdateOrganizationForwardingResponses[keyof UpdateOrganizationForwardingResponses];
|
|
14989
|
-
export type
|
|
14990
|
-
body
|
|
14991
|
-
|
|
14992
|
-
* The name of the issue view.
|
|
14993
|
-
*/
|
|
14994
|
-
name: string;
|
|
15776
|
+
export type ListOrganizationIssueViewsData = {
|
|
15777
|
+
body?: never;
|
|
15778
|
+
path: {
|
|
14995
15779
|
/**
|
|
14996
|
-
* The
|
|
15780
|
+
* The ID or slug of the organization the resource belongs to.
|
|
14997
15781
|
*/
|
|
14998
|
-
|
|
15782
|
+
organization_id_or_slug: string;
|
|
15783
|
+
};
|
|
15784
|
+
query?: {
|
|
14999
15785
|
/**
|
|
15000
|
-
*
|
|
15786
|
+
* Whether to return issue views created by the current user or other members.
|
|
15787
|
+
*
|
|
15788
|
+
* * `me`
|
|
15789
|
+
* * `others`
|
|
15001
15790
|
*/
|
|
15002
|
-
|
|
15791
|
+
createdBy?: 'me' | 'others';
|
|
15003
15792
|
/**
|
|
15004
|
-
* The
|
|
15793
|
+
* The fields used to sort issue views, in order of precedence.
|
|
15005
15794
|
*/
|
|
15006
|
-
|
|
15795
|
+
sort?: Array<'popularity' | '-popularity' | 'visited' | '-visited' | 'name' | '-name' | 'created' | '-created'>;
|
|
15007
15796
|
/**
|
|
15008
|
-
*
|
|
15797
|
+
* A case-insensitive search against issue view names and queries.
|
|
15009
15798
|
*/
|
|
15010
|
-
|
|
15011
|
-
/**
|
|
15012
|
-
* The start of the time range in ISO-8601 format.
|
|
15013
|
-
*/
|
|
15014
|
-
start?: string | null;
|
|
15015
|
-
/**
|
|
15016
|
-
* The end of the time range in ISO-8601 format.
|
|
15017
|
-
*/
|
|
15018
|
-
end?: string | null;
|
|
15019
|
-
/**
|
|
15020
|
-
* The relative time period, such as `14d`.
|
|
15021
|
-
*/
|
|
15022
|
-
period?: string | null;
|
|
15023
|
-
/**
|
|
15024
|
-
* Whether to interpret the time range as UTC.
|
|
15025
|
-
*/
|
|
15026
|
-
utc?: boolean | null;
|
|
15027
|
-
};
|
|
15028
|
-
/**
|
|
15029
|
-
* How to sort issues in the view.
|
|
15030
|
-
*
|
|
15031
|
-
* * `date` - Last Seen
|
|
15032
|
-
* * `new` - First Seen
|
|
15033
|
-
* * `trends` - Trends
|
|
15034
|
-
* * `freq` - Events
|
|
15035
|
-
* * `user` - Users
|
|
15036
|
-
* * `inbox` - Date Added
|
|
15037
|
-
* * `recommended` - Recommended
|
|
15038
|
-
*/
|
|
15039
|
-
querySort?: 'date' | 'new' | 'trends' | 'freq' | 'user' | 'inbox' | 'recommended';
|
|
15040
|
-
/**
|
|
15041
|
-
* Whether to star the issue view for the current user.
|
|
15042
|
-
*/
|
|
15043
|
-
starred?: boolean;
|
|
15044
|
-
};
|
|
15045
|
-
path: {
|
|
15799
|
+
query?: string;
|
|
15046
15800
|
/**
|
|
15047
|
-
*
|
|
15801
|
+
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
15048
15802
|
*/
|
|
15049
|
-
|
|
15803
|
+
cursor?: string;
|
|
15050
15804
|
};
|
|
15051
|
-
query?: never;
|
|
15052
15805
|
url: '/api/0/organizations/{organization_id_or_slug}/group-search-views/';
|
|
15053
15806
|
};
|
|
15054
|
-
export type
|
|
15807
|
+
export type ListOrganizationIssueViewsErrors = {
|
|
15055
15808
|
/**
|
|
15056
15809
|
* Bad Request
|
|
15057
15810
|
*/
|
|
@@ -15069,8 +15822,159 @@ export type CreateOrganizationIssueViewErrors = {
|
|
|
15069
15822
|
*/
|
|
15070
15823
|
404: unknown;
|
|
15071
15824
|
};
|
|
15072
|
-
export type
|
|
15073
|
-
|
|
15825
|
+
export type ListOrganizationIssueViewsResponses = {
|
|
15826
|
+
200: Array<{
|
|
15827
|
+
id: string;
|
|
15828
|
+
createdBy: {
|
|
15829
|
+
identities?: Array<{
|
|
15830
|
+
id: string;
|
|
15831
|
+
name: string;
|
|
15832
|
+
organization: {
|
|
15833
|
+
slug: string;
|
|
15834
|
+
name: string;
|
|
15835
|
+
};
|
|
15836
|
+
provider: {
|
|
15837
|
+
id: string;
|
|
15838
|
+
name: string;
|
|
15839
|
+
};
|
|
15840
|
+
dateVerified: string;
|
|
15841
|
+
dateSynced: string;
|
|
15842
|
+
}>;
|
|
15843
|
+
avatar?: {
|
|
15844
|
+
avatarType?: string;
|
|
15845
|
+
avatarUuid?: string | null;
|
|
15846
|
+
avatarUrl?: string | null;
|
|
15847
|
+
};
|
|
15848
|
+
authenticators?: Array<unknown>;
|
|
15849
|
+
canReset2fa?: boolean;
|
|
15850
|
+
id: string;
|
|
15851
|
+
name: string;
|
|
15852
|
+
username: string;
|
|
15853
|
+
email: string;
|
|
15854
|
+
avatarUrl: string;
|
|
15855
|
+
isActive: boolean;
|
|
15856
|
+
isSuspended: boolean;
|
|
15857
|
+
hasPasswordAuth: boolean;
|
|
15858
|
+
isManaged: boolean;
|
|
15859
|
+
dateJoined: string;
|
|
15860
|
+
lastLogin: string | null;
|
|
15861
|
+
has2fa: boolean;
|
|
15862
|
+
lastActive: string | null;
|
|
15863
|
+
isSuperuser: boolean;
|
|
15864
|
+
isStaff: boolean;
|
|
15865
|
+
experiments: {
|
|
15866
|
+
[key: string]: unknown;
|
|
15867
|
+
};
|
|
15868
|
+
emails: Array<{
|
|
15869
|
+
id: string;
|
|
15870
|
+
email: string;
|
|
15871
|
+
is_verified: boolean;
|
|
15872
|
+
}>;
|
|
15873
|
+
} | null;
|
|
15874
|
+
name: string;
|
|
15875
|
+
query: string;
|
|
15876
|
+
querySort: 'date' | 'new' | 'trends' | 'freq' | 'user' | 'inbox' | 'recommended';
|
|
15877
|
+
projects: Array<number>;
|
|
15878
|
+
environments: Array<string>;
|
|
15879
|
+
timeFilters: {
|
|
15880
|
+
start?: string | null;
|
|
15881
|
+
end?: string | null;
|
|
15882
|
+
period?: string | null;
|
|
15883
|
+
utc?: boolean | null;
|
|
15884
|
+
};
|
|
15885
|
+
lastVisited: string | null;
|
|
15886
|
+
dateCreated: string;
|
|
15887
|
+
dateUpdated: string;
|
|
15888
|
+
starred: boolean;
|
|
15889
|
+
stars: number;
|
|
15890
|
+
}>;
|
|
15891
|
+
};
|
|
15892
|
+
export type ListOrganizationIssueViewsResponse = ListOrganizationIssueViewsResponses[keyof ListOrganizationIssueViewsResponses];
|
|
15893
|
+
export type CreateOrganizationIssueViewData = {
|
|
15894
|
+
body: {
|
|
15895
|
+
/**
|
|
15896
|
+
* The name of the issue view.
|
|
15897
|
+
*/
|
|
15898
|
+
name: string;
|
|
15899
|
+
/**
|
|
15900
|
+
* The issue search query.
|
|
15901
|
+
*/
|
|
15902
|
+
query: string;
|
|
15903
|
+
/**
|
|
15904
|
+
* The project IDs included in the view. Use `-1` to include all projects.
|
|
15905
|
+
*/
|
|
15906
|
+
projects: Array<number>;
|
|
15907
|
+
/**
|
|
15908
|
+
* The environment names included in the view. An empty list includes all environments.
|
|
15909
|
+
*/
|
|
15910
|
+
environments: Array<string>;
|
|
15911
|
+
/**
|
|
15912
|
+
* The time range for the view.
|
|
15913
|
+
*/
|
|
15914
|
+
timeFilters: {
|
|
15915
|
+
/**
|
|
15916
|
+
* The start of the time range in ISO-8601 format.
|
|
15917
|
+
*/
|
|
15918
|
+
start?: string | null;
|
|
15919
|
+
/**
|
|
15920
|
+
* The end of the time range in ISO-8601 format.
|
|
15921
|
+
*/
|
|
15922
|
+
end?: string | null;
|
|
15923
|
+
/**
|
|
15924
|
+
* The relative time period, such as `14d`.
|
|
15925
|
+
*/
|
|
15926
|
+
period?: string | null;
|
|
15927
|
+
/**
|
|
15928
|
+
* Whether to interpret the time range as UTC.
|
|
15929
|
+
*/
|
|
15930
|
+
utc?: boolean | null;
|
|
15931
|
+
};
|
|
15932
|
+
/**
|
|
15933
|
+
* How to sort issues in the view.
|
|
15934
|
+
*
|
|
15935
|
+
* * `date` - Last Seen
|
|
15936
|
+
* * `new` - First Seen
|
|
15937
|
+
* * `trends` - Trends
|
|
15938
|
+
* * `freq` - Events
|
|
15939
|
+
* * `user` - Users
|
|
15940
|
+
* * `inbox` - Date Added
|
|
15941
|
+
* * `recommended` - Recommended
|
|
15942
|
+
*/
|
|
15943
|
+
querySort?: 'date' | 'new' | 'trends' | 'freq' | 'user' | 'inbox' | 'recommended';
|
|
15944
|
+
/**
|
|
15945
|
+
* Whether to star the issue view for the current user.
|
|
15946
|
+
*/
|
|
15947
|
+
starred?: boolean;
|
|
15948
|
+
};
|
|
15949
|
+
path: {
|
|
15950
|
+
/**
|
|
15951
|
+
* The ID or slug of the organization the resource belongs to.
|
|
15952
|
+
*/
|
|
15953
|
+
organization_id_or_slug: string;
|
|
15954
|
+
};
|
|
15955
|
+
query?: never;
|
|
15956
|
+
url: '/api/0/organizations/{organization_id_or_slug}/group-search-views/';
|
|
15957
|
+
};
|
|
15958
|
+
export type CreateOrganizationIssueViewErrors = {
|
|
15959
|
+
/**
|
|
15960
|
+
* Bad Request
|
|
15961
|
+
*/
|
|
15962
|
+
400: unknown;
|
|
15963
|
+
/**
|
|
15964
|
+
* Unauthorized
|
|
15965
|
+
*/
|
|
15966
|
+
401: unknown;
|
|
15967
|
+
/**
|
|
15968
|
+
* Forbidden
|
|
15969
|
+
*/
|
|
15970
|
+
403: unknown;
|
|
15971
|
+
/**
|
|
15972
|
+
* Not Found
|
|
15973
|
+
*/
|
|
15974
|
+
404: unknown;
|
|
15975
|
+
};
|
|
15976
|
+
export type CreateOrganizationIssueViewResponses = {
|
|
15977
|
+
201: {
|
|
15074
15978
|
id: string;
|
|
15075
15979
|
createdBy: {
|
|
15076
15980
|
identities?: Array<{
|
|
@@ -15714,6 +16618,30 @@ export type UpdateOrganizationIssuesData = {
|
|
|
15714
16618
|
* * `high`
|
|
15715
16619
|
*/
|
|
15716
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;
|
|
15717
16645
|
};
|
|
15718
16646
|
path: {
|
|
15719
16647
|
/**
|
|
@@ -15831,6 +16759,10 @@ export type ListOrganizationMembersData = {
|
|
|
15831
16759
|
organization_id_or_slug: string;
|
|
15832
16760
|
};
|
|
15833
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;
|
|
15834
16766
|
/**
|
|
15835
16767
|
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
15836
16768
|
*/
|
|
@@ -15935,6 +16867,17 @@ export type AddOrganizationMemberData = {
|
|
|
15935
16867
|
* The email address to send the invitation to.
|
|
15936
16868
|
*/
|
|
15937
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';
|
|
15938
16881
|
/**
|
|
15939
16882
|
* The organization-level role of the new member. Roles include:
|
|
15940
16883
|
*
|
|
@@ -15951,6 +16894,12 @@ export type AddOrganizationMemberData = {
|
|
|
15951
16894
|
*
|
|
15952
16895
|
*/
|
|
15953
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>;
|
|
15954
16903
|
/**
|
|
15955
16904
|
* The team and team-roles assigned to the member. Team roles can be either:
|
|
15956
16905
|
* - `contributor` - Can view and act on issues. Depending on organization settings, they can also add team members.
|
|
@@ -15967,6 +16916,10 @@ export type AddOrganizationMemberData = {
|
|
|
15967
16916
|
* Whether or not to re-invite a user who has already been invited to the organization. Defaults to True.
|
|
15968
16917
|
*/
|
|
15969
16918
|
reinvite?: boolean;
|
|
16919
|
+
/**
|
|
16920
|
+
* Reissue the invite token, invalidating any previously sent invite link.
|
|
16921
|
+
*/
|
|
16922
|
+
regenerate?: boolean;
|
|
15970
16923
|
};
|
|
15971
16924
|
path: {
|
|
15972
16925
|
/**
|
|
@@ -17401,6 +18354,28 @@ export type CreateOrganizationMonitorData = {
|
|
|
17401
18354
|
* Disable creation of monitor incidents
|
|
17402
18355
|
*/
|
|
17403
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
|
+
};
|
|
17404
18379
|
};
|
|
17405
18380
|
path: {
|
|
17406
18381
|
/**
|
|
@@ -18368,6 +19343,28 @@ export type UpdateOrganizationMonitorData = {
|
|
|
18368
19343
|
* Disable creation of monitor incidents
|
|
18369
19344
|
*/
|
|
18370
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
|
+
};
|
|
18371
19368
|
};
|
|
18372
19369
|
path: {
|
|
18373
19370
|
/**
|
|
@@ -18661,6 +19658,14 @@ export type CreateOrganizationNotificationsActionData = {
|
|
|
18661
19658
|
* List of project IDs or slugs that the Notification Action is created for.
|
|
18662
19659
|
*/
|
|
18663
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;
|
|
18664
19669
|
};
|
|
18665
19670
|
path: {
|
|
18666
19671
|
/**
|
|
@@ -18794,6 +19799,14 @@ export type UpdateOrganizationNotificationsActionData = {
|
|
|
18794
19799
|
* List of project IDs or slugs that the Notification Action is created for.
|
|
18795
19800
|
*/
|
|
18796
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;
|
|
18797
19810
|
};
|
|
18798
19811
|
path: {
|
|
18799
19812
|
/**
|
|
@@ -20898,6 +21911,18 @@ export type UpdateOrganizationReleaseData = {
|
|
|
20898
21911
|
type: string;
|
|
20899
21912
|
}> | null;
|
|
20900
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
|
+
}>;
|
|
20901
21926
|
/**
|
|
20902
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.
|
|
20903
21928
|
*/
|
|
@@ -22620,6 +23645,10 @@ export type GetOrganizationScimV2GroupResponses = {
|
|
|
22620
23645
|
export type GetOrganizationScimV2GroupResponse = GetOrganizationScimV2GroupResponses[keyof GetOrganizationScimV2GroupResponses];
|
|
22621
23646
|
export type UpdateOrganizationScimV2GroupData = {
|
|
22622
23647
|
body: {
|
|
23648
|
+
/**
|
|
23649
|
+
* SCIM schema URIs identifying the request format. Must be the PatchOp schema.
|
|
23650
|
+
*/
|
|
23651
|
+
schemas: Array<string>;
|
|
22623
23652
|
/**
|
|
22624
23653
|
* The list of operations to perform. Valid operations are:
|
|
22625
23654
|
* * Renaming a team:
|
|
@@ -22973,6 +24002,10 @@ export type UpdateOrganizationScimV2UserData = {
|
|
|
22973
24002
|
value: unknown;
|
|
22974
24003
|
path?: string;
|
|
22975
24004
|
}>;
|
|
24005
|
+
/**
|
|
24006
|
+
* SCIM schema URIs identifying the request format. Must be the PatchOp schema.
|
|
24007
|
+
*/
|
|
24008
|
+
schemas?: Array<string>;
|
|
22976
24009
|
};
|
|
22977
24010
|
path: {
|
|
22978
24011
|
/**
|
|
@@ -26781,11 +27814,122 @@ export type GetProjectResponses = {
|
|
|
26781
27814
|
};
|
|
26782
27815
|
export type GetProjectResponse = GetProjectResponses[keyof GetProjectResponses];
|
|
26783
27816
|
export type UpdateProjectData = {
|
|
26784
|
-
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;
|
|
26785
27834
|
/**
|
|
26786
27835
|
* Enables starring the project within the projects tab. Can be updated with **`project:read`** permission.
|
|
26787
27836
|
*/
|
|
26788
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;
|
|
26789
27933
|
/**
|
|
26790
27934
|
* The name for the project
|
|
26791
27935
|
*/
|
|
@@ -26827,14 +27971,124 @@ export type UpdateProjectData = {
|
|
|
26827
27971
|
* E.g. `['release', 'environment']`
|
|
26828
27972
|
*/
|
|
26829
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;
|
|
26830
28042
|
/**
|
|
26831
28043
|
* Automatically create releases from ingested events. When disabled, releases must be created manually (e.g. via the Sentry CLI).
|
|
26832
28044
|
*/
|
|
26833
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;
|
|
26834
28079
|
/**
|
|
26835
28080
|
* Enable on-demand source context fetching from SCM integrations for stack traces.
|
|
26836
28081
|
*/
|
|
26837
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;
|
|
26838
28092
|
};
|
|
26839
28093
|
path: {
|
|
26840
28094
|
/**
|
|
@@ -29273,6 +30527,28 @@ export type UpdateProjectMonitorData = {
|
|
|
29273
30527
|
* Disable creation of monitor incidents
|
|
29274
30528
|
*/
|
|
29275
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
|
+
};
|
|
29276
30552
|
};
|
|
29277
30553
|
path: {
|
|
29278
30554
|
/**
|
|
@@ -32211,6 +33487,10 @@ export type UpdateSentryAppData = {
|
|
|
32211
33487
|
* Webhook events the custom integration is subscribed to.
|
|
32212
33488
|
*/
|
|
32213
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;
|
|
32214
33494
|
/**
|
|
32215
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.
|
|
32216
33496
|
*/
|
|
@@ -32666,6 +33946,10 @@ export type CreateTeamExternalTeamData = {
|
|
|
32666
33946
|
* Errors are output in camel case.
|
|
32667
33947
|
*/
|
|
32668
33948
|
body: {
|
|
33949
|
+
/**
|
|
33950
|
+
* ID of the Sentry team to link to the external team.
|
|
33951
|
+
*/
|
|
33952
|
+
team_id: number;
|
|
32669
33953
|
/**
|
|
32670
33954
|
* The associated name for the provider.
|
|
32671
33955
|
*/
|
|
@@ -32780,6 +34064,10 @@ export type UpdateTeamExternalTeamData = {
|
|
|
32780
34064
|
* Errors are output in camel case.
|
|
32781
34065
|
*/
|
|
32782
34066
|
body: {
|
|
34067
|
+
/**
|
|
34068
|
+
* ID of the Sentry team to link to the external team.
|
|
34069
|
+
*/
|
|
34070
|
+
team_id: number;
|
|
32783
34071
|
/**
|
|
32784
34072
|
* The associated name for the provider.
|
|
32785
34073
|
*/
|
|
@@ -34447,6 +35735,30 @@ export type UpdateOrganizationIssueData = {
|
|
|
34447
35735
|
* * `high`
|
|
34448
35736
|
*/
|
|
34449
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;
|
|
34450
35762
|
};
|
|
34451
35763
|
path: {
|
|
34452
35764
|
/**
|
|
@@ -34625,7 +35937,7 @@ export type GetOrganizationIssueAutofixStateData = {
|
|
|
34625
35937
|
/**
|
|
34626
35938
|
* If set, adds a `formatted` field to the response with the autofix rendered as the requested format for LLM consumption.
|
|
34627
35939
|
*/
|
|
34628
|
-
llmFormat?: 'markdown' | 'xml';
|
|
35940
|
+
llmFormat?: 'json' | 'markdown' | 'xml';
|
|
34629
35941
|
};
|
|
34630
35942
|
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/autofix/';
|
|
34631
35943
|
};
|
|
@@ -34650,9 +35962,12 @@ export type GetOrganizationIssueAutofixStateResponses = {
|
|
|
34650
35962
|
200: {
|
|
34651
35963
|
/**
|
|
34652
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.
|
|
34653
35968
|
*/
|
|
34654
35969
|
formatted?: {
|
|
34655
|
-
format: 'markdown' | 'xml';
|
|
35970
|
+
format: 'markdown' | 'xml' | 'json';
|
|
34656
35971
|
content: string;
|
|
34657
35972
|
};
|
|
34658
35973
|
autofix: {
|
|
@@ -34903,7 +36218,7 @@ export type GetOrganizationIssueEventData = {
|
|
|
34903
36218
|
/**
|
|
34904
36219
|
* If set, adds a `formatted` field to the response with the event rendered as the requested format for LLM consumption.
|
|
34905
36220
|
*/
|
|
34906
|
-
llmFormat?: 'markdown' | 'xml';
|
|
36221
|
+
llmFormat?: 'json' | 'markdown' | 'xml';
|
|
34907
36222
|
};
|
|
34908
36223
|
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/events/{event_id}/';
|
|
34909
36224
|
};
|
|
@@ -35093,9 +36408,12 @@ export type GetOrganizationIssueEventResponses = {
|
|
|
35093
36408
|
previousEventID: string | null;
|
|
35094
36409
|
/**
|
|
35095
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.
|
|
35096
36414
|
*/
|
|
35097
36415
|
formatted?: {
|
|
35098
|
-
format: 'markdown' | 'xml';
|
|
36416
|
+
format: 'markdown' | 'xml' | 'json';
|
|
35099
36417
|
content: string;
|
|
35100
36418
|
};
|
|
35101
36419
|
};
|