@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/zod.gen.d.ts CHANGED
@@ -195,6 +195,127 @@ export declare const zBaseTeam: z.ZodObject<{
195
195
  hasAccess: boolean;
196
196
  isPending: boolean;
197
197
  }>;
198
+ export declare const zBulkCodeMappingsPartialResponse: z.ZodObject<{
199
+ created: z.ZodNumber;
200
+ updated: z.ZodNumber;
201
+ errors: z.ZodNumber;
202
+ mappings: z.ZodArray<z.ZodObject<{
203
+ stackRoot: z.ZodString;
204
+ sourceRoot: z.ZodString;
205
+ status: z.ZodEnum<["created", "updated", "error"]>;
206
+ detail: z.ZodOptional<z.ZodString>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ status: "error" | "created" | "updated";
209
+ stackRoot: string;
210
+ sourceRoot: string;
211
+ detail?: string | undefined;
212
+ }, {
213
+ status: "error" | "created" | "updated";
214
+ stackRoot: string;
215
+ sourceRoot: string;
216
+ detail?: string | undefined;
217
+ }>, "many">;
218
+ }, "strip", z.ZodTypeAny, {
219
+ created: number;
220
+ updated: number;
221
+ errors: number;
222
+ mappings: {
223
+ status: "error" | "created" | "updated";
224
+ stackRoot: string;
225
+ sourceRoot: string;
226
+ detail?: string | undefined;
227
+ }[];
228
+ }, {
229
+ created: number;
230
+ updated: number;
231
+ errors: number;
232
+ mappings: {
233
+ status: "error" | "created" | "updated";
234
+ stackRoot: string;
235
+ sourceRoot: string;
236
+ detail?: string | undefined;
237
+ }[];
238
+ }>;
239
+ /**
240
+ * Allows parameters to be defined in snake case, but passed as camel case.
241
+ *
242
+ * Errors are output in camel case.
243
+ */
244
+ export declare const zBulkCodeMappingsRequest: z.ZodObject<{
245
+ project: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
246
+ repository: z.ZodString;
247
+ mappings: z.ZodArray<z.ZodObject<{
248
+ stack_root: z.ZodString;
249
+ source_root: z.ZodString;
250
+ }, "strip", z.ZodTypeAny, {
251
+ stack_root: string;
252
+ source_root: string;
253
+ }, {
254
+ stack_root: string;
255
+ source_root: string;
256
+ }>, "many">;
257
+ provider: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
258
+ default_branch: z.ZodOptional<z.ZodString>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ project: string | number;
261
+ mappings: {
262
+ stack_root: string;
263
+ source_root: string;
264
+ }[];
265
+ repository: string;
266
+ provider?: string | null | undefined;
267
+ default_branch?: string | undefined;
268
+ }, {
269
+ project: string | number;
270
+ mappings: {
271
+ stack_root: string;
272
+ source_root: string;
273
+ }[];
274
+ repository: string;
275
+ provider?: string | null | undefined;
276
+ default_branch?: string | undefined;
277
+ }>;
278
+ export declare const zBulkCodeMappingsResponse: z.ZodObject<{
279
+ created: z.ZodNumber;
280
+ updated: z.ZodNumber;
281
+ errors: z.ZodNumber;
282
+ mappings: z.ZodArray<z.ZodObject<{
283
+ stackRoot: z.ZodString;
284
+ sourceRoot: z.ZodString;
285
+ status: z.ZodEnum<["created", "updated", "error"]>;
286
+ detail: z.ZodOptional<z.ZodString>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ status: "error" | "created" | "updated";
289
+ stackRoot: string;
290
+ sourceRoot: string;
291
+ detail?: string | undefined;
292
+ }, {
293
+ status: "error" | "created" | "updated";
294
+ stackRoot: string;
295
+ sourceRoot: string;
296
+ detail?: string | undefined;
297
+ }>, "many">;
298
+ }, "strip", z.ZodTypeAny, {
299
+ created: number;
300
+ updated: number;
301
+ errors: number;
302
+ mappings: {
303
+ status: "error" | "created" | "updated";
304
+ stackRoot: string;
305
+ sourceRoot: string;
306
+ detail?: string | undefined;
307
+ }[];
308
+ }, {
309
+ created: number;
310
+ updated: number;
311
+ errors: number;
312
+ mappings: {
313
+ status: "error" | "created" | "updated";
314
+ stackRoot: string;
315
+ sourceRoot: string;
316
+ detail?: string | undefined;
317
+ }[];
318
+ }>;
198
319
  export declare const zBulkEnvironment: z.ZodObject<{
199
320
  environmentNames: z.ZodArray<z.ZodString, "many">;
200
321
  isHidden: z.ZodBoolean;
@@ -1332,16 +1453,16 @@ export declare const zCreateOrganizationCodeMappingRequest: z.ZodObject<{
1332
1453
  }, "strip", z.ZodTypeAny, {
1333
1454
  project_id: number;
1334
1455
  integration_id: number;
1335
- repository_id: number;
1336
1456
  stack_root: string;
1337
1457
  source_root: string;
1458
+ repository_id: number;
1338
1459
  default_branch?: string | undefined;
1339
1460
  }, {
1340
1461
  project_id: number;
1341
1462
  integration_id: number;
1342
- repository_id: number;
1343
1463
  stack_root: string;
1344
1464
  source_root: string;
1465
+ repository_id: number;
1345
1466
  default_branch?: string | undefined;
1346
1467
  }>;
1347
1468
  export declare const zCreateOrganizationReleaseResponse: z.ZodObject<{
@@ -6617,19 +6738,19 @@ export declare const zGetFlagLogResponse: z.ZodObject<{
6617
6738
  tags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6618
6739
  }, "strip", z.ZodTypeAny, {
6619
6740
  id: number;
6620
- action: "created" | "deleted" | "updated";
6741
+ action: "created" | "updated" | "deleted";
6621
6742
  tags: Record<string, unknown>;
6622
- flag: string;
6623
6743
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
6744
+ flag: string;
6624
6745
  createdBy: string | null;
6625
6746
  createdAt: string;
6626
6747
  createdByType: "name" | "email" | "id" | null;
6627
6748
  }, {
6628
6749
  id: number;
6629
- action: "created" | "deleted" | "updated";
6750
+ action: "created" | "updated" | "deleted";
6630
6751
  tags: Record<string, unknown>;
6631
- flag: string;
6632
6752
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
6753
+ flag: string;
6633
6754
  createdBy: string | null;
6634
6755
  createdAt: string;
6635
6756
  createdByType: "name" | "email" | "id" | null;
@@ -6637,10 +6758,10 @@ export declare const zGetFlagLogResponse: z.ZodObject<{
6637
6758
  }, "strip", z.ZodTypeAny, {
6638
6759
  data: {
6639
6760
  id: number;
6640
- action: "created" | "deleted" | "updated";
6761
+ action: "created" | "updated" | "deleted";
6641
6762
  tags: Record<string, unknown>;
6642
- flag: string;
6643
6763
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
6764
+ flag: string;
6644
6765
  createdBy: string | null;
6645
6766
  createdAt: string;
6646
6767
  createdByType: "name" | "email" | "id" | null;
@@ -6648,10 +6769,10 @@ export declare const zGetFlagLogResponse: z.ZodObject<{
6648
6769
  }, {
6649
6770
  data: {
6650
6771
  id: number;
6651
- action: "created" | "deleted" | "updated";
6772
+ action: "created" | "updated" | "deleted";
6652
6773
  tags: Record<string, unknown>;
6653
- flag: string;
6654
6774
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
6775
+ flag: string;
6655
6776
  createdBy: string | null;
6656
6777
  createdAt: string;
6657
6778
  createdByType: "name" | "email" | "id" | null;
@@ -11839,19 +11960,19 @@ export declare const zListFlagLogsResponse: z.ZodObject<{
11839
11960
  tags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11840
11961
  }, "strip", z.ZodTypeAny, {
11841
11962
  id: number;
11842
- action: "created" | "deleted" | "updated";
11963
+ action: "created" | "updated" | "deleted";
11843
11964
  tags: Record<string, unknown>;
11844
- flag: string;
11845
11965
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
11966
+ flag: string;
11846
11967
  createdBy: string | null;
11847
11968
  createdAt: string;
11848
11969
  createdByType: "name" | "email" | "id" | null;
11849
11970
  }, {
11850
11971
  id: number;
11851
- action: "created" | "deleted" | "updated";
11972
+ action: "created" | "updated" | "deleted";
11852
11973
  tags: Record<string, unknown>;
11853
- flag: string;
11854
11974
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
11975
+ flag: string;
11855
11976
  createdBy: string | null;
11856
11977
  createdAt: string;
11857
11978
  createdByType: "name" | "email" | "id" | null;
@@ -11859,10 +11980,10 @@ export declare const zListFlagLogsResponse: z.ZodObject<{
11859
11980
  }, "strip", z.ZodTypeAny, {
11860
11981
  data: {
11861
11982
  id: number;
11862
- action: "created" | "deleted" | "updated";
11983
+ action: "created" | "updated" | "deleted";
11863
11984
  tags: Record<string, unknown>;
11864
- flag: string;
11865
11985
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
11986
+ flag: string;
11866
11987
  createdBy: string | null;
11867
11988
  createdAt: string;
11868
11989
  createdByType: "name" | "email" | "id" | null;
@@ -11870,10 +11991,10 @@ export declare const zListFlagLogsResponse: z.ZodObject<{
11870
11991
  }, {
11871
11992
  data: {
11872
11993
  id: number;
11873
- action: "created" | "deleted" | "updated";
11994
+ action: "created" | "updated" | "deleted";
11874
11995
  tags: Record<string, unknown>;
11875
- flag: string;
11876
11996
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
11997
+ flag: string;
11877
11998
  createdBy: string | null;
11878
11999
  createdAt: string;
11879
12000
  createdByType: "name" | "email" | "id" | null;
@@ -13546,11 +13667,11 @@ export declare const zListOrganizationCodeMappingsResponse: z.ZodArray<z.ZodObje
13546
13667
  } | null;
13547
13668
  projectSlug: string;
13548
13669
  projectId: string;
13670
+ stackRoot: string;
13671
+ sourceRoot: string;
13549
13672
  defaultBranch: string | null;
13550
13673
  repoId: string;
13551
13674
  repoName: string;
13552
- stackRoot: string;
13553
- sourceRoot: string;
13554
13675
  automaticallyGenerated: boolean;
13555
13676
  hasCodeOwner: boolean;
13556
13677
  }, {
@@ -13567,11 +13688,11 @@ export declare const zListOrganizationCodeMappingsResponse: z.ZodArray<z.ZodObje
13567
13688
  } | null;
13568
13689
  projectSlug: string;
13569
13690
  projectId: string;
13691
+ stackRoot: string;
13692
+ sourceRoot: string;
13570
13693
  defaultBranch: string | null;
13571
13694
  repoId: string;
13572
13695
  repoName: string;
13573
- stackRoot: string;
13574
- sourceRoot: string;
13575
13696
  automaticallyGenerated: boolean;
13576
13697
  hasCodeOwner: boolean;
13577
13698
  }>, "many">;
@@ -18645,6 +18766,16 @@ export declare const zListWorkflow: z.ZodArray<z.ZodObject<{
18645
18766
  detectorIds: string[] | null;
18646
18767
  lastTriggered: string | null;
18647
18768
  }>, "many">;
18769
+ export declare const zMappingItem: z.ZodObject<{
18770
+ stack_root: z.ZodString;
18771
+ source_root: z.ZodString;
18772
+ }, "strip", z.ZodTypeAny, {
18773
+ stack_root: string;
18774
+ source_root: string;
18775
+ }, {
18776
+ stack_root: string;
18777
+ source_root: string;
18778
+ }>;
18648
18779
  export declare const zMonitor: z.ZodObject<{
18649
18780
  id: z.ZodString;
18650
18781
  name: z.ZodString;
@@ -20276,11 +20407,11 @@ export declare const zOrganizationCodeMappingResponse: z.ZodObject<{
20276
20407
  } | null;
20277
20408
  projectSlug: string;
20278
20409
  projectId: string;
20410
+ stackRoot: string;
20411
+ sourceRoot: string;
20279
20412
  defaultBranch: string | null;
20280
20413
  repoId: string;
20281
20414
  repoName: string;
20282
- stackRoot: string;
20283
- sourceRoot: string;
20284
20415
  automaticallyGenerated: boolean;
20285
20416
  hasCodeOwner: boolean;
20286
20417
  }, {
@@ -20297,14 +20428,54 @@ export declare const zOrganizationCodeMappingResponse: z.ZodObject<{
20297
20428
  } | null;
20298
20429
  projectSlug: string;
20299
20430
  projectId: string;
20431
+ stackRoot: string;
20432
+ sourceRoot: string;
20300
20433
  defaultBranch: string | null;
20301
20434
  repoId: string;
20302
20435
  repoName: string;
20303
- stackRoot: string;
20304
- sourceRoot: string;
20305
20436
  automaticallyGenerated: boolean;
20306
20437
  hasCodeOwner: boolean;
20307
20438
  }>;
20439
+ export declare const zOrganizationCodeOwnersAssociationsResponse: z.ZodRecord<z.ZodString, z.ZodObject<{
20440
+ associations: z.ZodRecord<z.ZodString, z.ZodString>;
20441
+ errors: z.ZodObject<{
20442
+ missing_user_emails: z.ZodArray<z.ZodString, "many">;
20443
+ missing_external_users: z.ZodArray<z.ZodString, "many">;
20444
+ missing_external_teams: z.ZodArray<z.ZodString, "many">;
20445
+ teams_without_access: z.ZodArray<z.ZodString, "many">;
20446
+ users_without_access: z.ZodArray<z.ZodString, "many">;
20447
+ }, "strip", z.ZodTypeAny, {
20448
+ missing_user_emails: string[];
20449
+ missing_external_users: string[];
20450
+ missing_external_teams: string[];
20451
+ teams_without_access: string[];
20452
+ users_without_access: string[];
20453
+ }, {
20454
+ missing_user_emails: string[];
20455
+ missing_external_users: string[];
20456
+ missing_external_teams: string[];
20457
+ teams_without_access: string[];
20458
+ users_without_access: string[];
20459
+ }>;
20460
+ }, "strip", z.ZodTypeAny, {
20461
+ errors: {
20462
+ missing_user_emails: string[];
20463
+ missing_external_users: string[];
20464
+ missing_external_teams: string[];
20465
+ teams_without_access: string[];
20466
+ users_without_access: string[];
20467
+ };
20468
+ associations: Record<string, string>;
20469
+ }, {
20470
+ errors: {
20471
+ missing_user_emails: string[];
20472
+ missing_external_users: string[];
20473
+ missing_external_teams: string[];
20474
+ teams_without_access: string[];
20475
+ users_without_access: string[];
20476
+ };
20477
+ associations: Record<string, string>;
20478
+ }>>;
20308
20479
  export declare const zOrganizationConfigIntegrationsEndpointResponse: z.ZodObject<{
20309
20480
  providers: z.ZodArray<z.ZodObject<{
20310
20481
  key: z.ZodString;
@@ -24051,6 +24222,55 @@ export declare const zOrganizationRelease: z.ZodObject<{
24051
24222
  previousCommit?: string | null | undefined;
24052
24223
  }[] | undefined;
24053
24224
  }>;
24225
+ export declare const zOrganizationRepositorySettingsResponse: z.ZodArray<z.ZodObject<{
24226
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
24227
+ provider: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
24228
+ status: z.ZodOptional<z.ZodString>;
24229
+ integrationId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
24230
+ externalSlug: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
24231
+ externalId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
24232
+ settings: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
24233
+ enabledCodeReview: z.ZodBoolean;
24234
+ codeReviewTriggers: z.ZodArray<z.ZodString, "many">;
24235
+ }, "strip", z.ZodTypeAny, {
24236
+ codeReviewTriggers: string[];
24237
+ enabledCodeReview: boolean;
24238
+ }, {
24239
+ codeReviewTriggers: string[];
24240
+ enabledCodeReview: boolean;
24241
+ }>, z.ZodNull]>>;
24242
+ id: z.ZodString;
24243
+ name: z.ZodString;
24244
+ dateCreated: z.ZodString;
24245
+ }, "strip", z.ZodTypeAny, {
24246
+ name: string;
24247
+ id: string;
24248
+ dateCreated: string;
24249
+ url?: string | null | undefined;
24250
+ integrationId?: string | null | undefined;
24251
+ provider?: Record<string, string> | undefined;
24252
+ status?: string | undefined;
24253
+ externalSlug?: string | null | undefined;
24254
+ externalId?: string | null | undefined;
24255
+ settings?: {
24256
+ codeReviewTriggers: string[];
24257
+ enabledCodeReview: boolean;
24258
+ } | null | undefined;
24259
+ }, {
24260
+ name: string;
24261
+ id: string;
24262
+ dateCreated: string;
24263
+ url?: string | null | undefined;
24264
+ integrationId?: string | null | undefined;
24265
+ provider?: Record<string, string> | undefined;
24266
+ status?: string | undefined;
24267
+ externalSlug?: string | null | undefined;
24268
+ externalId?: string | null | undefined;
24269
+ settings?: {
24270
+ codeReviewTriggers: string[];
24271
+ enabledCodeReview: boolean;
24272
+ } | null | undefined;
24273
+ }>, "many">;
24054
24274
  export declare const zOrganizationSentryAppDetailsResponse: z.ZodArray<z.ZodObject<{
24055
24275
  allowedOrigins: z.ZodArray<z.ZodString, "many">;
24056
24276
  avatars: z.ZodArray<z.ZodObject<{
@@ -26683,11 +26903,11 @@ export declare const zProjectCodeOwners: z.ZodObject<{
26683
26903
  } | null;
26684
26904
  projectSlug: string;
26685
26905
  projectId: string;
26906
+ stackRoot: string;
26907
+ sourceRoot: string;
26686
26908
  defaultBranch: string | null;
26687
26909
  repoId: string;
26688
26910
  repoName: string;
26689
- stackRoot: string;
26690
- sourceRoot: string;
26691
26911
  automaticallyGenerated: boolean;
26692
26912
  hasCodeOwner: boolean;
26693
26913
  }, {
@@ -26704,11 +26924,11 @@ export declare const zProjectCodeOwners: z.ZodObject<{
26704
26924
  } | null;
26705
26925
  projectSlug: string;
26706
26926
  projectId: string;
26927
+ stackRoot: string;
26928
+ sourceRoot: string;
26707
26929
  defaultBranch: string | null;
26708
26930
  repoId: string;
26709
26931
  repoName: string;
26710
- stackRoot: string;
26711
- sourceRoot: string;
26712
26932
  automaticallyGenerated: boolean;
26713
26933
  hasCodeOwner: boolean;
26714
26934
  }>>;
@@ -26843,11 +27063,11 @@ export declare const zProjectCodeOwners: z.ZodObject<{
26843
27063
  } | null;
26844
27064
  projectSlug: string;
26845
27065
  projectId: string;
27066
+ stackRoot: string;
27067
+ sourceRoot: string;
26846
27068
  defaultBranch: string | null;
26847
27069
  repoId: string;
26848
27070
  repoName: string;
26849
- stackRoot: string;
26850
- sourceRoot: string;
26851
27071
  automaticallyGenerated: boolean;
26852
27072
  hasCodeOwner: boolean;
26853
27073
  } | undefined;
@@ -26896,11 +27116,11 @@ export declare const zProjectCodeOwners: z.ZodObject<{
26896
27116
  } | null;
26897
27117
  projectSlug: string;
26898
27118
  projectId: string;
27119
+ stackRoot: string;
27120
+ sourceRoot: string;
26899
27121
  defaultBranch: string | null;
26900
27122
  repoId: string;
26901
27123
  repoName: string;
26902
- stackRoot: string;
26903
- sourceRoot: string;
26904
27124
  automaticallyGenerated: boolean;
26905
27125
  hasCodeOwner: boolean;
26906
27126
  } | undefined;
@@ -26983,11 +27203,11 @@ export declare const zProjectCodeOwnersList: z.ZodArray<z.ZodObject<{
26983
27203
  } | null;
26984
27204
  projectSlug: string;
26985
27205
  projectId: string;
27206
+ stackRoot: string;
27207
+ sourceRoot: string;
26986
27208
  defaultBranch: string | null;
26987
27209
  repoId: string;
26988
27210
  repoName: string;
26989
- stackRoot: string;
26990
- sourceRoot: string;
26991
27211
  automaticallyGenerated: boolean;
26992
27212
  hasCodeOwner: boolean;
26993
27213
  }, {
@@ -27004,11 +27224,11 @@ export declare const zProjectCodeOwnersList: z.ZodArray<z.ZodObject<{
27004
27224
  } | null;
27005
27225
  projectSlug: string;
27006
27226
  projectId: string;
27227
+ stackRoot: string;
27228
+ sourceRoot: string;
27007
27229
  defaultBranch: string | null;
27008
27230
  repoId: string;
27009
27231
  repoName: string;
27010
- stackRoot: string;
27011
- sourceRoot: string;
27012
27232
  automaticallyGenerated: boolean;
27013
27233
  hasCodeOwner: boolean;
27014
27234
  }>>;
@@ -27143,11 +27363,11 @@ export declare const zProjectCodeOwnersList: z.ZodArray<z.ZodObject<{
27143
27363
  } | null;
27144
27364
  projectSlug: string;
27145
27365
  projectId: string;
27366
+ stackRoot: string;
27367
+ sourceRoot: string;
27146
27368
  defaultBranch: string | null;
27147
27369
  repoId: string;
27148
27370
  repoName: string;
27149
- stackRoot: string;
27150
- sourceRoot: string;
27151
27371
  automaticallyGenerated: boolean;
27152
27372
  hasCodeOwner: boolean;
27153
27373
  } | undefined;
@@ -27196,11 +27416,11 @@ export declare const zProjectCodeOwnersList: z.ZodArray<z.ZodObject<{
27196
27416
  } | null;
27197
27417
  projectSlug: string;
27198
27418
  projectId: string;
27419
+ stackRoot: string;
27420
+ sourceRoot: string;
27199
27421
  defaultBranch: string | null;
27200
27422
  repoId: string;
27201
27423
  repoName: string;
27202
- stackRoot: string;
27203
- sourceRoot: string;
27204
27424
  automaticallyGenerated: boolean;
27205
27425
  hasCodeOwner: boolean;
27206
27426
  } | undefined;
@@ -29314,6 +29534,19 @@ export declare const zReplayDeletionJobCreateData: z.ZodObject<{
29314
29534
  rangeStart: string;
29315
29535
  rangeEnd: string;
29316
29536
  }>;
29537
+ export declare const zRepositorySettings: z.ZodObject<{
29538
+ repositoryIds: z.ZodArray<z.ZodNumber, "many">;
29539
+ enabledCodeReview: z.ZodOptional<z.ZodBoolean>;
29540
+ codeReviewTriggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["on_new_commit", "on_ready_for_review"]>, "many">>;
29541
+ }, "strip", z.ZodTypeAny, {
29542
+ repositoryIds: number[];
29543
+ codeReviewTriggers?: ("on_new_commit" | "on_ready_for_review")[] | undefined;
29544
+ enabledCodeReview?: boolean | undefined;
29545
+ }, {
29546
+ repositoryIds: number[];
29547
+ codeReviewTriggers?: ("on_new_commit" | "on_ready_for_review")[] | undefined;
29548
+ enabledCodeReview?: boolean | undefined;
29549
+ }>;
29317
29550
  /**
29318
29551
  * Span page plus conversation-level metadata.
29319
29552
  */
@@ -33625,11 +33858,11 @@ export declare const zStacktraceLinkResponse: z.ZodObject<{
33625
33858
  } | null;
33626
33859
  projectSlug: string;
33627
33860
  projectId: string;
33861
+ stackRoot: string;
33862
+ sourceRoot: string;
33628
33863
  defaultBranch: string | null;
33629
33864
  repoId: string;
33630
33865
  repoName: string;
33631
- stackRoot: string;
33632
- sourceRoot: string;
33633
33866
  automaticallyGenerated: boolean;
33634
33867
  hasCodeOwner: boolean;
33635
33868
  }, {
@@ -33646,11 +33879,11 @@ export declare const zStacktraceLinkResponse: z.ZodObject<{
33646
33879
  } | null;
33647
33880
  projectSlug: string;
33648
33881
  projectId: string;
33882
+ stackRoot: string;
33883
+ sourceRoot: string;
33649
33884
  defaultBranch: string | null;
33650
33885
  repoId: string;
33651
33886
  repoName: string;
33652
- stackRoot: string;
33653
- sourceRoot: string;
33654
33887
  automaticallyGenerated: boolean;
33655
33888
  hasCodeOwner: boolean;
33656
33889
  }>, z.ZodNull]>;
@@ -33760,11 +33993,11 @@ export declare const zStacktraceLinkResponse: z.ZodObject<{
33760
33993
  } | null;
33761
33994
  projectSlug: string;
33762
33995
  projectId: string;
33996
+ stackRoot: string;
33997
+ sourceRoot: string;
33763
33998
  defaultBranch: string | null;
33764
33999
  repoId: string;
33765
34000
  repoName: string;
33766
- stackRoot: string;
33767
- sourceRoot: string;
33768
34001
  automaticallyGenerated: boolean;
33769
34002
  hasCodeOwner: boolean;
33770
34003
  } | null;
@@ -33810,11 +34043,11 @@ export declare const zStacktraceLinkResponse: z.ZodObject<{
33810
34043
  } | null;
33811
34044
  projectSlug: string;
33812
34045
  projectId: string;
34046
+ stackRoot: string;
34047
+ sourceRoot: string;
33813
34048
  defaultBranch: string | null;
33814
34049
  repoId: string;
33815
34050
  repoName: string;
33816
- stackRoot: string;
33817
- sourceRoot: string;
33818
34051
  automaticallyGenerated: boolean;
33819
34052
  hasCodeOwner: boolean;
33820
34053
  } | null;
@@ -37808,11 +38041,11 @@ export declare const zListOrganizationCodeMappingsResponse2: z.ZodArray<z.ZodObj
37808
38041
  } | null;
37809
38042
  projectSlug: string;
37810
38043
  projectId: string;
38044
+ stackRoot: string;
38045
+ sourceRoot: string;
37811
38046
  defaultBranch: string | null;
37812
38047
  repoId: string;
37813
38048
  repoName: string;
37814
- stackRoot: string;
37815
- sourceRoot: string;
37816
38049
  automaticallyGenerated: boolean;
37817
38050
  hasCodeOwner: boolean;
37818
38051
  }, {
@@ -37829,11 +38062,11 @@ export declare const zListOrganizationCodeMappingsResponse2: z.ZodArray<z.ZodObj
37829
38062
  } | null;
37830
38063
  projectSlug: string;
37831
38064
  projectId: string;
38065
+ stackRoot: string;
38066
+ sourceRoot: string;
37832
38067
  defaultBranch: string | null;
37833
38068
  repoId: string;
37834
38069
  repoName: string;
37835
- stackRoot: string;
37836
- sourceRoot: string;
37837
38070
  automaticallyGenerated: boolean;
37838
38071
  hasCodeOwner: boolean;
37839
38072
  }>, "many">;
@@ -37848,16 +38081,16 @@ export declare const zCreateOrganizationCodeMappingData: z.ZodObject<{
37848
38081
  }, "strip", z.ZodTypeAny, {
37849
38082
  project_id: number;
37850
38083
  integration_id: number;
37851
- repository_id: number;
37852
38084
  stack_root: string;
37853
38085
  source_root: string;
38086
+ repository_id: number;
37854
38087
  default_branch?: string | undefined;
37855
38088
  }, {
37856
38089
  project_id: number;
37857
38090
  integration_id: number;
37858
- repository_id: number;
37859
38091
  stack_root: string;
37860
38092
  source_root: string;
38093
+ repository_id: number;
37861
38094
  default_branch?: string | undefined;
37862
38095
  }>;
37863
38096
  path: z.ZodObject<{
@@ -37872,9 +38105,9 @@ export declare const zCreateOrganizationCodeMappingData: z.ZodObject<{
37872
38105
  body: {
37873
38106
  project_id: number;
37874
38107
  integration_id: number;
37875
- repository_id: number;
37876
38108
  stack_root: string;
37877
38109
  source_root: string;
38110
+ repository_id: number;
37878
38111
  default_branch?: string | undefined;
37879
38112
  };
37880
38113
  path: {
@@ -37885,9 +38118,9 @@ export declare const zCreateOrganizationCodeMappingData: z.ZodObject<{
37885
38118
  body: {
37886
38119
  project_id: number;
37887
38120
  integration_id: number;
37888
- repository_id: number;
37889
38121
  stack_root: string;
37890
38122
  source_root: string;
38123
+ repository_id: number;
37891
38124
  default_branch?: string | undefined;
37892
38125
  };
37893
38126
  path: {
@@ -37946,11 +38179,11 @@ export declare const zCreateOrganizationCodeMappingResponse: z.ZodObject<{
37946
38179
  } | null;
37947
38180
  projectSlug: string;
37948
38181
  projectId: string;
38182
+ stackRoot: string;
38183
+ sourceRoot: string;
37949
38184
  defaultBranch: string | null;
37950
38185
  repoId: string;
37951
38186
  repoName: string;
37952
- stackRoot: string;
37953
- sourceRoot: string;
37954
38187
  automaticallyGenerated: boolean;
37955
38188
  hasCodeOwner: boolean;
37956
38189
  }, {
@@ -37967,14 +38200,247 @@ export declare const zCreateOrganizationCodeMappingResponse: z.ZodObject<{
37967
38200
  } | null;
37968
38201
  projectSlug: string;
37969
38202
  projectId: string;
38203
+ stackRoot: string;
38204
+ sourceRoot: string;
37970
38205
  defaultBranch: string | null;
37971
38206
  repoId: string;
37972
38207
  repoName: string;
37973
- stackRoot: string;
37974
- sourceRoot: string;
37975
38208
  automaticallyGenerated: boolean;
37976
38209
  hasCodeOwner: boolean;
37977
38210
  }>;
38211
+ export declare const zBulkUpsertOrganizationCodeMappingsData: z.ZodObject<{
38212
+ body: z.ZodObject<{
38213
+ project: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
38214
+ repository: z.ZodString;
38215
+ mappings: z.ZodArray<z.ZodObject<{
38216
+ stack_root: z.ZodString;
38217
+ source_root: z.ZodString;
38218
+ }, "strip", z.ZodTypeAny, {
38219
+ stack_root: string;
38220
+ source_root: string;
38221
+ }, {
38222
+ stack_root: string;
38223
+ source_root: string;
38224
+ }>, "many">;
38225
+ provider: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
38226
+ default_branch: z.ZodOptional<z.ZodString>;
38227
+ }, "strip", z.ZodTypeAny, {
38228
+ project: string | number;
38229
+ mappings: {
38230
+ stack_root: string;
38231
+ source_root: string;
38232
+ }[];
38233
+ repository: string;
38234
+ provider?: string | null | undefined;
38235
+ default_branch?: string | undefined;
38236
+ }, {
38237
+ project: string | number;
38238
+ mappings: {
38239
+ stack_root: string;
38240
+ source_root: string;
38241
+ }[];
38242
+ repository: string;
38243
+ provider?: string | null | undefined;
38244
+ default_branch?: string | undefined;
38245
+ }>;
38246
+ path: z.ZodObject<{
38247
+ organization_id_or_slug: z.ZodString;
38248
+ }, "strip", z.ZodTypeAny, {
38249
+ organization_id_or_slug: string;
38250
+ }, {
38251
+ organization_id_or_slug: string;
38252
+ }>;
38253
+ query: z.ZodOptional<z.ZodNever>;
38254
+ }, "strip", z.ZodTypeAny, {
38255
+ body: {
38256
+ project: string | number;
38257
+ mappings: {
38258
+ stack_root: string;
38259
+ source_root: string;
38260
+ }[];
38261
+ repository: string;
38262
+ provider?: string | null | undefined;
38263
+ default_branch?: string | undefined;
38264
+ };
38265
+ path: {
38266
+ organization_id_or_slug: string;
38267
+ };
38268
+ query?: undefined;
38269
+ }, {
38270
+ body: {
38271
+ project: string | number;
38272
+ mappings: {
38273
+ stack_root: string;
38274
+ source_root: string;
38275
+ }[];
38276
+ repository: string;
38277
+ provider?: string | null | undefined;
38278
+ default_branch?: string | undefined;
38279
+ };
38280
+ path: {
38281
+ organization_id_or_slug: string;
38282
+ };
38283
+ query?: undefined;
38284
+ }>;
38285
+ export declare const zBulkUpsertOrganizationCodeMappingsResponse: z.ZodUnion<[z.ZodObject<{
38286
+ created: z.ZodNumber;
38287
+ updated: z.ZodNumber;
38288
+ errors: z.ZodNumber;
38289
+ mappings: z.ZodArray<z.ZodObject<{
38290
+ stackRoot: z.ZodString;
38291
+ sourceRoot: z.ZodString;
38292
+ status: z.ZodEnum<["created", "updated", "error"]>;
38293
+ detail: z.ZodOptional<z.ZodString>;
38294
+ }, "strip", z.ZodTypeAny, {
38295
+ status: "error" | "created" | "updated";
38296
+ stackRoot: string;
38297
+ sourceRoot: string;
38298
+ detail?: string | undefined;
38299
+ }, {
38300
+ status: "error" | "created" | "updated";
38301
+ stackRoot: string;
38302
+ sourceRoot: string;
38303
+ detail?: string | undefined;
38304
+ }>, "many">;
38305
+ }, "strip", z.ZodTypeAny, {
38306
+ created: number;
38307
+ updated: number;
38308
+ errors: number;
38309
+ mappings: {
38310
+ status: "error" | "created" | "updated";
38311
+ stackRoot: string;
38312
+ sourceRoot: string;
38313
+ detail?: string | undefined;
38314
+ }[];
38315
+ }, {
38316
+ created: number;
38317
+ updated: number;
38318
+ errors: number;
38319
+ mappings: {
38320
+ status: "error" | "created" | "updated";
38321
+ stackRoot: string;
38322
+ sourceRoot: string;
38323
+ detail?: string | undefined;
38324
+ }[];
38325
+ }>, z.ZodObject<{
38326
+ created: z.ZodNumber;
38327
+ updated: z.ZodNumber;
38328
+ errors: z.ZodNumber;
38329
+ mappings: z.ZodArray<z.ZodObject<{
38330
+ stackRoot: z.ZodString;
38331
+ sourceRoot: z.ZodString;
38332
+ status: z.ZodEnum<["created", "updated", "error"]>;
38333
+ detail: z.ZodOptional<z.ZodString>;
38334
+ }, "strip", z.ZodTypeAny, {
38335
+ status: "error" | "created" | "updated";
38336
+ stackRoot: string;
38337
+ sourceRoot: string;
38338
+ detail?: string | undefined;
38339
+ }, {
38340
+ status: "error" | "created" | "updated";
38341
+ stackRoot: string;
38342
+ sourceRoot: string;
38343
+ detail?: string | undefined;
38344
+ }>, "many">;
38345
+ }, "strip", z.ZodTypeAny, {
38346
+ created: number;
38347
+ updated: number;
38348
+ errors: number;
38349
+ mappings: {
38350
+ status: "error" | "created" | "updated";
38351
+ stackRoot: string;
38352
+ sourceRoot: string;
38353
+ detail?: string | undefined;
38354
+ }[];
38355
+ }, {
38356
+ created: number;
38357
+ updated: number;
38358
+ errors: number;
38359
+ mappings: {
38360
+ status: "error" | "created" | "updated";
38361
+ stackRoot: string;
38362
+ sourceRoot: string;
38363
+ detail?: string | undefined;
38364
+ }[];
38365
+ }>]>;
38366
+ export declare const zListOrganizationCodeownersAssociationsData: z.ZodObject<{
38367
+ body: z.ZodOptional<z.ZodNever>;
38368
+ path: z.ZodObject<{
38369
+ organization_id_or_slug: z.ZodString;
38370
+ }, "strip", z.ZodTypeAny, {
38371
+ organization_id_or_slug: string;
38372
+ }, {
38373
+ organization_id_or_slug: string;
38374
+ }>;
38375
+ query: z.ZodOptional<z.ZodObject<{
38376
+ project: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
38377
+ provider: z.ZodOptional<z.ZodString>;
38378
+ }, "strip", z.ZodTypeAny, {
38379
+ project?: string[] | undefined;
38380
+ provider?: string | undefined;
38381
+ }, {
38382
+ project?: string[] | undefined;
38383
+ provider?: string | undefined;
38384
+ }>>;
38385
+ }, "strip", z.ZodTypeAny, {
38386
+ path: {
38387
+ organization_id_or_slug: string;
38388
+ };
38389
+ query?: {
38390
+ project?: string[] | undefined;
38391
+ provider?: string | undefined;
38392
+ } | undefined;
38393
+ body?: undefined;
38394
+ }, {
38395
+ path: {
38396
+ organization_id_or_slug: string;
38397
+ };
38398
+ query?: {
38399
+ project?: string[] | undefined;
38400
+ provider?: string | undefined;
38401
+ } | undefined;
38402
+ body?: undefined;
38403
+ }>;
38404
+ export declare const zListOrganizationCodeownersAssociationsResponse: z.ZodRecord<z.ZodString, z.ZodObject<{
38405
+ associations: z.ZodRecord<z.ZodString, z.ZodString>;
38406
+ errors: z.ZodObject<{
38407
+ missing_user_emails: z.ZodArray<z.ZodString, "many">;
38408
+ missing_external_users: z.ZodArray<z.ZodString, "many">;
38409
+ missing_external_teams: z.ZodArray<z.ZodString, "many">;
38410
+ teams_without_access: z.ZodArray<z.ZodString, "many">;
38411
+ users_without_access: z.ZodArray<z.ZodString, "many">;
38412
+ }, "strip", z.ZodTypeAny, {
38413
+ missing_user_emails: string[];
38414
+ missing_external_users: string[];
38415
+ missing_external_teams: string[];
38416
+ teams_without_access: string[];
38417
+ users_without_access: string[];
38418
+ }, {
38419
+ missing_user_emails: string[];
38420
+ missing_external_users: string[];
38421
+ missing_external_teams: string[];
38422
+ teams_without_access: string[];
38423
+ users_without_access: string[];
38424
+ }>;
38425
+ }, "strip", z.ZodTypeAny, {
38426
+ errors: {
38427
+ missing_user_emails: string[];
38428
+ missing_external_users: string[];
38429
+ missing_external_teams: string[];
38430
+ teams_without_access: string[];
38431
+ users_without_access: string[];
38432
+ };
38433
+ associations: Record<string, string>;
38434
+ }, {
38435
+ errors: {
38436
+ missing_user_emails: string[];
38437
+ missing_external_users: string[];
38438
+ missing_external_teams: string[];
38439
+ teams_without_access: string[];
38440
+ users_without_access: string[];
38441
+ };
38442
+ associations: Record<string, string>;
38443
+ }>>;
37978
38444
  export declare const zGetOrganizationConfigIntegrationsData: z.ZodObject<{
37979
38445
  body: z.ZodOptional<z.ZodNever>;
37980
38446
  path: z.ZodObject<{
@@ -45474,8 +45940,8 @@ export declare const zListOrganizationFlagLogsData: z.ZodObject<{
45474
45940
  statsPeriod?: string | undefined;
45475
45941
  start?: string | undefined;
45476
45942
  end?: string | undefined;
45477
- flag?: string[] | undefined;
45478
45943
  provider?: ("unknown" | "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig")[] | undefined;
45944
+ flag?: string[] | undefined;
45479
45945
  }, {
45480
45946
  sort?: string | undefined;
45481
45947
  cursor?: string | undefined;
@@ -45483,8 +45949,8 @@ export declare const zListOrganizationFlagLogsData: z.ZodObject<{
45483
45949
  statsPeriod?: string | undefined;
45484
45950
  start?: string | undefined;
45485
45951
  end?: string | undefined;
45486
- flag?: string[] | undefined;
45487
45952
  provider?: ("unknown" | "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig")[] | undefined;
45953
+ flag?: string[] | undefined;
45488
45954
  }>>;
45489
45955
  }, "strip", z.ZodTypeAny, {
45490
45956
  path: {
@@ -45497,8 +45963,8 @@ export declare const zListOrganizationFlagLogsData: z.ZodObject<{
45497
45963
  statsPeriod?: string | undefined;
45498
45964
  start?: string | undefined;
45499
45965
  end?: string | undefined;
45500
- flag?: string[] | undefined;
45501
45966
  provider?: ("unknown" | "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig")[] | undefined;
45967
+ flag?: string[] | undefined;
45502
45968
  } | undefined;
45503
45969
  body?: undefined;
45504
45970
  }, {
@@ -45512,8 +45978,8 @@ export declare const zListOrganizationFlagLogsData: z.ZodObject<{
45512
45978
  statsPeriod?: string | undefined;
45513
45979
  start?: string | undefined;
45514
45980
  end?: string | undefined;
45515
- flag?: string[] | undefined;
45516
45981
  provider?: ("unknown" | "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig")[] | undefined;
45982
+ flag?: string[] | undefined;
45517
45983
  } | undefined;
45518
45984
  body?: undefined;
45519
45985
  }>;
@@ -45529,19 +45995,19 @@ export declare const zListOrganizationFlagLogsResponse: z.ZodObject<{
45529
45995
  tags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
45530
45996
  }, "strip", z.ZodTypeAny, {
45531
45997
  id: number;
45532
- action: "created" | "deleted" | "updated";
45998
+ action: "created" | "updated" | "deleted";
45533
45999
  tags: Record<string, unknown>;
45534
- flag: string;
45535
46000
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
46001
+ flag: string;
45536
46002
  createdBy: string | null;
45537
46003
  createdAt: string;
45538
46004
  createdByType: "name" | "email" | "id" | null;
45539
46005
  }, {
45540
46006
  id: number;
45541
- action: "created" | "deleted" | "updated";
46007
+ action: "created" | "updated" | "deleted";
45542
46008
  tags: Record<string, unknown>;
45543
- flag: string;
45544
46009
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
46010
+ flag: string;
45545
46011
  createdBy: string | null;
45546
46012
  createdAt: string;
45547
46013
  createdByType: "name" | "email" | "id" | null;
@@ -45549,10 +46015,10 @@ export declare const zListOrganizationFlagLogsResponse: z.ZodObject<{
45549
46015
  }, "strip", z.ZodTypeAny, {
45550
46016
  data: {
45551
46017
  id: number;
45552
- action: "created" | "deleted" | "updated";
46018
+ action: "created" | "updated" | "deleted";
45553
46019
  tags: Record<string, unknown>;
45554
- flag: string;
45555
46020
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
46021
+ flag: string;
45556
46022
  createdBy: string | null;
45557
46023
  createdAt: string;
45558
46024
  createdByType: "name" | "email" | "id" | null;
@@ -45560,10 +46026,10 @@ export declare const zListOrganizationFlagLogsResponse: z.ZodObject<{
45560
46026
  }, {
45561
46027
  data: {
45562
46028
  id: number;
45563
- action: "created" | "deleted" | "updated";
46029
+ action: "created" | "updated" | "deleted";
45564
46030
  tags: Record<string, unknown>;
45565
- flag: string;
45566
46031
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
46032
+ flag: string;
45567
46033
  createdBy: string | null;
45568
46034
  createdAt: string;
45569
46035
  createdByType: "name" | "email" | "id" | null;
@@ -45609,19 +46075,19 @@ export declare const zRetrieveOrganizationFlagLogResponse: z.ZodObject<{
45609
46075
  tags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
45610
46076
  }, "strip", z.ZodTypeAny, {
45611
46077
  id: number;
45612
- action: "created" | "deleted" | "updated";
46078
+ action: "created" | "updated" | "deleted";
45613
46079
  tags: Record<string, unknown>;
45614
- flag: string;
45615
46080
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
46081
+ flag: string;
45616
46082
  createdBy: string | null;
45617
46083
  createdAt: string;
45618
46084
  createdByType: "name" | "email" | "id" | null;
45619
46085
  }, {
45620
46086
  id: number;
45621
- action: "created" | "deleted" | "updated";
46087
+ action: "created" | "updated" | "deleted";
45622
46088
  tags: Record<string, unknown>;
45623
- flag: string;
45624
46089
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
46090
+ flag: string;
45625
46091
  createdBy: string | null;
45626
46092
  createdAt: string;
45627
46093
  createdByType: "name" | "email" | "id" | null;
@@ -45629,10 +46095,10 @@ export declare const zRetrieveOrganizationFlagLogResponse: z.ZodObject<{
45629
46095
  }, "strip", z.ZodTypeAny, {
45630
46096
  data: {
45631
46097
  id: number;
45632
- action: "created" | "deleted" | "updated";
46098
+ action: "created" | "updated" | "deleted";
45633
46099
  tags: Record<string, unknown>;
45634
- flag: string;
45635
46100
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
46101
+ flag: string;
45636
46102
  createdBy: string | null;
45637
46103
  createdAt: string;
45638
46104
  createdByType: "name" | "email" | "id" | null;
@@ -45640,10 +46106,10 @@ export declare const zRetrieveOrganizationFlagLogResponse: z.ZodObject<{
45640
46106
  }, {
45641
46107
  data: {
45642
46108
  id: number;
45643
- action: "created" | "deleted" | "updated";
46109
+ action: "created" | "updated" | "deleted";
45644
46110
  tags: Record<string, unknown>;
45645
- flag: string;
45646
46111
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
46112
+ flag: string;
45647
46113
  createdBy: string | null;
45648
46114
  createdAt: string;
45649
46115
  createdByType: "name" | "email" | "id" | null;
@@ -63660,6 +64126,98 @@ export declare const zListOrganizationRepoCommitsResponse: z.ZodArray<z.ZodObjec
63660
64126
  email: string;
63661
64127
  } | undefined;
63662
64128
  }>, "many">;
64129
+ export declare const zUpdateOrganizationRepositorySettingsData: z.ZodObject<{
64130
+ body: z.ZodObject<{
64131
+ repositoryIds: z.ZodArray<z.ZodNumber, "many">;
64132
+ enabledCodeReview: z.ZodOptional<z.ZodBoolean>;
64133
+ codeReviewTriggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["on_new_commit", "on_ready_for_review"]>, "many">>;
64134
+ }, "strip", z.ZodTypeAny, {
64135
+ repositoryIds: number[];
64136
+ codeReviewTriggers?: ("on_new_commit" | "on_ready_for_review")[] | undefined;
64137
+ enabledCodeReview?: boolean | undefined;
64138
+ }, {
64139
+ repositoryIds: number[];
64140
+ codeReviewTriggers?: ("on_new_commit" | "on_ready_for_review")[] | undefined;
64141
+ enabledCodeReview?: boolean | undefined;
64142
+ }>;
64143
+ path: z.ZodObject<{
64144
+ organization_id_or_slug: z.ZodString;
64145
+ }, "strip", z.ZodTypeAny, {
64146
+ organization_id_or_slug: string;
64147
+ }, {
64148
+ organization_id_or_slug: string;
64149
+ }>;
64150
+ query: z.ZodOptional<z.ZodNever>;
64151
+ }, "strip", z.ZodTypeAny, {
64152
+ body: {
64153
+ repositoryIds: number[];
64154
+ codeReviewTriggers?: ("on_new_commit" | "on_ready_for_review")[] | undefined;
64155
+ enabledCodeReview?: boolean | undefined;
64156
+ };
64157
+ path: {
64158
+ organization_id_or_slug: string;
64159
+ };
64160
+ query?: undefined;
64161
+ }, {
64162
+ body: {
64163
+ repositoryIds: number[];
64164
+ codeReviewTriggers?: ("on_new_commit" | "on_ready_for_review")[] | undefined;
64165
+ enabledCodeReview?: boolean | undefined;
64166
+ };
64167
+ path: {
64168
+ organization_id_or_slug: string;
64169
+ };
64170
+ query?: undefined;
64171
+ }>;
64172
+ export declare const zUpdateOrganizationRepositorySettingsResponse: z.ZodArray<z.ZodObject<{
64173
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
64174
+ provider: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
64175
+ status: z.ZodOptional<z.ZodString>;
64176
+ integrationId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
64177
+ externalSlug: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
64178
+ externalId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
64179
+ settings: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
64180
+ enabledCodeReview: z.ZodBoolean;
64181
+ codeReviewTriggers: z.ZodArray<z.ZodString, "many">;
64182
+ }, "strip", z.ZodTypeAny, {
64183
+ codeReviewTriggers: string[];
64184
+ enabledCodeReview: boolean;
64185
+ }, {
64186
+ codeReviewTriggers: string[];
64187
+ enabledCodeReview: boolean;
64188
+ }>, z.ZodNull]>>;
64189
+ id: z.ZodString;
64190
+ name: z.ZodString;
64191
+ dateCreated: z.ZodString;
64192
+ }, "strip", z.ZodTypeAny, {
64193
+ name: string;
64194
+ id: string;
64195
+ dateCreated: string;
64196
+ url?: string | null | undefined;
64197
+ integrationId?: string | null | undefined;
64198
+ provider?: Record<string, string> | undefined;
64199
+ status?: string | undefined;
64200
+ externalSlug?: string | null | undefined;
64201
+ externalId?: string | null | undefined;
64202
+ settings?: {
64203
+ codeReviewTriggers: string[];
64204
+ enabledCodeReview: boolean;
64205
+ } | null | undefined;
64206
+ }, {
64207
+ name: string;
64208
+ id: string;
64209
+ dateCreated: string;
64210
+ url?: string | null | undefined;
64211
+ integrationId?: string | null | undefined;
64212
+ provider?: Record<string, string> | undefined;
64213
+ status?: string | undefined;
64214
+ externalSlug?: string | null | undefined;
64215
+ externalId?: string | null | undefined;
64216
+ settings?: {
64217
+ codeReviewTriggers: string[];
64218
+ enabledCodeReview: boolean;
64219
+ } | null | undefined;
64220
+ }>, "many">;
63663
64221
  export declare const zListOrganizationScimV2GroupsData: z.ZodObject<{
63664
64222
  body: z.ZodOptional<z.ZodNever>;
63665
64223
  path: z.ZodObject<{
@@ -73108,11 +73666,11 @@ export declare const zListProjectCodeOwnersResponse: z.ZodArray<z.ZodObject<{
73108
73666
  } | null;
73109
73667
  projectSlug: string;
73110
73668
  projectId: string;
73669
+ stackRoot: string;
73670
+ sourceRoot: string;
73111
73671
  defaultBranch: string | null;
73112
73672
  repoId: string;
73113
73673
  repoName: string;
73114
- stackRoot: string;
73115
- sourceRoot: string;
73116
73674
  automaticallyGenerated: boolean;
73117
73675
  hasCodeOwner: boolean;
73118
73676
  }, {
@@ -73129,11 +73687,11 @@ export declare const zListProjectCodeOwnersResponse: z.ZodArray<z.ZodObject<{
73129
73687
  } | null;
73130
73688
  projectSlug: string;
73131
73689
  projectId: string;
73690
+ stackRoot: string;
73691
+ sourceRoot: string;
73132
73692
  defaultBranch: string | null;
73133
73693
  repoId: string;
73134
73694
  repoName: string;
73135
- stackRoot: string;
73136
- sourceRoot: string;
73137
73695
  automaticallyGenerated: boolean;
73138
73696
  hasCodeOwner: boolean;
73139
73697
  }>>;
@@ -73268,11 +73826,11 @@ export declare const zListProjectCodeOwnersResponse: z.ZodArray<z.ZodObject<{
73268
73826
  } | null;
73269
73827
  projectSlug: string;
73270
73828
  projectId: string;
73829
+ stackRoot: string;
73830
+ sourceRoot: string;
73271
73831
  defaultBranch: string | null;
73272
73832
  repoId: string;
73273
73833
  repoName: string;
73274
- stackRoot: string;
73275
- sourceRoot: string;
73276
73834
  automaticallyGenerated: boolean;
73277
73835
  hasCodeOwner: boolean;
73278
73836
  } | undefined;
@@ -73321,11 +73879,11 @@ export declare const zListProjectCodeOwnersResponse: z.ZodArray<z.ZodObject<{
73321
73879
  } | null;
73322
73880
  projectSlug: string;
73323
73881
  projectId: string;
73882
+ stackRoot: string;
73883
+ sourceRoot: string;
73324
73884
  defaultBranch: string | null;
73325
73885
  repoId: string;
73326
73886
  repoName: string;
73327
- stackRoot: string;
73328
- sourceRoot: string;
73329
73887
  automaticallyGenerated: boolean;
73330
73888
  hasCodeOwner: boolean;
73331
73889
  } | undefined;
@@ -73441,11 +73999,11 @@ export declare const zCreateProjectCodeOwnersResponse: z.ZodObject<{
73441
73999
  } | null;
73442
74000
  projectSlug: string;
73443
74001
  projectId: string;
74002
+ stackRoot: string;
74003
+ sourceRoot: string;
73444
74004
  defaultBranch: string | null;
73445
74005
  repoId: string;
73446
74006
  repoName: string;
73447
- stackRoot: string;
73448
- sourceRoot: string;
73449
74007
  automaticallyGenerated: boolean;
73450
74008
  hasCodeOwner: boolean;
73451
74009
  }, {
@@ -73462,11 +74020,11 @@ export declare const zCreateProjectCodeOwnersResponse: z.ZodObject<{
73462
74020
  } | null;
73463
74021
  projectSlug: string;
73464
74022
  projectId: string;
74023
+ stackRoot: string;
74024
+ sourceRoot: string;
73465
74025
  defaultBranch: string | null;
73466
74026
  repoId: string;
73467
74027
  repoName: string;
73468
- stackRoot: string;
73469
- sourceRoot: string;
73470
74028
  automaticallyGenerated: boolean;
73471
74029
  hasCodeOwner: boolean;
73472
74030
  }>>;
@@ -73601,11 +74159,11 @@ export declare const zCreateProjectCodeOwnersResponse: z.ZodObject<{
73601
74159
  } | null;
73602
74160
  projectSlug: string;
73603
74161
  projectId: string;
74162
+ stackRoot: string;
74163
+ sourceRoot: string;
73604
74164
  defaultBranch: string | null;
73605
74165
  repoId: string;
73606
74166
  repoName: string;
73607
- stackRoot: string;
73608
- sourceRoot: string;
73609
74167
  automaticallyGenerated: boolean;
73610
74168
  hasCodeOwner: boolean;
73611
74169
  } | undefined;
@@ -73654,11 +74212,11 @@ export declare const zCreateProjectCodeOwnersResponse: z.ZodObject<{
73654
74212
  } | null;
73655
74213
  projectSlug: string;
73656
74214
  projectId: string;
74215
+ stackRoot: string;
74216
+ sourceRoot: string;
73657
74217
  defaultBranch: string | null;
73658
74218
  repoId: string;
73659
74219
  repoName: string;
73660
- stackRoot: string;
73661
- sourceRoot: string;
73662
74220
  automaticallyGenerated: boolean;
73663
74221
  hasCodeOwner: boolean;
73664
74222
  } | undefined;
@@ -73801,11 +74359,11 @@ export declare const zRetrieveProjectCodeOwnersResponse: z.ZodObject<{
73801
74359
  } | null;
73802
74360
  projectSlug: string;
73803
74361
  projectId: string;
74362
+ stackRoot: string;
74363
+ sourceRoot: string;
73804
74364
  defaultBranch: string | null;
73805
74365
  repoId: string;
73806
74366
  repoName: string;
73807
- stackRoot: string;
73808
- sourceRoot: string;
73809
74367
  automaticallyGenerated: boolean;
73810
74368
  hasCodeOwner: boolean;
73811
74369
  }, {
@@ -73822,11 +74380,11 @@ export declare const zRetrieveProjectCodeOwnersResponse: z.ZodObject<{
73822
74380
  } | null;
73823
74381
  projectSlug: string;
73824
74382
  projectId: string;
74383
+ stackRoot: string;
74384
+ sourceRoot: string;
73825
74385
  defaultBranch: string | null;
73826
74386
  repoId: string;
73827
74387
  repoName: string;
73828
- stackRoot: string;
73829
- sourceRoot: string;
73830
74388
  automaticallyGenerated: boolean;
73831
74389
  hasCodeOwner: boolean;
73832
74390
  }>>;
@@ -73961,11 +74519,11 @@ export declare const zRetrieveProjectCodeOwnersResponse: z.ZodObject<{
73961
74519
  } | null;
73962
74520
  projectSlug: string;
73963
74521
  projectId: string;
74522
+ stackRoot: string;
74523
+ sourceRoot: string;
73964
74524
  defaultBranch: string | null;
73965
74525
  repoId: string;
73966
74526
  repoName: string;
73967
- stackRoot: string;
73968
- sourceRoot: string;
73969
74527
  automaticallyGenerated: boolean;
73970
74528
  hasCodeOwner: boolean;
73971
74529
  } | undefined;
@@ -74014,11 +74572,11 @@ export declare const zRetrieveProjectCodeOwnersResponse: z.ZodObject<{
74014
74572
  } | null;
74015
74573
  projectSlug: string;
74016
74574
  projectId: string;
74575
+ stackRoot: string;
74576
+ sourceRoot: string;
74017
74577
  defaultBranch: string | null;
74018
74578
  repoId: string;
74019
74579
  repoName: string;
74020
- stackRoot: string;
74021
- sourceRoot: string;
74022
74580
  automaticallyGenerated: boolean;
74023
74581
  hasCodeOwner: boolean;
74024
74582
  } | undefined;
@@ -74139,11 +74697,11 @@ export declare const zUpdateProjectCodeOwnersResponse: z.ZodObject<{
74139
74697
  } | null;
74140
74698
  projectSlug: string;
74141
74699
  projectId: string;
74700
+ stackRoot: string;
74701
+ sourceRoot: string;
74142
74702
  defaultBranch: string | null;
74143
74703
  repoId: string;
74144
74704
  repoName: string;
74145
- stackRoot: string;
74146
- sourceRoot: string;
74147
74705
  automaticallyGenerated: boolean;
74148
74706
  hasCodeOwner: boolean;
74149
74707
  }, {
@@ -74160,11 +74718,11 @@ export declare const zUpdateProjectCodeOwnersResponse: z.ZodObject<{
74160
74718
  } | null;
74161
74719
  projectSlug: string;
74162
74720
  projectId: string;
74721
+ stackRoot: string;
74722
+ sourceRoot: string;
74163
74723
  defaultBranch: string | null;
74164
74724
  repoId: string;
74165
74725
  repoName: string;
74166
- stackRoot: string;
74167
- sourceRoot: string;
74168
74726
  automaticallyGenerated: boolean;
74169
74727
  hasCodeOwner: boolean;
74170
74728
  }>>;
@@ -74299,11 +74857,11 @@ export declare const zUpdateProjectCodeOwnersResponse: z.ZodObject<{
74299
74857
  } | null;
74300
74858
  projectSlug: string;
74301
74859
  projectId: string;
74860
+ stackRoot: string;
74861
+ sourceRoot: string;
74302
74862
  defaultBranch: string | null;
74303
74863
  repoId: string;
74304
74864
  repoName: string;
74305
- stackRoot: string;
74306
- sourceRoot: string;
74307
74865
  automaticallyGenerated: boolean;
74308
74866
  hasCodeOwner: boolean;
74309
74867
  } | undefined;
@@ -74352,11 +74910,11 @@ export declare const zUpdateProjectCodeOwnersResponse: z.ZodObject<{
74352
74910
  } | null;
74353
74911
  projectSlug: string;
74354
74912
  projectId: string;
74913
+ stackRoot: string;
74914
+ sourceRoot: string;
74355
74915
  defaultBranch: string | null;
74356
74916
  repoId: string;
74357
74917
  repoName: string;
74358
- stackRoot: string;
74359
- sourceRoot: string;
74360
74918
  automaticallyGenerated: boolean;
74361
74919
  hasCodeOwner: boolean;
74362
74920
  } | undefined;
@@ -83404,11 +83962,11 @@ export declare const zGetProjectStacktraceLinkResponse: z.ZodObject<{
83404
83962
  } | null;
83405
83963
  projectSlug: string;
83406
83964
  projectId: string;
83965
+ stackRoot: string;
83966
+ sourceRoot: string;
83407
83967
  defaultBranch: string | null;
83408
83968
  repoId: string;
83409
83969
  repoName: string;
83410
- stackRoot: string;
83411
- sourceRoot: string;
83412
83970
  automaticallyGenerated: boolean;
83413
83971
  hasCodeOwner: boolean;
83414
83972
  }, {
@@ -83425,11 +83983,11 @@ export declare const zGetProjectStacktraceLinkResponse: z.ZodObject<{
83425
83983
  } | null;
83426
83984
  projectSlug: string;
83427
83985
  projectId: string;
83986
+ stackRoot: string;
83987
+ sourceRoot: string;
83428
83988
  defaultBranch: string | null;
83429
83989
  repoId: string;
83430
83990
  repoName: string;
83431
- stackRoot: string;
83432
- sourceRoot: string;
83433
83991
  automaticallyGenerated: boolean;
83434
83992
  hasCodeOwner: boolean;
83435
83993
  }>, z.ZodNull]>;
@@ -83539,11 +84097,11 @@ export declare const zGetProjectStacktraceLinkResponse: z.ZodObject<{
83539
84097
  } | null;
83540
84098
  projectSlug: string;
83541
84099
  projectId: string;
84100
+ stackRoot: string;
84101
+ sourceRoot: string;
83542
84102
  defaultBranch: string | null;
83543
84103
  repoId: string;
83544
84104
  repoName: string;
83545
- stackRoot: string;
83546
- sourceRoot: string;
83547
84105
  automaticallyGenerated: boolean;
83548
84106
  hasCodeOwner: boolean;
83549
84107
  } | null;
@@ -83589,11 +84147,11 @@ export declare const zGetProjectStacktraceLinkResponse: z.ZodObject<{
83589
84147
  } | null;
83590
84148
  projectSlug: string;
83591
84149
  projectId: string;
84150
+ stackRoot: string;
84151
+ sourceRoot: string;
83592
84152
  defaultBranch: string | null;
83593
84153
  repoId: string;
83594
84154
  repoName: string;
83595
- stackRoot: string;
83596
- sourceRoot: string;
83597
84155
  automaticallyGenerated: boolean;
83598
84156
  hasCodeOwner: boolean;
83599
84157
  } | null;