@sentry/api 0.377.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,7 +6738,7 @@ 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
6743
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
6623
6744
  flag: string;
@@ -6626,7 +6747,7 @@ export declare const zGetFlagLogResponse: z.ZodObject<{
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
6752
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
6632
6753
  flag: string;
@@ -6637,7 +6758,7 @@ 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
6763
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
6643
6764
  flag: string;
@@ -6648,7 +6769,7 @@ 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
6774
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
6654
6775
  flag: string;
@@ -11839,7 +11960,7 @@ 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
11965
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
11845
11966
  flag: string;
@@ -11848,7 +11969,7 @@ export declare const zListFlagLogsResponse: z.ZodObject<{
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
11974
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
11854
11975
  flag: string;
@@ -11859,7 +11980,7 @@ 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
11985
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
11865
11986
  flag: string;
@@ -11870,7 +11991,7 @@ 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
11996
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
11876
11997
  flag: string;
@@ -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,11 +20428,11 @@ 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
  }>;
@@ -26772,11 +26903,11 @@ export declare const zProjectCodeOwners: z.ZodObject<{
26772
26903
  } | null;
26773
26904
  projectSlug: string;
26774
26905
  projectId: string;
26906
+ stackRoot: string;
26907
+ sourceRoot: string;
26775
26908
  defaultBranch: string | null;
26776
26909
  repoId: string;
26777
26910
  repoName: string;
26778
- stackRoot: string;
26779
- sourceRoot: string;
26780
26911
  automaticallyGenerated: boolean;
26781
26912
  hasCodeOwner: boolean;
26782
26913
  }, {
@@ -26793,11 +26924,11 @@ export declare const zProjectCodeOwners: z.ZodObject<{
26793
26924
  } | null;
26794
26925
  projectSlug: string;
26795
26926
  projectId: string;
26927
+ stackRoot: string;
26928
+ sourceRoot: string;
26796
26929
  defaultBranch: string | null;
26797
26930
  repoId: string;
26798
26931
  repoName: string;
26799
- stackRoot: string;
26800
- sourceRoot: string;
26801
26932
  automaticallyGenerated: boolean;
26802
26933
  hasCodeOwner: boolean;
26803
26934
  }>>;
@@ -26932,11 +27063,11 @@ export declare const zProjectCodeOwners: z.ZodObject<{
26932
27063
  } | null;
26933
27064
  projectSlug: string;
26934
27065
  projectId: string;
27066
+ stackRoot: string;
27067
+ sourceRoot: string;
26935
27068
  defaultBranch: string | null;
26936
27069
  repoId: string;
26937
27070
  repoName: string;
26938
- stackRoot: string;
26939
- sourceRoot: string;
26940
27071
  automaticallyGenerated: boolean;
26941
27072
  hasCodeOwner: boolean;
26942
27073
  } | undefined;
@@ -26985,11 +27116,11 @@ export declare const zProjectCodeOwners: z.ZodObject<{
26985
27116
  } | null;
26986
27117
  projectSlug: string;
26987
27118
  projectId: string;
27119
+ stackRoot: string;
27120
+ sourceRoot: string;
26988
27121
  defaultBranch: string | null;
26989
27122
  repoId: string;
26990
27123
  repoName: string;
26991
- stackRoot: string;
26992
- sourceRoot: string;
26993
27124
  automaticallyGenerated: boolean;
26994
27125
  hasCodeOwner: boolean;
26995
27126
  } | undefined;
@@ -27072,11 +27203,11 @@ export declare const zProjectCodeOwnersList: z.ZodArray<z.ZodObject<{
27072
27203
  } | null;
27073
27204
  projectSlug: string;
27074
27205
  projectId: string;
27206
+ stackRoot: string;
27207
+ sourceRoot: string;
27075
27208
  defaultBranch: string | null;
27076
27209
  repoId: string;
27077
27210
  repoName: string;
27078
- stackRoot: string;
27079
- sourceRoot: string;
27080
27211
  automaticallyGenerated: boolean;
27081
27212
  hasCodeOwner: boolean;
27082
27213
  }, {
@@ -27093,11 +27224,11 @@ export declare const zProjectCodeOwnersList: z.ZodArray<z.ZodObject<{
27093
27224
  } | null;
27094
27225
  projectSlug: string;
27095
27226
  projectId: string;
27227
+ stackRoot: string;
27228
+ sourceRoot: string;
27096
27229
  defaultBranch: string | null;
27097
27230
  repoId: string;
27098
27231
  repoName: string;
27099
- stackRoot: string;
27100
- sourceRoot: string;
27101
27232
  automaticallyGenerated: boolean;
27102
27233
  hasCodeOwner: boolean;
27103
27234
  }>>;
@@ -27232,11 +27363,11 @@ export declare const zProjectCodeOwnersList: z.ZodArray<z.ZodObject<{
27232
27363
  } | null;
27233
27364
  projectSlug: string;
27234
27365
  projectId: string;
27366
+ stackRoot: string;
27367
+ sourceRoot: string;
27235
27368
  defaultBranch: string | null;
27236
27369
  repoId: string;
27237
27370
  repoName: string;
27238
- stackRoot: string;
27239
- sourceRoot: string;
27240
27371
  automaticallyGenerated: boolean;
27241
27372
  hasCodeOwner: boolean;
27242
27373
  } | undefined;
@@ -27285,11 +27416,11 @@ export declare const zProjectCodeOwnersList: z.ZodArray<z.ZodObject<{
27285
27416
  } | null;
27286
27417
  projectSlug: string;
27287
27418
  projectId: string;
27419
+ stackRoot: string;
27420
+ sourceRoot: string;
27288
27421
  defaultBranch: string | null;
27289
27422
  repoId: string;
27290
27423
  repoName: string;
27291
- stackRoot: string;
27292
- sourceRoot: string;
27293
27424
  automaticallyGenerated: boolean;
27294
27425
  hasCodeOwner: boolean;
27295
27426
  } | undefined;
@@ -33727,11 +33858,11 @@ export declare const zStacktraceLinkResponse: z.ZodObject<{
33727
33858
  } | null;
33728
33859
  projectSlug: string;
33729
33860
  projectId: string;
33861
+ stackRoot: string;
33862
+ sourceRoot: string;
33730
33863
  defaultBranch: string | null;
33731
33864
  repoId: string;
33732
33865
  repoName: string;
33733
- stackRoot: string;
33734
- sourceRoot: string;
33735
33866
  automaticallyGenerated: boolean;
33736
33867
  hasCodeOwner: boolean;
33737
33868
  }, {
@@ -33748,11 +33879,11 @@ export declare const zStacktraceLinkResponse: z.ZodObject<{
33748
33879
  } | null;
33749
33880
  projectSlug: string;
33750
33881
  projectId: string;
33882
+ stackRoot: string;
33883
+ sourceRoot: string;
33751
33884
  defaultBranch: string | null;
33752
33885
  repoId: string;
33753
33886
  repoName: string;
33754
- stackRoot: string;
33755
- sourceRoot: string;
33756
33887
  automaticallyGenerated: boolean;
33757
33888
  hasCodeOwner: boolean;
33758
33889
  }>, z.ZodNull]>;
@@ -33862,11 +33993,11 @@ export declare const zStacktraceLinkResponse: z.ZodObject<{
33862
33993
  } | null;
33863
33994
  projectSlug: string;
33864
33995
  projectId: string;
33996
+ stackRoot: string;
33997
+ sourceRoot: string;
33865
33998
  defaultBranch: string | null;
33866
33999
  repoId: string;
33867
34000
  repoName: string;
33868
- stackRoot: string;
33869
- sourceRoot: string;
33870
34001
  automaticallyGenerated: boolean;
33871
34002
  hasCodeOwner: boolean;
33872
34003
  } | null;
@@ -33912,11 +34043,11 @@ export declare const zStacktraceLinkResponse: z.ZodObject<{
33912
34043
  } | null;
33913
34044
  projectSlug: string;
33914
34045
  projectId: string;
34046
+ stackRoot: string;
34047
+ sourceRoot: string;
33915
34048
  defaultBranch: string | null;
33916
34049
  repoId: string;
33917
34050
  repoName: string;
33918
- stackRoot: string;
33919
- sourceRoot: string;
33920
34051
  automaticallyGenerated: boolean;
33921
34052
  hasCodeOwner: boolean;
33922
34053
  } | null;
@@ -37910,11 +38041,11 @@ export declare const zListOrganizationCodeMappingsResponse2: z.ZodArray<z.ZodObj
37910
38041
  } | null;
37911
38042
  projectSlug: string;
37912
38043
  projectId: string;
38044
+ stackRoot: string;
38045
+ sourceRoot: string;
37913
38046
  defaultBranch: string | null;
37914
38047
  repoId: string;
37915
38048
  repoName: string;
37916
- stackRoot: string;
37917
- sourceRoot: string;
37918
38049
  automaticallyGenerated: boolean;
37919
38050
  hasCodeOwner: boolean;
37920
38051
  }, {
@@ -37931,11 +38062,11 @@ export declare const zListOrganizationCodeMappingsResponse2: z.ZodArray<z.ZodObj
37931
38062
  } | null;
37932
38063
  projectSlug: string;
37933
38064
  projectId: string;
38065
+ stackRoot: string;
38066
+ sourceRoot: string;
37934
38067
  defaultBranch: string | null;
37935
38068
  repoId: string;
37936
38069
  repoName: string;
37937
- stackRoot: string;
37938
- sourceRoot: string;
37939
38070
  automaticallyGenerated: boolean;
37940
38071
  hasCodeOwner: boolean;
37941
38072
  }>, "many">;
@@ -37950,16 +38081,16 @@ export declare const zCreateOrganizationCodeMappingData: z.ZodObject<{
37950
38081
  }, "strip", z.ZodTypeAny, {
37951
38082
  project_id: number;
37952
38083
  integration_id: number;
37953
- repository_id: number;
37954
38084
  stack_root: string;
37955
38085
  source_root: string;
38086
+ repository_id: number;
37956
38087
  default_branch?: string | undefined;
37957
38088
  }, {
37958
38089
  project_id: number;
37959
38090
  integration_id: number;
37960
- repository_id: number;
37961
38091
  stack_root: string;
37962
38092
  source_root: string;
38093
+ repository_id: number;
37963
38094
  default_branch?: string | undefined;
37964
38095
  }>;
37965
38096
  path: z.ZodObject<{
@@ -37974,9 +38105,9 @@ export declare const zCreateOrganizationCodeMappingData: z.ZodObject<{
37974
38105
  body: {
37975
38106
  project_id: number;
37976
38107
  integration_id: number;
37977
- repository_id: number;
37978
38108
  stack_root: string;
37979
38109
  source_root: string;
38110
+ repository_id: number;
37980
38111
  default_branch?: string | undefined;
37981
38112
  };
37982
38113
  path: {
@@ -37987,9 +38118,9 @@ export declare const zCreateOrganizationCodeMappingData: z.ZodObject<{
37987
38118
  body: {
37988
38119
  project_id: number;
37989
38120
  integration_id: number;
37990
- repository_id: number;
37991
38121
  stack_root: string;
37992
38122
  source_root: string;
38123
+ repository_id: number;
37993
38124
  default_branch?: string | undefined;
37994
38125
  };
37995
38126
  path: {
@@ -38048,11 +38179,11 @@ export declare const zCreateOrganizationCodeMappingResponse: z.ZodObject<{
38048
38179
  } | null;
38049
38180
  projectSlug: string;
38050
38181
  projectId: string;
38182
+ stackRoot: string;
38183
+ sourceRoot: string;
38051
38184
  defaultBranch: string | null;
38052
38185
  repoId: string;
38053
38186
  repoName: string;
38054
- stackRoot: string;
38055
- sourceRoot: string;
38056
38187
  automaticallyGenerated: boolean;
38057
38188
  hasCodeOwner: boolean;
38058
38189
  }, {
@@ -38069,14 +38200,169 @@ export declare const zCreateOrganizationCodeMappingResponse: z.ZodObject<{
38069
38200
  } | null;
38070
38201
  projectSlug: string;
38071
38202
  projectId: string;
38203
+ stackRoot: string;
38204
+ sourceRoot: string;
38072
38205
  defaultBranch: string | null;
38073
38206
  repoId: string;
38074
38207
  repoName: string;
38075
- stackRoot: string;
38076
- sourceRoot: string;
38077
38208
  automaticallyGenerated: boolean;
38078
38209
  hasCodeOwner: boolean;
38079
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
+ }>]>;
38080
38366
  export declare const zListOrganizationCodeownersAssociationsData: z.ZodObject<{
38081
38367
  body: z.ZodOptional<z.ZodNever>;
38082
38368
  path: z.ZodObject<{
@@ -45709,7 +45995,7 @@ export declare const zListOrganizationFlagLogsResponse: z.ZodObject<{
45709
45995
  tags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
45710
45996
  }, "strip", z.ZodTypeAny, {
45711
45997
  id: number;
45712
- action: "created" | "deleted" | "updated";
45998
+ action: "created" | "updated" | "deleted";
45713
45999
  tags: Record<string, unknown>;
45714
46000
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
45715
46001
  flag: string;
@@ -45718,7 +46004,7 @@ export declare const zListOrganizationFlagLogsResponse: z.ZodObject<{
45718
46004
  createdByType: "name" | "email" | "id" | null;
45719
46005
  }, {
45720
46006
  id: number;
45721
- action: "created" | "deleted" | "updated";
46007
+ action: "created" | "updated" | "deleted";
45722
46008
  tags: Record<string, unknown>;
45723
46009
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
45724
46010
  flag: string;
@@ -45729,7 +46015,7 @@ export declare const zListOrganizationFlagLogsResponse: z.ZodObject<{
45729
46015
  }, "strip", z.ZodTypeAny, {
45730
46016
  data: {
45731
46017
  id: number;
45732
- action: "created" | "deleted" | "updated";
46018
+ action: "created" | "updated" | "deleted";
45733
46019
  tags: Record<string, unknown>;
45734
46020
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
45735
46021
  flag: string;
@@ -45740,7 +46026,7 @@ export declare const zListOrganizationFlagLogsResponse: z.ZodObject<{
45740
46026
  }, {
45741
46027
  data: {
45742
46028
  id: number;
45743
- action: "created" | "deleted" | "updated";
46029
+ action: "created" | "updated" | "deleted";
45744
46030
  tags: Record<string, unknown>;
45745
46031
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
45746
46032
  flag: string;
@@ -45789,7 +46075,7 @@ export declare const zRetrieveOrganizationFlagLogResponse: z.ZodObject<{
45789
46075
  tags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
45790
46076
  }, "strip", z.ZodTypeAny, {
45791
46077
  id: number;
45792
- action: "created" | "deleted" | "updated";
46078
+ action: "created" | "updated" | "deleted";
45793
46079
  tags: Record<string, unknown>;
45794
46080
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
45795
46081
  flag: string;
@@ -45798,7 +46084,7 @@ export declare const zRetrieveOrganizationFlagLogResponse: z.ZodObject<{
45798
46084
  createdByType: "name" | "email" | "id" | null;
45799
46085
  }, {
45800
46086
  id: number;
45801
- action: "created" | "deleted" | "updated";
46087
+ action: "created" | "updated" | "deleted";
45802
46088
  tags: Record<string, unknown>;
45803
46089
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
45804
46090
  flag: string;
@@ -45809,7 +46095,7 @@ export declare const zRetrieveOrganizationFlagLogResponse: z.ZodObject<{
45809
46095
  }, "strip", z.ZodTypeAny, {
45810
46096
  data: {
45811
46097
  id: number;
45812
- action: "created" | "deleted" | "updated";
46098
+ action: "created" | "updated" | "deleted";
45813
46099
  tags: Record<string, unknown>;
45814
46100
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
45815
46101
  flag: string;
@@ -45820,7 +46106,7 @@ export declare const zRetrieveOrganizationFlagLogResponse: z.ZodObject<{
45820
46106
  }, {
45821
46107
  data: {
45822
46108
  id: number;
45823
- action: "created" | "deleted" | "updated";
46109
+ action: "created" | "updated" | "deleted";
45824
46110
  tags: Record<string, unknown>;
45825
46111
  provider: "generic" | "flagpole" | "launchdarkly" | "unleash" | "statsig" | null;
45826
46112
  flag: string;
@@ -73380,11 +73666,11 @@ export declare const zListProjectCodeOwnersResponse: z.ZodArray<z.ZodObject<{
73380
73666
  } | null;
73381
73667
  projectSlug: string;
73382
73668
  projectId: string;
73669
+ stackRoot: string;
73670
+ sourceRoot: string;
73383
73671
  defaultBranch: string | null;
73384
73672
  repoId: string;
73385
73673
  repoName: string;
73386
- stackRoot: string;
73387
- sourceRoot: string;
73388
73674
  automaticallyGenerated: boolean;
73389
73675
  hasCodeOwner: boolean;
73390
73676
  }, {
@@ -73401,11 +73687,11 @@ export declare const zListProjectCodeOwnersResponse: z.ZodArray<z.ZodObject<{
73401
73687
  } | null;
73402
73688
  projectSlug: string;
73403
73689
  projectId: string;
73690
+ stackRoot: string;
73691
+ sourceRoot: string;
73404
73692
  defaultBranch: string | null;
73405
73693
  repoId: string;
73406
73694
  repoName: string;
73407
- stackRoot: string;
73408
- sourceRoot: string;
73409
73695
  automaticallyGenerated: boolean;
73410
73696
  hasCodeOwner: boolean;
73411
73697
  }>>;
@@ -73540,11 +73826,11 @@ export declare const zListProjectCodeOwnersResponse: z.ZodArray<z.ZodObject<{
73540
73826
  } | null;
73541
73827
  projectSlug: string;
73542
73828
  projectId: string;
73829
+ stackRoot: string;
73830
+ sourceRoot: string;
73543
73831
  defaultBranch: string | null;
73544
73832
  repoId: string;
73545
73833
  repoName: string;
73546
- stackRoot: string;
73547
- sourceRoot: string;
73548
73834
  automaticallyGenerated: boolean;
73549
73835
  hasCodeOwner: boolean;
73550
73836
  } | undefined;
@@ -73593,11 +73879,11 @@ export declare const zListProjectCodeOwnersResponse: z.ZodArray<z.ZodObject<{
73593
73879
  } | null;
73594
73880
  projectSlug: string;
73595
73881
  projectId: string;
73882
+ stackRoot: string;
73883
+ sourceRoot: string;
73596
73884
  defaultBranch: string | null;
73597
73885
  repoId: string;
73598
73886
  repoName: string;
73599
- stackRoot: string;
73600
- sourceRoot: string;
73601
73887
  automaticallyGenerated: boolean;
73602
73888
  hasCodeOwner: boolean;
73603
73889
  } | undefined;
@@ -73713,11 +73999,11 @@ export declare const zCreateProjectCodeOwnersResponse: z.ZodObject<{
73713
73999
  } | null;
73714
74000
  projectSlug: string;
73715
74001
  projectId: string;
74002
+ stackRoot: string;
74003
+ sourceRoot: string;
73716
74004
  defaultBranch: string | null;
73717
74005
  repoId: string;
73718
74006
  repoName: string;
73719
- stackRoot: string;
73720
- sourceRoot: string;
73721
74007
  automaticallyGenerated: boolean;
73722
74008
  hasCodeOwner: boolean;
73723
74009
  }, {
@@ -73734,11 +74020,11 @@ export declare const zCreateProjectCodeOwnersResponse: z.ZodObject<{
73734
74020
  } | null;
73735
74021
  projectSlug: string;
73736
74022
  projectId: string;
74023
+ stackRoot: string;
74024
+ sourceRoot: string;
73737
74025
  defaultBranch: string | null;
73738
74026
  repoId: string;
73739
74027
  repoName: string;
73740
- stackRoot: string;
73741
- sourceRoot: string;
73742
74028
  automaticallyGenerated: boolean;
73743
74029
  hasCodeOwner: boolean;
73744
74030
  }>>;
@@ -73873,11 +74159,11 @@ export declare const zCreateProjectCodeOwnersResponse: z.ZodObject<{
73873
74159
  } | null;
73874
74160
  projectSlug: string;
73875
74161
  projectId: string;
74162
+ stackRoot: string;
74163
+ sourceRoot: string;
73876
74164
  defaultBranch: string | null;
73877
74165
  repoId: string;
73878
74166
  repoName: string;
73879
- stackRoot: string;
73880
- sourceRoot: string;
73881
74167
  automaticallyGenerated: boolean;
73882
74168
  hasCodeOwner: boolean;
73883
74169
  } | undefined;
@@ -73926,11 +74212,11 @@ export declare const zCreateProjectCodeOwnersResponse: z.ZodObject<{
73926
74212
  } | null;
73927
74213
  projectSlug: string;
73928
74214
  projectId: string;
74215
+ stackRoot: string;
74216
+ sourceRoot: string;
73929
74217
  defaultBranch: string | null;
73930
74218
  repoId: string;
73931
74219
  repoName: string;
73932
- stackRoot: string;
73933
- sourceRoot: string;
73934
74220
  automaticallyGenerated: boolean;
73935
74221
  hasCodeOwner: boolean;
73936
74222
  } | undefined;
@@ -74073,11 +74359,11 @@ export declare const zRetrieveProjectCodeOwnersResponse: z.ZodObject<{
74073
74359
  } | null;
74074
74360
  projectSlug: string;
74075
74361
  projectId: string;
74362
+ stackRoot: string;
74363
+ sourceRoot: string;
74076
74364
  defaultBranch: string | null;
74077
74365
  repoId: string;
74078
74366
  repoName: string;
74079
- stackRoot: string;
74080
- sourceRoot: string;
74081
74367
  automaticallyGenerated: boolean;
74082
74368
  hasCodeOwner: boolean;
74083
74369
  }, {
@@ -74094,11 +74380,11 @@ export declare const zRetrieveProjectCodeOwnersResponse: z.ZodObject<{
74094
74380
  } | null;
74095
74381
  projectSlug: string;
74096
74382
  projectId: string;
74383
+ stackRoot: string;
74384
+ sourceRoot: string;
74097
74385
  defaultBranch: string | null;
74098
74386
  repoId: string;
74099
74387
  repoName: string;
74100
- stackRoot: string;
74101
- sourceRoot: string;
74102
74388
  automaticallyGenerated: boolean;
74103
74389
  hasCodeOwner: boolean;
74104
74390
  }>>;
@@ -74233,11 +74519,11 @@ export declare const zRetrieveProjectCodeOwnersResponse: z.ZodObject<{
74233
74519
  } | null;
74234
74520
  projectSlug: string;
74235
74521
  projectId: string;
74522
+ stackRoot: string;
74523
+ sourceRoot: string;
74236
74524
  defaultBranch: string | null;
74237
74525
  repoId: string;
74238
74526
  repoName: string;
74239
- stackRoot: string;
74240
- sourceRoot: string;
74241
74527
  automaticallyGenerated: boolean;
74242
74528
  hasCodeOwner: boolean;
74243
74529
  } | undefined;
@@ -74286,11 +74572,11 @@ export declare const zRetrieveProjectCodeOwnersResponse: z.ZodObject<{
74286
74572
  } | null;
74287
74573
  projectSlug: string;
74288
74574
  projectId: string;
74575
+ stackRoot: string;
74576
+ sourceRoot: string;
74289
74577
  defaultBranch: string | null;
74290
74578
  repoId: string;
74291
74579
  repoName: string;
74292
- stackRoot: string;
74293
- sourceRoot: string;
74294
74580
  automaticallyGenerated: boolean;
74295
74581
  hasCodeOwner: boolean;
74296
74582
  } | undefined;
@@ -74411,11 +74697,11 @@ export declare const zUpdateProjectCodeOwnersResponse: z.ZodObject<{
74411
74697
  } | null;
74412
74698
  projectSlug: string;
74413
74699
  projectId: string;
74700
+ stackRoot: string;
74701
+ sourceRoot: string;
74414
74702
  defaultBranch: string | null;
74415
74703
  repoId: string;
74416
74704
  repoName: string;
74417
- stackRoot: string;
74418
- sourceRoot: string;
74419
74705
  automaticallyGenerated: boolean;
74420
74706
  hasCodeOwner: boolean;
74421
74707
  }, {
@@ -74432,11 +74718,11 @@ export declare const zUpdateProjectCodeOwnersResponse: z.ZodObject<{
74432
74718
  } | null;
74433
74719
  projectSlug: string;
74434
74720
  projectId: string;
74721
+ stackRoot: string;
74722
+ sourceRoot: string;
74435
74723
  defaultBranch: string | null;
74436
74724
  repoId: string;
74437
74725
  repoName: string;
74438
- stackRoot: string;
74439
- sourceRoot: string;
74440
74726
  automaticallyGenerated: boolean;
74441
74727
  hasCodeOwner: boolean;
74442
74728
  }>>;
@@ -74571,11 +74857,11 @@ export declare const zUpdateProjectCodeOwnersResponse: z.ZodObject<{
74571
74857
  } | null;
74572
74858
  projectSlug: string;
74573
74859
  projectId: string;
74860
+ stackRoot: string;
74861
+ sourceRoot: string;
74574
74862
  defaultBranch: string | null;
74575
74863
  repoId: string;
74576
74864
  repoName: string;
74577
- stackRoot: string;
74578
- sourceRoot: string;
74579
74865
  automaticallyGenerated: boolean;
74580
74866
  hasCodeOwner: boolean;
74581
74867
  } | undefined;
@@ -74624,11 +74910,11 @@ export declare const zUpdateProjectCodeOwnersResponse: z.ZodObject<{
74624
74910
  } | null;
74625
74911
  projectSlug: string;
74626
74912
  projectId: string;
74913
+ stackRoot: string;
74914
+ sourceRoot: string;
74627
74915
  defaultBranch: string | null;
74628
74916
  repoId: string;
74629
74917
  repoName: string;
74630
- stackRoot: string;
74631
- sourceRoot: string;
74632
74918
  automaticallyGenerated: boolean;
74633
74919
  hasCodeOwner: boolean;
74634
74920
  } | undefined;
@@ -83676,11 +83962,11 @@ export declare const zGetProjectStacktraceLinkResponse: z.ZodObject<{
83676
83962
  } | null;
83677
83963
  projectSlug: string;
83678
83964
  projectId: string;
83965
+ stackRoot: string;
83966
+ sourceRoot: string;
83679
83967
  defaultBranch: string | null;
83680
83968
  repoId: string;
83681
83969
  repoName: string;
83682
- stackRoot: string;
83683
- sourceRoot: string;
83684
83970
  automaticallyGenerated: boolean;
83685
83971
  hasCodeOwner: boolean;
83686
83972
  }, {
@@ -83697,11 +83983,11 @@ export declare const zGetProjectStacktraceLinkResponse: z.ZodObject<{
83697
83983
  } | null;
83698
83984
  projectSlug: string;
83699
83985
  projectId: string;
83986
+ stackRoot: string;
83987
+ sourceRoot: string;
83700
83988
  defaultBranch: string | null;
83701
83989
  repoId: string;
83702
83990
  repoName: string;
83703
- stackRoot: string;
83704
- sourceRoot: string;
83705
83991
  automaticallyGenerated: boolean;
83706
83992
  hasCodeOwner: boolean;
83707
83993
  }>, z.ZodNull]>;
@@ -83811,11 +84097,11 @@ export declare const zGetProjectStacktraceLinkResponse: z.ZodObject<{
83811
84097
  } | null;
83812
84098
  projectSlug: string;
83813
84099
  projectId: string;
84100
+ stackRoot: string;
84101
+ sourceRoot: string;
83814
84102
  defaultBranch: string | null;
83815
84103
  repoId: string;
83816
84104
  repoName: string;
83817
- stackRoot: string;
83818
- sourceRoot: string;
83819
84105
  automaticallyGenerated: boolean;
83820
84106
  hasCodeOwner: boolean;
83821
84107
  } | null;
@@ -83861,11 +84147,11 @@ export declare const zGetProjectStacktraceLinkResponse: z.ZodObject<{
83861
84147
  } | null;
83862
84148
  projectSlug: string;
83863
84149
  projectId: string;
84150
+ stackRoot: string;
84151
+ sourceRoot: string;
83864
84152
  defaultBranch: string | null;
83865
84153
  repoId: string;
83866
84154
  repoName: string;
83867
- stackRoot: string;
83868
- sourceRoot: string;
83869
84155
  automaticallyGenerated: boolean;
83870
84156
  hasCodeOwner: boolean;
83871
84157
  } | null;