@sentry/api 0.425.0 → 0.427.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
@@ -131,6 +131,11 @@ var zBaseTeam = z.object({
131
131
  ]).optional()
132
132
  })
133
133
  });
134
+ var zBranchOverride = z.object({
135
+ tag_name: z.string(),
136
+ tag_value: z.string(),
137
+ branch_name: z.string()
138
+ });
134
139
  var zBulkCodeMappingsPartialResponse = z.object({
135
140
  created: z.number().int(),
136
141
  updated: z.number().int(),
@@ -11476,6 +11481,33 @@ var zProjectRepoListResponse = z.array(z.object({
11476
11481
  ]),
11477
11482
  mappingCount: z.number().int().optional()
11478
11483
  }));
11484
+ var zProjectSeerRepositoriesResponse = z.array(z.object({
11485
+ id: z.string(),
11486
+ repositoryId: z.string(),
11487
+ organizationId: z.string(),
11488
+ provider: z.string(),
11489
+ owner: z.string(),
11490
+ name: z.string(),
11491
+ externalId: z.string(),
11492
+ integrationId: z.union([
11493
+ z.string(),
11494
+ z.null()
11495
+ ]),
11496
+ branchName: z.union([
11497
+ z.string(),
11498
+ z.null()
11499
+ ]),
11500
+ branchOverrides: z.array(z.object({
11501
+ id: z.string(),
11502
+ tagName: z.string(),
11503
+ tagValue: z.string(),
11504
+ branchName: z.string()
11505
+ })),
11506
+ instructions: z.union([
11507
+ z.string(),
11508
+ z.null()
11509
+ ])
11510
+ }));
11479
11511
  var zProjectSizeStatusCheckRulesResponse = z.object({
11480
11512
  enabled: z.boolean(),
11481
11513
  rules: z.array(z.object({
@@ -12192,6 +12224,40 @@ var zScimTeamRequestBody = z.object({
12192
12224
  var zSeerModelsResponse = z.object({
12193
12225
  models: z.array(z.string())
12194
12226
  });
12227
+ var zSeerProjectRepoCreate = z.object({
12228
+ repository_id: z.number().int(),
12229
+ branch_name: z.union([
12230
+ z.string(),
12231
+ z.null()
12232
+ ]).optional(),
12233
+ instructions: z.union([
12234
+ z.string(),
12235
+ z.null()
12236
+ ]).optional(),
12237
+ branch_overrides: z.array(z.object({
12238
+ tag_name: z.string(),
12239
+ tag_value: z.string(),
12240
+ branch_name: z.string()
12241
+ })).optional()
12242
+ });
12243
+ var zSeerProjectReposBulk = z.object({
12244
+ repos: z.array(z.object({
12245
+ repository_id: z.number().int(),
12246
+ branch_name: z.union([
12247
+ z.string(),
12248
+ z.null()
12249
+ ]).optional(),
12250
+ instructions: z.union([
12251
+ z.string(),
12252
+ z.null()
12253
+ ]).optional(),
12254
+ branch_overrides: z.array(z.object({
12255
+ tag_name: z.string(),
12256
+ tag_value: z.string(),
12257
+ branch_name: z.string()
12258
+ })).optional()
12259
+ }))
12260
+ });
12195
12261
  var zSentryAppComponentsResponse = z.array(z.object({
12196
12262
  uuid: z.string(),
12197
12263
  type: z.string(),
@@ -31961,6 +32027,103 @@ var zLinkProjectRepositoryResponse = z.object({
31961
32027
  source: z.string(),
31962
32028
  created: z.boolean()
31963
32029
  });
32030
+ var zListProjectSeerRepositoriesData = z.object({
32031
+ body: z.never().optional(),
32032
+ path: z.object({
32033
+ organization_id_or_slug: z.string(),
32034
+ project_id_or_slug: z.string()
32035
+ }),
32036
+ query: z.object({
32037
+ query: z.string().optional(),
32038
+ sortBy: z.enum([
32039
+ "-name",
32040
+ "-provider",
32041
+ "name",
32042
+ "provider"
32043
+ ]).optional(),
32044
+ cursor: z.string().min(1).optional(),
32045
+ per_page: z.number().int().optional()
32046
+ }).optional()
32047
+ });
32048
+ var zListProjectSeerRepositoriesResponse = z.array(z.object({
32049
+ id: z.string(),
32050
+ repositoryId: z.string(),
32051
+ organizationId: z.string(),
32052
+ provider: z.string(),
32053
+ owner: z.string(),
32054
+ name: z.string(),
32055
+ externalId: z.string(),
32056
+ integrationId: z.union([
32057
+ z.string(),
32058
+ z.null()
32059
+ ]),
32060
+ branchName: z.union([
32061
+ z.string(),
32062
+ z.null()
32063
+ ]),
32064
+ branchOverrides: z.array(z.object({
32065
+ id: z.string(),
32066
+ tagName: z.string(),
32067
+ tagValue: z.string(),
32068
+ branchName: z.string()
32069
+ })),
32070
+ instructions: z.union([
32071
+ z.string(),
32072
+ z.null()
32073
+ ])
32074
+ }));
32075
+ var zAddProjectSeerRepositoriesData = z.object({
32076
+ body: z.object({
32077
+ repos: z.array(z.object({
32078
+ repository_id: z.number().int(),
32079
+ branch_name: z.union([
32080
+ z.string(),
32081
+ z.null()
32082
+ ]).optional(),
32083
+ instructions: z.union([
32084
+ z.string(),
32085
+ z.null()
32086
+ ]).optional(),
32087
+ branch_overrides: z.array(z.object({
32088
+ tag_name: z.string(),
32089
+ tag_value: z.string(),
32090
+ branch_name: z.string()
32091
+ })).optional()
32092
+ }))
32093
+ }),
32094
+ path: z.object({
32095
+ organization_id_or_slug: z.string(),
32096
+ project_id_or_slug: z.string()
32097
+ }),
32098
+ query: z.never().optional()
32099
+ });
32100
+ var zAddProjectSeerRepositoriesResponse = z.void();
32101
+ var zReplaceProjectSeerRepositoriesData = z.object({
32102
+ body: z.object({
32103
+ repos: z.array(z.object({
32104
+ repository_id: z.number().int(),
32105
+ branch_name: z.union([
32106
+ z.string(),
32107
+ z.null()
32108
+ ]).optional(),
32109
+ instructions: z.union([
32110
+ z.string(),
32111
+ z.null()
32112
+ ]).optional(),
32113
+ branch_overrides: z.array(z.object({
32114
+ tag_name: z.string(),
32115
+ tag_value: z.string(),
32116
+ branch_name: z.string()
32117
+ })).optional()
32118
+ }))
32119
+ }),
32120
+ path: z.object({
32121
+ organization_id_or_slug: z.string(),
32122
+ project_id_or_slug: z.string()
32123
+ }),
32124
+ query: z.never().optional()
32125
+ });
32126
+ var zReplaceProjectSeerRepositoriesResponse = z.void();
31964
32127
  var zGetProjectStacktraceLinkData = z.object({
31965
32128
  body: z.never().optional(),
31966
32129
  path: z.object({
@@ -36285,6 +36448,8 @@ export {
36285
36448
  zSentryAppExternalRequestOptionsResponse,
36286
36449
  zSentryAppDetailsResponse,
36287
36450
  zSentryAppComponentsResponse,
36451
+ zSeerProjectReposBulk,
36452
+ zSeerProjectRepoCreate,
36288
36453
  zSeerModelsResponse,
36289
36454
  zScimTeamRequestBody,
36290
36455
  zScimTeamPatchRequest,
@@ -36314,6 +36479,8 @@ export {
36314
36479
  zReplayDeletionJobCreateData,
36315
36480
  zReplayDeletionJobCreate,
36316
36481
  zReplayCounts,
36482
+ zReplaceProjectSeerRepositoriesResponse,
36483
+ zReplaceProjectSeerRepositoriesData,
36317
36484
  zReleaseThresholdStatusResponse,
36318
36485
  zReleaseSerializerWithProjects,
36319
36486
  zReleaseHeadCommitSerializerDeprecated,
@@ -36332,6 +36499,7 @@ export {
36332
36499
  zProjectStats,
36333
36500
  zProjectSnapshotStatusCheckRulesResponse,
36334
36501
  zProjectSizeStatusCheckRulesResponse,
36502
+ zProjectSeerRepositoriesResponse,
36335
36503
  zProjectRepoListResponse,
36336
36504
  zProjectRepoLinkResponse,
36337
36505
  zProjectRepoLinkRequest,
@@ -36421,6 +36589,8 @@ export {
36421
36589
  zListProjectSymbolSourcesData,
36422
36590
  zListProjectStatsResponse,
36423
36591
  zListProjectStatsData,
36592
+ zListProjectSeerRepositoriesResponse,
36593
+ zListProjectSeerRepositoriesData,
36424
36594
  zListProjectRepositoriesResponse,
36425
36595
  zListProjectRepositoriesData,
36426
36596
  zListProjectReplayViewedByResponse,
@@ -36919,6 +37089,7 @@ export {
36919
37089
  zBulkCodeMappingsResponse,
36920
37090
  zBulkCodeMappingsRequest,
36921
37091
  zBulkCodeMappingsPartialResponse,
37092
+ zBranchOverride,
36922
37093
  zBaseTeam,
36923
37094
  zBaseDetectorTypeValidator,
36924
37095
  zBaseDataConditionGroupValidator,
@@ -36934,6 +37105,8 @@ export {
36934
37105
  zAddProjectTeamData,
36935
37106
  zAddProjectSymbolSourceResponse,
36936
37107
  zAddProjectSymbolSourceData,
37108
+ zAddProjectSeerRepositoriesResponse,
37109
+ zAddProjectSeerRepositoriesData,
36937
37110
  zAddOrganizationMemberTeamResponse,
36938
37111
  zAddOrganizationMemberTeamData,
36939
37112
  zAddOrganizationMemberResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.425.0",
3
+ "version": "0.427.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",