@sentry/api 0.390.0 → 0.391.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 +22 -0
- package/dist/sdk.gen.d.ts +15 -1
- package/dist/sentry-client.gen.d.ts +14 -0
- package/dist/types.gen.d.ts +153 -0
- package/dist/valibot.gen.d.ts +60 -0
- package/dist/valibot.js +57 -0
- package/dist/zod.gen.d.ts +194 -0
- package/dist/zod.js +66 -0
- package/package.json +1 -1
package/dist/zod.gen.d.ts
CHANGED
|
@@ -29542,6 +29542,30 @@ export declare const zReplayDeletionJobCreateData: z.ZodObject<{
|
|
|
29542
29542
|
rangeStart: string;
|
|
29543
29543
|
rangeEnd: string;
|
|
29544
29544
|
}>;
|
|
29545
|
+
/**
|
|
29546
|
+
* Allows parameters to be defined in snake case, but passed as camel case.
|
|
29547
|
+
*
|
|
29548
|
+
* Errors are output in camel case.
|
|
29549
|
+
*/
|
|
29550
|
+
export declare const zRepositoryProjectPathConfig: z.ZodObject<{
|
|
29551
|
+
repository_id: z.ZodNumber;
|
|
29552
|
+
project_id: z.ZodNumber;
|
|
29553
|
+
stack_root: z.ZodString;
|
|
29554
|
+
source_root: z.ZodString;
|
|
29555
|
+
default_branch: z.ZodOptional<z.ZodString>;
|
|
29556
|
+
}, "strip", z.ZodTypeAny, {
|
|
29557
|
+
project_id: number;
|
|
29558
|
+
stack_root: string;
|
|
29559
|
+
source_root: string;
|
|
29560
|
+
repository_id: number;
|
|
29561
|
+
default_branch?: string | undefined;
|
|
29562
|
+
}, {
|
|
29563
|
+
project_id: number;
|
|
29564
|
+
stack_root: string;
|
|
29565
|
+
source_root: string;
|
|
29566
|
+
repository_id: number;
|
|
29567
|
+
default_branch?: string | undefined;
|
|
29568
|
+
}>;
|
|
29545
29569
|
export declare const zRepositorySettings: z.ZodObject<{
|
|
29546
29570
|
repositoryIds: z.ZodArray<z.ZodNumber, "many">;
|
|
29547
29571
|
enabledCodeReview: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -38243,6 +38267,176 @@ export declare const zCreateOrganizationCodeMappingResponse: z.ZodObject<{
|
|
|
38243
38267
|
automaticallyGenerated: boolean;
|
|
38244
38268
|
hasCodeOwner: boolean;
|
|
38245
38269
|
}>;
|
|
38270
|
+
export declare const zDeleteOrganizationCodeMappingData: z.ZodObject<{
|
|
38271
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
38272
|
+
path: z.ZodObject<{
|
|
38273
|
+
organization_id_or_slug: z.ZodString;
|
|
38274
|
+
config_id: z.ZodNumber;
|
|
38275
|
+
}, "strip", z.ZodTypeAny, {
|
|
38276
|
+
organization_id_or_slug: string;
|
|
38277
|
+
config_id: number;
|
|
38278
|
+
}, {
|
|
38279
|
+
organization_id_or_slug: string;
|
|
38280
|
+
config_id: number;
|
|
38281
|
+
}>;
|
|
38282
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
38283
|
+
}, "strip", z.ZodTypeAny, {
|
|
38284
|
+
path: {
|
|
38285
|
+
organization_id_or_slug: string;
|
|
38286
|
+
config_id: number;
|
|
38287
|
+
};
|
|
38288
|
+
query?: undefined;
|
|
38289
|
+
body?: undefined;
|
|
38290
|
+
}, {
|
|
38291
|
+
path: {
|
|
38292
|
+
organization_id_or_slug: string;
|
|
38293
|
+
config_id: number;
|
|
38294
|
+
};
|
|
38295
|
+
query?: undefined;
|
|
38296
|
+
body?: undefined;
|
|
38297
|
+
}>;
|
|
38298
|
+
/**
|
|
38299
|
+
* No Content
|
|
38300
|
+
*/
|
|
38301
|
+
export declare const zDeleteOrganizationCodeMappingResponse: z.ZodVoid;
|
|
38302
|
+
export declare const zUpdateOrganizationCodeMappingData: z.ZodObject<{
|
|
38303
|
+
body: z.ZodObject<{
|
|
38304
|
+
repository_id: z.ZodNumber;
|
|
38305
|
+
project_id: z.ZodNumber;
|
|
38306
|
+
stack_root: z.ZodString;
|
|
38307
|
+
source_root: z.ZodString;
|
|
38308
|
+
default_branch: z.ZodOptional<z.ZodString>;
|
|
38309
|
+
}, "strip", z.ZodTypeAny, {
|
|
38310
|
+
project_id: number;
|
|
38311
|
+
stack_root: string;
|
|
38312
|
+
source_root: string;
|
|
38313
|
+
repository_id: number;
|
|
38314
|
+
default_branch?: string | undefined;
|
|
38315
|
+
}, {
|
|
38316
|
+
project_id: number;
|
|
38317
|
+
stack_root: string;
|
|
38318
|
+
source_root: string;
|
|
38319
|
+
repository_id: number;
|
|
38320
|
+
default_branch?: string | undefined;
|
|
38321
|
+
}>;
|
|
38322
|
+
path: z.ZodObject<{
|
|
38323
|
+
organization_id_or_slug: z.ZodString;
|
|
38324
|
+
config_id: z.ZodNumber;
|
|
38325
|
+
}, "strip", z.ZodTypeAny, {
|
|
38326
|
+
organization_id_or_slug: string;
|
|
38327
|
+
config_id: number;
|
|
38328
|
+
}, {
|
|
38329
|
+
organization_id_or_slug: string;
|
|
38330
|
+
config_id: number;
|
|
38331
|
+
}>;
|
|
38332
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
38333
|
+
}, "strip", z.ZodTypeAny, {
|
|
38334
|
+
body: {
|
|
38335
|
+
project_id: number;
|
|
38336
|
+
stack_root: string;
|
|
38337
|
+
source_root: string;
|
|
38338
|
+
repository_id: number;
|
|
38339
|
+
default_branch?: string | undefined;
|
|
38340
|
+
};
|
|
38341
|
+
path: {
|
|
38342
|
+
organization_id_or_slug: string;
|
|
38343
|
+
config_id: number;
|
|
38344
|
+
};
|
|
38345
|
+
query?: undefined;
|
|
38346
|
+
}, {
|
|
38347
|
+
body: {
|
|
38348
|
+
project_id: number;
|
|
38349
|
+
stack_root: string;
|
|
38350
|
+
source_root: string;
|
|
38351
|
+
repository_id: number;
|
|
38352
|
+
default_branch?: string | undefined;
|
|
38353
|
+
};
|
|
38354
|
+
path: {
|
|
38355
|
+
organization_id_or_slug: string;
|
|
38356
|
+
config_id: number;
|
|
38357
|
+
};
|
|
38358
|
+
query?: undefined;
|
|
38359
|
+
}>;
|
|
38360
|
+
export declare const zUpdateOrganizationCodeMappingResponse: z.ZodObject<{
|
|
38361
|
+
id: z.ZodString;
|
|
38362
|
+
projectId: z.ZodString;
|
|
38363
|
+
projectSlug: z.ZodString;
|
|
38364
|
+
repoId: z.ZodString;
|
|
38365
|
+
repoName: z.ZodString;
|
|
38366
|
+
integrationId: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
38367
|
+
provider: z.ZodUnion<[z.ZodObject<{
|
|
38368
|
+
key: z.ZodString;
|
|
38369
|
+
slug: z.ZodString;
|
|
38370
|
+
name: z.ZodString;
|
|
38371
|
+
canAdd: z.ZodBoolean;
|
|
38372
|
+
canDisable: z.ZodBoolean;
|
|
38373
|
+
features: z.ZodArray<z.ZodString, "many">;
|
|
38374
|
+
aspects: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
38375
|
+
}, "strip", z.ZodTypeAny, {
|
|
38376
|
+
name: string;
|
|
38377
|
+
key: string;
|
|
38378
|
+
features: string[];
|
|
38379
|
+
slug: string;
|
|
38380
|
+
aspects: Record<string, unknown>;
|
|
38381
|
+
canAdd: boolean;
|
|
38382
|
+
canDisable: boolean;
|
|
38383
|
+
}, {
|
|
38384
|
+
name: string;
|
|
38385
|
+
key: string;
|
|
38386
|
+
features: string[];
|
|
38387
|
+
slug: string;
|
|
38388
|
+
aspects: Record<string, unknown>;
|
|
38389
|
+
canAdd: boolean;
|
|
38390
|
+
canDisable: boolean;
|
|
38391
|
+
}>, z.ZodNull]>;
|
|
38392
|
+
stackRoot: z.ZodString;
|
|
38393
|
+
sourceRoot: z.ZodString;
|
|
38394
|
+
defaultBranch: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
38395
|
+
automaticallyGenerated: z.ZodBoolean;
|
|
38396
|
+
hasCodeOwner: z.ZodBoolean;
|
|
38397
|
+
}, "strip", z.ZodTypeAny, {
|
|
38398
|
+
id: string;
|
|
38399
|
+
integrationId: string | null;
|
|
38400
|
+
provider: {
|
|
38401
|
+
name: string;
|
|
38402
|
+
key: string;
|
|
38403
|
+
features: string[];
|
|
38404
|
+
slug: string;
|
|
38405
|
+
aspects: Record<string, unknown>;
|
|
38406
|
+
canAdd: boolean;
|
|
38407
|
+
canDisable: boolean;
|
|
38408
|
+
} | null;
|
|
38409
|
+
projectSlug: string;
|
|
38410
|
+
projectId: string;
|
|
38411
|
+
stackRoot: string;
|
|
38412
|
+
sourceRoot: string;
|
|
38413
|
+
defaultBranch: string | null;
|
|
38414
|
+
repoId: string;
|
|
38415
|
+
repoName: string;
|
|
38416
|
+
automaticallyGenerated: boolean;
|
|
38417
|
+
hasCodeOwner: boolean;
|
|
38418
|
+
}, {
|
|
38419
|
+
id: string;
|
|
38420
|
+
integrationId: string | null;
|
|
38421
|
+
provider: {
|
|
38422
|
+
name: string;
|
|
38423
|
+
key: string;
|
|
38424
|
+
features: string[];
|
|
38425
|
+
slug: string;
|
|
38426
|
+
aspects: Record<string, unknown>;
|
|
38427
|
+
canAdd: boolean;
|
|
38428
|
+
canDisable: boolean;
|
|
38429
|
+
} | null;
|
|
38430
|
+
projectSlug: string;
|
|
38431
|
+
projectId: string;
|
|
38432
|
+
stackRoot: string;
|
|
38433
|
+
sourceRoot: string;
|
|
38434
|
+
defaultBranch: string | null;
|
|
38435
|
+
repoId: string;
|
|
38436
|
+
repoName: string;
|
|
38437
|
+
automaticallyGenerated: boolean;
|
|
38438
|
+
hasCodeOwner: boolean;
|
|
38439
|
+
}>;
|
|
38246
38440
|
export declare const zBulkUpsertOrganizationCodeMappingsData: z.ZodObject<{
|
|
38247
38441
|
body: z.ZodObject<{
|
|
38248
38442
|
project: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
package/dist/zod.js
CHANGED
|
@@ -11805,6 +11805,13 @@ var zReplayDeletionJobCreateData = z.object({
|
|
|
11805
11805
|
z.null()
|
|
11806
11806
|
])
|
|
11807
11807
|
});
|
|
11808
|
+
var zRepositoryProjectPathConfig = z.object({
|
|
11809
|
+
repository_id: z.number().int(),
|
|
11810
|
+
project_id: z.number().int(),
|
|
11811
|
+
stack_root: z.string().regex(/^[^\s'\"]+$/),
|
|
11812
|
+
source_root: z.string().regex(/^[^\s'\"]+$/),
|
|
11813
|
+
default_branch: z.string().regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/).optional()
|
|
11814
|
+
});
|
|
11808
11815
|
var zRepositorySettings = z.object({
|
|
11809
11816
|
repositoryIds: z.array(z.number().int()).max(1000),
|
|
11810
11817
|
enabledCodeReview: z.boolean().optional(),
|
|
@@ -14685,6 +14692,60 @@ var zCreateOrganizationCodeMappingResponse = z.object({
|
|
|
14685
14692
|
automaticallyGenerated: z.boolean(),
|
|
14686
14693
|
hasCodeOwner: z.boolean()
|
|
14687
14694
|
});
|
|
14695
|
+
var zDeleteOrganizationCodeMappingData = z.object({
|
|
14696
|
+
body: z.never().optional(),
|
|
14697
|
+
path: z.object({
|
|
14698
|
+
organization_id_or_slug: z.string(),
|
|
14699
|
+
config_id: z.number().int()
|
|
14700
|
+
}),
|
|
14701
|
+
query: z.never().optional()
|
|
14702
|
+
});
|
|
14703
|
+
var zDeleteOrganizationCodeMappingResponse = z.void();
|
|
14704
|
+
var zUpdateOrganizationCodeMappingData = z.object({
|
|
14705
|
+
body: z.object({
|
|
14706
|
+
repository_id: z.number().int(),
|
|
14707
|
+
project_id: z.number().int(),
|
|
14708
|
+
stack_root: z.string().regex(/^[^\s'\"]+$/),
|
|
14709
|
+
source_root: z.string().regex(/^[^\s'\"]+$/),
|
|
14710
|
+
default_branch: z.string().regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/).optional()
|
|
14711
|
+
}),
|
|
14712
|
+
path: z.object({
|
|
14713
|
+
organization_id_or_slug: z.string(),
|
|
14714
|
+
config_id: z.number().int()
|
|
14715
|
+
}),
|
|
14716
|
+
query: z.never().optional()
|
|
14717
|
+
});
|
|
14718
|
+
var zUpdateOrganizationCodeMappingResponse = z.object({
|
|
14719
|
+
id: z.string(),
|
|
14720
|
+
projectId: z.string(),
|
|
14721
|
+
projectSlug: z.string(),
|
|
14722
|
+
repoId: z.string(),
|
|
14723
|
+
repoName: z.string(),
|
|
14724
|
+
integrationId: z.union([
|
|
14725
|
+
z.string(),
|
|
14726
|
+
z.null()
|
|
14727
|
+
]),
|
|
14728
|
+
provider: z.union([
|
|
14729
|
+
z.object({
|
|
14730
|
+
key: z.string(),
|
|
14731
|
+
slug: z.string(),
|
|
14732
|
+
name: z.string(),
|
|
14733
|
+
canAdd: z.boolean(),
|
|
14734
|
+
canDisable: z.boolean(),
|
|
14735
|
+
features: z.array(z.string()),
|
|
14736
|
+
aspects: z.record(z.unknown())
|
|
14737
|
+
}),
|
|
14738
|
+
z.null()
|
|
14739
|
+
]),
|
|
14740
|
+
stackRoot: z.string(),
|
|
14741
|
+
sourceRoot: z.string(),
|
|
14742
|
+
defaultBranch: z.union([
|
|
14743
|
+
z.string(),
|
|
14744
|
+
z.null()
|
|
14745
|
+
]),
|
|
14746
|
+
automaticallyGenerated: z.boolean(),
|
|
14747
|
+
hasCodeOwner: z.boolean()
|
|
14748
|
+
});
|
|
14688
14749
|
var zBulkUpsertOrganizationCodeMappingsData = z.object({
|
|
14689
14750
|
body: z.object({
|
|
14690
14751
|
project: z.union([
|
|
@@ -35819,6 +35880,8 @@ export {
|
|
|
35819
35880
|
zUpdateOrganizationData,
|
|
35820
35881
|
zUpdateOrganizationDashboardResponse,
|
|
35821
35882
|
zUpdateOrganizationDashboardData,
|
|
35883
|
+
zUpdateOrganizationCodeMappingResponse,
|
|
35884
|
+
zUpdateOrganizationCodeMappingData,
|
|
35822
35885
|
zUpdateOrgMemberRoles,
|
|
35823
35886
|
zUpdateClientKey,
|
|
35824
35887
|
zUnstarOrganizationServiceSpanData,
|
|
@@ -35875,6 +35938,7 @@ export {
|
|
|
35875
35938
|
zResolveOrganizationEventIdResponse,
|
|
35876
35939
|
zResolveOrganizationEventIdData,
|
|
35877
35940
|
zRepositorySettings,
|
|
35941
|
+
zRepositoryProjectPathConfig,
|
|
35878
35942
|
zReplayDeletionJobCreateData,
|
|
35879
35943
|
zReplayDeletionJobCreate,
|
|
35880
35944
|
zReplayCounts,
|
|
@@ -36393,6 +36457,8 @@ export {
|
|
|
36393
36457
|
zDeleteOrganizationDetectorData,
|
|
36394
36458
|
zDeleteOrganizationDashboardResponse,
|
|
36395
36459
|
zDeleteOrganizationDashboardData,
|
|
36460
|
+
zDeleteOrganizationCodeMappingResponse,
|
|
36461
|
+
zDeleteOrganizationCodeMappingData,
|
|
36396
36462
|
zDataForwarderResponse,
|
|
36397
36463
|
zDataForwarder,
|
|
36398
36464
|
zDashboardWidgetQueryOnDemand,
|