@sentry/api 0.417.0 → 0.419.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 +9 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +49 -0
- package/dist/operations.js +104 -0
- package/dist/query-enums.gen.d.ts +2 -0
- package/dist/sdk.gen.d.ts +51 -1
- package/dist/sentry-client.gen.d.ts +50 -0
- package/dist/types.gen.d.ts +268 -0
- package/dist/valibot.gen.d.ts +115 -0
- package/dist/valibot.js +126 -0
- package/dist/zod.gen.d.ts +567 -148
- package/dist/zod.js +144 -0
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -11,6 +11,39 @@ var zActionFilterValidator = z.object({
|
|
|
11
11
|
conditions: z.array(z.unknown()).optional(),
|
|
12
12
|
actions: z.array(z.record(z.unknown()))
|
|
13
13
|
});
|
|
14
|
+
var zArtifactBundleAssembleResponse = z.object({
|
|
15
|
+
state: z.string(),
|
|
16
|
+
missingChunks: z.array(z.string()),
|
|
17
|
+
detail: z.union([
|
|
18
|
+
z.string(),
|
|
19
|
+
z.null()
|
|
20
|
+
]).optional()
|
|
21
|
+
});
|
|
22
|
+
var zAssembleProjectDebugFilesResponse = z.record(z.object({
|
|
23
|
+
state: z.string(),
|
|
24
|
+
missingChunks: z.array(z.string()),
|
|
25
|
+
detail: z.union([
|
|
26
|
+
z.string(),
|
|
27
|
+
z.null()
|
|
28
|
+
]).optional(),
|
|
29
|
+
dif: z.object({
|
|
30
|
+
id: z.string(),
|
|
31
|
+
uuid: z.string(),
|
|
32
|
+
debugId: z.string(),
|
|
33
|
+
codeId: z.union([
|
|
34
|
+
z.string(),
|
|
35
|
+
z.null()
|
|
36
|
+
]),
|
|
37
|
+
cpuName: z.string(),
|
|
38
|
+
objectName: z.string(),
|
|
39
|
+
symbolType: z.string(),
|
|
40
|
+
headers: z.record(z.string()),
|
|
41
|
+
size: z.number().int(),
|
|
42
|
+
sha1: z.string(),
|
|
43
|
+
dateCreated: z.string().datetime(),
|
|
44
|
+
data: z.record(z.unknown())
|
|
45
|
+
}).optional()
|
|
46
|
+
}));
|
|
14
47
|
var zAutofixPostResponse = z.object({
|
|
15
48
|
run_id: z.number().int(),
|
|
16
49
|
sentry_run_id: z.union([
|
|
@@ -209,6 +242,20 @@ var zCheckInList = z.array(z.object({
|
|
|
209
242
|
])
|
|
210
243
|
})
|
|
211
244
|
}));
|
|
245
|
+
var zChunkUpload = z.object({
|
|
246
|
+
file: z.array(z.string().url())
|
|
247
|
+
});
|
|
248
|
+
var zChunkUploadOptionsResponse = z.object({
|
|
249
|
+
url: z.string(),
|
|
250
|
+
chunkSize: z.number().int(),
|
|
251
|
+
chunksPerRequest: z.number().int(),
|
|
252
|
+
maxFileSize: z.number().int(),
|
|
253
|
+
maxRequestSize: z.number().int(),
|
|
254
|
+
concurrency: z.number().int(),
|
|
255
|
+
hashAlgorithm: z.string(),
|
|
256
|
+
compression: z.array(z.string()),
|
|
257
|
+
accept: z.array(z.string())
|
|
258
|
+
});
|
|
212
259
|
var zCommit = z.object({
|
|
213
260
|
id: z.string().max(64),
|
|
214
261
|
repository: z.union([
|
|
@@ -14806,6 +14853,54 @@ var zRetrieveOrganizationAiConversationResponse2 = z.union([
|
|
|
14806
14853
|
sourceSpanCount: z.number().int()
|
|
14807
14854
|
})
|
|
14808
14855
|
]);
|
|
14856
|
+
var zAssembleOrganizationArtifactBundleData = z.object({
|
|
14857
|
+
body: z.object({
|
|
14858
|
+
projects: z.array(z.string()),
|
|
14859
|
+
checksum: z.string().regex(/^[0-9a-f]{40}$/),
|
|
14860
|
+
chunks: z.array(z.string().regex(/^[0-9a-f]{40}$/)),
|
|
14861
|
+
version: z.string().regex(/^[^\/]+$/).optional(),
|
|
14862
|
+
dist: z.string().optional()
|
|
14863
|
+
}).optional(),
|
|
14864
|
+
path: z.object({
|
|
14865
|
+
organization_id_or_slug: z.string()
|
|
14866
|
+
}),
|
|
14867
|
+
query: z.never().optional()
|
|
14868
|
+
});
|
|
14869
|
+
var zAssembleOrganizationArtifactBundleResponse = z.object({
|
|
14870
|
+
state: z.string(),
|
|
14871
|
+
missingChunks: z.array(z.string()),
|
|
14872
|
+
detail: z.union([
|
|
14873
|
+
z.string(),
|
|
14874
|
+
z.null()
|
|
14875
|
+
]).optional()
|
|
14876
|
+
});
|
|
14877
|
+
var zGetOrganizationChunkUploadOptionsData = z.object({
|
|
14878
|
+
body: z.never().optional(),
|
|
14879
|
+
path: z.object({
|
|
14880
|
+
organization_id_or_slug: z.string()
|
|
14881
|
+
}),
|
|
14882
|
+
query: z.never().optional()
|
|
14883
|
+
});
|
|
14884
|
+
var zGetOrganizationChunkUploadOptionsResponse = z.object({
|
|
14885
|
+
url: z.string(),
|
|
14886
|
+
chunkSize: z.number().int(),
|
|
14887
|
+
chunksPerRequest: z.number().int(),
|
|
14888
|
+
maxFileSize: z.number().int(),
|
|
14889
|
+
maxRequestSize: z.number().int(),
|
|
14890
|
+
concurrency: z.number().int(),
|
|
14891
|
+
hashAlgorithm: z.string(),
|
|
14892
|
+
compression: z.array(z.string()),
|
|
14893
|
+
accept: z.array(z.string())
|
|
14894
|
+
});
|
|
14895
|
+
var zUploadOrganizationChunksData = z.object({
|
|
14896
|
+
body: z.object({
|
|
14897
|
+
file: z.array(z.string().url())
|
|
14898
|
+
}),
|
|
14899
|
+
path: z.object({
|
|
14900
|
+
organization_id_or_slug: z.string()
|
|
14901
|
+
}),
|
|
14902
|
+
query: z.never().optional()
|
|
14903
|
+
});
|
|
14809
14904
|
var zListOrganizationCodeMappingsData = z.object({
|
|
14810
14905
|
body: z.never().optional(),
|
|
14811
14906
|
path: z.object({
|
|
@@ -29104,6 +29199,43 @@ var zGetProjectEventSourceMapDebugResponse = z.object({
|
|
|
29104
29199
|
]),
|
|
29105
29200
|
has_scraping_data: z.boolean()
|
|
29106
29201
|
});
|
|
29202
|
+
var zAssembleProjectDebugFilesData = z.object({
|
|
29203
|
+
body: z.record(z.object({
|
|
29204
|
+
name: z.string(),
|
|
29205
|
+
chunks: z.array(z.string().regex(/^[0-9a-f]{40}$/)),
|
|
29206
|
+
debug_id: z.string().regex(/^[A-Fa-f0-9-]+$/).optional()
|
|
29207
|
+
})).optional(),
|
|
29208
|
+
path: z.object({
|
|
29209
|
+
organization_id_or_slug: z.string(),
|
|
29210
|
+
project_id_or_slug: z.string()
|
|
29211
|
+
}),
|
|
29212
|
+
query: z.never().optional()
|
|
29213
|
+
});
|
|
29214
|
+
var zAssembleProjectDebugFilesResponse2 = z.record(z.object({
|
|
29215
|
+
state: z.string(),
|
|
29216
|
+
missingChunks: z.array(z.string()),
|
|
29217
|
+
detail: z.union([
|
|
29218
|
+
z.string(),
|
|
29219
|
+
z.null()
|
|
29220
|
+
]).optional(),
|
|
29221
|
+
dif: z.object({
|
|
29222
|
+
id: z.string(),
|
|
29223
|
+
uuid: z.string(),
|
|
29224
|
+
debugId: z.string(),
|
|
29225
|
+
codeId: z.union([
|
|
29226
|
+
z.string(),
|
|
29227
|
+
z.null()
|
|
29228
|
+
]),
|
|
29229
|
+
cpuName: z.string(),
|
|
29230
|
+
objectName: z.string(),
|
|
29231
|
+
symbolType: z.string(),
|
|
29232
|
+
headers: z.record(z.string()),
|
|
29233
|
+
size: z.number().int(),
|
|
29234
|
+
sha1: z.string(),
|
|
29235
|
+
dateCreated: z.string().datetime(),
|
|
29236
|
+
data: z.record(z.unknown())
|
|
29237
|
+
}).optional()
|
|
29238
|
+
}));
|
|
29107
29239
|
var zListProjectDebugFilesData = z.object({
|
|
29108
29240
|
body: z.never().optional(),
|
|
29109
29241
|
path: z.object({
|
|
@@ -35170,6 +35302,7 @@ var zGetOrganizationIssueEventData = z.object({
|
|
|
35170
35302
|
}),
|
|
35171
35303
|
query: z.object({
|
|
35172
35304
|
environment: z.array(z.string()).optional(),
|
|
35305
|
+
collapse: z.array(z.enum(["adjacentEvents"])).optional(),
|
|
35173
35306
|
llmFormat: z.enum([
|
|
35174
35307
|
"json",
|
|
35175
35308
|
"markdown",
|
|
@@ -36043,6 +36176,7 @@ export {
|
|
|
36043
36176
|
zUploadProjectPreprodArtifactSnapshotData,
|
|
36044
36177
|
zUploadOrganizationReleaseFileResponse,
|
|
36045
36178
|
zUploadOrganizationReleaseFileData,
|
|
36179
|
+
zUploadOrganizationChunksData,
|
|
36046
36180
|
zUpdateTeamResponse,
|
|
36047
36181
|
zUpdateTeamExternalTeamResponse,
|
|
36048
36182
|
zUpdateTeamExternalTeamData,
|
|
@@ -36599,6 +36733,8 @@ export {
|
|
|
36599
36733
|
zGetOrganizationDashboardData,
|
|
36600
36734
|
zGetOrganizationConfigIntegrationsResponse,
|
|
36601
36735
|
zGetOrganizationConfigIntegrationsData,
|
|
36736
|
+
zGetOrganizationChunkUploadOptionsResponse,
|
|
36737
|
+
zGetOrganizationChunkUploadOptionsData,
|
|
36602
36738
|
zGetFlagLogResponse,
|
|
36603
36739
|
zFilters,
|
|
36604
36740
|
zExternalUserWritable,
|
|
@@ -36770,6 +36906,8 @@ export {
|
|
|
36770
36906
|
zCommitSerializerResponse,
|
|
36771
36907
|
zCommitPatchSet,
|
|
36772
36908
|
zCommit,
|
|
36909
|
+
zChunkUploadOptionsResponse,
|
|
36910
|
+
zChunkUpload,
|
|
36773
36911
|
zCheckInList,
|
|
36774
36912
|
zBulkUpsertOrganizationCodeMappingsResponse,
|
|
36775
36913
|
zBulkUpsertOrganizationCodeMappingsData,
|
|
@@ -36785,6 +36923,12 @@ export {
|
|
|
36785
36923
|
zBaseDataConditionGroupValidator,
|
|
36786
36924
|
zAutofixStateResponse,
|
|
36787
36925
|
zAutofixPostResponse,
|
|
36926
|
+
zAssembleProjectDebugFilesResponse2,
|
|
36927
|
+
zAssembleProjectDebugFilesResponse,
|
|
36928
|
+
zAssembleProjectDebugFilesData,
|
|
36929
|
+
zAssembleOrganizationArtifactBundleResponse,
|
|
36930
|
+
zAssembleOrganizationArtifactBundleData,
|
|
36931
|
+
zArtifactBundleAssembleResponse,
|
|
36788
36932
|
zAddProjectTeamResponse,
|
|
36789
36933
|
zAddProjectTeamData,
|
|
36790
36934
|
zAddProjectSymbolSourceResponse,
|