@sentry/api 0.154.0 → 0.156.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 +12 -0
- package/dist/pagination.gen.d.ts +16 -1
- package/dist/sdk.gen.d.ts +5 -1
- package/dist/types.gen.d.ts +303 -10
- package/dist/zod.gen.d.ts +1429 -197
- package/dist/zod.js +487 -4
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -4068,6 +4068,135 @@ export type ListProjectEnvironments = Array<{
|
|
|
4068
4068
|
name: string;
|
|
4069
4069
|
isHidden: boolean;
|
|
4070
4070
|
}>;
|
|
4071
|
+
export type ListProjectReleasesResponse = Array<{
|
|
4072
|
+
ref?: string | null;
|
|
4073
|
+
url?: string | null;
|
|
4074
|
+
dateReleased?: string | null;
|
|
4075
|
+
dateCreated?: string | null;
|
|
4076
|
+
dateStarted?: string | null;
|
|
4077
|
+
owner?: {
|
|
4078
|
+
[key: string]: unknown;
|
|
4079
|
+
} | null;
|
|
4080
|
+
lastCommit?: {
|
|
4081
|
+
[key: string]: unknown;
|
|
4082
|
+
} | null;
|
|
4083
|
+
lastDeploy?: {
|
|
4084
|
+
dateStarted?: string | null;
|
|
4085
|
+
url?: string | null;
|
|
4086
|
+
id: string;
|
|
4087
|
+
environment: string;
|
|
4088
|
+
dateFinished: string;
|
|
4089
|
+
name: string;
|
|
4090
|
+
} | null;
|
|
4091
|
+
firstEvent?: string | null;
|
|
4092
|
+
lastEvent?: string | null;
|
|
4093
|
+
currentProjectMeta?: {
|
|
4094
|
+
[key: string]: unknown;
|
|
4095
|
+
} | null;
|
|
4096
|
+
userAgent?: string | null;
|
|
4097
|
+
adoptionStages?: {
|
|
4098
|
+
[key: string]: unknown;
|
|
4099
|
+
} | null;
|
|
4100
|
+
id: number;
|
|
4101
|
+
version: string;
|
|
4102
|
+
newGroups: number;
|
|
4103
|
+
status: string;
|
|
4104
|
+
shortVersion: string;
|
|
4105
|
+
versionInfo: {
|
|
4106
|
+
description?: string;
|
|
4107
|
+
package: string | null;
|
|
4108
|
+
version: {
|
|
4109
|
+
[key: string]: unknown;
|
|
4110
|
+
};
|
|
4111
|
+
buildHash: string | null;
|
|
4112
|
+
} | null;
|
|
4113
|
+
data: {
|
|
4114
|
+
[key: string]: unknown;
|
|
4115
|
+
};
|
|
4116
|
+
commitCount: number;
|
|
4117
|
+
deployCount: number;
|
|
4118
|
+
authors: Array<{
|
|
4119
|
+
identities?: Array<{
|
|
4120
|
+
id: string;
|
|
4121
|
+
name: string;
|
|
4122
|
+
organization: {
|
|
4123
|
+
slug: string;
|
|
4124
|
+
name: string;
|
|
4125
|
+
};
|
|
4126
|
+
provider: {
|
|
4127
|
+
id: string;
|
|
4128
|
+
name: string;
|
|
4129
|
+
};
|
|
4130
|
+
dateVerified: string;
|
|
4131
|
+
dateSynced: string;
|
|
4132
|
+
}>;
|
|
4133
|
+
avatar?: {
|
|
4134
|
+
avatarType?: string;
|
|
4135
|
+
avatarUuid?: string | null;
|
|
4136
|
+
avatarUrl?: string | null;
|
|
4137
|
+
};
|
|
4138
|
+
authenticators?: Array<unknown>;
|
|
4139
|
+
canReset2fa?: boolean;
|
|
4140
|
+
id: string;
|
|
4141
|
+
name: string;
|
|
4142
|
+
username: string;
|
|
4143
|
+
email: string;
|
|
4144
|
+
avatarUrl: string;
|
|
4145
|
+
isActive: boolean;
|
|
4146
|
+
isSuspended: boolean;
|
|
4147
|
+
hasPasswordAuth: boolean;
|
|
4148
|
+
isManaged: boolean;
|
|
4149
|
+
dateJoined: string;
|
|
4150
|
+
lastLogin: string | null;
|
|
4151
|
+
has2fa: boolean;
|
|
4152
|
+
lastActive: string | null;
|
|
4153
|
+
isSuperuser: boolean;
|
|
4154
|
+
isStaff: boolean;
|
|
4155
|
+
experiments: {
|
|
4156
|
+
[key: string]: unknown;
|
|
4157
|
+
};
|
|
4158
|
+
emails: Array<{
|
|
4159
|
+
id: string;
|
|
4160
|
+
email: string;
|
|
4161
|
+
is_verified: boolean;
|
|
4162
|
+
}>;
|
|
4163
|
+
} | {
|
|
4164
|
+
name: string | null;
|
|
4165
|
+
email: string;
|
|
4166
|
+
}>;
|
|
4167
|
+
projects: Array<{
|
|
4168
|
+
healthData?: {
|
|
4169
|
+
durationP50?: number | null;
|
|
4170
|
+
durationP90?: number | null;
|
|
4171
|
+
crashFreeUsers?: number | null;
|
|
4172
|
+
crashFreeSessions?: number | null;
|
|
4173
|
+
totalUsers?: number | null;
|
|
4174
|
+
totalUsers24h?: number | null;
|
|
4175
|
+
totalProjectUsers24h?: number | null;
|
|
4176
|
+
totalSessions?: number | null;
|
|
4177
|
+
totalSessions24h?: number | null;
|
|
4178
|
+
totalProjectSessions24h?: number | null;
|
|
4179
|
+
adoption?: number | null;
|
|
4180
|
+
sessionsAdoption?: number | null;
|
|
4181
|
+
sessionsCrashed: number;
|
|
4182
|
+
sessionsErrored: number;
|
|
4183
|
+
hasHealthData: boolean;
|
|
4184
|
+
stats: {
|
|
4185
|
+
[key: string]: unknown;
|
|
4186
|
+
};
|
|
4187
|
+
} | null;
|
|
4188
|
+
dateReleased?: string | null;
|
|
4189
|
+
dateCreated?: string | null;
|
|
4190
|
+
dateStarted?: string | null;
|
|
4191
|
+
id: number;
|
|
4192
|
+
slug: string;
|
|
4193
|
+
name: string;
|
|
4194
|
+
platform: string | null;
|
|
4195
|
+
platforms: Array<string> | null;
|
|
4196
|
+
hasHealthData: boolean;
|
|
4197
|
+
newGroups: number;
|
|
4198
|
+
}>;
|
|
4199
|
+
}>;
|
|
4071
4200
|
export type ListReplayClicks = {
|
|
4072
4201
|
data: Array<{
|
|
4073
4202
|
node_id: number;
|
|
@@ -5374,10 +5503,6 @@ export type OrganizationDetailsPut = {
|
|
|
5374
5503
|
* Specify `true` to hide AI features from the organization.
|
|
5375
5504
|
*/
|
|
5376
5505
|
hideAiFeatures?: boolean;
|
|
5377
|
-
/**
|
|
5378
|
-
* Specify `true` to enable Code Coverage Insights. This feature is only available for organizations on the Team plan and above. Learn more about Codecov [here](/product/codecov/).
|
|
5379
|
-
*/
|
|
5380
|
-
codecovAccess?: boolean;
|
|
5381
5506
|
/**
|
|
5382
5507
|
* The default role new members will receive.
|
|
5383
5508
|
*
|
|
@@ -6335,7 +6460,6 @@ export type OrganizationWithProjectsAndTeams = {
|
|
|
6335
6460
|
lastModified?: string;
|
|
6336
6461
|
}>;
|
|
6337
6462
|
pendingAccessRequests: number;
|
|
6338
|
-
codecovAccess: boolean;
|
|
6339
6463
|
hideAiFeatures: boolean;
|
|
6340
6464
|
aggregatedDataConsent: boolean;
|
|
6341
6465
|
isDynamicallySampled: boolean;
|
|
@@ -9364,10 +9488,6 @@ export type UpdateAnOrganizationData = {
|
|
|
9364
9488
|
* Specify `true` to hide AI features from the organization.
|
|
9365
9489
|
*/
|
|
9366
9490
|
hideAiFeatures?: boolean;
|
|
9367
|
-
/**
|
|
9368
|
-
* Specify `true` to enable Code Coverage Insights. This feature is only available for organizations on the Team plan and above. Learn more about Codecov [here](/product/codecov/).
|
|
9369
|
-
*/
|
|
9370
|
-
codecovAccess?: boolean;
|
|
9371
9491
|
/**
|
|
9372
9492
|
* The default role new members will receive.
|
|
9373
9493
|
*
|
|
@@ -9659,7 +9779,6 @@ export type UpdateAnOrganizationResponses = {
|
|
|
9659
9779
|
lastModified?: string;
|
|
9660
9780
|
}>;
|
|
9661
9781
|
pendingAccessRequests: number;
|
|
9662
|
-
codecovAccess: boolean;
|
|
9663
9782
|
hideAiFeatures: boolean;
|
|
9664
9783
|
aggregatedDataConsent: boolean;
|
|
9665
9784
|
isDynamicallySampled: boolean;
|
|
@@ -25762,6 +25881,180 @@ export type UploadASnapshotResponses = {
|
|
|
25762
25881
|
};
|
|
25763
25882
|
};
|
|
25764
25883
|
export type UploadASnapshotResponse = UploadASnapshotResponses[keyof UploadASnapshotResponses];
|
|
25884
|
+
export type ListAProjectSReleasesData = {
|
|
25885
|
+
body?: never;
|
|
25886
|
+
path: {
|
|
25887
|
+
/**
|
|
25888
|
+
* The ID or slug of the organization the resource belongs to.
|
|
25889
|
+
*/
|
|
25890
|
+
organization_id_or_slug: string;
|
|
25891
|
+
/**
|
|
25892
|
+
* The ID or slug of the project the resource belongs to.
|
|
25893
|
+
*/
|
|
25894
|
+
project_id_or_slug: string;
|
|
25895
|
+
};
|
|
25896
|
+
query?: {
|
|
25897
|
+
/**
|
|
25898
|
+
* The name of environments to filter by.
|
|
25899
|
+
*/
|
|
25900
|
+
environment?: Array<string>;
|
|
25901
|
+
/**
|
|
25902
|
+
* Case-insensitive substring match against the release version.
|
|
25903
|
+
*/
|
|
25904
|
+
query?: string;
|
|
25905
|
+
/**
|
|
25906
|
+
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
25907
|
+
*/
|
|
25908
|
+
cursor?: string;
|
|
25909
|
+
};
|
|
25910
|
+
url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/';
|
|
25911
|
+
};
|
|
25912
|
+
export type ListAProjectSReleasesErrors = {
|
|
25913
|
+
/**
|
|
25914
|
+
* Unauthorized
|
|
25915
|
+
*/
|
|
25916
|
+
401: unknown;
|
|
25917
|
+
/**
|
|
25918
|
+
* Forbidden
|
|
25919
|
+
*/
|
|
25920
|
+
403: unknown;
|
|
25921
|
+
/**
|
|
25922
|
+
* Not Found
|
|
25923
|
+
*/
|
|
25924
|
+
404: unknown;
|
|
25925
|
+
};
|
|
25926
|
+
export type ListAProjectSReleasesResponses = {
|
|
25927
|
+
200: Array<{
|
|
25928
|
+
ref?: string | null;
|
|
25929
|
+
url?: string | null;
|
|
25930
|
+
dateReleased?: string | null;
|
|
25931
|
+
dateCreated?: string | null;
|
|
25932
|
+
dateStarted?: string | null;
|
|
25933
|
+
owner?: {
|
|
25934
|
+
[key: string]: unknown;
|
|
25935
|
+
} | null;
|
|
25936
|
+
lastCommit?: {
|
|
25937
|
+
[key: string]: unknown;
|
|
25938
|
+
} | null;
|
|
25939
|
+
lastDeploy?: {
|
|
25940
|
+
dateStarted?: string | null;
|
|
25941
|
+
url?: string | null;
|
|
25942
|
+
id: string;
|
|
25943
|
+
environment: string;
|
|
25944
|
+
dateFinished: string;
|
|
25945
|
+
name: string;
|
|
25946
|
+
} | null;
|
|
25947
|
+
firstEvent?: string | null;
|
|
25948
|
+
lastEvent?: string | null;
|
|
25949
|
+
currentProjectMeta?: {
|
|
25950
|
+
[key: string]: unknown;
|
|
25951
|
+
} | null;
|
|
25952
|
+
userAgent?: string | null;
|
|
25953
|
+
adoptionStages?: {
|
|
25954
|
+
[key: string]: unknown;
|
|
25955
|
+
} | null;
|
|
25956
|
+
id: number;
|
|
25957
|
+
version: string;
|
|
25958
|
+
newGroups: number;
|
|
25959
|
+
status: string;
|
|
25960
|
+
shortVersion: string;
|
|
25961
|
+
versionInfo: {
|
|
25962
|
+
description?: string;
|
|
25963
|
+
package: string | null;
|
|
25964
|
+
version: {
|
|
25965
|
+
[key: string]: unknown;
|
|
25966
|
+
};
|
|
25967
|
+
buildHash: string | null;
|
|
25968
|
+
} | null;
|
|
25969
|
+
data: {
|
|
25970
|
+
[key: string]: unknown;
|
|
25971
|
+
};
|
|
25972
|
+
commitCount: number;
|
|
25973
|
+
deployCount: number;
|
|
25974
|
+
authors: Array<{
|
|
25975
|
+
identities?: Array<{
|
|
25976
|
+
id: string;
|
|
25977
|
+
name: string;
|
|
25978
|
+
organization: {
|
|
25979
|
+
slug: string;
|
|
25980
|
+
name: string;
|
|
25981
|
+
};
|
|
25982
|
+
provider: {
|
|
25983
|
+
id: string;
|
|
25984
|
+
name: string;
|
|
25985
|
+
};
|
|
25986
|
+
dateVerified: string;
|
|
25987
|
+
dateSynced: string;
|
|
25988
|
+
}>;
|
|
25989
|
+
avatar?: {
|
|
25990
|
+
avatarType?: string;
|
|
25991
|
+
avatarUuid?: string | null;
|
|
25992
|
+
avatarUrl?: string | null;
|
|
25993
|
+
};
|
|
25994
|
+
authenticators?: Array<unknown>;
|
|
25995
|
+
canReset2fa?: boolean;
|
|
25996
|
+
id: string;
|
|
25997
|
+
name: string;
|
|
25998
|
+
username: string;
|
|
25999
|
+
email: string;
|
|
26000
|
+
avatarUrl: string;
|
|
26001
|
+
isActive: boolean;
|
|
26002
|
+
isSuspended: boolean;
|
|
26003
|
+
hasPasswordAuth: boolean;
|
|
26004
|
+
isManaged: boolean;
|
|
26005
|
+
dateJoined: string;
|
|
26006
|
+
lastLogin: string | null;
|
|
26007
|
+
has2fa: boolean;
|
|
26008
|
+
lastActive: string | null;
|
|
26009
|
+
isSuperuser: boolean;
|
|
26010
|
+
isStaff: boolean;
|
|
26011
|
+
experiments: {
|
|
26012
|
+
[key: string]: unknown;
|
|
26013
|
+
};
|
|
26014
|
+
emails: Array<{
|
|
26015
|
+
id: string;
|
|
26016
|
+
email: string;
|
|
26017
|
+
is_verified: boolean;
|
|
26018
|
+
}>;
|
|
26019
|
+
} | {
|
|
26020
|
+
name: string | null;
|
|
26021
|
+
email: string;
|
|
26022
|
+
}>;
|
|
26023
|
+
projects: Array<{
|
|
26024
|
+
healthData?: {
|
|
26025
|
+
durationP50?: number | null;
|
|
26026
|
+
durationP90?: number | null;
|
|
26027
|
+
crashFreeUsers?: number | null;
|
|
26028
|
+
crashFreeSessions?: number | null;
|
|
26029
|
+
totalUsers?: number | null;
|
|
26030
|
+
totalUsers24h?: number | null;
|
|
26031
|
+
totalProjectUsers24h?: number | null;
|
|
26032
|
+
totalSessions?: number | null;
|
|
26033
|
+
totalSessions24h?: number | null;
|
|
26034
|
+
totalProjectSessions24h?: number | null;
|
|
26035
|
+
adoption?: number | null;
|
|
26036
|
+
sessionsAdoption?: number | null;
|
|
26037
|
+
sessionsCrashed: number;
|
|
26038
|
+
sessionsErrored: number;
|
|
26039
|
+
hasHealthData: boolean;
|
|
26040
|
+
stats: {
|
|
26041
|
+
[key: string]: unknown;
|
|
26042
|
+
};
|
|
26043
|
+
} | null;
|
|
26044
|
+
dateReleased?: string | null;
|
|
26045
|
+
dateCreated?: string | null;
|
|
26046
|
+
dateStarted?: string | null;
|
|
26047
|
+
id: number;
|
|
26048
|
+
slug: string;
|
|
26049
|
+
name: string;
|
|
26050
|
+
platform: string | null;
|
|
26051
|
+
platforms: Array<string> | null;
|
|
26052
|
+
hasHealthData: boolean;
|
|
26053
|
+
newGroups: number;
|
|
26054
|
+
}>;
|
|
26055
|
+
}>;
|
|
26056
|
+
};
|
|
26057
|
+
export type ListAProjectSReleasesResponse = ListAProjectSReleasesResponses[keyof ListAProjectSReleasesResponses];
|
|
25765
26058
|
export type DeleteAReplayInstanceData = {
|
|
25766
26059
|
body?: never;
|
|
25767
26060
|
path: {
|