@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.
@@ -1179,6 +1179,37 @@ export type CreateExternalIssueRequest = {
1179
1179
  */
1180
1180
  description?: string;
1181
1181
  };
1182
+ /**
1183
+ * Allows parameters to be defined in snake case, but passed as camel case.
1184
+ *
1185
+ * Errors are output in camel case.
1186
+ */
1187
+ export type CreateOrganizationCodeMappingRequest = {
1188
+ /**
1189
+ * The ID of a repository belonging to the installed integration.
1190
+ */
1191
+ repository_id: number;
1192
+ /**
1193
+ * The ID of the project to associate with the code mapping.
1194
+ */
1195
+ project_id: number;
1196
+ /**
1197
+ * The path prefix to replace in stack trace filenames.
1198
+ */
1199
+ stack_root: string;
1200
+ /**
1201
+ * The repository path prefix to substitute for the stack trace prefix.
1202
+ */
1203
+ source_root: string;
1204
+ /**
1205
+ * The ID of the installed integration that provides the repository.
1206
+ */
1207
+ integration_id: number;
1208
+ /**
1209
+ * The default branch to use when resolving source files. May be empty for Perforce.
1210
+ */
1211
+ default_branch?: string;
1212
+ };
1182
1213
  export type CreateOrganizationReleaseResponse = {
1183
1214
  ref?: string | null;
1184
1215
  url?: string | null;
@@ -4941,6 +4972,30 @@ export type ListOrganizationClientKeysResponse = Array<{
4941
4972
  };
4942
4973
  useCase?: string;
4943
4974
  }>;
4975
+ export type ListOrganizationCodeMappingsResponse = Array<{
4976
+ id: string;
4977
+ projectId: string;
4978
+ projectSlug: string;
4979
+ repoId: string;
4980
+ repoName: string;
4981
+ integrationId: string | null;
4982
+ provider: {
4983
+ key: string;
4984
+ slug: string;
4985
+ name: string;
4986
+ canAdd: boolean;
4987
+ canDisable: boolean;
4988
+ features: Array<string>;
4989
+ aspects: {
4990
+ [key: string]: unknown;
4991
+ };
4992
+ } | null;
4993
+ stackRoot: string;
4994
+ sourceRoot: string;
4995
+ defaultBranch: string | null;
4996
+ automaticallyGenerated: boolean;
4997
+ hasCodeOwner: boolean;
4998
+ }>;
4944
4999
  export type ListOrganizationIntegrationResponse = Array<{
4945
5000
  id: string;
4946
5001
  name: string;
@@ -7030,6 +7085,44 @@ export type OrgReleaseResponse = {
7030
7085
  newGroups: number;
7031
7086
  }>;
7032
7087
  };
7088
+ export type OrganizationCodeMappingResponse = {
7089
+ id: string;
7090
+ projectId: string;
7091
+ projectSlug: string;
7092
+ repoId: string;
7093
+ repoName: string;
7094
+ integrationId: string | null;
7095
+ provider: {
7096
+ key: string;
7097
+ slug: string;
7098
+ name: string;
7099
+ canAdd: boolean;
7100
+ canDisable: boolean;
7101
+ features: Array<string>;
7102
+ aspects: {
7103
+ [key: string]: unknown;
7104
+ };
7105
+ } | null;
7106
+ stackRoot: string;
7107
+ sourceRoot: string;
7108
+ defaultBranch: string | null;
7109
+ automaticallyGenerated: boolean;
7110
+ hasCodeOwner: boolean;
7111
+ };
7112
+ export type OrganizationCodeOwnersAssociationsResponse = {
7113
+ [key: string]: {
7114
+ associations: {
7115
+ [key: string]: string;
7116
+ };
7117
+ errors: {
7118
+ missing_user_emails: Array<string>;
7119
+ missing_external_users: Array<string>;
7120
+ missing_external_teams: Array<string>;
7121
+ teams_without_access: Array<string>;
7122
+ users_without_access: Array<string>;
7123
+ };
7124
+ };
7125
+ };
7033
7126
  export type OrganizationConfigIntegrationsEndpointResponse = {
7034
7127
  providers: Array<{
7035
7128
  key: string;
@@ -8095,6 +8188,23 @@ export type OrganizationRelease = {
8095
8188
  previousCommit?: string | null;
8096
8189
  }>;
8097
8190
  };
8191
+ export type OrganizationRepositorySettingsResponse = Array<{
8192
+ url?: string | null;
8193
+ provider?: {
8194
+ [key: string]: string;
8195
+ };
8196
+ status?: string;
8197
+ integrationId?: string | null;
8198
+ externalSlug?: string | null;
8199
+ externalId?: string | null;
8200
+ settings?: {
8201
+ enabledCodeReview: boolean;
8202
+ codeReviewTriggers: Array<string>;
8203
+ } | null;
8204
+ id: string;
8205
+ name: string;
8206
+ dateCreated: string;
8207
+ }>;
8098
8208
  export type OrganizationSentryAppDetailsResponse = Array<{
8099
8209
  allowedOrigins: Array<string>;
8100
8210
  avatars: Array<{
@@ -9775,6 +9885,20 @@ export type ReplayDeletionJobCreateData = {
9775
9885
  environments: Array<string>;
9776
9886
  query: string | null;
9777
9887
  };
9888
+ export type RepositorySettings = {
9889
+ /**
9890
+ * List of repository IDs to update settings for. Maximum 1000 repositories.
9891
+ */
9892
+ repositoryIds: Array<number>;
9893
+ /**
9894
+ * Whether code review is enabled for these repositories
9895
+ */
9896
+ enabledCodeReview?: boolean;
9897
+ /**
9898
+ * List of triggers for code review
9899
+ */
9900
+ codeReviewTriggers?: Array<'on_new_commit' | 'on_ready_for_review'>;
9901
+ };
9778
9902
  /**
9779
9903
  * Span page plus conversation-level metadata.
9780
9904
  */
@@ -13214,6 +13338,212 @@ export type RetrieveOrganizationAiConversationResponses = {
13214
13338
  };
13215
13339
  };
13216
13340
  export type RetrieveOrganizationAiConversationResponse2 = RetrieveOrganizationAiConversationResponses[keyof RetrieveOrganizationAiConversationResponses];
13341
+ export type ListOrganizationCodeMappingsData = {
13342
+ body?: never;
13343
+ path: {
13344
+ /**
13345
+ * The ID or slug of the organization the resource belongs to.
13346
+ */
13347
+ organization_id_or_slug: string;
13348
+ };
13349
+ query?: {
13350
+ /**
13351
+ * Filter mappings to a specific installed integration.
13352
+ */
13353
+ integrationId?: string;
13354
+ /**
13355
+ * Filter by project ID or slug. Pass `-1` to include all projects the user can access. When omitted, mappings include all projects the user can access.
13356
+ */
13357
+ project?: Array<string>;
13358
+ /**
13359
+ * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
13360
+ */
13361
+ cursor?: string;
13362
+ /**
13363
+ * The maximum number of mappings to return per page.
13364
+ */
13365
+ per_page?: number;
13366
+ };
13367
+ url: '/api/0/organizations/{organization_id_or_slug}/code-mappings/';
13368
+ };
13369
+ export type ListOrganizationCodeMappingsErrors = {
13370
+ /**
13371
+ * Unauthorized
13372
+ */
13373
+ 401: unknown;
13374
+ /**
13375
+ * Forbidden
13376
+ */
13377
+ 403: unknown;
13378
+ /**
13379
+ * Not Found
13380
+ */
13381
+ 404: unknown;
13382
+ };
13383
+ export type ListOrganizationCodeMappingsResponses = {
13384
+ 200: Array<{
13385
+ id: string;
13386
+ projectId: string;
13387
+ projectSlug: string;
13388
+ repoId: string;
13389
+ repoName: string;
13390
+ integrationId: string | null;
13391
+ provider: {
13392
+ key: string;
13393
+ slug: string;
13394
+ name: string;
13395
+ canAdd: boolean;
13396
+ canDisable: boolean;
13397
+ features: Array<string>;
13398
+ aspects: {
13399
+ [key: string]: unknown;
13400
+ };
13401
+ } | null;
13402
+ stackRoot: string;
13403
+ sourceRoot: string;
13404
+ defaultBranch: string | null;
13405
+ automaticallyGenerated: boolean;
13406
+ hasCodeOwner: boolean;
13407
+ }>;
13408
+ };
13409
+ export type ListOrganizationCodeMappingsResponse2 = ListOrganizationCodeMappingsResponses[keyof ListOrganizationCodeMappingsResponses];
13410
+ export type CreateOrganizationCodeMappingData = {
13411
+ /**
13412
+ * Allows parameters to be defined in snake case, but passed as camel case.
13413
+ *
13414
+ * Errors are output in camel case.
13415
+ */
13416
+ body: {
13417
+ /**
13418
+ * The ID of a repository belonging to the installed integration.
13419
+ */
13420
+ repository_id: number;
13421
+ /**
13422
+ * The ID of the project to associate with the code mapping.
13423
+ */
13424
+ project_id: number;
13425
+ /**
13426
+ * The path prefix to replace in stack trace filenames.
13427
+ */
13428
+ stack_root: string;
13429
+ /**
13430
+ * The repository path prefix to substitute for the stack trace prefix.
13431
+ */
13432
+ source_root: string;
13433
+ /**
13434
+ * The ID of the installed integration that provides the repository.
13435
+ */
13436
+ integration_id: number;
13437
+ /**
13438
+ * The default branch to use when resolving source files. May be empty for Perforce.
13439
+ */
13440
+ default_branch?: string;
13441
+ };
13442
+ path: {
13443
+ /**
13444
+ * The ID or slug of the organization the resource belongs to.
13445
+ */
13446
+ organization_id_or_slug: string;
13447
+ };
13448
+ query?: never;
13449
+ url: '/api/0/organizations/{organization_id_or_slug}/code-mappings/';
13450
+ };
13451
+ export type CreateOrganizationCodeMappingErrors = {
13452
+ /**
13453
+ * Bad Request
13454
+ */
13455
+ 400: unknown;
13456
+ /**
13457
+ * Unauthorized
13458
+ */
13459
+ 401: unknown;
13460
+ /**
13461
+ * Forbidden
13462
+ */
13463
+ 403: unknown;
13464
+ /**
13465
+ * Not Found
13466
+ */
13467
+ 404: unknown;
13468
+ };
13469
+ export type CreateOrganizationCodeMappingResponses = {
13470
+ 201: {
13471
+ id: string;
13472
+ projectId: string;
13473
+ projectSlug: string;
13474
+ repoId: string;
13475
+ repoName: string;
13476
+ integrationId: string | null;
13477
+ provider: {
13478
+ key: string;
13479
+ slug: string;
13480
+ name: string;
13481
+ canAdd: boolean;
13482
+ canDisable: boolean;
13483
+ features: Array<string>;
13484
+ aspects: {
13485
+ [key: string]: unknown;
13486
+ };
13487
+ } | null;
13488
+ stackRoot: string;
13489
+ sourceRoot: string;
13490
+ defaultBranch: string | null;
13491
+ automaticallyGenerated: boolean;
13492
+ hasCodeOwner: boolean;
13493
+ };
13494
+ };
13495
+ export type CreateOrganizationCodeMappingResponse = CreateOrganizationCodeMappingResponses[keyof CreateOrganizationCodeMappingResponses];
13496
+ export type ListOrganizationCodeownersAssociationsData = {
13497
+ body?: never;
13498
+ path: {
13499
+ /**
13500
+ * The ID or slug of the organization the resource belongs to.
13501
+ */
13502
+ organization_id_or_slug: string;
13503
+ };
13504
+ query?: {
13505
+ /**
13506
+ * Filter by project ID or slug. Specify multiple values to include multiple projects. Use `-1` to include all accessible projects.
13507
+ */
13508
+ project?: Array<string>;
13509
+ /**
13510
+ * Filter associations by integration provider.
13511
+ */
13512
+ provider?: string;
13513
+ };
13514
+ url: '/api/0/organizations/{organization_id_or_slug}/codeowners-associations/';
13515
+ };
13516
+ export type ListOrganizationCodeownersAssociationsErrors = {
13517
+ /**
13518
+ * Unauthorized
13519
+ */
13520
+ 401: unknown;
13521
+ /**
13522
+ * Forbidden
13523
+ */
13524
+ 403: unknown;
13525
+ /**
13526
+ * Not Found
13527
+ */
13528
+ 404: unknown;
13529
+ };
13530
+ export type ListOrganizationCodeownersAssociationsResponses = {
13531
+ 200: {
13532
+ [key: string]: {
13533
+ associations: {
13534
+ [key: string]: string;
13535
+ };
13536
+ errors: {
13537
+ missing_user_emails: Array<string>;
13538
+ missing_external_users: Array<string>;
13539
+ missing_external_teams: Array<string>;
13540
+ teams_without_access: Array<string>;
13541
+ users_without_access: Array<string>;
13542
+ };
13543
+ };
13544
+ };
13545
+ };
13546
+ export type ListOrganizationCodeownersAssociationsResponse = ListOrganizationCodeownersAssociationsResponses[keyof ListOrganizationCodeownersAssociationsResponses];
13217
13547
  export type GetOrganizationConfigIntegrationsData = {
13218
13548
  body?: never;
13219
13549
  path: {
@@ -24643,6 +24973,68 @@ export type ListOrganizationRepoCommitsResponses = {
24643
24973
  }>;
24644
24974
  };
24645
24975
  export type ListOrganizationRepoCommitsResponse = ListOrganizationRepoCommitsResponses[keyof ListOrganizationRepoCommitsResponses];
24976
+ export type UpdateOrganizationRepositorySettingsData = {
24977
+ body: {
24978
+ /**
24979
+ * List of repository IDs to update settings for. Maximum 1000 repositories.
24980
+ */
24981
+ repositoryIds: Array<number>;
24982
+ /**
24983
+ * Whether code review is enabled for these repositories
24984
+ */
24985
+ enabledCodeReview?: boolean;
24986
+ /**
24987
+ * List of triggers for code review
24988
+ */
24989
+ codeReviewTriggers?: Array<'on_new_commit' | 'on_ready_for_review'>;
24990
+ };
24991
+ path: {
24992
+ /**
24993
+ * The ID or slug of the organization the resource belongs to.
24994
+ */
24995
+ organization_id_or_slug: string;
24996
+ };
24997
+ query?: never;
24998
+ url: '/api/0/organizations/{organization_id_or_slug}/repos/settings/';
24999
+ };
25000
+ export type UpdateOrganizationRepositorySettingsErrors = {
25001
+ /**
25002
+ * Bad Request
25003
+ */
25004
+ 400: unknown;
25005
+ /**
25006
+ * Unauthorized
25007
+ */
25008
+ 401: unknown;
25009
+ /**
25010
+ * Forbidden
25011
+ */
25012
+ 403: unknown;
25013
+ /**
25014
+ * Not Found
25015
+ */
25016
+ 404: unknown;
25017
+ };
25018
+ export type UpdateOrganizationRepositorySettingsResponses = {
25019
+ 200: Array<{
25020
+ url?: string | null;
25021
+ provider?: {
25022
+ [key: string]: string;
25023
+ };
25024
+ status?: string;
25025
+ integrationId?: string | null;
25026
+ externalSlug?: string | null;
25027
+ externalId?: string | null;
25028
+ settings?: {
25029
+ enabledCodeReview: boolean;
25030
+ codeReviewTriggers: Array<string>;
25031
+ } | null;
25032
+ id: string;
25033
+ name: string;
25034
+ dateCreated: string;
25035
+ }>;
25036
+ };
25037
+ export type UpdateOrganizationRepositorySettingsResponse = UpdateOrganizationRepositorySettingsResponses[keyof UpdateOrganizationRepositorySettingsResponses];
24646
25038
  export type ListOrganizationScimV2GroupsData = {
24647
25039
  body?: never;
24648
25040
  path: {
@@ -281,6 +281,19 @@ export declare const vCreateExternalIssueRequest: v.ObjectSchema<{
281
281
  readonly title: v.StringSchema<undefined>;
282
282
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
283
283
  }, undefined>;
284
+ /**
285
+ * Allows parameters to be defined in snake case, but passed as camel case.
286
+ *
287
+ * Errors are output in camel case.
288
+ */
289
+ export declare const vCreateOrganizationCodeMappingRequest: v.ObjectSchema<{
290
+ readonly repository_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
291
+ readonly project_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
292
+ readonly stack_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
293
+ readonly source_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
294
+ readonly integration_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
295
+ readonly default_branch: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
296
+ }, undefined>;
284
297
  export declare const vCreateOrganizationReleaseResponse: v.ObjectSchema<{
285
298
  readonly ref: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
286
299
  readonly url: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
@@ -2890,6 +2903,28 @@ export declare const vListOrganizationClientKeysResponse: v.ArraySchema<v.Object
2890
2903
  }, undefined>;
2891
2904
  readonly useCase: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2892
2905
  }, undefined>, undefined>;
2906
+ export declare const vListOrganizationCodeMappingsResponse: v.ArraySchema<v.ObjectSchema<{
2907
+ readonly id: v.StringSchema<undefined>;
2908
+ readonly projectId: v.StringSchema<undefined>;
2909
+ readonly projectSlug: v.StringSchema<undefined>;
2910
+ readonly repoId: v.StringSchema<undefined>;
2911
+ readonly repoName: v.StringSchema<undefined>;
2912
+ readonly integrationId: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
2913
+ readonly provider: v.UnionSchema<[v.ObjectSchema<{
2914
+ readonly key: v.StringSchema<undefined>;
2915
+ readonly slug: v.StringSchema<undefined>;
2916
+ readonly name: v.StringSchema<undefined>;
2917
+ readonly canAdd: v.BooleanSchema<undefined>;
2918
+ readonly canDisable: v.BooleanSchema<undefined>;
2919
+ readonly features: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2920
+ readonly aspects: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
2921
+ }, undefined>, v.NullSchema<undefined>], undefined>;
2922
+ readonly stackRoot: v.StringSchema<undefined>;
2923
+ readonly sourceRoot: v.StringSchema<undefined>;
2924
+ readonly defaultBranch: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
2925
+ readonly automaticallyGenerated: v.BooleanSchema<undefined>;
2926
+ readonly hasCodeOwner: v.BooleanSchema<undefined>;
2927
+ }, undefined>, undefined>;
2893
2928
  export declare const vListOrganizationIntegrationResponse: v.ArraySchema<v.ObjectSchema<{
2894
2929
  readonly id: v.StringSchema<undefined>;
2895
2930
  readonly name: v.StringSchema<undefined>;
@@ -4040,6 +4075,38 @@ export declare const vOrgReleaseResponse: v.ObjectSchema<{
4040
4075
  readonly newGroups: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
4041
4076
  }, undefined>, undefined>;
4042
4077
  }, undefined>;
4078
+ export declare const vOrganizationCodeMappingResponse: v.ObjectSchema<{
4079
+ readonly id: v.StringSchema<undefined>;
4080
+ readonly projectId: v.StringSchema<undefined>;
4081
+ readonly projectSlug: v.StringSchema<undefined>;
4082
+ readonly repoId: v.StringSchema<undefined>;
4083
+ readonly repoName: v.StringSchema<undefined>;
4084
+ readonly integrationId: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
4085
+ readonly provider: v.UnionSchema<[v.ObjectSchema<{
4086
+ readonly key: v.StringSchema<undefined>;
4087
+ readonly slug: v.StringSchema<undefined>;
4088
+ readonly name: v.StringSchema<undefined>;
4089
+ readonly canAdd: v.BooleanSchema<undefined>;
4090
+ readonly canDisable: v.BooleanSchema<undefined>;
4091
+ readonly features: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4092
+ readonly aspects: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
4093
+ }, undefined>, v.NullSchema<undefined>], undefined>;
4094
+ readonly stackRoot: v.StringSchema<undefined>;
4095
+ readonly sourceRoot: v.StringSchema<undefined>;
4096
+ readonly defaultBranch: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
4097
+ readonly automaticallyGenerated: v.BooleanSchema<undefined>;
4098
+ readonly hasCodeOwner: v.BooleanSchema<undefined>;
4099
+ }, undefined>;
4100
+ export declare const vOrganizationCodeOwnersAssociationsResponse: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
4101
+ readonly associations: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
4102
+ readonly errors: v.ObjectSchema<{
4103
+ readonly missing_user_emails: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4104
+ readonly missing_external_users: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4105
+ readonly missing_external_teams: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4106
+ readonly teams_without_access: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4107
+ readonly users_without_access: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4108
+ }, undefined>;
4109
+ }, undefined>, undefined>;
4043
4110
  export declare const vOrganizationConfigIntegrationsEndpointResponse: v.ObjectSchema<{
4044
4111
  readonly providers: v.ArraySchema<v.ObjectSchema<{
4045
4112
  readonly key: v.StringSchema<undefined>;
@@ -4828,6 +4895,21 @@ export declare const vOrganizationRelease: v.ObjectSchema<{
4828
4895
  readonly previousCommit: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
4829
4896
  }, undefined>, undefined>, undefined>;
4830
4897
  }, undefined>;
4898
+ export declare const vOrganizationRepositorySettingsResponse: v.ArraySchema<v.ObjectSchema<{
4899
+ readonly url: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
4900
+ readonly provider: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
4901
+ readonly status: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4902
+ readonly integrationId: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
4903
+ readonly externalSlug: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
4904
+ readonly externalId: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
4905
+ readonly settings: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
4906
+ readonly enabledCodeReview: v.BooleanSchema<undefined>;
4907
+ readonly codeReviewTriggers: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4908
+ }, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
4909
+ readonly id: v.StringSchema<undefined>;
4910
+ readonly name: v.StringSchema<undefined>;
4911
+ readonly dateCreated: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4912
+ }, undefined>, undefined>;
4831
4913
  export declare const vOrganizationSentryAppDetailsResponse: v.ArraySchema<v.ObjectSchema<{
4832
4914
  readonly allowedOrigins: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4833
4915
  readonly avatars: v.ArraySchema<v.ObjectSchema<{
@@ -5946,6 +6028,11 @@ export declare const vReplayDeletionJobCreateData: v.ObjectSchema<{
5946
6028
  readonly environments: v.ArraySchema<v.StringSchema<undefined>, undefined>;
5947
6029
  readonly query: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
5948
6030
  }, undefined>;
6031
+ export declare const vRepositorySettings: v.ObjectSchema<{
6032
+ readonly repositoryIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, v.MaxLengthAction<number[], 1000, undefined>]>;
6033
+ readonly enabledCodeReview: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6034
+ readonly codeReviewTriggers: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["on_new_commit", "on_ready_for_review"], undefined>, undefined>, undefined>;
6035
+ }, undefined>;
5949
6036
  /**
5950
6037
  * Span page plus conversation-level metadata.
5951
6038
  */
@@ -7661,6 +7748,96 @@ export declare const vRetrieveOrganizationAiConversationResponse2: v.ObjectSchem
7661
7748
  }, undefined>, undefined>;
7662
7749
  }, undefined>, v.NullSchema<undefined>], undefined>;
7663
7750
  }, undefined>;
7751
+ export declare const vListOrganizationCodeMappingsData: v.ObjectSchema<{
7752
+ readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
7753
+ readonly path: v.ObjectSchema<{
7754
+ readonly organization_id_or_slug: v.StringSchema<undefined>;
7755
+ }, undefined>;
7756
+ readonly query: v.OptionalSchema<v.ObjectSchema<{
7757
+ readonly integrationId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7758
+ readonly project: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
7759
+ readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
7760
+ readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
7761
+ }, undefined>, undefined>;
7762
+ }, undefined>;
7763
+ export declare const vListOrganizationCodeMappingsResponse2: v.ArraySchema<v.ObjectSchema<{
7764
+ readonly id: v.StringSchema<undefined>;
7765
+ readonly projectId: v.StringSchema<undefined>;
7766
+ readonly projectSlug: v.StringSchema<undefined>;
7767
+ readonly repoId: v.StringSchema<undefined>;
7768
+ readonly repoName: v.StringSchema<undefined>;
7769
+ readonly integrationId: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
7770
+ readonly provider: v.UnionSchema<[v.ObjectSchema<{
7771
+ readonly key: v.StringSchema<undefined>;
7772
+ readonly slug: v.StringSchema<undefined>;
7773
+ readonly name: v.StringSchema<undefined>;
7774
+ readonly canAdd: v.BooleanSchema<undefined>;
7775
+ readonly canDisable: v.BooleanSchema<undefined>;
7776
+ readonly features: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7777
+ readonly aspects: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
7778
+ }, undefined>, v.NullSchema<undefined>], undefined>;
7779
+ readonly stackRoot: v.StringSchema<undefined>;
7780
+ readonly sourceRoot: v.StringSchema<undefined>;
7781
+ readonly defaultBranch: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
7782
+ readonly automaticallyGenerated: v.BooleanSchema<undefined>;
7783
+ readonly hasCodeOwner: v.BooleanSchema<undefined>;
7784
+ }, undefined>, undefined>;
7785
+ export declare const vCreateOrganizationCodeMappingData: v.ObjectSchema<{
7786
+ readonly body: v.ObjectSchema<{
7787
+ readonly repository_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7788
+ readonly project_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7789
+ readonly stack_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
7790
+ readonly source_root: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
7791
+ readonly integration_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7792
+ readonly default_branch: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
7793
+ }, undefined>;
7794
+ readonly path: v.ObjectSchema<{
7795
+ readonly organization_id_or_slug: v.StringSchema<undefined>;
7796
+ }, undefined>;
7797
+ readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
7798
+ }, undefined>;
7799
+ export declare const vCreateOrganizationCodeMappingResponse: v.ObjectSchema<{
7800
+ readonly id: v.StringSchema<undefined>;
7801
+ readonly projectId: v.StringSchema<undefined>;
7802
+ readonly projectSlug: v.StringSchema<undefined>;
7803
+ readonly repoId: v.StringSchema<undefined>;
7804
+ readonly repoName: v.StringSchema<undefined>;
7805
+ readonly integrationId: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
7806
+ readonly provider: v.UnionSchema<[v.ObjectSchema<{
7807
+ readonly key: v.StringSchema<undefined>;
7808
+ readonly slug: v.StringSchema<undefined>;
7809
+ readonly name: v.StringSchema<undefined>;
7810
+ readonly canAdd: v.BooleanSchema<undefined>;
7811
+ readonly canDisable: v.BooleanSchema<undefined>;
7812
+ readonly features: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7813
+ readonly aspects: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
7814
+ }, undefined>, v.NullSchema<undefined>], undefined>;
7815
+ readonly stackRoot: v.StringSchema<undefined>;
7816
+ readonly sourceRoot: v.StringSchema<undefined>;
7817
+ readonly defaultBranch: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
7818
+ readonly automaticallyGenerated: v.BooleanSchema<undefined>;
7819
+ readonly hasCodeOwner: v.BooleanSchema<undefined>;
7820
+ }, undefined>;
7821
+ export declare const vListOrganizationCodeownersAssociationsData: v.ObjectSchema<{
7822
+ readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
7823
+ readonly path: v.ObjectSchema<{
7824
+ readonly organization_id_or_slug: v.StringSchema<undefined>;
7825
+ }, undefined>;
7826
+ readonly query: v.OptionalSchema<v.ObjectSchema<{
7827
+ readonly project: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
7828
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7829
+ }, undefined>, undefined>;
7830
+ }, undefined>;
7831
+ export declare const vListOrganizationCodeownersAssociationsResponse: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
7832
+ readonly associations: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
7833
+ readonly errors: v.ObjectSchema<{
7834
+ readonly missing_user_emails: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7835
+ readonly missing_external_users: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7836
+ readonly missing_external_teams: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7837
+ readonly teams_without_access: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7838
+ readonly users_without_access: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7839
+ }, undefined>;
7840
+ }, undefined>, undefined>;
7664
7841
  export declare const vGetOrganizationConfigIntegrationsData: v.ObjectSchema<{
7665
7842
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
7666
7843
  readonly path: v.ObjectSchema<{
@@ -12752,6 +12929,32 @@ export declare const vListOrganizationRepoCommitsResponse: v.ArraySchema<v.Objec
12752
12929
  readonly email: v.StringSchema<undefined>;
12753
12930
  }, undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>], undefined>, undefined>;
12754
12931
  }, undefined>, undefined>;
12932
+ export declare const vUpdateOrganizationRepositorySettingsData: v.ObjectSchema<{
12933
+ readonly body: v.ObjectSchema<{
12934
+ readonly repositoryIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, v.MaxLengthAction<number[], 1000, undefined>]>;
12935
+ readonly enabledCodeReview: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
12936
+ readonly codeReviewTriggers: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["on_new_commit", "on_ready_for_review"], undefined>, undefined>, undefined>;
12937
+ }, undefined>;
12938
+ readonly path: v.ObjectSchema<{
12939
+ readonly organization_id_or_slug: v.StringSchema<undefined>;
12940
+ }, undefined>;
12941
+ readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
12942
+ }, undefined>;
12943
+ export declare const vUpdateOrganizationRepositorySettingsResponse: v.ArraySchema<v.ObjectSchema<{
12944
+ readonly url: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
12945
+ readonly provider: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
12946
+ readonly status: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
12947
+ readonly integrationId: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
12948
+ readonly externalSlug: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
12949
+ readonly externalId: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
12950
+ readonly settings: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
12951
+ readonly enabledCodeReview: v.BooleanSchema<undefined>;
12952
+ readonly codeReviewTriggers: v.ArraySchema<v.StringSchema<undefined>, undefined>;
12953
+ }, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
12954
+ readonly id: v.StringSchema<undefined>;
12955
+ readonly name: v.StringSchema<undefined>;
12956
+ readonly dateCreated: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
12957
+ }, undefined>, undefined>;
12755
12958
  export declare const vListOrganizationScimV2GroupsData: v.ObjectSchema<{
12756
12959
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
12757
12960
  readonly path: v.ObjectSchema<{