@sentry/api 0.377.0 → 0.379.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/zod.js
CHANGED
|
@@ -98,6 +98,52 @@ var zBaseTeam = z.object({
|
|
|
98
98
|
]).optional()
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
|
+
var zBulkCodeMappingsPartialResponse = z.object({
|
|
102
|
+
created: z.number().int(),
|
|
103
|
+
updated: z.number().int(),
|
|
104
|
+
errors: z.number().int(),
|
|
105
|
+
mappings: z.array(z.object({
|
|
106
|
+
stackRoot: z.string(),
|
|
107
|
+
sourceRoot: z.string(),
|
|
108
|
+
status: z.enum([
|
|
109
|
+
"created",
|
|
110
|
+
"updated",
|
|
111
|
+
"error"
|
|
112
|
+
]),
|
|
113
|
+
detail: z.string().optional()
|
|
114
|
+
}))
|
|
115
|
+
});
|
|
116
|
+
var zBulkCodeMappingsRequest = z.object({
|
|
117
|
+
project: z.union([
|
|
118
|
+
z.number().int(),
|
|
119
|
+
z.string()
|
|
120
|
+
]),
|
|
121
|
+
repository: z.string(),
|
|
122
|
+
mappings: z.array(z.object({
|
|
123
|
+
stack_root: z.string().regex(/^[^\s'\"]+$/),
|
|
124
|
+
source_root: z.string().regex(/^[^\s'\"]+$/)
|
|
125
|
+
})),
|
|
126
|
+
provider: z.union([
|
|
127
|
+
z.string(),
|
|
128
|
+
z.null()
|
|
129
|
+
]).optional(),
|
|
130
|
+
default_branch: z.string().regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/).optional()
|
|
131
|
+
});
|
|
132
|
+
var zBulkCodeMappingsResponse = z.object({
|
|
133
|
+
created: z.number().int(),
|
|
134
|
+
updated: z.number().int(),
|
|
135
|
+
errors: z.number().int(),
|
|
136
|
+
mappings: z.array(z.object({
|
|
137
|
+
stackRoot: z.string(),
|
|
138
|
+
sourceRoot: z.string(),
|
|
139
|
+
status: z.enum([
|
|
140
|
+
"created",
|
|
141
|
+
"updated",
|
|
142
|
+
"error"
|
|
143
|
+
]),
|
|
144
|
+
detail: z.string().optional()
|
|
145
|
+
}))
|
|
146
|
+
});
|
|
101
147
|
var zBulkEnvironment = z.object({
|
|
102
148
|
environmentNames: z.array(z.string()).max(1000),
|
|
103
149
|
isHidden: z.boolean()
|
|
@@ -7449,6 +7495,10 @@ var zListWorkflow = z.array(z.object({
|
|
|
7449
7495
|
z.null()
|
|
7450
7496
|
])
|
|
7451
7497
|
}));
|
|
7498
|
+
var zMappingItem = z.object({
|
|
7499
|
+
stack_root: z.string().regex(/^[^\s'\"]+$/),
|
|
7500
|
+
source_root: z.string().regex(/^[^\s'\"]+$/)
|
|
7501
|
+
});
|
|
7452
7502
|
var zMonitor = z.object({
|
|
7453
7503
|
id: z.string(),
|
|
7454
7504
|
name: z.string(),
|
|
@@ -14581,6 +14631,60 @@ var zCreateOrganizationCodeMappingResponse = z.object({
|
|
|
14581
14631
|
automaticallyGenerated: z.boolean(),
|
|
14582
14632
|
hasCodeOwner: z.boolean()
|
|
14583
14633
|
});
|
|
14634
|
+
var zBulkUpsertOrganizationCodeMappingsData = z.object({
|
|
14635
|
+
body: z.object({
|
|
14636
|
+
project: z.union([
|
|
14637
|
+
z.number().int(),
|
|
14638
|
+
z.string()
|
|
14639
|
+
]),
|
|
14640
|
+
repository: z.string(),
|
|
14641
|
+
mappings: z.array(z.object({
|
|
14642
|
+
stack_root: z.string().regex(/^[^\s'\"]+$/),
|
|
14643
|
+
source_root: z.string().regex(/^[^\s'\"]+$/)
|
|
14644
|
+
})),
|
|
14645
|
+
provider: z.union([
|
|
14646
|
+
z.string(),
|
|
14647
|
+
z.null()
|
|
14648
|
+
]).optional(),
|
|
14649
|
+
default_branch: z.string().regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/).optional()
|
|
14650
|
+
}),
|
|
14651
|
+
path: z.object({
|
|
14652
|
+
organization_id_or_slug: z.string()
|
|
14653
|
+
}),
|
|
14654
|
+
query: z.never().optional()
|
|
14655
|
+
});
|
|
14656
|
+
var zBulkUpsertOrganizationCodeMappingsResponse = z.union([
|
|
14657
|
+
z.object({
|
|
14658
|
+
created: z.number().int(),
|
|
14659
|
+
updated: z.number().int(),
|
|
14660
|
+
errors: z.number().int(),
|
|
14661
|
+
mappings: z.array(z.object({
|
|
14662
|
+
stackRoot: z.string(),
|
|
14663
|
+
sourceRoot: z.string(),
|
|
14664
|
+
status: z.enum([
|
|
14665
|
+
"created",
|
|
14666
|
+
"updated",
|
|
14667
|
+
"error"
|
|
14668
|
+
]),
|
|
14669
|
+
detail: z.string().optional()
|
|
14670
|
+
}))
|
|
14671
|
+
}),
|
|
14672
|
+
z.object({
|
|
14673
|
+
created: z.number().int(),
|
|
14674
|
+
updated: z.number().int(),
|
|
14675
|
+
errors: z.number().int(),
|
|
14676
|
+
mappings: z.array(z.object({
|
|
14677
|
+
stackRoot: z.string(),
|
|
14678
|
+
sourceRoot: z.string(),
|
|
14679
|
+
status: z.enum([
|
|
14680
|
+
"created",
|
|
14681
|
+
"updated",
|
|
14682
|
+
"error"
|
|
14683
|
+
]),
|
|
14684
|
+
detail: z.string().optional()
|
|
14685
|
+
}))
|
|
14686
|
+
})
|
|
14687
|
+
]);
|
|
14584
14688
|
var zListOrganizationCodeownersAssociationsData = z.object({
|
|
14585
14689
|
body: z.never().optional(),
|
|
14586
14690
|
path: z.object({
|
|
@@ -35680,6 +35784,7 @@ export {
|
|
|
35680
35784
|
zMonitorValidator,
|
|
35681
35785
|
zMonitorList,
|
|
35682
35786
|
zMonitor,
|
|
35787
|
+
zMappingItem,
|
|
35683
35788
|
zListWorkflow,
|
|
35684
35789
|
zListTraceItemAttributesResponse,
|
|
35685
35790
|
zListTeamProjectsResponse,
|
|
@@ -36192,10 +36297,15 @@ export {
|
|
|
36192
36297
|
zCommitPatchSet,
|
|
36193
36298
|
zCommit,
|
|
36194
36299
|
zCheckInList,
|
|
36300
|
+
zBulkUpsertOrganizationCodeMappingsResponse,
|
|
36301
|
+
zBulkUpsertOrganizationCodeMappingsData,
|
|
36195
36302
|
zBulkUpdateProjectEnvironments,
|
|
36196
36303
|
zBulkUpdateMonitors,
|
|
36197
36304
|
zBulkUpdateAlerts,
|
|
36198
36305
|
zBulkEnvironment,
|
|
36306
|
+
zBulkCodeMappingsResponse,
|
|
36307
|
+
zBulkCodeMappingsRequest,
|
|
36308
|
+
zBulkCodeMappingsPartialResponse,
|
|
36199
36309
|
zBaseTeam,
|
|
36200
36310
|
zBaseDetectorTypeValidator,
|
|
36201
36311
|
zBaseDataConditionGroupValidator,
|