@sentry/api 0.366.0 → 0.368.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 +3 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -0
- package/dist/sdk.gen.d.ts +7 -1
- package/dist/sentry-client.gen.d.ts +6 -0
- package/dist/types.gen.d.ts +183 -0
- package/dist/valibot.gen.d.ts +120 -0
- package/dist/valibot.js +123 -0
- package/dist/zod.gen.d.ts +628 -0
- package/dist/zod.js +207 -0
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -13057,6 +13057,99 @@ var zSourceMapDebug = z.object({
|
|
|
13057
13057
|
]),
|
|
13058
13058
|
has_scraping_data: z.boolean()
|
|
13059
13059
|
});
|
|
13060
|
+
var zStacktraceLinkResponse = z.object({
|
|
13061
|
+
sourcePath: z.union([
|
|
13062
|
+
z.string(),
|
|
13063
|
+
z.null()
|
|
13064
|
+
]).optional(),
|
|
13065
|
+
attemptedUrl: z.union([
|
|
13066
|
+
z.string(),
|
|
13067
|
+
z.null()
|
|
13068
|
+
]).optional(),
|
|
13069
|
+
error: z.union([
|
|
13070
|
+
z.string(),
|
|
13071
|
+
z.null()
|
|
13072
|
+
]),
|
|
13073
|
+
config: z.union([
|
|
13074
|
+
z.object({
|
|
13075
|
+
id: z.string(),
|
|
13076
|
+
projectId: z.string(),
|
|
13077
|
+
projectSlug: z.string(),
|
|
13078
|
+
repoId: z.string(),
|
|
13079
|
+
repoName: z.string(),
|
|
13080
|
+
integrationId: z.union([
|
|
13081
|
+
z.string(),
|
|
13082
|
+
z.null()
|
|
13083
|
+
]),
|
|
13084
|
+
provider: z.union([
|
|
13085
|
+
z.object({
|
|
13086
|
+
key: z.string(),
|
|
13087
|
+
slug: z.string(),
|
|
13088
|
+
name: z.string(),
|
|
13089
|
+
canAdd: z.boolean(),
|
|
13090
|
+
canDisable: z.boolean(),
|
|
13091
|
+
features: z.array(z.string()),
|
|
13092
|
+
aspects: z.record(z.unknown())
|
|
13093
|
+
}),
|
|
13094
|
+
z.null()
|
|
13095
|
+
]),
|
|
13096
|
+
stackRoot: z.string(),
|
|
13097
|
+
sourceRoot: z.string(),
|
|
13098
|
+
defaultBranch: z.union([
|
|
13099
|
+
z.string(),
|
|
13100
|
+
z.null()
|
|
13101
|
+
]),
|
|
13102
|
+
automaticallyGenerated: z.boolean(),
|
|
13103
|
+
hasCodeOwner: z.boolean()
|
|
13104
|
+
}),
|
|
13105
|
+
z.null()
|
|
13106
|
+
]),
|
|
13107
|
+
sourceUrl: z.union([
|
|
13108
|
+
z.string(),
|
|
13109
|
+
z.null()
|
|
13110
|
+
]),
|
|
13111
|
+
integrations: z.array(z.object({
|
|
13112
|
+
id: z.string(),
|
|
13113
|
+
name: z.string(),
|
|
13114
|
+
icon: z.union([
|
|
13115
|
+
z.string(),
|
|
13116
|
+
z.null()
|
|
13117
|
+
]),
|
|
13118
|
+
domainName: z.union([
|
|
13119
|
+
z.string(),
|
|
13120
|
+
z.null()
|
|
13121
|
+
]),
|
|
13122
|
+
accountType: z.union([
|
|
13123
|
+
z.string(),
|
|
13124
|
+
z.null()
|
|
13125
|
+
]),
|
|
13126
|
+
scopes: z.union([
|
|
13127
|
+
z.array(z.string()),
|
|
13128
|
+
z.null()
|
|
13129
|
+
]),
|
|
13130
|
+
outOfDate: z.union([
|
|
13131
|
+
z.boolean(),
|
|
13132
|
+
z.null()
|
|
13133
|
+
]),
|
|
13134
|
+
missingFeatures: z.union([
|
|
13135
|
+
z.array(z.object({
|
|
13136
|
+
key: z.string(),
|
|
13137
|
+
description: z.string()
|
|
13138
|
+
})),
|
|
13139
|
+
z.null()
|
|
13140
|
+
]),
|
|
13141
|
+
status: z.string(),
|
|
13142
|
+
provider: z.object({
|
|
13143
|
+
key: z.string(),
|
|
13144
|
+
slug: z.string(),
|
|
13145
|
+
name: z.string(),
|
|
13146
|
+
canAdd: z.boolean(),
|
|
13147
|
+
canDisable: z.boolean(),
|
|
13148
|
+
features: z.array(z.string()),
|
|
13149
|
+
aspects: z.record(z.unknown())
|
|
13150
|
+
})
|
|
13151
|
+
}))
|
|
13152
|
+
});
|
|
13060
13153
|
var zStarSegment = z.object({
|
|
13061
13154
|
service_span: z.string(),
|
|
13062
13155
|
project_id: z.number().int().gte(1)
|
|
@@ -30855,6 +30948,117 @@ var zLinkProjectRepositoryResponse = z.object({
|
|
|
30855
30948
|
source: z.string(),
|
|
30856
30949
|
created: z.boolean()
|
|
30857
30950
|
});
|
|
30951
|
+
var zGetProjectStacktraceLinkData = z.object({
|
|
30952
|
+
body: z.never().optional(),
|
|
30953
|
+
path: z.object({
|
|
30954
|
+
organization_id_or_slug: z.string(),
|
|
30955
|
+
project_id_or_slug: z.string()
|
|
30956
|
+
}),
|
|
30957
|
+
query: z.object({
|
|
30958
|
+
file: z.string(),
|
|
30959
|
+
platform: z.string().optional(),
|
|
30960
|
+
absPath: z.string().optional(),
|
|
30961
|
+
commitId: z.string().optional(),
|
|
30962
|
+
sdkName: z.string().optional(),
|
|
30963
|
+
module: z.string().optional(),
|
|
30964
|
+
package: z.string().optional(),
|
|
30965
|
+
lineNo: z.string().optional(),
|
|
30966
|
+
groupId: z.string().optional()
|
|
30967
|
+
})
|
|
30968
|
+
});
|
|
30969
|
+
var zGetProjectStacktraceLinkResponse = z.object({
|
|
30970
|
+
sourcePath: z.union([
|
|
30971
|
+
z.string(),
|
|
30972
|
+
z.null()
|
|
30973
|
+
]).optional(),
|
|
30974
|
+
attemptedUrl: z.union([
|
|
30975
|
+
z.string(),
|
|
30976
|
+
z.null()
|
|
30977
|
+
]).optional(),
|
|
30978
|
+
error: z.union([
|
|
30979
|
+
z.string(),
|
|
30980
|
+
z.null()
|
|
30981
|
+
]),
|
|
30982
|
+
config: z.union([
|
|
30983
|
+
z.object({
|
|
30984
|
+
id: z.string(),
|
|
30985
|
+
projectId: z.string(),
|
|
30986
|
+
projectSlug: z.string(),
|
|
30987
|
+
repoId: z.string(),
|
|
30988
|
+
repoName: z.string(),
|
|
30989
|
+
integrationId: z.union([
|
|
30990
|
+
z.string(),
|
|
30991
|
+
z.null()
|
|
30992
|
+
]),
|
|
30993
|
+
provider: z.union([
|
|
30994
|
+
z.object({
|
|
30995
|
+
key: z.string(),
|
|
30996
|
+
slug: z.string(),
|
|
30997
|
+
name: z.string(),
|
|
30998
|
+
canAdd: z.boolean(),
|
|
30999
|
+
canDisable: z.boolean(),
|
|
31000
|
+
features: z.array(z.string()),
|
|
31001
|
+
aspects: z.record(z.unknown())
|
|
31002
|
+
}),
|
|
31003
|
+
z.null()
|
|
31004
|
+
]),
|
|
31005
|
+
stackRoot: z.string(),
|
|
31006
|
+
sourceRoot: z.string(),
|
|
31007
|
+
defaultBranch: z.union([
|
|
31008
|
+
z.string(),
|
|
31009
|
+
z.null()
|
|
31010
|
+
]),
|
|
31011
|
+
automaticallyGenerated: z.boolean(),
|
|
31012
|
+
hasCodeOwner: z.boolean()
|
|
31013
|
+
}),
|
|
31014
|
+
z.null()
|
|
31015
|
+
]),
|
|
31016
|
+
sourceUrl: z.union([
|
|
31017
|
+
z.string(),
|
|
31018
|
+
z.null()
|
|
31019
|
+
]),
|
|
31020
|
+
integrations: z.array(z.object({
|
|
31021
|
+
id: z.string(),
|
|
31022
|
+
name: z.string(),
|
|
31023
|
+
icon: z.union([
|
|
31024
|
+
z.string(),
|
|
31025
|
+
z.null()
|
|
31026
|
+
]),
|
|
31027
|
+
domainName: z.union([
|
|
31028
|
+
z.string(),
|
|
31029
|
+
z.null()
|
|
31030
|
+
]),
|
|
31031
|
+
accountType: z.union([
|
|
31032
|
+
z.string(),
|
|
31033
|
+
z.null()
|
|
31034
|
+
]),
|
|
31035
|
+
scopes: z.union([
|
|
31036
|
+
z.array(z.string()),
|
|
31037
|
+
z.null()
|
|
31038
|
+
]),
|
|
31039
|
+
outOfDate: z.union([
|
|
31040
|
+
z.boolean(),
|
|
31041
|
+
z.null()
|
|
31042
|
+
]),
|
|
31043
|
+
missingFeatures: z.union([
|
|
31044
|
+
z.array(z.object({
|
|
31045
|
+
key: z.string(),
|
|
31046
|
+
description: z.string()
|
|
31047
|
+
})),
|
|
31048
|
+
z.null()
|
|
31049
|
+
]),
|
|
31050
|
+
status: z.string(),
|
|
31051
|
+
provider: z.object({
|
|
31052
|
+
key: z.string(),
|
|
31053
|
+
slug: z.string(),
|
|
31054
|
+
name: z.string(),
|
|
31055
|
+
canAdd: z.boolean(),
|
|
31056
|
+
canDisable: z.boolean(),
|
|
31057
|
+
features: z.array(z.string()),
|
|
31058
|
+
aspects: z.record(z.unknown())
|
|
31059
|
+
})
|
|
31060
|
+
}))
|
|
31061
|
+
});
|
|
30858
31062
|
var zListProjectStatsData = z.object({
|
|
30859
31063
|
body: z.never().optional(),
|
|
30860
31064
|
path: z.object({
|
|
@@ -35046,6 +35250,7 @@ export {
|
|
|
35046
35250
|
zStartOrganizationIssueAutofixData,
|
|
35047
35251
|
zStarSegment,
|
|
35048
35252
|
zStarOrganizationServiceSpanData,
|
|
35253
|
+
zStacktraceLinkResponse,
|
|
35049
35254
|
zSourceMapDebug,
|
|
35050
35255
|
zSource,
|
|
35051
35256
|
zSnapshotImageDetailResponse,
|
|
@@ -35389,6 +35594,8 @@ export {
|
|
|
35389
35594
|
zGetReplayRecordingSegment,
|
|
35390
35595
|
zGetReplayDeletionJob,
|
|
35391
35596
|
zGetReplay,
|
|
35597
|
+
zGetProjectStacktraceLinkResponse,
|
|
35598
|
+
zGetProjectStacktraceLinkData,
|
|
35392
35599
|
zGetProjectResponse,
|
|
35393
35600
|
zGetProjectReplayRecordingSegmentResponse,
|
|
35394
35601
|
zGetProjectReplayRecordingSegmentData,
|