@sentry/api 0.166.0 → 0.168.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
@@ -17085,6 +17085,7 @@ export declare const zOrganizationMemberWithRoles: z.ZodObject<{
17085
17085
  role?: string | undefined;
17086
17086
  roleName?: string | undefined;
17087
17087
  }>;
17088
+ export declare const zOrganizationProfilingChunksResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
17088
17089
  export declare const zOrganizationProfilingFlamegraphResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
17089
17090
  export declare const zOrganizationProjectResponseDict: z.ZodArray<z.ZodObject<{
17090
17091
  latestDeploys: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodNull]>>;
@@ -17851,6 +17852,7 @@ export declare const zOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObj
17851
17852
  project_id: number;
17852
17853
  transaction: string;
17853
17854
  event_id: string;
17855
+ profiler_id: string;
17854
17856
  profile_id: string;
17855
17857
  description: string;
17856
17858
  measurements: Record<string, unknown>;
@@ -17883,7 +17885,6 @@ export declare const zOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObj
17883
17885
  }[];
17884
17886
  op: string;
17885
17887
  parent_span_id: string | null;
17886
- profiler_id: string;
17887
17888
  sdk_name: string;
17888
17889
  is_transaction: boolean;
17889
17890
  transaction_id: string;
@@ -17909,6 +17910,7 @@ export declare const zOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObj
17909
17910
  project_id: number;
17910
17911
  transaction: string;
17911
17912
  event_id: string;
17913
+ profiler_id: string;
17912
17914
  profile_id: string;
17913
17915
  description: string;
17914
17916
  measurements: Record<string, unknown>;
@@ -17941,7 +17943,6 @@ export declare const zOrganizationTraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObj
17941
17943
  }[];
17942
17944
  op: string;
17943
17945
  parent_span_id: string | null;
17944
- profiler_id: string;
17945
17946
  sdk_name: string;
17946
17947
  is_transaction: boolean;
17947
17948
  transaction_id: string;
@@ -24303,6 +24304,449 @@ export declare const zSource: z.ZodObject<{
24303
24304
  client_email?: string | undefined;
24304
24305
  private_key?: string | undefined;
24305
24306
  }>;
24307
+ export declare const zSourceMapDebug: z.ZodObject<{
24308
+ dist: z.ZodUnion<[z.ZodString, z.ZodNull]>;
24309
+ release: z.ZodUnion<[z.ZodString, z.ZodNull]>;
24310
+ exceptions: z.ZodArray<z.ZodObject<{
24311
+ frames: z.ZodArray<z.ZodObject<{
24312
+ debug_id_process: z.ZodObject<{
24313
+ debug_id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
24314
+ uploaded_source_file_with_correct_debug_id: z.ZodBoolean;
24315
+ uploaded_source_map_with_correct_debug_id: z.ZodBoolean;
24316
+ }, "strip", z.ZodTypeAny, {
24317
+ debug_id: string | null;
24318
+ uploaded_source_file_with_correct_debug_id: boolean;
24319
+ uploaded_source_map_with_correct_debug_id: boolean;
24320
+ }, {
24321
+ debug_id: string | null;
24322
+ uploaded_source_file_with_correct_debug_id: boolean;
24323
+ uploaded_source_map_with_correct_debug_id: boolean;
24324
+ }>;
24325
+ release_process: z.ZodUnion<[z.ZodObject<{
24326
+ abs_path: z.ZodString;
24327
+ matching_source_file_names: z.ZodArray<z.ZodString, "many">;
24328
+ matching_source_map_name: z.ZodUnion<[z.ZodString, z.ZodNull]>;
24329
+ source_map_reference: z.ZodUnion<[z.ZodString, z.ZodNull]>;
24330
+ source_file_lookup_result: z.ZodEnum<["found", "wrong-dist", "unsuccessful"]>;
24331
+ source_map_lookup_result: z.ZodEnum<["found", "wrong-dist", "unsuccessful"]>;
24332
+ }, "strip", z.ZodTypeAny, {
24333
+ abs_path: string;
24334
+ matching_source_file_names: string[];
24335
+ matching_source_map_name: string | null;
24336
+ source_map_reference: string | null;
24337
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24338
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24339
+ }, {
24340
+ abs_path: string;
24341
+ matching_source_file_names: string[];
24342
+ matching_source_map_name: string | null;
24343
+ source_map_reference: string | null;
24344
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24345
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24346
+ }>, z.ZodNull]>;
24347
+ scraping_process: z.ZodObject<{
24348
+ source_file: z.ZodUnion<[z.ZodObject<{
24349
+ url: z.ZodString;
24350
+ status: z.ZodEnum<["success"]>;
24351
+ }, "strip", z.ZodTypeAny, {
24352
+ url: string;
24353
+ status: "success";
24354
+ }, {
24355
+ url: string;
24356
+ status: "success";
24357
+ }>, z.ZodObject<{
24358
+ url: z.ZodString;
24359
+ status: z.ZodEnum<["not_attempted"]>;
24360
+ }, "strip", z.ZodTypeAny, {
24361
+ url: string;
24362
+ status: "not_attempted";
24363
+ }, {
24364
+ url: string;
24365
+ status: "not_attempted";
24366
+ }>, z.ZodObject<{
24367
+ url: z.ZodString;
24368
+ status: z.ZodEnum<["failure"]>;
24369
+ reason: z.ZodEnum<["not_found", "disabled", "invalid_host", "permission_denied", "timeout", "download_error", "other"]>;
24370
+ details: z.ZodUnion<[z.ZodString, z.ZodNull]>;
24371
+ }, "strip", z.ZodTypeAny, {
24372
+ url: string;
24373
+ details: string | null;
24374
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24375
+ status: "failure";
24376
+ }, {
24377
+ url: string;
24378
+ details: string | null;
24379
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24380
+ status: "failure";
24381
+ }>, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>]>;
24382
+ source_map: z.ZodUnion<[z.ZodObject<{
24383
+ url: z.ZodString;
24384
+ status: z.ZodEnum<["success"]>;
24385
+ }, "strip", z.ZodTypeAny, {
24386
+ url: string;
24387
+ status: "success";
24388
+ }, {
24389
+ url: string;
24390
+ status: "success";
24391
+ }>, z.ZodObject<{
24392
+ url: z.ZodString;
24393
+ status: z.ZodEnum<["not_attempted"]>;
24394
+ }, "strip", z.ZodTypeAny, {
24395
+ url: string;
24396
+ status: "not_attempted";
24397
+ }, {
24398
+ url: string;
24399
+ status: "not_attempted";
24400
+ }>, z.ZodObject<{
24401
+ url: z.ZodString;
24402
+ status: z.ZodEnum<["failure"]>;
24403
+ reason: z.ZodEnum<["not_found", "disabled", "invalid_host", "permission_denied", "timeout", "download_error", "other"]>;
24404
+ details: z.ZodUnion<[z.ZodString, z.ZodNull]>;
24405
+ }, "strip", z.ZodTypeAny, {
24406
+ url: string;
24407
+ details: string | null;
24408
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24409
+ status: "failure";
24410
+ }, {
24411
+ url: string;
24412
+ details: string | null;
24413
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24414
+ status: "failure";
24415
+ }>, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>]>;
24416
+ }, "strip", z.ZodTypeAny, {
24417
+ source_file: Record<string, unknown> | {
24418
+ url: string;
24419
+ status: "success";
24420
+ } | {
24421
+ url: string;
24422
+ status: "not_attempted";
24423
+ } | {
24424
+ url: string;
24425
+ details: string | null;
24426
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24427
+ status: "failure";
24428
+ } | null;
24429
+ source_map: Record<string, unknown> | {
24430
+ url: string;
24431
+ status: "success";
24432
+ } | {
24433
+ url: string;
24434
+ status: "not_attempted";
24435
+ } | {
24436
+ url: string;
24437
+ details: string | null;
24438
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24439
+ status: "failure";
24440
+ } | null;
24441
+ }, {
24442
+ source_file: Record<string, unknown> | {
24443
+ url: string;
24444
+ status: "success";
24445
+ } | {
24446
+ url: string;
24447
+ status: "not_attempted";
24448
+ } | {
24449
+ url: string;
24450
+ details: string | null;
24451
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24452
+ status: "failure";
24453
+ } | null;
24454
+ source_map: Record<string, unknown> | {
24455
+ url: string;
24456
+ status: "success";
24457
+ } | {
24458
+ url: string;
24459
+ status: "not_attempted";
24460
+ } | {
24461
+ url: string;
24462
+ details: string | null;
24463
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24464
+ status: "failure";
24465
+ } | null;
24466
+ }>;
24467
+ }, "strip", z.ZodTypeAny, {
24468
+ debug_id_process: {
24469
+ debug_id: string | null;
24470
+ uploaded_source_file_with_correct_debug_id: boolean;
24471
+ uploaded_source_map_with_correct_debug_id: boolean;
24472
+ };
24473
+ release_process: {
24474
+ abs_path: string;
24475
+ matching_source_file_names: string[];
24476
+ matching_source_map_name: string | null;
24477
+ source_map_reference: string | null;
24478
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24479
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24480
+ } | null;
24481
+ scraping_process: {
24482
+ source_file: Record<string, unknown> | {
24483
+ url: string;
24484
+ status: "success";
24485
+ } | {
24486
+ url: string;
24487
+ status: "not_attempted";
24488
+ } | {
24489
+ url: string;
24490
+ details: string | null;
24491
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24492
+ status: "failure";
24493
+ } | null;
24494
+ source_map: Record<string, unknown> | {
24495
+ url: string;
24496
+ status: "success";
24497
+ } | {
24498
+ url: string;
24499
+ status: "not_attempted";
24500
+ } | {
24501
+ url: string;
24502
+ details: string | null;
24503
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24504
+ status: "failure";
24505
+ } | null;
24506
+ };
24507
+ }, {
24508
+ debug_id_process: {
24509
+ debug_id: string | null;
24510
+ uploaded_source_file_with_correct_debug_id: boolean;
24511
+ uploaded_source_map_with_correct_debug_id: boolean;
24512
+ };
24513
+ release_process: {
24514
+ abs_path: string;
24515
+ matching_source_file_names: string[];
24516
+ matching_source_map_name: string | null;
24517
+ source_map_reference: string | null;
24518
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24519
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24520
+ } | null;
24521
+ scraping_process: {
24522
+ source_file: Record<string, unknown> | {
24523
+ url: string;
24524
+ status: "success";
24525
+ } | {
24526
+ url: string;
24527
+ status: "not_attempted";
24528
+ } | {
24529
+ url: string;
24530
+ details: string | null;
24531
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24532
+ status: "failure";
24533
+ } | null;
24534
+ source_map: Record<string, unknown> | {
24535
+ url: string;
24536
+ status: "success";
24537
+ } | {
24538
+ url: string;
24539
+ status: "not_attempted";
24540
+ } | {
24541
+ url: string;
24542
+ details: string | null;
24543
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24544
+ status: "failure";
24545
+ } | null;
24546
+ };
24547
+ }>, "many">;
24548
+ }, "strip", z.ZodTypeAny, {
24549
+ frames: {
24550
+ debug_id_process: {
24551
+ debug_id: string | null;
24552
+ uploaded_source_file_with_correct_debug_id: boolean;
24553
+ uploaded_source_map_with_correct_debug_id: boolean;
24554
+ };
24555
+ release_process: {
24556
+ abs_path: string;
24557
+ matching_source_file_names: string[];
24558
+ matching_source_map_name: string | null;
24559
+ source_map_reference: string | null;
24560
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24561
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24562
+ } | null;
24563
+ scraping_process: {
24564
+ source_file: Record<string, unknown> | {
24565
+ url: string;
24566
+ status: "success";
24567
+ } | {
24568
+ url: string;
24569
+ status: "not_attempted";
24570
+ } | {
24571
+ url: string;
24572
+ details: string | null;
24573
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24574
+ status: "failure";
24575
+ } | null;
24576
+ source_map: Record<string, unknown> | {
24577
+ url: string;
24578
+ status: "success";
24579
+ } | {
24580
+ url: string;
24581
+ status: "not_attempted";
24582
+ } | {
24583
+ url: string;
24584
+ details: string | null;
24585
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24586
+ status: "failure";
24587
+ } | null;
24588
+ };
24589
+ }[];
24590
+ }, {
24591
+ frames: {
24592
+ debug_id_process: {
24593
+ debug_id: string | null;
24594
+ uploaded_source_file_with_correct_debug_id: boolean;
24595
+ uploaded_source_map_with_correct_debug_id: boolean;
24596
+ };
24597
+ release_process: {
24598
+ abs_path: string;
24599
+ matching_source_file_names: string[];
24600
+ matching_source_map_name: string | null;
24601
+ source_map_reference: string | null;
24602
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24603
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24604
+ } | null;
24605
+ scraping_process: {
24606
+ source_file: Record<string, unknown> | {
24607
+ url: string;
24608
+ status: "success";
24609
+ } | {
24610
+ url: string;
24611
+ status: "not_attempted";
24612
+ } | {
24613
+ url: string;
24614
+ details: string | null;
24615
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24616
+ status: "failure";
24617
+ } | null;
24618
+ source_map: Record<string, unknown> | {
24619
+ url: string;
24620
+ status: "success";
24621
+ } | {
24622
+ url: string;
24623
+ status: "not_attempted";
24624
+ } | {
24625
+ url: string;
24626
+ details: string | null;
24627
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24628
+ status: "failure";
24629
+ } | null;
24630
+ };
24631
+ }[];
24632
+ }>, "many">;
24633
+ has_debug_ids: z.ZodBoolean;
24634
+ min_debug_id_sdk_version: z.ZodUnion<[z.ZodString, z.ZodNull]>;
24635
+ sdk_version: z.ZodUnion<[z.ZodString, z.ZodNull]>;
24636
+ project_has_some_artifact_bundle: z.ZodBoolean;
24637
+ release_has_some_artifact: z.ZodBoolean;
24638
+ has_uploaded_some_artifact_with_a_debug_id: z.ZodBoolean;
24639
+ sdk_debug_id_support: z.ZodEnum<["not-supported", "unofficial-sdk", "needs-upgrade", "full"]>;
24640
+ has_scraping_data: z.ZodBoolean;
24641
+ }, "strip", z.ZodTypeAny, {
24642
+ dist: string | null;
24643
+ release: string | null;
24644
+ exceptions: {
24645
+ frames: {
24646
+ debug_id_process: {
24647
+ debug_id: string | null;
24648
+ uploaded_source_file_with_correct_debug_id: boolean;
24649
+ uploaded_source_map_with_correct_debug_id: boolean;
24650
+ };
24651
+ release_process: {
24652
+ abs_path: string;
24653
+ matching_source_file_names: string[];
24654
+ matching_source_map_name: string | null;
24655
+ source_map_reference: string | null;
24656
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24657
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24658
+ } | null;
24659
+ scraping_process: {
24660
+ source_file: Record<string, unknown> | {
24661
+ url: string;
24662
+ status: "success";
24663
+ } | {
24664
+ url: string;
24665
+ status: "not_attempted";
24666
+ } | {
24667
+ url: string;
24668
+ details: string | null;
24669
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24670
+ status: "failure";
24671
+ } | null;
24672
+ source_map: Record<string, unknown> | {
24673
+ url: string;
24674
+ status: "success";
24675
+ } | {
24676
+ url: string;
24677
+ status: "not_attempted";
24678
+ } | {
24679
+ url: string;
24680
+ details: string | null;
24681
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24682
+ status: "failure";
24683
+ } | null;
24684
+ };
24685
+ }[];
24686
+ }[];
24687
+ has_debug_ids: boolean;
24688
+ min_debug_id_sdk_version: string | null;
24689
+ sdk_version: string | null;
24690
+ project_has_some_artifact_bundle: boolean;
24691
+ release_has_some_artifact: boolean;
24692
+ has_uploaded_some_artifact_with_a_debug_id: boolean;
24693
+ sdk_debug_id_support: "full" | "not-supported" | "unofficial-sdk" | "needs-upgrade";
24694
+ has_scraping_data: boolean;
24695
+ }, {
24696
+ dist: string | null;
24697
+ release: string | null;
24698
+ exceptions: {
24699
+ frames: {
24700
+ debug_id_process: {
24701
+ debug_id: string | null;
24702
+ uploaded_source_file_with_correct_debug_id: boolean;
24703
+ uploaded_source_map_with_correct_debug_id: boolean;
24704
+ };
24705
+ release_process: {
24706
+ abs_path: string;
24707
+ matching_source_file_names: string[];
24708
+ matching_source_map_name: string | null;
24709
+ source_map_reference: string | null;
24710
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24711
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
24712
+ } | null;
24713
+ scraping_process: {
24714
+ source_file: Record<string, unknown> | {
24715
+ url: string;
24716
+ status: "success";
24717
+ } | {
24718
+ url: string;
24719
+ status: "not_attempted";
24720
+ } | {
24721
+ url: string;
24722
+ details: string | null;
24723
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24724
+ status: "failure";
24725
+ } | null;
24726
+ source_map: Record<string, unknown> | {
24727
+ url: string;
24728
+ status: "success";
24729
+ } | {
24730
+ url: string;
24731
+ status: "not_attempted";
24732
+ } | {
24733
+ url: string;
24734
+ details: string | null;
24735
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
24736
+ status: "failure";
24737
+ } | null;
24738
+ };
24739
+ }[];
24740
+ }[];
24741
+ has_debug_ids: boolean;
24742
+ min_debug_id_sdk_version: string | null;
24743
+ sdk_version: string | null;
24744
+ project_has_some_artifact_bundle: boolean;
24745
+ release_has_some_artifact: boolean;
24746
+ has_uploaded_some_artifact_with_a_debug_id: boolean;
24747
+ sdk_debug_id_support: "full" | "not-supported" | "unofficial-sdk" | "needs-upgrade";
24748
+ has_scraping_data: boolean;
24749
+ }>;
24306
24750
  export declare const zStatusDetailsValidator: z.ZodObject<{
24307
24751
  inNextRelease: z.ZodBoolean;
24308
24752
  inRelease: z.ZodString;
@@ -43065,6 +43509,60 @@ export declare const zRetrieveLatestBaseSnapshotResponse: z.ZodObject<{
43065
43509
  pr_number?: number | null | undefined;
43066
43510
  } | undefined;
43067
43511
  }>;
43512
+ export declare const zRetrieveProfileChunksForAnOrganizationData: z.ZodObject<{
43513
+ body: z.ZodOptional<z.ZodNever>;
43514
+ path: z.ZodObject<{
43515
+ organization_id_or_slug: z.ZodString;
43516
+ }, "strip", z.ZodTypeAny, {
43517
+ organization_id_or_slug: string;
43518
+ }, {
43519
+ organization_id_or_slug: string;
43520
+ }>;
43521
+ query: z.ZodObject<{
43522
+ project: z.ZodNumber;
43523
+ profiler_id: z.ZodString;
43524
+ statsPeriod: z.ZodOptional<z.ZodString>;
43525
+ start: z.ZodOptional<z.ZodString>;
43526
+ end: z.ZodOptional<z.ZodString>;
43527
+ }, "strip", z.ZodTypeAny, {
43528
+ project: number;
43529
+ profiler_id: string;
43530
+ end?: string | undefined;
43531
+ start?: string | undefined;
43532
+ statsPeriod?: string | undefined;
43533
+ }, {
43534
+ project: number;
43535
+ profiler_id: string;
43536
+ end?: string | undefined;
43537
+ start?: string | undefined;
43538
+ statsPeriod?: string | undefined;
43539
+ }>;
43540
+ }, "strip", z.ZodTypeAny, {
43541
+ query: {
43542
+ project: number;
43543
+ profiler_id: string;
43544
+ end?: string | undefined;
43545
+ start?: string | undefined;
43546
+ statsPeriod?: string | undefined;
43547
+ };
43548
+ path: {
43549
+ organization_id_or_slug: string;
43550
+ };
43551
+ body?: undefined;
43552
+ }, {
43553
+ query: {
43554
+ project: number;
43555
+ profiler_id: string;
43556
+ end?: string | undefined;
43557
+ start?: string | undefined;
43558
+ statsPeriod?: string | undefined;
43559
+ };
43560
+ path: {
43561
+ organization_id_or_slug: string;
43562
+ };
43563
+ body?: undefined;
43564
+ }>;
43565
+ export declare const zRetrieveProfileChunksForAnOrganizationResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
43068
43566
  export declare const zRetrieveAFlamegraphForAnOrganizationData: z.ZodObject<{
43069
43567
  body: z.ZodOptional<z.ZodNever>;
43070
43568
  path: z.ZodObject<{
@@ -51642,6 +52140,7 @@ export declare const zRetrieveATraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObject
51642
52140
  project_id: number;
51643
52141
  transaction: string;
51644
52142
  event_id: string;
52143
+ profiler_id: string;
51645
52144
  profile_id: string;
51646
52145
  description: string;
51647
52146
  measurements: Record<string, unknown>;
@@ -51674,7 +52173,6 @@ export declare const zRetrieveATraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObject
51674
52173
  }[];
51675
52174
  op: string;
51676
52175
  parent_span_id: string | null;
51677
- profiler_id: string;
51678
52176
  sdk_name: string;
51679
52177
  is_transaction: boolean;
51680
52178
  transaction_id: string;
@@ -51700,6 +52198,7 @@ export declare const zRetrieveATraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObject
51700
52198
  project_id: number;
51701
52199
  transaction: string;
51702
52200
  event_id: string;
52201
+ profiler_id: string;
51703
52202
  profile_id: string;
51704
52203
  description: string;
51705
52204
  measurements: Record<string, unknown>;
@@ -51732,7 +52231,6 @@ export declare const zRetrieveATraceResponse: z.ZodArray<z.ZodUnion<[z.ZodObject
51732
52231
  }[];
51733
52232
  op: string;
51734
52233
  parent_span_id: string | null;
51735
- profiler_id: string;
51736
52234
  sdk_name: string;
51737
52235
  is_transaction: boolean;
51738
52236
  transaction_id: string;
@@ -56821,6 +57319,482 @@ export declare const zRetrieveAnEventAttachmentResponse: z.ZodObject<{
56821
57319
  size: number;
56822
57320
  sha1: string | null;
56823
57321
  }>;
57322
+ export declare const zGetDebugInformationRelatedToSourceMapsForAGivenEventData: z.ZodObject<{
57323
+ body: z.ZodOptional<z.ZodNever>;
57324
+ path: z.ZodObject<{
57325
+ organization_id_or_slug: z.ZodString;
57326
+ project_id_or_slug: z.ZodString;
57327
+ event_id: z.ZodString;
57328
+ }, "strip", z.ZodTypeAny, {
57329
+ organization_id_or_slug: string;
57330
+ event_id: string;
57331
+ project_id_or_slug: string;
57332
+ }, {
57333
+ organization_id_or_slug: string;
57334
+ event_id: string;
57335
+ project_id_or_slug: string;
57336
+ }>;
57337
+ query: z.ZodOptional<z.ZodNever>;
57338
+ }, "strip", z.ZodTypeAny, {
57339
+ path: {
57340
+ organization_id_or_slug: string;
57341
+ event_id: string;
57342
+ project_id_or_slug: string;
57343
+ };
57344
+ query?: undefined;
57345
+ body?: undefined;
57346
+ }, {
57347
+ path: {
57348
+ organization_id_or_slug: string;
57349
+ event_id: string;
57350
+ project_id_or_slug: string;
57351
+ };
57352
+ query?: undefined;
57353
+ body?: undefined;
57354
+ }>;
57355
+ export declare const zGetDebugInformationRelatedToSourceMapsForAGivenEventResponse: z.ZodObject<{
57356
+ dist: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57357
+ release: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57358
+ exceptions: z.ZodArray<z.ZodObject<{
57359
+ frames: z.ZodArray<z.ZodObject<{
57360
+ debug_id_process: z.ZodObject<{
57361
+ debug_id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57362
+ uploaded_source_file_with_correct_debug_id: z.ZodBoolean;
57363
+ uploaded_source_map_with_correct_debug_id: z.ZodBoolean;
57364
+ }, "strip", z.ZodTypeAny, {
57365
+ debug_id: string | null;
57366
+ uploaded_source_file_with_correct_debug_id: boolean;
57367
+ uploaded_source_map_with_correct_debug_id: boolean;
57368
+ }, {
57369
+ debug_id: string | null;
57370
+ uploaded_source_file_with_correct_debug_id: boolean;
57371
+ uploaded_source_map_with_correct_debug_id: boolean;
57372
+ }>;
57373
+ release_process: z.ZodUnion<[z.ZodObject<{
57374
+ abs_path: z.ZodString;
57375
+ matching_source_file_names: z.ZodArray<z.ZodString, "many">;
57376
+ matching_source_map_name: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57377
+ source_map_reference: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57378
+ source_file_lookup_result: z.ZodEnum<["found", "wrong-dist", "unsuccessful"]>;
57379
+ source_map_lookup_result: z.ZodEnum<["found", "wrong-dist", "unsuccessful"]>;
57380
+ }, "strip", z.ZodTypeAny, {
57381
+ abs_path: string;
57382
+ matching_source_file_names: string[];
57383
+ matching_source_map_name: string | null;
57384
+ source_map_reference: string | null;
57385
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57386
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57387
+ }, {
57388
+ abs_path: string;
57389
+ matching_source_file_names: string[];
57390
+ matching_source_map_name: string | null;
57391
+ source_map_reference: string | null;
57392
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57393
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57394
+ }>, z.ZodNull]>;
57395
+ scraping_process: z.ZodObject<{
57396
+ source_file: z.ZodUnion<[z.ZodObject<{
57397
+ url: z.ZodString;
57398
+ status: z.ZodEnum<["success"]>;
57399
+ }, "strip", z.ZodTypeAny, {
57400
+ url: string;
57401
+ status: "success";
57402
+ }, {
57403
+ url: string;
57404
+ status: "success";
57405
+ }>, z.ZodObject<{
57406
+ url: z.ZodString;
57407
+ status: z.ZodEnum<["not_attempted"]>;
57408
+ }, "strip", z.ZodTypeAny, {
57409
+ url: string;
57410
+ status: "not_attempted";
57411
+ }, {
57412
+ url: string;
57413
+ status: "not_attempted";
57414
+ }>, z.ZodObject<{
57415
+ url: z.ZodString;
57416
+ status: z.ZodEnum<["failure"]>;
57417
+ reason: z.ZodEnum<["not_found", "disabled", "invalid_host", "permission_denied", "timeout", "download_error", "other"]>;
57418
+ details: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57419
+ }, "strip", z.ZodTypeAny, {
57420
+ url: string;
57421
+ details: string | null;
57422
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57423
+ status: "failure";
57424
+ }, {
57425
+ url: string;
57426
+ details: string | null;
57427
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57428
+ status: "failure";
57429
+ }>, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>]>;
57430
+ source_map: z.ZodUnion<[z.ZodObject<{
57431
+ url: z.ZodString;
57432
+ status: z.ZodEnum<["success"]>;
57433
+ }, "strip", z.ZodTypeAny, {
57434
+ url: string;
57435
+ status: "success";
57436
+ }, {
57437
+ url: string;
57438
+ status: "success";
57439
+ }>, z.ZodObject<{
57440
+ url: z.ZodString;
57441
+ status: z.ZodEnum<["not_attempted"]>;
57442
+ }, "strip", z.ZodTypeAny, {
57443
+ url: string;
57444
+ status: "not_attempted";
57445
+ }, {
57446
+ url: string;
57447
+ status: "not_attempted";
57448
+ }>, z.ZodObject<{
57449
+ url: z.ZodString;
57450
+ status: z.ZodEnum<["failure"]>;
57451
+ reason: z.ZodEnum<["not_found", "disabled", "invalid_host", "permission_denied", "timeout", "download_error", "other"]>;
57452
+ details: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57453
+ }, "strip", z.ZodTypeAny, {
57454
+ url: string;
57455
+ details: string | null;
57456
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57457
+ status: "failure";
57458
+ }, {
57459
+ url: string;
57460
+ details: string | null;
57461
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57462
+ status: "failure";
57463
+ }>, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>]>;
57464
+ }, "strip", z.ZodTypeAny, {
57465
+ source_file: Record<string, unknown> | {
57466
+ url: string;
57467
+ status: "success";
57468
+ } | {
57469
+ url: string;
57470
+ status: "not_attempted";
57471
+ } | {
57472
+ url: string;
57473
+ details: string | null;
57474
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57475
+ status: "failure";
57476
+ } | null;
57477
+ source_map: Record<string, unknown> | {
57478
+ url: string;
57479
+ status: "success";
57480
+ } | {
57481
+ url: string;
57482
+ status: "not_attempted";
57483
+ } | {
57484
+ url: string;
57485
+ details: string | null;
57486
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57487
+ status: "failure";
57488
+ } | null;
57489
+ }, {
57490
+ source_file: Record<string, unknown> | {
57491
+ url: string;
57492
+ status: "success";
57493
+ } | {
57494
+ url: string;
57495
+ status: "not_attempted";
57496
+ } | {
57497
+ url: string;
57498
+ details: string | null;
57499
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57500
+ status: "failure";
57501
+ } | null;
57502
+ source_map: Record<string, unknown> | {
57503
+ url: string;
57504
+ status: "success";
57505
+ } | {
57506
+ url: string;
57507
+ status: "not_attempted";
57508
+ } | {
57509
+ url: string;
57510
+ details: string | null;
57511
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57512
+ status: "failure";
57513
+ } | null;
57514
+ }>;
57515
+ }, "strip", z.ZodTypeAny, {
57516
+ debug_id_process: {
57517
+ debug_id: string | null;
57518
+ uploaded_source_file_with_correct_debug_id: boolean;
57519
+ uploaded_source_map_with_correct_debug_id: boolean;
57520
+ };
57521
+ release_process: {
57522
+ abs_path: string;
57523
+ matching_source_file_names: string[];
57524
+ matching_source_map_name: string | null;
57525
+ source_map_reference: string | null;
57526
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57527
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57528
+ } | null;
57529
+ scraping_process: {
57530
+ source_file: Record<string, unknown> | {
57531
+ url: string;
57532
+ status: "success";
57533
+ } | {
57534
+ url: string;
57535
+ status: "not_attempted";
57536
+ } | {
57537
+ url: string;
57538
+ details: string | null;
57539
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57540
+ status: "failure";
57541
+ } | null;
57542
+ source_map: Record<string, unknown> | {
57543
+ url: string;
57544
+ status: "success";
57545
+ } | {
57546
+ url: string;
57547
+ status: "not_attempted";
57548
+ } | {
57549
+ url: string;
57550
+ details: string | null;
57551
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57552
+ status: "failure";
57553
+ } | null;
57554
+ };
57555
+ }, {
57556
+ debug_id_process: {
57557
+ debug_id: string | null;
57558
+ uploaded_source_file_with_correct_debug_id: boolean;
57559
+ uploaded_source_map_with_correct_debug_id: boolean;
57560
+ };
57561
+ release_process: {
57562
+ abs_path: string;
57563
+ matching_source_file_names: string[];
57564
+ matching_source_map_name: string | null;
57565
+ source_map_reference: string | null;
57566
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57567
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57568
+ } | null;
57569
+ scraping_process: {
57570
+ source_file: Record<string, unknown> | {
57571
+ url: string;
57572
+ status: "success";
57573
+ } | {
57574
+ url: string;
57575
+ status: "not_attempted";
57576
+ } | {
57577
+ url: string;
57578
+ details: string | null;
57579
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57580
+ status: "failure";
57581
+ } | null;
57582
+ source_map: Record<string, unknown> | {
57583
+ url: string;
57584
+ status: "success";
57585
+ } | {
57586
+ url: string;
57587
+ status: "not_attempted";
57588
+ } | {
57589
+ url: string;
57590
+ details: string | null;
57591
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57592
+ status: "failure";
57593
+ } | null;
57594
+ };
57595
+ }>, "many">;
57596
+ }, "strip", z.ZodTypeAny, {
57597
+ frames: {
57598
+ debug_id_process: {
57599
+ debug_id: string | null;
57600
+ uploaded_source_file_with_correct_debug_id: boolean;
57601
+ uploaded_source_map_with_correct_debug_id: boolean;
57602
+ };
57603
+ release_process: {
57604
+ abs_path: string;
57605
+ matching_source_file_names: string[];
57606
+ matching_source_map_name: string | null;
57607
+ source_map_reference: string | null;
57608
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57609
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57610
+ } | null;
57611
+ scraping_process: {
57612
+ source_file: Record<string, unknown> | {
57613
+ url: string;
57614
+ status: "success";
57615
+ } | {
57616
+ url: string;
57617
+ status: "not_attempted";
57618
+ } | {
57619
+ url: string;
57620
+ details: string | null;
57621
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57622
+ status: "failure";
57623
+ } | null;
57624
+ source_map: Record<string, unknown> | {
57625
+ url: string;
57626
+ status: "success";
57627
+ } | {
57628
+ url: string;
57629
+ status: "not_attempted";
57630
+ } | {
57631
+ url: string;
57632
+ details: string | null;
57633
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57634
+ status: "failure";
57635
+ } | null;
57636
+ };
57637
+ }[];
57638
+ }, {
57639
+ frames: {
57640
+ debug_id_process: {
57641
+ debug_id: string | null;
57642
+ uploaded_source_file_with_correct_debug_id: boolean;
57643
+ uploaded_source_map_with_correct_debug_id: boolean;
57644
+ };
57645
+ release_process: {
57646
+ abs_path: string;
57647
+ matching_source_file_names: string[];
57648
+ matching_source_map_name: string | null;
57649
+ source_map_reference: string | null;
57650
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57651
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57652
+ } | null;
57653
+ scraping_process: {
57654
+ source_file: Record<string, unknown> | {
57655
+ url: string;
57656
+ status: "success";
57657
+ } | {
57658
+ url: string;
57659
+ status: "not_attempted";
57660
+ } | {
57661
+ url: string;
57662
+ details: string | null;
57663
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57664
+ status: "failure";
57665
+ } | null;
57666
+ source_map: Record<string, unknown> | {
57667
+ url: string;
57668
+ status: "success";
57669
+ } | {
57670
+ url: string;
57671
+ status: "not_attempted";
57672
+ } | {
57673
+ url: string;
57674
+ details: string | null;
57675
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57676
+ status: "failure";
57677
+ } | null;
57678
+ };
57679
+ }[];
57680
+ }>, "many">;
57681
+ has_debug_ids: z.ZodBoolean;
57682
+ min_debug_id_sdk_version: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57683
+ sdk_version: z.ZodUnion<[z.ZodString, z.ZodNull]>;
57684
+ project_has_some_artifact_bundle: z.ZodBoolean;
57685
+ release_has_some_artifact: z.ZodBoolean;
57686
+ has_uploaded_some_artifact_with_a_debug_id: z.ZodBoolean;
57687
+ sdk_debug_id_support: z.ZodEnum<["not-supported", "unofficial-sdk", "needs-upgrade", "full"]>;
57688
+ has_scraping_data: z.ZodBoolean;
57689
+ }, "strip", z.ZodTypeAny, {
57690
+ dist: string | null;
57691
+ release: string | null;
57692
+ exceptions: {
57693
+ frames: {
57694
+ debug_id_process: {
57695
+ debug_id: string | null;
57696
+ uploaded_source_file_with_correct_debug_id: boolean;
57697
+ uploaded_source_map_with_correct_debug_id: boolean;
57698
+ };
57699
+ release_process: {
57700
+ abs_path: string;
57701
+ matching_source_file_names: string[];
57702
+ matching_source_map_name: string | null;
57703
+ source_map_reference: string | null;
57704
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57705
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57706
+ } | null;
57707
+ scraping_process: {
57708
+ source_file: Record<string, unknown> | {
57709
+ url: string;
57710
+ status: "success";
57711
+ } | {
57712
+ url: string;
57713
+ status: "not_attempted";
57714
+ } | {
57715
+ url: string;
57716
+ details: string | null;
57717
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57718
+ status: "failure";
57719
+ } | null;
57720
+ source_map: Record<string, unknown> | {
57721
+ url: string;
57722
+ status: "success";
57723
+ } | {
57724
+ url: string;
57725
+ status: "not_attempted";
57726
+ } | {
57727
+ url: string;
57728
+ details: string | null;
57729
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57730
+ status: "failure";
57731
+ } | null;
57732
+ };
57733
+ }[];
57734
+ }[];
57735
+ has_debug_ids: boolean;
57736
+ min_debug_id_sdk_version: string | null;
57737
+ sdk_version: string | null;
57738
+ project_has_some_artifact_bundle: boolean;
57739
+ release_has_some_artifact: boolean;
57740
+ has_uploaded_some_artifact_with_a_debug_id: boolean;
57741
+ sdk_debug_id_support: "full" | "not-supported" | "unofficial-sdk" | "needs-upgrade";
57742
+ has_scraping_data: boolean;
57743
+ }, {
57744
+ dist: string | null;
57745
+ release: string | null;
57746
+ exceptions: {
57747
+ frames: {
57748
+ debug_id_process: {
57749
+ debug_id: string | null;
57750
+ uploaded_source_file_with_correct_debug_id: boolean;
57751
+ uploaded_source_map_with_correct_debug_id: boolean;
57752
+ };
57753
+ release_process: {
57754
+ abs_path: string;
57755
+ matching_source_file_names: string[];
57756
+ matching_source_map_name: string | null;
57757
+ source_map_reference: string | null;
57758
+ source_file_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57759
+ source_map_lookup_result: "found" | "wrong-dist" | "unsuccessful";
57760
+ } | null;
57761
+ scraping_process: {
57762
+ source_file: Record<string, unknown> | {
57763
+ url: string;
57764
+ status: "success";
57765
+ } | {
57766
+ url: string;
57767
+ status: "not_attempted";
57768
+ } | {
57769
+ url: string;
57770
+ details: string | null;
57771
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57772
+ status: "failure";
57773
+ } | null;
57774
+ source_map: Record<string, unknown> | {
57775
+ url: string;
57776
+ status: "success";
57777
+ } | {
57778
+ url: string;
57779
+ status: "not_attempted";
57780
+ } | {
57781
+ url: string;
57782
+ details: string | null;
57783
+ reason: "disabled" | "not_found" | "invalid_host" | "permission_denied" | "timeout" | "download_error" | "other";
57784
+ status: "failure";
57785
+ } | null;
57786
+ };
57787
+ }[];
57788
+ }[];
57789
+ has_debug_ids: boolean;
57790
+ min_debug_id_sdk_version: string | null;
57791
+ sdk_version: string | null;
57792
+ project_has_some_artifact_bundle: boolean;
57793
+ release_has_some_artifact: boolean;
57794
+ has_uploaded_some_artifact_with_a_debug_id: boolean;
57795
+ sdk_debug_id_support: "full" | "not-supported" | "unofficial-sdk" | "needs-upgrade";
57796
+ has_scraping_data: boolean;
57797
+ }>;
56824
57798
  export declare const zListAProjectSDebugInformationFilesData: z.ZodObject<{
56825
57799
  body: z.ZodOptional<z.ZodNever>;
56826
57800
  path: z.ZodObject<{