@sentry/api 0.366.0 → 0.367.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
@@ -33345,6 +33345,281 @@ export declare const zSourceMapDebug: z.ZodObject<{
33345
33345
  has_uploaded_some_artifact_with_a_debug_id: boolean;
33346
33346
  has_scraping_data: boolean;
33347
33347
  }>;
33348
+ export declare const zStacktraceLinkResponse: z.ZodObject<{
33349
+ sourcePath: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
33350
+ attemptedUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
33351
+ error: z.ZodUnion<[z.ZodString, z.ZodNull]>;
33352
+ config: z.ZodUnion<[z.ZodObject<{
33353
+ id: z.ZodString;
33354
+ projectId: z.ZodString;
33355
+ projectSlug: z.ZodString;
33356
+ repoId: z.ZodString;
33357
+ repoName: z.ZodString;
33358
+ integrationId: z.ZodUnion<[z.ZodString, z.ZodNull]>;
33359
+ provider: z.ZodUnion<[z.ZodObject<{
33360
+ key: z.ZodString;
33361
+ slug: z.ZodString;
33362
+ name: z.ZodString;
33363
+ canAdd: z.ZodBoolean;
33364
+ canDisable: z.ZodBoolean;
33365
+ features: z.ZodArray<z.ZodString, "many">;
33366
+ aspects: z.ZodRecord<z.ZodString, z.ZodUnknown>;
33367
+ }, "strip", z.ZodTypeAny, {
33368
+ name: string;
33369
+ key: string;
33370
+ features: string[];
33371
+ slug: string;
33372
+ aspects: Record<string, unknown>;
33373
+ canAdd: boolean;
33374
+ canDisable: boolean;
33375
+ }, {
33376
+ name: string;
33377
+ key: string;
33378
+ features: string[];
33379
+ slug: string;
33380
+ aspects: Record<string, unknown>;
33381
+ canAdd: boolean;
33382
+ canDisable: boolean;
33383
+ }>, z.ZodNull]>;
33384
+ stackRoot: z.ZodString;
33385
+ sourceRoot: z.ZodString;
33386
+ defaultBranch: z.ZodUnion<[z.ZodString, z.ZodNull]>;
33387
+ automaticallyGenerated: z.ZodBoolean;
33388
+ hasCodeOwner: z.ZodBoolean;
33389
+ }, "strip", z.ZodTypeAny, {
33390
+ id: string;
33391
+ provider: {
33392
+ name: string;
33393
+ key: string;
33394
+ features: string[];
33395
+ slug: string;
33396
+ aspects: Record<string, unknown>;
33397
+ canAdd: boolean;
33398
+ canDisable: boolean;
33399
+ } | null;
33400
+ projectSlug: string;
33401
+ projectId: string;
33402
+ integrationId: string | null;
33403
+ defaultBranch: string | null;
33404
+ repoId: string;
33405
+ repoName: string;
33406
+ stackRoot: string;
33407
+ sourceRoot: string;
33408
+ automaticallyGenerated: boolean;
33409
+ hasCodeOwner: boolean;
33410
+ }, {
33411
+ id: string;
33412
+ provider: {
33413
+ name: string;
33414
+ key: string;
33415
+ features: string[];
33416
+ slug: string;
33417
+ aspects: Record<string, unknown>;
33418
+ canAdd: boolean;
33419
+ canDisable: boolean;
33420
+ } | null;
33421
+ projectSlug: string;
33422
+ projectId: string;
33423
+ integrationId: string | null;
33424
+ defaultBranch: string | null;
33425
+ repoId: string;
33426
+ repoName: string;
33427
+ stackRoot: string;
33428
+ sourceRoot: string;
33429
+ automaticallyGenerated: boolean;
33430
+ hasCodeOwner: boolean;
33431
+ }>, z.ZodNull]>;
33432
+ sourceUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
33433
+ integrations: z.ZodArray<z.ZodObject<{
33434
+ id: z.ZodString;
33435
+ name: z.ZodString;
33436
+ icon: z.ZodUnion<[z.ZodString, z.ZodNull]>;
33437
+ domainName: z.ZodUnion<[z.ZodString, z.ZodNull]>;
33438
+ accountType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
33439
+ scopes: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
33440
+ outOfDate: z.ZodUnion<[z.ZodBoolean, z.ZodNull]>;
33441
+ missingFeatures: z.ZodUnion<[z.ZodArray<z.ZodObject<{
33442
+ key: z.ZodString;
33443
+ description: z.ZodString;
33444
+ }, "strip", z.ZodTypeAny, {
33445
+ key: string;
33446
+ description: string;
33447
+ }, {
33448
+ key: string;
33449
+ description: string;
33450
+ }>, "many">, z.ZodNull]>;
33451
+ status: z.ZodString;
33452
+ provider: z.ZodObject<{
33453
+ key: z.ZodString;
33454
+ slug: z.ZodString;
33455
+ name: z.ZodString;
33456
+ canAdd: z.ZodBoolean;
33457
+ canDisable: z.ZodBoolean;
33458
+ features: z.ZodArray<z.ZodString, "many">;
33459
+ aspects: z.ZodRecord<z.ZodString, z.ZodUnknown>;
33460
+ }, "strip", z.ZodTypeAny, {
33461
+ name: string;
33462
+ key: string;
33463
+ features: string[];
33464
+ slug: string;
33465
+ aspects: Record<string, unknown>;
33466
+ canAdd: boolean;
33467
+ canDisable: boolean;
33468
+ }, {
33469
+ name: string;
33470
+ key: string;
33471
+ features: string[];
33472
+ slug: string;
33473
+ aspects: Record<string, unknown>;
33474
+ canAdd: boolean;
33475
+ canDisable: boolean;
33476
+ }>;
33477
+ }, "strip", z.ZodTypeAny, {
33478
+ name: string;
33479
+ id: string;
33480
+ provider: {
33481
+ name: string;
33482
+ key: string;
33483
+ features: string[];
33484
+ slug: string;
33485
+ aspects: Record<string, unknown>;
33486
+ canAdd: boolean;
33487
+ canDisable: boolean;
33488
+ };
33489
+ status: string;
33490
+ icon: string | null;
33491
+ domainName: string | null;
33492
+ accountType: string | null;
33493
+ scopes: string[] | null;
33494
+ outOfDate: boolean | null;
33495
+ missingFeatures: {
33496
+ key: string;
33497
+ description: string;
33498
+ }[] | null;
33499
+ }, {
33500
+ name: string;
33501
+ id: string;
33502
+ provider: {
33503
+ name: string;
33504
+ key: string;
33505
+ features: string[];
33506
+ slug: string;
33507
+ aspects: Record<string, unknown>;
33508
+ canAdd: boolean;
33509
+ canDisable: boolean;
33510
+ };
33511
+ status: string;
33512
+ icon: string | null;
33513
+ domainName: string | null;
33514
+ accountType: string | null;
33515
+ scopes: string[] | null;
33516
+ outOfDate: boolean | null;
33517
+ missingFeatures: {
33518
+ key: string;
33519
+ description: string;
33520
+ }[] | null;
33521
+ }>, "many">;
33522
+ }, "strip", z.ZodTypeAny, {
33523
+ error: string | null;
33524
+ config: {
33525
+ id: string;
33526
+ provider: {
33527
+ name: string;
33528
+ key: string;
33529
+ features: string[];
33530
+ slug: string;
33531
+ aspects: Record<string, unknown>;
33532
+ canAdd: boolean;
33533
+ canDisable: boolean;
33534
+ } | null;
33535
+ projectSlug: string;
33536
+ projectId: string;
33537
+ integrationId: string | null;
33538
+ defaultBranch: string | null;
33539
+ repoId: string;
33540
+ repoName: string;
33541
+ stackRoot: string;
33542
+ sourceRoot: string;
33543
+ automaticallyGenerated: boolean;
33544
+ hasCodeOwner: boolean;
33545
+ } | null;
33546
+ sourceUrl: string | null;
33547
+ integrations: {
33548
+ name: string;
33549
+ id: string;
33550
+ provider: {
33551
+ name: string;
33552
+ key: string;
33553
+ features: string[];
33554
+ slug: string;
33555
+ aspects: Record<string, unknown>;
33556
+ canAdd: boolean;
33557
+ canDisable: boolean;
33558
+ };
33559
+ status: string;
33560
+ icon: string | null;
33561
+ domainName: string | null;
33562
+ accountType: string | null;
33563
+ scopes: string[] | null;
33564
+ outOfDate: boolean | null;
33565
+ missingFeatures: {
33566
+ key: string;
33567
+ description: string;
33568
+ }[] | null;
33569
+ }[];
33570
+ sourcePath?: string | null | undefined;
33571
+ attemptedUrl?: string | null | undefined;
33572
+ }, {
33573
+ error: string | null;
33574
+ config: {
33575
+ id: string;
33576
+ provider: {
33577
+ name: string;
33578
+ key: string;
33579
+ features: string[];
33580
+ slug: string;
33581
+ aspects: Record<string, unknown>;
33582
+ canAdd: boolean;
33583
+ canDisable: boolean;
33584
+ } | null;
33585
+ projectSlug: string;
33586
+ projectId: string;
33587
+ integrationId: string | null;
33588
+ defaultBranch: string | null;
33589
+ repoId: string;
33590
+ repoName: string;
33591
+ stackRoot: string;
33592
+ sourceRoot: string;
33593
+ automaticallyGenerated: boolean;
33594
+ hasCodeOwner: boolean;
33595
+ } | null;
33596
+ sourceUrl: string | null;
33597
+ integrations: {
33598
+ name: string;
33599
+ id: string;
33600
+ provider: {
33601
+ name: string;
33602
+ key: string;
33603
+ features: string[];
33604
+ slug: string;
33605
+ aspects: Record<string, unknown>;
33606
+ canAdd: boolean;
33607
+ canDisable: boolean;
33608
+ };
33609
+ status: string;
33610
+ icon: string | null;
33611
+ domainName: string | null;
33612
+ accountType: string | null;
33613
+ scopes: string[] | null;
33614
+ outOfDate: boolean | null;
33615
+ missingFeatures: {
33616
+ key: string;
33617
+ description: string;
33618
+ }[] | null;
33619
+ }[];
33620
+ sourcePath?: string | null | undefined;
33621
+ attemptedUrl?: string | null | undefined;
33622
+ }>;
33348
33623
  export declare const zStarSegment: z.ZodObject<{
33349
33624
  service_span: z.ZodString;
33350
33625
  project_id: z.ZodNumber;
@@ -82439,6 +82714,359 @@ export declare const zLinkProjectRepositoryResponse: z.ZodObject<{
82439
82714
  repositoryId: string;
82440
82715
  source: string;
82441
82716
  }>;
82717
+ export declare const zGetProjectStacktraceLinkData: z.ZodObject<{
82718
+ body: z.ZodOptional<z.ZodNever>;
82719
+ path: z.ZodObject<{
82720
+ organization_id_or_slug: z.ZodString;
82721
+ project_id_or_slug: z.ZodString;
82722
+ }, "strip", z.ZodTypeAny, {
82723
+ organization_id_or_slug: string;
82724
+ project_id_or_slug: string;
82725
+ }, {
82726
+ organization_id_or_slug: string;
82727
+ project_id_or_slug: string;
82728
+ }>;
82729
+ query: z.ZodObject<{
82730
+ file: z.ZodString;
82731
+ platform: z.ZodOptional<z.ZodString>;
82732
+ absPath: z.ZodOptional<z.ZodString>;
82733
+ commitId: z.ZodOptional<z.ZodString>;
82734
+ sdkName: z.ZodOptional<z.ZodString>;
82735
+ module: z.ZodOptional<z.ZodString>;
82736
+ package: z.ZodOptional<z.ZodString>;
82737
+ lineNo: z.ZodOptional<z.ZodString>;
82738
+ groupId: z.ZodOptional<z.ZodString>;
82739
+ }, "strip", z.ZodTypeAny, {
82740
+ file: string;
82741
+ groupId?: string | undefined;
82742
+ platform?: string | undefined;
82743
+ absPath?: string | undefined;
82744
+ commitId?: string | undefined;
82745
+ sdkName?: string | undefined;
82746
+ module?: string | undefined;
82747
+ package?: string | undefined;
82748
+ lineNo?: string | undefined;
82749
+ }, {
82750
+ file: string;
82751
+ groupId?: string | undefined;
82752
+ platform?: string | undefined;
82753
+ absPath?: string | undefined;
82754
+ commitId?: string | undefined;
82755
+ sdkName?: string | undefined;
82756
+ module?: string | undefined;
82757
+ package?: string | undefined;
82758
+ lineNo?: string | undefined;
82759
+ }>;
82760
+ }, "strip", z.ZodTypeAny, {
82761
+ query: {
82762
+ file: string;
82763
+ groupId?: string | undefined;
82764
+ platform?: string | undefined;
82765
+ absPath?: string | undefined;
82766
+ commitId?: string | undefined;
82767
+ sdkName?: string | undefined;
82768
+ module?: string | undefined;
82769
+ package?: string | undefined;
82770
+ lineNo?: string | undefined;
82771
+ };
82772
+ path: {
82773
+ organization_id_or_slug: string;
82774
+ project_id_or_slug: string;
82775
+ };
82776
+ body?: undefined;
82777
+ }, {
82778
+ query: {
82779
+ file: string;
82780
+ groupId?: string | undefined;
82781
+ platform?: string | undefined;
82782
+ absPath?: string | undefined;
82783
+ commitId?: string | undefined;
82784
+ sdkName?: string | undefined;
82785
+ module?: string | undefined;
82786
+ package?: string | undefined;
82787
+ lineNo?: string | undefined;
82788
+ };
82789
+ path: {
82790
+ organization_id_or_slug: string;
82791
+ project_id_or_slug: string;
82792
+ };
82793
+ body?: undefined;
82794
+ }>;
82795
+ export declare const zGetProjectStacktraceLinkResponse: z.ZodObject<{
82796
+ sourcePath: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
82797
+ attemptedUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
82798
+ error: z.ZodUnion<[z.ZodString, z.ZodNull]>;
82799
+ config: z.ZodUnion<[z.ZodObject<{
82800
+ id: z.ZodString;
82801
+ projectId: z.ZodString;
82802
+ projectSlug: z.ZodString;
82803
+ repoId: z.ZodString;
82804
+ repoName: z.ZodString;
82805
+ integrationId: z.ZodUnion<[z.ZodString, z.ZodNull]>;
82806
+ provider: z.ZodUnion<[z.ZodObject<{
82807
+ key: z.ZodString;
82808
+ slug: z.ZodString;
82809
+ name: z.ZodString;
82810
+ canAdd: z.ZodBoolean;
82811
+ canDisable: z.ZodBoolean;
82812
+ features: z.ZodArray<z.ZodString, "many">;
82813
+ aspects: z.ZodRecord<z.ZodString, z.ZodUnknown>;
82814
+ }, "strip", z.ZodTypeAny, {
82815
+ name: string;
82816
+ key: string;
82817
+ features: string[];
82818
+ slug: string;
82819
+ aspects: Record<string, unknown>;
82820
+ canAdd: boolean;
82821
+ canDisable: boolean;
82822
+ }, {
82823
+ name: string;
82824
+ key: string;
82825
+ features: string[];
82826
+ slug: string;
82827
+ aspects: Record<string, unknown>;
82828
+ canAdd: boolean;
82829
+ canDisable: boolean;
82830
+ }>, z.ZodNull]>;
82831
+ stackRoot: z.ZodString;
82832
+ sourceRoot: z.ZodString;
82833
+ defaultBranch: z.ZodUnion<[z.ZodString, z.ZodNull]>;
82834
+ automaticallyGenerated: z.ZodBoolean;
82835
+ hasCodeOwner: z.ZodBoolean;
82836
+ }, "strip", z.ZodTypeAny, {
82837
+ id: string;
82838
+ provider: {
82839
+ name: string;
82840
+ key: string;
82841
+ features: string[];
82842
+ slug: string;
82843
+ aspects: Record<string, unknown>;
82844
+ canAdd: boolean;
82845
+ canDisable: boolean;
82846
+ } | null;
82847
+ projectSlug: string;
82848
+ projectId: string;
82849
+ integrationId: string | null;
82850
+ defaultBranch: string | null;
82851
+ repoId: string;
82852
+ repoName: string;
82853
+ stackRoot: string;
82854
+ sourceRoot: string;
82855
+ automaticallyGenerated: boolean;
82856
+ hasCodeOwner: boolean;
82857
+ }, {
82858
+ id: string;
82859
+ provider: {
82860
+ name: string;
82861
+ key: string;
82862
+ features: string[];
82863
+ slug: string;
82864
+ aspects: Record<string, unknown>;
82865
+ canAdd: boolean;
82866
+ canDisable: boolean;
82867
+ } | null;
82868
+ projectSlug: string;
82869
+ projectId: string;
82870
+ integrationId: string | null;
82871
+ defaultBranch: string | null;
82872
+ repoId: string;
82873
+ repoName: string;
82874
+ stackRoot: string;
82875
+ sourceRoot: string;
82876
+ automaticallyGenerated: boolean;
82877
+ hasCodeOwner: boolean;
82878
+ }>, z.ZodNull]>;
82879
+ sourceUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
82880
+ integrations: z.ZodArray<z.ZodObject<{
82881
+ id: z.ZodString;
82882
+ name: z.ZodString;
82883
+ icon: z.ZodUnion<[z.ZodString, z.ZodNull]>;
82884
+ domainName: z.ZodUnion<[z.ZodString, z.ZodNull]>;
82885
+ accountType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
82886
+ scopes: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
82887
+ outOfDate: z.ZodUnion<[z.ZodBoolean, z.ZodNull]>;
82888
+ missingFeatures: z.ZodUnion<[z.ZodArray<z.ZodObject<{
82889
+ key: z.ZodString;
82890
+ description: z.ZodString;
82891
+ }, "strip", z.ZodTypeAny, {
82892
+ key: string;
82893
+ description: string;
82894
+ }, {
82895
+ key: string;
82896
+ description: string;
82897
+ }>, "many">, z.ZodNull]>;
82898
+ status: z.ZodString;
82899
+ provider: z.ZodObject<{
82900
+ key: z.ZodString;
82901
+ slug: z.ZodString;
82902
+ name: z.ZodString;
82903
+ canAdd: z.ZodBoolean;
82904
+ canDisable: z.ZodBoolean;
82905
+ features: z.ZodArray<z.ZodString, "many">;
82906
+ aspects: z.ZodRecord<z.ZodString, z.ZodUnknown>;
82907
+ }, "strip", z.ZodTypeAny, {
82908
+ name: string;
82909
+ key: string;
82910
+ features: string[];
82911
+ slug: string;
82912
+ aspects: Record<string, unknown>;
82913
+ canAdd: boolean;
82914
+ canDisable: boolean;
82915
+ }, {
82916
+ name: string;
82917
+ key: string;
82918
+ features: string[];
82919
+ slug: string;
82920
+ aspects: Record<string, unknown>;
82921
+ canAdd: boolean;
82922
+ canDisable: boolean;
82923
+ }>;
82924
+ }, "strip", z.ZodTypeAny, {
82925
+ name: string;
82926
+ id: string;
82927
+ provider: {
82928
+ name: string;
82929
+ key: string;
82930
+ features: string[];
82931
+ slug: string;
82932
+ aspects: Record<string, unknown>;
82933
+ canAdd: boolean;
82934
+ canDisable: boolean;
82935
+ };
82936
+ status: string;
82937
+ icon: string | null;
82938
+ domainName: string | null;
82939
+ accountType: string | null;
82940
+ scopes: string[] | null;
82941
+ outOfDate: boolean | null;
82942
+ missingFeatures: {
82943
+ key: string;
82944
+ description: string;
82945
+ }[] | null;
82946
+ }, {
82947
+ name: string;
82948
+ id: string;
82949
+ provider: {
82950
+ name: string;
82951
+ key: string;
82952
+ features: string[];
82953
+ slug: string;
82954
+ aspects: Record<string, unknown>;
82955
+ canAdd: boolean;
82956
+ canDisable: boolean;
82957
+ };
82958
+ status: string;
82959
+ icon: string | null;
82960
+ domainName: string | null;
82961
+ accountType: string | null;
82962
+ scopes: string[] | null;
82963
+ outOfDate: boolean | null;
82964
+ missingFeatures: {
82965
+ key: string;
82966
+ description: string;
82967
+ }[] | null;
82968
+ }>, "many">;
82969
+ }, "strip", z.ZodTypeAny, {
82970
+ error: string | null;
82971
+ config: {
82972
+ id: string;
82973
+ provider: {
82974
+ name: string;
82975
+ key: string;
82976
+ features: string[];
82977
+ slug: string;
82978
+ aspects: Record<string, unknown>;
82979
+ canAdd: boolean;
82980
+ canDisable: boolean;
82981
+ } | null;
82982
+ projectSlug: string;
82983
+ projectId: string;
82984
+ integrationId: string | null;
82985
+ defaultBranch: string | null;
82986
+ repoId: string;
82987
+ repoName: string;
82988
+ stackRoot: string;
82989
+ sourceRoot: string;
82990
+ automaticallyGenerated: boolean;
82991
+ hasCodeOwner: boolean;
82992
+ } | null;
82993
+ sourceUrl: string | null;
82994
+ integrations: {
82995
+ name: string;
82996
+ id: string;
82997
+ provider: {
82998
+ name: string;
82999
+ key: string;
83000
+ features: string[];
83001
+ slug: string;
83002
+ aspects: Record<string, unknown>;
83003
+ canAdd: boolean;
83004
+ canDisable: boolean;
83005
+ };
83006
+ status: string;
83007
+ icon: string | null;
83008
+ domainName: string | null;
83009
+ accountType: string | null;
83010
+ scopes: string[] | null;
83011
+ outOfDate: boolean | null;
83012
+ missingFeatures: {
83013
+ key: string;
83014
+ description: string;
83015
+ }[] | null;
83016
+ }[];
83017
+ sourcePath?: string | null | undefined;
83018
+ attemptedUrl?: string | null | undefined;
83019
+ }, {
83020
+ error: string | null;
83021
+ config: {
83022
+ id: string;
83023
+ provider: {
83024
+ name: string;
83025
+ key: string;
83026
+ features: string[];
83027
+ slug: string;
83028
+ aspects: Record<string, unknown>;
83029
+ canAdd: boolean;
83030
+ canDisable: boolean;
83031
+ } | null;
83032
+ projectSlug: string;
83033
+ projectId: string;
83034
+ integrationId: string | null;
83035
+ defaultBranch: string | null;
83036
+ repoId: string;
83037
+ repoName: string;
83038
+ stackRoot: string;
83039
+ sourceRoot: string;
83040
+ automaticallyGenerated: boolean;
83041
+ hasCodeOwner: boolean;
83042
+ } | null;
83043
+ sourceUrl: string | null;
83044
+ integrations: {
83045
+ name: string;
83046
+ id: string;
83047
+ provider: {
83048
+ name: string;
83049
+ key: string;
83050
+ features: string[];
83051
+ slug: string;
83052
+ aspects: Record<string, unknown>;
83053
+ canAdd: boolean;
83054
+ canDisable: boolean;
83055
+ };
83056
+ status: string;
83057
+ icon: string | null;
83058
+ domainName: string | null;
83059
+ accountType: string | null;
83060
+ scopes: string[] | null;
83061
+ outOfDate: boolean | null;
83062
+ missingFeatures: {
83063
+ key: string;
83064
+ description: string;
83065
+ }[] | null;
83066
+ }[];
83067
+ sourcePath?: string | null | undefined;
83068
+ attemptedUrl?: string | null | undefined;
83069
+ }>;
82442
83070
  export declare const zListProjectStatsData: z.ZodObject<{
82443
83071
  body: z.ZodOptional<z.ZodNever>;
82444
83072
  path: z.ZodObject<{