@sentry/api 0.377.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 +3 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +13 -0
- package/dist/sdk.gen.d.ts +7 -1
- package/dist/sentry-client.gen.d.ts +6 -0
- package/dist/types.gen.d.ts +164 -0
- package/dist/valibot.gen.d.ts +78 -0
- package/dist/valibot.js +95 -0
- package/dist/zod.gen.d.ts +388 -102
- package/dist/zod.js +110 -0
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -322,6 +322,64 @@ export type BaseTeam = {
|
|
|
322
322
|
avatarUrl?: string | null;
|
|
323
323
|
};
|
|
324
324
|
};
|
|
325
|
+
export type BulkCodeMappingsPartialResponse = {
|
|
326
|
+
created: number;
|
|
327
|
+
updated: number;
|
|
328
|
+
errors: number;
|
|
329
|
+
mappings: Array<{
|
|
330
|
+
stackRoot: string;
|
|
331
|
+
sourceRoot: string;
|
|
332
|
+
status: 'created' | 'updated' | 'error';
|
|
333
|
+
detail?: string;
|
|
334
|
+
}>;
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* Allows parameters to be defined in snake case, but passed as camel case.
|
|
338
|
+
*
|
|
339
|
+
* Errors are output in camel case.
|
|
340
|
+
*/
|
|
341
|
+
export type BulkCodeMappingsRequest = {
|
|
342
|
+
/**
|
|
343
|
+
* The ID or slug of the project to configure.
|
|
344
|
+
*/
|
|
345
|
+
project: number | string;
|
|
346
|
+
/**
|
|
347
|
+
* The repository name as it appears in Sentry.
|
|
348
|
+
*/
|
|
349
|
+
repository: string;
|
|
350
|
+
/**
|
|
351
|
+
* One or more stack-root and source-root mappings (maximum 300).
|
|
352
|
+
*/
|
|
353
|
+
mappings: Array<{
|
|
354
|
+
/**
|
|
355
|
+
* The path prefix to strip from matching stack frame filenames before adding sourceRoot.
|
|
356
|
+
*/
|
|
357
|
+
stack_root: string;
|
|
358
|
+
/**
|
|
359
|
+
* The repository path prefix that replaces stackRoot. For example, /app/pkg/file.py with stackRoot=/app/ and sourceRoot=src/ resolves to src/pkg/file.py.
|
|
360
|
+
*/
|
|
361
|
+
source_root: string;
|
|
362
|
+
}>;
|
|
363
|
+
/**
|
|
364
|
+
* Optional repository provider used to disambiguate or find the repository. If no matching Sentry repository exists, the repository is created after the provider confirms it exists.
|
|
365
|
+
*/
|
|
366
|
+
provider?: string | null;
|
|
367
|
+
/**
|
|
368
|
+
* The repository branch to use; inferred from the integration when omitted.
|
|
369
|
+
*/
|
|
370
|
+
default_branch?: string;
|
|
371
|
+
};
|
|
372
|
+
export type BulkCodeMappingsResponse = {
|
|
373
|
+
created: number;
|
|
374
|
+
updated: number;
|
|
375
|
+
errors: number;
|
|
376
|
+
mappings: Array<{
|
|
377
|
+
stackRoot: string;
|
|
378
|
+
sourceRoot: string;
|
|
379
|
+
status: 'created' | 'updated' | 'error';
|
|
380
|
+
detail?: string;
|
|
381
|
+
}>;
|
|
382
|
+
};
|
|
325
383
|
export type BulkEnvironment = {
|
|
326
384
|
/**
|
|
327
385
|
* List of environment names to update. Maximum 1000.
|
|
@@ -6057,6 +6115,16 @@ export type ListWorkflow = Array<{
|
|
|
6057
6115
|
lastTriggered: string | null;
|
|
6058
6116
|
owner: string | null;
|
|
6059
6117
|
}>;
|
|
6118
|
+
export type MappingItem = {
|
|
6119
|
+
/**
|
|
6120
|
+
* The path prefix to strip from matching stack frame filenames before adding sourceRoot.
|
|
6121
|
+
*/
|
|
6122
|
+
stack_root: string;
|
|
6123
|
+
/**
|
|
6124
|
+
* The repository path prefix that replaces stackRoot. For example, /app/pkg/file.py with stackRoot=/app/ and sourceRoot=src/ resolves to src/pkg/file.py.
|
|
6125
|
+
*/
|
|
6126
|
+
source_root: string;
|
|
6127
|
+
};
|
|
6060
6128
|
export type Monitor = {
|
|
6061
6129
|
id: string;
|
|
6062
6130
|
name: string;
|
|
@@ -13493,6 +13561,102 @@ export type CreateOrganizationCodeMappingResponses = {
|
|
|
13493
13561
|
};
|
|
13494
13562
|
};
|
|
13495
13563
|
export type CreateOrganizationCodeMappingResponse = CreateOrganizationCodeMappingResponses[keyof CreateOrganizationCodeMappingResponses];
|
|
13564
|
+
export type BulkUpsertOrganizationCodeMappingsData = {
|
|
13565
|
+
/**
|
|
13566
|
+
* Allows parameters to be defined in snake case, but passed as camel case.
|
|
13567
|
+
*
|
|
13568
|
+
* Errors are output in camel case.
|
|
13569
|
+
*/
|
|
13570
|
+
body: {
|
|
13571
|
+
/**
|
|
13572
|
+
* The ID or slug of the project to configure.
|
|
13573
|
+
*/
|
|
13574
|
+
project: number | string;
|
|
13575
|
+
/**
|
|
13576
|
+
* The repository name as it appears in Sentry.
|
|
13577
|
+
*/
|
|
13578
|
+
repository: string;
|
|
13579
|
+
/**
|
|
13580
|
+
* One or more stack-root and source-root mappings (maximum 300).
|
|
13581
|
+
*/
|
|
13582
|
+
mappings: Array<{
|
|
13583
|
+
/**
|
|
13584
|
+
* The path prefix to strip from matching stack frame filenames before adding sourceRoot.
|
|
13585
|
+
*/
|
|
13586
|
+
stack_root: string;
|
|
13587
|
+
/**
|
|
13588
|
+
* The repository path prefix that replaces stackRoot. For example, /app/pkg/file.py with stackRoot=/app/ and sourceRoot=src/ resolves to src/pkg/file.py.
|
|
13589
|
+
*/
|
|
13590
|
+
source_root: string;
|
|
13591
|
+
}>;
|
|
13592
|
+
/**
|
|
13593
|
+
* Optional repository provider used to disambiguate or find the repository. If no matching Sentry repository exists, the repository is created after the provider confirms it exists.
|
|
13594
|
+
*/
|
|
13595
|
+
provider?: string | null;
|
|
13596
|
+
/**
|
|
13597
|
+
* The repository branch to use; inferred from the integration when omitted.
|
|
13598
|
+
*/
|
|
13599
|
+
default_branch?: string;
|
|
13600
|
+
};
|
|
13601
|
+
path: {
|
|
13602
|
+
/**
|
|
13603
|
+
* The ID or slug of the organization the resource belongs to.
|
|
13604
|
+
*/
|
|
13605
|
+
organization_id_or_slug: string;
|
|
13606
|
+
};
|
|
13607
|
+
query?: never;
|
|
13608
|
+
url: '/api/0/organizations/{organization_id_or_slug}/code-mappings/bulk/';
|
|
13609
|
+
};
|
|
13610
|
+
export type BulkUpsertOrganizationCodeMappingsErrors = {
|
|
13611
|
+
/**
|
|
13612
|
+
* Bad Request
|
|
13613
|
+
*/
|
|
13614
|
+
400: unknown;
|
|
13615
|
+
/**
|
|
13616
|
+
* Unauthorized
|
|
13617
|
+
*/
|
|
13618
|
+
401: unknown;
|
|
13619
|
+
/**
|
|
13620
|
+
* Forbidden
|
|
13621
|
+
*/
|
|
13622
|
+
403: unknown;
|
|
13623
|
+
/**
|
|
13624
|
+
* Not Found
|
|
13625
|
+
*/
|
|
13626
|
+
404: unknown;
|
|
13627
|
+
/**
|
|
13628
|
+
* Conflict
|
|
13629
|
+
*/
|
|
13630
|
+
409: unknown;
|
|
13631
|
+
};
|
|
13632
|
+
export type BulkUpsertOrganizationCodeMappingsResponses = {
|
|
13633
|
+
200: {
|
|
13634
|
+
created: number;
|
|
13635
|
+
updated: number;
|
|
13636
|
+
errors: number;
|
|
13637
|
+
mappings: Array<{
|
|
13638
|
+
stackRoot: string;
|
|
13639
|
+
sourceRoot: string;
|
|
13640
|
+
status: 'created' | 'updated' | 'error';
|
|
13641
|
+
detail?: string;
|
|
13642
|
+
}>;
|
|
13643
|
+
};
|
|
13644
|
+
/**
|
|
13645
|
+
* One or more mappings could not be saved.
|
|
13646
|
+
*/
|
|
13647
|
+
207: {
|
|
13648
|
+
created: number;
|
|
13649
|
+
updated: number;
|
|
13650
|
+
errors: number;
|
|
13651
|
+
mappings: Array<{
|
|
13652
|
+
stackRoot: string;
|
|
13653
|
+
sourceRoot: string;
|
|
13654
|
+
status: 'created' | 'updated' | 'error';
|
|
13655
|
+
detail?: string;
|
|
13656
|
+
}>;
|
|
13657
|
+
};
|
|
13658
|
+
};
|
|
13659
|
+
export type BulkUpsertOrganizationCodeMappingsResponse = BulkUpsertOrganizationCodeMappingsResponses[keyof BulkUpsertOrganizationCodeMappingsResponses];
|
|
13496
13660
|
export type ListOrganizationCodeownersAssociationsData = {
|
|
13497
13661
|
body?: never;
|
|
13498
13662
|
path: {
|
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>;
|
|
@@ -7818,6 +7859,43 @@ export declare const vCreateOrganizationCodeMappingResponse: v.ObjectSchema<{
|
|
|
7818
7859
|
readonly automaticallyGenerated: v.BooleanSchema<undefined>;
|
|
7819
7860
|
readonly hasCodeOwner: v.BooleanSchema<undefined>;
|
|
7820
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>;
|
|
7821
7899
|
export declare const vListOrganizationCodeownersAssociationsData: v.ObjectSchema<{
|
|
7822
7900
|
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
7823
7901
|
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(),
|
|
@@ -9596,6 +9640,51 @@ var vCreateOrganizationCodeMappingResponse = v.object({
|
|
|
9596
9640
|
automaticallyGenerated: v.boolean(),
|
|
9597
9641
|
hasCodeOwner: v.boolean()
|
|
9598
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
|
+
})]);
|
|
9599
9688
|
var vListOrganizationCodeownersAssociationsData = v.object({
|
|
9600
9689
|
body: v.optional(v.never()),
|
|
9601
9690
|
path: v.object({
|
|
@@ -24664,6 +24753,7 @@ export {
|
|
|
24664
24753
|
vMonitorValidator,
|
|
24665
24754
|
vMonitorList,
|
|
24666
24755
|
vMonitor,
|
|
24756
|
+
vMappingItem,
|
|
24667
24757
|
vListWorkflow,
|
|
24668
24758
|
vListTraceItemAttributesResponse,
|
|
24669
24759
|
vListTeamProjectsResponse,
|
|
@@ -25176,10 +25266,15 @@ export {
|
|
|
25176
25266
|
vCommitPatchSet,
|
|
25177
25267
|
vCommit,
|
|
25178
25268
|
vCheckInList,
|
|
25269
|
+
vBulkUpsertOrganizationCodeMappingsResponse,
|
|
25270
|
+
vBulkUpsertOrganizationCodeMappingsData,
|
|
25179
25271
|
vBulkUpdateProjectEnvironments,
|
|
25180
25272
|
vBulkUpdateMonitors,
|
|
25181
25273
|
vBulkUpdateAlerts,
|
|
25182
25274
|
vBulkEnvironment,
|
|
25275
|
+
vBulkCodeMappingsResponse,
|
|
25276
|
+
vBulkCodeMappingsRequest,
|
|
25277
|
+
vBulkCodeMappingsPartialResponse,
|
|
25183
25278
|
vBaseTeam,
|
|
25184
25279
|
vBaseDetectorTypeValidator,
|
|
25185
25280
|
vBaseDataConditionGroupValidator,
|