@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/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(),
|
|
@@ -8612,6 +8662,16 @@ var zOrganizationCodeMappingResponse = z.object({
|
|
|
8612
8662
|
automaticallyGenerated: z.boolean(),
|
|
8613
8663
|
hasCodeOwner: z.boolean()
|
|
8614
8664
|
});
|
|
8665
|
+
var zOrganizationCodeOwnersAssociationsResponse = z.record(z.object({
|
|
8666
|
+
associations: z.record(z.string()),
|
|
8667
|
+
errors: z.object({
|
|
8668
|
+
missing_user_emails: z.array(z.string()),
|
|
8669
|
+
missing_external_users: z.array(z.string()),
|
|
8670
|
+
missing_external_teams: z.array(z.string()),
|
|
8671
|
+
teams_without_access: z.array(z.string()),
|
|
8672
|
+
users_without_access: z.array(z.string())
|
|
8673
|
+
})
|
|
8674
|
+
}));
|
|
8615
8675
|
var zOrganizationConfigIntegrationsEndpointResponse = z.object({
|
|
8616
8676
|
providers: z.array(z.object({
|
|
8617
8677
|
key: z.string(),
|
|
@@ -9783,6 +9843,36 @@ var zOrganizationRelease = z.object({
|
|
|
9783
9843
|
]).optional()
|
|
9784
9844
|
})).optional()
|
|
9785
9845
|
});
|
|
9846
|
+
var zOrganizationRepositorySettingsResponse = z.array(z.object({
|
|
9847
|
+
url: z.union([
|
|
9848
|
+
z.string(),
|
|
9849
|
+
z.null()
|
|
9850
|
+
]).optional(),
|
|
9851
|
+
provider: z.record(z.string()).optional(),
|
|
9852
|
+
status: z.string().optional(),
|
|
9853
|
+
integrationId: z.union([
|
|
9854
|
+
z.string(),
|
|
9855
|
+
z.null()
|
|
9856
|
+
]).optional(),
|
|
9857
|
+
externalSlug: z.union([
|
|
9858
|
+
z.string(),
|
|
9859
|
+
z.null()
|
|
9860
|
+
]).optional(),
|
|
9861
|
+
externalId: z.union([
|
|
9862
|
+
z.string(),
|
|
9863
|
+
z.null()
|
|
9864
|
+
]).optional(),
|
|
9865
|
+
settings: z.union([
|
|
9866
|
+
z.object({
|
|
9867
|
+
enabledCodeReview: z.boolean(),
|
|
9868
|
+
codeReviewTriggers: z.array(z.string())
|
|
9869
|
+
}),
|
|
9870
|
+
z.null()
|
|
9871
|
+
]).optional(),
|
|
9872
|
+
id: z.string(),
|
|
9873
|
+
name: z.string(),
|
|
9874
|
+
dateCreated: z.string().datetime()
|
|
9875
|
+
}));
|
|
9786
9876
|
var zOrganizationSentryAppDetailsResponse = z.array(z.object({
|
|
9787
9877
|
allowedOrigins: z.array(z.string()),
|
|
9788
9878
|
avatars: z.array(z.object({
|
|
@@ -11683,6 +11773,11 @@ var zReplayDeletionJobCreateData = z.object({
|
|
|
11683
11773
|
z.null()
|
|
11684
11774
|
])
|
|
11685
11775
|
});
|
|
11776
|
+
var zRepositorySettings = z.object({
|
|
11777
|
+
repositoryIds: z.array(z.number().int()).max(1000),
|
|
11778
|
+
enabledCodeReview: z.boolean().optional(),
|
|
11779
|
+
codeReviewTriggers: z.array(z.enum(["on_new_commit", "on_ready_for_review"])).optional()
|
|
11780
|
+
});
|
|
11686
11781
|
var zRetrieveOrganizationAiConversationResponse = z.object({
|
|
11687
11782
|
conversationId: z.string(),
|
|
11688
11783
|
title: z.union([
|
|
@@ -14536,6 +14631,80 @@ var zCreateOrganizationCodeMappingResponse = z.object({
|
|
|
14536
14631
|
automaticallyGenerated: z.boolean(),
|
|
14537
14632
|
hasCodeOwner: z.boolean()
|
|
14538
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
|
+
]);
|
|
14688
|
+
var zListOrganizationCodeownersAssociationsData = z.object({
|
|
14689
|
+
body: z.never().optional(),
|
|
14690
|
+
path: z.object({
|
|
14691
|
+
organization_id_or_slug: z.string()
|
|
14692
|
+
}),
|
|
14693
|
+
query: z.object({
|
|
14694
|
+
project: z.array(z.string()).optional(),
|
|
14695
|
+
provider: z.string().optional()
|
|
14696
|
+
}).optional()
|
|
14697
|
+
});
|
|
14698
|
+
var zListOrganizationCodeownersAssociationsResponse = z.record(z.object({
|
|
14699
|
+
associations: z.record(z.string()),
|
|
14700
|
+
errors: z.object({
|
|
14701
|
+
missing_user_emails: z.array(z.string()),
|
|
14702
|
+
missing_external_users: z.array(z.string()),
|
|
14703
|
+
missing_external_teams: z.array(z.string()),
|
|
14704
|
+
teams_without_access: z.array(z.string()),
|
|
14705
|
+
users_without_access: z.array(z.string())
|
|
14706
|
+
})
|
|
14707
|
+
}));
|
|
14539
14708
|
var zGetOrganizationConfigIntegrationsData = z.object({
|
|
14540
14709
|
body: z.never().optional(),
|
|
14541
14710
|
path: z.object({
|
|
@@ -24341,6 +24510,47 @@ var zListOrganizationRepoCommitsResponse = z.array(z.object({
|
|
|
24341
24510
|
z.record(z.unknown())
|
|
24342
24511
|
]).optional()
|
|
24343
24512
|
}));
|
|
24513
|
+
var zUpdateOrganizationRepositorySettingsData = z.object({
|
|
24514
|
+
body: z.object({
|
|
24515
|
+
repositoryIds: z.array(z.number().int()).max(1000),
|
|
24516
|
+
enabledCodeReview: z.boolean().optional(),
|
|
24517
|
+
codeReviewTriggers: z.array(z.enum(["on_new_commit", "on_ready_for_review"])).optional()
|
|
24518
|
+
}),
|
|
24519
|
+
path: z.object({
|
|
24520
|
+
organization_id_or_slug: z.string()
|
|
24521
|
+
}),
|
|
24522
|
+
query: z.never().optional()
|
|
24523
|
+
});
|
|
24524
|
+
var zUpdateOrganizationRepositorySettingsResponse = z.array(z.object({
|
|
24525
|
+
url: z.union([
|
|
24526
|
+
z.string(),
|
|
24527
|
+
z.null()
|
|
24528
|
+
]).optional(),
|
|
24529
|
+
provider: z.record(z.string()).optional(),
|
|
24530
|
+
status: z.string().optional(),
|
|
24531
|
+
integrationId: z.union([
|
|
24532
|
+
z.string(),
|
|
24533
|
+
z.null()
|
|
24534
|
+
]).optional(),
|
|
24535
|
+
externalSlug: z.union([
|
|
24536
|
+
z.string(),
|
|
24537
|
+
z.null()
|
|
24538
|
+
]).optional(),
|
|
24539
|
+
externalId: z.union([
|
|
24540
|
+
z.string(),
|
|
24541
|
+
z.null()
|
|
24542
|
+
]).optional(),
|
|
24543
|
+
settings: z.union([
|
|
24544
|
+
z.object({
|
|
24545
|
+
enabledCodeReview: z.boolean(),
|
|
24546
|
+
codeReviewTriggers: z.array(z.string())
|
|
24547
|
+
}),
|
|
24548
|
+
z.null()
|
|
24549
|
+
]).optional(),
|
|
24550
|
+
id: z.string(),
|
|
24551
|
+
name: z.string(),
|
|
24552
|
+
dateCreated: z.string().datetime()
|
|
24553
|
+
}));
|
|
24344
24554
|
var zListOrganizationScimV2GroupsData = z.object({
|
|
24345
24555
|
body: z.never().optional(),
|
|
24346
24556
|
path: z.object({
|
|
@@ -35408,6 +35618,8 @@ export {
|
|
|
35408
35618
|
zUpdateOrganizationScimV2GroupResponse,
|
|
35409
35619
|
zUpdateOrganizationScimV2GroupData,
|
|
35410
35620
|
zUpdateOrganizationResponse,
|
|
35621
|
+
zUpdateOrganizationRepositorySettingsResponse,
|
|
35622
|
+
zUpdateOrganizationRepositorySettingsData,
|
|
35411
35623
|
zUpdateOrganizationReleaseResponse,
|
|
35412
35624
|
zUpdateOrganizationReleaseFileResponse,
|
|
35413
35625
|
zUpdateOrganizationReleaseFileData,
|
|
@@ -35493,6 +35705,7 @@ export {
|
|
|
35493
35705
|
zResolveOrganizationShortIdData,
|
|
35494
35706
|
zResolveOrganizationEventIdResponse,
|
|
35495
35707
|
zResolveOrganizationEventIdData,
|
|
35708
|
+
zRepositorySettings,
|
|
35496
35709
|
zReplayDeletionJobCreateData,
|
|
35497
35710
|
zReplayDeletionJobCreate,
|
|
35498
35711
|
zReplayCounts,
|
|
@@ -35540,6 +35753,7 @@ export {
|
|
|
35540
35753
|
zOrganizationSummary,
|
|
35541
35754
|
zOrganizationStatsSummaryResponse,
|
|
35542
35755
|
zOrganizationSentryAppDetailsResponse,
|
|
35756
|
+
zOrganizationRepositorySettingsResponse,
|
|
35543
35757
|
zOrganizationRelease,
|
|
35544
35758
|
zOrganizationRelayResponse,
|
|
35545
35759
|
zOrganizationProjectResponseDict,
|
|
@@ -35563,12 +35777,14 @@ export {
|
|
|
35563
35777
|
zOrganizationEnvironmentResponse,
|
|
35564
35778
|
zOrganizationDetailsPut,
|
|
35565
35779
|
zOrganizationConfigIntegrationsEndpointResponse,
|
|
35780
|
+
zOrganizationCodeOwnersAssociationsResponse,
|
|
35566
35781
|
zOrganizationCodeMappingResponse,
|
|
35567
35782
|
zOrgReleaseResponse,
|
|
35568
35783
|
zNotificationAction,
|
|
35569
35784
|
zMonitorValidator,
|
|
35570
35785
|
zMonitorList,
|
|
35571
35786
|
zMonitor,
|
|
35787
|
+
zMappingItem,
|
|
35572
35788
|
zListWorkflow,
|
|
35573
35789
|
zListTraceItemAttributesResponse,
|
|
35574
35790
|
zListTeamProjectsResponse,
|
|
@@ -35753,6 +35969,8 @@ export {
|
|
|
35753
35969
|
zListOrganizationDetectorsData,
|
|
35754
35970
|
zListOrganizationDashboardsResponse,
|
|
35755
35971
|
zListOrganizationDashboardsData,
|
|
35972
|
+
zListOrganizationCodeownersAssociationsResponse,
|
|
35973
|
+
zListOrganizationCodeownersAssociationsData,
|
|
35756
35974
|
zListOrganizationCodeMappingsResponse2,
|
|
35757
35975
|
zListOrganizationCodeMappingsResponse,
|
|
35758
35976
|
zListOrganizationCodeMappingsData,
|
|
@@ -36079,10 +36297,15 @@ export {
|
|
|
36079
36297
|
zCommitPatchSet,
|
|
36080
36298
|
zCommit,
|
|
36081
36299
|
zCheckInList,
|
|
36300
|
+
zBulkUpsertOrganizationCodeMappingsResponse,
|
|
36301
|
+
zBulkUpsertOrganizationCodeMappingsData,
|
|
36082
36302
|
zBulkUpdateProjectEnvironments,
|
|
36083
36303
|
zBulkUpdateMonitors,
|
|
36084
36304
|
zBulkUpdateAlerts,
|
|
36085
36305
|
zBulkEnvironment,
|
|
36306
|
+
zBulkCodeMappingsResponse,
|
|
36307
|
+
zBulkCodeMappingsRequest,
|
|
36308
|
+
zBulkCodeMappingsPartialResponse,
|
|
36086
36309
|
zBaseTeam,
|
|
36087
36310
|
zBaseDetectorTypeValidator,
|
|
36088
36311
|
zBaseDataConditionGroupValidator,
|