@sentry/api 0.390.0 → 0.392.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/zod.js CHANGED
@@ -1391,6 +1391,10 @@ var zCustomInboundFilter = z.object({
1391
1391
  })),
1392
1392
  dateCreated: z.string().datetime().readonly(),
1393
1393
  dateUpdated: z.string().datetime().readonly(),
1394
+ legacyFilter: z.union([
1395
+ z.string().readonly(),
1396
+ z.null()
1397
+ ]).readonly(),
1394
1398
  name: z.union([
1395
1399
  z.string().max(256),
1396
1400
  z.null()
@@ -11805,6 +11809,13 @@ var zReplayDeletionJobCreateData = z.object({
11805
11809
  z.null()
11806
11810
  ])
11807
11811
  });
11812
+ var zRepositoryProjectPathConfig = z.object({
11813
+ repository_id: z.number().int(),
11814
+ project_id: z.number().int(),
11815
+ stack_root: z.string().regex(/^[^\s'\"]+$/),
11816
+ source_root: z.string().regex(/^[^\s'\"]+$/),
11817
+ default_branch: z.string().regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/).optional()
11818
+ });
11808
11819
  var zRepositorySettings = z.object({
11809
11820
  repositoryIds: z.array(z.number().int()).max(1000),
11810
11821
  enabledCodeReview: z.boolean().optional(),
@@ -14685,6 +14696,60 @@ var zCreateOrganizationCodeMappingResponse = z.object({
14685
14696
  automaticallyGenerated: z.boolean(),
14686
14697
  hasCodeOwner: z.boolean()
14687
14698
  });
14699
+ var zDeleteOrganizationCodeMappingData = z.object({
14700
+ body: z.never().optional(),
14701
+ path: z.object({
14702
+ organization_id_or_slug: z.string(),
14703
+ config_id: z.number().int()
14704
+ }),
14705
+ query: z.never().optional()
14706
+ });
14707
+ var zDeleteOrganizationCodeMappingResponse = z.void();
14708
+ var zUpdateOrganizationCodeMappingData = z.object({
14709
+ body: z.object({
14710
+ repository_id: z.number().int(),
14711
+ project_id: z.number().int(),
14712
+ stack_root: z.string().regex(/^[^\s'\"]+$/),
14713
+ source_root: z.string().regex(/^[^\s'\"]+$/),
14714
+ default_branch: z.string().regex(/^(^(?![\/]))([\w\.\/-]+)(?<![\/])$/).optional()
14715
+ }),
14716
+ path: z.object({
14717
+ organization_id_or_slug: z.string(),
14718
+ config_id: z.number().int()
14719
+ }),
14720
+ query: z.never().optional()
14721
+ });
14722
+ var zUpdateOrganizationCodeMappingResponse = z.object({
14723
+ id: z.string(),
14724
+ projectId: z.string(),
14725
+ projectSlug: z.string(),
14726
+ repoId: z.string(),
14727
+ repoName: z.string(),
14728
+ integrationId: z.union([
14729
+ z.string(),
14730
+ z.null()
14731
+ ]),
14732
+ provider: z.union([
14733
+ z.object({
14734
+ key: z.string(),
14735
+ slug: z.string(),
14736
+ name: z.string(),
14737
+ canAdd: z.boolean(),
14738
+ canDisable: z.boolean(),
14739
+ features: z.array(z.string()),
14740
+ aspects: z.record(z.unknown())
14741
+ }),
14742
+ z.null()
14743
+ ]),
14744
+ stackRoot: z.string(),
14745
+ sourceRoot: z.string(),
14746
+ defaultBranch: z.union([
14747
+ z.string(),
14748
+ z.null()
14749
+ ]),
14750
+ automaticallyGenerated: z.boolean(),
14751
+ hasCodeOwner: z.boolean()
14752
+ });
14688
14753
  var zBulkUpsertOrganizationCodeMappingsData = z.object({
14689
14754
  body: z.object({
14690
14755
  project: z.union([
@@ -27869,6 +27934,10 @@ var zListProjectCustomInboundFiltersResponse = z.array(z.object({
27869
27934
  })),
27870
27935
  dateCreated: z.string().datetime().readonly(),
27871
27936
  dateUpdated: z.string().datetime().readonly(),
27937
+ legacyFilter: z.union([
27938
+ z.string().readonly(),
27939
+ z.null()
27940
+ ]).readonly(),
27872
27941
  name: z.union([
27873
27942
  z.string().max(256),
27874
27943
  z.null()
@@ -27915,6 +27984,10 @@ var zCreateProjectCustomInboundFilterData = z.object({
27915
27984
  })),
27916
27985
  dateCreated: z.string().datetime().readonly(),
27917
27986
  dateUpdated: z.string().datetime().readonly(),
27987
+ legacyFilter: z.union([
27988
+ z.string().readonly(),
27989
+ z.null()
27990
+ ]).readonly(),
27918
27991
  name: z.union([
27919
27992
  z.string().max(256),
27920
27993
  z.null()
@@ -27966,6 +28039,10 @@ var zCreateProjectCustomInboundFilterResponse = z.object({
27966
28039
  })),
27967
28040
  dateCreated: z.string().datetime().readonly(),
27968
28041
  dateUpdated: z.string().datetime().readonly(),
28042
+ legacyFilter: z.union([
28043
+ z.string().readonly(),
28044
+ z.null()
28045
+ ]).readonly(),
27969
28046
  name: z.union([
27970
28047
  z.string().max(256),
27971
28048
  z.null()
@@ -28030,6 +28107,10 @@ var zGetProjectCustomInboundFilterResponse = z.object({
28030
28107
  })),
28031
28108
  dateCreated: z.string().datetime().readonly(),
28032
28109
  dateUpdated: z.string().datetime().readonly(),
28110
+ legacyFilter: z.union([
28111
+ z.string().readonly(),
28112
+ z.null()
28113
+ ]).readonly(),
28033
28114
  name: z.union([
28034
28115
  z.string().max(256),
28035
28116
  z.null()
@@ -28076,6 +28157,10 @@ var zUpdateProjectCustomInboundFilterData = z.object({
28076
28157
  })),
28077
28158
  dateCreated: z.string().datetime().readonly(),
28078
28159
  dateUpdated: z.string().datetime().readonly(),
28160
+ legacyFilter: z.union([
28161
+ z.string().readonly(),
28162
+ z.null()
28163
+ ]).readonly(),
28079
28164
  name: z.union([
28080
28165
  z.string().max(256),
28081
28166
  z.null()
@@ -28128,6 +28213,10 @@ var zUpdateProjectCustomInboundFilterResponse = z.object({
28128
28213
  })),
28129
28214
  dateCreated: z.string().datetime().readonly(),
28130
28215
  dateUpdated: z.string().datetime().readonly(),
28216
+ legacyFilter: z.union([
28217
+ z.string().readonly(),
28218
+ z.null()
28219
+ ]).readonly(),
28131
28220
  name: z.union([
28132
28221
  z.string().max(256),
28133
28222
  z.null()
@@ -35819,6 +35908,8 @@ export {
35819
35908
  zUpdateOrganizationData,
35820
35909
  zUpdateOrganizationDashboardResponse,
35821
35910
  zUpdateOrganizationDashboardData,
35911
+ zUpdateOrganizationCodeMappingResponse,
35912
+ zUpdateOrganizationCodeMappingData,
35822
35913
  zUpdateOrgMemberRoles,
35823
35914
  zUpdateClientKey,
35824
35915
  zUnstarOrganizationServiceSpanData,
@@ -35875,6 +35966,7 @@ export {
35875
35966
  zResolveOrganizationEventIdResponse,
35876
35967
  zResolveOrganizationEventIdData,
35877
35968
  zRepositorySettings,
35969
+ zRepositoryProjectPathConfig,
35878
35970
  zReplayDeletionJobCreateData,
35879
35971
  zReplayDeletionJobCreate,
35880
35972
  zReplayCounts,
@@ -36393,6 +36485,8 @@ export {
36393
36485
  zDeleteOrganizationDetectorData,
36394
36486
  zDeleteOrganizationDashboardResponse,
36395
36487
  zDeleteOrganizationDashboardData,
36488
+ zDeleteOrganizationCodeMappingResponse,
36489
+ zDeleteOrganizationCodeMappingData,
36396
36490
  zDataForwarderResponse,
36397
36491
  zDataForwarder,
36398
36492
  zDashboardWidgetQueryOnDemand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.390.0",
3
+ "version": "0.392.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",