@sentry/api 0.418.0 → 0.420.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/README.md +19 -0
- package/dist/error-results.gen.d.ts +9 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +51 -1
- package/dist/operations.js +95 -0
- package/dist/sdk.gen.d.ts +53 -1
- package/dist/sentry-client.gen.d.ts +52 -0
- package/dist/types.gen.d.ts +264 -0
- package/dist/valibot.gen.d.ts +114 -0
- package/dist/valibot.js +125 -0
- package/dist/zod.gen.d.ts +562 -148
- package/dist/zod.js +143 -0
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -20,6 +20,36 @@ export type ActionFilterValidator = {
|
|
|
20
20
|
[key: string]: unknown;
|
|
21
21
|
}>;
|
|
22
22
|
};
|
|
23
|
+
export type ArtifactBundleAssembleResponse = {
|
|
24
|
+
state: string;
|
|
25
|
+
missingChunks: Array<string>;
|
|
26
|
+
detail?: string | null;
|
|
27
|
+
};
|
|
28
|
+
export type AssembleProjectDebugFilesResponse = {
|
|
29
|
+
[key: string]: {
|
|
30
|
+
state: string;
|
|
31
|
+
missingChunks: Array<string>;
|
|
32
|
+
detail?: string | null;
|
|
33
|
+
dif?: {
|
|
34
|
+
id: string;
|
|
35
|
+
uuid: string;
|
|
36
|
+
debugId: string;
|
|
37
|
+
codeId: string | null;
|
|
38
|
+
cpuName: string;
|
|
39
|
+
objectName: string;
|
|
40
|
+
symbolType: string;
|
|
41
|
+
headers: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
size: number;
|
|
45
|
+
sha1: string;
|
|
46
|
+
dateCreated: string;
|
|
47
|
+
data: {
|
|
48
|
+
[key: string]: unknown;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
23
53
|
/**
|
|
24
54
|
* Response type for the POST endpoint (default kickoff and step paths).
|
|
25
55
|
*/
|
|
@@ -430,6 +460,23 @@ export type CheckInList = Array<{
|
|
|
430
460
|
alert_rule_id: number | null;
|
|
431
461
|
};
|
|
432
462
|
}>;
|
|
463
|
+
export type ChunkUpload = {
|
|
464
|
+
/**
|
|
465
|
+
* The chunks to upload. Name each part after the SHA-1 checksum of its uncompressed content. Repeat the field for each chunk, up to `chunksPerRequest` per request.
|
|
466
|
+
*/
|
|
467
|
+
file: Array<string>;
|
|
468
|
+
};
|
|
469
|
+
export type ChunkUploadOptionsResponse = {
|
|
470
|
+
url: string;
|
|
471
|
+
chunkSize: number;
|
|
472
|
+
chunksPerRequest: number;
|
|
473
|
+
maxFileSize: number;
|
|
474
|
+
maxRequestSize: number;
|
|
475
|
+
concurrency: number;
|
|
476
|
+
hashAlgorithm: string;
|
|
477
|
+
compression: Array<string>;
|
|
478
|
+
accept: Array<string>;
|
|
479
|
+
};
|
|
433
480
|
export type Commit = {
|
|
434
481
|
id: string;
|
|
435
482
|
repository?: string | null;
|
|
@@ -13691,6 +13738,143 @@ export type RetrieveOrganizationAiConversationResponses = {
|
|
|
13691
13738
|
};
|
|
13692
13739
|
};
|
|
13693
13740
|
export type RetrieveOrganizationAiConversationResponse2 = RetrieveOrganizationAiConversationResponses[keyof RetrieveOrganizationAiConversationResponses];
|
|
13741
|
+
export type AssembleOrganizationArtifactBundleData = {
|
|
13742
|
+
body?: {
|
|
13743
|
+
/**
|
|
13744
|
+
* The IDs or slugs of the projects the bundle belongs to.
|
|
13745
|
+
*/
|
|
13746
|
+
projects: Array<string>;
|
|
13747
|
+
/**
|
|
13748
|
+
* The SHA-1 checksum of the whole bundle.
|
|
13749
|
+
*/
|
|
13750
|
+
checksum: string;
|
|
13751
|
+
/**
|
|
13752
|
+
* The SHA-1 checksums of the bundle's chunks, in order. Upload missing chunks with the chunk upload endpoint. Send an empty list to poll the bundle's state.
|
|
13753
|
+
*/
|
|
13754
|
+
chunks: Array<string>;
|
|
13755
|
+
/**
|
|
13756
|
+
* The release to associate the bundle with.
|
|
13757
|
+
*/
|
|
13758
|
+
version?: string;
|
|
13759
|
+
/**
|
|
13760
|
+
* The distribution to associate the bundle with. Requires `version`.
|
|
13761
|
+
*/
|
|
13762
|
+
dist?: string;
|
|
13763
|
+
};
|
|
13764
|
+
path: {
|
|
13765
|
+
/**
|
|
13766
|
+
* The ID or slug of the organization the resource belongs to.
|
|
13767
|
+
*/
|
|
13768
|
+
organization_id_or_slug: string;
|
|
13769
|
+
};
|
|
13770
|
+
query?: never;
|
|
13771
|
+
url: '/api/0/organizations/{organization_id_or_slug}/artifactbundle/assemble/';
|
|
13772
|
+
};
|
|
13773
|
+
export type AssembleOrganizationArtifactBundleErrors = {
|
|
13774
|
+
/**
|
|
13775
|
+
* Bad Request
|
|
13776
|
+
*/
|
|
13777
|
+
400: unknown;
|
|
13778
|
+
/**
|
|
13779
|
+
* Unauthorized
|
|
13780
|
+
*/
|
|
13781
|
+
401: unknown;
|
|
13782
|
+
/**
|
|
13783
|
+
* Forbidden
|
|
13784
|
+
*/
|
|
13785
|
+
403: unknown;
|
|
13786
|
+
/**
|
|
13787
|
+
* Not Found
|
|
13788
|
+
*/
|
|
13789
|
+
404: unknown;
|
|
13790
|
+
};
|
|
13791
|
+
export type AssembleOrganizationArtifactBundleResponses = {
|
|
13792
|
+
200: {
|
|
13793
|
+
state: string;
|
|
13794
|
+
missingChunks: Array<string>;
|
|
13795
|
+
detail?: string | null;
|
|
13796
|
+
};
|
|
13797
|
+
};
|
|
13798
|
+
export type AssembleOrganizationArtifactBundleResponse = AssembleOrganizationArtifactBundleResponses[keyof AssembleOrganizationArtifactBundleResponses];
|
|
13799
|
+
export type GetOrganizationChunkUploadOptionsData = {
|
|
13800
|
+
body?: never;
|
|
13801
|
+
path: {
|
|
13802
|
+
/**
|
|
13803
|
+
* The ID or slug of the organization the resource belongs to.
|
|
13804
|
+
*/
|
|
13805
|
+
organization_id_or_slug: string;
|
|
13806
|
+
};
|
|
13807
|
+
query?: never;
|
|
13808
|
+
url: '/api/0/organizations/{organization_id_or_slug}/chunk-upload/';
|
|
13809
|
+
};
|
|
13810
|
+
export type GetOrganizationChunkUploadOptionsErrors = {
|
|
13811
|
+
/**
|
|
13812
|
+
* Unauthorized
|
|
13813
|
+
*/
|
|
13814
|
+
401: unknown;
|
|
13815
|
+
/**
|
|
13816
|
+
* Forbidden
|
|
13817
|
+
*/
|
|
13818
|
+
403: unknown;
|
|
13819
|
+
/**
|
|
13820
|
+
* Not Found
|
|
13821
|
+
*/
|
|
13822
|
+
404: unknown;
|
|
13823
|
+
};
|
|
13824
|
+
export type GetOrganizationChunkUploadOptionsResponses = {
|
|
13825
|
+
200: {
|
|
13826
|
+
url: string;
|
|
13827
|
+
chunkSize: number;
|
|
13828
|
+
chunksPerRequest: number;
|
|
13829
|
+
maxFileSize: number;
|
|
13830
|
+
maxRequestSize: number;
|
|
13831
|
+
concurrency: number;
|
|
13832
|
+
hashAlgorithm: string;
|
|
13833
|
+
compression: Array<string>;
|
|
13834
|
+
accept: Array<string>;
|
|
13835
|
+
};
|
|
13836
|
+
};
|
|
13837
|
+
export type GetOrganizationChunkUploadOptionsResponse = GetOrganizationChunkUploadOptionsResponses[keyof GetOrganizationChunkUploadOptionsResponses];
|
|
13838
|
+
export type UploadOrganizationChunksData = {
|
|
13839
|
+
body: {
|
|
13840
|
+
/**
|
|
13841
|
+
* The chunks to upload. Name each part after the SHA-1 checksum of its uncompressed content. Repeat the field for each chunk, up to `chunksPerRequest` per request.
|
|
13842
|
+
*/
|
|
13843
|
+
file: Array<string>;
|
|
13844
|
+
};
|
|
13845
|
+
path: {
|
|
13846
|
+
/**
|
|
13847
|
+
* The ID or slug of the organization the resource belongs to.
|
|
13848
|
+
*/
|
|
13849
|
+
organization_id_or_slug: string;
|
|
13850
|
+
};
|
|
13851
|
+
query?: never;
|
|
13852
|
+
url: '/api/0/organizations/{organization_id_or_slug}/chunk-upload/';
|
|
13853
|
+
};
|
|
13854
|
+
export type UploadOrganizationChunksErrors = {
|
|
13855
|
+
/**
|
|
13856
|
+
* Bad Request
|
|
13857
|
+
*/
|
|
13858
|
+
400: unknown;
|
|
13859
|
+
/**
|
|
13860
|
+
* Unauthorized
|
|
13861
|
+
*/
|
|
13862
|
+
401: unknown;
|
|
13863
|
+
/**
|
|
13864
|
+
* Forbidden
|
|
13865
|
+
*/
|
|
13866
|
+
403: unknown;
|
|
13867
|
+
/**
|
|
13868
|
+
* Not Found
|
|
13869
|
+
*/
|
|
13870
|
+
404: unknown;
|
|
13871
|
+
};
|
|
13872
|
+
export type UploadOrganizationChunksResponses = {
|
|
13873
|
+
/**
|
|
13874
|
+
* Success
|
|
13875
|
+
*/
|
|
13876
|
+
200: unknown;
|
|
13877
|
+
};
|
|
13694
13878
|
export type ListOrganizationCodeMappingsData = {
|
|
13695
13879
|
body?: never;
|
|
13696
13880
|
path: {
|
|
@@ -32756,6 +32940,86 @@ export type GetProjectEventSourceMapDebugResponses = {
|
|
|
32756
32940
|
};
|
|
32757
32941
|
};
|
|
32758
32942
|
export type GetProjectEventSourceMapDebugResponse = GetProjectEventSourceMapDebugResponses[keyof GetProjectEventSourceMapDebugResponses];
|
|
32943
|
+
export type AssembleProjectDebugFilesData = {
|
|
32944
|
+
/**
|
|
32945
|
+
* The files to assemble, keyed by the SHA-1 checksum of each whole file.
|
|
32946
|
+
*/
|
|
32947
|
+
body?: {
|
|
32948
|
+
[key: string]: {
|
|
32949
|
+
/**
|
|
32950
|
+
* The file name. A ProGuard mapping without `debug_id` can carry it in the name, as in `/proguard/mapping-<uuid>.txt`.
|
|
32951
|
+
*/
|
|
32952
|
+
name: string;
|
|
32953
|
+
/**
|
|
32954
|
+
* The SHA-1 checksums of the file's chunks, in order. Upload missing chunks with the chunk upload endpoint. Send an empty list to poll the file's state.
|
|
32955
|
+
*/
|
|
32956
|
+
chunks: Array<string>;
|
|
32957
|
+
/**
|
|
32958
|
+
* The debug ID to store the file under, overriding the one read from the file.
|
|
32959
|
+
*/
|
|
32960
|
+
debug_id?: string;
|
|
32961
|
+
[key: string]: unknown | string | Array<string> | string | undefined;
|
|
32962
|
+
};
|
|
32963
|
+
};
|
|
32964
|
+
path: {
|
|
32965
|
+
/**
|
|
32966
|
+
* The ID or slug of the organization the resource belongs to.
|
|
32967
|
+
*/
|
|
32968
|
+
organization_id_or_slug: string;
|
|
32969
|
+
/**
|
|
32970
|
+
* The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.
|
|
32971
|
+
*/
|
|
32972
|
+
project_id_or_slug: string;
|
|
32973
|
+
};
|
|
32974
|
+
query?: never;
|
|
32975
|
+
url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/difs/assemble/';
|
|
32976
|
+
};
|
|
32977
|
+
export type AssembleProjectDebugFilesErrors = {
|
|
32978
|
+
/**
|
|
32979
|
+
* Bad Request
|
|
32980
|
+
*/
|
|
32981
|
+
400: unknown;
|
|
32982
|
+
/**
|
|
32983
|
+
* Unauthorized
|
|
32984
|
+
*/
|
|
32985
|
+
401: unknown;
|
|
32986
|
+
/**
|
|
32987
|
+
* Forbidden
|
|
32988
|
+
*/
|
|
32989
|
+
403: unknown;
|
|
32990
|
+
/**
|
|
32991
|
+
* Not Found
|
|
32992
|
+
*/
|
|
32993
|
+
404: unknown;
|
|
32994
|
+
};
|
|
32995
|
+
export type AssembleProjectDebugFilesResponses = {
|
|
32996
|
+
200: {
|
|
32997
|
+
[key: string]: {
|
|
32998
|
+
state: string;
|
|
32999
|
+
missingChunks: Array<string>;
|
|
33000
|
+
detail?: string | null;
|
|
33001
|
+
dif?: {
|
|
33002
|
+
id: string;
|
|
33003
|
+
uuid: string;
|
|
33004
|
+
debugId: string;
|
|
33005
|
+
codeId: string | null;
|
|
33006
|
+
cpuName: string;
|
|
33007
|
+
objectName: string;
|
|
33008
|
+
symbolType: string;
|
|
33009
|
+
headers: {
|
|
33010
|
+
[key: string]: string;
|
|
33011
|
+
};
|
|
33012
|
+
size: number;
|
|
33013
|
+
sha1: string;
|
|
33014
|
+
dateCreated: string;
|
|
33015
|
+
data: {
|
|
33016
|
+
[key: string]: unknown;
|
|
33017
|
+
};
|
|
33018
|
+
};
|
|
33019
|
+
};
|
|
33020
|
+
};
|
|
33021
|
+
};
|
|
33022
|
+
export type AssembleProjectDebugFilesResponse2 = AssembleProjectDebugFilesResponses[keyof AssembleProjectDebugFilesResponses];
|
|
32759
33023
|
export type ListProjectDebugFilesData = {
|
|
32760
33024
|
body?: never;
|
|
32761
33025
|
path: {
|
package/dist/valibot.gen.d.ts
CHANGED
|
@@ -10,6 +10,30 @@ export declare const vActionFilterValidator: v.ObjectSchema<{
|
|
|
10
10
|
readonly conditions: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
|
|
11
11
|
readonly actions: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
12
12
|
}, undefined>;
|
|
13
|
+
export declare const vArtifactBundleAssembleResponse: v.ObjectSchema<{
|
|
14
|
+
readonly state: v.StringSchema<undefined>;
|
|
15
|
+
readonly missingChunks: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
16
|
+
readonly detail: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
17
|
+
}, undefined>;
|
|
18
|
+
export declare const vAssembleProjectDebugFilesResponse: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
19
|
+
readonly state: v.StringSchema<undefined>;
|
|
20
|
+
readonly missingChunks: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
21
|
+
readonly detail: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
22
|
+
readonly dif: v.OptionalSchema<v.ObjectSchema<{
|
|
23
|
+
readonly id: v.StringSchema<undefined>;
|
|
24
|
+
readonly uuid: v.StringSchema<undefined>;
|
|
25
|
+
readonly debugId: v.StringSchema<undefined>;
|
|
26
|
+
readonly codeId: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
27
|
+
readonly cpuName: v.StringSchema<undefined>;
|
|
28
|
+
readonly objectName: v.StringSchema<undefined>;
|
|
29
|
+
readonly symbolType: v.StringSchema<undefined>;
|
|
30
|
+
readonly headers: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
31
|
+
readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
32
|
+
readonly sha1: v.StringSchema<undefined>;
|
|
33
|
+
readonly dateCreated: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
34
|
+
readonly data: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
35
|
+
}, undefined>, undefined>;
|
|
36
|
+
}, undefined>, undefined>;
|
|
13
37
|
/**
|
|
14
38
|
* Response type for the POST endpoint (default kickoff and step paths).
|
|
15
39
|
*/
|
|
@@ -150,6 +174,20 @@ export declare const vCheckInList: v.ArraySchema<v.ObjectSchema<{
|
|
|
150
174
|
readonly alert_rule_id: v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>;
|
|
151
175
|
}, undefined>;
|
|
152
176
|
}, undefined>, undefined>;
|
|
177
|
+
export declare const vChunkUpload: v.ObjectSchema<{
|
|
178
|
+
readonly file: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>;
|
|
179
|
+
}, undefined>;
|
|
180
|
+
export declare const vChunkUploadOptionsResponse: v.ObjectSchema<{
|
|
181
|
+
readonly url: v.StringSchema<undefined>;
|
|
182
|
+
readonly chunkSize: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
183
|
+
readonly chunksPerRequest: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
184
|
+
readonly maxFileSize: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
185
|
+
readonly maxRequestSize: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
186
|
+
readonly concurrency: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
187
|
+
readonly hashAlgorithm: v.StringSchema<undefined>;
|
|
188
|
+
readonly compression: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
189
|
+
readonly accept: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
+
}, undefined>;
|
|
153
191
|
export declare const vCommit: v.ObjectSchema<{
|
|
154
192
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
155
193
|
readonly repository: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
@@ -7967,6 +8005,51 @@ export declare const vRetrieveOrganizationAiConversationResponse2: v.UnionSchema
|
|
|
7967
8005
|
readonly complete: v.BooleanSchema<undefined>;
|
|
7968
8006
|
readonly sourceSpanCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7969
8007
|
}, undefined>], undefined>;
|
|
8008
|
+
export declare const vAssembleOrganizationArtifactBundleData: v.ObjectSchema<{
|
|
8009
|
+
readonly body: v.OptionalSchema<v.StrictObjectSchema<{
|
|
8010
|
+
readonly projects: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8011
|
+
readonly checksum: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
8012
|
+
readonly chunks: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
8013
|
+
readonly version: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
8014
|
+
readonly dist: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8015
|
+
}, undefined>, undefined>;
|
|
8016
|
+
readonly path: v.ObjectSchema<{
|
|
8017
|
+
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
8018
|
+
}, undefined>;
|
|
8019
|
+
readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
8020
|
+
}, undefined>;
|
|
8021
|
+
export declare const vAssembleOrganizationArtifactBundleResponse: v.ObjectSchema<{
|
|
8022
|
+
readonly state: v.StringSchema<undefined>;
|
|
8023
|
+
readonly missingChunks: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8024
|
+
readonly detail: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
8025
|
+
}, undefined>;
|
|
8026
|
+
export declare const vGetOrganizationChunkUploadOptionsData: v.ObjectSchema<{
|
|
8027
|
+
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
8028
|
+
readonly path: v.ObjectSchema<{
|
|
8029
|
+
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
8030
|
+
}, undefined>;
|
|
8031
|
+
readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
8032
|
+
}, undefined>;
|
|
8033
|
+
export declare const vGetOrganizationChunkUploadOptionsResponse: v.ObjectSchema<{
|
|
8034
|
+
readonly url: v.StringSchema<undefined>;
|
|
8035
|
+
readonly chunkSize: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
8036
|
+
readonly chunksPerRequest: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
8037
|
+
readonly maxFileSize: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
8038
|
+
readonly maxRequestSize: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
8039
|
+
readonly concurrency: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
8040
|
+
readonly hashAlgorithm: v.StringSchema<undefined>;
|
|
8041
|
+
readonly compression: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8042
|
+
readonly accept: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8043
|
+
}, undefined>;
|
|
8044
|
+
export declare const vUploadOrganizationChunksData: v.ObjectSchema<{
|
|
8045
|
+
readonly body: v.ObjectSchema<{
|
|
8046
|
+
readonly file: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>;
|
|
8047
|
+
}, undefined>;
|
|
8048
|
+
readonly path: v.ObjectSchema<{
|
|
8049
|
+
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
8050
|
+
}, undefined>;
|
|
8051
|
+
readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
8052
|
+
}, undefined>;
|
|
7970
8053
|
export declare const vListOrganizationCodeMappingsData: v.ObjectSchema<{
|
|
7971
8054
|
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
7972
8055
|
readonly path: v.ObjectSchema<{
|
|
@@ -15979,6 +16062,37 @@ export declare const vGetProjectEventSourceMapDebugResponse: v.ObjectSchema<{
|
|
|
15979
16062
|
readonly sdk_debug_id_support: v.PicklistSchema<["not-supported", "unofficial-sdk", "needs-upgrade", "full"], undefined>;
|
|
15980
16063
|
readonly has_scraping_data: v.BooleanSchema<undefined>;
|
|
15981
16064
|
}, undefined>;
|
|
16065
|
+
export declare const vAssembleProjectDebugFilesData: v.ObjectSchema<{
|
|
16066
|
+
readonly body: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectWithRestSchema<{
|
|
16067
|
+
readonly name: v.StringSchema<undefined>;
|
|
16068
|
+
readonly chunks: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
16069
|
+
readonly debug_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
16070
|
+
}, v.UnknownSchema, undefined>, undefined>, undefined>;
|
|
16071
|
+
readonly path: v.ObjectSchema<{
|
|
16072
|
+
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
16073
|
+
readonly project_id_or_slug: v.StringSchema<undefined>;
|
|
16074
|
+
}, undefined>;
|
|
16075
|
+
readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
16076
|
+
}, undefined>;
|
|
16077
|
+
export declare const vAssembleProjectDebugFilesResponse2: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
16078
|
+
readonly state: v.StringSchema<undefined>;
|
|
16079
|
+
readonly missingChunks: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
16080
|
+
readonly detail: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
16081
|
+
readonly dif: v.OptionalSchema<v.ObjectSchema<{
|
|
16082
|
+
readonly id: v.StringSchema<undefined>;
|
|
16083
|
+
readonly uuid: v.StringSchema<undefined>;
|
|
16084
|
+
readonly debugId: v.StringSchema<undefined>;
|
|
16085
|
+
readonly codeId: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
16086
|
+
readonly cpuName: v.StringSchema<undefined>;
|
|
16087
|
+
readonly objectName: v.StringSchema<undefined>;
|
|
16088
|
+
readonly symbolType: v.StringSchema<undefined>;
|
|
16089
|
+
readonly headers: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
16090
|
+
readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
16091
|
+
readonly sha1: v.StringSchema<undefined>;
|
|
16092
|
+
readonly dateCreated: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
16093
|
+
readonly data: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
16094
|
+
}, undefined>, undefined>;
|
|
16095
|
+
}, undefined>, undefined>;
|
|
15982
16096
|
export declare const vListProjectDebugFilesData: v.ObjectSchema<{
|
|
15983
16097
|
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
15984
16098
|
readonly path: v.ObjectSchema<{
|
package/dist/valibot.js
CHANGED
|
@@ -11,6 +11,30 @@ var vActionFilterValidator = v.object({
|
|
|
11
11
|
conditions: v.optional(v.array(v.unknown())),
|
|
12
12
|
actions: v.array(v.record(v.string(), v.unknown()))
|
|
13
13
|
});
|
|
14
|
+
var vArtifactBundleAssembleResponse = v.object({
|
|
15
|
+
state: v.string(),
|
|
16
|
+
missingChunks: v.array(v.string()),
|
|
17
|
+
detail: v.optional(v.union([v.string(), v.null()]))
|
|
18
|
+
});
|
|
19
|
+
var vAssembleProjectDebugFilesResponse = v.record(v.string(), v.object({
|
|
20
|
+
state: v.string(),
|
|
21
|
+
missingChunks: v.array(v.string()),
|
|
22
|
+
detail: v.optional(v.union([v.string(), v.null()])),
|
|
23
|
+
dif: v.optional(v.object({
|
|
24
|
+
id: v.string(),
|
|
25
|
+
uuid: v.string(),
|
|
26
|
+
debugId: v.string(),
|
|
27
|
+
codeId: v.union([v.string(), v.null()]),
|
|
28
|
+
cpuName: v.string(),
|
|
29
|
+
objectName: v.string(),
|
|
30
|
+
symbolType: v.string(),
|
|
31
|
+
headers: v.record(v.string(), v.string()),
|
|
32
|
+
size: v.pipe(v.number(), v.integer()),
|
|
33
|
+
sha1: v.string(),
|
|
34
|
+
dateCreated: v.pipe(v.string(), v.isoTimestamp()),
|
|
35
|
+
data: v.record(v.string(), v.unknown())
|
|
36
|
+
}))
|
|
37
|
+
}));
|
|
14
38
|
var vAutofixPostResponse = v.object({
|
|
15
39
|
run_id: v.pipe(v.number(), v.integer()),
|
|
16
40
|
sentry_run_id: v.union([v.string(), v.null()])
|
|
@@ -152,6 +176,20 @@ var vCheckInList = v.array(v.object({
|
|
|
152
176
|
alert_rule_id: v.union([v.pipe(v.number(), v.integer()), v.null()])
|
|
153
177
|
})
|
|
154
178
|
}));
|
|
179
|
+
var vChunkUpload = v.object({
|
|
180
|
+
file: v.array(v.pipe(v.string(), v.url()))
|
|
181
|
+
});
|
|
182
|
+
var vChunkUploadOptionsResponse = v.object({
|
|
183
|
+
url: v.string(),
|
|
184
|
+
chunkSize: v.pipe(v.number(), v.integer()),
|
|
185
|
+
chunksPerRequest: v.pipe(v.number(), v.integer()),
|
|
186
|
+
maxFileSize: v.pipe(v.number(), v.integer()),
|
|
187
|
+
maxRequestSize: v.pipe(v.number(), v.integer()),
|
|
188
|
+
concurrency: v.pipe(v.number(), v.integer()),
|
|
189
|
+
hashAlgorithm: v.string(),
|
|
190
|
+
compression: v.array(v.string()),
|
|
191
|
+
accept: v.array(v.string())
|
|
192
|
+
});
|
|
155
193
|
var vCommit = v.object({
|
|
156
194
|
id: v.pipe(v.string(), v.maxLength(64)),
|
|
157
195
|
repository: v.optional(v.union([v.pipe(v.string(), v.maxLength(64)), v.null()])),
|
|
@@ -9806,6 +9844,51 @@ var vRetrieveOrganizationAiConversationResponse2 = v.union([v.object({
|
|
|
9806
9844
|
complete: v.boolean(),
|
|
9807
9845
|
sourceSpanCount: v.pipe(v.number(), v.integer())
|
|
9808
9846
|
})]);
|
|
9847
|
+
var vAssembleOrganizationArtifactBundleData = v.object({
|
|
9848
|
+
body: v.optional(v.strictObject({
|
|
9849
|
+
projects: v.array(v.string()),
|
|
9850
|
+
checksum: v.pipe(v.string(), v.regex(/^[0-9a-f]{40}$/)),
|
|
9851
|
+
chunks: v.array(v.pipe(v.string(), v.regex(/^[0-9a-f]{40}$/))),
|
|
9852
|
+
version: v.optional(v.pipe(v.string(), v.regex(/^[^\/]+$/))),
|
|
9853
|
+
dist: v.optional(v.string())
|
|
9854
|
+
})),
|
|
9855
|
+
path: v.object({
|
|
9856
|
+
organization_id_or_slug: v.string()
|
|
9857
|
+
}),
|
|
9858
|
+
query: v.optional(v.never())
|
|
9859
|
+
});
|
|
9860
|
+
var vAssembleOrganizationArtifactBundleResponse = v.object({
|
|
9861
|
+
state: v.string(),
|
|
9862
|
+
missingChunks: v.array(v.string()),
|
|
9863
|
+
detail: v.optional(v.union([v.string(), v.null()]))
|
|
9864
|
+
});
|
|
9865
|
+
var vGetOrganizationChunkUploadOptionsData = v.object({
|
|
9866
|
+
body: v.optional(v.never()),
|
|
9867
|
+
path: v.object({
|
|
9868
|
+
organization_id_or_slug: v.string()
|
|
9869
|
+
}),
|
|
9870
|
+
query: v.optional(v.never())
|
|
9871
|
+
});
|
|
9872
|
+
var vGetOrganizationChunkUploadOptionsResponse = v.object({
|
|
9873
|
+
url: v.string(),
|
|
9874
|
+
chunkSize: v.pipe(v.number(), v.integer()),
|
|
9875
|
+
chunksPerRequest: v.pipe(v.number(), v.integer()),
|
|
9876
|
+
maxFileSize: v.pipe(v.number(), v.integer()),
|
|
9877
|
+
maxRequestSize: v.pipe(v.number(), v.integer()),
|
|
9878
|
+
concurrency: v.pipe(v.number(), v.integer()),
|
|
9879
|
+
hashAlgorithm: v.string(),
|
|
9880
|
+
compression: v.array(v.string()),
|
|
9881
|
+
accept: v.array(v.string())
|
|
9882
|
+
});
|
|
9883
|
+
var vUploadOrganizationChunksData = v.object({
|
|
9884
|
+
body: v.object({
|
|
9885
|
+
file: v.array(v.pipe(v.string(), v.url()))
|
|
9886
|
+
}),
|
|
9887
|
+
path: v.object({
|
|
9888
|
+
organization_id_or_slug: v.string()
|
|
9889
|
+
}),
|
|
9890
|
+
query: v.optional(v.never())
|
|
9891
|
+
});
|
|
9809
9892
|
var vListOrganizationCodeMappingsData = v.object({
|
|
9810
9893
|
body: v.optional(v.never()),
|
|
9811
9894
|
path: v.object({
|
|
@@ -19811,6 +19894,37 @@ var vGetProjectEventSourceMapDebugResponse = v.object({
|
|
|
19811
19894
|
]),
|
|
19812
19895
|
has_scraping_data: v.boolean()
|
|
19813
19896
|
});
|
|
19897
|
+
var vAssembleProjectDebugFilesData = v.object({
|
|
19898
|
+
body: v.optional(v.record(v.string(), v.objectWithRest({
|
|
19899
|
+
name: v.string(),
|
|
19900
|
+
chunks: v.array(v.pipe(v.string(), v.regex(/^[0-9a-f]{40}$/))),
|
|
19901
|
+
debug_id: v.optional(v.pipe(v.string(), v.regex(/^[A-Fa-f0-9-]+$/)))
|
|
19902
|
+
}, v.unknown()))),
|
|
19903
|
+
path: v.object({
|
|
19904
|
+
organization_id_or_slug: v.string(),
|
|
19905
|
+
project_id_or_slug: v.string()
|
|
19906
|
+
}),
|
|
19907
|
+
query: v.optional(v.never())
|
|
19908
|
+
});
|
|
19909
|
+
var vAssembleProjectDebugFilesResponse2 = v.record(v.string(), v.object({
|
|
19910
|
+
state: v.string(),
|
|
19911
|
+
missingChunks: v.array(v.string()),
|
|
19912
|
+
detail: v.optional(v.union([v.string(), v.null()])),
|
|
19913
|
+
dif: v.optional(v.object({
|
|
19914
|
+
id: v.string(),
|
|
19915
|
+
uuid: v.string(),
|
|
19916
|
+
debugId: v.string(),
|
|
19917
|
+
codeId: v.union([v.string(), v.null()]),
|
|
19918
|
+
cpuName: v.string(),
|
|
19919
|
+
objectName: v.string(),
|
|
19920
|
+
symbolType: v.string(),
|
|
19921
|
+
headers: v.record(v.string(), v.string()),
|
|
19922
|
+
size: v.pipe(v.number(), v.integer()),
|
|
19923
|
+
sha1: v.string(),
|
|
19924
|
+
dateCreated: v.pipe(v.string(), v.isoTimestamp()),
|
|
19925
|
+
data: v.record(v.string(), v.unknown())
|
|
19926
|
+
}))
|
|
19927
|
+
}));
|
|
19814
19928
|
var vListProjectDebugFilesData = v.object({
|
|
19815
19929
|
body: v.optional(v.never()),
|
|
19816
19930
|
path: v.object({
|
|
@@ -24959,6 +25073,7 @@ export {
|
|
|
24959
25073
|
vUploadProjectPreprodArtifactSnapshotData,
|
|
24960
25074
|
vUploadOrganizationReleaseFileResponse,
|
|
24961
25075
|
vUploadOrganizationReleaseFileData,
|
|
25076
|
+
vUploadOrganizationChunksData,
|
|
24962
25077
|
vUpdateTeamResponse,
|
|
24963
25078
|
vUpdateTeamExternalTeamResponse,
|
|
24964
25079
|
vUpdateTeamExternalTeamData,
|
|
@@ -25515,6 +25630,8 @@ export {
|
|
|
25515
25630
|
vGetOrganizationDashboardData,
|
|
25516
25631
|
vGetOrganizationConfigIntegrationsResponse,
|
|
25517
25632
|
vGetOrganizationConfigIntegrationsData,
|
|
25633
|
+
vGetOrganizationChunkUploadOptionsResponse,
|
|
25634
|
+
vGetOrganizationChunkUploadOptionsData,
|
|
25518
25635
|
vGetFlagLogResponse,
|
|
25519
25636
|
vFilters,
|
|
25520
25637
|
vExternalUserWritable,
|
|
@@ -25686,6 +25803,8 @@ export {
|
|
|
25686
25803
|
vCommitSerializerResponse,
|
|
25687
25804
|
vCommitPatchSet,
|
|
25688
25805
|
vCommit,
|
|
25806
|
+
vChunkUploadOptionsResponse,
|
|
25807
|
+
vChunkUpload,
|
|
25689
25808
|
vCheckInList,
|
|
25690
25809
|
vBulkUpsertOrganizationCodeMappingsResponse,
|
|
25691
25810
|
vBulkUpsertOrganizationCodeMappingsData,
|
|
@@ -25701,6 +25820,12 @@ export {
|
|
|
25701
25820
|
vBaseDataConditionGroupValidator,
|
|
25702
25821
|
vAutofixStateResponse,
|
|
25703
25822
|
vAutofixPostResponse,
|
|
25823
|
+
vAssembleProjectDebugFilesResponse2,
|
|
25824
|
+
vAssembleProjectDebugFilesResponse,
|
|
25825
|
+
vAssembleProjectDebugFilesData,
|
|
25826
|
+
vAssembleOrganizationArtifactBundleResponse,
|
|
25827
|
+
vAssembleOrganizationArtifactBundleData,
|
|
25828
|
+
vArtifactBundleAssembleResponse,
|
|
25704
25829
|
vAddProjectTeamResponse,
|
|
25705
25830
|
vAddProjectTeamData,
|
|
25706
25831
|
vAddProjectSymbolSourceResponse,
|