@sentry/api 0.148.0 → 0.150.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 +2 -2
- package/dist/index.js +11 -22
- package/dist/pagination.gen.d.ts +16 -1
- package/dist/sdk.gen.d.ts +5 -22
- package/dist/types.gen.d.ts +195 -151
- package/dist/zod.gen.d.ts +931 -334
- package/dist/zod.js +209 -113
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
|
-
baseUrl: 'https://{region}.sentry.io' | 'https://{region}.sentry.io' | 'https://{region}.sentry.io' | 'https://{region}.sentry.io' |
|
|
2
|
+
baseUrl: 'https://{region}.sentry.io' | 'https://{region}.sentry.io' | 'https://{region}.sentry.io' | 'https://{region}.sentry.io' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
/**
|
|
5
5
|
* Response type for the POST endpoint
|
|
@@ -4070,6 +4070,24 @@ export type ListOrganizations = Array<{
|
|
|
4070
4070
|
allowMemberProjectCreation: boolean;
|
|
4071
4071
|
allowSuperuserAccess: boolean;
|
|
4072
4072
|
}>;
|
|
4073
|
+
export type ListProjectDebugFilesResponse = Array<{
|
|
4074
|
+
id: string;
|
|
4075
|
+
uuid: string;
|
|
4076
|
+
debugId: string;
|
|
4077
|
+
codeId: string | null;
|
|
4078
|
+
cpuName: string;
|
|
4079
|
+
objectName: string;
|
|
4080
|
+
symbolType: string;
|
|
4081
|
+
headers: {
|
|
4082
|
+
[key: string]: string;
|
|
4083
|
+
};
|
|
4084
|
+
size: number;
|
|
4085
|
+
sha1: string;
|
|
4086
|
+
dateCreated: string;
|
|
4087
|
+
data: {
|
|
4088
|
+
[key: string]: unknown;
|
|
4089
|
+
};
|
|
4090
|
+
}>;
|
|
4073
4091
|
export type ListProjectEnvironments = Array<{
|
|
4074
4092
|
id: string;
|
|
4075
4093
|
name: string;
|
|
@@ -5259,23 +5277,28 @@ export type OrgReleaseResponse = {
|
|
|
5259
5277
|
commitCount: number;
|
|
5260
5278
|
deployCount: number;
|
|
5261
5279
|
authors: Array<{
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5280
|
+
identities?: Array<{
|
|
5281
|
+
id: string;
|
|
5282
|
+
name: string;
|
|
5283
|
+
organization: {
|
|
5284
|
+
slug: string;
|
|
5285
|
+
name: string;
|
|
5286
|
+
};
|
|
5287
|
+
provider: {
|
|
5288
|
+
id: string;
|
|
5289
|
+
name: string;
|
|
5290
|
+
};
|
|
5291
|
+
dateVerified: string;
|
|
5292
|
+
dateSynced: string;
|
|
5274
5293
|
}>;
|
|
5275
5294
|
avatar?: {
|
|
5276
|
-
|
|
5295
|
+
avatarType?: string;
|
|
5296
|
+
avatarUuid?: string | null;
|
|
5297
|
+
avatarUrl?: string | null;
|
|
5277
5298
|
};
|
|
5278
|
-
|
|
5299
|
+
authenticators?: Array<unknown>;
|
|
5300
|
+
canReset2fa?: boolean;
|
|
5301
|
+
id: string;
|
|
5279
5302
|
name: string;
|
|
5280
5303
|
username: string;
|
|
5281
5304
|
email: string;
|
|
@@ -5285,6 +5308,22 @@ export type OrgReleaseResponse = {
|
|
|
5285
5308
|
hasPasswordAuth: boolean;
|
|
5286
5309
|
isManaged: boolean;
|
|
5287
5310
|
dateJoined: string;
|
|
5311
|
+
lastLogin: string | null;
|
|
5312
|
+
has2fa: boolean;
|
|
5313
|
+
lastActive: string | null;
|
|
5314
|
+
isSuperuser: boolean;
|
|
5315
|
+
isStaff: boolean;
|
|
5316
|
+
experiments: {
|
|
5317
|
+
[key: string]: unknown;
|
|
5318
|
+
};
|
|
5319
|
+
emails: Array<{
|
|
5320
|
+
id: string;
|
|
5321
|
+
email: string;
|
|
5322
|
+
is_verified: boolean;
|
|
5323
|
+
}>;
|
|
5324
|
+
} | {
|
|
5325
|
+
name: string | null;
|
|
5326
|
+
email: string;
|
|
5288
5327
|
}>;
|
|
5289
5328
|
projects: Array<{
|
|
5290
5329
|
healthData?: {
|
|
@@ -18762,23 +18801,28 @@ export type RetrieveAnOrganizationSReleaseResponses = {
|
|
|
18762
18801
|
commitCount: number;
|
|
18763
18802
|
deployCount: number;
|
|
18764
18803
|
authors: Array<{
|
|
18765
|
-
|
|
18766
|
-
|
|
18767
|
-
|
|
18768
|
-
|
|
18769
|
-
|
|
18770
|
-
|
|
18771
|
-
|
|
18772
|
-
|
|
18773
|
-
|
|
18774
|
-
|
|
18775
|
-
|
|
18776
|
-
|
|
18804
|
+
identities?: Array<{
|
|
18805
|
+
id: string;
|
|
18806
|
+
name: string;
|
|
18807
|
+
organization: {
|
|
18808
|
+
slug: string;
|
|
18809
|
+
name: string;
|
|
18810
|
+
};
|
|
18811
|
+
provider: {
|
|
18812
|
+
id: string;
|
|
18813
|
+
name: string;
|
|
18814
|
+
};
|
|
18815
|
+
dateVerified: string;
|
|
18816
|
+
dateSynced: string;
|
|
18777
18817
|
}>;
|
|
18778
18818
|
avatar?: {
|
|
18779
|
-
|
|
18819
|
+
avatarType?: string;
|
|
18820
|
+
avatarUuid?: string | null;
|
|
18821
|
+
avatarUrl?: string | null;
|
|
18780
18822
|
};
|
|
18781
|
-
|
|
18823
|
+
authenticators?: Array<unknown>;
|
|
18824
|
+
canReset2fa?: boolean;
|
|
18825
|
+
id: string;
|
|
18782
18826
|
name: string;
|
|
18783
18827
|
username: string;
|
|
18784
18828
|
email: string;
|
|
@@ -18788,6 +18832,22 @@ export type RetrieveAnOrganizationSReleaseResponses = {
|
|
|
18788
18832
|
hasPasswordAuth: boolean;
|
|
18789
18833
|
isManaged: boolean;
|
|
18790
18834
|
dateJoined: string;
|
|
18835
|
+
lastLogin: string | null;
|
|
18836
|
+
has2fa: boolean;
|
|
18837
|
+
lastActive: string | null;
|
|
18838
|
+
isSuperuser: boolean;
|
|
18839
|
+
isStaff: boolean;
|
|
18840
|
+
experiments: {
|
|
18841
|
+
[key: string]: unknown;
|
|
18842
|
+
};
|
|
18843
|
+
emails: Array<{
|
|
18844
|
+
id: string;
|
|
18845
|
+
email: string;
|
|
18846
|
+
is_verified: boolean;
|
|
18847
|
+
}>;
|
|
18848
|
+
} | {
|
|
18849
|
+
name: string | null;
|
|
18850
|
+
email: string;
|
|
18791
18851
|
}>;
|
|
18792
18852
|
projects: Array<{
|
|
18793
18853
|
healthData?: {
|
|
@@ -18938,23 +18998,28 @@ export type UpdateAnOrganizationSReleaseResponses = {
|
|
|
18938
18998
|
commitCount: number;
|
|
18939
18999
|
deployCount: number;
|
|
18940
19000
|
authors: Array<{
|
|
18941
|
-
|
|
18942
|
-
|
|
18943
|
-
|
|
18944
|
-
|
|
18945
|
-
|
|
18946
|
-
|
|
18947
|
-
|
|
18948
|
-
|
|
18949
|
-
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
19001
|
+
identities?: Array<{
|
|
19002
|
+
id: string;
|
|
19003
|
+
name: string;
|
|
19004
|
+
organization: {
|
|
19005
|
+
slug: string;
|
|
19006
|
+
name: string;
|
|
19007
|
+
};
|
|
19008
|
+
provider: {
|
|
19009
|
+
id: string;
|
|
19010
|
+
name: string;
|
|
19011
|
+
};
|
|
19012
|
+
dateVerified: string;
|
|
19013
|
+
dateSynced: string;
|
|
18953
19014
|
}>;
|
|
18954
19015
|
avatar?: {
|
|
18955
|
-
|
|
19016
|
+
avatarType?: string;
|
|
19017
|
+
avatarUuid?: string | null;
|
|
19018
|
+
avatarUrl?: string | null;
|
|
18956
19019
|
};
|
|
18957
|
-
|
|
19020
|
+
authenticators?: Array<unknown>;
|
|
19021
|
+
canReset2fa?: boolean;
|
|
19022
|
+
id: string;
|
|
18958
19023
|
name: string;
|
|
18959
19024
|
username: string;
|
|
18960
19025
|
email: string;
|
|
@@ -18964,6 +19029,22 @@ export type UpdateAnOrganizationSReleaseResponses = {
|
|
|
18964
19029
|
hasPasswordAuth: boolean;
|
|
18965
19030
|
isManaged: boolean;
|
|
18966
19031
|
dateJoined: string;
|
|
19032
|
+
lastLogin: string | null;
|
|
19033
|
+
has2fa: boolean;
|
|
19034
|
+
lastActive: string | null;
|
|
19035
|
+
isSuperuser: boolean;
|
|
19036
|
+
isStaff: boolean;
|
|
19037
|
+
experiments: {
|
|
19038
|
+
[key: string]: unknown;
|
|
19039
|
+
};
|
|
19040
|
+
emails: Array<{
|
|
19041
|
+
id: string;
|
|
19042
|
+
email: string;
|
|
19043
|
+
is_verified: boolean;
|
|
19044
|
+
}>;
|
|
19045
|
+
} | {
|
|
19046
|
+
name: string | null;
|
|
19047
|
+
email: string;
|
|
18967
19048
|
}>;
|
|
18968
19049
|
projects: Array<{
|
|
18969
19050
|
healthData?: {
|
|
@@ -24272,6 +24353,77 @@ export type DebugIssuesRelatedToSourceMapsForAGivenEventResponses = {
|
|
|
24272
24353
|
};
|
|
24273
24354
|
};
|
|
24274
24355
|
export type DebugIssuesRelatedToSourceMapsForAGivenEventResponse = DebugIssuesRelatedToSourceMapsForAGivenEventResponses[keyof DebugIssuesRelatedToSourceMapsForAGivenEventResponses];
|
|
24356
|
+
export type ListAProjectSDebugInformationFilesData = {
|
|
24357
|
+
body?: never;
|
|
24358
|
+
path: {
|
|
24359
|
+
/**
|
|
24360
|
+
* The ID or slug of the organization the resource belongs to.
|
|
24361
|
+
*/
|
|
24362
|
+
organization_id_or_slug: string;
|
|
24363
|
+
/**
|
|
24364
|
+
* The ID or slug of the project the resource belongs to.
|
|
24365
|
+
*/
|
|
24366
|
+
project_id_or_slug: string;
|
|
24367
|
+
};
|
|
24368
|
+
query?: {
|
|
24369
|
+
/**
|
|
24370
|
+
* Substring filter matched against object name, debug ID, code ID, CPU name, and file headers.
|
|
24371
|
+
*/
|
|
24372
|
+
query?: string;
|
|
24373
|
+
/**
|
|
24374
|
+
* Filter results to debug information files matching the given debug ID.
|
|
24375
|
+
*/
|
|
24376
|
+
debug_id?: string;
|
|
24377
|
+
/**
|
|
24378
|
+
* Filter results to debug information files matching the given code ID.
|
|
24379
|
+
*/
|
|
24380
|
+
code_id?: string;
|
|
24381
|
+
/**
|
|
24382
|
+
* Restrict results to one or more file formats.
|
|
24383
|
+
*/
|
|
24384
|
+
file_formats?: Array<string>;
|
|
24385
|
+
/**
|
|
24386
|
+
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
24387
|
+
*/
|
|
24388
|
+
cursor?: string;
|
|
24389
|
+
};
|
|
24390
|
+
url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/dsyms/';
|
|
24391
|
+
};
|
|
24392
|
+
export type ListAProjectSDebugInformationFilesErrors = {
|
|
24393
|
+
/**
|
|
24394
|
+
* Unauthorized
|
|
24395
|
+
*/
|
|
24396
|
+
401: unknown;
|
|
24397
|
+
/**
|
|
24398
|
+
* Forbidden
|
|
24399
|
+
*/
|
|
24400
|
+
403: unknown;
|
|
24401
|
+
/**
|
|
24402
|
+
* Not Found
|
|
24403
|
+
*/
|
|
24404
|
+
404: unknown;
|
|
24405
|
+
};
|
|
24406
|
+
export type ListAProjectSDebugInformationFilesResponses = {
|
|
24407
|
+
200: Array<{
|
|
24408
|
+
id: string;
|
|
24409
|
+
uuid: string;
|
|
24410
|
+
debugId: string;
|
|
24411
|
+
codeId: string | null;
|
|
24412
|
+
cpuName: string;
|
|
24413
|
+
objectName: string;
|
|
24414
|
+
symbolType: string;
|
|
24415
|
+
headers: {
|
|
24416
|
+
[key: string]: string;
|
|
24417
|
+
};
|
|
24418
|
+
size: number;
|
|
24419
|
+
sha1: string;
|
|
24420
|
+
dateCreated: string;
|
|
24421
|
+
data: {
|
|
24422
|
+
[key: string]: unknown;
|
|
24423
|
+
};
|
|
24424
|
+
}>;
|
|
24425
|
+
};
|
|
24426
|
+
export type ListAProjectSDebugInformationFilesResponse = ListAProjectSDebugInformationFilesResponses[keyof ListAProjectSDebugInformationFilesResponses];
|
|
24275
24427
|
export type ListAProjectSDataFiltersData = {
|
|
24276
24428
|
body?: never;
|
|
24277
24429
|
path: {
|
|
@@ -28741,114 +28893,6 @@ export type ListAnOrganizationSRepositoriesResponses = {
|
|
|
28741
28893
|
}>;
|
|
28742
28894
|
};
|
|
28743
28895
|
export type ListAnOrganizationSRepositoriesResponse = ListAnOrganizationSRepositoriesResponses[keyof ListAnOrganizationSRepositoriesResponses];
|
|
28744
|
-
export type DeleteASpecificProjectSDebugInformationFileData = {
|
|
28745
|
-
body?: never;
|
|
28746
|
-
path: {
|
|
28747
|
-
/**
|
|
28748
|
-
* The ID or slug of the organization the file belongs to.
|
|
28749
|
-
*/
|
|
28750
|
-
organization_id_or_slug: string;
|
|
28751
|
-
/**
|
|
28752
|
-
* The ID or slug of the project to delete the DIF.
|
|
28753
|
-
*/
|
|
28754
|
-
project_id_or_slug: string;
|
|
28755
|
-
};
|
|
28756
|
-
query: {
|
|
28757
|
-
/**
|
|
28758
|
-
* The ID of the DIF to delete.
|
|
28759
|
-
*/
|
|
28760
|
-
id: string;
|
|
28761
|
-
};
|
|
28762
|
-
url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/dsyms/';
|
|
28763
|
-
};
|
|
28764
|
-
export type DeleteASpecificProjectSDebugInformationFileErrors = {
|
|
28765
|
-
/**
|
|
28766
|
-
* Forbidden
|
|
28767
|
-
*/
|
|
28768
|
-
403: unknown;
|
|
28769
|
-
/**
|
|
28770
|
-
* The requested resource does not exist
|
|
28771
|
-
*/
|
|
28772
|
-
404: unknown;
|
|
28773
|
-
};
|
|
28774
|
-
export type DeleteASpecificProjectSDebugInformationFileResponses = {
|
|
28775
|
-
/**
|
|
28776
|
-
* Success
|
|
28777
|
-
*/
|
|
28778
|
-
204: void;
|
|
28779
|
-
};
|
|
28780
|
-
export type DeleteASpecificProjectSDebugInformationFileResponse = DeleteASpecificProjectSDebugInformationFileResponses[keyof DeleteASpecificProjectSDebugInformationFileResponses];
|
|
28781
|
-
export type ListAProjectSDebugInformationFilesData = {
|
|
28782
|
-
body?: never;
|
|
28783
|
-
path: {
|
|
28784
|
-
/**
|
|
28785
|
-
* The ID or slug of the organization the file belongs to.
|
|
28786
|
-
*/
|
|
28787
|
-
organization_id_or_slug: string;
|
|
28788
|
-
/**
|
|
28789
|
-
* The ID or slug of the project to list the DIFs of.
|
|
28790
|
-
*/
|
|
28791
|
-
project_id_or_slug: string;
|
|
28792
|
-
};
|
|
28793
|
-
query?: never;
|
|
28794
|
-
url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/dsyms/';
|
|
28795
|
-
};
|
|
28796
|
-
export type ListAProjectSDebugInformationFilesErrors = {
|
|
28797
|
-
/**
|
|
28798
|
-
* Forbidden
|
|
28799
|
-
*/
|
|
28800
|
-
403: unknown;
|
|
28801
|
-
/**
|
|
28802
|
-
* The requested resource does not exist
|
|
28803
|
-
*/
|
|
28804
|
-
404: unknown;
|
|
28805
|
-
};
|
|
28806
|
-
export type ListAProjectSDebugInformationFilesResponses = {
|
|
28807
|
-
/**
|
|
28808
|
-
* Success
|
|
28809
|
-
*/
|
|
28810
|
-
200: unknown;
|
|
28811
|
-
};
|
|
28812
|
-
export type UploadANewFileData = {
|
|
28813
|
-
body: {
|
|
28814
|
-
/**
|
|
28815
|
-
* The multipart encoded file.
|
|
28816
|
-
*/
|
|
28817
|
-
file: Blob | File;
|
|
28818
|
-
};
|
|
28819
|
-
path: {
|
|
28820
|
-
/**
|
|
28821
|
-
* The ID or slug of the organization the project belongs to.
|
|
28822
|
-
*/
|
|
28823
|
-
organization_id_or_slug: string;
|
|
28824
|
-
/**
|
|
28825
|
-
* The ID or slug of the project to upload a file to.
|
|
28826
|
-
*/
|
|
28827
|
-
project_id_or_slug: string;
|
|
28828
|
-
};
|
|
28829
|
-
query?: never;
|
|
28830
|
-
url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/dsyms/';
|
|
28831
|
-
};
|
|
28832
|
-
export type UploadANewFileErrors = {
|
|
28833
|
-
/**
|
|
28834
|
-
* Bad Input
|
|
28835
|
-
*/
|
|
28836
|
-
400: unknown;
|
|
28837
|
-
/**
|
|
28838
|
-
* Forbidden
|
|
28839
|
-
*/
|
|
28840
|
-
403: unknown;
|
|
28841
|
-
/**
|
|
28842
|
-
* The requested resource does not exist
|
|
28843
|
-
*/
|
|
28844
|
-
404: unknown;
|
|
28845
|
-
};
|
|
28846
|
-
export type UploadANewFileResponses = {
|
|
28847
|
-
/**
|
|
28848
|
-
* Success
|
|
28849
|
-
*/
|
|
28850
|
-
201: unknown;
|
|
28851
|
-
};
|
|
28852
28896
|
export type ListAProjectSusersData = {
|
|
28853
28897
|
body?: never;
|
|
28854
28898
|
path: {
|