@sentry/api 0.376.0 → 0.378.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 +7 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +35 -0
- package/dist/sdk.gen.d.ts +19 -1
- package/dist/sentry-client.gen.d.ts +18 -0
- package/dist/types.gen.d.ts +322 -0
- package/dist/valibot.gen.d.ts +154 -0
- package/dist/valibot.js +178 -0
- package/dist/zod.gen.d.ts +680 -122
- package/dist/zod.js +223 -0
- package/package.json +1 -1
package/dist/valibot.gen.d.ts
CHANGED
|
@@ -75,6 +75,43 @@ export declare const vBaseTeam: v.ObjectSchema<{
|
|
|
75
75
|
readonly avatarUrl: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
76
76
|
}, undefined>;
|
|
77
77
|
}, undefined>;
|
|
78
|
+
export declare const vBulkCodeMappingsPartialResponse: v.ObjectSchema<{
|
|
79
|
+
readonly created: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
80
|
+
readonly updated: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
81
|
+
readonly errors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
82
|
+
readonly mappings: v.ArraySchema<v.ObjectSchema<{
|
|
83
|
+
readonly stackRoot: v.StringSchema<undefined>;
|
|
84
|
+
readonly sourceRoot: v.StringSchema<undefined>;
|
|
85
|
+
readonly status: v.PicklistSchema<["created", "updated", "error"], undefined>;
|
|
86
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
87
|
+
}, undefined>, undefined>;
|
|
88
|
+
}, undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* Allows parameters to be defined in snake case, but passed as camel case.
|
|
91
|
+
*
|
|
92
|
+
* Errors are output in camel case.
|
|
93
|
+
*/
|
|
94
|
+
export declare const vBulkCodeMappingsRequest: v.ObjectSchema<{
|
|
95
|
+
readonly project: v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.StringSchema<undefined>], undefined>;
|
|
96
|
+
readonly repository: v.StringSchema<undefined>;
|
|
97
|
+
readonly mappings: v.ArraySchema<v.ObjectSchema<{
|
|
98
|
+
readonly stack_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
99
|
+
readonly source_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
100
|
+
}, undefined>, undefined>;
|
|
101
|
+
readonly provider: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
102
|
+
readonly default_branch: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
103
|
+
}, undefined>;
|
|
104
|
+
export declare const vBulkCodeMappingsResponse: v.ObjectSchema<{
|
|
105
|
+
readonly created: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
106
|
+
readonly updated: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
107
|
+
readonly errors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
108
|
+
readonly mappings: v.ArraySchema<v.ObjectSchema<{
|
|
109
|
+
readonly stackRoot: v.StringSchema<undefined>;
|
|
110
|
+
readonly sourceRoot: v.StringSchema<undefined>;
|
|
111
|
+
readonly status: v.PicklistSchema<["created", "updated", "error"], undefined>;
|
|
112
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
113
|
+
}, undefined>, undefined>;
|
|
114
|
+
}, undefined>;
|
|
78
115
|
export declare const vBulkEnvironment: v.ObjectSchema<{
|
|
79
116
|
readonly environmentNames: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MaxLengthAction<string[], 1000, undefined>]>;
|
|
80
117
|
readonly isHidden: v.BooleanSchema<undefined>;
|
|
@@ -3797,6 +3834,10 @@ export declare const vListWorkflow: v.ArraySchema<v.ObjectSchema<{
|
|
|
3797
3834
|
readonly lastTriggered: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.NullSchema<undefined>], undefined>;
|
|
3798
3835
|
readonly owner: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
3799
3836
|
}, undefined>, undefined>;
|
|
3837
|
+
export declare const vMappingItem: v.ObjectSchema<{
|
|
3838
|
+
readonly stack_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3839
|
+
readonly source_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3840
|
+
}, undefined>;
|
|
3800
3841
|
export declare const vMonitor: v.ObjectSchema<{
|
|
3801
3842
|
readonly id: v.StringSchema<undefined>;
|
|
3802
3843
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -4097,6 +4138,16 @@ export declare const vOrganizationCodeMappingResponse: v.ObjectSchema<{
|
|
|
4097
4138
|
readonly automaticallyGenerated: v.BooleanSchema<undefined>;
|
|
4098
4139
|
readonly hasCodeOwner: v.BooleanSchema<undefined>;
|
|
4099
4140
|
}, undefined>;
|
|
4141
|
+
export declare const vOrganizationCodeOwnersAssociationsResponse: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
4142
|
+
readonly associations: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
4143
|
+
readonly errors: v.ObjectSchema<{
|
|
4144
|
+
readonly missing_user_emails: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
4145
|
+
readonly missing_external_users: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
4146
|
+
readonly missing_external_teams: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
4147
|
+
readonly teams_without_access: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
4148
|
+
readonly users_without_access: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
4149
|
+
}, undefined>;
|
|
4150
|
+
}, undefined>, undefined>;
|
|
4100
4151
|
export declare const vOrganizationConfigIntegrationsEndpointResponse: v.ObjectSchema<{
|
|
4101
4152
|
readonly providers: v.ArraySchema<v.ObjectSchema<{
|
|
4102
4153
|
readonly key: v.StringSchema<undefined>;
|
|
@@ -4885,6 +4936,21 @@ export declare const vOrganizationRelease: v.ObjectSchema<{
|
|
|
4885
4936
|
readonly previousCommit: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
4886
4937
|
}, undefined>, undefined>, undefined>;
|
|
4887
4938
|
}, undefined>;
|
|
4939
|
+
export declare const vOrganizationRepositorySettingsResponse: v.ArraySchema<v.ObjectSchema<{
|
|
4940
|
+
readonly url: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
4941
|
+
readonly provider: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
4942
|
+
readonly status: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4943
|
+
readonly integrationId: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
4944
|
+
readonly externalSlug: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
4945
|
+
readonly externalId: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
4946
|
+
readonly settings: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
4947
|
+
readonly enabledCodeReview: v.BooleanSchema<undefined>;
|
|
4948
|
+
readonly codeReviewTriggers: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
4949
|
+
}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
4950
|
+
readonly id: v.StringSchema<undefined>;
|
|
4951
|
+
readonly name: v.StringSchema<undefined>;
|
|
4952
|
+
readonly dateCreated: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
4953
|
+
}, undefined>, undefined>;
|
|
4888
4954
|
export declare const vOrganizationSentryAppDetailsResponse: v.ArraySchema<v.ObjectSchema<{
|
|
4889
4955
|
readonly allowedOrigins: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
4890
4956
|
readonly avatars: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -6003,6 +6069,11 @@ export declare const vReplayDeletionJobCreateData: v.ObjectSchema<{
|
|
|
6003
6069
|
readonly environments: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
6004
6070
|
readonly query: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
6005
6071
|
}, undefined>;
|
|
6072
|
+
export declare const vRepositorySettings: v.ObjectSchema<{
|
|
6073
|
+
readonly repositoryIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, v.MaxLengthAction<number[], 1000, undefined>]>;
|
|
6074
|
+
readonly enabledCodeReview: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
6075
|
+
readonly codeReviewTriggers: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["on_new_commit", "on_ready_for_review"], undefined>, undefined>, undefined>;
|
|
6076
|
+
}, undefined>;
|
|
6006
6077
|
/**
|
|
6007
6078
|
* Span page plus conversation-level metadata.
|
|
6008
6079
|
*/
|
|
@@ -7788,6 +7859,63 @@ export declare const vCreateOrganizationCodeMappingResponse: v.ObjectSchema<{
|
|
|
7788
7859
|
readonly automaticallyGenerated: v.BooleanSchema<undefined>;
|
|
7789
7860
|
readonly hasCodeOwner: v.BooleanSchema<undefined>;
|
|
7790
7861
|
}, undefined>;
|
|
7862
|
+
export declare const vBulkUpsertOrganizationCodeMappingsData: v.ObjectSchema<{
|
|
7863
|
+
readonly body: v.ObjectSchema<{
|
|
7864
|
+
readonly project: v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.StringSchema<undefined>], undefined>;
|
|
7865
|
+
readonly repository: v.StringSchema<undefined>;
|
|
7866
|
+
readonly mappings: v.ArraySchema<v.ObjectSchema<{
|
|
7867
|
+
readonly stack_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
7868
|
+
readonly source_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
7869
|
+
}, undefined>, undefined>;
|
|
7870
|
+
readonly provider: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
7871
|
+
readonly default_branch: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
7872
|
+
}, undefined>;
|
|
7873
|
+
readonly path: v.ObjectSchema<{
|
|
7874
|
+
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
7875
|
+
}, undefined>;
|
|
7876
|
+
readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
7877
|
+
}, undefined>;
|
|
7878
|
+
export declare const vBulkUpsertOrganizationCodeMappingsResponse: v.UnionSchema<[v.ObjectSchema<{
|
|
7879
|
+
readonly created: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7880
|
+
readonly updated: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7881
|
+
readonly errors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7882
|
+
readonly mappings: v.ArraySchema<v.ObjectSchema<{
|
|
7883
|
+
readonly stackRoot: v.StringSchema<undefined>;
|
|
7884
|
+
readonly sourceRoot: v.StringSchema<undefined>;
|
|
7885
|
+
readonly status: v.PicklistSchema<["created", "updated", "error"], undefined>;
|
|
7886
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7887
|
+
}, undefined>, undefined>;
|
|
7888
|
+
}, undefined>, v.ObjectSchema<{
|
|
7889
|
+
readonly created: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7890
|
+
readonly updated: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7891
|
+
readonly errors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7892
|
+
readonly mappings: v.ArraySchema<v.ObjectSchema<{
|
|
7893
|
+
readonly stackRoot: v.StringSchema<undefined>;
|
|
7894
|
+
readonly sourceRoot: v.StringSchema<undefined>;
|
|
7895
|
+
readonly status: v.PicklistSchema<["created", "updated", "error"], undefined>;
|
|
7896
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7897
|
+
}, undefined>, undefined>;
|
|
7898
|
+
}, undefined>], undefined>;
|
|
7899
|
+
export declare const vListOrganizationCodeownersAssociationsData: v.ObjectSchema<{
|
|
7900
|
+
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
7901
|
+
readonly path: v.ObjectSchema<{
|
|
7902
|
+
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
7903
|
+
}, undefined>;
|
|
7904
|
+
readonly query: v.OptionalSchema<v.ObjectSchema<{
|
|
7905
|
+
readonly project: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7906
|
+
readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7907
|
+
}, undefined>, undefined>;
|
|
7908
|
+
}, undefined>;
|
|
7909
|
+
export declare const vListOrganizationCodeownersAssociationsResponse: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
7910
|
+
readonly associations: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
7911
|
+
readonly errors: v.ObjectSchema<{
|
|
7912
|
+
readonly missing_user_emails: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7913
|
+
readonly missing_external_users: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7914
|
+
readonly missing_external_teams: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7915
|
+
readonly teams_without_access: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7916
|
+
readonly users_without_access: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7917
|
+
}, undefined>;
|
|
7918
|
+
}, undefined>, undefined>;
|
|
7791
7919
|
export declare const vGetOrganizationConfigIntegrationsData: v.ObjectSchema<{
|
|
7792
7920
|
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
7793
7921
|
readonly path: v.ObjectSchema<{
|
|
@@ -12879,6 +13007,32 @@ export declare const vListOrganizationRepoCommitsResponse: v.ArraySchema<v.Objec
|
|
|
12879
13007
|
readonly email: v.StringSchema<undefined>;
|
|
12880
13008
|
}, undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>], undefined>, undefined>;
|
|
12881
13009
|
}, undefined>, undefined>;
|
|
13010
|
+
export declare const vUpdateOrganizationRepositorySettingsData: v.ObjectSchema<{
|
|
13011
|
+
readonly body: v.ObjectSchema<{
|
|
13012
|
+
readonly repositoryIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, v.MaxLengthAction<number[], 1000, undefined>]>;
|
|
13013
|
+
readonly enabledCodeReview: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
13014
|
+
readonly codeReviewTriggers: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["on_new_commit", "on_ready_for_review"], undefined>, undefined>, undefined>;
|
|
13015
|
+
}, undefined>;
|
|
13016
|
+
readonly path: v.ObjectSchema<{
|
|
13017
|
+
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
13018
|
+
}, undefined>;
|
|
13019
|
+
readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
13020
|
+
}, undefined>;
|
|
13021
|
+
export declare const vUpdateOrganizationRepositorySettingsResponse: v.ArraySchema<v.ObjectSchema<{
|
|
13022
|
+
readonly url: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
13023
|
+
readonly provider: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
13024
|
+
readonly status: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
13025
|
+
readonly integrationId: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
13026
|
+
readonly externalSlug: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
13027
|
+
readonly externalId: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
13028
|
+
readonly settings: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
13029
|
+
readonly enabledCodeReview: v.BooleanSchema<undefined>;
|
|
13030
|
+
readonly codeReviewTriggers: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
13031
|
+
}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
13032
|
+
readonly id: v.StringSchema<undefined>;
|
|
13033
|
+
readonly name: v.StringSchema<undefined>;
|
|
13034
|
+
readonly dateCreated: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
13035
|
+
}, undefined>, undefined>;
|
|
12882
13036
|
export declare const vListOrganizationScimV2GroupsData: v.ObjectSchema<{
|
|
12883
13037
|
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
12884
13038
|
readonly path: v.ObjectSchema<{
|
package/dist/valibot.js
CHANGED
|
@@ -74,6 +74,46 @@ var vBaseTeam = v.object({
|
|
|
74
74
|
avatarUrl: v.optional(v.union([v.string(), v.null()]))
|
|
75
75
|
})
|
|
76
76
|
});
|
|
77
|
+
var vBulkCodeMappingsPartialResponse = v.object({
|
|
78
|
+
created: v.pipe(v.number(), v.integer()),
|
|
79
|
+
updated: v.pipe(v.number(), v.integer()),
|
|
80
|
+
errors: v.pipe(v.number(), v.integer()),
|
|
81
|
+
mappings: v.array(v.object({
|
|
82
|
+
stackRoot: v.string(),
|
|
83
|
+
sourceRoot: v.string(),
|
|
84
|
+
status: v.picklist([
|
|
85
|
+
"created",
|
|
86
|
+
"updated",
|
|
87
|
+
"error"
|
|
88
|
+
]),
|
|
89
|
+
detail: v.optional(v.string())
|
|
90
|
+
}))
|
|
91
|
+
});
|
|
92
|
+
var vBulkCodeMappingsRequest = v.object({
|
|
93
|
+
project: v.union([v.pipe(v.number(), v.integer()), v.string()]),
|
|
94
|
+
repository: v.string(),
|
|
95
|
+
mappings: v.array(v.object({
|
|
96
|
+
stack_root: v.pipe(v.string(), v.regex(/^[^\s'\"]+$/)),
|
|
97
|
+
source_root: v.pipe(v.string(), v.regex(/^[^\s'\"]+$/))
|
|
98
|
+
})),
|
|
99
|
+
provider: v.optional(v.union([v.string(), v.null()])),
|
|
100
|
+
default_branch: v.optional(v.pipe(v.string(), v.regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/)))
|
|
101
|
+
});
|
|
102
|
+
var vBulkCodeMappingsResponse = v.object({
|
|
103
|
+
created: v.pipe(v.number(), v.integer()),
|
|
104
|
+
updated: v.pipe(v.number(), v.integer()),
|
|
105
|
+
errors: v.pipe(v.number(), v.integer()),
|
|
106
|
+
mappings: v.array(v.object({
|
|
107
|
+
stackRoot: v.string(),
|
|
108
|
+
sourceRoot: v.string(),
|
|
109
|
+
status: v.picklist([
|
|
110
|
+
"created",
|
|
111
|
+
"updated",
|
|
112
|
+
"error"
|
|
113
|
+
]),
|
|
114
|
+
detail: v.optional(v.string())
|
|
115
|
+
}))
|
|
116
|
+
});
|
|
77
117
|
var vBulkEnvironment = v.object({
|
|
78
118
|
environmentNames: v.pipe(v.array(v.string()), v.maxLength(1000)),
|
|
79
119
|
isHidden: v.boolean()
|
|
@@ -4657,6 +4697,10 @@ var vListWorkflow = v.array(v.object({
|
|
|
4657
4697
|
lastTriggered: v.union([v.pipe(v.string(), v.isoTimestamp()), v.null()]),
|
|
4658
4698
|
owner: v.union([v.string(), v.null()])
|
|
4659
4699
|
}));
|
|
4700
|
+
var vMappingItem = v.object({
|
|
4701
|
+
stack_root: v.pipe(v.string(), v.regex(/^[^\s'\"]+$/)),
|
|
4702
|
+
source_root: v.pipe(v.string(), v.regex(/^[^\s'\"]+$/))
|
|
4703
|
+
});
|
|
4660
4704
|
var vMonitor = v.object({
|
|
4661
4705
|
id: v.string(),
|
|
4662
4706
|
name: v.string(),
|
|
@@ -5549,6 +5593,16 @@ var vOrganizationCodeMappingResponse = v.object({
|
|
|
5549
5593
|
automaticallyGenerated: v.boolean(),
|
|
5550
5594
|
hasCodeOwner: v.boolean()
|
|
5551
5595
|
});
|
|
5596
|
+
var vOrganizationCodeOwnersAssociationsResponse = v.record(v.string(), v.object({
|
|
5597
|
+
associations: v.record(v.string(), v.string()),
|
|
5598
|
+
errors: v.object({
|
|
5599
|
+
missing_user_emails: v.array(v.string()),
|
|
5600
|
+
missing_external_users: v.array(v.string()),
|
|
5601
|
+
missing_external_teams: v.array(v.string()),
|
|
5602
|
+
teams_without_access: v.array(v.string()),
|
|
5603
|
+
users_without_access: v.array(v.string())
|
|
5604
|
+
})
|
|
5605
|
+
}));
|
|
5552
5606
|
var vOrganizationConfigIntegrationsEndpointResponse = v.object({
|
|
5553
5607
|
providers: v.array(v.object({
|
|
5554
5608
|
key: v.string(),
|
|
@@ -6417,6 +6471,21 @@ var vOrganizationRelease = v.object({
|
|
|
6417
6471
|
previousCommit: v.optional(v.union([v.pipe(v.string(), v.maxLength(64)), v.null()]))
|
|
6418
6472
|
})))
|
|
6419
6473
|
});
|
|
6474
|
+
var vOrganizationRepositorySettingsResponse = v.array(v.object({
|
|
6475
|
+
url: v.optional(v.union([v.string(), v.null()])),
|
|
6476
|
+
provider: v.optional(v.record(v.string(), v.string())),
|
|
6477
|
+
status: v.optional(v.string()),
|
|
6478
|
+
integrationId: v.optional(v.union([v.string(), v.null()])),
|
|
6479
|
+
externalSlug: v.optional(v.union([v.string(), v.null()])),
|
|
6480
|
+
externalId: v.optional(v.union([v.string(), v.null()])),
|
|
6481
|
+
settings: v.optional(v.union([v.object({
|
|
6482
|
+
enabledCodeReview: v.boolean(),
|
|
6483
|
+
codeReviewTriggers: v.array(v.string())
|
|
6484
|
+
}), v.null()])),
|
|
6485
|
+
id: v.string(),
|
|
6486
|
+
name: v.string(),
|
|
6487
|
+
dateCreated: v.pipe(v.string(), v.isoTimestamp())
|
|
6488
|
+
}));
|
|
6420
6489
|
var vOrganizationSentryAppDetailsResponse = v.array(v.object({
|
|
6421
6490
|
allowedOrigins: v.array(v.string()),
|
|
6422
6491
|
avatars: v.array(v.object({
|
|
@@ -7591,6 +7660,11 @@ var vReplayDeletionJobCreateData = v.object({
|
|
|
7591
7660
|
environments: v.array(v.string()),
|
|
7592
7661
|
query: v.union([v.string(), v.null()])
|
|
7593
7662
|
});
|
|
7663
|
+
var vRepositorySettings = v.object({
|
|
7664
|
+
repositoryIds: v.pipe(v.array(v.pipe(v.number(), v.integer())), v.maxLength(1000)),
|
|
7665
|
+
enabledCodeReview: v.optional(v.boolean()),
|
|
7666
|
+
codeReviewTriggers: v.optional(v.array(v.picklist(["on_new_commit", "on_ready_for_review"])))
|
|
7667
|
+
});
|
|
7594
7668
|
var vRetrieveOrganizationAiConversationResponse = v.object({
|
|
7595
7669
|
conversationId: v.string(),
|
|
7596
7670
|
title: v.union([v.string(), v.null()]),
|
|
@@ -9566,6 +9640,71 @@ var vCreateOrganizationCodeMappingResponse = v.object({
|
|
|
9566
9640
|
automaticallyGenerated: v.boolean(),
|
|
9567
9641
|
hasCodeOwner: v.boolean()
|
|
9568
9642
|
});
|
|
9643
|
+
var vBulkUpsertOrganizationCodeMappingsData = v.object({
|
|
9644
|
+
body: v.object({
|
|
9645
|
+
project: v.union([v.pipe(v.number(), v.integer()), v.string()]),
|
|
9646
|
+
repository: v.string(),
|
|
9647
|
+
mappings: v.array(v.object({
|
|
9648
|
+
stack_root: v.pipe(v.string(), v.regex(/^[^\s'\"]+$/)),
|
|
9649
|
+
source_root: v.pipe(v.string(), v.regex(/^[^\s'\"]+$/))
|
|
9650
|
+
})),
|
|
9651
|
+
provider: v.optional(v.union([v.string(), v.null()])),
|
|
9652
|
+
default_branch: v.optional(v.pipe(v.string(), v.regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/)))
|
|
9653
|
+
}),
|
|
9654
|
+
path: v.object({
|
|
9655
|
+
organization_id_or_slug: v.string()
|
|
9656
|
+
}),
|
|
9657
|
+
query: v.optional(v.never())
|
|
9658
|
+
});
|
|
9659
|
+
var vBulkUpsertOrganizationCodeMappingsResponse = v.union([v.object({
|
|
9660
|
+
created: v.pipe(v.number(), v.integer()),
|
|
9661
|
+
updated: v.pipe(v.number(), v.integer()),
|
|
9662
|
+
errors: v.pipe(v.number(), v.integer()),
|
|
9663
|
+
mappings: v.array(v.object({
|
|
9664
|
+
stackRoot: v.string(),
|
|
9665
|
+
sourceRoot: v.string(),
|
|
9666
|
+
status: v.picklist([
|
|
9667
|
+
"created",
|
|
9668
|
+
"updated",
|
|
9669
|
+
"error"
|
|
9670
|
+
]),
|
|
9671
|
+
detail: v.optional(v.string())
|
|
9672
|
+
}))
|
|
9673
|
+
}), v.object({
|
|
9674
|
+
created: v.pipe(v.number(), v.integer()),
|
|
9675
|
+
updated: v.pipe(v.number(), v.integer()),
|
|
9676
|
+
errors: v.pipe(v.number(), v.integer()),
|
|
9677
|
+
mappings: v.array(v.object({
|
|
9678
|
+
stackRoot: v.string(),
|
|
9679
|
+
sourceRoot: v.string(),
|
|
9680
|
+
status: v.picklist([
|
|
9681
|
+
"created",
|
|
9682
|
+
"updated",
|
|
9683
|
+
"error"
|
|
9684
|
+
]),
|
|
9685
|
+
detail: v.optional(v.string())
|
|
9686
|
+
}))
|
|
9687
|
+
})]);
|
|
9688
|
+
var vListOrganizationCodeownersAssociationsData = v.object({
|
|
9689
|
+
body: v.optional(v.never()),
|
|
9690
|
+
path: v.object({
|
|
9691
|
+
organization_id_or_slug: v.string()
|
|
9692
|
+
}),
|
|
9693
|
+
query: v.optional(v.object({
|
|
9694
|
+
project: v.optional(v.array(v.string())),
|
|
9695
|
+
provider: v.optional(v.string())
|
|
9696
|
+
}))
|
|
9697
|
+
});
|
|
9698
|
+
var vListOrganizationCodeownersAssociationsResponse = v.record(v.string(), v.object({
|
|
9699
|
+
associations: v.record(v.string(), v.string()),
|
|
9700
|
+
errors: v.object({
|
|
9701
|
+
missing_user_emails: v.array(v.string()),
|
|
9702
|
+
missing_external_users: v.array(v.string()),
|
|
9703
|
+
missing_external_teams: v.array(v.string()),
|
|
9704
|
+
teams_without_access: v.array(v.string()),
|
|
9705
|
+
users_without_access: v.array(v.string())
|
|
9706
|
+
})
|
|
9707
|
+
}));
|
|
9569
9708
|
var vGetOrganizationConfigIntegrationsData = v.object({
|
|
9570
9709
|
body: v.optional(v.never()),
|
|
9571
9710
|
path: v.object({
|
|
@@ -16283,6 +16422,32 @@ var vListOrganizationRepoCommitsResponse = v.array(v.object({
|
|
|
16283
16422
|
v.record(v.string(), v.unknown())
|
|
16284
16423
|
]))
|
|
16285
16424
|
}));
|
|
16425
|
+
var vUpdateOrganizationRepositorySettingsData = v.object({
|
|
16426
|
+
body: v.object({
|
|
16427
|
+
repositoryIds: v.pipe(v.array(v.pipe(v.number(), v.integer())), v.maxLength(1000)),
|
|
16428
|
+
enabledCodeReview: v.optional(v.boolean()),
|
|
16429
|
+
codeReviewTriggers: v.optional(v.array(v.picklist(["on_new_commit", "on_ready_for_review"])))
|
|
16430
|
+
}),
|
|
16431
|
+
path: v.object({
|
|
16432
|
+
organization_id_or_slug: v.string()
|
|
16433
|
+
}),
|
|
16434
|
+
query: v.optional(v.never())
|
|
16435
|
+
});
|
|
16436
|
+
var vUpdateOrganizationRepositorySettingsResponse = v.array(v.object({
|
|
16437
|
+
url: v.optional(v.union([v.string(), v.null()])),
|
|
16438
|
+
provider: v.optional(v.record(v.string(), v.string())),
|
|
16439
|
+
status: v.optional(v.string()),
|
|
16440
|
+
integrationId: v.optional(v.union([v.string(), v.null()])),
|
|
16441
|
+
externalSlug: v.optional(v.union([v.string(), v.null()])),
|
|
16442
|
+
externalId: v.optional(v.union([v.string(), v.null()])),
|
|
16443
|
+
settings: v.optional(v.union([v.object({
|
|
16444
|
+
enabledCodeReview: v.boolean(),
|
|
16445
|
+
codeReviewTriggers: v.array(v.string())
|
|
16446
|
+
}), v.null()])),
|
|
16447
|
+
id: v.string(),
|
|
16448
|
+
name: v.string(),
|
|
16449
|
+
dateCreated: v.pipe(v.string(), v.isoTimestamp())
|
|
16450
|
+
}));
|
|
16286
16451
|
var vListOrganizationScimV2GroupsData = v.object({
|
|
16287
16452
|
body: v.optional(v.never()),
|
|
16288
16453
|
path: v.object({
|
|
@@ -24422,6 +24587,8 @@ export {
|
|
|
24422
24587
|
vUpdateOrganizationScimV2GroupResponse,
|
|
24423
24588
|
vUpdateOrganizationScimV2GroupData,
|
|
24424
24589
|
vUpdateOrganizationResponse,
|
|
24590
|
+
vUpdateOrganizationRepositorySettingsResponse,
|
|
24591
|
+
vUpdateOrganizationRepositorySettingsData,
|
|
24425
24592
|
vUpdateOrganizationReleaseResponse,
|
|
24426
24593
|
vUpdateOrganizationReleaseFileResponse,
|
|
24427
24594
|
vUpdateOrganizationReleaseFileData,
|
|
@@ -24507,6 +24674,7 @@ export {
|
|
|
24507
24674
|
vResolveOrganizationShortIdData,
|
|
24508
24675
|
vResolveOrganizationEventIdResponse,
|
|
24509
24676
|
vResolveOrganizationEventIdData,
|
|
24677
|
+
vRepositorySettings,
|
|
24510
24678
|
vReplayDeletionJobCreateData,
|
|
24511
24679
|
vReplayDeletionJobCreate,
|
|
24512
24680
|
vReplayCounts,
|
|
@@ -24554,6 +24722,7 @@ export {
|
|
|
24554
24722
|
vOrganizationSummary,
|
|
24555
24723
|
vOrganizationStatsSummaryResponse,
|
|
24556
24724
|
vOrganizationSentryAppDetailsResponse,
|
|
24725
|
+
vOrganizationRepositorySettingsResponse,
|
|
24557
24726
|
vOrganizationRelease,
|
|
24558
24727
|
vOrganizationRelayResponse,
|
|
24559
24728
|
vOrganizationProjectResponseDict,
|
|
@@ -24577,12 +24746,14 @@ export {
|
|
|
24577
24746
|
vOrganizationEnvironmentResponse,
|
|
24578
24747
|
vOrganizationDetailsPut,
|
|
24579
24748
|
vOrganizationConfigIntegrationsEndpointResponse,
|
|
24749
|
+
vOrganizationCodeOwnersAssociationsResponse,
|
|
24580
24750
|
vOrganizationCodeMappingResponse,
|
|
24581
24751
|
vOrgReleaseResponse,
|
|
24582
24752
|
vNotificationAction,
|
|
24583
24753
|
vMonitorValidator,
|
|
24584
24754
|
vMonitorList,
|
|
24585
24755
|
vMonitor,
|
|
24756
|
+
vMappingItem,
|
|
24586
24757
|
vListWorkflow,
|
|
24587
24758
|
vListTraceItemAttributesResponse,
|
|
24588
24759
|
vListTeamProjectsResponse,
|
|
@@ -24767,6 +24938,8 @@ export {
|
|
|
24767
24938
|
vListOrganizationDetectorsData,
|
|
24768
24939
|
vListOrganizationDashboardsResponse,
|
|
24769
24940
|
vListOrganizationDashboardsData,
|
|
24941
|
+
vListOrganizationCodeownersAssociationsResponse,
|
|
24942
|
+
vListOrganizationCodeownersAssociationsData,
|
|
24770
24943
|
vListOrganizationCodeMappingsResponse2,
|
|
24771
24944
|
vListOrganizationCodeMappingsResponse,
|
|
24772
24945
|
vListOrganizationCodeMappingsData,
|
|
@@ -25093,10 +25266,15 @@ export {
|
|
|
25093
25266
|
vCommitPatchSet,
|
|
25094
25267
|
vCommit,
|
|
25095
25268
|
vCheckInList,
|
|
25269
|
+
vBulkUpsertOrganizationCodeMappingsResponse,
|
|
25270
|
+
vBulkUpsertOrganizationCodeMappingsData,
|
|
25096
25271
|
vBulkUpdateProjectEnvironments,
|
|
25097
25272
|
vBulkUpdateMonitors,
|
|
25098
25273
|
vBulkUpdateAlerts,
|
|
25099
25274
|
vBulkEnvironment,
|
|
25275
|
+
vBulkCodeMappingsResponse,
|
|
25276
|
+
vBulkCodeMappingsRequest,
|
|
25277
|
+
vBulkCodeMappingsPartialResponse,
|
|
25100
25278
|
vBaseTeam,
|
|
25101
25279
|
vBaseDetectorTypeValidator,
|
|
25102
25280
|
vBaseDataConditionGroupValidator,
|