@gscdump/contracts 4.6.0 → 4.8.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.
@@ -740,12 +740,12 @@ export declare function createGscdumpV1Protocol(): {
740
740
  readonly GOOGLE_NEWS: "googleNews";
741
741
  }>>;
742
742
  dimensions: z.ZodArray<z.ZodEnum<{
743
- date: "date";
744
743
  page: "page";
745
744
  query: "query";
746
745
  queryCanonical: "queryCanonical";
747
746
  country: "country";
748
747
  device: "device";
748
+ date: "date";
749
749
  searchAppearance: "searchAppearance";
750
750
  hour: "hour";
751
751
  }>>;
@@ -760,12 +760,12 @@ export declare function createGscdumpV1Protocol(): {
760
760
  readonly GOOGLE_NEWS: "googleNews";
761
761
  }>>;
762
762
  dimensions: z.ZodArray<z.ZodEnum<{
763
- date: "date";
764
763
  page: "page";
765
764
  query: "query";
766
765
  queryCanonical: "queryCanonical";
767
766
  country: "country";
768
767
  device: "device";
768
+ date: "date";
769
769
  searchAppearance: "searchAppearance";
770
770
  hour: "hour";
771
771
  }>>;
@@ -897,12 +897,12 @@ export declare function createGscdumpV1Protocol(): {
897
897
  readonly GOOGLE_NEWS: "googleNews";
898
898
  }>>;
899
899
  dimensions: z.ZodArray<z.ZodEnum<{
900
- date: "date";
901
900
  page: "page";
902
901
  query: "query";
903
902
  queryCanonical: "queryCanonical";
904
903
  country: "country";
905
904
  device: "device";
905
+ date: "date";
906
906
  searchAppearance: "searchAppearance";
907
907
  hour: "hour";
908
908
  }>>;
@@ -917,12 +917,12 @@ export declare function createGscdumpV1Protocol(): {
917
917
  readonly GOOGLE_NEWS: "googleNews";
918
918
  }>>;
919
919
  dimensions: z.ZodArray<z.ZodEnum<{
920
- date: "date";
921
920
  page: "page";
922
921
  query: "query";
923
922
  queryCanonical: "queryCanonical";
924
923
  country: "country";
925
924
  device: "device";
925
+ date: "date";
926
926
  searchAppearance: "searchAppearance";
927
927
  hour: "hour";
928
928
  }>>;
@@ -1025,12 +1025,12 @@ export declare function createGscdumpV1Protocol(): {
1025
1025
  }, z.core.$strip>>;
1026
1026
  analyticsRowsRequest: z.ZodObject<{
1027
1027
  dimensions: z.ZodArray<z.ZodEnum<{
1028
- date: "date";
1029
1028
  page: "page";
1030
1029
  query: "query";
1031
1030
  queryCanonical: "queryCanonical";
1032
1031
  country: "country";
1033
1032
  device: "device";
1033
+ date: "date";
1034
1034
  searchAppearance: "searchAppearance";
1035
1035
  hour: "hour";
1036
1036
  }>>;
@@ -2205,10 +2205,10 @@ export declare function createGscdumpV1Protocol(): {
2205
2205
  readonly url: z.ZodURL;
2206
2206
  readonly observedAt: z.ZodISODateTime;
2207
2207
  readonly reason: z.ZodEnum<{
2208
- "authentication-required": "authentication-required";
2209
- "permission-denied": "permission-denied";
2210
2208
  "site-unverified": "site-unverified";
2211
2209
  throttled: "throttled";
2210
+ "authentication-required": "authentication-required";
2211
+ "permission-denied": "permission-denied";
2212
2212
  "quota-unavailable": "quota-unavailable";
2213
2213
  "provider-error": "provider-error";
2214
2214
  }>;
@@ -2262,10 +2262,10 @@ export declare function createGscdumpV1Protocol(): {
2262
2262
  readonly url: z.ZodURL;
2263
2263
  readonly observedAt: z.ZodISODateTime;
2264
2264
  readonly reason: z.ZodEnum<{
2265
- "authentication-required": "authentication-required";
2266
- "permission-denied": "permission-denied";
2267
2265
  "site-unverified": "site-unverified";
2268
2266
  throttled: "throttled";
2267
+ "authentication-required": "authentication-required";
2268
+ "permission-denied": "permission-denied";
2269
2269
  "quota-unavailable": "quota-unavailable";
2270
2270
  "provider-error": "provider-error";
2271
2271
  }>;
@@ -2706,6 +2706,638 @@ export declare function createGscdumpV1Protocol(): {
2706
2706
  readonly version: z.ZodLiteral<"1.0">;
2707
2707
  }, z.core.$strip>;
2708
2708
  }, z.core.$strip>>;
2709
+ bingSitesResponse: CompatibleResponseSchema<z.ZodObject<{
2710
+ data: z.ZodObject<{
2711
+ readonly searchEngine: z.ZodLiteral<"bing">;
2712
+ readonly grant: z.ZodDiscriminatedUnion<[z.ZodObject<{
2713
+ readonly _tag: z.ZodLiteral<"authorized">;
2714
+ readonly scopes: z.ZodArray<z.ZodString>;
2715
+ }, z.core.$strip>, z.ZodObject<{
2716
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
2717
+ }, z.core.$strip>, z.ZodObject<{
2718
+ readonly _tag: z.ZodLiteral<"missing">;
2719
+ }, z.core.$strip>], "_tag">;
2720
+ readonly sites: z.ZodArray<z.ZodObject<{
2721
+ readonly siteId: z.ZodString;
2722
+ readonly siteUrl: z.ZodString;
2723
+ readonly teamId: z.ZodNullable<z.ZodString>;
2724
+ readonly callerCanAct: z.ZodBoolean;
2725
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
2726
+ readonly _tag: z.ZodLiteral<"collecting">;
2727
+ readonly remoteSiteUrl: z.ZodURL;
2728
+ readonly lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
2729
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
2730
+ readonly _tag: z.ZodLiteral<"submitted">;
2731
+ readonly checkedAt: z.ZodISODateTime;
2732
+ readonly sitemapCount: z.ZodNumber;
2733
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2734
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2735
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
2736
+ readonly url: z.ZodString;
2737
+ readonly status: z.ZodString;
2738
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
2739
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2740
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2741
+ }, z.core.$strip>>;
2742
+ }, z.core.$strip>, z.ZodObject<{
2743
+ readonly _tag: z.ZodLiteral<"missing">;
2744
+ readonly checkedAt: z.ZodISODateTime;
2745
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
2746
+ }, z.core.$strip>, z.ZodObject<{
2747
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
2748
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
2749
+ readonly lastSubmittedAt: z.ZodISODateTime;
2750
+ }, z.core.$strip>, z.ZodObject<{
2751
+ readonly _tag: z.ZodLiteral<"unknown">;
2752
+ }, z.core.$strip>], "_tag">;
2753
+ }, z.core.$strip>, z.ZodObject<{
2754
+ readonly _tag: z.ZodLiteral<"verification-required">;
2755
+ readonly remoteSiteUrl: z.ZodURL;
2756
+ readonly verification: z.ZodObject<{
2757
+ _tag: z.ZodLiteral<"cname">;
2758
+ name: z.ZodString;
2759
+ value: z.ZodLiteral<"verify.bing.com">;
2760
+ }, z.core.$strict>;
2761
+ }, z.core.$strip>, z.ZodObject<{
2762
+ readonly _tag: z.ZodLiteral<"linkable">;
2763
+ readonly reason: z.ZodEnum<{
2764
+ "permission-lost": "permission-lost";
2765
+ "not-linked": "not-linked";
2766
+ "binding-stalled": "binding-stalled";
2767
+ }>;
2768
+ }, z.core.$strip>, z.ZodObject<{
2769
+ readonly _tag: z.ZodLiteral<"grant-required">;
2770
+ readonly reason: z.ZodEnum<{
2771
+ "reauthorization-required": "reauthorization-required";
2772
+ "grant-missing": "grant-missing";
2773
+ }>;
2774
+ }, z.core.$strip>, z.ZodObject<{
2775
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
2776
+ readonly remoteSiteUrl: z.ZodURL;
2777
+ }, z.core.$strip>, z.ZodObject<{
2778
+ readonly _tag: z.ZodLiteral<"unavailable">;
2779
+ readonly reason: z.ZodEnum<{
2780
+ "not-enabled": "not-enabled";
2781
+ }>;
2782
+ }, z.core.$strip>], "_tag">;
2783
+ }, z.core.$strip>>;
2784
+ }, z.core.$strip>;
2785
+ meta: z.ZodObject<{
2786
+ readonly requestId: z.ZodString;
2787
+ readonly surface: z.ZodLiteral<"partner">;
2788
+ readonly version: z.ZodLiteral<"1.0">;
2789
+ }, z.core.$strip>;
2790
+ }, z.core.$strip>, z.ZodObject<{
2791
+ data: z.ZodObject<{
2792
+ readonly searchEngine: z.ZodLiteral<"bing">;
2793
+ readonly grant: z.ZodDiscriminatedUnion<[z.ZodObject<{
2794
+ readonly _tag: z.ZodLiteral<"authorized">;
2795
+ readonly scopes: z.ZodArray<z.ZodString>;
2796
+ }, z.core.$strip>, z.ZodObject<{
2797
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
2798
+ }, z.core.$strip>, z.ZodObject<{
2799
+ readonly _tag: z.ZodLiteral<"missing">;
2800
+ }, z.core.$strip>], "_tag">;
2801
+ readonly sites: z.ZodArray<z.ZodObject<{
2802
+ readonly siteId: z.ZodString;
2803
+ readonly siteUrl: z.ZodString;
2804
+ readonly teamId: z.ZodNullable<z.ZodString>;
2805
+ readonly callerCanAct: z.ZodBoolean;
2806
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
2807
+ readonly _tag: z.ZodLiteral<"collecting">;
2808
+ readonly remoteSiteUrl: z.ZodURL;
2809
+ readonly lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
2810
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
2811
+ readonly _tag: z.ZodLiteral<"submitted">;
2812
+ readonly checkedAt: z.ZodISODateTime;
2813
+ readonly sitemapCount: z.ZodNumber;
2814
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2815
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2816
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
2817
+ readonly url: z.ZodString;
2818
+ readonly status: z.ZodString;
2819
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
2820
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2821
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2822
+ }, z.core.$strip>>;
2823
+ }, z.core.$strip>, z.ZodObject<{
2824
+ readonly _tag: z.ZodLiteral<"missing">;
2825
+ readonly checkedAt: z.ZodISODateTime;
2826
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
2827
+ }, z.core.$strip>, z.ZodObject<{
2828
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
2829
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
2830
+ readonly lastSubmittedAt: z.ZodISODateTime;
2831
+ }, z.core.$strip>, z.ZodObject<{
2832
+ readonly _tag: z.ZodLiteral<"unknown">;
2833
+ }, z.core.$strip>], "_tag">;
2834
+ }, z.core.$strip>, z.ZodObject<{
2835
+ readonly _tag: z.ZodLiteral<"verification-required">;
2836
+ readonly remoteSiteUrl: z.ZodURL;
2837
+ readonly verification: z.ZodObject<{
2838
+ _tag: z.ZodLiteral<"cname">;
2839
+ name: z.ZodString;
2840
+ value: z.ZodLiteral<"verify.bing.com">;
2841
+ }, z.core.$strict>;
2842
+ }, z.core.$strip>, z.ZodObject<{
2843
+ readonly _tag: z.ZodLiteral<"linkable">;
2844
+ readonly reason: z.ZodEnum<{
2845
+ "permission-lost": "permission-lost";
2846
+ "not-linked": "not-linked";
2847
+ "binding-stalled": "binding-stalled";
2848
+ }>;
2849
+ }, z.core.$strip>, z.ZodObject<{
2850
+ readonly _tag: z.ZodLiteral<"grant-required">;
2851
+ readonly reason: z.ZodEnum<{
2852
+ "reauthorization-required": "reauthorization-required";
2853
+ "grant-missing": "grant-missing";
2854
+ }>;
2855
+ }, z.core.$strip>, z.ZodObject<{
2856
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
2857
+ readonly remoteSiteUrl: z.ZodURL;
2858
+ }, z.core.$strip>, z.ZodObject<{
2859
+ readonly _tag: z.ZodLiteral<"unavailable">;
2860
+ readonly reason: z.ZodEnum<{
2861
+ "not-enabled": "not-enabled";
2862
+ }>;
2863
+ }, z.core.$strip>], "_tag">;
2864
+ }, z.core.$strip>>;
2865
+ }, z.core.$strip>;
2866
+ meta: z.ZodObject<{
2867
+ readonly requestId: z.ZodString;
2868
+ readonly surface: z.ZodLiteral<"partner">;
2869
+ readonly version: z.ZodLiteral<"1.0">;
2870
+ }, z.core.$strip>;
2871
+ }, z.core.$strip>>;
2872
+ bingLinkResponse: CompatibleResponseSchema<z.ZodObject<{
2873
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
2874
+ readonly _tag: z.ZodLiteral<"linked">;
2875
+ readonly site: z.ZodObject<{
2876
+ readonly siteId: z.ZodString;
2877
+ readonly siteUrl: z.ZodString;
2878
+ readonly teamId: z.ZodNullable<z.ZodString>;
2879
+ readonly callerCanAct: z.ZodBoolean;
2880
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
2881
+ readonly _tag: z.ZodLiteral<"collecting">;
2882
+ readonly remoteSiteUrl: z.ZodURL;
2883
+ readonly lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
2884
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
2885
+ readonly _tag: z.ZodLiteral<"submitted">;
2886
+ readonly checkedAt: z.ZodISODateTime;
2887
+ readonly sitemapCount: z.ZodNumber;
2888
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2889
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2890
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
2891
+ readonly url: z.ZodString;
2892
+ readonly status: z.ZodString;
2893
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
2894
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2895
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2896
+ }, z.core.$strip>>;
2897
+ }, z.core.$strip>, z.ZodObject<{
2898
+ readonly _tag: z.ZodLiteral<"missing">;
2899
+ readonly checkedAt: z.ZodISODateTime;
2900
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
2901
+ }, z.core.$strip>, z.ZodObject<{
2902
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
2903
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
2904
+ readonly lastSubmittedAt: z.ZodISODateTime;
2905
+ }, z.core.$strip>, z.ZodObject<{
2906
+ readonly _tag: z.ZodLiteral<"unknown">;
2907
+ }, z.core.$strip>], "_tag">;
2908
+ }, z.core.$strip>, z.ZodObject<{
2909
+ readonly _tag: z.ZodLiteral<"verification-required">;
2910
+ readonly remoteSiteUrl: z.ZodURL;
2911
+ readonly verification: z.ZodObject<{
2912
+ _tag: z.ZodLiteral<"cname">;
2913
+ name: z.ZodString;
2914
+ value: z.ZodLiteral<"verify.bing.com">;
2915
+ }, z.core.$strict>;
2916
+ }, z.core.$strip>, z.ZodObject<{
2917
+ readonly _tag: z.ZodLiteral<"linkable">;
2918
+ readonly reason: z.ZodEnum<{
2919
+ "permission-lost": "permission-lost";
2920
+ "not-linked": "not-linked";
2921
+ "binding-stalled": "binding-stalled";
2922
+ }>;
2923
+ }, z.core.$strip>, z.ZodObject<{
2924
+ readonly _tag: z.ZodLiteral<"grant-required">;
2925
+ readonly reason: z.ZodEnum<{
2926
+ "reauthorization-required": "reauthorization-required";
2927
+ "grant-missing": "grant-missing";
2928
+ }>;
2929
+ }, z.core.$strip>, z.ZodObject<{
2930
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
2931
+ readonly remoteSiteUrl: z.ZodURL;
2932
+ }, z.core.$strip>, z.ZodObject<{
2933
+ readonly _tag: z.ZodLiteral<"unavailable">;
2934
+ readonly reason: z.ZodEnum<{
2935
+ "not-enabled": "not-enabled";
2936
+ }>;
2937
+ }, z.core.$strip>], "_tag">;
2938
+ }, z.core.$strip>;
2939
+ }, z.core.$strip>, z.ZodObject<{
2940
+ readonly _tag: z.ZodLiteral<"grant-required">;
2941
+ readonly reason: z.ZodEnum<{
2942
+ "reauthorization-required": "reauthorization-required";
2943
+ "grant-missing": "grant-missing";
2944
+ }>;
2945
+ }, z.core.$strip>, z.ZodObject<{
2946
+ readonly _tag: z.ZodLiteral<"failed">;
2947
+ readonly reason: z.ZodEnum<{
2948
+ "sites-forbidden": "sites-forbidden";
2949
+ "sites-throttled": "sites-throttled";
2950
+ "sites-unavailable": "sites-unavailable";
2951
+ "oauth-contract": "oauth-contract";
2952
+ }>;
2953
+ readonly retryable: z.ZodBoolean;
2954
+ }, z.core.$strip>], "_tag">;
2955
+ meta: z.ZodObject<{
2956
+ readonly requestId: z.ZodString;
2957
+ readonly surface: z.ZodLiteral<"partner">;
2958
+ readonly version: z.ZodLiteral<"1.0">;
2959
+ }, z.core.$strip>;
2960
+ }, z.core.$strip>, z.ZodObject<{
2961
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
2962
+ readonly _tag: z.ZodLiteral<"linked">;
2963
+ readonly site: z.ZodObject<{
2964
+ readonly siteId: z.ZodString;
2965
+ readonly siteUrl: z.ZodString;
2966
+ readonly teamId: z.ZodNullable<z.ZodString>;
2967
+ readonly callerCanAct: z.ZodBoolean;
2968
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
2969
+ readonly _tag: z.ZodLiteral<"collecting">;
2970
+ readonly remoteSiteUrl: z.ZodURL;
2971
+ readonly lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
2972
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
2973
+ readonly _tag: z.ZodLiteral<"submitted">;
2974
+ readonly checkedAt: z.ZodISODateTime;
2975
+ readonly sitemapCount: z.ZodNumber;
2976
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2977
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2978
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
2979
+ readonly url: z.ZodString;
2980
+ readonly status: z.ZodString;
2981
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
2982
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2983
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2984
+ }, z.core.$strip>>;
2985
+ }, z.core.$strip>, z.ZodObject<{
2986
+ readonly _tag: z.ZodLiteral<"missing">;
2987
+ readonly checkedAt: z.ZodISODateTime;
2988
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
2989
+ }, z.core.$strip>, z.ZodObject<{
2990
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
2991
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
2992
+ readonly lastSubmittedAt: z.ZodISODateTime;
2993
+ }, z.core.$strip>, z.ZodObject<{
2994
+ readonly _tag: z.ZodLiteral<"unknown">;
2995
+ }, z.core.$strip>], "_tag">;
2996
+ }, z.core.$strip>, z.ZodObject<{
2997
+ readonly _tag: z.ZodLiteral<"verification-required">;
2998
+ readonly remoteSiteUrl: z.ZodURL;
2999
+ readonly verification: z.ZodObject<{
3000
+ _tag: z.ZodLiteral<"cname">;
3001
+ name: z.ZodString;
3002
+ value: z.ZodLiteral<"verify.bing.com">;
3003
+ }, z.core.$strict>;
3004
+ }, z.core.$strip>, z.ZodObject<{
3005
+ readonly _tag: z.ZodLiteral<"linkable">;
3006
+ readonly reason: z.ZodEnum<{
3007
+ "permission-lost": "permission-lost";
3008
+ "not-linked": "not-linked";
3009
+ "binding-stalled": "binding-stalled";
3010
+ }>;
3011
+ }, z.core.$strip>, z.ZodObject<{
3012
+ readonly _tag: z.ZodLiteral<"grant-required">;
3013
+ readonly reason: z.ZodEnum<{
3014
+ "reauthorization-required": "reauthorization-required";
3015
+ "grant-missing": "grant-missing";
3016
+ }>;
3017
+ }, z.core.$strip>, z.ZodObject<{
3018
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
3019
+ readonly remoteSiteUrl: z.ZodURL;
3020
+ }, z.core.$strip>, z.ZodObject<{
3021
+ readonly _tag: z.ZodLiteral<"unavailable">;
3022
+ readonly reason: z.ZodEnum<{
3023
+ "not-enabled": "not-enabled";
3024
+ }>;
3025
+ }, z.core.$strip>], "_tag">;
3026
+ }, z.core.$strip>;
3027
+ }, z.core.$strip>, z.ZodObject<{
3028
+ readonly _tag: z.ZodLiteral<"grant-required">;
3029
+ readonly reason: z.ZodEnum<{
3030
+ "reauthorization-required": "reauthorization-required";
3031
+ "grant-missing": "grant-missing";
3032
+ }>;
3033
+ }, z.core.$strip>, z.ZodObject<{
3034
+ readonly _tag: z.ZodLiteral<"failed">;
3035
+ readonly reason: z.ZodEnum<{
3036
+ "sites-forbidden": "sites-forbidden";
3037
+ "sites-throttled": "sites-throttled";
3038
+ "sites-unavailable": "sites-unavailable";
3039
+ "oauth-contract": "oauth-contract";
3040
+ }>;
3041
+ readonly retryable: z.ZodBoolean;
3042
+ }, z.core.$strip>], "_tag">;
3043
+ meta: z.ZodObject<{
3044
+ readonly requestId: z.ZodString;
3045
+ readonly surface: z.ZodLiteral<"partner">;
3046
+ readonly version: z.ZodLiteral<"1.0">;
3047
+ }, z.core.$strip>;
3048
+ }, z.core.$strip>>;
3049
+ bingAuthorizationResponse: CompatibleResponseSchema<z.ZodObject<{
3050
+ data: z.ZodObject<{
3051
+ readonly authorizeUrl: z.ZodURL;
3052
+ readonly expiresAt: z.ZodISODateTime;
3053
+ }, z.core.$strip>;
3054
+ meta: z.ZodObject<{
3055
+ readonly requestId: z.ZodString;
3056
+ readonly surface: z.ZodLiteral<"partner">;
3057
+ readonly version: z.ZodLiteral<"1.0">;
3058
+ }, z.core.$strip>;
3059
+ }, z.core.$strip>, z.ZodObject<{
3060
+ data: z.ZodObject<{
3061
+ readonly authorizeUrl: z.ZodURL;
3062
+ readonly expiresAt: z.ZodISODateTime;
3063
+ }, z.core.$strip>;
3064
+ meta: z.ZodObject<{
3065
+ readonly requestId: z.ZodString;
3066
+ readonly surface: z.ZodLiteral<"partner">;
3067
+ readonly version: z.ZodLiteral<"1.0">;
3068
+ }, z.core.$strip>;
3069
+ }, z.core.$strip>>;
3070
+ bingSitemapSubmitResponse: CompatibleResponseSchema<z.ZodObject<{
3071
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
3072
+ readonly _tag: z.ZodLiteral<"submitted">;
3073
+ readonly sitemapUrl: z.ZodURL;
3074
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
3075
+ readonly _tag: z.ZodLiteral<"submitted">;
3076
+ readonly checkedAt: z.ZodISODateTime;
3077
+ readonly sitemapCount: z.ZodNumber;
3078
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
3079
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
3080
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
3081
+ readonly url: z.ZodString;
3082
+ readonly status: z.ZodString;
3083
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
3084
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
3085
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
3086
+ }, z.core.$strip>>;
3087
+ }, z.core.$strip>, z.ZodObject<{
3088
+ readonly _tag: z.ZodLiteral<"missing">;
3089
+ readonly checkedAt: z.ZodISODateTime;
3090
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
3091
+ }, z.core.$strip>, z.ZodObject<{
3092
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
3093
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
3094
+ readonly lastSubmittedAt: z.ZodISODateTime;
3095
+ }, z.core.$strip>, z.ZodObject<{
3096
+ readonly _tag: z.ZodLiteral<"unknown">;
3097
+ }, z.core.$strip>], "_tag">;
3098
+ }, z.core.$strip>, z.ZodObject<{
3099
+ readonly _tag: z.ZodLiteral<"failed">;
3100
+ readonly reason: z.ZodEnum<{
3101
+ "grant-required": "grant-required";
3102
+ "site-unverified": "site-unverified";
3103
+ "no-sitemap-found": "no-sitemap-found";
3104
+ throttled: "throttled";
3105
+ "provider-unavailable": "provider-unavailable";
3106
+ }>;
3107
+ readonly retryable: z.ZodBoolean;
3108
+ }, z.core.$strip>], "_tag">;
3109
+ meta: z.ZodObject<{
3110
+ readonly requestId: z.ZodString;
3111
+ readonly surface: z.ZodLiteral<"partner">;
3112
+ readonly version: z.ZodLiteral<"1.0">;
3113
+ }, z.core.$strip>;
3114
+ }, z.core.$strip>, z.ZodObject<{
3115
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
3116
+ readonly _tag: z.ZodLiteral<"submitted">;
3117
+ readonly sitemapUrl: z.ZodURL;
3118
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
3119
+ readonly _tag: z.ZodLiteral<"submitted">;
3120
+ readonly checkedAt: z.ZodISODateTime;
3121
+ readonly sitemapCount: z.ZodNumber;
3122
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
3123
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
3124
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
3125
+ readonly url: z.ZodString;
3126
+ readonly status: z.ZodString;
3127
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
3128
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
3129
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
3130
+ }, z.core.$strip>>;
3131
+ }, z.core.$strip>, z.ZodObject<{
3132
+ readonly _tag: z.ZodLiteral<"missing">;
3133
+ readonly checkedAt: z.ZodISODateTime;
3134
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
3135
+ }, z.core.$strip>, z.ZodObject<{
3136
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
3137
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
3138
+ readonly lastSubmittedAt: z.ZodISODateTime;
3139
+ }, z.core.$strip>, z.ZodObject<{
3140
+ readonly _tag: z.ZodLiteral<"unknown">;
3141
+ }, z.core.$strip>], "_tag">;
3142
+ }, z.core.$strip>, z.ZodObject<{
3143
+ readonly _tag: z.ZodLiteral<"failed">;
3144
+ readonly reason: z.ZodEnum<{
3145
+ "grant-required": "grant-required";
3146
+ "site-unverified": "site-unverified";
3147
+ "no-sitemap-found": "no-sitemap-found";
3148
+ throttled: "throttled";
3149
+ "provider-unavailable": "provider-unavailable";
3150
+ }>;
3151
+ readonly retryable: z.ZodBoolean;
3152
+ }, z.core.$strip>], "_tag">;
3153
+ meta: z.ZodObject<{
3154
+ readonly requestId: z.ZodString;
3155
+ readonly surface: z.ZodLiteral<"partner">;
3156
+ readonly version: z.ZodLiteral<"1.0">;
3157
+ }, z.core.$strip>;
3158
+ }, z.core.$strip>>;
3159
+ sitemapSubmissionResponse: CompatibleResponseSchema<z.ZodObject<{
3160
+ data: z.ZodObject<{
3161
+ readonly searchEngine: z.ZodLiteral<"google">;
3162
+ readonly gscPropertyUrl: z.ZodString;
3163
+ readonly callerCanAct: z.ZodBoolean;
3164
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
3165
+ readonly _tag: z.ZodLiteral<"listed">;
3166
+ readonly checkedOn: z.ZodISODate;
3167
+ readonly sitemapCount: z.ZodNumber;
3168
+ }, z.core.$strip>, z.ZodObject<{
3169
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
3170
+ readonly checkedOn: z.ZodISODate;
3171
+ readonly sitemapUrl: z.ZodURL;
3172
+ readonly sitemapCount: z.ZodNumber;
3173
+ }, z.core.$strip>, z.ZodObject<{
3174
+ readonly _tag: z.ZodLiteral<"ready">;
3175
+ readonly sitemapUrl: z.ZodURL;
3176
+ readonly writeAccess: z.ZodEnum<{
3177
+ unknown: "unknown";
3178
+ granted: "granted";
3179
+ }>;
3180
+ }, z.core.$strip>, z.ZodObject<{
3181
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
3182
+ readonly _tag: z.ZodLiteral<"caller">;
3183
+ }, z.core.$strip>, z.ZodObject<{
3184
+ readonly _tag: z.ZodLiteral<"site-owner">;
3185
+ readonly email: z.ZodEmail;
3186
+ readonly name: z.ZodNullable<z.ZodString>;
3187
+ }, z.core.$strip>], "_tag">;
3188
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
3189
+ readonly sitemapUrl: z.ZodURL;
3190
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
3191
+ }, z.core.$strip>, z.ZodObject<{
3192
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
3193
+ readonly _tag: z.ZodLiteral<"caller">;
3194
+ }, z.core.$strip>, z.ZodObject<{
3195
+ readonly _tag: z.ZodLiteral<"site-owner">;
3196
+ readonly email: z.ZodEmail;
3197
+ readonly name: z.ZodNullable<z.ZodString>;
3198
+ }, z.core.$strip>], "_tag">;
3199
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
3200
+ readonly sitemapUrl: z.ZodURL;
3201
+ readonly permissionLevel: z.ZodString;
3202
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
3203
+ siteOwner: "siteOwner";
3204
+ siteFullUser: "siteFullUser";
3205
+ }>>;
3206
+ }, z.core.$strip>, z.ZodObject<{
3207
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
3208
+ readonly checkedOn: z.ZodISODate;
3209
+ }, z.core.$strip>, z.ZodObject<{
3210
+ readonly _tag: z.ZodLiteral<"not-checked">;
3211
+ }, z.core.$strip>, z.ZodObject<{
3212
+ readonly _tag: z.ZodLiteral<"unavailable">;
3213
+ readonly reason: z.ZodEnum<{
3214
+ "permission-lost": "permission-lost";
3215
+ "grant-missing": "grant-missing";
3216
+ }>;
3217
+ }, z.core.$strip>], "_tag">;
3218
+ }, z.core.$strip>;
3219
+ meta: z.ZodObject<{
3220
+ readonly requestId: z.ZodString;
3221
+ readonly surface: z.ZodLiteral<"partner">;
3222
+ readonly version: z.ZodLiteral<"1.0">;
3223
+ }, z.core.$strip>;
3224
+ }, z.core.$strip>, z.ZodObject<{
3225
+ data: z.ZodObject<{
3226
+ readonly searchEngine: z.ZodLiteral<"google">;
3227
+ readonly gscPropertyUrl: z.ZodString;
3228
+ readonly callerCanAct: z.ZodBoolean;
3229
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
3230
+ readonly _tag: z.ZodLiteral<"listed">;
3231
+ readonly checkedOn: z.ZodISODate;
3232
+ readonly sitemapCount: z.ZodNumber;
3233
+ }, z.core.$strip>, z.ZodObject<{
3234
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
3235
+ readonly checkedOn: z.ZodISODate;
3236
+ readonly sitemapUrl: z.ZodURL;
3237
+ readonly sitemapCount: z.ZodNumber;
3238
+ }, z.core.$strip>, z.ZodObject<{
3239
+ readonly _tag: z.ZodLiteral<"ready">;
3240
+ readonly sitemapUrl: z.ZodURL;
3241
+ readonly writeAccess: z.ZodEnum<{
3242
+ unknown: "unknown";
3243
+ granted: "granted";
3244
+ }>;
3245
+ }, z.core.$strip>, z.ZodObject<{
3246
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
3247
+ readonly _tag: z.ZodLiteral<"caller">;
3248
+ }, z.core.$strip>, z.ZodObject<{
3249
+ readonly _tag: z.ZodLiteral<"site-owner">;
3250
+ readonly email: z.ZodEmail;
3251
+ readonly name: z.ZodNullable<z.ZodString>;
3252
+ }, z.core.$strip>], "_tag">;
3253
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
3254
+ readonly sitemapUrl: z.ZodURL;
3255
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
3256
+ }, z.core.$strip>, z.ZodObject<{
3257
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
3258
+ readonly _tag: z.ZodLiteral<"caller">;
3259
+ }, z.core.$strip>, z.ZodObject<{
3260
+ readonly _tag: z.ZodLiteral<"site-owner">;
3261
+ readonly email: z.ZodEmail;
3262
+ readonly name: z.ZodNullable<z.ZodString>;
3263
+ }, z.core.$strip>], "_tag">;
3264
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
3265
+ readonly sitemapUrl: z.ZodURL;
3266
+ readonly permissionLevel: z.ZodString;
3267
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
3268
+ siteOwner: "siteOwner";
3269
+ siteFullUser: "siteFullUser";
3270
+ }>>;
3271
+ }, z.core.$strip>, z.ZodObject<{
3272
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
3273
+ readonly checkedOn: z.ZodISODate;
3274
+ }, z.core.$strip>, z.ZodObject<{
3275
+ readonly _tag: z.ZodLiteral<"not-checked">;
3276
+ }, z.core.$strip>, z.ZodObject<{
3277
+ readonly _tag: z.ZodLiteral<"unavailable">;
3278
+ readonly reason: z.ZodEnum<{
3279
+ "permission-lost": "permission-lost";
3280
+ "grant-missing": "grant-missing";
3281
+ }>;
3282
+ }, z.core.$strip>], "_tag">;
3283
+ }, z.core.$strip>;
3284
+ meta: z.ZodObject<{
3285
+ readonly requestId: z.ZodString;
3286
+ readonly surface: z.ZodLiteral<"partner">;
3287
+ readonly version: z.ZodLiteral<"1.0">;
3288
+ }, z.core.$strip>;
3289
+ }, z.core.$strip>>;
3290
+ sitemapSubmitResponse: CompatibleResponseSchema<z.ZodObject<{
3291
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
3292
+ readonly _tag: z.ZodLiteral<"submitted">;
3293
+ readonly sitemapUrl: z.ZodURL;
3294
+ readonly sitemapCount: z.ZodNumber;
3295
+ }, z.core.$strip>, z.ZodObject<{
3296
+ readonly _tag: z.ZodLiteral<"failed">;
3297
+ readonly reason: z.ZodEnum<{
3298
+ "permission-lost": "permission-lost";
3299
+ "grant-missing": "grant-missing";
3300
+ "no-sitemap-found": "no-sitemap-found";
3301
+ "provider-unavailable": "provider-unavailable";
3302
+ rejected: "rejected";
3303
+ "needs-write-access": "needs-write-access";
3304
+ "insufficient-permission": "insufficient-permission";
3305
+ "already-listed": "already-listed";
3306
+ }>;
3307
+ readonly retryable: z.ZodBoolean;
3308
+ readonly sitemapUrl: z.ZodNullable<z.ZodURL>;
3309
+ }, z.core.$strip>], "_tag">;
3310
+ meta: z.ZodObject<{
3311
+ readonly requestId: z.ZodString;
3312
+ readonly surface: z.ZodLiteral<"partner">;
3313
+ readonly version: z.ZodLiteral<"1.0">;
3314
+ }, z.core.$strip>;
3315
+ }, z.core.$strip>, z.ZodObject<{
3316
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
3317
+ readonly _tag: z.ZodLiteral<"submitted">;
3318
+ readonly sitemapUrl: z.ZodURL;
3319
+ readonly sitemapCount: z.ZodNumber;
3320
+ }, z.core.$strip>, z.ZodObject<{
3321
+ readonly _tag: z.ZodLiteral<"failed">;
3322
+ readonly reason: z.ZodEnum<{
3323
+ "permission-lost": "permission-lost";
3324
+ "grant-missing": "grant-missing";
3325
+ "no-sitemap-found": "no-sitemap-found";
3326
+ "provider-unavailable": "provider-unavailable";
3327
+ rejected: "rejected";
3328
+ "needs-write-access": "needs-write-access";
3329
+ "insufficient-permission": "insufficient-permission";
3330
+ "already-listed": "already-listed";
3331
+ }>;
3332
+ readonly retryable: z.ZodBoolean;
3333
+ readonly sitemapUrl: z.ZodNullable<z.ZodURL>;
3334
+ }, z.core.$strip>], "_tag">;
3335
+ meta: z.ZodObject<{
3336
+ readonly requestId: z.ZodString;
3337
+ readonly surface: z.ZodLiteral<"partner">;
3338
+ readonly version: z.ZodLiteral<"1.0">;
3339
+ }, z.core.$strip>;
3340
+ }, z.core.$strip>>;
2709
3341
  lifecycleResponse: CompatibleResponseSchema<z.ZodObject<{
2710
3342
  data: z.ZodObject<{
2711
3343
  readonly userId: z.ZodString;
@@ -2836,6 +3468,12 @@ export declare function createGscdumpV1Protocol(): {
2836
3468
  retry_indexing: "retry_indexing";
2837
3469
  }>;
2838
3470
  }, z.core.$strip>;
3471
+ readonly hold: z.ZodNullable<z.ZodEnum<{
3472
+ size_limit: "size_limit";
3473
+ sitemap_limit: "sitemap_limit";
3474
+ size_unknown: "size_unknown";
3475
+ size_pending: "size_pending";
3476
+ }>>;
2839
3477
  readonly latestError: z.ZodNullable<z.ZodObject<{
2840
3478
  readonly code: z.ZodEnum<{
2841
3479
  missing_refresh_token: "missing_refresh_token";
@@ -2992,6 +3630,12 @@ export declare function createGscdumpV1Protocol(): {
2992
3630
  retry_indexing: "retry_indexing";
2993
3631
  }>;
2994
3632
  }, z.core.$strip>;
3633
+ readonly hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
3634
+ size_limit: "size_limit";
3635
+ sitemap_limit: "sitemap_limit";
3636
+ size_unknown: "size_unknown";
3637
+ size_pending: "size_pending";
3638
+ }>>>;
2995
3639
  readonly latestError: z.ZodNullable<z.ZodObject<{
2996
3640
  readonly code: z.ZodEnum<{
2997
3641
  missing_refresh_token: "missing_refresh_token";
@@ -3019,21 +3663,103 @@ export declare function createGscdumpV1Protocol(): {
3019
3663
  readonly version: z.ZodLiteral<"1.0">;
3020
3664
  }, z.core.$strip>;
3021
3665
  }, z.core.$strip>>;
3022
- registerSiteRequest: z.ZodObject<{
3023
- externalSiteId: z.ZodOptional<z.ZodString>;
3024
- requestedUrl: z.ZodOptional<z.ZodString>;
3025
- gscPropertyUrl: z.ZodOptional<z.ZodString>;
3026
- siteUrl: z.ZodString;
3027
- catalogSiteId: z.ZodOptional<z.ZodNumber>;
3028
- externalSiteUrl: z.ZodOptional<z.ZodString>;
3029
- webhookUrl: z.ZodOptional<z.ZodURL>;
3030
- webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3031
- "user.lifecycle.changed": "user.lifecycle.changed";
3032
- "site.lifecycle.changed": "site.lifecycle.changed";
3033
- "site.analytics.ready": "site.analytics.ready";
3034
- "site.indexing.ready": "site.indexing.ready";
3035
- "site.auth.failed": "site.auth.failed";
3666
+ userEntitlementsResponse: CompatibleResponseSchema<z.ZodObject<{
3667
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
3668
+ readonly mode: z.ZodLiteral<"exempt">;
3669
+ }, z.core.$strip>, z.ZodObject<{
3670
+ readonly meters: z.ZodObject<{
3671
+ readonly sites: z.ZodObject<{
3672
+ readonly used: z.ZodNumber;
3673
+ readonly allowance: z.ZodNumber;
3674
+ }, z.core.$strip>;
3675
+ readonly preservedRows: z.ZodObject<{
3676
+ readonly used: z.ZodNullable<z.ZodNumber>;
3677
+ readonly allowance: z.ZodNumber;
3678
+ }, z.core.$strip>;
3679
+ readonly urlInspections: z.ZodObject<{
3680
+ readonly used: z.ZodNumber;
3681
+ readonly allowance: z.ZodNullable<z.ZodNumber>;
3682
+ readonly resetsAt: z.ZodISODate;
3683
+ }, z.core.$strip>;
3684
+ }, z.core.$strip>;
3685
+ readonly heldSites: z.ZodArray<z.ZodObject<{
3686
+ readonly siteId: z.ZodString;
3687
+ readonly hold: z.ZodEnum<{
3688
+ size_limit: "size_limit";
3689
+ sitemap_limit: "sitemap_limit";
3690
+ size_unknown: "size_unknown";
3691
+ size_pending: "size_pending";
3692
+ }>;
3693
+ }, z.core.$strip>>;
3694
+ readonly mode: z.ZodLiteral<"metered">;
3695
+ readonly phase: z.ZodEnum<{
3696
+ beta: "beta";
3697
+ billing: "billing";
3698
+ }>;
3699
+ readonly sizeLimitRowsPerDay: z.ZodNumber;
3700
+ }, z.core.$strip>], "mode">;
3701
+ meta: z.ZodObject<{
3702
+ readonly requestId: z.ZodString;
3703
+ readonly surface: z.ZodLiteral<"partner">;
3704
+ readonly version: z.ZodLiteral<"1.0">;
3705
+ }, z.core.$strip>;
3706
+ }, z.core.$strip>, z.ZodObject<{
3707
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
3708
+ readonly mode: z.ZodLiteral<"exempt">;
3709
+ }, z.core.$strip>, z.ZodObject<{
3710
+ readonly meters: z.ZodObject<{
3711
+ readonly sites: z.ZodObject<{
3712
+ readonly used: z.ZodNumber;
3713
+ readonly allowance: z.ZodNumber;
3714
+ }, z.core.$strip>;
3715
+ readonly preservedRows: z.ZodObject<{
3716
+ readonly used: z.ZodNullable<z.ZodNumber>;
3717
+ readonly allowance: z.ZodNumber;
3718
+ }, z.core.$strip>;
3719
+ readonly urlInspections: z.ZodObject<{
3720
+ readonly used: z.ZodNumber;
3721
+ readonly allowance: z.ZodNullable<z.ZodNumber>;
3722
+ readonly resetsAt: z.ZodISODate;
3723
+ }, z.core.$strip>;
3724
+ }, z.core.$strip>;
3725
+ readonly heldSites: z.ZodArray<z.ZodObject<{
3726
+ readonly siteId: z.ZodString;
3727
+ readonly hold: z.ZodEnum<{
3728
+ size_limit: "size_limit";
3729
+ sitemap_limit: "sitemap_limit";
3730
+ size_unknown: "size_unknown";
3731
+ size_pending: "size_pending";
3732
+ }>;
3733
+ }, z.core.$strip>>;
3734
+ readonly mode: z.ZodLiteral<"metered">;
3735
+ readonly phase: z.ZodEnum<{
3736
+ beta: "beta";
3737
+ billing: "billing";
3738
+ }>;
3739
+ readonly sizeLimitRowsPerDay: z.ZodNumber;
3740
+ }, z.core.$strip>], "mode">;
3741
+ meta: z.ZodObject<{
3742
+ readonly requestId: z.ZodString;
3743
+ readonly surface: z.ZodLiteral<"partner">;
3744
+ readonly version: z.ZodLiteral<"1.0">;
3745
+ }, z.core.$strip>;
3746
+ }, z.core.$strip>>;
3747
+ registerSiteRequest: z.ZodObject<{
3748
+ externalSiteId: z.ZodOptional<z.ZodString>;
3749
+ requestedUrl: z.ZodOptional<z.ZodString>;
3750
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
3751
+ siteUrl: z.ZodString;
3752
+ catalogSiteId: z.ZodOptional<z.ZodNumber>;
3753
+ externalSiteUrl: z.ZodOptional<z.ZodString>;
3754
+ webhookUrl: z.ZodOptional<z.ZodURL>;
3755
+ webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3756
+ "user.lifecycle.changed": "user.lifecycle.changed";
3757
+ "site.lifecycle.changed": "site.lifecycle.changed";
3758
+ "site.analytics.ready": "site.analytics.ready";
3759
+ "site.indexing.ready": "site.indexing.ready";
3760
+ "site.auth.failed": "site.auth.failed";
3036
3761
  "job.failed": "job.failed";
3762
+ "user.allowance.notice": "user.allowance.notice";
3037
3763
  }>>>;
3038
3764
  enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3039
3765
  readonly WEB: "web";
@@ -3462,6 +4188,12 @@ export declare function createGscdumpV1Protocol(): {
3462
4188
  retry_indexing: "retry_indexing";
3463
4189
  }>;
3464
4190
  }, z.core.$loose>;
4191
+ hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
4192
+ size_limit: "size_limit";
4193
+ sitemap_limit: "sitemap_limit";
4194
+ size_unknown: "size_unknown";
4195
+ size_pending: "size_pending";
4196
+ }>>>;
3465
4197
  latestError: z.ZodNullable<z.ZodObject<{
3466
4198
  code: z.ZodEnum<{
3467
4199
  missing_refresh_token: "missing_refresh_token";
@@ -3619,6 +4351,12 @@ export declare function createGscdumpV1Protocol(): {
3619
4351
  retry_indexing: "retry_indexing";
3620
4352
  }>;
3621
4353
  }, z.core.$loose>;
4354
+ hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
4355
+ size_limit: "size_limit";
4356
+ sitemap_limit: "sitemap_limit";
4357
+ size_unknown: "size_unknown";
4358
+ size_pending: "size_pending";
4359
+ }>>>;
3622
4360
  latestError: z.ZodNullable<z.ZodObject<{
3623
4361
  code: z.ZodEnum<{
3624
4362
  missing_refresh_token: "missing_refresh_token";
@@ -3972,6 +4710,12 @@ export declare function createGscdumpV1Protocol(): {
3972
4710
  retry_indexing: "retry_indexing";
3973
4711
  }>;
3974
4712
  }, z.core.$strip>;
4713
+ readonly hold: z.ZodNullable<z.ZodEnum<{
4714
+ size_limit: "size_limit";
4715
+ sitemap_limit: "sitemap_limit";
4716
+ size_unknown: "size_unknown";
4717
+ size_pending: "size_pending";
4718
+ }>>;
3975
4719
  readonly latestError: z.ZodNullable<z.ZodObject<{
3976
4720
  readonly code: z.ZodEnum<{
3977
4721
  missing_refresh_token: "missing_refresh_token";
@@ -4128,6 +4872,12 @@ export declare function createGscdumpV1Protocol(): {
4128
4872
  retry_indexing: "retry_indexing";
4129
4873
  }>;
4130
4874
  }, z.core.$strip>;
4875
+ readonly hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
4876
+ size_limit: "size_limit";
4877
+ sitemap_limit: "sitemap_limit";
4878
+ size_unknown: "size_unknown";
4879
+ size_pending: "size_pending";
4880
+ }>>>;
4131
4881
  readonly latestError: z.ZodNullable<z.ZodObject<{
4132
4882
  readonly code: z.ZodEnum<{
4133
4883
  missing_refresh_token: "missing_refresh_token";
@@ -4238,6 +4988,213 @@ export declare function createGscdumpV1Protocol(): {
4238
4988
  readonly method: "GET";
4239
4989
  readonly path: "/users/{userId}/lifecycle";
4240
4990
  };
4991
+ readonly getUserEntitlements: {
4992
+ readonly visibility: "public";
4993
+ readonly semantics: {
4994
+ readonly kind: "query";
4995
+ readonly sideEffects: "none";
4996
+ readonly idempotent: true;
4997
+ readonly retry: "idempotent";
4998
+ readonly readConsistency: "primary";
4999
+ };
5000
+ readonly auth: {
5001
+ readonly credentials: readonly ["user_key", "partner_key"];
5002
+ readonly scopes: readonly ["users:read"];
5003
+ readonly ownership: readonly [{
5004
+ readonly credential: "user_key";
5005
+ readonly rule: "self";
5006
+ }, {
5007
+ readonly credential: "partner_key";
5008
+ readonly rule: "linked_user";
5009
+ }];
5010
+ };
5011
+ readonly request: {
5012
+ readonly params: z.ZodObject<{
5013
+ userId: z.ZodString;
5014
+ }, z.core.$strict>;
5015
+ readonly query: null;
5016
+ readonly headers: z.ZodObject<{
5017
+ 'x-request-id': z.ZodOptional<z.ZodString>;
5018
+ }, z.core.$strict>;
5019
+ readonly body: null;
5020
+ };
5021
+ readonly responses: {
5022
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
5023
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
5024
+ readonly mode: z.ZodLiteral<"exempt">;
5025
+ }, z.core.$strip>, z.ZodObject<{
5026
+ readonly meters: z.ZodObject<{
5027
+ readonly sites: z.ZodObject<{
5028
+ readonly used: z.ZodNumber;
5029
+ readonly allowance: z.ZodNumber;
5030
+ }, z.core.$strip>;
5031
+ readonly preservedRows: z.ZodObject<{
5032
+ readonly used: z.ZodNullable<z.ZodNumber>;
5033
+ readonly allowance: z.ZodNumber;
5034
+ }, z.core.$strip>;
5035
+ readonly urlInspections: z.ZodObject<{
5036
+ readonly used: z.ZodNumber;
5037
+ readonly allowance: z.ZodNullable<z.ZodNumber>;
5038
+ readonly resetsAt: z.ZodISODate;
5039
+ }, z.core.$strip>;
5040
+ }, z.core.$strip>;
5041
+ readonly heldSites: z.ZodArray<z.ZodObject<{
5042
+ readonly siteId: z.ZodString;
5043
+ readonly hold: z.ZodEnum<{
5044
+ size_limit: "size_limit";
5045
+ sitemap_limit: "sitemap_limit";
5046
+ size_unknown: "size_unknown";
5047
+ size_pending: "size_pending";
5048
+ }>;
5049
+ }, z.core.$strip>>;
5050
+ readonly mode: z.ZodLiteral<"metered">;
5051
+ readonly phase: z.ZodEnum<{
5052
+ beta: "beta";
5053
+ billing: "billing";
5054
+ }>;
5055
+ readonly sizeLimitRowsPerDay: z.ZodNumber;
5056
+ }, z.core.$strip>], "mode">;
5057
+ meta: z.ZodObject<{
5058
+ readonly requestId: z.ZodString;
5059
+ readonly surface: z.ZodLiteral<"partner">;
5060
+ readonly version: z.ZodLiteral<"1.0">;
5061
+ }, z.core.$strip>;
5062
+ }, z.core.$strip>, z.ZodObject<{
5063
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
5064
+ readonly mode: z.ZodLiteral<"exempt">;
5065
+ }, z.core.$strip>, z.ZodObject<{
5066
+ readonly meters: z.ZodObject<{
5067
+ readonly sites: z.ZodObject<{
5068
+ readonly used: z.ZodNumber;
5069
+ readonly allowance: z.ZodNumber;
5070
+ }, z.core.$strip>;
5071
+ readonly preservedRows: z.ZodObject<{
5072
+ readonly used: z.ZodNullable<z.ZodNumber>;
5073
+ readonly allowance: z.ZodNumber;
5074
+ }, z.core.$strip>;
5075
+ readonly urlInspections: z.ZodObject<{
5076
+ readonly used: z.ZodNumber;
5077
+ readonly allowance: z.ZodNullable<z.ZodNumber>;
5078
+ readonly resetsAt: z.ZodISODate;
5079
+ }, z.core.$strip>;
5080
+ }, z.core.$strip>;
5081
+ readonly heldSites: z.ZodArray<z.ZodObject<{
5082
+ readonly siteId: z.ZodString;
5083
+ readonly hold: z.ZodEnum<{
5084
+ size_limit: "size_limit";
5085
+ sitemap_limit: "sitemap_limit";
5086
+ size_unknown: "size_unknown";
5087
+ size_pending: "size_pending";
5088
+ }>;
5089
+ }, z.core.$strip>>;
5090
+ readonly mode: z.ZodLiteral<"metered">;
5091
+ readonly phase: z.ZodEnum<{
5092
+ beta: "beta";
5093
+ billing: "billing";
5094
+ }>;
5095
+ readonly sizeLimitRowsPerDay: z.ZodNumber;
5096
+ }, z.core.$strip>], "mode">;
5097
+ meta: z.ZodObject<{
5098
+ readonly requestId: z.ZodString;
5099
+ readonly surface: z.ZodLiteral<"partner">;
5100
+ readonly version: z.ZodLiteral<"1.0">;
5101
+ }, z.core.$strip>;
5102
+ }, z.core.$strip>>;
5103
+ };
5104
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "user_not_found", "rate_limited", "internal_error", "contract_violation"];
5105
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
5106
+ readonly error: z.ZodObject<{
5107
+ code: z.ZodEnum<{
5108
+ internal_error: "internal_error";
5109
+ invalid_request: "invalid_request";
5110
+ unauthorized: "unauthorized";
5111
+ forbidden: "forbidden";
5112
+ user_not_found: "user_not_found";
5113
+ rate_limited: "rate_limited";
5114
+ contract_violation: "contract_violation";
5115
+ }>;
5116
+ message: z.ZodString;
5117
+ requestId: z.ZodString;
5118
+ retryable: z.ZodBoolean;
5119
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
5120
+ }, z.core.$strict>;
5121
+ }, z.core.$strip>, z.ZodObject<{
5122
+ readonly error: z.ZodObject<{
5123
+ code: z.ZodEnum<{
5124
+ internal_error: "internal_error";
5125
+ invalid_request: "invalid_request";
5126
+ unauthorized: "unauthorized";
5127
+ forbidden: "forbidden";
5128
+ user_not_found: "user_not_found";
5129
+ rate_limited: "rate_limited";
5130
+ contract_violation: "contract_violation";
5131
+ }>;
5132
+ message: z.ZodString;
5133
+ requestId: z.ZodString;
5134
+ retryable: z.ZodBoolean;
5135
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
5136
+ }, z.core.$loose>;
5137
+ }, z.core.$strip>>;
5138
+ readonly resources: {
5139
+ readonly reads: readonly [{
5140
+ readonly type: "partner.user";
5141
+ readonly idFrom: "params.userId";
5142
+ }, {
5143
+ readonly type: "user.sites";
5144
+ readonly idFrom: "params.userId";
5145
+ }];
5146
+ readonly changes: readonly [];
5147
+ };
5148
+ readonly lifecycle: {
5149
+ readonly introduced: "4.7.0";
5150
+ };
5151
+ readonly docs: {
5152
+ readonly summary: "Get user entitlements";
5153
+ readonly description: "Returns the Meters that apply to the user's partner Sites. If the partner is exempt, the response is `{ mode: \"exempt\" }` and no free allowance applies. If the partner is metered, the response gives the usage of the user's Billing owner against each free allowance, the size limit in query×page rows per day, and the held Sites the user can read. `urlInspections.allowance` is `null` when URL Inspections have no cap. `urlInspections.resetsAt` is the first UTC day of the next usage month.";
5154
+ readonly tags: readonly ["Users"];
5155
+ readonly examples: {
5156
+ readonly request: {
5157
+ readonly params: {
5158
+ readonly userId: "u_01";
5159
+ };
5160
+ };
5161
+ readonly response: {
5162
+ readonly data: {
5163
+ readonly mode: "metered";
5164
+ readonly phase: "beta";
5165
+ readonly meters: {
5166
+ readonly sites: {
5167
+ readonly used: 2;
5168
+ readonly allowance: 3;
5169
+ };
5170
+ readonly preservedRows: {
5171
+ readonly used: 120000;
5172
+ readonly allowance: 250000;
5173
+ };
5174
+ readonly urlInspections: {
5175
+ readonly used: 310;
5176
+ readonly allowance: 5000;
5177
+ readonly resetsAt: "2026-11-01";
5178
+ };
5179
+ };
5180
+ readonly sizeLimitRowsPerDay: 2500;
5181
+ readonly heldSites: readonly [{
5182
+ readonly siteId: "s_02";
5183
+ readonly hold: "size_limit";
5184
+ }];
5185
+ };
5186
+ readonly meta: {
5187
+ readonly requestId: "req_01";
5188
+ readonly surface: "partner";
5189
+ readonly version: "1.0";
5190
+ };
5191
+ };
5192
+ };
5193
+ };
5194
+ readonly id: "partner.users.entitlements.get";
5195
+ readonly method: "GET";
5196
+ readonly path: "/users/{userId}/entitlements";
5197
+ };
4241
5198
  readonly listAvailableSites: {
4242
5199
  readonly visibility: "public";
4243
5200
  readonly semantics: {
@@ -4450,6 +5407,7 @@ export declare function createGscdumpV1Protocol(): {
4450
5407
  "site.indexing.ready": "site.indexing.ready";
4451
5408
  "site.auth.failed": "site.auth.failed";
4452
5409
  "job.failed": "job.failed";
5410
+ "user.allowance.notice": "user.allowance.notice";
4453
5411
  }>>>;
4454
5412
  enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4455
5413
  readonly WEB: "web";
@@ -4592,6 +5550,12 @@ export declare function createGscdumpV1Protocol(): {
4592
5550
  retry_indexing: "retry_indexing";
4593
5551
  }>;
4594
5552
  }, z.core.$loose>;
5553
+ hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
5554
+ size_limit: "size_limit";
5555
+ sitemap_limit: "sitemap_limit";
5556
+ size_unknown: "size_unknown";
5557
+ size_pending: "size_pending";
5558
+ }>>>;
4595
5559
  latestError: z.ZodNullable<z.ZodObject<{
4596
5560
  code: z.ZodEnum<{
4597
5561
  missing_refresh_token: "missing_refresh_token";
@@ -4749,6 +5713,12 @@ export declare function createGscdumpV1Protocol(): {
4749
5713
  retry_indexing: "retry_indexing";
4750
5714
  }>;
4751
5715
  }, z.core.$loose>;
5716
+ hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
5717
+ size_limit: "size_limit";
5718
+ sitemap_limit: "sitemap_limit";
5719
+ size_unknown: "size_unknown";
5720
+ size_pending: "size_pending";
5721
+ }>>>;
4752
5722
  latestError: z.ZodNullable<z.ZodObject<{
4753
5723
  code: z.ZodEnum<{
4754
5724
  missing_refresh_token: "missing_refresh_token";
@@ -6317,10 +7287,10 @@ export declare function createGscdumpV1Protocol(): {
6317
7287
  readonly url: z.ZodURL;
6318
7288
  readonly observedAt: z.ZodISODateTime;
6319
7289
  readonly reason: z.ZodEnum<{
6320
- "authentication-required": "authentication-required";
6321
- "permission-denied": "permission-denied";
6322
7290
  "site-unverified": "site-unverified";
6323
7291
  throttled: "throttled";
7292
+ "authentication-required": "authentication-required";
7293
+ "permission-denied": "permission-denied";
6324
7294
  "quota-unavailable": "quota-unavailable";
6325
7295
  "provider-error": "provider-error";
6326
7296
  }>;
@@ -6374,10 +7344,10 @@ export declare function createGscdumpV1Protocol(): {
6374
7344
  readonly url: z.ZodURL;
6375
7345
  readonly observedAt: z.ZodISODateTime;
6376
7346
  readonly reason: z.ZodEnum<{
6377
- "authentication-required": "authentication-required";
6378
- "permission-denied": "permission-denied";
6379
7347
  "site-unverified": "site-unverified";
6380
7348
  throttled: "throttled";
7349
+ "authentication-required": "authentication-required";
7350
+ "permission-denied": "permission-denied";
6381
7351
  "quota-unavailable": "quota-unavailable";
6382
7352
  "provider-error": "provider-error";
6383
7353
  }>;
@@ -7454,7 +8424,7 @@ export declare function createGscdumpV1Protocol(): {
7454
8424
  readonly method: "GET";
7455
8425
  readonly path: "/sites/{siteId}/indexing/indexnow/submissions";
7456
8426
  };
7457
- readonly getSiteBingConnection: {
8427
+ readonly listUserBingSites: {
7458
8428
  readonly visibility: "public";
7459
8429
  readonly semantics: {
7460
8430
  readonly kind: "query";
@@ -7468,17 +8438,19 @@ export declare function createGscdumpV1Protocol(): {
7468
8438
  readonly scopes: readonly ["indexing:read"];
7469
8439
  readonly ownership: readonly [{
7470
8440
  readonly credential: "user_key";
7471
- readonly rule: "authorized_site";
8441
+ readonly rule: "self";
7472
8442
  }, {
7473
8443
  readonly credential: "partner_key";
7474
- readonly rule: "authorized_site";
8444
+ readonly rule: "linked_user";
7475
8445
  }];
7476
8446
  };
7477
8447
  readonly request: {
7478
8448
  readonly params: z.ZodObject<{
7479
- siteId: z.ZodString;
8449
+ userId: z.ZodString;
8450
+ }, z.core.$strict>;
8451
+ readonly query: z.ZodObject<{
8452
+ teamId: z.ZodOptional<z.ZodString>;
7480
8453
  }, z.core.$strict>;
7481
- readonly query: null;
7482
8454
  readonly headers: z.ZodObject<{
7483
8455
  'x-request-id': z.ZodOptional<z.ZodString>;
7484
8456
  }, z.core.$strict>;
@@ -7486,90 +8458,162 @@ export declare function createGscdumpV1Protocol(): {
7486
8458
  };
7487
8459
  readonly responses: {
7488
8460
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
7489
- data: z.ZodDiscriminatedUnion<[z.ZodObject<{
7490
- _tag: z.ZodLiteral<"disconnected">;
7491
- searchEngine: z.ZodLiteral<"bing">;
7492
- }, z.core.$strict>, z.ZodObject<{
7493
- _tag: z.ZodLiteral<"verification-required">;
7494
- searchEngine: z.ZodLiteral<"bing">;
7495
- remoteSiteUrl: z.ZodURL;
7496
- verified: z.ZodLiteral<false>;
7497
- verification: z.ZodObject<{
7498
- _tag: z.ZodLiteral<"cname">;
7499
- name: z.ZodString;
7500
- value: z.ZodLiteral<"verify.bing.com">;
7501
- }, z.core.$strict>;
7502
- }, z.core.$strict>, z.ZodObject<{
7503
- scopes: z.ZodArray<z.ZodString>;
7504
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7505
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7506
- _tag: z.ZodLiteral<"connected">;
7507
- searchEngine: z.ZodLiteral<"bing">;
7508
- remoteSiteUrl: z.ZodURL;
7509
- verified: z.ZodLiteral<true>;
7510
- }, z.core.$strict>, z.ZodObject<{
7511
- scopes: z.ZodArray<z.ZodString>;
7512
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7513
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7514
- _tag: z.ZodLiteral<"reauthorization-required">;
7515
- searchEngine: z.ZodLiteral<"bing">;
7516
- remoteSiteUrl: z.ZodURL;
7517
- verified: z.ZodBoolean;
7518
- }, z.core.$strict>, z.ZodObject<{
7519
- scopes: z.ZodArray<z.ZodString>;
7520
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7521
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7522
- _tag: z.ZodLiteral<"unavailable">;
7523
- searchEngine: z.ZodLiteral<"bing">;
7524
- remoteSiteUrl: z.ZodURL;
7525
- verified: z.ZodLiteral<true>;
7526
- reason: z.ZodLiteral<"permission-lost">;
7527
- }, z.core.$strict>], "_tag">;
7528
- meta: z.ZodObject<{
7529
- readonly requestId: z.ZodString;
7530
- readonly surface: z.ZodLiteral<"partner">;
7531
- readonly version: z.ZodLiteral<"1.0">;
7532
- }, z.core.$strip>;
7533
- }, z.core.$strip>, z.ZodObject<{
7534
- data: z.ZodDiscriminatedUnion<[z.ZodObject<{
7535
- _tag: z.ZodLiteral<"disconnected">;
7536
- searchEngine: z.ZodLiteral<"bing">;
7537
- }, z.core.$loose>, z.ZodObject<{
7538
- _tag: z.ZodLiteral<"verification-required">;
7539
- searchEngine: z.ZodLiteral<"bing">;
7540
- remoteSiteUrl: z.ZodURL;
7541
- verified: z.ZodLiteral<false>;
7542
- verification: z.ZodObject<{
7543
- _tag: z.ZodLiteral<"cname">;
7544
- name: z.ZodString;
7545
- value: z.ZodLiteral<"verify.bing.com">;
7546
- }, z.core.$loose>;
7547
- }, z.core.$loose>, z.ZodObject<{
7548
- scopes: z.ZodArray<z.ZodString>;
7549
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7550
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7551
- _tag: z.ZodLiteral<"connected">;
7552
- searchEngine: z.ZodLiteral<"bing">;
7553
- remoteSiteUrl: z.ZodURL;
7554
- verified: z.ZodLiteral<true>;
7555
- }, z.core.$loose>, z.ZodObject<{
7556
- scopes: z.ZodArray<z.ZodString>;
7557
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7558
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7559
- _tag: z.ZodLiteral<"reauthorization-required">;
7560
- searchEngine: z.ZodLiteral<"bing">;
7561
- remoteSiteUrl: z.ZodURL;
7562
- verified: z.ZodBoolean;
7563
- }, z.core.$loose>, z.ZodObject<{
7564
- scopes: z.ZodArray<z.ZodString>;
7565
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7566
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7567
- _tag: z.ZodLiteral<"unavailable">;
7568
- searchEngine: z.ZodLiteral<"bing">;
7569
- remoteSiteUrl: z.ZodURL;
7570
- verified: z.ZodLiteral<true>;
7571
- reason: z.ZodLiteral<"permission-lost">;
7572
- }, z.core.$loose>], "_tag">;
8461
+ data: z.ZodObject<{
8462
+ readonly searchEngine: z.ZodLiteral<"bing">;
8463
+ readonly grant: z.ZodDiscriminatedUnion<[z.ZodObject<{
8464
+ readonly _tag: z.ZodLiteral<"authorized">;
8465
+ readonly scopes: z.ZodArray<z.ZodString>;
8466
+ }, z.core.$strip>, z.ZodObject<{
8467
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
8468
+ }, z.core.$strip>, z.ZodObject<{
8469
+ readonly _tag: z.ZodLiteral<"missing">;
8470
+ }, z.core.$strip>], "_tag">;
8471
+ readonly sites: z.ZodArray<z.ZodObject<{
8472
+ readonly siteId: z.ZodString;
8473
+ readonly siteUrl: z.ZodString;
8474
+ readonly teamId: z.ZodNullable<z.ZodString>;
8475
+ readonly callerCanAct: z.ZodBoolean;
8476
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
8477
+ readonly _tag: z.ZodLiteral<"collecting">;
8478
+ readonly remoteSiteUrl: z.ZodURL;
8479
+ readonly lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8480
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
8481
+ readonly _tag: z.ZodLiteral<"submitted">;
8482
+ readonly checkedAt: z.ZodISODateTime;
8483
+ readonly sitemapCount: z.ZodNumber;
8484
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
8485
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
8486
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
8487
+ readonly url: z.ZodString;
8488
+ readonly status: z.ZodString;
8489
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
8490
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
8491
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
8492
+ }, z.core.$strip>>;
8493
+ }, z.core.$strip>, z.ZodObject<{
8494
+ readonly _tag: z.ZodLiteral<"missing">;
8495
+ readonly checkedAt: z.ZodISODateTime;
8496
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
8497
+ }, z.core.$strip>, z.ZodObject<{
8498
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
8499
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
8500
+ readonly lastSubmittedAt: z.ZodISODateTime;
8501
+ }, z.core.$strip>, z.ZodObject<{
8502
+ readonly _tag: z.ZodLiteral<"unknown">;
8503
+ }, z.core.$strip>], "_tag">;
8504
+ }, z.core.$strip>, z.ZodObject<{
8505
+ readonly _tag: z.ZodLiteral<"verification-required">;
8506
+ readonly remoteSiteUrl: z.ZodURL;
8507
+ readonly verification: z.ZodObject<{
8508
+ _tag: z.ZodLiteral<"cname">;
8509
+ name: z.ZodString;
8510
+ value: z.ZodLiteral<"verify.bing.com">;
8511
+ }, z.core.$strict>;
8512
+ }, z.core.$strip>, z.ZodObject<{
8513
+ readonly _tag: z.ZodLiteral<"linkable">;
8514
+ readonly reason: z.ZodEnum<{
8515
+ "permission-lost": "permission-lost";
8516
+ "not-linked": "not-linked";
8517
+ "binding-stalled": "binding-stalled";
8518
+ }>;
8519
+ }, z.core.$strip>, z.ZodObject<{
8520
+ readonly _tag: z.ZodLiteral<"grant-required">;
8521
+ readonly reason: z.ZodEnum<{
8522
+ "reauthorization-required": "reauthorization-required";
8523
+ "grant-missing": "grant-missing";
8524
+ }>;
8525
+ }, z.core.$strip>, z.ZodObject<{
8526
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
8527
+ readonly remoteSiteUrl: z.ZodURL;
8528
+ }, z.core.$strip>, z.ZodObject<{
8529
+ readonly _tag: z.ZodLiteral<"unavailable">;
8530
+ readonly reason: z.ZodEnum<{
8531
+ "not-enabled": "not-enabled";
8532
+ }>;
8533
+ }, z.core.$strip>], "_tag">;
8534
+ }, z.core.$strip>>;
8535
+ }, z.core.$strip>;
8536
+ meta: z.ZodObject<{
8537
+ readonly requestId: z.ZodString;
8538
+ readonly surface: z.ZodLiteral<"partner">;
8539
+ readonly version: z.ZodLiteral<"1.0">;
8540
+ }, z.core.$strip>;
8541
+ }, z.core.$strip>, z.ZodObject<{
8542
+ data: z.ZodObject<{
8543
+ readonly searchEngine: z.ZodLiteral<"bing">;
8544
+ readonly grant: z.ZodDiscriminatedUnion<[z.ZodObject<{
8545
+ readonly _tag: z.ZodLiteral<"authorized">;
8546
+ readonly scopes: z.ZodArray<z.ZodString>;
8547
+ }, z.core.$strip>, z.ZodObject<{
8548
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
8549
+ }, z.core.$strip>, z.ZodObject<{
8550
+ readonly _tag: z.ZodLiteral<"missing">;
8551
+ }, z.core.$strip>], "_tag">;
8552
+ readonly sites: z.ZodArray<z.ZodObject<{
8553
+ readonly siteId: z.ZodString;
8554
+ readonly siteUrl: z.ZodString;
8555
+ readonly teamId: z.ZodNullable<z.ZodString>;
8556
+ readonly callerCanAct: z.ZodBoolean;
8557
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
8558
+ readonly _tag: z.ZodLiteral<"collecting">;
8559
+ readonly remoteSiteUrl: z.ZodURL;
8560
+ readonly lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8561
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
8562
+ readonly _tag: z.ZodLiteral<"submitted">;
8563
+ readonly checkedAt: z.ZodISODateTime;
8564
+ readonly sitemapCount: z.ZodNumber;
8565
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
8566
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
8567
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
8568
+ readonly url: z.ZodString;
8569
+ readonly status: z.ZodString;
8570
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
8571
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
8572
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
8573
+ }, z.core.$strip>>;
8574
+ }, z.core.$strip>, z.ZodObject<{
8575
+ readonly _tag: z.ZodLiteral<"missing">;
8576
+ readonly checkedAt: z.ZodISODateTime;
8577
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
8578
+ }, z.core.$strip>, z.ZodObject<{
8579
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
8580
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
8581
+ readonly lastSubmittedAt: z.ZodISODateTime;
8582
+ }, z.core.$strip>, z.ZodObject<{
8583
+ readonly _tag: z.ZodLiteral<"unknown">;
8584
+ }, z.core.$strip>], "_tag">;
8585
+ }, z.core.$strip>, z.ZodObject<{
8586
+ readonly _tag: z.ZodLiteral<"verification-required">;
8587
+ readonly remoteSiteUrl: z.ZodURL;
8588
+ readonly verification: z.ZodObject<{
8589
+ _tag: z.ZodLiteral<"cname">;
8590
+ name: z.ZodString;
8591
+ value: z.ZodLiteral<"verify.bing.com">;
8592
+ }, z.core.$strict>;
8593
+ }, z.core.$strip>, z.ZodObject<{
8594
+ readonly _tag: z.ZodLiteral<"linkable">;
8595
+ readonly reason: z.ZodEnum<{
8596
+ "permission-lost": "permission-lost";
8597
+ "not-linked": "not-linked";
8598
+ "binding-stalled": "binding-stalled";
8599
+ }>;
8600
+ }, z.core.$strip>, z.ZodObject<{
8601
+ readonly _tag: z.ZodLiteral<"grant-required">;
8602
+ readonly reason: z.ZodEnum<{
8603
+ "reauthorization-required": "reauthorization-required";
8604
+ "grant-missing": "grant-missing";
8605
+ }>;
8606
+ }, z.core.$strip>, z.ZodObject<{
8607
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
8608
+ readonly remoteSiteUrl: z.ZodURL;
8609
+ }, z.core.$strip>, z.ZodObject<{
8610
+ readonly _tag: z.ZodLiteral<"unavailable">;
8611
+ readonly reason: z.ZodEnum<{
8612
+ "not-enabled": "not-enabled";
8613
+ }>;
8614
+ }, z.core.$strip>], "_tag">;
8615
+ }, z.core.$strip>>;
8616
+ }, z.core.$strip>;
7573
8617
  meta: z.ZodObject<{
7574
8618
  readonly requestId: z.ZodString;
7575
8619
  readonly surface: z.ZodLiteral<"partner">;
@@ -7577,7 +8621,7 @@ export declare function createGscdumpV1Protocol(): {
7577
8621
  }, z.core.$strip>;
7578
8622
  }, z.core.$strip>>;
7579
8623
  };
7580
- readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
8624
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "user_not_found", "rate_limited", "internal_error", "contract_violation"];
7581
8625
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7582
8626
  readonly error: z.ZodObject<{
7583
8627
  code: z.ZodEnum<{
@@ -7585,7 +8629,7 @@ export declare function createGscdumpV1Protocol(): {
7585
8629
  invalid_request: "invalid_request";
7586
8630
  unauthorized: "unauthorized";
7587
8631
  forbidden: "forbidden";
7588
- site_not_found: "site_not_found";
8632
+ user_not_found: "user_not_found";
7589
8633
  rate_limited: "rate_limited";
7590
8634
  contract_violation: "contract_violation";
7591
8635
  }>;
@@ -7601,7 +8645,7 @@ export declare function createGscdumpV1Protocol(): {
7601
8645
  invalid_request: "invalid_request";
7602
8646
  unauthorized: "unauthorized";
7603
8647
  forbidden: "forbidden";
7604
- site_not_found: "site_not_found";
8648
+ user_not_found: "user_not_found";
7605
8649
  rate_limited: "rate_limited";
7606
8650
  contract_violation: "contract_violation";
7607
8651
  }>;
@@ -7613,31 +8657,47 @@ export declare function createGscdumpV1Protocol(): {
7613
8657
  }, z.core.$strip>>;
7614
8658
  readonly resources: {
7615
8659
  readonly reads: readonly [{
7616
- readonly type: "site.auth";
7617
- readonly idFrom: "params.siteId";
8660
+ readonly type: "partner.user";
8661
+ readonly idFrom: "params.userId";
7618
8662
  }, {
7619
- readonly type: "site.indexing";
7620
- readonly idFrom: "params.siteId";
8663
+ readonly type: "user.sites";
8664
+ readonly idFrom: "params.userId";
7621
8665
  }];
7622
8666
  readonly changes: readonly [];
7623
8667
  };
7624
8668
  readonly lifecycle: {
7625
- readonly introduced: "1.6.0";
8669
+ readonly introduced: "4.8.0";
7626
8670
  };
7627
8671
  readonly docs: {
7628
- readonly summary: "Get Bing connection";
7629
- readonly description: "Returns the Bing connection state and any CNAME record required to verify the Site.";
8672
+ readonly summary: "List Bing state for every Site";
8673
+ readonly description: "Returns the user's Bing grant and one tagged Bing state for each Site the user can see. A partner credential sees only its own Sites. `callerCanAct` says whether the caller may run the Operation the state names. Filter by `teamId` to read one Team.";
7630
8674
  readonly tags: readonly ["Indexing"];
7631
8675
  readonly examples: {
7632
8676
  readonly request: {
7633
8677
  readonly params: {
7634
- readonly siteId: "s_01";
8678
+ readonly userId: "u_01";
8679
+ };
8680
+ readonly query: {
8681
+ readonly teamId: "t_01";
7635
8682
  };
7636
8683
  };
7637
8684
  readonly response: {
7638
8685
  readonly data: {
7639
- readonly _tag: "disconnected";
7640
8686
  readonly searchEngine: "bing";
8687
+ readonly grant: {
8688
+ readonly _tag: "authorized";
8689
+ readonly scopes: readonly ["webmaster.manage"];
8690
+ };
8691
+ readonly sites: readonly [{
8692
+ readonly siteId: "s_01";
8693
+ readonly siteUrl: "https://example.com/";
8694
+ readonly teamId: "t_01";
8695
+ readonly callerCanAct: true;
8696
+ readonly state: {
8697
+ readonly _tag: "linkable";
8698
+ readonly reason: "not-linked";
8699
+ };
8700
+ }];
7641
8701
  };
7642
8702
  readonly meta: {
7643
8703
  readonly requestId: "req_01";
@@ -7647,11 +8707,11 @@ export declare function createGscdumpV1Protocol(): {
7647
8707
  };
7648
8708
  };
7649
8709
  };
7650
- readonly id: "partner.sites.indexing.bing.connection.get";
8710
+ readonly id: "partner.users.indexing.bing.sites.list";
7651
8711
  readonly method: "GET";
7652
- readonly path: "/sites/{siteId}/indexing/bing/connection";
8712
+ readonly path: "/users/{userId}/indexing/bing/sites";
7653
8713
  };
7654
- readonly verifySiteBingConnection: {
8714
+ readonly linkSiteBing: {
7655
8715
  readonly visibility: "public";
7656
8716
  readonly semantics: {
7657
8717
  readonly kind: "mutation";
@@ -7662,7 +8722,7 @@ export declare function createGscdumpV1Protocol(): {
7662
8722
  };
7663
8723
  readonly auth: {
7664
8724
  readonly credentials: readonly ["user_key", "partner_key"];
7665
- readonly scopes: readonly ["sites:write"];
8725
+ readonly scopes: readonly ["indexing:write"];
7666
8726
  readonly ownership: readonly [{
7667
8727
  readonly credential: "user_key";
7668
8728
  readonly rule: "authorized_site";
@@ -7684,44 +8744,87 @@ export declare function createGscdumpV1Protocol(): {
7684
8744
  readonly responses: {
7685
8745
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
7686
8746
  data: z.ZodDiscriminatedUnion<[z.ZodObject<{
7687
- _tag: z.ZodLiteral<"disconnected">;
7688
- searchEngine: z.ZodLiteral<"bing">;
7689
- }, z.core.$strict>, z.ZodObject<{
7690
- _tag: z.ZodLiteral<"verification-required">;
7691
- searchEngine: z.ZodLiteral<"bing">;
7692
- remoteSiteUrl: z.ZodURL;
7693
- verified: z.ZodLiteral<false>;
7694
- verification: z.ZodObject<{
7695
- _tag: z.ZodLiteral<"cname">;
7696
- name: z.ZodString;
7697
- value: z.ZodLiteral<"verify.bing.com">;
7698
- }, z.core.$strict>;
7699
- }, z.core.$strict>, z.ZodObject<{
7700
- scopes: z.ZodArray<z.ZodString>;
7701
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7702
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7703
- _tag: z.ZodLiteral<"connected">;
7704
- searchEngine: z.ZodLiteral<"bing">;
7705
- remoteSiteUrl: z.ZodURL;
7706
- verified: z.ZodLiteral<true>;
7707
- }, z.core.$strict>, z.ZodObject<{
7708
- scopes: z.ZodArray<z.ZodString>;
7709
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7710
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7711
- _tag: z.ZodLiteral<"reauthorization-required">;
7712
- searchEngine: z.ZodLiteral<"bing">;
7713
- remoteSiteUrl: z.ZodURL;
7714
- verified: z.ZodBoolean;
7715
- }, z.core.$strict>, z.ZodObject<{
7716
- scopes: z.ZodArray<z.ZodString>;
7717
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7718
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7719
- _tag: z.ZodLiteral<"unavailable">;
7720
- searchEngine: z.ZodLiteral<"bing">;
7721
- remoteSiteUrl: z.ZodURL;
7722
- verified: z.ZodLiteral<true>;
7723
- reason: z.ZodLiteral<"permission-lost">;
7724
- }, z.core.$strict>], "_tag">;
8747
+ readonly _tag: z.ZodLiteral<"linked">;
8748
+ readonly site: z.ZodObject<{
8749
+ readonly siteId: z.ZodString;
8750
+ readonly siteUrl: z.ZodString;
8751
+ readonly teamId: z.ZodNullable<z.ZodString>;
8752
+ readonly callerCanAct: z.ZodBoolean;
8753
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
8754
+ readonly _tag: z.ZodLiteral<"collecting">;
8755
+ readonly remoteSiteUrl: z.ZodURL;
8756
+ readonly lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8757
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
8758
+ readonly _tag: z.ZodLiteral<"submitted">;
8759
+ readonly checkedAt: z.ZodISODateTime;
8760
+ readonly sitemapCount: z.ZodNumber;
8761
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
8762
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
8763
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
8764
+ readonly url: z.ZodString;
8765
+ readonly status: z.ZodString;
8766
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
8767
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
8768
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
8769
+ }, z.core.$strip>>;
8770
+ }, z.core.$strip>, z.ZodObject<{
8771
+ readonly _tag: z.ZodLiteral<"missing">;
8772
+ readonly checkedAt: z.ZodISODateTime;
8773
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
8774
+ }, z.core.$strip>, z.ZodObject<{
8775
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
8776
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
8777
+ readonly lastSubmittedAt: z.ZodISODateTime;
8778
+ }, z.core.$strip>, z.ZodObject<{
8779
+ readonly _tag: z.ZodLiteral<"unknown">;
8780
+ }, z.core.$strip>], "_tag">;
8781
+ }, z.core.$strip>, z.ZodObject<{
8782
+ readonly _tag: z.ZodLiteral<"verification-required">;
8783
+ readonly remoteSiteUrl: z.ZodURL;
8784
+ readonly verification: z.ZodObject<{
8785
+ _tag: z.ZodLiteral<"cname">;
8786
+ name: z.ZodString;
8787
+ value: z.ZodLiteral<"verify.bing.com">;
8788
+ }, z.core.$strict>;
8789
+ }, z.core.$strip>, z.ZodObject<{
8790
+ readonly _tag: z.ZodLiteral<"linkable">;
8791
+ readonly reason: z.ZodEnum<{
8792
+ "permission-lost": "permission-lost";
8793
+ "not-linked": "not-linked";
8794
+ "binding-stalled": "binding-stalled";
8795
+ }>;
8796
+ }, z.core.$strip>, z.ZodObject<{
8797
+ readonly _tag: z.ZodLiteral<"grant-required">;
8798
+ readonly reason: z.ZodEnum<{
8799
+ "reauthorization-required": "reauthorization-required";
8800
+ "grant-missing": "grant-missing";
8801
+ }>;
8802
+ }, z.core.$strip>, z.ZodObject<{
8803
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
8804
+ readonly remoteSiteUrl: z.ZodURL;
8805
+ }, z.core.$strip>, z.ZodObject<{
8806
+ readonly _tag: z.ZodLiteral<"unavailable">;
8807
+ readonly reason: z.ZodEnum<{
8808
+ "not-enabled": "not-enabled";
8809
+ }>;
8810
+ }, z.core.$strip>], "_tag">;
8811
+ }, z.core.$strip>;
8812
+ }, z.core.$strip>, z.ZodObject<{
8813
+ readonly _tag: z.ZodLiteral<"grant-required">;
8814
+ readonly reason: z.ZodEnum<{
8815
+ "reauthorization-required": "reauthorization-required";
8816
+ "grant-missing": "grant-missing";
8817
+ }>;
8818
+ }, z.core.$strip>, z.ZodObject<{
8819
+ readonly _tag: z.ZodLiteral<"failed">;
8820
+ readonly reason: z.ZodEnum<{
8821
+ "sites-forbidden": "sites-forbidden";
8822
+ "sites-throttled": "sites-throttled";
8823
+ "sites-unavailable": "sites-unavailable";
8824
+ "oauth-contract": "oauth-contract";
8825
+ }>;
8826
+ readonly retryable: z.ZodBoolean;
8827
+ }, z.core.$strip>], "_tag">;
7725
8828
  meta: z.ZodObject<{
7726
8829
  readonly requestId: z.ZodString;
7727
8830
  readonly surface: z.ZodLiteral<"partner">;
@@ -7729,44 +8832,87 @@ export declare function createGscdumpV1Protocol(): {
7729
8832
  }, z.core.$strip>;
7730
8833
  }, z.core.$strip>, z.ZodObject<{
7731
8834
  data: z.ZodDiscriminatedUnion<[z.ZodObject<{
7732
- _tag: z.ZodLiteral<"disconnected">;
7733
- searchEngine: z.ZodLiteral<"bing">;
7734
- }, z.core.$loose>, z.ZodObject<{
7735
- _tag: z.ZodLiteral<"verification-required">;
7736
- searchEngine: z.ZodLiteral<"bing">;
7737
- remoteSiteUrl: z.ZodURL;
7738
- verified: z.ZodLiteral<false>;
7739
- verification: z.ZodObject<{
7740
- _tag: z.ZodLiteral<"cname">;
7741
- name: z.ZodString;
7742
- value: z.ZodLiteral<"verify.bing.com">;
7743
- }, z.core.$loose>;
7744
- }, z.core.$loose>, z.ZodObject<{
7745
- scopes: z.ZodArray<z.ZodString>;
7746
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7747
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7748
- _tag: z.ZodLiteral<"connected">;
7749
- searchEngine: z.ZodLiteral<"bing">;
7750
- remoteSiteUrl: z.ZodURL;
7751
- verified: z.ZodLiteral<true>;
7752
- }, z.core.$loose>, z.ZodObject<{
7753
- scopes: z.ZodArray<z.ZodString>;
7754
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7755
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7756
- _tag: z.ZodLiteral<"reauthorization-required">;
7757
- searchEngine: z.ZodLiteral<"bing">;
7758
- remoteSiteUrl: z.ZodURL;
7759
- verified: z.ZodBoolean;
7760
- }, z.core.$loose>, z.ZodObject<{
7761
- scopes: z.ZodArray<z.ZodString>;
7762
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7763
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7764
- _tag: z.ZodLiteral<"unavailable">;
7765
- searchEngine: z.ZodLiteral<"bing">;
7766
- remoteSiteUrl: z.ZodURL;
7767
- verified: z.ZodLiteral<true>;
7768
- reason: z.ZodLiteral<"permission-lost">;
7769
- }, z.core.$loose>], "_tag">;
8835
+ readonly _tag: z.ZodLiteral<"linked">;
8836
+ readonly site: z.ZodObject<{
8837
+ readonly siteId: z.ZodString;
8838
+ readonly siteUrl: z.ZodString;
8839
+ readonly teamId: z.ZodNullable<z.ZodString>;
8840
+ readonly callerCanAct: z.ZodBoolean;
8841
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
8842
+ readonly _tag: z.ZodLiteral<"collecting">;
8843
+ readonly remoteSiteUrl: z.ZodURL;
8844
+ readonly lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8845
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
8846
+ readonly _tag: z.ZodLiteral<"submitted">;
8847
+ readonly checkedAt: z.ZodISODateTime;
8848
+ readonly sitemapCount: z.ZodNumber;
8849
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
8850
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
8851
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
8852
+ readonly url: z.ZodString;
8853
+ readonly status: z.ZodString;
8854
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
8855
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
8856
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
8857
+ }, z.core.$strip>>;
8858
+ }, z.core.$strip>, z.ZodObject<{
8859
+ readonly _tag: z.ZodLiteral<"missing">;
8860
+ readonly checkedAt: z.ZodISODateTime;
8861
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
8862
+ }, z.core.$strip>, z.ZodObject<{
8863
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
8864
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
8865
+ readonly lastSubmittedAt: z.ZodISODateTime;
8866
+ }, z.core.$strip>, z.ZodObject<{
8867
+ readonly _tag: z.ZodLiteral<"unknown">;
8868
+ }, z.core.$strip>], "_tag">;
8869
+ }, z.core.$strip>, z.ZodObject<{
8870
+ readonly _tag: z.ZodLiteral<"verification-required">;
8871
+ readonly remoteSiteUrl: z.ZodURL;
8872
+ readonly verification: z.ZodObject<{
8873
+ _tag: z.ZodLiteral<"cname">;
8874
+ name: z.ZodString;
8875
+ value: z.ZodLiteral<"verify.bing.com">;
8876
+ }, z.core.$strict>;
8877
+ }, z.core.$strip>, z.ZodObject<{
8878
+ readonly _tag: z.ZodLiteral<"linkable">;
8879
+ readonly reason: z.ZodEnum<{
8880
+ "permission-lost": "permission-lost";
8881
+ "not-linked": "not-linked";
8882
+ "binding-stalled": "binding-stalled";
8883
+ }>;
8884
+ }, z.core.$strip>, z.ZodObject<{
8885
+ readonly _tag: z.ZodLiteral<"grant-required">;
8886
+ readonly reason: z.ZodEnum<{
8887
+ "reauthorization-required": "reauthorization-required";
8888
+ "grant-missing": "grant-missing";
8889
+ }>;
8890
+ }, z.core.$strip>, z.ZodObject<{
8891
+ readonly _tag: z.ZodLiteral<"reauthorization-required">;
8892
+ readonly remoteSiteUrl: z.ZodURL;
8893
+ }, z.core.$strip>, z.ZodObject<{
8894
+ readonly _tag: z.ZodLiteral<"unavailable">;
8895
+ readonly reason: z.ZodEnum<{
8896
+ "not-enabled": "not-enabled";
8897
+ }>;
8898
+ }, z.core.$strip>], "_tag">;
8899
+ }, z.core.$strip>;
8900
+ }, z.core.$strip>, z.ZodObject<{
8901
+ readonly _tag: z.ZodLiteral<"grant-required">;
8902
+ readonly reason: z.ZodEnum<{
8903
+ "reauthorization-required": "reauthorization-required";
8904
+ "grant-missing": "grant-missing";
8905
+ }>;
8906
+ }, z.core.$strip>, z.ZodObject<{
8907
+ readonly _tag: z.ZodLiteral<"failed">;
8908
+ readonly reason: z.ZodEnum<{
8909
+ "sites-forbidden": "sites-forbidden";
8910
+ "sites-throttled": "sites-throttled";
8911
+ "sites-unavailable": "sites-unavailable";
8912
+ "oauth-contract": "oauth-contract";
8913
+ }>;
8914
+ readonly retryable: z.ZodBoolean;
8915
+ }, z.core.$strip>], "_tag">;
7770
8916
  meta: z.ZodObject<{
7771
8917
  readonly requestId: z.ZodString;
7772
8918
  readonly surface: z.ZodLiteral<"partner">;
@@ -7810,23 +8956,20 @@ export declare function createGscdumpV1Protocol(): {
7810
8956
  }, z.core.$strip>>;
7811
8957
  readonly resources: {
7812
8958
  readonly reads: readonly [{
7813
- readonly type: "site.auth";
8959
+ readonly type: "site.indexing";
7814
8960
  readonly idFrom: "params.siteId";
7815
8961
  }];
7816
8962
  readonly changes: readonly [{
7817
- readonly type: "site.auth";
7818
- readonly idFrom: "params.siteId";
7819
- }, {
7820
8963
  readonly type: "site.indexing";
7821
8964
  readonly idFrom: "params.siteId";
7822
8965
  }];
7823
8966
  };
7824
8967
  readonly lifecycle: {
7825
- readonly introduced: "1.6.0";
8968
+ readonly introduced: "4.8.0";
7826
8969
  };
7827
8970
  readonly docs: {
7828
- readonly summary: "Check Bing Site verification";
7829
- readonly description: "Asks Bing to verify the Site. If Bing confirms ownership, it enables the connection and queues initial sync work.";
8971
+ readonly summary: "Link a Site to Bing";
8972
+ readonly description: "Binds the Site with the Site owner's stored Bing grant, with no Microsoft redirect. Only the Site owner's user credential may link: any other caller gets `403 forbidden` with `details.reason` `site-owner-required`. Every expected outcome is a value: `linked` carries the new Site state, `grant-required` asks the owner to authorize Bing, and `failed` says whether a retry can help.";
7830
8973
  readonly tags: readonly ["Indexing"];
7831
8974
  readonly examples: {
7832
8975
  readonly request: {
@@ -7836,13 +8979,8 @@ export declare function createGscdumpV1Protocol(): {
7836
8979
  };
7837
8980
  readonly response: {
7838
8981
  readonly data: {
7839
- readonly _tag: "connected";
7840
- readonly searchEngine: "bing";
7841
- readonly remoteSiteUrl: "https://example.com/";
7842
- readonly verified: true;
7843
- readonly scopes: readonly ["webmaster.read"];
7844
- readonly tokenExpiresAt: null;
7845
- readonly lastEvidenceAt: null;
8982
+ readonly _tag: "grant-required";
8983
+ readonly reason: "grant-missing";
7846
8984
  };
7847
8985
  readonly meta: {
7848
8986
  readonly requestId: "req_01";
@@ -7852,22 +8990,22 @@ export declare function createGscdumpV1Protocol(): {
7852
8990
  };
7853
8991
  };
7854
8992
  };
7855
- readonly id: "partner.sites.indexing.bing.connection.verify";
8993
+ readonly id: "partner.sites.indexing.bing.link.create";
7856
8994
  readonly method: "POST";
7857
- readonly path: "/sites/{siteId}/indexing/bing/connection/verify";
8995
+ readonly path: "/sites/{siteId}/indexing/bing/link";
7858
8996
  };
7859
- readonly listSiteIndexingTransitions: {
8997
+ readonly createSiteBingAuthorization: {
7860
8998
  readonly visibility: "public";
7861
8999
  readonly semantics: {
7862
- readonly kind: "query";
7863
- readonly sideEffects: "none";
9000
+ readonly kind: "mutation";
9001
+ readonly sideEffects: "state";
7864
9002
  readonly idempotent: true;
7865
9003
  readonly retry: "idempotent";
7866
- readonly readConsistency: "primary";
9004
+ readonly readConsistency: null;
7867
9005
  };
7868
9006
  readonly auth: {
7869
9007
  readonly credentials: readonly ["user_key", "partner_key"];
7870
- readonly scopes: readonly ["indexing:read"];
9008
+ readonly scopes: readonly ["indexing:write"];
7871
9009
  readonly ownership: readonly [{
7872
9010
  readonly credential: "user_key";
7873
9011
  readonly rule: "authorized_site";
@@ -7880,69 +9018,19 @@ export declare function createGscdumpV1Protocol(): {
7880
9018
  readonly params: z.ZodObject<{
7881
9019
  siteId: z.ZodString;
7882
9020
  }, z.core.$strict>;
7883
- readonly query: z.ZodObject<{
7884
- startDate: z.ZodOptional<z.ZodString>;
7885
- endDate: z.ZodOptional<z.ZodString>;
7886
- field: z.ZodOptional<z.ZodEnum<{
7887
- coverageState: "coverageState";
7888
- indexStatus: "indexStatus";
7889
- googleCanonical: "googleCanonical";
7890
- robotsTxtState: "robotsTxtState";
7891
- indexingState: "indexingState";
7892
- pageFetchState: "pageFetchState";
7893
- }>>;
7894
- fromValue: z.ZodOptional<z.ZodString>;
7895
- toValue: z.ZodOptional<z.ZodString>;
7896
- limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
7897
- offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
7898
- }, z.core.$strict>;
9021
+ readonly query: null;
7899
9022
  readonly headers: z.ZodObject<{
7900
9023
  'x-request-id': z.ZodOptional<z.ZodString>;
7901
9024
  }, z.core.$strict>;
7902
- readonly body: null;
9025
+ readonly body: z.ZodObject<{
9026
+ returnUrl: z.ZodOptional<z.ZodString>;
9027
+ }, z.core.$strict>;
7903
9028
  };
7904
9029
  readonly responses: {
7905
9030
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
7906
9031
  data: z.ZodObject<{
7907
- readonly transitions: z.ZodArray<z.ZodObject<{
7908
- readonly url: z.ZodString;
7909
- readonly field: z.ZodEnum<{
7910
- coverageState: "coverageState";
7911
- indexStatus: "indexStatus";
7912
- googleCanonical: "googleCanonical";
7913
- robotsTxtState: "robotsTxtState";
7914
- indexingState: "indexingState";
7915
- pageFetchState: "pageFetchState";
7916
- }>;
7917
- readonly fromValue: z.ZodNullable<z.ZodString>;
7918
- readonly toValue: z.ZodNullable<z.ZodString>;
7919
- readonly changedAfter: z.ZodString;
7920
- readonly changedBefore: z.ZodString;
7921
- readonly detectedAt: z.ZodString;
7922
- readonly observationGapDays: z.ZodNumber;
7923
- }, z.core.$strip>>;
7924
- readonly observationWindow: z.ZodDiscriminatedUnion<[z.ZodObject<{
7925
- readonly _tag: z.ZodLiteral<"empty">;
7926
- readonly gapDaysMedian: z.ZodNull;
7927
- readonly gapDaysP90: z.ZodNull;
7928
- readonly sampleSize: z.ZodLiteral<0>;
7929
- }, z.core.$strip>, z.ZodObject<{
7930
- readonly _tag: z.ZodLiteral<"sampled">;
7931
- readonly gapDaysMedian: z.ZodNumber;
7932
- readonly gapDaysP90: z.ZodNumber;
7933
- readonly sampleSize: z.ZodNumber;
7934
- }, z.core.$strip>], "_tag">;
7935
- readonly pagination: z.ZodObject<{
7936
- readonly total: z.ZodNumber;
7937
- readonly limit: z.ZodNumber;
7938
- readonly offset: z.ZodNumber;
7939
- readonly hasMore: z.ZodBoolean;
7940
- }, z.core.$strip>;
7941
- readonly meta: z.ZodObject<{
7942
- readonly siteUrl: z.ZodString;
7943
- readonly startDate: z.ZodString;
7944
- readonly endDate: z.ZodString;
7945
- }, z.core.$strip>;
9032
+ readonly authorizeUrl: z.ZodURL;
9033
+ readonly expiresAt: z.ZodISODateTime;
7946
9034
  }, z.core.$strip>;
7947
9035
  meta: z.ZodObject<{
7948
9036
  readonly requestId: z.ZodString;
@@ -7951,45 +9039,8 @@ export declare function createGscdumpV1Protocol(): {
7951
9039
  }, z.core.$strip>;
7952
9040
  }, z.core.$strip>, z.ZodObject<{
7953
9041
  data: z.ZodObject<{
7954
- readonly transitions: z.ZodArray<z.ZodObject<{
7955
- readonly url: z.ZodString;
7956
- readonly field: z.ZodEnum<{
7957
- coverageState: "coverageState";
7958
- indexStatus: "indexStatus";
7959
- googleCanonical: "googleCanonical";
7960
- robotsTxtState: "robotsTxtState";
7961
- indexingState: "indexingState";
7962
- pageFetchState: "pageFetchState";
7963
- }>;
7964
- readonly fromValue: z.ZodNullable<z.ZodString>;
7965
- readonly toValue: z.ZodNullable<z.ZodString>;
7966
- readonly changedAfter: z.ZodString;
7967
- readonly changedBefore: z.ZodString;
7968
- readonly detectedAt: z.ZodString;
7969
- readonly observationGapDays: z.ZodNumber;
7970
- }, z.core.$strip>>;
7971
- readonly observationWindow: z.ZodDiscriminatedUnion<[z.ZodObject<{
7972
- readonly _tag: z.ZodLiteral<"empty">;
7973
- readonly gapDaysMedian: z.ZodNull;
7974
- readonly gapDaysP90: z.ZodNull;
7975
- readonly sampleSize: z.ZodLiteral<0>;
7976
- }, z.core.$strip>, z.ZodObject<{
7977
- readonly _tag: z.ZodLiteral<"sampled">;
7978
- readonly gapDaysMedian: z.ZodNumber;
7979
- readonly gapDaysP90: z.ZodNumber;
7980
- readonly sampleSize: z.ZodNumber;
7981
- }, z.core.$strip>], "_tag">;
7982
- readonly pagination: z.ZodObject<{
7983
- readonly total: z.ZodNumber;
7984
- readonly limit: z.ZodNumber;
7985
- readonly offset: z.ZodNumber;
7986
- readonly hasMore: z.ZodBoolean;
7987
- }, z.core.$strip>;
7988
- readonly meta: z.ZodObject<{
7989
- readonly siteUrl: z.ZodString;
7990
- readonly startDate: z.ZodString;
7991
- readonly endDate: z.ZodString;
7992
- }, z.core.$strip>;
9042
+ readonly authorizeUrl: z.ZodURL;
9043
+ readonly expiresAt: z.ZodISODateTime;
7993
9044
  }, z.core.$strip>;
7994
9045
  meta: z.ZodObject<{
7995
9046
  readonly requestId: z.ZodString;
@@ -8040,43 +9091,25 @@ export declare function createGscdumpV1Protocol(): {
8040
9091
  readonly changes: readonly [];
8041
9092
  };
8042
9093
  readonly lifecycle: {
8043
- readonly introduced: "1.4.8";
9094
+ readonly introduced: "4.8.0";
8044
9095
  };
8045
9096
  readonly docs: {
8046
- readonly summary: "List observed indexing transitions";
8047
- readonly description: "Returns URL inspection state changes as bounded observation intervals. detectedAt is the first observation showing the new state, not the exact change time.";
9097
+ readonly summary: "Authorize Bing for a Site";
9098
+ readonly description: "Returns a Microsoft authorize URL that expires at `expiresAt`. After consent, gscdump stores the grant, links the Site, and returns the browser to `returnUrl` with `bing=connected`, `bing=verification-required`, or `bing=error&reason=<reason>`. `returnUrl` must be a gscdump.com path or an allowed origin, otherwise the request fails with `400 invalid_request` and `details.reason` `return-url-not-allowed`. Only the Site owner's user credential may authorize.";
8048
9099
  readonly tags: readonly ["Indexing"];
8049
9100
  readonly examples: {
8050
9101
  readonly request: {
8051
9102
  readonly params: {
8052
9103
  readonly siteId: "s_01";
8053
9104
  };
8054
- readonly query: {
8055
- readonly startDate: "2026-06-01";
8056
- readonly endDate: "2026-07-26";
8057
- readonly field: "coverageState";
9105
+ readonly body: {
9106
+ readonly returnUrl: "https://nuxtseo.com/pro/dashboard/integrations";
8058
9107
  };
8059
9108
  };
8060
9109
  readonly response: {
8061
9110
  readonly data: {
8062
- readonly transitions: readonly [];
8063
- readonly observationWindow: {
8064
- readonly _tag: "empty";
8065
- readonly gapDaysMedian: null;
8066
- readonly gapDaysP90: null;
8067
- readonly sampleSize: 0;
8068
- };
8069
- readonly pagination: {
8070
- readonly total: 0;
8071
- readonly limit: 100;
8072
- readonly offset: 0;
8073
- readonly hasMore: false;
8074
- };
8075
- readonly meta: {
8076
- readonly siteUrl: "sc-domain:example.com";
8077
- readonly startDate: "2026-06-01";
8078
- readonly endDate: "2026-07-26";
8079
- };
9111
+ readonly authorizeUrl: "https://www.bing.com/webmasters/oauth/authorize?client_id=gscdump&state=intent_01";
9112
+ readonly expiresAt: "2026-09-30T00:10:00.000Z";
8080
9113
  };
8081
9114
  readonly meta: {
8082
9115
  readonly requestId: "req_01";
@@ -8086,22 +9119,22 @@ export declare function createGscdumpV1Protocol(): {
8086
9119
  };
8087
9120
  };
8088
9121
  };
8089
- readonly id: "partner.sites.indexing.transitions.list";
8090
- readonly method: "GET";
8091
- readonly path: "/sites/{siteId}/indexing/transitions";
9122
+ readonly id: "partner.sites.indexing.bing.authorization.create";
9123
+ readonly method: "POST";
9124
+ readonly path: "/sites/{siteId}/indexing/bing/authorization";
8092
9125
  };
8093
- readonly getSiteIndexingDiagnostics: {
9126
+ readonly submitSiteBingSitemap: {
8094
9127
  readonly visibility: "public";
8095
9128
  readonly semantics: {
8096
- readonly kind: "query";
8097
- readonly sideEffects: "none";
9129
+ readonly kind: "mutation";
9130
+ readonly sideEffects: "state";
8098
9131
  readonly idempotent: true;
8099
9132
  readonly retry: "idempotent";
8100
- readonly readConsistency: "primary";
9133
+ readonly readConsistency: null;
8101
9134
  };
8102
9135
  readonly auth: {
8103
9136
  readonly credentials: readonly ["user_key", "partner_key"];
8104
- readonly scopes: readonly ["indexing:read"];
9137
+ readonly scopes: readonly ["indexing:write"];
8105
9138
  readonly ownership: readonly [{
8106
9139
  readonly credential: "user_key";
8107
9140
  readonly rule: "authorized_site";
@@ -8114,178 +9147,1492 @@ export declare function createGscdumpV1Protocol(): {
8114
9147
  readonly params: z.ZodObject<{
8115
9148
  siteId: z.ZodString;
8116
9149
  }, z.core.$strict>;
8117
- readonly query: z.ZodObject<{
8118
- sampleIssues: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
8119
- sampleLimit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
8120
- }, z.core.$strict>;
9150
+ readonly query: null;
8121
9151
  readonly headers: z.ZodObject<{
8122
9152
  'x-request-id': z.ZodOptional<z.ZodString>;
8123
9153
  }, z.core.$strict>;
8124
- readonly body: null;
9154
+ readonly body: z.ZodObject<{
9155
+ url: z.ZodOptional<z.ZodURL>;
9156
+ }, z.core.$strict>;
8125
9157
  };
8126
9158
  readonly responses: {
8127
9159
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
8128
- data: z.ZodObject<{
8129
- summary: z.ZodObject<{
8130
- totalUrls: z.ZodNumber;
8131
- indexed: z.ZodNumber;
8132
- indexedPercent: z.ZodNumber;
8133
- }, z.core.$loose>;
8134
- issues: z.ZodArray<z.ZodObject<{
8135
- type: z.ZodString;
8136
- label: z.ZodString;
8137
- severity: z.ZodEnum<{
8138
- error: "error";
8139
- warning: "warning";
8140
- info: "info";
8141
- }>;
8142
- count: z.ZodNumber;
8143
- description: z.ZodString;
8144
- fix: z.ZodString;
8145
- }, z.core.$loose>>;
8146
- samples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
8147
- url: z.ZodString;
8148
- issueType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8149
- verdict: z.ZodNullable<z.ZodString>;
8150
- coverageState: z.ZodNullable<z.ZodString>;
8151
- indexingState: z.ZodNullable<z.ZodString>;
8152
- robotsTxtState: z.ZodNullable<z.ZodString>;
8153
- pageFetchState: z.ZodNullable<z.ZodString>;
8154
- lastCrawlTime: z.ZodNullable<z.ZodString>;
8155
- crawlingUserAgent: z.ZodNullable<z.ZodString>;
8156
- userCanonical: z.ZodNullable<z.ZodString>;
8157
- googleCanonical: z.ZodNullable<z.ZodString>;
8158
- canonicalMismatchKind: z.ZodEnum<{
8159
- path: "path";
8160
- none: "none";
8161
- formatting: "formatting";
8162
- cross_domain: "cross_domain";
8163
- }>;
8164
- sitemaps: z.ZodNullable<z.ZodArray<z.ZodString>>;
8165
- referringUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
8166
- mobileVerdict: z.ZodNullable<z.ZodString>;
8167
- mobileIssues: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8168
- richResultsVerdict: z.ZodNullable<z.ZodString>;
8169
- richResultsItems: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8170
- inspectionResultLink: z.ZodNullable<z.ZodString>;
8171
- firstCheckedAt: z.ZodString;
8172
- lastCheckedAt: z.ZodString;
8173
- checkCount: z.ZodNumber;
8174
- }, z.core.$loose>>>>;
8175
- capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8176
- _tag: z.ZodLiteral<"captured">;
8177
- capturedAt: z.ZodString;
8178
- source: z.ZodEnum<{
8179
- live: "live";
8180
- stored: "stored";
8181
- }>;
8182
- scope: z.ZodEnum<{
8183
- sitemap_members: "sitemap_members";
8184
- inspected_urls: "inspected_urls";
8185
- unrecorded: "unrecorded";
8186
- }>;
8187
- oldestVerdictAt: z.ZodNullable<z.ZodString>;
8188
- newestVerdictAt: z.ZodNullable<z.ZodString>;
8189
- freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
8190
- _tag: z.ZodLiteral<"measured">;
8191
- verdicts: z.ZodNumber;
8192
- olderThan7d: z.ZodNumber;
8193
- olderThan30d: z.ZodNumber;
8194
- olderThan7dPercent: z.ZodNumber;
8195
- olderThan30dPercent: z.ZodNumber;
8196
- }, z.core.$loose>, z.ZodObject<{
8197
- _tag: z.ZodLiteral<"unmeasured">;
8198
- }, z.core.$loose>], "_tag">;
8199
- }, z.core.$loose>, z.ZodObject<{
8200
- _tag: z.ZodLiteral<"empty">;
8201
- }, z.core.$loose>], "_tag">>;
8202
- meta: z.ZodObject<{
8203
- siteUrl: z.ZodString;
8204
- }, z.core.$loose>;
8205
- }, z.core.$strip>;
9160
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
9161
+ readonly _tag: z.ZodLiteral<"submitted">;
9162
+ readonly sitemapUrl: z.ZodURL;
9163
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
9164
+ readonly _tag: z.ZodLiteral<"submitted">;
9165
+ readonly checkedAt: z.ZodISODateTime;
9166
+ readonly sitemapCount: z.ZodNumber;
9167
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
9168
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
9169
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
9170
+ readonly url: z.ZodString;
9171
+ readonly status: z.ZodString;
9172
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
9173
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
9174
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
9175
+ }, z.core.$strip>>;
9176
+ }, z.core.$strip>, z.ZodObject<{
9177
+ readonly _tag: z.ZodLiteral<"missing">;
9178
+ readonly checkedAt: z.ZodISODateTime;
9179
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
9180
+ }, z.core.$strip>, z.ZodObject<{
9181
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
9182
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
9183
+ readonly lastSubmittedAt: z.ZodISODateTime;
9184
+ }, z.core.$strip>, z.ZodObject<{
9185
+ readonly _tag: z.ZodLiteral<"unknown">;
9186
+ }, z.core.$strip>], "_tag">;
9187
+ }, z.core.$strip>, z.ZodObject<{
9188
+ readonly _tag: z.ZodLiteral<"failed">;
9189
+ readonly reason: z.ZodEnum<{
9190
+ "grant-required": "grant-required";
9191
+ "site-unverified": "site-unverified";
9192
+ "no-sitemap-found": "no-sitemap-found";
9193
+ throttled: "throttled";
9194
+ "provider-unavailable": "provider-unavailable";
9195
+ }>;
9196
+ readonly retryable: z.ZodBoolean;
9197
+ }, z.core.$strip>], "_tag">;
8206
9198
  meta: z.ZodObject<{
8207
9199
  readonly requestId: z.ZodString;
8208
9200
  readonly surface: z.ZodLiteral<"partner">;
8209
9201
  readonly version: z.ZodLiteral<"1.0">;
8210
9202
  }, z.core.$strip>;
8211
9203
  }, z.core.$strip>, z.ZodObject<{
8212
- data: z.ZodObject<{
8213
- summary: z.ZodObject<{
8214
- totalUrls: z.ZodNumber;
8215
- indexed: z.ZodNumber;
8216
- indexedPercent: z.ZodNumber;
8217
- }, z.core.$loose>;
8218
- issues: z.ZodArray<z.ZodObject<{
8219
- type: z.ZodString;
8220
- label: z.ZodString;
8221
- severity: z.ZodEnum<{
8222
- error: "error";
8223
- warning: "warning";
8224
- info: "info";
8225
- }>;
8226
- count: z.ZodNumber;
8227
- description: z.ZodString;
8228
- fix: z.ZodString;
8229
- }, z.core.$loose>>;
8230
- samples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
8231
- url: z.ZodString;
8232
- issueType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8233
- verdict: z.ZodNullable<z.ZodString>;
8234
- coverageState: z.ZodNullable<z.ZodString>;
8235
- indexingState: z.ZodNullable<z.ZodString>;
8236
- robotsTxtState: z.ZodNullable<z.ZodString>;
8237
- pageFetchState: z.ZodNullable<z.ZodString>;
8238
- lastCrawlTime: z.ZodNullable<z.ZodString>;
8239
- crawlingUserAgent: z.ZodNullable<z.ZodString>;
8240
- userCanonical: z.ZodNullable<z.ZodString>;
8241
- googleCanonical: z.ZodNullable<z.ZodString>;
8242
- canonicalMismatchKind: z.ZodEnum<{
8243
- path: "path";
8244
- none: "none";
8245
- formatting: "formatting";
8246
- cross_domain: "cross_domain";
9204
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
9205
+ readonly _tag: z.ZodLiteral<"submitted">;
9206
+ readonly sitemapUrl: z.ZodURL;
9207
+ readonly sitemap: z.ZodDiscriminatedUnion<[z.ZodObject<{
9208
+ readonly _tag: z.ZodLiteral<"submitted">;
9209
+ readonly checkedAt: z.ZodISODateTime;
9210
+ readonly sitemapCount: z.ZodNumber;
9211
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
9212
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
9213
+ readonly sitemaps: z.ZodArray<z.ZodObject<{
9214
+ readonly url: z.ZodString;
9215
+ readonly status: z.ZodString;
9216
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
9217
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
9218
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
9219
+ }, z.core.$strip>>;
9220
+ }, z.core.$strip>, z.ZodObject<{
9221
+ readonly _tag: z.ZodLiteral<"missing">;
9222
+ readonly checkedAt: z.ZodISODateTime;
9223
+ readonly lastSubmittedAt: z.ZodNullable<z.ZodISODateTime>;
9224
+ }, z.core.$strip>, z.ZodObject<{
9225
+ readonly _tag: z.ZodLiteral<"awaiting-bing">;
9226
+ readonly checkedAt: z.ZodNullable<z.ZodISODateTime>;
9227
+ readonly lastSubmittedAt: z.ZodISODateTime;
9228
+ }, z.core.$strip>, z.ZodObject<{
9229
+ readonly _tag: z.ZodLiteral<"unknown">;
9230
+ }, z.core.$strip>], "_tag">;
9231
+ }, z.core.$strip>, z.ZodObject<{
9232
+ readonly _tag: z.ZodLiteral<"failed">;
9233
+ readonly reason: z.ZodEnum<{
9234
+ "grant-required": "grant-required";
9235
+ "site-unverified": "site-unverified";
9236
+ "no-sitemap-found": "no-sitemap-found";
9237
+ throttled: "throttled";
9238
+ "provider-unavailable": "provider-unavailable";
9239
+ }>;
9240
+ readonly retryable: z.ZodBoolean;
9241
+ }, z.core.$strip>], "_tag">;
9242
+ meta: z.ZodObject<{
9243
+ readonly requestId: z.ZodString;
9244
+ readonly surface: z.ZodLiteral<"partner">;
9245
+ readonly version: z.ZodLiteral<"1.0">;
9246
+ }, z.core.$strip>;
9247
+ }, z.core.$strip>>;
9248
+ };
9249
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
9250
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
9251
+ readonly error: z.ZodObject<{
9252
+ code: z.ZodEnum<{
9253
+ internal_error: "internal_error";
9254
+ invalid_request: "invalid_request";
9255
+ unauthorized: "unauthorized";
9256
+ forbidden: "forbidden";
9257
+ site_not_found: "site_not_found";
9258
+ rate_limited: "rate_limited";
9259
+ contract_violation: "contract_violation";
9260
+ }>;
9261
+ message: z.ZodString;
9262
+ requestId: z.ZodString;
9263
+ retryable: z.ZodBoolean;
9264
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9265
+ }, z.core.$strict>;
9266
+ }, z.core.$strip>, z.ZodObject<{
9267
+ readonly error: z.ZodObject<{
9268
+ code: z.ZodEnum<{
9269
+ internal_error: "internal_error";
9270
+ invalid_request: "invalid_request";
9271
+ unauthorized: "unauthorized";
9272
+ forbidden: "forbidden";
9273
+ site_not_found: "site_not_found";
9274
+ rate_limited: "rate_limited";
9275
+ contract_violation: "contract_violation";
9276
+ }>;
9277
+ message: z.ZodString;
9278
+ requestId: z.ZodString;
9279
+ retryable: z.ZodBoolean;
9280
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9281
+ }, z.core.$loose>;
9282
+ }, z.core.$strip>>;
9283
+ readonly resources: {
9284
+ readonly reads: readonly [{
9285
+ readonly type: "site.indexing";
9286
+ readonly idFrom: "params.siteId";
9287
+ }];
9288
+ readonly changes: readonly [{
9289
+ readonly type: "site.indexing";
9290
+ readonly idFrom: "params.siteId";
9291
+ }];
9292
+ };
9293
+ readonly lifecycle: {
9294
+ readonly introduced: "4.8.0";
9295
+ };
9296
+ readonly docs: {
9297
+ readonly summary: "Submit a Sitemap to Bing";
9298
+ readonly description: "Submits one Sitemap for a verified Site, then reads what Bing lists. Without `url`, gscdump submits the Sitemap it finds on the Site. Bing lags after a submit, so `sitemap` usually reads `awaiting-bing`. Every expected outcome is a value.";
9299
+ readonly tags: readonly ["Indexing"];
9300
+ readonly examples: {
9301
+ readonly request: {
9302
+ readonly params: {
9303
+ readonly siteId: "s_01";
9304
+ };
9305
+ readonly body: {};
9306
+ };
9307
+ readonly response: {
9308
+ readonly data: {
9309
+ readonly _tag: "submitted";
9310
+ readonly sitemapUrl: "https://example.com/sitemap.xml";
9311
+ readonly sitemap: {
9312
+ readonly _tag: "awaiting-bing";
9313
+ readonly checkedAt: "2026-09-30T00:00:00.000Z";
9314
+ readonly lastSubmittedAt: "2026-09-30T00:00:00.000Z";
9315
+ };
9316
+ };
9317
+ readonly meta: {
9318
+ readonly requestId: "req_01";
9319
+ readonly surface: "partner";
9320
+ readonly version: "1.0";
9321
+ };
9322
+ };
9323
+ };
9324
+ };
9325
+ readonly id: "partner.sites.indexing.bing.sitemaps.submit";
9326
+ readonly method: "POST";
9327
+ readonly path: "/sites/{siteId}/indexing/bing/sitemaps";
9328
+ };
9329
+ readonly getSiteBingConnection: {
9330
+ readonly visibility: "public";
9331
+ readonly semantics: {
9332
+ readonly kind: "query";
9333
+ readonly sideEffects: "none";
9334
+ readonly idempotent: true;
9335
+ readonly retry: "idempotent";
9336
+ readonly readConsistency: "primary";
9337
+ };
9338
+ readonly auth: {
9339
+ readonly credentials: readonly ["user_key", "partner_key"];
9340
+ readonly scopes: readonly ["indexing:read"];
9341
+ readonly ownership: readonly [{
9342
+ readonly credential: "user_key";
9343
+ readonly rule: "authorized_site";
9344
+ }, {
9345
+ readonly credential: "partner_key";
9346
+ readonly rule: "authorized_site";
9347
+ }];
9348
+ };
9349
+ readonly request: {
9350
+ readonly params: z.ZodObject<{
9351
+ siteId: z.ZodString;
9352
+ }, z.core.$strict>;
9353
+ readonly query: null;
9354
+ readonly headers: z.ZodObject<{
9355
+ 'x-request-id': z.ZodOptional<z.ZodString>;
9356
+ }, z.core.$strict>;
9357
+ readonly body: null;
9358
+ };
9359
+ readonly responses: {
9360
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
9361
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
9362
+ _tag: z.ZodLiteral<"disconnected">;
9363
+ searchEngine: z.ZodLiteral<"bing">;
9364
+ }, z.core.$strict>, z.ZodObject<{
9365
+ _tag: z.ZodLiteral<"verification-required">;
9366
+ searchEngine: z.ZodLiteral<"bing">;
9367
+ remoteSiteUrl: z.ZodURL;
9368
+ verified: z.ZodLiteral<false>;
9369
+ verification: z.ZodObject<{
9370
+ _tag: z.ZodLiteral<"cname">;
9371
+ name: z.ZodString;
9372
+ value: z.ZodLiteral<"verify.bing.com">;
9373
+ }, z.core.$strict>;
9374
+ }, z.core.$strict>, z.ZodObject<{
9375
+ scopes: z.ZodArray<z.ZodString>;
9376
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9377
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9378
+ _tag: z.ZodLiteral<"connected">;
9379
+ searchEngine: z.ZodLiteral<"bing">;
9380
+ remoteSiteUrl: z.ZodURL;
9381
+ verified: z.ZodLiteral<true>;
9382
+ }, z.core.$strict>, z.ZodObject<{
9383
+ scopes: z.ZodArray<z.ZodString>;
9384
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9385
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9386
+ _tag: z.ZodLiteral<"reauthorization-required">;
9387
+ searchEngine: z.ZodLiteral<"bing">;
9388
+ remoteSiteUrl: z.ZodURL;
9389
+ verified: z.ZodBoolean;
9390
+ }, z.core.$strict>, z.ZodObject<{
9391
+ scopes: z.ZodArray<z.ZodString>;
9392
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9393
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9394
+ _tag: z.ZodLiteral<"unavailable">;
9395
+ searchEngine: z.ZodLiteral<"bing">;
9396
+ remoteSiteUrl: z.ZodURL;
9397
+ verified: z.ZodLiteral<true>;
9398
+ reason: z.ZodLiteral<"permission-lost">;
9399
+ }, z.core.$strict>], "_tag">;
9400
+ meta: z.ZodObject<{
9401
+ readonly requestId: z.ZodString;
9402
+ readonly surface: z.ZodLiteral<"partner">;
9403
+ readonly version: z.ZodLiteral<"1.0">;
9404
+ }, z.core.$strip>;
9405
+ }, z.core.$strip>, z.ZodObject<{
9406
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
9407
+ _tag: z.ZodLiteral<"disconnected">;
9408
+ searchEngine: z.ZodLiteral<"bing">;
9409
+ }, z.core.$loose>, z.ZodObject<{
9410
+ _tag: z.ZodLiteral<"verification-required">;
9411
+ searchEngine: z.ZodLiteral<"bing">;
9412
+ remoteSiteUrl: z.ZodURL;
9413
+ verified: z.ZodLiteral<false>;
9414
+ verification: z.ZodObject<{
9415
+ _tag: z.ZodLiteral<"cname">;
9416
+ name: z.ZodString;
9417
+ value: z.ZodLiteral<"verify.bing.com">;
9418
+ }, z.core.$loose>;
9419
+ }, z.core.$loose>, z.ZodObject<{
9420
+ scopes: z.ZodArray<z.ZodString>;
9421
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9422
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9423
+ _tag: z.ZodLiteral<"connected">;
9424
+ searchEngine: z.ZodLiteral<"bing">;
9425
+ remoteSiteUrl: z.ZodURL;
9426
+ verified: z.ZodLiteral<true>;
9427
+ }, z.core.$loose>, z.ZodObject<{
9428
+ scopes: z.ZodArray<z.ZodString>;
9429
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9430
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9431
+ _tag: z.ZodLiteral<"reauthorization-required">;
9432
+ searchEngine: z.ZodLiteral<"bing">;
9433
+ remoteSiteUrl: z.ZodURL;
9434
+ verified: z.ZodBoolean;
9435
+ }, z.core.$loose>, z.ZodObject<{
9436
+ scopes: z.ZodArray<z.ZodString>;
9437
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9438
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9439
+ _tag: z.ZodLiteral<"unavailable">;
9440
+ searchEngine: z.ZodLiteral<"bing">;
9441
+ remoteSiteUrl: z.ZodURL;
9442
+ verified: z.ZodLiteral<true>;
9443
+ reason: z.ZodLiteral<"permission-lost">;
9444
+ }, z.core.$loose>], "_tag">;
9445
+ meta: z.ZodObject<{
9446
+ readonly requestId: z.ZodString;
9447
+ readonly surface: z.ZodLiteral<"partner">;
9448
+ readonly version: z.ZodLiteral<"1.0">;
9449
+ }, z.core.$strip>;
9450
+ }, z.core.$strip>>;
9451
+ };
9452
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
9453
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
9454
+ readonly error: z.ZodObject<{
9455
+ code: z.ZodEnum<{
9456
+ internal_error: "internal_error";
9457
+ invalid_request: "invalid_request";
9458
+ unauthorized: "unauthorized";
9459
+ forbidden: "forbidden";
9460
+ site_not_found: "site_not_found";
9461
+ rate_limited: "rate_limited";
9462
+ contract_violation: "contract_violation";
9463
+ }>;
9464
+ message: z.ZodString;
9465
+ requestId: z.ZodString;
9466
+ retryable: z.ZodBoolean;
9467
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9468
+ }, z.core.$strict>;
9469
+ }, z.core.$strip>, z.ZodObject<{
9470
+ readonly error: z.ZodObject<{
9471
+ code: z.ZodEnum<{
9472
+ internal_error: "internal_error";
9473
+ invalid_request: "invalid_request";
9474
+ unauthorized: "unauthorized";
9475
+ forbidden: "forbidden";
9476
+ site_not_found: "site_not_found";
9477
+ rate_limited: "rate_limited";
9478
+ contract_violation: "contract_violation";
9479
+ }>;
9480
+ message: z.ZodString;
9481
+ requestId: z.ZodString;
9482
+ retryable: z.ZodBoolean;
9483
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9484
+ }, z.core.$loose>;
9485
+ }, z.core.$strip>>;
9486
+ readonly resources: {
9487
+ readonly reads: readonly [{
9488
+ readonly type: "site.auth";
9489
+ readonly idFrom: "params.siteId";
9490
+ }, {
9491
+ readonly type: "site.indexing";
9492
+ readonly idFrom: "params.siteId";
9493
+ }];
9494
+ readonly changes: readonly [];
9495
+ };
9496
+ readonly lifecycle: {
9497
+ readonly introduced: "1.6.0";
9498
+ };
9499
+ readonly docs: {
9500
+ readonly summary: "Get Bing connection";
9501
+ readonly description: "Returns the Bing connection state and any CNAME record required to verify the Site.";
9502
+ readonly tags: readonly ["Indexing"];
9503
+ readonly examples: {
9504
+ readonly request: {
9505
+ readonly params: {
9506
+ readonly siteId: "s_01";
9507
+ };
9508
+ };
9509
+ readonly response: {
9510
+ readonly data: {
9511
+ readonly _tag: "disconnected";
9512
+ readonly searchEngine: "bing";
9513
+ };
9514
+ readonly meta: {
9515
+ readonly requestId: "req_01";
9516
+ readonly surface: "partner";
9517
+ readonly version: "1.0";
9518
+ };
9519
+ };
9520
+ };
9521
+ };
9522
+ readonly id: "partner.sites.indexing.bing.connection.get";
9523
+ readonly method: "GET";
9524
+ readonly path: "/sites/{siteId}/indexing/bing/connection";
9525
+ };
9526
+ readonly verifySiteBingConnection: {
9527
+ readonly visibility: "public";
9528
+ readonly semantics: {
9529
+ readonly kind: "mutation";
9530
+ readonly sideEffects: "state";
9531
+ readonly idempotent: true;
9532
+ readonly retry: "idempotent";
9533
+ readonly readConsistency: null;
9534
+ };
9535
+ readonly auth: {
9536
+ readonly credentials: readonly ["user_key", "partner_key"];
9537
+ readonly scopes: readonly ["sites:write"];
9538
+ readonly ownership: readonly [{
9539
+ readonly credential: "user_key";
9540
+ readonly rule: "authorized_site";
9541
+ }, {
9542
+ readonly credential: "partner_key";
9543
+ readonly rule: "authorized_site";
9544
+ }];
9545
+ };
9546
+ readonly request: {
9547
+ readonly params: z.ZodObject<{
9548
+ siteId: z.ZodString;
9549
+ }, z.core.$strict>;
9550
+ readonly query: null;
9551
+ readonly headers: z.ZodObject<{
9552
+ 'x-request-id': z.ZodOptional<z.ZodString>;
9553
+ }, z.core.$strict>;
9554
+ readonly body: null;
9555
+ };
9556
+ readonly responses: {
9557
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
9558
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
9559
+ _tag: z.ZodLiteral<"disconnected">;
9560
+ searchEngine: z.ZodLiteral<"bing">;
9561
+ }, z.core.$strict>, z.ZodObject<{
9562
+ _tag: z.ZodLiteral<"verification-required">;
9563
+ searchEngine: z.ZodLiteral<"bing">;
9564
+ remoteSiteUrl: z.ZodURL;
9565
+ verified: z.ZodLiteral<false>;
9566
+ verification: z.ZodObject<{
9567
+ _tag: z.ZodLiteral<"cname">;
9568
+ name: z.ZodString;
9569
+ value: z.ZodLiteral<"verify.bing.com">;
9570
+ }, z.core.$strict>;
9571
+ }, z.core.$strict>, z.ZodObject<{
9572
+ scopes: z.ZodArray<z.ZodString>;
9573
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9574
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9575
+ _tag: z.ZodLiteral<"connected">;
9576
+ searchEngine: z.ZodLiteral<"bing">;
9577
+ remoteSiteUrl: z.ZodURL;
9578
+ verified: z.ZodLiteral<true>;
9579
+ }, z.core.$strict>, z.ZodObject<{
9580
+ scopes: z.ZodArray<z.ZodString>;
9581
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9582
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9583
+ _tag: z.ZodLiteral<"reauthorization-required">;
9584
+ searchEngine: z.ZodLiteral<"bing">;
9585
+ remoteSiteUrl: z.ZodURL;
9586
+ verified: z.ZodBoolean;
9587
+ }, z.core.$strict>, z.ZodObject<{
9588
+ scopes: z.ZodArray<z.ZodString>;
9589
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9590
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9591
+ _tag: z.ZodLiteral<"unavailable">;
9592
+ searchEngine: z.ZodLiteral<"bing">;
9593
+ remoteSiteUrl: z.ZodURL;
9594
+ verified: z.ZodLiteral<true>;
9595
+ reason: z.ZodLiteral<"permission-lost">;
9596
+ }, z.core.$strict>], "_tag">;
9597
+ meta: z.ZodObject<{
9598
+ readonly requestId: z.ZodString;
9599
+ readonly surface: z.ZodLiteral<"partner">;
9600
+ readonly version: z.ZodLiteral<"1.0">;
9601
+ }, z.core.$strip>;
9602
+ }, z.core.$strip>, z.ZodObject<{
9603
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
9604
+ _tag: z.ZodLiteral<"disconnected">;
9605
+ searchEngine: z.ZodLiteral<"bing">;
9606
+ }, z.core.$loose>, z.ZodObject<{
9607
+ _tag: z.ZodLiteral<"verification-required">;
9608
+ searchEngine: z.ZodLiteral<"bing">;
9609
+ remoteSiteUrl: z.ZodURL;
9610
+ verified: z.ZodLiteral<false>;
9611
+ verification: z.ZodObject<{
9612
+ _tag: z.ZodLiteral<"cname">;
9613
+ name: z.ZodString;
9614
+ value: z.ZodLiteral<"verify.bing.com">;
9615
+ }, z.core.$loose>;
9616
+ }, z.core.$loose>, z.ZodObject<{
9617
+ scopes: z.ZodArray<z.ZodString>;
9618
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9619
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9620
+ _tag: z.ZodLiteral<"connected">;
9621
+ searchEngine: z.ZodLiteral<"bing">;
9622
+ remoteSiteUrl: z.ZodURL;
9623
+ verified: z.ZodLiteral<true>;
9624
+ }, z.core.$loose>, z.ZodObject<{
9625
+ scopes: z.ZodArray<z.ZodString>;
9626
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9627
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9628
+ _tag: z.ZodLiteral<"reauthorization-required">;
9629
+ searchEngine: z.ZodLiteral<"bing">;
9630
+ remoteSiteUrl: z.ZodURL;
9631
+ verified: z.ZodBoolean;
9632
+ }, z.core.$loose>, z.ZodObject<{
9633
+ scopes: z.ZodArray<z.ZodString>;
9634
+ tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
9635
+ lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
9636
+ _tag: z.ZodLiteral<"unavailable">;
9637
+ searchEngine: z.ZodLiteral<"bing">;
9638
+ remoteSiteUrl: z.ZodURL;
9639
+ verified: z.ZodLiteral<true>;
9640
+ reason: z.ZodLiteral<"permission-lost">;
9641
+ }, z.core.$loose>], "_tag">;
9642
+ meta: z.ZodObject<{
9643
+ readonly requestId: z.ZodString;
9644
+ readonly surface: z.ZodLiteral<"partner">;
9645
+ readonly version: z.ZodLiteral<"1.0">;
9646
+ }, z.core.$strip>;
9647
+ }, z.core.$strip>>;
9648
+ };
9649
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
9650
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
9651
+ readonly error: z.ZodObject<{
9652
+ code: z.ZodEnum<{
9653
+ internal_error: "internal_error";
9654
+ invalid_request: "invalid_request";
9655
+ unauthorized: "unauthorized";
9656
+ forbidden: "forbidden";
9657
+ site_not_found: "site_not_found";
9658
+ rate_limited: "rate_limited";
9659
+ contract_violation: "contract_violation";
9660
+ }>;
9661
+ message: z.ZodString;
9662
+ requestId: z.ZodString;
9663
+ retryable: z.ZodBoolean;
9664
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9665
+ }, z.core.$strict>;
9666
+ }, z.core.$strip>, z.ZodObject<{
9667
+ readonly error: z.ZodObject<{
9668
+ code: z.ZodEnum<{
9669
+ internal_error: "internal_error";
9670
+ invalid_request: "invalid_request";
9671
+ unauthorized: "unauthorized";
9672
+ forbidden: "forbidden";
9673
+ site_not_found: "site_not_found";
9674
+ rate_limited: "rate_limited";
9675
+ contract_violation: "contract_violation";
9676
+ }>;
9677
+ message: z.ZodString;
9678
+ requestId: z.ZodString;
9679
+ retryable: z.ZodBoolean;
9680
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9681
+ }, z.core.$loose>;
9682
+ }, z.core.$strip>>;
9683
+ readonly resources: {
9684
+ readonly reads: readonly [{
9685
+ readonly type: "site.auth";
9686
+ readonly idFrom: "params.siteId";
9687
+ }];
9688
+ readonly changes: readonly [{
9689
+ readonly type: "site.auth";
9690
+ readonly idFrom: "params.siteId";
9691
+ }, {
9692
+ readonly type: "site.indexing";
9693
+ readonly idFrom: "params.siteId";
9694
+ }];
9695
+ };
9696
+ readonly lifecycle: {
9697
+ readonly introduced: "1.6.0";
9698
+ };
9699
+ readonly docs: {
9700
+ readonly summary: "Check Bing Site verification";
9701
+ readonly description: "Asks Bing to verify the Site. If Bing confirms ownership, it enables the connection and queues initial sync work.";
9702
+ readonly tags: readonly ["Indexing"];
9703
+ readonly examples: {
9704
+ readonly request: {
9705
+ readonly params: {
9706
+ readonly siteId: "s_01";
9707
+ };
9708
+ };
9709
+ readonly response: {
9710
+ readonly data: {
9711
+ readonly _tag: "connected";
9712
+ readonly searchEngine: "bing";
9713
+ readonly remoteSiteUrl: "https://example.com/";
9714
+ readonly verified: true;
9715
+ readonly scopes: readonly ["webmaster.read"];
9716
+ readonly tokenExpiresAt: null;
9717
+ readonly lastEvidenceAt: null;
9718
+ };
9719
+ readonly meta: {
9720
+ readonly requestId: "req_01";
9721
+ readonly surface: "partner";
9722
+ readonly version: "1.0";
9723
+ };
9724
+ };
9725
+ };
9726
+ };
9727
+ readonly id: "partner.sites.indexing.bing.connection.verify";
9728
+ readonly method: "POST";
9729
+ readonly path: "/sites/{siteId}/indexing/bing/connection/verify";
9730
+ };
9731
+ readonly listSiteIndexingTransitions: {
9732
+ readonly visibility: "public";
9733
+ readonly semantics: {
9734
+ readonly kind: "query";
9735
+ readonly sideEffects: "none";
9736
+ readonly idempotent: true;
9737
+ readonly retry: "idempotent";
9738
+ readonly readConsistency: "primary";
9739
+ };
9740
+ readonly auth: {
9741
+ readonly credentials: readonly ["user_key", "partner_key"];
9742
+ readonly scopes: readonly ["indexing:read"];
9743
+ readonly ownership: readonly [{
9744
+ readonly credential: "user_key";
9745
+ readonly rule: "authorized_site";
9746
+ }, {
9747
+ readonly credential: "partner_key";
9748
+ readonly rule: "authorized_site";
9749
+ }];
9750
+ };
9751
+ readonly request: {
9752
+ readonly params: z.ZodObject<{
9753
+ siteId: z.ZodString;
9754
+ }, z.core.$strict>;
9755
+ readonly query: z.ZodObject<{
9756
+ startDate: z.ZodOptional<z.ZodString>;
9757
+ endDate: z.ZodOptional<z.ZodString>;
9758
+ field: z.ZodOptional<z.ZodEnum<{
9759
+ coverageState: "coverageState";
9760
+ indexStatus: "indexStatus";
9761
+ googleCanonical: "googleCanonical";
9762
+ robotsTxtState: "robotsTxtState";
9763
+ indexingState: "indexingState";
9764
+ pageFetchState: "pageFetchState";
9765
+ }>>;
9766
+ fromValue: z.ZodOptional<z.ZodString>;
9767
+ toValue: z.ZodOptional<z.ZodString>;
9768
+ limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
9769
+ offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
9770
+ }, z.core.$strict>;
9771
+ readonly headers: z.ZodObject<{
9772
+ 'x-request-id': z.ZodOptional<z.ZodString>;
9773
+ }, z.core.$strict>;
9774
+ readonly body: null;
9775
+ };
9776
+ readonly responses: {
9777
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
9778
+ data: z.ZodObject<{
9779
+ readonly transitions: z.ZodArray<z.ZodObject<{
9780
+ readonly url: z.ZodString;
9781
+ readonly field: z.ZodEnum<{
9782
+ coverageState: "coverageState";
9783
+ indexStatus: "indexStatus";
9784
+ googleCanonical: "googleCanonical";
9785
+ robotsTxtState: "robotsTxtState";
9786
+ indexingState: "indexingState";
9787
+ pageFetchState: "pageFetchState";
9788
+ }>;
9789
+ readonly fromValue: z.ZodNullable<z.ZodString>;
9790
+ readonly toValue: z.ZodNullable<z.ZodString>;
9791
+ readonly changedAfter: z.ZodString;
9792
+ readonly changedBefore: z.ZodString;
9793
+ readonly detectedAt: z.ZodString;
9794
+ readonly observationGapDays: z.ZodNumber;
9795
+ }, z.core.$strip>>;
9796
+ readonly observationWindow: z.ZodDiscriminatedUnion<[z.ZodObject<{
9797
+ readonly _tag: z.ZodLiteral<"empty">;
9798
+ readonly gapDaysMedian: z.ZodNull;
9799
+ readonly gapDaysP90: z.ZodNull;
9800
+ readonly sampleSize: z.ZodLiteral<0>;
9801
+ }, z.core.$strip>, z.ZodObject<{
9802
+ readonly _tag: z.ZodLiteral<"sampled">;
9803
+ readonly gapDaysMedian: z.ZodNumber;
9804
+ readonly gapDaysP90: z.ZodNumber;
9805
+ readonly sampleSize: z.ZodNumber;
9806
+ }, z.core.$strip>], "_tag">;
9807
+ readonly pagination: z.ZodObject<{
9808
+ readonly total: z.ZodNumber;
9809
+ readonly limit: z.ZodNumber;
9810
+ readonly offset: z.ZodNumber;
9811
+ readonly hasMore: z.ZodBoolean;
9812
+ }, z.core.$strip>;
9813
+ readonly meta: z.ZodObject<{
9814
+ readonly siteUrl: z.ZodString;
9815
+ readonly startDate: z.ZodString;
9816
+ readonly endDate: z.ZodString;
9817
+ }, z.core.$strip>;
9818
+ }, z.core.$strip>;
9819
+ meta: z.ZodObject<{
9820
+ readonly requestId: z.ZodString;
9821
+ readonly surface: z.ZodLiteral<"partner">;
9822
+ readonly version: z.ZodLiteral<"1.0">;
9823
+ }, z.core.$strip>;
9824
+ }, z.core.$strip>, z.ZodObject<{
9825
+ data: z.ZodObject<{
9826
+ readonly transitions: z.ZodArray<z.ZodObject<{
9827
+ readonly url: z.ZodString;
9828
+ readonly field: z.ZodEnum<{
9829
+ coverageState: "coverageState";
9830
+ indexStatus: "indexStatus";
9831
+ googleCanonical: "googleCanonical";
9832
+ robotsTxtState: "robotsTxtState";
9833
+ indexingState: "indexingState";
9834
+ pageFetchState: "pageFetchState";
9835
+ }>;
9836
+ readonly fromValue: z.ZodNullable<z.ZodString>;
9837
+ readonly toValue: z.ZodNullable<z.ZodString>;
9838
+ readonly changedAfter: z.ZodString;
9839
+ readonly changedBefore: z.ZodString;
9840
+ readonly detectedAt: z.ZodString;
9841
+ readonly observationGapDays: z.ZodNumber;
9842
+ }, z.core.$strip>>;
9843
+ readonly observationWindow: z.ZodDiscriminatedUnion<[z.ZodObject<{
9844
+ readonly _tag: z.ZodLiteral<"empty">;
9845
+ readonly gapDaysMedian: z.ZodNull;
9846
+ readonly gapDaysP90: z.ZodNull;
9847
+ readonly sampleSize: z.ZodLiteral<0>;
9848
+ }, z.core.$strip>, z.ZodObject<{
9849
+ readonly _tag: z.ZodLiteral<"sampled">;
9850
+ readonly gapDaysMedian: z.ZodNumber;
9851
+ readonly gapDaysP90: z.ZodNumber;
9852
+ readonly sampleSize: z.ZodNumber;
9853
+ }, z.core.$strip>], "_tag">;
9854
+ readonly pagination: z.ZodObject<{
9855
+ readonly total: z.ZodNumber;
9856
+ readonly limit: z.ZodNumber;
9857
+ readonly offset: z.ZodNumber;
9858
+ readonly hasMore: z.ZodBoolean;
9859
+ }, z.core.$strip>;
9860
+ readonly meta: z.ZodObject<{
9861
+ readonly siteUrl: z.ZodString;
9862
+ readonly startDate: z.ZodString;
9863
+ readonly endDate: z.ZodString;
9864
+ }, z.core.$strip>;
9865
+ }, z.core.$strip>;
9866
+ meta: z.ZodObject<{
9867
+ readonly requestId: z.ZodString;
9868
+ readonly surface: z.ZodLiteral<"partner">;
9869
+ readonly version: z.ZodLiteral<"1.0">;
9870
+ }, z.core.$strip>;
9871
+ }, z.core.$strip>>;
9872
+ };
9873
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
9874
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
9875
+ readonly error: z.ZodObject<{
9876
+ code: z.ZodEnum<{
9877
+ internal_error: "internal_error";
9878
+ invalid_request: "invalid_request";
9879
+ unauthorized: "unauthorized";
9880
+ forbidden: "forbidden";
9881
+ site_not_found: "site_not_found";
9882
+ rate_limited: "rate_limited";
9883
+ contract_violation: "contract_violation";
9884
+ }>;
9885
+ message: z.ZodString;
9886
+ requestId: z.ZodString;
9887
+ retryable: z.ZodBoolean;
9888
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9889
+ }, z.core.$strict>;
9890
+ }, z.core.$strip>, z.ZodObject<{
9891
+ readonly error: z.ZodObject<{
9892
+ code: z.ZodEnum<{
9893
+ internal_error: "internal_error";
9894
+ invalid_request: "invalid_request";
9895
+ unauthorized: "unauthorized";
9896
+ forbidden: "forbidden";
9897
+ site_not_found: "site_not_found";
9898
+ rate_limited: "rate_limited";
9899
+ contract_violation: "contract_violation";
9900
+ }>;
9901
+ message: z.ZodString;
9902
+ requestId: z.ZodString;
9903
+ retryable: z.ZodBoolean;
9904
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9905
+ }, z.core.$loose>;
9906
+ }, z.core.$strip>>;
9907
+ readonly resources: {
9908
+ readonly reads: readonly [{
9909
+ readonly type: "site.indexing";
9910
+ readonly idFrom: "params.siteId";
9911
+ }];
9912
+ readonly changes: readonly [];
9913
+ };
9914
+ readonly lifecycle: {
9915
+ readonly introduced: "1.4.8";
9916
+ };
9917
+ readonly docs: {
9918
+ readonly summary: "List observed indexing transitions";
9919
+ readonly description: "Returns URL inspection state changes as bounded observation intervals. detectedAt is the first observation showing the new state, not the exact change time.";
9920
+ readonly tags: readonly ["Indexing"];
9921
+ readonly examples: {
9922
+ readonly request: {
9923
+ readonly params: {
9924
+ readonly siteId: "s_01";
9925
+ };
9926
+ readonly query: {
9927
+ readonly startDate: "2026-06-01";
9928
+ readonly endDate: "2026-07-26";
9929
+ readonly field: "coverageState";
9930
+ };
9931
+ };
9932
+ readonly response: {
9933
+ readonly data: {
9934
+ readonly transitions: readonly [];
9935
+ readonly observationWindow: {
9936
+ readonly _tag: "empty";
9937
+ readonly gapDaysMedian: null;
9938
+ readonly gapDaysP90: null;
9939
+ readonly sampleSize: 0;
9940
+ };
9941
+ readonly pagination: {
9942
+ readonly total: 0;
9943
+ readonly limit: 100;
9944
+ readonly offset: 0;
9945
+ readonly hasMore: false;
9946
+ };
9947
+ readonly meta: {
9948
+ readonly siteUrl: "sc-domain:example.com";
9949
+ readonly startDate: "2026-06-01";
9950
+ readonly endDate: "2026-07-26";
9951
+ };
9952
+ };
9953
+ readonly meta: {
9954
+ readonly requestId: "req_01";
9955
+ readonly surface: "partner";
9956
+ readonly version: "1.0";
9957
+ };
9958
+ };
9959
+ };
9960
+ };
9961
+ readonly id: "partner.sites.indexing.transitions.list";
9962
+ readonly method: "GET";
9963
+ readonly path: "/sites/{siteId}/indexing/transitions";
9964
+ };
9965
+ readonly getSiteIndexingDiagnostics: {
9966
+ readonly visibility: "public";
9967
+ readonly semantics: {
9968
+ readonly kind: "query";
9969
+ readonly sideEffects: "none";
9970
+ readonly idempotent: true;
9971
+ readonly retry: "idempotent";
9972
+ readonly readConsistency: "primary";
9973
+ };
9974
+ readonly auth: {
9975
+ readonly credentials: readonly ["user_key", "partner_key"];
9976
+ readonly scopes: readonly ["indexing:read"];
9977
+ readonly ownership: readonly [{
9978
+ readonly credential: "user_key";
9979
+ readonly rule: "authorized_site";
9980
+ }, {
9981
+ readonly credential: "partner_key";
9982
+ readonly rule: "authorized_site";
9983
+ }];
9984
+ };
9985
+ readonly request: {
9986
+ readonly params: z.ZodObject<{
9987
+ siteId: z.ZodString;
9988
+ }, z.core.$strict>;
9989
+ readonly query: z.ZodObject<{
9990
+ sampleIssues: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
9991
+ sampleLimit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
9992
+ }, z.core.$strict>;
9993
+ readonly headers: z.ZodObject<{
9994
+ 'x-request-id': z.ZodOptional<z.ZodString>;
9995
+ }, z.core.$strict>;
9996
+ readonly body: null;
9997
+ };
9998
+ readonly responses: {
9999
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
10000
+ data: z.ZodObject<{
10001
+ summary: z.ZodObject<{
10002
+ totalUrls: z.ZodNumber;
10003
+ indexed: z.ZodNumber;
10004
+ indexedPercent: z.ZodNumber;
10005
+ }, z.core.$loose>;
10006
+ issues: z.ZodArray<z.ZodObject<{
10007
+ type: z.ZodString;
10008
+ label: z.ZodString;
10009
+ severity: z.ZodEnum<{
10010
+ error: "error";
10011
+ warning: "warning";
10012
+ info: "info";
10013
+ }>;
10014
+ count: z.ZodNumber;
10015
+ description: z.ZodString;
10016
+ fix: z.ZodString;
10017
+ }, z.core.$loose>>;
10018
+ samples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
10019
+ url: z.ZodString;
10020
+ issueType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10021
+ verdict: z.ZodNullable<z.ZodString>;
10022
+ coverageState: z.ZodNullable<z.ZodString>;
10023
+ indexingState: z.ZodNullable<z.ZodString>;
10024
+ robotsTxtState: z.ZodNullable<z.ZodString>;
10025
+ pageFetchState: z.ZodNullable<z.ZodString>;
10026
+ lastCrawlTime: z.ZodNullable<z.ZodString>;
10027
+ crawlingUserAgent: z.ZodNullable<z.ZodString>;
10028
+ userCanonical: z.ZodNullable<z.ZodString>;
10029
+ googleCanonical: z.ZodNullable<z.ZodString>;
10030
+ canonicalMismatchKind: z.ZodEnum<{
10031
+ path: "path";
10032
+ none: "none";
10033
+ formatting: "formatting";
10034
+ cross_domain: "cross_domain";
10035
+ }>;
10036
+ sitemaps: z.ZodNullable<z.ZodArray<z.ZodString>>;
10037
+ referringUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
10038
+ mobileVerdict: z.ZodNullable<z.ZodString>;
10039
+ mobileIssues: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10040
+ richResultsVerdict: z.ZodNullable<z.ZodString>;
10041
+ richResultsItems: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10042
+ inspectionResultLink: z.ZodNullable<z.ZodString>;
10043
+ firstCheckedAt: z.ZodString;
10044
+ lastCheckedAt: z.ZodString;
10045
+ checkCount: z.ZodNumber;
10046
+ }, z.core.$loose>>>>;
10047
+ capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10048
+ _tag: z.ZodLiteral<"captured">;
10049
+ capturedAt: z.ZodString;
10050
+ source: z.ZodEnum<{
10051
+ live: "live";
10052
+ stored: "stored";
10053
+ }>;
10054
+ scope: z.ZodEnum<{
10055
+ sitemap_members: "sitemap_members";
10056
+ inspected_urls: "inspected_urls";
10057
+ unrecorded: "unrecorded";
10058
+ }>;
10059
+ oldestVerdictAt: z.ZodNullable<z.ZodString>;
10060
+ newestVerdictAt: z.ZodNullable<z.ZodString>;
10061
+ freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
10062
+ _tag: z.ZodLiteral<"measured">;
10063
+ verdicts: z.ZodNumber;
10064
+ olderThan7d: z.ZodNumber;
10065
+ olderThan30d: z.ZodNumber;
10066
+ olderThan7dPercent: z.ZodNumber;
10067
+ olderThan30dPercent: z.ZodNumber;
10068
+ }, z.core.$loose>, z.ZodObject<{
10069
+ _tag: z.ZodLiteral<"unmeasured">;
10070
+ }, z.core.$loose>], "_tag">;
10071
+ }, z.core.$loose>, z.ZodObject<{
10072
+ _tag: z.ZodLiteral<"empty">;
10073
+ }, z.core.$loose>], "_tag">>;
10074
+ meta: z.ZodObject<{
10075
+ siteUrl: z.ZodString;
10076
+ }, z.core.$loose>;
10077
+ }, z.core.$strip>;
10078
+ meta: z.ZodObject<{
10079
+ readonly requestId: z.ZodString;
10080
+ readonly surface: z.ZodLiteral<"partner">;
10081
+ readonly version: z.ZodLiteral<"1.0">;
10082
+ }, z.core.$strip>;
10083
+ }, z.core.$strip>, z.ZodObject<{
10084
+ data: z.ZodObject<{
10085
+ summary: z.ZodObject<{
10086
+ totalUrls: z.ZodNumber;
10087
+ indexed: z.ZodNumber;
10088
+ indexedPercent: z.ZodNumber;
10089
+ }, z.core.$loose>;
10090
+ issues: z.ZodArray<z.ZodObject<{
10091
+ type: z.ZodString;
10092
+ label: z.ZodString;
10093
+ severity: z.ZodEnum<{
10094
+ error: "error";
10095
+ warning: "warning";
10096
+ info: "info";
10097
+ }>;
10098
+ count: z.ZodNumber;
10099
+ description: z.ZodString;
10100
+ fix: z.ZodString;
10101
+ }, z.core.$loose>>;
10102
+ samples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
10103
+ url: z.ZodString;
10104
+ issueType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10105
+ verdict: z.ZodNullable<z.ZodString>;
10106
+ coverageState: z.ZodNullable<z.ZodString>;
10107
+ indexingState: z.ZodNullable<z.ZodString>;
10108
+ robotsTxtState: z.ZodNullable<z.ZodString>;
10109
+ pageFetchState: z.ZodNullable<z.ZodString>;
10110
+ lastCrawlTime: z.ZodNullable<z.ZodString>;
10111
+ crawlingUserAgent: z.ZodNullable<z.ZodString>;
10112
+ userCanonical: z.ZodNullable<z.ZodString>;
10113
+ googleCanonical: z.ZodNullable<z.ZodString>;
10114
+ canonicalMismatchKind: z.ZodEnum<{
10115
+ path: "path";
10116
+ none: "none";
10117
+ formatting: "formatting";
10118
+ cross_domain: "cross_domain";
10119
+ }>;
10120
+ sitemaps: z.ZodNullable<z.ZodArray<z.ZodString>>;
10121
+ referringUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
10122
+ mobileVerdict: z.ZodNullable<z.ZodString>;
10123
+ mobileIssues: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10124
+ richResultsVerdict: z.ZodNullable<z.ZodString>;
10125
+ richResultsItems: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10126
+ inspectionResultLink: z.ZodNullable<z.ZodString>;
10127
+ firstCheckedAt: z.ZodString;
10128
+ lastCheckedAt: z.ZodString;
10129
+ checkCount: z.ZodNumber;
10130
+ }, z.core.$loose>>>>;
10131
+ capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10132
+ _tag: z.ZodLiteral<"captured">;
10133
+ capturedAt: z.ZodString;
10134
+ source: z.ZodEnum<{
10135
+ live: "live";
10136
+ stored: "stored";
10137
+ }>;
10138
+ scope: z.ZodEnum<{
10139
+ sitemap_members: "sitemap_members";
10140
+ inspected_urls: "inspected_urls";
10141
+ unrecorded: "unrecorded";
10142
+ }>;
10143
+ oldestVerdictAt: z.ZodNullable<z.ZodString>;
10144
+ newestVerdictAt: z.ZodNullable<z.ZodString>;
10145
+ freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
10146
+ _tag: z.ZodLiteral<"measured">;
10147
+ verdicts: z.ZodNumber;
10148
+ olderThan7d: z.ZodNumber;
10149
+ olderThan30d: z.ZodNumber;
10150
+ olderThan7dPercent: z.ZodNumber;
10151
+ olderThan30dPercent: z.ZodNumber;
10152
+ }, z.core.$loose>, z.ZodObject<{
10153
+ _tag: z.ZodLiteral<"unmeasured">;
10154
+ }, z.core.$loose>], "_tag">;
10155
+ }, z.core.$loose>, z.ZodObject<{
10156
+ _tag: z.ZodLiteral<"empty">;
10157
+ }, z.core.$loose>], "_tag">>;
10158
+ meta: z.ZodObject<{
10159
+ siteUrl: z.ZodString;
10160
+ }, z.core.$loose>;
10161
+ }, z.core.$strip>;
10162
+ meta: z.ZodObject<{
10163
+ readonly requestId: z.ZodString;
10164
+ readonly surface: z.ZodLiteral<"partner">;
10165
+ readonly version: z.ZodLiteral<"1.0">;
10166
+ }, z.core.$strip>;
10167
+ }, z.core.$strip>>;
10168
+ };
10169
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
10170
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
10171
+ readonly error: z.ZodObject<{
10172
+ code: z.ZodEnum<{
10173
+ internal_error: "internal_error";
10174
+ invalid_request: "invalid_request";
10175
+ unauthorized: "unauthorized";
10176
+ forbidden: "forbidden";
10177
+ site_not_found: "site_not_found";
10178
+ rate_limited: "rate_limited";
10179
+ contract_violation: "contract_violation";
10180
+ }>;
10181
+ message: z.ZodString;
10182
+ requestId: z.ZodString;
10183
+ retryable: z.ZodBoolean;
10184
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
10185
+ }, z.core.$strict>;
10186
+ }, z.core.$strip>, z.ZodObject<{
10187
+ readonly error: z.ZodObject<{
10188
+ code: z.ZodEnum<{
10189
+ internal_error: "internal_error";
10190
+ invalid_request: "invalid_request";
10191
+ unauthorized: "unauthorized";
10192
+ forbidden: "forbidden";
10193
+ site_not_found: "site_not_found";
10194
+ rate_limited: "rate_limited";
10195
+ contract_violation: "contract_violation";
10196
+ }>;
10197
+ message: z.ZodString;
10198
+ requestId: z.ZodString;
10199
+ retryable: z.ZodBoolean;
10200
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
10201
+ }, z.core.$loose>;
10202
+ }, z.core.$strip>>;
10203
+ readonly resources: {
10204
+ readonly reads: readonly [{
10205
+ readonly type: "site.indexing";
10206
+ readonly idFrom: "params.siteId";
10207
+ }];
10208
+ readonly changes: readonly [];
10209
+ };
10210
+ readonly lifecycle: {
10211
+ readonly introduced: "1.0.0";
10212
+ };
10213
+ readonly docs: {
10214
+ readonly summary: "Get indexing diagnostics";
10215
+ readonly description: "Returns indexing issue groups and optional URL samples.";
10216
+ readonly tags: readonly ["Indexing"];
10217
+ readonly examples: {
10218
+ readonly request: {
10219
+ readonly params: {
10220
+ readonly siteId: "s_01";
10221
+ };
10222
+ readonly query: {};
10223
+ };
10224
+ readonly response: {
10225
+ readonly data: {
10226
+ readonly summary: {
10227
+ readonly totalUrls: 0;
10228
+ readonly indexed: 0;
10229
+ readonly indexedPercent: 0;
10230
+ };
10231
+ readonly issues: readonly [];
10232
+ readonly meta: {
10233
+ readonly siteUrl: "sc-domain:example.com";
10234
+ };
10235
+ };
10236
+ readonly meta: {
10237
+ readonly requestId: "req_01";
10238
+ readonly surface: "partner";
10239
+ readonly version: "1.0";
10240
+ };
10241
+ };
10242
+ };
10243
+ };
10244
+ readonly id: "partner.sites.indexing.diagnostics.get";
10245
+ readonly method: "GET";
10246
+ readonly path: "/sites/{siteId}/indexing/diagnostics";
10247
+ };
10248
+ readonly getSiteSitemaps: {
10249
+ readonly visibility: "public";
10250
+ readonly semantics: {
10251
+ readonly kind: "query";
10252
+ readonly sideEffects: "none";
10253
+ readonly idempotent: true;
10254
+ readonly retry: "idempotent";
10255
+ readonly readConsistency: "primary";
10256
+ };
10257
+ readonly auth: {
10258
+ readonly credentials: readonly ["user_key", "partner_key"];
10259
+ readonly scopes: readonly ["sitemaps:read"];
10260
+ readonly ownership: readonly [{
10261
+ readonly credential: "user_key";
10262
+ readonly rule: "authorized_site";
10263
+ }, {
10264
+ readonly credential: "partner_key";
10265
+ readonly rule: "authorized_site";
10266
+ }];
10267
+ };
10268
+ readonly request: {
10269
+ readonly params: z.ZodObject<{
10270
+ siteId: z.ZodString;
10271
+ }, z.core.$strict>;
10272
+ readonly query: null;
10273
+ readonly headers: z.ZodObject<{
10274
+ 'x-request-id': z.ZodOptional<z.ZodString>;
10275
+ }, z.core.$strict>;
10276
+ readonly body: null;
10277
+ };
10278
+ readonly responses: {
10279
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
10280
+ data: z.ZodObject<{
10281
+ sitemaps: z.ZodArray<z.ZodObject<{
10282
+ path: z.ZodString;
10283
+ urlCount: z.ZodNumber;
10284
+ errors: z.ZodNumber;
10285
+ warnings: z.ZodNumber;
10286
+ isIndex: z.ZodOptional<z.ZodBoolean>;
10287
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10288
+ lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10289
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10290
+ isPending: z.ZodOptional<z.ZodBoolean>;
10291
+ fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10292
+ }, z.core.$loose>>;
10293
+ history: z.ZodArray<z.ZodObject<{
10294
+ date: z.ZodString;
10295
+ errors: z.ZodNumber;
10296
+ warnings: z.ZodNumber;
10297
+ urlCount: z.ZodNumber;
10298
+ urlDelta: z.ZodNumber;
10299
+ }, z.core.$loose>>;
10300
+ perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
10301
+ date: z.ZodString;
10302
+ urlCount: z.ZodNumber;
10303
+ changed: z.ZodBoolean;
10304
+ urlDelta: z.ZodNumber;
10305
+ }, z.core.$loose>>>;
10306
+ meta: z.ZodObject<{
10307
+ siteUrl: z.ZodString;
10308
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
10309
+ syncStatus: z.ZodNullable<z.ZodString>;
10310
+ sitemapScope: z.ZodObject<{
10311
+ excludedCount: z.ZodNumber;
10312
+ duplicateCount: z.ZodNumber;
10313
+ }, z.core.$strip>;
10314
+ }, z.core.$loose>;
10315
+ generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
10316
+ id: z.ZodString;
10317
+ observedAt: z.ZodNumber;
10318
+ publishedAt: z.ZodNumber;
10319
+ completeness: z.ZodObject<{
10320
+ _tag: z.ZodLiteral<"complete">;
10321
+ }, z.core.$strict>;
10322
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
10323
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
10324
+ _tag: z.ZodLiteral<"none">;
10325
+ }, z.core.$strict>, z.ZodObject<{
10326
+ _tag: z.ZodLiteral<"metadata_only">;
10327
+ importedAt: z.ZodNumber;
10328
+ recordCount: z.ZodNumber;
10329
+ source: z.ZodLiteral<"gsc_sitemaps">;
10330
+ }, z.core.$strict>], "_tag">;
10331
+ }, z.core.$strict>>>;
10332
+ }, z.core.$strip>;
10333
+ meta: z.ZodObject<{
10334
+ readonly requestId: z.ZodString;
10335
+ readonly surface: z.ZodLiteral<"partner">;
10336
+ readonly version: z.ZodLiteral<"1.0">;
10337
+ }, z.core.$strip>;
10338
+ }, z.core.$strip>, z.ZodObject<{
10339
+ data: z.ZodObject<{
10340
+ sitemaps: z.ZodArray<z.ZodObject<{
10341
+ path: z.ZodString;
10342
+ urlCount: z.ZodNumber;
10343
+ errors: z.ZodNumber;
10344
+ warnings: z.ZodNumber;
10345
+ isIndex: z.ZodOptional<z.ZodBoolean>;
10346
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10347
+ lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10348
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10349
+ isPending: z.ZodOptional<z.ZodBoolean>;
10350
+ fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10351
+ }, z.core.$loose>>;
10352
+ history: z.ZodArray<z.ZodObject<{
10353
+ date: z.ZodString;
10354
+ errors: z.ZodNumber;
10355
+ warnings: z.ZodNumber;
10356
+ urlCount: z.ZodNumber;
10357
+ urlDelta: z.ZodNumber;
10358
+ }, z.core.$loose>>;
10359
+ perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
10360
+ date: z.ZodString;
10361
+ urlCount: z.ZodNumber;
10362
+ changed: z.ZodBoolean;
10363
+ urlDelta: z.ZodNumber;
10364
+ }, z.core.$loose>>>;
10365
+ meta: z.ZodObject<{
10366
+ siteUrl: z.ZodString;
10367
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
10368
+ syncStatus: z.ZodNullable<z.ZodString>;
10369
+ sitemapScope: z.ZodObject<{
10370
+ excludedCount: z.ZodNumber;
10371
+ duplicateCount: z.ZodNumber;
10372
+ }, z.core.$strip>;
10373
+ }, z.core.$loose>;
10374
+ generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
10375
+ id: z.ZodString;
10376
+ observedAt: z.ZodNumber;
10377
+ publishedAt: z.ZodNumber;
10378
+ completeness: z.ZodObject<{
10379
+ _tag: z.ZodLiteral<"complete">;
10380
+ }, z.core.$strict>;
10381
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
10382
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
10383
+ _tag: z.ZodLiteral<"none">;
10384
+ }, z.core.$strict>, z.ZodObject<{
10385
+ _tag: z.ZodLiteral<"metadata_only">;
10386
+ importedAt: z.ZodNumber;
10387
+ recordCount: z.ZodNumber;
10388
+ source: z.ZodLiteral<"gsc_sitemaps">;
10389
+ }, z.core.$strict>], "_tag">;
10390
+ }, z.core.$strict>>>;
10391
+ }, z.core.$strip>;
10392
+ meta: z.ZodObject<{
10393
+ readonly requestId: z.ZodString;
10394
+ readonly surface: z.ZodLiteral<"partner">;
10395
+ readonly version: z.ZodLiteral<"1.0">;
10396
+ }, z.core.$strip>;
10397
+ }, z.core.$strip>>;
10398
+ };
10399
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
10400
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
10401
+ readonly error: z.ZodObject<{
10402
+ code: z.ZodEnum<{
10403
+ internal_error: "internal_error";
10404
+ invalid_request: "invalid_request";
10405
+ unauthorized: "unauthorized";
10406
+ forbidden: "forbidden";
10407
+ site_not_found: "site_not_found";
10408
+ rate_limited: "rate_limited";
10409
+ contract_violation: "contract_violation";
10410
+ }>;
10411
+ message: z.ZodString;
10412
+ requestId: z.ZodString;
10413
+ retryable: z.ZodBoolean;
10414
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
10415
+ }, z.core.$strict>;
10416
+ }, z.core.$strip>, z.ZodObject<{
10417
+ readonly error: z.ZodObject<{
10418
+ code: z.ZodEnum<{
10419
+ internal_error: "internal_error";
10420
+ invalid_request: "invalid_request";
10421
+ unauthorized: "unauthorized";
10422
+ forbidden: "forbidden";
10423
+ site_not_found: "site_not_found";
10424
+ rate_limited: "rate_limited";
10425
+ contract_violation: "contract_violation";
10426
+ }>;
10427
+ message: z.ZodString;
10428
+ requestId: z.ZodString;
10429
+ retryable: z.ZodBoolean;
10430
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
10431
+ }, z.core.$loose>;
10432
+ }, z.core.$strip>>;
10433
+ readonly resources: {
10434
+ readonly reads: readonly [{
10435
+ readonly type: "site.sitemaps";
10436
+ readonly idFrom: "params.siteId";
10437
+ }];
10438
+ readonly changes: readonly [];
10439
+ };
10440
+ readonly lifecycle: {
10441
+ readonly introduced: "1.0.0";
10442
+ };
10443
+ readonly docs: {
10444
+ readonly summary: "Get sitemap snapshot";
10445
+ readonly description: "Returns registered sitemaps and their aggregate and per-sitemap history.";
10446
+ readonly tags: readonly ["Sitemaps"];
10447
+ readonly examples: {
10448
+ readonly request: {
10449
+ readonly params: {
10450
+ readonly siteId: "s_01";
10451
+ };
10452
+ };
10453
+ readonly response: {
10454
+ readonly data: {
10455
+ readonly sitemaps: readonly [];
10456
+ readonly history: readonly [];
10457
+ readonly perSitemapHistory: {};
10458
+ readonly generation: null;
10459
+ readonly meta: {
10460
+ readonly siteUrl: "sc-domain:example.com";
10461
+ readonly gscPropertyUrl: "sc-domain:example.com";
10462
+ readonly syncStatus: "synced";
10463
+ readonly sitemapScope: {
10464
+ readonly excludedCount: 0;
10465
+ readonly duplicateCount: 0;
10466
+ };
10467
+ };
10468
+ };
10469
+ readonly meta: {
10470
+ readonly requestId: "req_01";
10471
+ readonly surface: "partner";
10472
+ readonly version: "1.0";
10473
+ };
10474
+ };
10475
+ };
10476
+ };
10477
+ readonly id: "partner.sites.sitemaps.get";
10478
+ readonly method: "GET";
10479
+ readonly path: "/sites/{siteId}/sitemaps";
10480
+ };
10481
+ readonly getSiteSitemapSubmission: {
10482
+ readonly visibility: "public";
10483
+ readonly semantics: {
10484
+ readonly kind: "query";
10485
+ readonly sideEffects: "none";
10486
+ readonly idempotent: true;
10487
+ readonly retry: "idempotent";
10488
+ readonly readConsistency: "primary";
10489
+ };
10490
+ readonly auth: {
10491
+ readonly credentials: readonly ["user_key", "partner_key"];
10492
+ readonly scopes: readonly ["sitemaps:read"];
10493
+ readonly ownership: readonly [{
10494
+ readonly credential: "user_key";
10495
+ readonly rule: "authorized_site";
10496
+ }, {
10497
+ readonly credential: "partner_key";
10498
+ readonly rule: "authorized_site";
10499
+ }];
10500
+ };
10501
+ readonly request: {
10502
+ readonly params: z.ZodObject<{
10503
+ siteId: z.ZodString;
10504
+ }, z.core.$strict>;
10505
+ readonly query: null;
10506
+ readonly headers: z.ZodObject<{
10507
+ 'x-request-id': z.ZodOptional<z.ZodString>;
10508
+ }, z.core.$strict>;
10509
+ readonly body: null;
10510
+ };
10511
+ readonly responses: {
10512
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
10513
+ data: z.ZodObject<{
10514
+ readonly searchEngine: z.ZodLiteral<"google">;
10515
+ readonly gscPropertyUrl: z.ZodString;
10516
+ readonly callerCanAct: z.ZodBoolean;
10517
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
10518
+ readonly _tag: z.ZodLiteral<"listed">;
10519
+ readonly checkedOn: z.ZodISODate;
10520
+ readonly sitemapCount: z.ZodNumber;
10521
+ }, z.core.$strip>, z.ZodObject<{
10522
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
10523
+ readonly checkedOn: z.ZodISODate;
10524
+ readonly sitemapUrl: z.ZodURL;
10525
+ readonly sitemapCount: z.ZodNumber;
10526
+ }, z.core.$strip>, z.ZodObject<{
10527
+ readonly _tag: z.ZodLiteral<"ready">;
10528
+ readonly sitemapUrl: z.ZodURL;
10529
+ readonly writeAccess: z.ZodEnum<{
10530
+ unknown: "unknown";
10531
+ granted: "granted";
8247
10532
  }>;
8248
- sitemaps: z.ZodNullable<z.ZodArray<z.ZodString>>;
8249
- referringUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
8250
- mobileVerdict: z.ZodNullable<z.ZodString>;
8251
- mobileIssues: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8252
- richResultsVerdict: z.ZodNullable<z.ZodString>;
8253
- richResultsItems: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8254
- inspectionResultLink: z.ZodNullable<z.ZodString>;
8255
- firstCheckedAt: z.ZodString;
8256
- lastCheckedAt: z.ZodString;
8257
- checkCount: z.ZodNumber;
8258
- }, z.core.$loose>>>>;
8259
- capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8260
- _tag: z.ZodLiteral<"captured">;
8261
- capturedAt: z.ZodString;
8262
- source: z.ZodEnum<{
8263
- live: "live";
8264
- stored: "stored";
10533
+ }, z.core.$strip>, z.ZodObject<{
10534
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
10535
+ readonly _tag: z.ZodLiteral<"caller">;
10536
+ }, z.core.$strip>, z.ZodObject<{
10537
+ readonly _tag: z.ZodLiteral<"site-owner">;
10538
+ readonly email: z.ZodEmail;
10539
+ readonly name: z.ZodNullable<z.ZodString>;
10540
+ }, z.core.$strip>], "_tag">;
10541
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
10542
+ readonly sitemapUrl: z.ZodURL;
10543
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
10544
+ }, z.core.$strip>, z.ZodObject<{
10545
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
10546
+ readonly _tag: z.ZodLiteral<"caller">;
10547
+ }, z.core.$strip>, z.ZodObject<{
10548
+ readonly _tag: z.ZodLiteral<"site-owner">;
10549
+ readonly email: z.ZodEmail;
10550
+ readonly name: z.ZodNullable<z.ZodString>;
10551
+ }, z.core.$strip>], "_tag">;
10552
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
10553
+ readonly sitemapUrl: z.ZodURL;
10554
+ readonly permissionLevel: z.ZodString;
10555
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
10556
+ siteOwner: "siteOwner";
10557
+ siteFullUser: "siteFullUser";
10558
+ }>>;
10559
+ }, z.core.$strip>, z.ZodObject<{
10560
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
10561
+ readonly checkedOn: z.ZodISODate;
10562
+ }, z.core.$strip>, z.ZodObject<{
10563
+ readonly _tag: z.ZodLiteral<"not-checked">;
10564
+ }, z.core.$strip>, z.ZodObject<{
10565
+ readonly _tag: z.ZodLiteral<"unavailable">;
10566
+ readonly reason: z.ZodEnum<{
10567
+ "permission-lost": "permission-lost";
10568
+ "grant-missing": "grant-missing";
8265
10569
  }>;
8266
- scope: z.ZodEnum<{
8267
- sitemap_members: "sitemap_members";
8268
- inspected_urls: "inspected_urls";
8269
- unrecorded: "unrecorded";
10570
+ }, z.core.$strip>], "_tag">;
10571
+ }, z.core.$strip>;
10572
+ meta: z.ZodObject<{
10573
+ readonly requestId: z.ZodString;
10574
+ readonly surface: z.ZodLiteral<"partner">;
10575
+ readonly version: z.ZodLiteral<"1.0">;
10576
+ }, z.core.$strip>;
10577
+ }, z.core.$strip>, z.ZodObject<{
10578
+ data: z.ZodObject<{
10579
+ readonly searchEngine: z.ZodLiteral<"google">;
10580
+ readonly gscPropertyUrl: z.ZodString;
10581
+ readonly callerCanAct: z.ZodBoolean;
10582
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
10583
+ readonly _tag: z.ZodLiteral<"listed">;
10584
+ readonly checkedOn: z.ZodISODate;
10585
+ readonly sitemapCount: z.ZodNumber;
10586
+ }, z.core.$strip>, z.ZodObject<{
10587
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
10588
+ readonly checkedOn: z.ZodISODate;
10589
+ readonly sitemapUrl: z.ZodURL;
10590
+ readonly sitemapCount: z.ZodNumber;
10591
+ }, z.core.$strip>, z.ZodObject<{
10592
+ readonly _tag: z.ZodLiteral<"ready">;
10593
+ readonly sitemapUrl: z.ZodURL;
10594
+ readonly writeAccess: z.ZodEnum<{
10595
+ unknown: "unknown";
10596
+ granted: "granted";
8270
10597
  }>;
8271
- oldestVerdictAt: z.ZodNullable<z.ZodString>;
8272
- newestVerdictAt: z.ZodNullable<z.ZodString>;
8273
- freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
8274
- _tag: z.ZodLiteral<"measured">;
8275
- verdicts: z.ZodNumber;
8276
- olderThan7d: z.ZodNumber;
8277
- olderThan30d: z.ZodNumber;
8278
- olderThan7dPercent: z.ZodNumber;
8279
- olderThan30dPercent: z.ZodNumber;
8280
- }, z.core.$loose>, z.ZodObject<{
8281
- _tag: z.ZodLiteral<"unmeasured">;
8282
- }, z.core.$loose>], "_tag">;
8283
- }, z.core.$loose>, z.ZodObject<{
8284
- _tag: z.ZodLiteral<"empty">;
8285
- }, z.core.$loose>], "_tag">>;
8286
- meta: z.ZodObject<{
8287
- siteUrl: z.ZodString;
8288
- }, z.core.$loose>;
10598
+ }, z.core.$strip>, z.ZodObject<{
10599
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
10600
+ readonly _tag: z.ZodLiteral<"caller">;
10601
+ }, z.core.$strip>, z.ZodObject<{
10602
+ readonly _tag: z.ZodLiteral<"site-owner">;
10603
+ readonly email: z.ZodEmail;
10604
+ readonly name: z.ZodNullable<z.ZodString>;
10605
+ }, z.core.$strip>], "_tag">;
10606
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
10607
+ readonly sitemapUrl: z.ZodURL;
10608
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
10609
+ }, z.core.$strip>, z.ZodObject<{
10610
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
10611
+ readonly _tag: z.ZodLiteral<"caller">;
10612
+ }, z.core.$strip>, z.ZodObject<{
10613
+ readonly _tag: z.ZodLiteral<"site-owner">;
10614
+ readonly email: z.ZodEmail;
10615
+ readonly name: z.ZodNullable<z.ZodString>;
10616
+ }, z.core.$strip>], "_tag">;
10617
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
10618
+ readonly sitemapUrl: z.ZodURL;
10619
+ readonly permissionLevel: z.ZodString;
10620
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
10621
+ siteOwner: "siteOwner";
10622
+ siteFullUser: "siteFullUser";
10623
+ }>>;
10624
+ }, z.core.$strip>, z.ZodObject<{
10625
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
10626
+ readonly checkedOn: z.ZodISODate;
10627
+ }, z.core.$strip>, z.ZodObject<{
10628
+ readonly _tag: z.ZodLiteral<"not-checked">;
10629
+ }, z.core.$strip>, z.ZodObject<{
10630
+ readonly _tag: z.ZodLiteral<"unavailable">;
10631
+ readonly reason: z.ZodEnum<{
10632
+ "permission-lost": "permission-lost";
10633
+ "grant-missing": "grant-missing";
10634
+ }>;
10635
+ }, z.core.$strip>], "_tag">;
8289
10636
  }, z.core.$strip>;
8290
10637
  meta: z.ZodObject<{
8291
10638
  readonly requestId: z.ZodString;
@@ -8330,35 +10677,33 @@ export declare function createGscdumpV1Protocol(): {
8330
10677
  }, z.core.$strip>>;
8331
10678
  readonly resources: {
8332
10679
  readonly reads: readonly [{
8333
- readonly type: "site.indexing";
10680
+ readonly type: "site.sitemaps";
8334
10681
  readonly idFrom: "params.siteId";
8335
10682
  }];
8336
10683
  readonly changes: readonly [];
8337
10684
  };
8338
10685
  readonly lifecycle: {
8339
- readonly introduced: "1.0.0";
10686
+ readonly introduced: "4.8.0";
8340
10687
  };
8341
10688
  readonly docs: {
8342
- readonly summary: "Get indexing diagnostics";
8343
- readonly description: "Returns indexing issue groups and optional URL samples.";
8344
- readonly tags: readonly ["Indexing"];
10689
+ readonly summary: "Get Sitemap submission";
10690
+ readonly description: "Returns the Sitemap gscdump would submit to Google for the Site and whether the stored grant can submit it. gscdump picks a Sitemap it found on the Site's own host, under the linked property, and reads its own record of the granted scopes and the property permission. It makes no Google call.";
10691
+ readonly tags: readonly ["Sitemaps"];
8345
10692
  readonly examples: {
8346
10693
  readonly request: {
8347
10694
  readonly params: {
8348
10695
  readonly siteId: "s_01";
8349
10696
  };
8350
- readonly query: {};
8351
10697
  };
8352
10698
  readonly response: {
8353
10699
  readonly data: {
8354
- readonly summary: {
8355
- readonly totalUrls: 0;
8356
- readonly indexed: 0;
8357
- readonly indexedPercent: 0;
8358
- };
8359
- readonly issues: readonly [];
8360
- readonly meta: {
8361
- readonly siteUrl: "sc-domain:example.com";
10700
+ readonly searchEngine: "google";
10701
+ readonly gscPropertyUrl: "sc-domain:example.com";
10702
+ readonly callerCanAct: true;
10703
+ readonly state: {
10704
+ readonly _tag: "ready";
10705
+ readonly sitemapUrl: "https://example.com/sitemap.xml";
10706
+ readonly writeAccess: "granted";
8362
10707
  };
8363
10708
  };
8364
10709
  readonly meta: {
@@ -8369,22 +10714,22 @@ export declare function createGscdumpV1Protocol(): {
8369
10714
  };
8370
10715
  };
8371
10716
  };
8372
- readonly id: "partner.sites.indexing.diagnostics.get";
10717
+ readonly id: "partner.sites.sitemaps.submission.get";
8373
10718
  readonly method: "GET";
8374
- readonly path: "/sites/{siteId}/indexing/diagnostics";
10719
+ readonly path: "/sites/{siteId}/sitemaps/submission";
8375
10720
  };
8376
- readonly getSiteSitemaps: {
10721
+ readonly submitSiteSitemap: {
8377
10722
  readonly visibility: "public";
8378
10723
  readonly semantics: {
8379
- readonly kind: "query";
8380
- readonly sideEffects: "none";
10724
+ readonly kind: "mutation";
10725
+ readonly sideEffects: "state";
8381
10726
  readonly idempotent: true;
8382
10727
  readonly retry: "idempotent";
8383
- readonly readConsistency: "primary";
10728
+ readonly readConsistency: null;
8384
10729
  };
8385
10730
  readonly auth: {
8386
10731
  readonly credentials: readonly ["user_key", "partner_key"];
8387
- readonly scopes: readonly ["sitemaps:read"];
10732
+ readonly scopes: readonly ["sitemaps:write"];
8388
10733
  readonly ownership: readonly [{
8389
10734
  readonly credential: "user_key";
8390
10735
  readonly rule: "authorized_site";
@@ -8405,118 +10750,50 @@ export declare function createGscdumpV1Protocol(): {
8405
10750
  };
8406
10751
  readonly responses: {
8407
10752
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
8408
- data: z.ZodObject<{
8409
- sitemaps: z.ZodArray<z.ZodObject<{
8410
- path: z.ZodString;
8411
- urlCount: z.ZodNumber;
8412
- errors: z.ZodNumber;
8413
- warnings: z.ZodNumber;
8414
- isIndex: z.ZodOptional<z.ZodBoolean>;
8415
- contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8416
- lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8417
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8418
- isPending: z.ZodOptional<z.ZodBoolean>;
8419
- fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8420
- }, z.core.$loose>>;
8421
- history: z.ZodArray<z.ZodObject<{
8422
- date: z.ZodString;
8423
- errors: z.ZodNumber;
8424
- warnings: z.ZodNumber;
8425
- urlCount: z.ZodNumber;
8426
- urlDelta: z.ZodNumber;
8427
- }, z.core.$loose>>;
8428
- perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
8429
- date: z.ZodString;
8430
- urlCount: z.ZodNumber;
8431
- changed: z.ZodBoolean;
8432
- urlDelta: z.ZodNumber;
8433
- }, z.core.$loose>>>;
8434
- meta: z.ZodObject<{
8435
- siteUrl: z.ZodString;
8436
- gscPropertyUrl: z.ZodOptional<z.ZodString>;
8437
- syncStatus: z.ZodNullable<z.ZodString>;
8438
- sitemapScope: z.ZodObject<{
8439
- excludedCount: z.ZodNumber;
8440
- duplicateCount: z.ZodNumber;
8441
- }, z.core.$strip>;
8442
- }, z.core.$loose>;
8443
- generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
8444
- id: z.ZodString;
8445
- observedAt: z.ZodNumber;
8446
- publishedAt: z.ZodNumber;
8447
- completeness: z.ZodObject<{
8448
- _tag: z.ZodLiteral<"complete">;
8449
- }, z.core.$strict>;
8450
- membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
8451
- legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
8452
- _tag: z.ZodLiteral<"none">;
8453
- }, z.core.$strict>, z.ZodObject<{
8454
- _tag: z.ZodLiteral<"metadata_only">;
8455
- importedAt: z.ZodNumber;
8456
- recordCount: z.ZodNumber;
8457
- source: z.ZodLiteral<"gsc_sitemaps">;
8458
- }, z.core.$strict>], "_tag">;
8459
- }, z.core.$strict>>>;
8460
- }, z.core.$strip>;
10753
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
10754
+ readonly _tag: z.ZodLiteral<"submitted">;
10755
+ readonly sitemapUrl: z.ZodURL;
10756
+ readonly sitemapCount: z.ZodNumber;
10757
+ }, z.core.$strip>, z.ZodObject<{
10758
+ readonly _tag: z.ZodLiteral<"failed">;
10759
+ readonly reason: z.ZodEnum<{
10760
+ "permission-lost": "permission-lost";
10761
+ "grant-missing": "grant-missing";
10762
+ "no-sitemap-found": "no-sitemap-found";
10763
+ "provider-unavailable": "provider-unavailable";
10764
+ rejected: "rejected";
10765
+ "needs-write-access": "needs-write-access";
10766
+ "insufficient-permission": "insufficient-permission";
10767
+ "already-listed": "already-listed";
10768
+ }>;
10769
+ readonly retryable: z.ZodBoolean;
10770
+ readonly sitemapUrl: z.ZodNullable<z.ZodURL>;
10771
+ }, z.core.$strip>], "_tag">;
8461
10772
  meta: z.ZodObject<{
8462
10773
  readonly requestId: z.ZodString;
8463
10774
  readonly surface: z.ZodLiteral<"partner">;
8464
10775
  readonly version: z.ZodLiteral<"1.0">;
8465
10776
  }, z.core.$strip>;
8466
10777
  }, z.core.$strip>, z.ZodObject<{
8467
- data: z.ZodObject<{
8468
- sitemaps: z.ZodArray<z.ZodObject<{
8469
- path: z.ZodString;
8470
- urlCount: z.ZodNumber;
8471
- errors: z.ZodNumber;
8472
- warnings: z.ZodNumber;
8473
- isIndex: z.ZodOptional<z.ZodBoolean>;
8474
- contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8475
- lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8476
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8477
- isPending: z.ZodOptional<z.ZodBoolean>;
8478
- fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8479
- }, z.core.$loose>>;
8480
- history: z.ZodArray<z.ZodObject<{
8481
- date: z.ZodString;
8482
- errors: z.ZodNumber;
8483
- warnings: z.ZodNumber;
8484
- urlCount: z.ZodNumber;
8485
- urlDelta: z.ZodNumber;
8486
- }, z.core.$loose>>;
8487
- perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
8488
- date: z.ZodString;
8489
- urlCount: z.ZodNumber;
8490
- changed: z.ZodBoolean;
8491
- urlDelta: z.ZodNumber;
8492
- }, z.core.$loose>>>;
8493
- meta: z.ZodObject<{
8494
- siteUrl: z.ZodString;
8495
- gscPropertyUrl: z.ZodOptional<z.ZodString>;
8496
- syncStatus: z.ZodNullable<z.ZodString>;
8497
- sitemapScope: z.ZodObject<{
8498
- excludedCount: z.ZodNumber;
8499
- duplicateCount: z.ZodNumber;
8500
- }, z.core.$strip>;
8501
- }, z.core.$loose>;
8502
- generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
8503
- id: z.ZodString;
8504
- observedAt: z.ZodNumber;
8505
- publishedAt: z.ZodNumber;
8506
- completeness: z.ZodObject<{
8507
- _tag: z.ZodLiteral<"complete">;
8508
- }, z.core.$strict>;
8509
- membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
8510
- legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
8511
- _tag: z.ZodLiteral<"none">;
8512
- }, z.core.$strict>, z.ZodObject<{
8513
- _tag: z.ZodLiteral<"metadata_only">;
8514
- importedAt: z.ZodNumber;
8515
- recordCount: z.ZodNumber;
8516
- source: z.ZodLiteral<"gsc_sitemaps">;
8517
- }, z.core.$strict>], "_tag">;
8518
- }, z.core.$strict>>>;
8519
- }, z.core.$strip>;
10778
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
10779
+ readonly _tag: z.ZodLiteral<"submitted">;
10780
+ readonly sitemapUrl: z.ZodURL;
10781
+ readonly sitemapCount: z.ZodNumber;
10782
+ }, z.core.$strip>, z.ZodObject<{
10783
+ readonly _tag: z.ZodLiteral<"failed">;
10784
+ readonly reason: z.ZodEnum<{
10785
+ "permission-lost": "permission-lost";
10786
+ "grant-missing": "grant-missing";
10787
+ "no-sitemap-found": "no-sitemap-found";
10788
+ "provider-unavailable": "provider-unavailable";
10789
+ rejected: "rejected";
10790
+ "needs-write-access": "needs-write-access";
10791
+ "insufficient-permission": "insufficient-permission";
10792
+ "already-listed": "already-listed";
10793
+ }>;
10794
+ readonly retryable: z.ZodBoolean;
10795
+ readonly sitemapUrl: z.ZodNullable<z.ZodURL>;
10796
+ }, z.core.$strip>], "_tag">;
8520
10797
  meta: z.ZodObject<{
8521
10798
  readonly requestId: z.ZodString;
8522
10799
  readonly surface: z.ZodLiteral<"partner">;
@@ -8563,14 +10840,17 @@ export declare function createGscdumpV1Protocol(): {
8563
10840
  readonly type: "site.sitemaps";
8564
10841
  readonly idFrom: "params.siteId";
8565
10842
  }];
8566
- readonly changes: readonly [];
10843
+ readonly changes: readonly [{
10844
+ readonly type: "site.sitemaps";
10845
+ readonly idFrom: "params.siteId";
10846
+ }];
8567
10847
  };
8568
10848
  readonly lifecycle: {
8569
- readonly introduced: "1.0.0";
10849
+ readonly introduced: "4.8.0";
8570
10850
  };
8571
10851
  readonly docs: {
8572
- readonly summary: "Get sitemap snapshot";
8573
- readonly description: "Returns registered sitemaps and their aggregate and per-sitemap history.";
10852
+ readonly summary: "Submit a Sitemap to Google";
10853
+ readonly description: "Submits the Sitemap `partner.sites.sitemaps.submission.get` names, with the Site owner's stored grant. It reads Google's Sitemap list first, so a Sitemap submitted elsewhere reads `already-listed`. When gscdump has found none yet, it looks on the Site. It does not ask Google to submit when its own record shows the grant or permission cannot. Every expected outcome is a value.";
8574
10854
  readonly tags: readonly ["Sitemaps"];
8575
10855
  readonly examples: {
8576
10856
  readonly request: {
@@ -8580,19 +10860,9 @@ export declare function createGscdumpV1Protocol(): {
8580
10860
  };
8581
10861
  readonly response: {
8582
10862
  readonly data: {
8583
- readonly sitemaps: readonly [];
8584
- readonly history: readonly [];
8585
- readonly perSitemapHistory: {};
8586
- readonly generation: null;
8587
- readonly meta: {
8588
- readonly siteUrl: "sc-domain:example.com";
8589
- readonly gscPropertyUrl: "sc-domain:example.com";
8590
- readonly syncStatus: "synced";
8591
- readonly sitemapScope: {
8592
- readonly excludedCount: 0;
8593
- readonly duplicateCount: 0;
8594
- };
8595
- };
10863
+ readonly _tag: "submitted";
10864
+ readonly sitemapUrl: "https://example.com/sitemap.xml";
10865
+ readonly sitemapCount: 1;
8596
10866
  };
8597
10867
  readonly meta: {
8598
10868
  readonly requestId: "req_01";
@@ -8602,9 +10872,9 @@ export declare function createGscdumpV1Protocol(): {
8602
10872
  };
8603
10873
  };
8604
10874
  };
8605
- readonly id: "partner.sites.sitemaps.get";
8606
- readonly method: "GET";
8607
- readonly path: "/sites/{siteId}/sitemaps";
10875
+ readonly id: "partner.sites.sitemaps.submission.create";
10876
+ readonly method: "POST";
10877
+ readonly path: "/sites/{siteId}/sitemaps/submission";
8608
10878
  };
8609
10879
  readonly getSiteSitemapChanges: {
8610
10880
  readonly visibility: "public";
@@ -15599,12 +17869,12 @@ export declare function createGscdumpV1Protocol(): {
15599
17869
  }, z.core.$strict>;
15600
17870
  readonly body: z.ZodObject<{
15601
17871
  dimensions: z.ZodArray<z.ZodEnum<{
15602
- date: "date";
15603
17872
  page: "page";
15604
17873
  query: "query";
15605
17874
  queryCanonical: "queryCanonical";
15606
17875
  country: "country";
15607
17876
  device: "device";
17877
+ date: "date";
15608
17878
  searchAppearance: "searchAppearance";
15609
17879
  hour: "hour";
15610
17880
  }>>;
@@ -15802,12 +18072,12 @@ export declare function createGscdumpV1Protocol(): {
15802
18072
  readonly GOOGLE_NEWS: "googleNews";
15803
18073
  }>>;
15804
18074
  dimensions: z.ZodArray<z.ZodEnum<{
15805
- date: "date";
15806
18075
  page: "page";
15807
18076
  query: "query";
15808
18077
  queryCanonical: "queryCanonical";
15809
18078
  country: "country";
15810
18079
  device: "device";
18080
+ date: "date";
15811
18081
  searchAppearance: "searchAppearance";
15812
18082
  hour: "hour";
15813
18083
  }>>;
@@ -15822,12 +18092,12 @@ export declare function createGscdumpV1Protocol(): {
15822
18092
  readonly GOOGLE_NEWS: "googleNews";
15823
18093
  }>>;
15824
18094
  dimensions: z.ZodArray<z.ZodEnum<{
15825
- date: "date";
15826
18095
  page: "page";
15827
18096
  query: "query";
15828
18097
  queryCanonical: "queryCanonical";
15829
18098
  country: "country";
15830
18099
  device: "device";
18100
+ date: "date";
15831
18101
  searchAppearance: "searchAppearance";
15832
18102
  hour: "hour";
15833
18103
  }>>;
@@ -16063,12 +18333,12 @@ export declare function createGscdumpV1Protocol(): {
16063
18333
  readonly GOOGLE_NEWS: "googleNews";
16064
18334
  }>>;
16065
18335
  dimensions: z.ZodArray<z.ZodEnum<{
16066
- date: "date";
16067
18336
  page: "page";
16068
18337
  query: "query";
16069
18338
  queryCanonical: "queryCanonical";
16070
18339
  country: "country";
16071
18340
  device: "device";
18341
+ date: "date";
16072
18342
  searchAppearance: "searchAppearance";
16073
18343
  hour: "hour";
16074
18344
  }>>;
@@ -16083,12 +18353,12 @@ export declare function createGscdumpV1Protocol(): {
16083
18353
  readonly GOOGLE_NEWS: "googleNews";
16084
18354
  }>>;
16085
18355
  dimensions: z.ZodArray<z.ZodEnum<{
16086
- date: "date";
16087
18356
  page: "page";
16088
18357
  query: "query";
16089
18358
  queryCanonical: "queryCanonical";
16090
18359
  country: "country";
16091
18360
  device: "device";
18361
+ date: "date";
16092
18362
  searchAppearance: "searchAppearance";
16093
18363
  hour: "hour";
16094
18364
  }>>;
@@ -16604,4 +18874,6 @@ export type PartnerSitemapsV1Response = z.infer<GscdumpV1Protocol['schemas']['si
16604
18874
  export type PartnerSitemapChangesV1Response = z.infer<GscdumpV1Protocol['schemas']['sitemapChangesResponse']['client']>;
16605
18875
  export type PartnerSiteRegistrationV1Response = z.infer<GscdumpV1Protocol['schemas']['siteRegistrationResponse']['client']>;
16606
18876
  export type PartnerSiteDeletionV1Response = z.infer<GscdumpV1Protocol['schemas']['siteDeletionResponse']['client']>;
16607
- export type PartnerUserLifecycleV1Response = z.infer<GscdumpV1Protocol['schemas']['lifecycleResponse']['client']>;
18877
+ export type PartnerUserLifecycleV1Response = z.infer<GscdumpV1Protocol['schemas']['lifecycleResponse']['client']>;
18878
+ export type PartnerUserEntitlementsV1Response = z.infer<GscdumpV1Protocol['schemas']['userEntitlementsResponse']['client']>;
18879
+ export type PartnerUserEntitlementsV1 = PartnerUserEntitlementsV1Response['data'];