@sentry/api 0.167.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/index.d.ts +2 -2
- package/dist/index.js +6 -0
- package/dist/sdk.gen.d.ts +5 -1
- package/dist/types.gen.d.ts +154 -0
- package/dist/zod.gen.d.ts +919 -0
- package/dist/zod.js +272 -0
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -9707,6 +9707,136 @@ var zSource = z.object({
|
|
|
9707
9707
|
client_email: z.string().optional(),
|
|
9708
9708
|
private_key: z.string().optional()
|
|
9709
9709
|
});
|
|
9710
|
+
var zSourceMapDebug = z.object({
|
|
9711
|
+
dist: z.union([
|
|
9712
|
+
z.string(),
|
|
9713
|
+
z.null()
|
|
9714
|
+
]),
|
|
9715
|
+
release: z.union([
|
|
9716
|
+
z.string(),
|
|
9717
|
+
z.null()
|
|
9718
|
+
]),
|
|
9719
|
+
exceptions: z.array(z.object({
|
|
9720
|
+
frames: z.array(z.object({
|
|
9721
|
+
debug_id_process: z.object({
|
|
9722
|
+
debug_id: z.union([
|
|
9723
|
+
z.string(),
|
|
9724
|
+
z.null()
|
|
9725
|
+
]),
|
|
9726
|
+
uploaded_source_file_with_correct_debug_id: z.boolean(),
|
|
9727
|
+
uploaded_source_map_with_correct_debug_id: z.boolean()
|
|
9728
|
+
}),
|
|
9729
|
+
release_process: z.union([
|
|
9730
|
+
z.object({
|
|
9731
|
+
abs_path: z.string(),
|
|
9732
|
+
matching_source_file_names: z.array(z.string()),
|
|
9733
|
+
matching_source_map_name: z.union([
|
|
9734
|
+
z.string(),
|
|
9735
|
+
z.null()
|
|
9736
|
+
]),
|
|
9737
|
+
source_map_reference: z.union([
|
|
9738
|
+
z.string(),
|
|
9739
|
+
z.null()
|
|
9740
|
+
]),
|
|
9741
|
+
source_file_lookup_result: z.enum([
|
|
9742
|
+
"found",
|
|
9743
|
+
"wrong-dist",
|
|
9744
|
+
"unsuccessful"
|
|
9745
|
+
]),
|
|
9746
|
+
source_map_lookup_result: z.enum([
|
|
9747
|
+
"found",
|
|
9748
|
+
"wrong-dist",
|
|
9749
|
+
"unsuccessful"
|
|
9750
|
+
])
|
|
9751
|
+
}),
|
|
9752
|
+
z.null()
|
|
9753
|
+
]),
|
|
9754
|
+
scraping_process: z.object({
|
|
9755
|
+
source_file: z.union([
|
|
9756
|
+
z.object({
|
|
9757
|
+
url: z.string(),
|
|
9758
|
+
status: z.enum(["success"])
|
|
9759
|
+
}),
|
|
9760
|
+
z.object({
|
|
9761
|
+
url: z.string(),
|
|
9762
|
+
status: z.enum(["not_attempted"])
|
|
9763
|
+
}),
|
|
9764
|
+
z.object({
|
|
9765
|
+
url: z.string(),
|
|
9766
|
+
status: z.enum(["failure"]),
|
|
9767
|
+
reason: z.enum([
|
|
9768
|
+
"not_found",
|
|
9769
|
+
"disabled",
|
|
9770
|
+
"invalid_host",
|
|
9771
|
+
"permission_denied",
|
|
9772
|
+
"timeout",
|
|
9773
|
+
"download_error",
|
|
9774
|
+
"other"
|
|
9775
|
+
]),
|
|
9776
|
+
details: z.union([
|
|
9777
|
+
z.string(),
|
|
9778
|
+
z.null()
|
|
9779
|
+
])
|
|
9780
|
+
}),
|
|
9781
|
+
z.union([
|
|
9782
|
+
z.record(z.unknown()),
|
|
9783
|
+
z.null()
|
|
9784
|
+
])
|
|
9785
|
+
]),
|
|
9786
|
+
source_map: z.union([
|
|
9787
|
+
z.object({
|
|
9788
|
+
url: z.string(),
|
|
9789
|
+
status: z.enum(["success"])
|
|
9790
|
+
}),
|
|
9791
|
+
z.object({
|
|
9792
|
+
url: z.string(),
|
|
9793
|
+
status: z.enum(["not_attempted"])
|
|
9794
|
+
}),
|
|
9795
|
+
z.object({
|
|
9796
|
+
url: z.string(),
|
|
9797
|
+
status: z.enum(["failure"]),
|
|
9798
|
+
reason: z.enum([
|
|
9799
|
+
"not_found",
|
|
9800
|
+
"disabled",
|
|
9801
|
+
"invalid_host",
|
|
9802
|
+
"permission_denied",
|
|
9803
|
+
"timeout",
|
|
9804
|
+
"download_error",
|
|
9805
|
+
"other"
|
|
9806
|
+
]),
|
|
9807
|
+
details: z.union([
|
|
9808
|
+
z.string(),
|
|
9809
|
+
z.null()
|
|
9810
|
+
])
|
|
9811
|
+
}),
|
|
9812
|
+
z.union([
|
|
9813
|
+
z.record(z.unknown()),
|
|
9814
|
+
z.null()
|
|
9815
|
+
])
|
|
9816
|
+
])
|
|
9817
|
+
})
|
|
9818
|
+
}))
|
|
9819
|
+
})),
|
|
9820
|
+
has_debug_ids: z.boolean(),
|
|
9821
|
+
min_debug_id_sdk_version: z.union([
|
|
9822
|
+
z.string(),
|
|
9823
|
+
z.null()
|
|
9824
|
+
]),
|
|
9825
|
+
sdk_version: z.union([
|
|
9826
|
+
z.string(),
|
|
9827
|
+
z.null()
|
|
9828
|
+
]),
|
|
9829
|
+
project_has_some_artifact_bundle: z.boolean(),
|
|
9830
|
+
release_has_some_artifact: z.boolean(),
|
|
9831
|
+
has_uploaded_some_artifact_with_a_debug_id: z.boolean(),
|
|
9832
|
+
sdk_debug_id_support: z.enum([
|
|
9833
|
+
"not-supported",
|
|
9834
|
+
"unofficial-sdk",
|
|
9835
|
+
"needs-upgrade",
|
|
9836
|
+
"full"
|
|
9837
|
+
]),
|
|
9838
|
+
has_scraping_data: z.boolean()
|
|
9839
|
+
});
|
|
9710
9840
|
var zStatusDetailsValidator = z.object({
|
|
9711
9841
|
inNextRelease: z.boolean(),
|
|
9712
9842
|
inRelease: z.string(),
|
|
@@ -21383,6 +21513,145 @@ var zRetrieveAnEventAttachmentResponse = z.object({
|
|
|
21383
21513
|
z.null()
|
|
21384
21514
|
])
|
|
21385
21515
|
});
|
|
21516
|
+
var zGetDebugInformationRelatedToSourceMapsForAGivenEventData = z.object({
|
|
21517
|
+
body: z.never().optional(),
|
|
21518
|
+
path: z.object({
|
|
21519
|
+
organization_id_or_slug: z.string(),
|
|
21520
|
+
project_id_or_slug: z.string(),
|
|
21521
|
+
event_id: z.string().regex(/^[0-9a-f]{32}$/)
|
|
21522
|
+
}),
|
|
21523
|
+
query: z.never().optional()
|
|
21524
|
+
});
|
|
21525
|
+
var zGetDebugInformationRelatedToSourceMapsForAGivenEventResponse = z.object({
|
|
21526
|
+
dist: z.union([
|
|
21527
|
+
z.string(),
|
|
21528
|
+
z.null()
|
|
21529
|
+
]),
|
|
21530
|
+
release: z.union([
|
|
21531
|
+
z.string(),
|
|
21532
|
+
z.null()
|
|
21533
|
+
]),
|
|
21534
|
+
exceptions: z.array(z.object({
|
|
21535
|
+
frames: z.array(z.object({
|
|
21536
|
+
debug_id_process: z.object({
|
|
21537
|
+
debug_id: z.union([
|
|
21538
|
+
z.string(),
|
|
21539
|
+
z.null()
|
|
21540
|
+
]),
|
|
21541
|
+
uploaded_source_file_with_correct_debug_id: z.boolean(),
|
|
21542
|
+
uploaded_source_map_with_correct_debug_id: z.boolean()
|
|
21543
|
+
}),
|
|
21544
|
+
release_process: z.union([
|
|
21545
|
+
z.object({
|
|
21546
|
+
abs_path: z.string(),
|
|
21547
|
+
matching_source_file_names: z.array(z.string()),
|
|
21548
|
+
matching_source_map_name: z.union([
|
|
21549
|
+
z.string(),
|
|
21550
|
+
z.null()
|
|
21551
|
+
]),
|
|
21552
|
+
source_map_reference: z.union([
|
|
21553
|
+
z.string(),
|
|
21554
|
+
z.null()
|
|
21555
|
+
]),
|
|
21556
|
+
source_file_lookup_result: z.enum([
|
|
21557
|
+
"found",
|
|
21558
|
+
"wrong-dist",
|
|
21559
|
+
"unsuccessful"
|
|
21560
|
+
]),
|
|
21561
|
+
source_map_lookup_result: z.enum([
|
|
21562
|
+
"found",
|
|
21563
|
+
"wrong-dist",
|
|
21564
|
+
"unsuccessful"
|
|
21565
|
+
])
|
|
21566
|
+
}),
|
|
21567
|
+
z.null()
|
|
21568
|
+
]),
|
|
21569
|
+
scraping_process: z.object({
|
|
21570
|
+
source_file: z.union([
|
|
21571
|
+
z.object({
|
|
21572
|
+
url: z.string(),
|
|
21573
|
+
status: z.enum(["success"])
|
|
21574
|
+
}),
|
|
21575
|
+
z.object({
|
|
21576
|
+
url: z.string(),
|
|
21577
|
+
status: z.enum(["not_attempted"])
|
|
21578
|
+
}),
|
|
21579
|
+
z.object({
|
|
21580
|
+
url: z.string(),
|
|
21581
|
+
status: z.enum(["failure"]),
|
|
21582
|
+
reason: z.enum([
|
|
21583
|
+
"not_found",
|
|
21584
|
+
"disabled",
|
|
21585
|
+
"invalid_host",
|
|
21586
|
+
"permission_denied",
|
|
21587
|
+
"timeout",
|
|
21588
|
+
"download_error",
|
|
21589
|
+
"other"
|
|
21590
|
+
]),
|
|
21591
|
+
details: z.union([
|
|
21592
|
+
z.string(),
|
|
21593
|
+
z.null()
|
|
21594
|
+
])
|
|
21595
|
+
}),
|
|
21596
|
+
z.union([
|
|
21597
|
+
z.record(z.unknown()),
|
|
21598
|
+
z.null()
|
|
21599
|
+
])
|
|
21600
|
+
]),
|
|
21601
|
+
source_map: z.union([
|
|
21602
|
+
z.object({
|
|
21603
|
+
url: z.string(),
|
|
21604
|
+
status: z.enum(["success"])
|
|
21605
|
+
}),
|
|
21606
|
+
z.object({
|
|
21607
|
+
url: z.string(),
|
|
21608
|
+
status: z.enum(["not_attempted"])
|
|
21609
|
+
}),
|
|
21610
|
+
z.object({
|
|
21611
|
+
url: z.string(),
|
|
21612
|
+
status: z.enum(["failure"]),
|
|
21613
|
+
reason: z.enum([
|
|
21614
|
+
"not_found",
|
|
21615
|
+
"disabled",
|
|
21616
|
+
"invalid_host",
|
|
21617
|
+
"permission_denied",
|
|
21618
|
+
"timeout",
|
|
21619
|
+
"download_error",
|
|
21620
|
+
"other"
|
|
21621
|
+
]),
|
|
21622
|
+
details: z.union([
|
|
21623
|
+
z.string(),
|
|
21624
|
+
z.null()
|
|
21625
|
+
])
|
|
21626
|
+
}),
|
|
21627
|
+
z.union([
|
|
21628
|
+
z.record(z.unknown()),
|
|
21629
|
+
z.null()
|
|
21630
|
+
])
|
|
21631
|
+
])
|
|
21632
|
+
})
|
|
21633
|
+
}))
|
|
21634
|
+
})),
|
|
21635
|
+
has_debug_ids: z.boolean(),
|
|
21636
|
+
min_debug_id_sdk_version: z.union([
|
|
21637
|
+
z.string(),
|
|
21638
|
+
z.null()
|
|
21639
|
+
]),
|
|
21640
|
+
sdk_version: z.union([
|
|
21641
|
+
z.string(),
|
|
21642
|
+
z.null()
|
|
21643
|
+
]),
|
|
21644
|
+
project_has_some_artifact_bundle: z.boolean(),
|
|
21645
|
+
release_has_some_artifact: z.boolean(),
|
|
21646
|
+
has_uploaded_some_artifact_with_a_debug_id: z.boolean(),
|
|
21647
|
+
sdk_debug_id_support: z.enum([
|
|
21648
|
+
"not-supported",
|
|
21649
|
+
"unofficial-sdk",
|
|
21650
|
+
"needs-upgrade",
|
|
21651
|
+
"full"
|
|
21652
|
+
]),
|
|
21653
|
+
has_scraping_data: z.boolean()
|
|
21654
|
+
});
|
|
21386
21655
|
var zListAProjectSDebugInformationFilesData = z.object({
|
|
21387
21656
|
body: z.never().optional(),
|
|
21388
21657
|
path: z.object({
|
|
@@ -27449,6 +27718,7 @@ export {
|
|
|
27449
27718
|
zStatusDetailsValidator,
|
|
27450
27719
|
zStartSeerIssueFixResponse,
|
|
27451
27720
|
zStartSeerIssueFixData,
|
|
27721
|
+
zSourceMapDebug,
|
|
27452
27722
|
zSource,
|
|
27453
27723
|
zSnapshotImageDetailResponse,
|
|
27454
27724
|
zSnapshotDetailsResponse,
|
|
@@ -27801,6 +28071,8 @@ export {
|
|
|
27801
28071
|
zGetReplay,
|
|
27802
28072
|
zGetIntegrationProviderInformationResponse,
|
|
27803
28073
|
zGetIntegrationProviderInformationData,
|
|
28074
|
+
zGetDebugInformationRelatedToSourceMapsForAGivenEventResponse,
|
|
28075
|
+
zGetDebugInformationRelatedToSourceMapsForAGivenEventData,
|
|
27804
28076
|
zFilters,
|
|
27805
28077
|
zFetchAnOrganizationSMonitorsResponse,
|
|
27806
28078
|
zFetchAnOrganizationSMonitorsData,
|