@sentry/api 0.159.0 → 0.160.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/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/sdk.gen.d.ts +5 -4
- package/dist/types.gen.d.ts +241 -234
- package/dist/zod.gen.d.ts +895 -1652
- package/dist/zod.js +374 -326
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -2971,6 +2971,106 @@ export type GroupExternalIssueResponse = Array<{
|
|
|
2971
2971
|
displayName: string;
|
|
2972
2972
|
webUrl: string;
|
|
2973
2973
|
}>;
|
|
2974
|
+
export type GroupHashesResponse = Array<{
|
|
2975
|
+
id: string;
|
|
2976
|
+
latestEvent: {
|
|
2977
|
+
id: string;
|
|
2978
|
+
groupID: string | null;
|
|
2979
|
+
eventID: string;
|
|
2980
|
+
projectID: string;
|
|
2981
|
+
message: string | null;
|
|
2982
|
+
title: string;
|
|
2983
|
+
location: string | null;
|
|
2984
|
+
user: {
|
|
2985
|
+
id?: string | null;
|
|
2986
|
+
email?: string | null;
|
|
2987
|
+
username?: string | null;
|
|
2988
|
+
ip_address?: string | null;
|
|
2989
|
+
name?: string | null;
|
|
2990
|
+
geo?: {
|
|
2991
|
+
[key: string]: string;
|
|
2992
|
+
} | null;
|
|
2993
|
+
data?: {
|
|
2994
|
+
[key: string]: unknown;
|
|
2995
|
+
} | null;
|
|
2996
|
+
} | null;
|
|
2997
|
+
tags: Array<{
|
|
2998
|
+
query?: string;
|
|
2999
|
+
key: string;
|
|
3000
|
+
value: string;
|
|
3001
|
+
}>;
|
|
3002
|
+
platform: string;
|
|
3003
|
+
dateReceived: string | null;
|
|
3004
|
+
contexts: {
|
|
3005
|
+
[key: string]: unknown;
|
|
3006
|
+
} | null;
|
|
3007
|
+
size: number | null;
|
|
3008
|
+
entries: Array<unknown>;
|
|
3009
|
+
dist: string | null;
|
|
3010
|
+
sdk: {
|
|
3011
|
+
[key: string]: string;
|
|
3012
|
+
};
|
|
3013
|
+
context: {
|
|
3014
|
+
[key: string]: unknown;
|
|
3015
|
+
} | null;
|
|
3016
|
+
packages: {
|
|
3017
|
+
[key: string]: unknown;
|
|
3018
|
+
};
|
|
3019
|
+
type: string;
|
|
3020
|
+
metadata: unknown;
|
|
3021
|
+
errors: Array<unknown>;
|
|
3022
|
+
occurrence: unknown;
|
|
3023
|
+
_meta: {
|
|
3024
|
+
[key: string]: unknown;
|
|
3025
|
+
};
|
|
3026
|
+
crashFile?: string | null;
|
|
3027
|
+
culprit?: string | null;
|
|
3028
|
+
dateCreated?: string;
|
|
3029
|
+
fingerprints?: Array<string>;
|
|
3030
|
+
groupingConfig?: unknown;
|
|
3031
|
+
startTimestamp?: string;
|
|
3032
|
+
endTimestamp?: string;
|
|
3033
|
+
measurements?: unknown;
|
|
3034
|
+
breakdowns?: unknown;
|
|
3035
|
+
} | {
|
|
3036
|
+
id: string;
|
|
3037
|
+
'event.type': string;
|
|
3038
|
+
groupID: string | null;
|
|
3039
|
+
eventID: string;
|
|
3040
|
+
projectID: string;
|
|
3041
|
+
message: string;
|
|
3042
|
+
title: string;
|
|
3043
|
+
location: string | null;
|
|
3044
|
+
culprit: string | null;
|
|
3045
|
+
user: {
|
|
3046
|
+
id?: string | null;
|
|
3047
|
+
email?: string | null;
|
|
3048
|
+
username?: string | null;
|
|
3049
|
+
ip_address?: string | null;
|
|
3050
|
+
name?: string | null;
|
|
3051
|
+
geo?: {
|
|
3052
|
+
[key: string]: string;
|
|
3053
|
+
} | null;
|
|
3054
|
+
data?: {
|
|
3055
|
+
[key: string]: unknown;
|
|
3056
|
+
} | null;
|
|
3057
|
+
} | null;
|
|
3058
|
+
tags: Array<{
|
|
3059
|
+
query?: string;
|
|
3060
|
+
key: string;
|
|
3061
|
+
value: string;
|
|
3062
|
+
}>;
|
|
3063
|
+
platform: string | null;
|
|
3064
|
+
dateCreated: string;
|
|
3065
|
+
crashFile: string | null;
|
|
3066
|
+
metadata: {
|
|
3067
|
+
[key: string]: unknown;
|
|
3068
|
+
} | null;
|
|
3069
|
+
} | {
|
|
3070
|
+
[key: string]: unknown;
|
|
3071
|
+
} | null;
|
|
3072
|
+
mergedBySeer: boolean;
|
|
3073
|
+
}>;
|
|
2974
3074
|
export type GroupUpdateResponse = {
|
|
2975
3075
|
isUnhandled?: boolean;
|
|
2976
3076
|
count?: string;
|
|
@@ -29400,240 +29500,6 @@ export type ListATagSValuesForAnIssueResponses = {
|
|
|
29400
29500
|
}>;
|
|
29401
29501
|
};
|
|
29402
29502
|
export type ListATagSValuesForAnIssueResponse = ListATagSValuesForAnIssueResponses[keyof ListATagSValuesForAnIssueResponses];
|
|
29403
|
-
export type ListAnIssueSHashesData = {
|
|
29404
|
-
body?: never;
|
|
29405
|
-
path: {
|
|
29406
|
-
/**
|
|
29407
|
-
* The ID or slug of the organization the event belongs to.
|
|
29408
|
-
*/
|
|
29409
|
-
organization_id_or_slug: string;
|
|
29410
|
-
/**
|
|
29411
|
-
* The ID of the issue to retrieve.
|
|
29412
|
-
*/
|
|
29413
|
-
issue_id: string;
|
|
29414
|
-
};
|
|
29415
|
-
query?: {
|
|
29416
|
-
/**
|
|
29417
|
-
* If this is set to true, the event payload will include the full event body, including the stacktrace. Set to 1 to enable.
|
|
29418
|
-
*/
|
|
29419
|
-
full?: boolean;
|
|
29420
|
-
/**
|
|
29421
|
-
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
29422
|
-
*/
|
|
29423
|
-
cursor?: string;
|
|
29424
|
-
};
|
|
29425
|
-
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/hashes/';
|
|
29426
|
-
};
|
|
29427
|
-
export type ListAnIssueSHashesErrors = {
|
|
29428
|
-
/**
|
|
29429
|
-
* Forbidden
|
|
29430
|
-
*/
|
|
29431
|
-
403: unknown;
|
|
29432
|
-
};
|
|
29433
|
-
export type ListAnIssueSHashesResponses = {
|
|
29434
|
-
/**
|
|
29435
|
-
* Success
|
|
29436
|
-
*/
|
|
29437
|
-
200: Array<{
|
|
29438
|
-
latestEvent?: {
|
|
29439
|
-
eventID: string;
|
|
29440
|
-
dist: string | null;
|
|
29441
|
-
message: string;
|
|
29442
|
-
id: string;
|
|
29443
|
-
size: number;
|
|
29444
|
-
errors: Array<{
|
|
29445
|
-
message?: string;
|
|
29446
|
-
type?: string;
|
|
29447
|
-
data?: {
|
|
29448
|
-
column?: number;
|
|
29449
|
-
source?: string;
|
|
29450
|
-
row?: number;
|
|
29451
|
-
};
|
|
29452
|
-
}>;
|
|
29453
|
-
platform: string;
|
|
29454
|
-
type: string;
|
|
29455
|
-
metadata: {
|
|
29456
|
-
type: string;
|
|
29457
|
-
value: string;
|
|
29458
|
-
} | {
|
|
29459
|
-
title: string;
|
|
29460
|
-
};
|
|
29461
|
-
tags: Array<{
|
|
29462
|
-
value?: string;
|
|
29463
|
-
key?: string;
|
|
29464
|
-
_meta?: string | null;
|
|
29465
|
-
}>;
|
|
29466
|
-
dateCreated: string;
|
|
29467
|
-
dateReceived: string;
|
|
29468
|
-
user: {
|
|
29469
|
-
username: string | null;
|
|
29470
|
-
name: string | null;
|
|
29471
|
-
ip_address: string | null;
|
|
29472
|
-
email: string | null;
|
|
29473
|
-
data: {
|
|
29474
|
-
isStaff?: boolean;
|
|
29475
|
-
} | null;
|
|
29476
|
-
id: string;
|
|
29477
|
-
} | null;
|
|
29478
|
-
entries: Array<{
|
|
29479
|
-
type: string;
|
|
29480
|
-
data: {
|
|
29481
|
-
values: Array<{
|
|
29482
|
-
category: string;
|
|
29483
|
-
level: string;
|
|
29484
|
-
event_id: string | null;
|
|
29485
|
-
timestamp: string;
|
|
29486
|
-
data: {
|
|
29487
|
-
[key: string]: unknown;
|
|
29488
|
-
} | null;
|
|
29489
|
-
message: string | null;
|
|
29490
|
-
type: string;
|
|
29491
|
-
}>;
|
|
29492
|
-
};
|
|
29493
|
-
} | {
|
|
29494
|
-
type: string;
|
|
29495
|
-
data: {
|
|
29496
|
-
fragment: string | null;
|
|
29497
|
-
cookies: Array<Array<string>> | null;
|
|
29498
|
-
inferredContentType: string | null;
|
|
29499
|
-
env: {
|
|
29500
|
-
ENV?: string;
|
|
29501
|
-
} | null;
|
|
29502
|
-
headers: Array<Array<string>>;
|
|
29503
|
-
url: string;
|
|
29504
|
-
query: Array<Array<string>>;
|
|
29505
|
-
data: {
|
|
29506
|
-
[key: string]: unknown;
|
|
29507
|
-
} | null;
|
|
29508
|
-
method: string | null;
|
|
29509
|
-
};
|
|
29510
|
-
} | {
|
|
29511
|
-
type: string;
|
|
29512
|
-
data: {
|
|
29513
|
-
formatted: string;
|
|
29514
|
-
};
|
|
29515
|
-
} | {
|
|
29516
|
-
type: string;
|
|
29517
|
-
data: {
|
|
29518
|
-
excOmitted: Array<number> | null;
|
|
29519
|
-
hasSystemFrames: boolean;
|
|
29520
|
-
values: Array<{
|
|
29521
|
-
stacktrace: {
|
|
29522
|
-
frames: Array<{
|
|
29523
|
-
function: string;
|
|
29524
|
-
errors: string | null;
|
|
29525
|
-
colNo: number | null;
|
|
29526
|
-
vars: {
|
|
29527
|
-
[key: string]: unknown;
|
|
29528
|
-
} | null;
|
|
29529
|
-
package: string | null;
|
|
29530
|
-
absPath: string | null;
|
|
29531
|
-
inApp: boolean;
|
|
29532
|
-
lineNo: number;
|
|
29533
|
-
module: string;
|
|
29534
|
-
filename: string;
|
|
29535
|
-
platform: string | null;
|
|
29536
|
-
instructionAddr: string | null;
|
|
29537
|
-
context: Array<Array<number | string>>;
|
|
29538
|
-
symbolAddr: string | null;
|
|
29539
|
-
trust: string | null;
|
|
29540
|
-
symbol: string | null;
|
|
29541
|
-
}>;
|
|
29542
|
-
framesOmitted: string | null;
|
|
29543
|
-
registers: string | null;
|
|
29544
|
-
hasSystemFrames: boolean;
|
|
29545
|
-
} | null;
|
|
29546
|
-
module: string | null;
|
|
29547
|
-
rawStacktrace: {
|
|
29548
|
-
[key: string]: unknown;
|
|
29549
|
-
} | null;
|
|
29550
|
-
mechanism: {
|
|
29551
|
-
type?: string;
|
|
29552
|
-
handled?: boolean;
|
|
29553
|
-
} | null;
|
|
29554
|
-
threadId: string | null;
|
|
29555
|
-
value: string;
|
|
29556
|
-
type: string;
|
|
29557
|
-
}>;
|
|
29558
|
-
};
|
|
29559
|
-
}>;
|
|
29560
|
-
packages: {
|
|
29561
|
-
[key: string]: unknown;
|
|
29562
|
-
};
|
|
29563
|
-
sdk: {
|
|
29564
|
-
version?: string;
|
|
29565
|
-
name?: string;
|
|
29566
|
-
};
|
|
29567
|
-
_meta: {
|
|
29568
|
-
user?: string | null;
|
|
29569
|
-
context?: string | null;
|
|
29570
|
-
entries?: {
|
|
29571
|
-
[key: string]: unknown;
|
|
29572
|
-
};
|
|
29573
|
-
contexts?: string | null;
|
|
29574
|
-
message?: string | null;
|
|
29575
|
-
packages?: string | null;
|
|
29576
|
-
tags?: {
|
|
29577
|
-
[key: string]: unknown;
|
|
29578
|
-
};
|
|
29579
|
-
sdk?: string | null;
|
|
29580
|
-
};
|
|
29581
|
-
contexts: {
|
|
29582
|
-
ForbiddenError?: {
|
|
29583
|
-
status?: number;
|
|
29584
|
-
statusText?: string;
|
|
29585
|
-
responseJSON?: {
|
|
29586
|
-
detail?: string;
|
|
29587
|
-
};
|
|
29588
|
-
type?: string;
|
|
29589
|
-
};
|
|
29590
|
-
browser?: {
|
|
29591
|
-
version?: string;
|
|
29592
|
-
type?: string;
|
|
29593
|
-
name?: string;
|
|
29594
|
-
};
|
|
29595
|
-
os?: {
|
|
29596
|
-
version?: string;
|
|
29597
|
-
type?: string;
|
|
29598
|
-
name?: string;
|
|
29599
|
-
};
|
|
29600
|
-
trace?: {
|
|
29601
|
-
span_id?: string;
|
|
29602
|
-
type?: string;
|
|
29603
|
-
trace_id?: string;
|
|
29604
|
-
op?: string;
|
|
29605
|
-
};
|
|
29606
|
-
organization?: {
|
|
29607
|
-
type?: string;
|
|
29608
|
-
id?: string;
|
|
29609
|
-
slug?: string;
|
|
29610
|
-
};
|
|
29611
|
-
};
|
|
29612
|
-
fingerprints: Array<string>;
|
|
29613
|
-
context: {
|
|
29614
|
-
resp?: {
|
|
29615
|
-
status?: number;
|
|
29616
|
-
responseJSON?: {
|
|
29617
|
-
detail?: string;
|
|
29618
|
-
};
|
|
29619
|
-
name?: string;
|
|
29620
|
-
statusText?: string;
|
|
29621
|
-
message?: string;
|
|
29622
|
-
stack?: string;
|
|
29623
|
-
};
|
|
29624
|
-
session?: {
|
|
29625
|
-
foo?: string;
|
|
29626
|
-
};
|
|
29627
|
-
unauthorized?: boolean;
|
|
29628
|
-
url?: string;
|
|
29629
|
-
};
|
|
29630
|
-
groupID: string;
|
|
29631
|
-
title: string;
|
|
29632
|
-
};
|
|
29633
|
-
id?: string;
|
|
29634
|
-
}>;
|
|
29635
|
-
};
|
|
29636
|
-
export type ListAnIssueSHashesResponse = ListAnIssueSHashesResponses[keyof ListAnIssueSHashesResponses];
|
|
29637
29503
|
export type ListAnOrganizationSReleasesData = {
|
|
29638
29504
|
body?: never;
|
|
29639
29505
|
path: {
|
|
@@ -31606,6 +31472,147 @@ export type RetrieveCustomIntegrationIssueLinksForTheGivenSentryIssueResponses =
|
|
|
31606
31472
|
}>;
|
|
31607
31473
|
};
|
|
31608
31474
|
export type RetrieveCustomIntegrationIssueLinksForTheGivenSentryIssueResponse = RetrieveCustomIntegrationIssueLinksForTheGivenSentryIssueResponses[keyof RetrieveCustomIntegrationIssueLinksForTheGivenSentryIssueResponses];
|
|
31475
|
+
export type ListAnIssueSHashesData = {
|
|
31476
|
+
body?: never;
|
|
31477
|
+
path: {
|
|
31478
|
+
/**
|
|
31479
|
+
* The ID or slug of the organization the resource belongs to.
|
|
31480
|
+
*/
|
|
31481
|
+
organization_id_or_slug: string;
|
|
31482
|
+
/**
|
|
31483
|
+
* The ID of the issue you'd like to query.
|
|
31484
|
+
*/
|
|
31485
|
+
issue_id: number;
|
|
31486
|
+
};
|
|
31487
|
+
query?: {
|
|
31488
|
+
/**
|
|
31489
|
+
* Specify true to include the full event body, including the stacktrace, in the event payload.
|
|
31490
|
+
*/
|
|
31491
|
+
full?: boolean;
|
|
31492
|
+
/**
|
|
31493
|
+
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
31494
|
+
*/
|
|
31495
|
+
cursor?: string;
|
|
31496
|
+
};
|
|
31497
|
+
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/hashes/';
|
|
31498
|
+
};
|
|
31499
|
+
export type ListAnIssueSHashesErrors = {
|
|
31500
|
+
/**
|
|
31501
|
+
* Unauthorized
|
|
31502
|
+
*/
|
|
31503
|
+
401: unknown;
|
|
31504
|
+
/**
|
|
31505
|
+
* Forbidden
|
|
31506
|
+
*/
|
|
31507
|
+
403: unknown;
|
|
31508
|
+
/**
|
|
31509
|
+
* Not Found
|
|
31510
|
+
*/
|
|
31511
|
+
404: unknown;
|
|
31512
|
+
};
|
|
31513
|
+
export type ListAnIssueSHashesResponses = {
|
|
31514
|
+
200: Array<{
|
|
31515
|
+
id: string;
|
|
31516
|
+
latestEvent: {
|
|
31517
|
+
id: string;
|
|
31518
|
+
groupID: string | null;
|
|
31519
|
+
eventID: string;
|
|
31520
|
+
projectID: string;
|
|
31521
|
+
message: string | null;
|
|
31522
|
+
title: string;
|
|
31523
|
+
location: string | null;
|
|
31524
|
+
user: {
|
|
31525
|
+
id?: string | null;
|
|
31526
|
+
email?: string | null;
|
|
31527
|
+
username?: string | null;
|
|
31528
|
+
ip_address?: string | null;
|
|
31529
|
+
name?: string | null;
|
|
31530
|
+
geo?: {
|
|
31531
|
+
[key: string]: string;
|
|
31532
|
+
} | null;
|
|
31533
|
+
data?: {
|
|
31534
|
+
[key: string]: unknown;
|
|
31535
|
+
} | null;
|
|
31536
|
+
} | null;
|
|
31537
|
+
tags: Array<{
|
|
31538
|
+
query?: string;
|
|
31539
|
+
key: string;
|
|
31540
|
+
value: string;
|
|
31541
|
+
}>;
|
|
31542
|
+
platform: string;
|
|
31543
|
+
dateReceived: string | null;
|
|
31544
|
+
contexts: {
|
|
31545
|
+
[key: string]: unknown;
|
|
31546
|
+
} | null;
|
|
31547
|
+
size: number | null;
|
|
31548
|
+
entries: Array<unknown>;
|
|
31549
|
+
dist: string | null;
|
|
31550
|
+
sdk: {
|
|
31551
|
+
[key: string]: string;
|
|
31552
|
+
};
|
|
31553
|
+
context: {
|
|
31554
|
+
[key: string]: unknown;
|
|
31555
|
+
} | null;
|
|
31556
|
+
packages: {
|
|
31557
|
+
[key: string]: unknown;
|
|
31558
|
+
};
|
|
31559
|
+
type: string;
|
|
31560
|
+
metadata: unknown;
|
|
31561
|
+
errors: Array<unknown>;
|
|
31562
|
+
occurrence: unknown;
|
|
31563
|
+
_meta: {
|
|
31564
|
+
[key: string]: unknown;
|
|
31565
|
+
};
|
|
31566
|
+
crashFile?: string | null;
|
|
31567
|
+
culprit?: string | null;
|
|
31568
|
+
dateCreated?: string;
|
|
31569
|
+
fingerprints?: Array<string>;
|
|
31570
|
+
groupingConfig?: unknown;
|
|
31571
|
+
startTimestamp?: string;
|
|
31572
|
+
endTimestamp?: string;
|
|
31573
|
+
measurements?: unknown;
|
|
31574
|
+
breakdowns?: unknown;
|
|
31575
|
+
} | {
|
|
31576
|
+
id: string;
|
|
31577
|
+
'event.type': string;
|
|
31578
|
+
groupID: string | null;
|
|
31579
|
+
eventID: string;
|
|
31580
|
+
projectID: string;
|
|
31581
|
+
message: string;
|
|
31582
|
+
title: string;
|
|
31583
|
+
location: string | null;
|
|
31584
|
+
culprit: string | null;
|
|
31585
|
+
user: {
|
|
31586
|
+
id?: string | null;
|
|
31587
|
+
email?: string | null;
|
|
31588
|
+
username?: string | null;
|
|
31589
|
+
ip_address?: string | null;
|
|
31590
|
+
name?: string | null;
|
|
31591
|
+
geo?: {
|
|
31592
|
+
[key: string]: string;
|
|
31593
|
+
} | null;
|
|
31594
|
+
data?: {
|
|
31595
|
+
[key: string]: unknown;
|
|
31596
|
+
} | null;
|
|
31597
|
+
} | null;
|
|
31598
|
+
tags: Array<{
|
|
31599
|
+
query?: string;
|
|
31600
|
+
key: string;
|
|
31601
|
+
value: string;
|
|
31602
|
+
}>;
|
|
31603
|
+
platform: string | null;
|
|
31604
|
+
dateCreated: string;
|
|
31605
|
+
crashFile: string | null;
|
|
31606
|
+
metadata: {
|
|
31607
|
+
[key: string]: unknown;
|
|
31608
|
+
} | null;
|
|
31609
|
+
} | {
|
|
31610
|
+
[key: string]: unknown;
|
|
31611
|
+
} | null;
|
|
31612
|
+
mergedBySeer: boolean;
|
|
31613
|
+
}>;
|
|
31614
|
+
};
|
|
31615
|
+
export type ListAnIssueSHashesResponse = ListAnIssueSHashesResponses[keyof ListAnIssueSHashesResponses];
|
|
31609
31616
|
export type RetrieveTagDetailsData = {
|
|
31610
31617
|
body?: never;
|
|
31611
31618
|
path: {
|