@sentry/api 0.375.0 → 0.377.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 +9 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +53 -0
- package/dist/pagination.gen.d.ts +13 -1
- package/dist/sdk.gen.d.ts +25 -1
- package/dist/sentry-client.gen.d.ts +99 -0
- package/dist/types.gen.d.ts +392 -0
- package/dist/valibot.gen.d.ts +203 -0
- package/dist/valibot.js +212 -0
- package/dist/zod.gen.d.ts +1252 -527
- package/dist/zod.js +278 -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,47 @@ 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
|
+
});
|
|
8615
|
+
var zOrganizationCodeOwnersAssociationsResponse = z.record(z.object({
|
|
8616
|
+
associations: z.record(z.string()),
|
|
8617
|
+
errors: z.object({
|
|
8618
|
+
missing_user_emails: z.array(z.string()),
|
|
8619
|
+
missing_external_users: z.array(z.string()),
|
|
8620
|
+
missing_external_teams: z.array(z.string()),
|
|
8621
|
+
teams_without_access: z.array(z.string()),
|
|
8622
|
+
users_without_access: z.array(z.string())
|
|
8623
|
+
})
|
|
8624
|
+
}));
|
|
8545
8625
|
var zOrganizationConfigIntegrationsEndpointResponse = z.object({
|
|
8546
8626
|
providers: z.array(z.object({
|
|
8547
8627
|
key: z.string(),
|
|
@@ -9713,6 +9793,36 @@ var zOrganizationRelease = z.object({
|
|
|
9713
9793
|
]).optional()
|
|
9714
9794
|
})).optional()
|
|
9715
9795
|
});
|
|
9796
|
+
var zOrganizationRepositorySettingsResponse = z.array(z.object({
|
|
9797
|
+
url: z.union([
|
|
9798
|
+
z.string(),
|
|
9799
|
+
z.null()
|
|
9800
|
+
]).optional(),
|
|
9801
|
+
provider: z.record(z.string()).optional(),
|
|
9802
|
+
status: z.string().optional(),
|
|
9803
|
+
integrationId: z.union([
|
|
9804
|
+
z.string(),
|
|
9805
|
+
z.null()
|
|
9806
|
+
]).optional(),
|
|
9807
|
+
externalSlug: z.union([
|
|
9808
|
+
z.string(),
|
|
9809
|
+
z.null()
|
|
9810
|
+
]).optional(),
|
|
9811
|
+
externalId: z.union([
|
|
9812
|
+
z.string(),
|
|
9813
|
+
z.null()
|
|
9814
|
+
]).optional(),
|
|
9815
|
+
settings: z.union([
|
|
9816
|
+
z.object({
|
|
9817
|
+
enabledCodeReview: z.boolean(),
|
|
9818
|
+
codeReviewTriggers: z.array(z.string())
|
|
9819
|
+
}),
|
|
9820
|
+
z.null()
|
|
9821
|
+
]).optional(),
|
|
9822
|
+
id: z.string(),
|
|
9823
|
+
name: z.string(),
|
|
9824
|
+
dateCreated: z.string().datetime()
|
|
9825
|
+
}));
|
|
9716
9826
|
var zOrganizationSentryAppDetailsResponse = z.array(z.object({
|
|
9717
9827
|
allowedOrigins: z.array(z.string()),
|
|
9718
9828
|
avatars: z.array(z.object({
|
|
@@ -11613,6 +11723,11 @@ var zReplayDeletionJobCreateData = z.object({
|
|
|
11613
11723
|
z.null()
|
|
11614
11724
|
])
|
|
11615
11725
|
});
|
|
11726
|
+
var zRepositorySettings = z.object({
|
|
11727
|
+
repositoryIds: z.array(z.number().int()).max(1000),
|
|
11728
|
+
enabledCodeReview: z.boolean().optional(),
|
|
11729
|
+
codeReviewTriggers: z.array(z.enum(["on_new_commit", "on_ready_for_review"])).optional()
|
|
11730
|
+
});
|
|
11616
11731
|
var zRetrieveOrganizationAiConversationResponse = z.object({
|
|
11617
11732
|
conversationId: z.string(),
|
|
11618
11733
|
title: z.union([
|
|
@@ -14378,6 +14493,114 @@ var zRetrieveOrganizationAiConversationResponse2 = z.object({
|
|
|
14378
14493
|
z.null()
|
|
14379
14494
|
])
|
|
14380
14495
|
});
|
|
14496
|
+
var zListOrganizationCodeMappingsData = z.object({
|
|
14497
|
+
body: z.never().optional(),
|
|
14498
|
+
path: z.object({
|
|
14499
|
+
organization_id_or_slug: z.string()
|
|
14500
|
+
}),
|
|
14501
|
+
query: z.object({
|
|
14502
|
+
integrationId: z.string().optional(),
|
|
14503
|
+
project: z.array(z.string()).optional(),
|
|
14504
|
+
cursor: z.string().min(1).optional(),
|
|
14505
|
+
per_page: z.number().int().optional()
|
|
14506
|
+
}).optional()
|
|
14507
|
+
});
|
|
14508
|
+
var zListOrganizationCodeMappingsResponse2 = z.array(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
|
+
}));
|
|
14539
|
+
var zCreateOrganizationCodeMappingData = z.object({
|
|
14540
|
+
body: z.object({
|
|
14541
|
+
repository_id: z.number().int(),
|
|
14542
|
+
project_id: z.number().int(),
|
|
14543
|
+
stack_root: z.string().regex(/^[^\s'\"]+$/),
|
|
14544
|
+
source_root: z.string().regex(/^[^\s'\"]+$/),
|
|
14545
|
+
integration_id: z.number().int(),
|
|
14546
|
+
default_branch: z.string().regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/).optional()
|
|
14547
|
+
}),
|
|
14548
|
+
path: z.object({
|
|
14549
|
+
organization_id_or_slug: z.string()
|
|
14550
|
+
}),
|
|
14551
|
+
query: z.never().optional()
|
|
14552
|
+
});
|
|
14553
|
+
var zCreateOrganizationCodeMappingResponse = z.object({
|
|
14554
|
+
id: z.string(),
|
|
14555
|
+
projectId: z.string(),
|
|
14556
|
+
projectSlug: z.string(),
|
|
14557
|
+
repoId: z.string(),
|
|
14558
|
+
repoName: z.string(),
|
|
14559
|
+
integrationId: z.union([
|
|
14560
|
+
z.string(),
|
|
14561
|
+
z.null()
|
|
14562
|
+
]),
|
|
14563
|
+
provider: z.union([
|
|
14564
|
+
z.object({
|
|
14565
|
+
key: z.string(),
|
|
14566
|
+
slug: z.string(),
|
|
14567
|
+
name: z.string(),
|
|
14568
|
+
canAdd: z.boolean(),
|
|
14569
|
+
canDisable: z.boolean(),
|
|
14570
|
+
features: z.array(z.string()),
|
|
14571
|
+
aspects: z.record(z.unknown())
|
|
14572
|
+
}),
|
|
14573
|
+
z.null()
|
|
14574
|
+
]),
|
|
14575
|
+
stackRoot: z.string(),
|
|
14576
|
+
sourceRoot: z.string(),
|
|
14577
|
+
defaultBranch: z.union([
|
|
14578
|
+
z.string(),
|
|
14579
|
+
z.null()
|
|
14580
|
+
]),
|
|
14581
|
+
automaticallyGenerated: z.boolean(),
|
|
14582
|
+
hasCodeOwner: z.boolean()
|
|
14583
|
+
});
|
|
14584
|
+
var zListOrganizationCodeownersAssociationsData = z.object({
|
|
14585
|
+
body: z.never().optional(),
|
|
14586
|
+
path: z.object({
|
|
14587
|
+
organization_id_or_slug: z.string()
|
|
14588
|
+
}),
|
|
14589
|
+
query: z.object({
|
|
14590
|
+
project: z.array(z.string()).optional(),
|
|
14591
|
+
provider: z.string().optional()
|
|
14592
|
+
}).optional()
|
|
14593
|
+
});
|
|
14594
|
+
var zListOrganizationCodeownersAssociationsResponse = z.record(z.object({
|
|
14595
|
+
associations: z.record(z.string()),
|
|
14596
|
+
errors: z.object({
|
|
14597
|
+
missing_user_emails: z.array(z.string()),
|
|
14598
|
+
missing_external_users: z.array(z.string()),
|
|
14599
|
+
missing_external_teams: z.array(z.string()),
|
|
14600
|
+
teams_without_access: z.array(z.string()),
|
|
14601
|
+
users_without_access: z.array(z.string())
|
|
14602
|
+
})
|
|
14603
|
+
}));
|
|
14381
14604
|
var zGetOrganizationConfigIntegrationsData = z.object({
|
|
14382
14605
|
body: z.never().optional(),
|
|
14383
14606
|
path: z.object({
|
|
@@ -24183,6 +24406,47 @@ var zListOrganizationRepoCommitsResponse = z.array(z.object({
|
|
|
24183
24406
|
z.record(z.unknown())
|
|
24184
24407
|
]).optional()
|
|
24185
24408
|
}));
|
|
24409
|
+
var zUpdateOrganizationRepositorySettingsData = z.object({
|
|
24410
|
+
body: z.object({
|
|
24411
|
+
repositoryIds: z.array(z.number().int()).max(1000),
|
|
24412
|
+
enabledCodeReview: z.boolean().optional(),
|
|
24413
|
+
codeReviewTriggers: z.array(z.enum(["on_new_commit", "on_ready_for_review"])).optional()
|
|
24414
|
+
}),
|
|
24415
|
+
path: z.object({
|
|
24416
|
+
organization_id_or_slug: z.string()
|
|
24417
|
+
}),
|
|
24418
|
+
query: z.never().optional()
|
|
24419
|
+
});
|
|
24420
|
+
var zUpdateOrganizationRepositorySettingsResponse = z.array(z.object({
|
|
24421
|
+
url: z.union([
|
|
24422
|
+
z.string(),
|
|
24423
|
+
z.null()
|
|
24424
|
+
]).optional(),
|
|
24425
|
+
provider: z.record(z.string()).optional(),
|
|
24426
|
+
status: z.string().optional(),
|
|
24427
|
+
integrationId: z.union([
|
|
24428
|
+
z.string(),
|
|
24429
|
+
z.null()
|
|
24430
|
+
]).optional(),
|
|
24431
|
+
externalSlug: z.union([
|
|
24432
|
+
z.string(),
|
|
24433
|
+
z.null()
|
|
24434
|
+
]).optional(),
|
|
24435
|
+
externalId: z.union([
|
|
24436
|
+
z.string(),
|
|
24437
|
+
z.null()
|
|
24438
|
+
]).optional(),
|
|
24439
|
+
settings: z.union([
|
|
24440
|
+
z.object({
|
|
24441
|
+
enabledCodeReview: z.boolean(),
|
|
24442
|
+
codeReviewTriggers: z.array(z.string())
|
|
24443
|
+
}),
|
|
24444
|
+
z.null()
|
|
24445
|
+
]).optional(),
|
|
24446
|
+
id: z.string(),
|
|
24447
|
+
name: z.string(),
|
|
24448
|
+
dateCreated: z.string().datetime()
|
|
24449
|
+
}));
|
|
24186
24450
|
var zListOrganizationScimV2GroupsData = z.object({
|
|
24187
24451
|
body: z.never().optional(),
|
|
24188
24452
|
path: z.object({
|
|
@@ -35250,6 +35514,8 @@ export {
|
|
|
35250
35514
|
zUpdateOrganizationScimV2GroupResponse,
|
|
35251
35515
|
zUpdateOrganizationScimV2GroupData,
|
|
35252
35516
|
zUpdateOrganizationResponse,
|
|
35517
|
+
zUpdateOrganizationRepositorySettingsResponse,
|
|
35518
|
+
zUpdateOrganizationRepositorySettingsData,
|
|
35253
35519
|
zUpdateOrganizationReleaseResponse,
|
|
35254
35520
|
zUpdateOrganizationReleaseFileResponse,
|
|
35255
35521
|
zUpdateOrganizationReleaseFileData,
|
|
@@ -35335,6 +35601,7 @@ export {
|
|
|
35335
35601
|
zResolveOrganizationShortIdData,
|
|
35336
35602
|
zResolveOrganizationEventIdResponse,
|
|
35337
35603
|
zResolveOrganizationEventIdData,
|
|
35604
|
+
zRepositorySettings,
|
|
35338
35605
|
zReplayDeletionJobCreateData,
|
|
35339
35606
|
zReplayDeletionJobCreate,
|
|
35340
35607
|
zReplayCounts,
|
|
@@ -35382,6 +35649,7 @@ export {
|
|
|
35382
35649
|
zOrganizationSummary,
|
|
35383
35650
|
zOrganizationStatsSummaryResponse,
|
|
35384
35651
|
zOrganizationSentryAppDetailsResponse,
|
|
35652
|
+
zOrganizationRepositorySettingsResponse,
|
|
35385
35653
|
zOrganizationRelease,
|
|
35386
35654
|
zOrganizationRelayResponse,
|
|
35387
35655
|
zOrganizationProjectResponseDict,
|
|
@@ -35405,6 +35673,8 @@ export {
|
|
|
35405
35673
|
zOrganizationEnvironmentResponse,
|
|
35406
35674
|
zOrganizationDetailsPut,
|
|
35407
35675
|
zOrganizationConfigIntegrationsEndpointResponse,
|
|
35676
|
+
zOrganizationCodeOwnersAssociationsResponse,
|
|
35677
|
+
zOrganizationCodeMappingResponse,
|
|
35408
35678
|
zOrgReleaseResponse,
|
|
35409
35679
|
zNotificationAction,
|
|
35410
35680
|
zMonitorValidator,
|
|
@@ -35594,6 +35864,11 @@ export {
|
|
|
35594
35864
|
zListOrganizationDetectorsData,
|
|
35595
35865
|
zListOrganizationDashboardsResponse,
|
|
35596
35866
|
zListOrganizationDashboardsData,
|
|
35867
|
+
zListOrganizationCodeownersAssociationsResponse,
|
|
35868
|
+
zListOrganizationCodeownersAssociationsData,
|
|
35869
|
+
zListOrganizationCodeMappingsResponse2,
|
|
35870
|
+
zListOrganizationCodeMappingsResponse,
|
|
35871
|
+
zListOrganizationCodeMappingsData,
|
|
35597
35872
|
zListOrganizationClientKeysResponse,
|
|
35598
35873
|
zListOrganizationAiConversationsResponse2,
|
|
35599
35874
|
zListOrganizationAiConversationsResponse,
|
|
@@ -35908,6 +36183,9 @@ export {
|
|
|
35908
36183
|
zCreateOrganizationDiscoverSavedQueryData,
|
|
35909
36184
|
zCreateOrganizationDashboardResponse,
|
|
35910
36185
|
zCreateOrganizationDashboardData,
|
|
36186
|
+
zCreateOrganizationCodeMappingResponse,
|
|
36187
|
+
zCreateOrganizationCodeMappingRequest,
|
|
36188
|
+
zCreateOrganizationCodeMappingData,
|
|
35911
36189
|
zCreateExternalIssueRequest,
|
|
35912
36190
|
zConfigValidator,
|
|
35913
36191
|
zCommitSerializerResponse,
|