@sentry/api 0.365.0 → 0.367.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 +12 -4
- package/dist/sentry-client.gen.d.ts +17 -3
- package/dist/types.gen.d.ts +195 -0
- package/dist/valibot.gen.d.ts +132 -0
- package/dist/valibot.js +135 -0
- package/dist/zod.gen.d.ts +700 -0
- package/dist/zod.js +219 -0
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -11625,6 +11625,9 @@ var zRetrieveOrganizationAiConversationResponse = z.object({
|
|
|
11625
11625
|
cacheWriteTokens: z.number().int(),
|
|
11626
11626
|
errorToolNames: z.array(z.string()),
|
|
11627
11627
|
reasoningTokens: z.number().int(),
|
|
11628
|
+
cacheReadCost: z.number(),
|
|
11629
|
+
cacheWriteCost: z.number(),
|
|
11630
|
+
reasoningCost: z.number(),
|
|
11628
11631
|
usageByModel: z.array(z.object({
|
|
11629
11632
|
model: z.union([
|
|
11630
11633
|
z.string(),
|
|
@@ -11639,6 +11642,9 @@ var zRetrieveOrganizationAiConversationResponse = z.object({
|
|
|
11639
11642
|
reasoningTokens: z.number().int(),
|
|
11640
11643
|
inputCost: z.number(),
|
|
11641
11644
|
outputCost: z.number(),
|
|
11645
|
+
cacheReadCost: z.number(),
|
|
11646
|
+
cacheWriteCost: z.number(),
|
|
11647
|
+
reasoningCost: z.number(),
|
|
11642
11648
|
totalCost: z.number()
|
|
11643
11649
|
}))
|
|
11644
11650
|
}),
|
|
@@ -13051,6 +13057,99 @@ var zSourceMapDebug = z.object({
|
|
|
13051
13057
|
]),
|
|
13052
13058
|
has_scraping_data: z.boolean()
|
|
13053
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
|
+
});
|
|
13054
13153
|
var zStarSegment = z.object({
|
|
13055
13154
|
service_span: z.string(),
|
|
13056
13155
|
project_id: z.number().int().gte(1)
|
|
@@ -14234,6 +14333,9 @@ var zRetrieveOrganizationAiConversationResponse2 = z.object({
|
|
|
14234
14333
|
cacheWriteTokens: z.number().int(),
|
|
14235
14334
|
errorToolNames: z.array(z.string()),
|
|
14236
14335
|
reasoningTokens: z.number().int(),
|
|
14336
|
+
cacheReadCost: z.number(),
|
|
14337
|
+
cacheWriteCost: z.number(),
|
|
14338
|
+
reasoningCost: z.number(),
|
|
14237
14339
|
usageByModel: z.array(z.object({
|
|
14238
14340
|
model: z.union([
|
|
14239
14341
|
z.string(),
|
|
@@ -14248,6 +14350,9 @@ var zRetrieveOrganizationAiConversationResponse2 = z.object({
|
|
|
14248
14350
|
reasoningTokens: z.number().int(),
|
|
14249
14351
|
inputCost: z.number(),
|
|
14250
14352
|
outputCost: z.number(),
|
|
14353
|
+
cacheReadCost: z.number(),
|
|
14354
|
+
cacheWriteCost: z.number(),
|
|
14355
|
+
reasoningCost: z.number(),
|
|
14251
14356
|
totalCost: z.number()
|
|
14252
14357
|
}))
|
|
14253
14358
|
}),
|
|
@@ -30843,6 +30948,117 @@ var zLinkProjectRepositoryResponse = z.object({
|
|
|
30843
30948
|
source: z.string(),
|
|
30844
30949
|
created: z.boolean()
|
|
30845
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
|
+
});
|
|
30846
31062
|
var zListProjectStatsData = z.object({
|
|
30847
31063
|
body: z.never().optional(),
|
|
30848
31064
|
path: z.object({
|
|
@@ -35034,6 +35250,7 @@ export {
|
|
|
35034
35250
|
zStartOrganizationIssueAutofixData,
|
|
35035
35251
|
zStarSegment,
|
|
35036
35252
|
zStarOrganizationServiceSpanData,
|
|
35253
|
+
zStacktraceLinkResponse,
|
|
35037
35254
|
zSourceMapDebug,
|
|
35038
35255
|
zSource,
|
|
35039
35256
|
zSnapshotImageDetailResponse,
|
|
@@ -35377,6 +35594,8 @@ export {
|
|
|
35377
35594
|
zGetReplayRecordingSegment,
|
|
35378
35595
|
zGetReplayDeletionJob,
|
|
35379
35596
|
zGetReplay,
|
|
35597
|
+
zGetProjectStacktraceLinkResponse,
|
|
35598
|
+
zGetProjectStacktraceLinkData,
|
|
35380
35599
|
zGetProjectResponse,
|
|
35381
35600
|
zGetProjectReplayRecordingSegmentResponse,
|
|
35382
35601
|
zGetProjectReplayRecordingSegmentData,
|