@sentry/api 0.418.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.
@@ -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,