@sentry/api 0.374.0 → 0.376.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 +5 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +31 -0
- package/dist/pagination.gen.d.ts +13 -1
- package/dist/sdk.gen.d.ts +13 -1
- package/dist/sentry-client.gen.d.ts +87 -0
- package/dist/types.gen.d.ts +236 -2
- package/dist/valibot.gen.d.ts +127 -0
- package/dist/valibot.js +129 -0
- package/dist/zod.gen.d.ts +745 -292
- package/dist/zod.js +165 -0
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -1049,6 +1049,14 @@ var zCreateExternalIssueRequest = z.object({
|
|
|
1049
1049
|
title: z.string(),
|
|
1050
1050
|
description: z.string().optional()
|
|
1051
1051
|
});
|
|
1052
|
+
var zCreateOrganizationCodeMappingRequest = z.object({
|
|
1053
|
+
repository_id: z.number().int(),
|
|
1054
|
+
project_id: z.number().int(),
|
|
1055
|
+
stack_root: z.string().regex(/^[^\s'\"]+$/),
|
|
1056
|
+
source_root: z.string().regex(/^[^\s'\"]+$/),
|
|
1057
|
+
integration_id: z.number().int(),
|
|
1058
|
+
default_branch: z.string().regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/).optional()
|
|
1059
|
+
});
|
|
1052
1060
|
var zCreateOrganizationReleaseResponse = z.object({
|
|
1053
1061
|
ref: z.union([
|
|
1054
1062
|
z.string(),
|
|
@@ -5699,6 +5707,37 @@ var zListOrganizationClientKeysResponse = z.array(z.object({
|
|
|
5699
5707
|
}),
|
|
5700
5708
|
useCase: z.string().optional()
|
|
5701
5709
|
}));
|
|
5710
|
+
var zListOrganizationCodeMappingsResponse = z.array(z.object({
|
|
5711
|
+
id: z.string(),
|
|
5712
|
+
projectId: z.string(),
|
|
5713
|
+
projectSlug: z.string(),
|
|
5714
|
+
repoId: z.string(),
|
|
5715
|
+
repoName: z.string(),
|
|
5716
|
+
integrationId: z.union([
|
|
5717
|
+
z.string(),
|
|
5718
|
+
z.null()
|
|
5719
|
+
]),
|
|
5720
|
+
provider: z.union([
|
|
5721
|
+
z.object({
|
|
5722
|
+
key: z.string(),
|
|
5723
|
+
slug: z.string(),
|
|
5724
|
+
name: z.string(),
|
|
5725
|
+
canAdd: z.boolean(),
|
|
5726
|
+
canDisable: z.boolean(),
|
|
5727
|
+
features: z.array(z.string()),
|
|
5728
|
+
aspects: z.record(z.unknown())
|
|
5729
|
+
}),
|
|
5730
|
+
z.null()
|
|
5731
|
+
]),
|
|
5732
|
+
stackRoot: z.string(),
|
|
5733
|
+
sourceRoot: z.string(),
|
|
5734
|
+
defaultBranch: z.union([
|
|
5735
|
+
z.string(),
|
|
5736
|
+
z.null()
|
|
5737
|
+
]),
|
|
5738
|
+
automaticallyGenerated: z.boolean(),
|
|
5739
|
+
hasCodeOwner: z.boolean()
|
|
5740
|
+
}));
|
|
5702
5741
|
var zListOrganizationIntegrationResponse = z.array(z.object({
|
|
5703
5742
|
id: z.string(),
|
|
5704
5743
|
name: z.string(),
|
|
@@ -8542,6 +8581,37 @@ var zOrgReleaseResponse = z.object({
|
|
|
8542
8581
|
newGroups: z.number().int()
|
|
8543
8582
|
}))
|
|
8544
8583
|
});
|
|
8584
|
+
var zOrganizationCodeMappingResponse = z.object({
|
|
8585
|
+
id: z.string(),
|
|
8586
|
+
projectId: z.string(),
|
|
8587
|
+
projectSlug: z.string(),
|
|
8588
|
+
repoId: z.string(),
|
|
8589
|
+
repoName: z.string(),
|
|
8590
|
+
integrationId: z.union([
|
|
8591
|
+
z.string(),
|
|
8592
|
+
z.null()
|
|
8593
|
+
]),
|
|
8594
|
+
provider: z.union([
|
|
8595
|
+
z.object({
|
|
8596
|
+
key: z.string(),
|
|
8597
|
+
slug: z.string(),
|
|
8598
|
+
name: z.string(),
|
|
8599
|
+
canAdd: z.boolean(),
|
|
8600
|
+
canDisable: z.boolean(),
|
|
8601
|
+
features: z.array(z.string()),
|
|
8602
|
+
aspects: z.record(z.unknown())
|
|
8603
|
+
}),
|
|
8604
|
+
z.null()
|
|
8605
|
+
]),
|
|
8606
|
+
stackRoot: z.string(),
|
|
8607
|
+
sourceRoot: z.string(),
|
|
8608
|
+
defaultBranch: z.union([
|
|
8609
|
+
z.string(),
|
|
8610
|
+
z.null()
|
|
8611
|
+
]),
|
|
8612
|
+
automaticallyGenerated: z.boolean(),
|
|
8613
|
+
hasCodeOwner: z.boolean()
|
|
8614
|
+
});
|
|
8545
8615
|
var zOrganizationConfigIntegrationsEndpointResponse = z.object({
|
|
8546
8616
|
providers: z.array(z.object({
|
|
8547
8617
|
key: z.string(),
|
|
@@ -14378,6 +14448,94 @@ var zRetrieveOrganizationAiConversationResponse2 = z.object({
|
|
|
14378
14448
|
z.null()
|
|
14379
14449
|
])
|
|
14380
14450
|
});
|
|
14451
|
+
var zListOrganizationCodeMappingsData = z.object({
|
|
14452
|
+
body: z.never().optional(),
|
|
14453
|
+
path: z.object({
|
|
14454
|
+
organization_id_or_slug: z.string()
|
|
14455
|
+
}),
|
|
14456
|
+
query: z.object({
|
|
14457
|
+
integrationId: z.string().optional(),
|
|
14458
|
+
project: z.array(z.string()).optional(),
|
|
14459
|
+
cursor: z.string().min(1).optional(),
|
|
14460
|
+
per_page: z.number().int().optional()
|
|
14461
|
+
}).optional()
|
|
14462
|
+
});
|
|
14463
|
+
var zListOrganizationCodeMappingsResponse2 = z.array(z.object({
|
|
14464
|
+
id: z.string(),
|
|
14465
|
+
projectId: z.string(),
|
|
14466
|
+
projectSlug: z.string(),
|
|
14467
|
+
repoId: z.string(),
|
|
14468
|
+
repoName: z.string(),
|
|
14469
|
+
integrationId: z.union([
|
|
14470
|
+
z.string(),
|
|
14471
|
+
z.null()
|
|
14472
|
+
]),
|
|
14473
|
+
provider: z.union([
|
|
14474
|
+
z.object({
|
|
14475
|
+
key: z.string(),
|
|
14476
|
+
slug: z.string(),
|
|
14477
|
+
name: z.string(),
|
|
14478
|
+
canAdd: z.boolean(),
|
|
14479
|
+
canDisable: z.boolean(),
|
|
14480
|
+
features: z.array(z.string()),
|
|
14481
|
+
aspects: z.record(z.unknown())
|
|
14482
|
+
}),
|
|
14483
|
+
z.null()
|
|
14484
|
+
]),
|
|
14485
|
+
stackRoot: z.string(),
|
|
14486
|
+
sourceRoot: z.string(),
|
|
14487
|
+
defaultBranch: z.union([
|
|
14488
|
+
z.string(),
|
|
14489
|
+
z.null()
|
|
14490
|
+
]),
|
|
14491
|
+
automaticallyGenerated: z.boolean(),
|
|
14492
|
+
hasCodeOwner: z.boolean()
|
|
14493
|
+
}));
|
|
14494
|
+
var zCreateOrganizationCodeMappingData = z.object({
|
|
14495
|
+
body: z.object({
|
|
14496
|
+
repository_id: z.number().int(),
|
|
14497
|
+
project_id: z.number().int(),
|
|
14498
|
+
stack_root: z.string().regex(/^[^\s'\"]+$/),
|
|
14499
|
+
source_root: z.string().regex(/^[^\s'\"]+$/),
|
|
14500
|
+
integration_id: z.number().int(),
|
|
14501
|
+
default_branch: z.string().regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/).optional()
|
|
14502
|
+
}),
|
|
14503
|
+
path: z.object({
|
|
14504
|
+
organization_id_or_slug: z.string()
|
|
14505
|
+
}),
|
|
14506
|
+
query: z.never().optional()
|
|
14507
|
+
});
|
|
14508
|
+
var zCreateOrganizationCodeMappingResponse = z.object({
|
|
14509
|
+
id: z.string(),
|
|
14510
|
+
projectId: z.string(),
|
|
14511
|
+
projectSlug: z.string(),
|
|
14512
|
+
repoId: z.string(),
|
|
14513
|
+
repoName: z.string(),
|
|
14514
|
+
integrationId: z.union([
|
|
14515
|
+
z.string(),
|
|
14516
|
+
z.null()
|
|
14517
|
+
]),
|
|
14518
|
+
provider: z.union([
|
|
14519
|
+
z.object({
|
|
14520
|
+
key: z.string(),
|
|
14521
|
+
slug: z.string(),
|
|
14522
|
+
name: z.string(),
|
|
14523
|
+
canAdd: z.boolean(),
|
|
14524
|
+
canDisable: z.boolean(),
|
|
14525
|
+
features: z.array(z.string()),
|
|
14526
|
+
aspects: z.record(z.unknown())
|
|
14527
|
+
}),
|
|
14528
|
+
z.null()
|
|
14529
|
+
]),
|
|
14530
|
+
stackRoot: z.string(),
|
|
14531
|
+
sourceRoot: z.string(),
|
|
14532
|
+
defaultBranch: z.union([
|
|
14533
|
+
z.string(),
|
|
14534
|
+
z.null()
|
|
14535
|
+
]),
|
|
14536
|
+
automaticallyGenerated: z.boolean(),
|
|
14537
|
+
hasCodeOwner: z.boolean()
|
|
14538
|
+
});
|
|
14381
14539
|
var zGetOrganizationConfigIntegrationsData = z.object({
|
|
14382
14540
|
body: z.never().optional(),
|
|
14383
14541
|
path: z.object({
|
|
@@ -35405,6 +35563,7 @@ export {
|
|
|
35405
35563
|
zOrganizationEnvironmentResponse,
|
|
35406
35564
|
zOrganizationDetailsPut,
|
|
35407
35565
|
zOrganizationConfigIntegrationsEndpointResponse,
|
|
35566
|
+
zOrganizationCodeMappingResponse,
|
|
35408
35567
|
zOrgReleaseResponse,
|
|
35409
35568
|
zNotificationAction,
|
|
35410
35569
|
zMonitorValidator,
|
|
@@ -35594,6 +35753,9 @@ export {
|
|
|
35594
35753
|
zListOrganizationDetectorsData,
|
|
35595
35754
|
zListOrganizationDashboardsResponse,
|
|
35596
35755
|
zListOrganizationDashboardsData,
|
|
35756
|
+
zListOrganizationCodeMappingsResponse2,
|
|
35757
|
+
zListOrganizationCodeMappingsResponse,
|
|
35758
|
+
zListOrganizationCodeMappingsData,
|
|
35597
35759
|
zListOrganizationClientKeysResponse,
|
|
35598
35760
|
zListOrganizationAiConversationsResponse2,
|
|
35599
35761
|
zListOrganizationAiConversationsResponse,
|
|
@@ -35908,6 +36070,9 @@ export {
|
|
|
35908
36070
|
zCreateOrganizationDiscoverSavedQueryData,
|
|
35909
36071
|
zCreateOrganizationDashboardResponse,
|
|
35910
36072
|
zCreateOrganizationDashboardData,
|
|
36073
|
+
zCreateOrganizationCodeMappingResponse,
|
|
36074
|
+
zCreateOrganizationCodeMappingRequest,
|
|
36075
|
+
zCreateOrganizationCodeMappingData,
|
|
35911
36076
|
zCreateExternalIssueRequest,
|
|
35912
36077
|
zConfigValidator,
|
|
35913
36078
|
zCommitSerializerResponse,
|