@gscdump/contracts 4.7.0 → 5.0.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.
@@ -1554,19 +1554,19 @@ export declare function createGscdumpV1Protocol(): {
1554
1554
  _tag: z.ZodLiteral<"counted">;
1555
1555
  capturedAt: z.ZodString;
1556
1556
  counts: z.ZodObject<{
1557
+ indexed: z.ZodDefault<z.ZodNumber>;
1558
+ not_found: z.ZodDefault<z.ZodNumber>;
1559
+ redirect: z.ZodDefault<z.ZodNumber>;
1557
1560
  unknown_to_google: z.ZodDefault<z.ZodNumber>;
1558
1561
  discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
1559
1562
  crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
1560
- indexed: z.ZodDefault<z.ZodNumber>;
1561
1563
  noindex: z.ZodDefault<z.ZodNumber>;
1562
1564
  blocked_robots: z.ZodDefault<z.ZodNumber>;
1563
1565
  soft_404: z.ZodDefault<z.ZodNumber>;
1564
- not_found: z.ZodDefault<z.ZodNumber>;
1565
1566
  server_error: z.ZodDefault<z.ZodNumber>;
1566
1567
  access_denied: z.ZodDefault<z.ZodNumber>;
1567
1568
  access_forbidden: z.ZodDefault<z.ZodNumber>;
1568
1569
  blocked_4xx: z.ZodDefault<z.ZodNumber>;
1569
- redirect: z.ZodDefault<z.ZodNumber>;
1570
1570
  redirect_error: z.ZodDefault<z.ZodNumber>;
1571
1571
  alternate_canonical: z.ZodDefault<z.ZodNumber>;
1572
1572
  duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
@@ -1693,19 +1693,19 @@ export declare function createGscdumpV1Protocol(): {
1693
1693
  _tag: z.ZodLiteral<"counted">;
1694
1694
  capturedAt: z.ZodString;
1695
1695
  counts: z.ZodObject<{
1696
+ indexed: z.ZodDefault<z.ZodNumber>;
1697
+ not_found: z.ZodDefault<z.ZodNumber>;
1698
+ redirect: z.ZodDefault<z.ZodNumber>;
1696
1699
  unknown_to_google: z.ZodDefault<z.ZodNumber>;
1697
1700
  discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
1698
1701
  crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
1699
- indexed: z.ZodDefault<z.ZodNumber>;
1700
1702
  noindex: z.ZodDefault<z.ZodNumber>;
1701
1703
  blocked_robots: z.ZodDefault<z.ZodNumber>;
1702
1704
  soft_404: z.ZodDefault<z.ZodNumber>;
1703
- not_found: z.ZodDefault<z.ZodNumber>;
1704
1705
  server_error: z.ZodDefault<z.ZodNumber>;
1705
1706
  access_denied: z.ZodDefault<z.ZodNumber>;
1706
1707
  access_forbidden: z.ZodDefault<z.ZodNumber>;
1707
1708
  blocked_4xx: z.ZodDefault<z.ZodNumber>;
1708
- redirect: z.ZodDefault<z.ZodNumber>;
1709
1709
  redirect_error: z.ZodDefault<z.ZodNumber>;
1710
1710
  alternate_canonical: z.ZodDefault<z.ZodNumber>;
1711
1711
  duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
@@ -1811,9 +1811,9 @@ export declare function createGscdumpV1Protocol(): {
1811
1811
  startDate: z.ZodOptional<z.ZodString>;
1812
1812
  endDate: z.ZodOptional<z.ZodString>;
1813
1813
  field: z.ZodOptional<z.ZodEnum<{
1814
- coverageState: "coverageState";
1815
1814
  indexStatus: "indexStatus";
1816
1815
  googleCanonical: "googleCanonical";
1816
+ coverageState: "coverageState";
1817
1817
  robotsTxtState: "robotsTxtState";
1818
1818
  indexingState: "indexingState";
1819
1819
  pageFetchState: "pageFetchState";
@@ -1828,9 +1828,9 @@ export declare function createGscdumpV1Protocol(): {
1828
1828
  readonly transitions: z.ZodArray<z.ZodObject<{
1829
1829
  readonly url: z.ZodString;
1830
1830
  readonly field: z.ZodEnum<{
1831
- coverageState: "coverageState";
1832
1831
  indexStatus: "indexStatus";
1833
1832
  googleCanonical: "googleCanonical";
1833
+ coverageState: "coverageState";
1834
1834
  robotsTxtState: "robotsTxtState";
1835
1835
  indexingState: "indexingState";
1836
1836
  pageFetchState: "pageFetchState";
@@ -1875,9 +1875,9 @@ export declare function createGscdumpV1Protocol(): {
1875
1875
  readonly transitions: z.ZodArray<z.ZodObject<{
1876
1876
  readonly url: z.ZodString;
1877
1877
  readonly field: z.ZodEnum<{
1878
- coverageState: "coverageState";
1879
1878
  indexStatus: "indexStatus";
1880
1879
  googleCanonical: "googleCanonical";
1880
+ coverageState: "coverageState";
1881
1881
  robotsTxtState: "robotsTxtState";
1882
1882
  indexingState: "indexingState";
1883
1883
  pageFetchState: "pageFetchState";
@@ -2038,19 +2038,19 @@ export declare function createGscdumpV1Protocol(): {
2038
2038
  checkpoints: z.ZodArray<z.ZodObject<{
2039
2039
  checkedAt: z.ZodString;
2040
2040
  coverageState: z.ZodCatch<z.ZodEnum<{
2041
+ indexed: "indexed";
2042
+ not_found: "not_found";
2043
+ redirect: "redirect";
2041
2044
  unknown_to_google: "unknown_to_google";
2042
2045
  discovered_not_indexed: "discovered_not_indexed";
2043
2046
  crawled_not_indexed: "crawled_not_indexed";
2044
- indexed: "indexed";
2045
2047
  noindex: "noindex";
2046
2048
  blocked_robots: "blocked_robots";
2047
2049
  soft_404: "soft_404";
2048
- not_found: "not_found";
2049
2050
  server_error: "server_error";
2050
2051
  access_denied: "access_denied";
2051
2052
  access_forbidden: "access_forbidden";
2052
2053
  blocked_4xx: "blocked_4xx";
2053
- redirect: "redirect";
2054
2054
  redirect_error: "redirect_error";
2055
2055
  alternate_canonical: "alternate_canonical";
2056
2056
  duplicate_no_canonical: "duplicate_no_canonical";
@@ -2084,19 +2084,19 @@ export declare function createGscdumpV1Protocol(): {
2084
2084
  checkpoints: z.ZodArray<z.ZodObject<{
2085
2085
  checkedAt: z.ZodString;
2086
2086
  coverageState: z.ZodCatch<z.ZodEnum<{
2087
+ indexed: "indexed";
2088
+ not_found: "not_found";
2089
+ redirect: "redirect";
2087
2090
  unknown_to_google: "unknown_to_google";
2088
2091
  discovered_not_indexed: "discovered_not_indexed";
2089
2092
  crawled_not_indexed: "crawled_not_indexed";
2090
- indexed: "indexed";
2091
2093
  noindex: "noindex";
2092
2094
  blocked_robots: "blocked_robots";
2093
2095
  soft_404: "soft_404";
2094
- not_found: "not_found";
2095
2096
  server_error: "server_error";
2096
2097
  access_denied: "access_denied";
2097
2098
  access_forbidden: "access_forbidden";
2098
2099
  blocked_4xx: "blocked_4xx";
2099
- redirect: "redirect";
2100
2100
  redirect_error: "redirect_error";
2101
2101
  alternate_canonical: "alternate_canonical";
2102
2102
  duplicate_no_canonical: "duplicate_no_canonical";
@@ -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,161 +2706,80 @@ export declare function createGscdumpV1Protocol(): {
2706
2706
  readonly version: z.ZodLiteral<"1.0">;
2707
2707
  }, z.core.$strip>;
2708
2708
  }, z.core.$strip>>;
2709
- lifecycleResponse: CompatibleResponseSchema<z.ZodObject<{
2709
+ bingSitesResponse: CompatibleResponseSchema<z.ZodObject<{
2710
2710
  data: z.ZodObject<{
2711
- readonly userId: z.ZodString;
2712
- readonly partnerId: z.ZodNullable<z.ZodString>;
2713
- readonly currentTeamId: z.ZodNullable<z.ZodString>;
2714
- readonly account: z.ZodObject<{
2715
- readonly status: z.ZodEnum<{
2716
- ready: "ready";
2717
- disconnected: "disconnected";
2718
- oauth_received: "oauth_received";
2719
- scope_missing: "scope_missing";
2720
- refresh_missing: "refresh_missing";
2721
- db_provisioning: "db_provisioning";
2722
- reauth_required: "reauth_required";
2723
- }>;
2724
- readonly grantedScopes: z.ZodArray<z.ZodString>;
2725
- readonly missingScopes: z.ZodArray<z.ZodString>;
2726
- readonly nextAction: z.ZodEnum<{
2727
- connect_google: "connect_google";
2728
- reconnect_google: "reconnect_google";
2729
- wait_for_provisioning: "wait_for_provisioning";
2730
- none: "none";
2731
- }>;
2732
- }, z.core.$strip>;
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">;
2733
2720
  readonly sites: z.ZodArray<z.ZodObject<{
2734
2721
  readonly siteId: z.ZodString;
2735
- readonly externalSiteId: z.ZodNullable<z.ZodString>;
2736
- readonly requestedUrl: z.ZodString;
2737
- readonly gscPropertyUrl: z.ZodNullable<z.ZodString>;
2738
- readonly permissionLevel: z.ZodNullable<z.ZodString>;
2739
- readonly property: z.ZodObject<{
2740
- readonly status: z.ZodEnum<{
2741
- no_local_site: "no_local_site";
2742
- no_gsc_property: "no_gsc_property";
2743
- unverified_property: "unverified_property";
2744
- verified_candidate: "verified_candidate";
2745
- registered: "registered";
2746
- linked: "linked";
2747
- }>;
2748
- readonly nextAction: z.ZodEnum<{
2749
- none: "none";
2750
- create_site: "create_site";
2751
- verify_gsc_property: "verify_gsc_property";
2752
- choose_property: "choose_property";
2753
- register_site: "register_site";
2754
- }>;
2755
- }, z.core.$strip>;
2756
- readonly analytics: z.ZodObject<{
2757
- readonly status: z.ZodEnum<{
2758
- ready: "ready";
2759
- not_registered: "not_registered";
2760
- queued: "queued";
2761
- preparing: "preparing";
2762
- syncing: "syncing";
2763
- queryable_live: "queryable_live";
2764
- queryable_partial: "queryable_partial";
2765
- failed: "failed";
2766
- }>;
2767
- readonly progress: z.ZodObject<{
2768
- readonly completed: z.ZodNumber;
2769
- readonly failed: z.ZodNumber;
2770
- readonly total: z.ZodNumber;
2771
- readonly percent: z.ZodNumber;
2772
- }, z.core.$strip>;
2773
- readonly queryable: z.ZodBoolean;
2774
- readonly sourceMode: z.ZodEnum<{
2775
- none: "none";
2776
- live: "live";
2777
- d1: "d1";
2778
- r2: "r2";
2779
- mixed: "mixed";
2780
- }>;
2781
- readonly syncedRange: z.ZodObject<{
2782
- readonly oldest: z.ZodNullable<z.ZodISODate>;
2783
- readonly newest: z.ZodNullable<z.ZodISODate>;
2784
- }, z.core.$strip>;
2785
- readonly nextAction: z.ZodEnum<{
2786
- none: "none";
2787
- wait_for_sync: "wait_for_sync";
2788
- retry_sync: "retry_sync";
2789
- }>;
2790
- }, z.core.$strip>;
2791
- readonly sitemaps: z.ZodObject<{
2792
- readonly status: z.ZodEnum<{
2793
- unknown: "unknown";
2794
- ready: "ready";
2795
- syncing: "syncing";
2796
- failed: "failed";
2797
- discovering: "discovering";
2798
- none_found: "none_found";
2799
- auto_submitted: "auto_submitted";
2800
- }>;
2801
- readonly discoveredCount: z.ZodNumber;
2802
- readonly nextAction: z.ZodEnum<{
2803
- none: "none";
2804
- submit_sitemap: "submit_sitemap";
2805
- wait_for_sitemaps: "wait_for_sitemaps";
2806
- retry_sitemaps: "retry_sitemaps";
2807
- }>;
2808
- }, z.core.$strip>;
2809
- readonly indexing: z.ZodObject<{
2810
- readonly status: z.ZodEnum<{
2811
- ready: "ready";
2812
- failed: "failed";
2813
- discovering: "discovering";
2814
- not_requested: "not_requested";
2815
- missing_scope: "missing_scope";
2816
- insufficient_permission: "insufficient_permission";
2817
- waiting_for_sitemaps: "waiting_for_sitemaps";
2818
- checking: "checking";
2819
- budget_exhausted: "budget_exhausted";
2820
- no_urls: "no_urls";
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";
2821
2767
  }>;
2822
- readonly eligible: z.ZodBoolean;
2823
- readonly reason: z.ZodNullable<z.ZodString>;
2824
- readonly progress: z.ZodObject<{
2825
- readonly completed: z.ZodNumber;
2826
- readonly failed: z.ZodNumber;
2827
- readonly total: z.ZodNumber;
2828
- readonly percent: z.ZodNumber;
2829
- }, z.core.$strip>;
2830
- readonly nextAction: z.ZodEnum<{
2831
- reconnect_google: "reconnect_google";
2832
- none: "none";
2833
- wait_for_sitemaps: "wait_for_sitemaps";
2834
- fix_gsc_permission: "fix_gsc_permission";
2835
- wait_for_indexing: "wait_for_indexing";
2836
- retry_indexing: "retry_indexing";
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";
2837
2773
  }>;
2838
- }, z.core.$strip>;
2839
- readonly hold: z.ZodNullable<z.ZodEnum<{
2840
- size_limit: "size_limit";
2841
- sitemap_limit: "sitemap_limit";
2842
- size_unknown: "size_unknown";
2843
- size_pending: "size_pending";
2844
- }>>;
2845
- readonly latestError: z.ZodNullable<z.ZodObject<{
2846
- readonly code: z.ZodEnum<{
2847
- missing_refresh_token: "missing_refresh_token";
2848
- missing_analytics_scope: "missing_analytics_scope";
2849
- missing_gsc_read_scope: "missing_gsc_read_scope";
2850
- token_refresh_failed: "token_refresh_failed";
2851
- permission_lost: "permission_lost";
2852
- insufficient_gsc_permission: "insufficient_gsc_permission";
2853
- gsc_property_not_found: "gsc_property_not_found";
2854
- gsc_property_unverified: "gsc_property_unverified";
2855
- user_database_not_provisioned: "user_database_not_provisioned";
2856
- sync_failed: "sync_failed";
2857
- sitemap_sync_failed: "sitemap_sync_failed";
2858
- indexing_failed: "indexing_failed";
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";
2859
2781
  }>;
2860
- readonly message: z.ZodString;
2861
- readonly retryable: z.ZodBoolean;
2862
- }, z.core.$strip>>;
2863
- readonly updatedAt: z.ZodISODateTime;
2782
+ }, z.core.$strip>], "_tag">;
2864
2783
  }, z.core.$strip>>;
2865
2784
  }, z.core.$strip>;
2866
2785
  meta: z.ZodObject<{
@@ -2870,47 +2789,598 @@ export declare function createGscdumpV1Protocol(): {
2870
2789
  }, z.core.$strip>;
2871
2790
  }, z.core.$strip>, z.ZodObject<{
2872
2791
  data: z.ZodObject<{
2873
- readonly userId: z.ZodString;
2874
- readonly partnerId: z.ZodNullable<z.ZodString>;
2875
- readonly currentTeamId: z.ZodNullable<z.ZodString>;
2876
- readonly account: z.ZodObject<{
2877
- readonly status: z.ZodEnum<{
2878
- ready: "ready";
2879
- disconnected: "disconnected";
2880
- oauth_received: "oauth_received";
2881
- scope_missing: "scope_missing";
2882
- refresh_missing: "refresh_missing";
2883
- db_provisioning: "db_provisioning";
2884
- reauth_required: "reauth_required";
2885
- }>;
2886
- readonly grantedScopes: z.ZodArray<z.ZodString>;
2887
- readonly missingScopes: z.ZodArray<z.ZodString>;
2888
- readonly nextAction: z.ZodEnum<{
2889
- connect_google: "connect_google";
2890
- reconnect_google: "reconnect_google";
2891
- wait_for_provisioning: "wait_for_provisioning";
2892
- none: "none";
2893
- }>;
2894
- }, z.core.$strip>;
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">;
2895
2801
  readonly sites: z.ZodArray<z.ZodObject<{
2896
2802
  readonly siteId: z.ZodString;
2897
- readonly externalSiteId: z.ZodNullable<z.ZodString>;
2898
- readonly requestedUrl: z.ZodString;
2899
- readonly gscPropertyUrl: z.ZodNullable<z.ZodString>;
2900
- readonly permissionLevel: z.ZodNullable<z.ZodString>;
2901
- readonly property: z.ZodObject<{
2902
- readonly status: z.ZodEnum<{
2903
- no_local_site: "no_local_site";
2904
- no_gsc_property: "no_gsc_property";
2905
- unverified_property: "unverified_property";
2906
- verified_candidate: "verified_candidate";
2907
- registered: "registered";
2908
- linked: "linked";
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";
2909
2848
  }>;
2910
- readonly nextAction: z.ZodEnum<{
2911
- none: "none";
2912
- create_site: "create_site";
2913
- verify_gsc_property: "verify_gsc_property";
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>>;
3341
+ lifecycleResponse: CompatibleResponseSchema<z.ZodObject<{
3342
+ data: z.ZodObject<{
3343
+ readonly userId: z.ZodString;
3344
+ readonly partnerId: z.ZodNullable<z.ZodString>;
3345
+ readonly currentTeamId: z.ZodNullable<z.ZodString>;
3346
+ readonly account: z.ZodObject<{
3347
+ readonly status: z.ZodEnum<{
3348
+ ready: "ready";
3349
+ disconnected: "disconnected";
3350
+ oauth_received: "oauth_received";
3351
+ scope_missing: "scope_missing";
3352
+ refresh_missing: "refresh_missing";
3353
+ db_provisioning: "db_provisioning";
3354
+ reauth_required: "reauth_required";
3355
+ }>;
3356
+ readonly grantedScopes: z.ZodArray<z.ZodString>;
3357
+ readonly missingScopes: z.ZodArray<z.ZodString>;
3358
+ readonly nextAction: z.ZodEnum<{
3359
+ connect_google: "connect_google";
3360
+ reconnect_google: "reconnect_google";
3361
+ wait_for_provisioning: "wait_for_provisioning";
3362
+ none: "none";
3363
+ }>;
3364
+ }, z.core.$strip>;
3365
+ readonly sites: z.ZodArray<z.ZodObject<{
3366
+ readonly siteId: z.ZodString;
3367
+ readonly externalSiteId: z.ZodNullable<z.ZodString>;
3368
+ readonly requestedUrl: z.ZodString;
3369
+ readonly gscPropertyUrl: z.ZodNullable<z.ZodString>;
3370
+ readonly permissionLevel: z.ZodNullable<z.ZodString>;
3371
+ readonly property: z.ZodObject<{
3372
+ readonly status: z.ZodEnum<{
3373
+ no_local_site: "no_local_site";
3374
+ no_gsc_property: "no_gsc_property";
3375
+ unverified_property: "unverified_property";
3376
+ verified_candidate: "verified_candidate";
3377
+ registered: "registered";
3378
+ linked: "linked";
3379
+ }>;
3380
+ readonly nextAction: z.ZodEnum<{
3381
+ none: "none";
3382
+ create_site: "create_site";
3383
+ verify_gsc_property: "verify_gsc_property";
2914
3384
  choose_property: "choose_property";
2915
3385
  register_site: "register_site";
2916
3386
  }>;
@@ -2998,12 +3468,12 @@ export declare function createGscdumpV1Protocol(): {
2998
3468
  retry_indexing: "retry_indexing";
2999
3469
  }>;
3000
3470
  }, z.core.$strip>;
3001
- readonly hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
3471
+ readonly hold: z.ZodNullable<z.ZodEnum<{
3002
3472
  size_limit: "size_limit";
3003
3473
  sitemap_limit: "sitemap_limit";
3004
3474
  size_unknown: "size_unknown";
3005
3475
  size_pending: "size_pending";
3006
- }>>>;
3476
+ }>>;
3007
3477
  readonly latestError: z.ZodNullable<z.ZodObject<{
3008
3478
  readonly code: z.ZodEnum<{
3009
3479
  missing_refresh_token: "missing_refresh_token";
@@ -3030,34 +3500,196 @@ export declare function createGscdumpV1Protocol(): {
3030
3500
  readonly surface: z.ZodLiteral<"partner">;
3031
3501
  readonly version: z.ZodLiteral<"1.0">;
3032
3502
  }, z.core.$strip>;
3033
- }, z.core.$strip>>;
3034
- userEntitlementsResponse: CompatibleResponseSchema<z.ZodObject<{
3035
- data: z.ZodDiscriminatedUnion<[z.ZodObject<{
3036
- readonly mode: z.ZodLiteral<"exempt">;
3037
- }, z.core.$strip>, z.ZodObject<{
3038
- readonly meters: z.ZodObject<{
3039
- readonly sites: z.ZodObject<{
3040
- readonly used: z.ZodNumber;
3041
- readonly allowance: z.ZodNumber;
3042
- }, z.core.$strip>;
3043
- readonly preservedRows: z.ZodObject<{
3044
- readonly used: z.ZodNullable<z.ZodNumber>;
3045
- readonly allowance: z.ZodNumber;
3046
- }, z.core.$strip>;
3047
- readonly urlInspections: z.ZodObject<{
3048
- readonly used: z.ZodNumber;
3049
- readonly allowance: z.ZodNullable<z.ZodNumber>;
3050
- readonly resetsAt: z.ZodISODate;
3051
- }, z.core.$strip>;
3052
- }, z.core.$strip>;
3053
- readonly heldSites: z.ZodArray<z.ZodObject<{
3054
- readonly siteId: z.ZodString;
3055
- readonly hold: z.ZodEnum<{
3056
- size_limit: "size_limit";
3057
- sitemap_limit: "sitemap_limit";
3058
- size_unknown: "size_unknown";
3059
- size_pending: "size_pending";
3060
- }>;
3503
+ }, z.core.$strip>, z.ZodObject<{
3504
+ data: z.ZodObject<{
3505
+ readonly userId: z.ZodString;
3506
+ readonly partnerId: z.ZodNullable<z.ZodString>;
3507
+ readonly currentTeamId: z.ZodNullable<z.ZodString>;
3508
+ readonly account: z.ZodObject<{
3509
+ readonly status: z.ZodEnum<{
3510
+ ready: "ready";
3511
+ disconnected: "disconnected";
3512
+ oauth_received: "oauth_received";
3513
+ scope_missing: "scope_missing";
3514
+ refresh_missing: "refresh_missing";
3515
+ db_provisioning: "db_provisioning";
3516
+ reauth_required: "reauth_required";
3517
+ }>;
3518
+ readonly grantedScopes: z.ZodArray<z.ZodString>;
3519
+ readonly missingScopes: z.ZodArray<z.ZodString>;
3520
+ readonly nextAction: z.ZodEnum<{
3521
+ connect_google: "connect_google";
3522
+ reconnect_google: "reconnect_google";
3523
+ wait_for_provisioning: "wait_for_provisioning";
3524
+ none: "none";
3525
+ }>;
3526
+ }, z.core.$strip>;
3527
+ readonly sites: z.ZodArray<z.ZodObject<{
3528
+ readonly siteId: z.ZodString;
3529
+ readonly externalSiteId: z.ZodNullable<z.ZodString>;
3530
+ readonly requestedUrl: z.ZodString;
3531
+ readonly gscPropertyUrl: z.ZodNullable<z.ZodString>;
3532
+ readonly permissionLevel: z.ZodNullable<z.ZodString>;
3533
+ readonly property: z.ZodObject<{
3534
+ readonly status: z.ZodEnum<{
3535
+ no_local_site: "no_local_site";
3536
+ no_gsc_property: "no_gsc_property";
3537
+ unverified_property: "unverified_property";
3538
+ verified_candidate: "verified_candidate";
3539
+ registered: "registered";
3540
+ linked: "linked";
3541
+ }>;
3542
+ readonly nextAction: z.ZodEnum<{
3543
+ none: "none";
3544
+ create_site: "create_site";
3545
+ verify_gsc_property: "verify_gsc_property";
3546
+ choose_property: "choose_property";
3547
+ register_site: "register_site";
3548
+ }>;
3549
+ }, z.core.$strip>;
3550
+ readonly analytics: z.ZodObject<{
3551
+ readonly status: z.ZodEnum<{
3552
+ ready: "ready";
3553
+ not_registered: "not_registered";
3554
+ queued: "queued";
3555
+ preparing: "preparing";
3556
+ syncing: "syncing";
3557
+ queryable_live: "queryable_live";
3558
+ queryable_partial: "queryable_partial";
3559
+ failed: "failed";
3560
+ }>;
3561
+ readonly progress: z.ZodObject<{
3562
+ readonly completed: z.ZodNumber;
3563
+ readonly failed: z.ZodNumber;
3564
+ readonly total: z.ZodNumber;
3565
+ readonly percent: z.ZodNumber;
3566
+ }, z.core.$strip>;
3567
+ readonly queryable: z.ZodBoolean;
3568
+ readonly sourceMode: z.ZodEnum<{
3569
+ none: "none";
3570
+ live: "live";
3571
+ d1: "d1";
3572
+ r2: "r2";
3573
+ mixed: "mixed";
3574
+ }>;
3575
+ readonly syncedRange: z.ZodObject<{
3576
+ readonly oldest: z.ZodNullable<z.ZodISODate>;
3577
+ readonly newest: z.ZodNullable<z.ZodISODate>;
3578
+ }, z.core.$strip>;
3579
+ readonly nextAction: z.ZodEnum<{
3580
+ none: "none";
3581
+ wait_for_sync: "wait_for_sync";
3582
+ retry_sync: "retry_sync";
3583
+ }>;
3584
+ }, z.core.$strip>;
3585
+ readonly sitemaps: z.ZodObject<{
3586
+ readonly status: z.ZodEnum<{
3587
+ unknown: "unknown";
3588
+ ready: "ready";
3589
+ syncing: "syncing";
3590
+ failed: "failed";
3591
+ discovering: "discovering";
3592
+ none_found: "none_found";
3593
+ auto_submitted: "auto_submitted";
3594
+ }>;
3595
+ readonly discoveredCount: z.ZodNumber;
3596
+ readonly nextAction: z.ZodEnum<{
3597
+ none: "none";
3598
+ submit_sitemap: "submit_sitemap";
3599
+ wait_for_sitemaps: "wait_for_sitemaps";
3600
+ retry_sitemaps: "retry_sitemaps";
3601
+ }>;
3602
+ }, z.core.$strip>;
3603
+ readonly indexing: z.ZodObject<{
3604
+ readonly status: z.ZodEnum<{
3605
+ ready: "ready";
3606
+ failed: "failed";
3607
+ discovering: "discovering";
3608
+ not_requested: "not_requested";
3609
+ missing_scope: "missing_scope";
3610
+ insufficient_permission: "insufficient_permission";
3611
+ waiting_for_sitemaps: "waiting_for_sitemaps";
3612
+ checking: "checking";
3613
+ budget_exhausted: "budget_exhausted";
3614
+ no_urls: "no_urls";
3615
+ }>;
3616
+ readonly eligible: z.ZodBoolean;
3617
+ readonly reason: z.ZodNullable<z.ZodString>;
3618
+ readonly progress: z.ZodObject<{
3619
+ readonly completed: z.ZodNumber;
3620
+ readonly failed: z.ZodNumber;
3621
+ readonly total: z.ZodNumber;
3622
+ readonly percent: z.ZodNumber;
3623
+ }, z.core.$strip>;
3624
+ readonly nextAction: z.ZodEnum<{
3625
+ reconnect_google: "reconnect_google";
3626
+ none: "none";
3627
+ wait_for_sitemaps: "wait_for_sitemaps";
3628
+ fix_gsc_permission: "fix_gsc_permission";
3629
+ wait_for_indexing: "wait_for_indexing";
3630
+ retry_indexing: "retry_indexing";
3631
+ }>;
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
+ }>>>;
3639
+ readonly latestError: z.ZodNullable<z.ZodObject<{
3640
+ readonly code: z.ZodEnum<{
3641
+ missing_refresh_token: "missing_refresh_token";
3642
+ missing_analytics_scope: "missing_analytics_scope";
3643
+ missing_gsc_read_scope: "missing_gsc_read_scope";
3644
+ token_refresh_failed: "token_refresh_failed";
3645
+ permission_lost: "permission_lost";
3646
+ insufficient_gsc_permission: "insufficient_gsc_permission";
3647
+ gsc_property_not_found: "gsc_property_not_found";
3648
+ gsc_property_unverified: "gsc_property_unverified";
3649
+ user_database_not_provisioned: "user_database_not_provisioned";
3650
+ sync_failed: "sync_failed";
3651
+ sitemap_sync_failed: "sitemap_sync_failed";
3652
+ indexing_failed: "indexing_failed";
3653
+ }>;
3654
+ readonly message: z.ZodString;
3655
+ readonly retryable: z.ZodBoolean;
3656
+ }, z.core.$strip>>;
3657
+ readonly updatedAt: z.ZodISODateTime;
3658
+ }, z.core.$strip>>;
3659
+ }, z.core.$strip>;
3660
+ meta: z.ZodObject<{
3661
+ readonly requestId: z.ZodString;
3662
+ readonly surface: z.ZodLiteral<"partner">;
3663
+ readonly version: z.ZodLiteral<"1.0">;
3664
+ }, z.core.$strip>;
3665
+ }, z.core.$strip>>;
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
+ }>;
3061
3693
  }, z.core.$strip>>;
3062
3694
  readonly mode: z.ZodLiteral<"metered">;
3063
3695
  readonly phase: z.ZodEnum<{
@@ -5568,19 +6200,19 @@ export declare function createGscdumpV1Protocol(): {
5568
6200
  _tag: z.ZodLiteral<"counted">;
5569
6201
  capturedAt: z.ZodString;
5570
6202
  counts: z.ZodObject<{
6203
+ indexed: z.ZodDefault<z.ZodNumber>;
6204
+ not_found: z.ZodDefault<z.ZodNumber>;
6205
+ redirect: z.ZodDefault<z.ZodNumber>;
5571
6206
  unknown_to_google: z.ZodDefault<z.ZodNumber>;
5572
6207
  discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
5573
6208
  crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
5574
- indexed: z.ZodDefault<z.ZodNumber>;
5575
6209
  noindex: z.ZodDefault<z.ZodNumber>;
5576
6210
  blocked_robots: z.ZodDefault<z.ZodNumber>;
5577
6211
  soft_404: z.ZodDefault<z.ZodNumber>;
5578
- not_found: z.ZodDefault<z.ZodNumber>;
5579
6212
  server_error: z.ZodDefault<z.ZodNumber>;
5580
6213
  access_denied: z.ZodDefault<z.ZodNumber>;
5581
6214
  access_forbidden: z.ZodDefault<z.ZodNumber>;
5582
6215
  blocked_4xx: z.ZodDefault<z.ZodNumber>;
5583
- redirect: z.ZodDefault<z.ZodNumber>;
5584
6216
  redirect_error: z.ZodDefault<z.ZodNumber>;
5585
6217
  alternate_canonical: z.ZodDefault<z.ZodNumber>;
5586
6218
  duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
@@ -5707,19 +6339,19 @@ export declare function createGscdumpV1Protocol(): {
5707
6339
  _tag: z.ZodLiteral<"counted">;
5708
6340
  capturedAt: z.ZodString;
5709
6341
  counts: z.ZodObject<{
6342
+ indexed: z.ZodDefault<z.ZodNumber>;
6343
+ not_found: z.ZodDefault<z.ZodNumber>;
6344
+ redirect: z.ZodDefault<z.ZodNumber>;
5710
6345
  unknown_to_google: z.ZodDefault<z.ZodNumber>;
5711
6346
  discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
5712
6347
  crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
5713
- indexed: z.ZodDefault<z.ZodNumber>;
5714
6348
  noindex: z.ZodDefault<z.ZodNumber>;
5715
6349
  blocked_robots: z.ZodDefault<z.ZodNumber>;
5716
6350
  soft_404: z.ZodDefault<z.ZodNumber>;
5717
- not_found: z.ZodDefault<z.ZodNumber>;
5718
6351
  server_error: z.ZodDefault<z.ZodNumber>;
5719
6352
  access_denied: z.ZodDefault<z.ZodNumber>;
5720
6353
  access_forbidden: z.ZodDefault<z.ZodNumber>;
5721
6354
  blocked_4xx: z.ZodDefault<z.ZodNumber>;
5722
- redirect: z.ZodDefault<z.ZodNumber>;
5723
6355
  redirect_error: z.ZodDefault<z.ZodNumber>;
5724
6356
  alternate_canonical: z.ZodDefault<z.ZodNumber>;
5725
6357
  duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
@@ -6655,10 +7287,10 @@ export declare function createGscdumpV1Protocol(): {
6655
7287
  readonly url: z.ZodURL;
6656
7288
  readonly observedAt: z.ZodISODateTime;
6657
7289
  readonly reason: z.ZodEnum<{
6658
- "authentication-required": "authentication-required";
6659
- "permission-denied": "permission-denied";
6660
7290
  "site-unverified": "site-unverified";
6661
7291
  throttled: "throttled";
7292
+ "authentication-required": "authentication-required";
7293
+ "permission-denied": "permission-denied";
6662
7294
  "quota-unavailable": "quota-unavailable";
6663
7295
  "provider-error": "provider-error";
6664
7296
  }>;
@@ -6712,10 +7344,10 @@ export declare function createGscdumpV1Protocol(): {
6712
7344
  readonly url: z.ZodURL;
6713
7345
  readonly observedAt: z.ZodISODateTime;
6714
7346
  readonly reason: z.ZodEnum<{
6715
- "authentication-required": "authentication-required";
6716
- "permission-denied": "permission-denied";
6717
7347
  "site-unverified": "site-unverified";
6718
7348
  throttled: "throttled";
7349
+ "authentication-required": "authentication-required";
7350
+ "permission-denied": "permission-denied";
6719
7351
  "quota-unavailable": "quota-unavailable";
6720
7352
  "provider-error": "provider-error";
6721
7353
  }>;
@@ -7792,7 +8424,7 @@ export declare function createGscdumpV1Protocol(): {
7792
8424
  readonly method: "GET";
7793
8425
  readonly path: "/sites/{siteId}/indexing/indexnow/submissions";
7794
8426
  };
7795
- readonly getSiteBingConnection: {
8427
+ readonly listUserBingSites: {
7796
8428
  readonly visibility: "public";
7797
8429
  readonly semantics: {
7798
8430
  readonly kind: "query";
@@ -7806,17 +8438,19 @@ export declare function createGscdumpV1Protocol(): {
7806
8438
  readonly scopes: readonly ["indexing:read"];
7807
8439
  readonly ownership: readonly [{
7808
8440
  readonly credential: "user_key";
7809
- readonly rule: "authorized_site";
8441
+ readonly rule: "self";
7810
8442
  }, {
7811
8443
  readonly credential: "partner_key";
7812
- readonly rule: "authorized_site";
8444
+ readonly rule: "linked_user";
7813
8445
  }];
7814
8446
  };
7815
8447
  readonly request: {
7816
8448
  readonly params: z.ZodObject<{
7817
- siteId: z.ZodString;
8449
+ userId: z.ZodString;
8450
+ }, z.core.$strict>;
8451
+ readonly query: z.ZodObject<{
8452
+ teamId: z.ZodOptional<z.ZodString>;
7818
8453
  }, z.core.$strict>;
7819
- readonly query: null;
7820
8454
  readonly headers: z.ZodObject<{
7821
8455
  'x-request-id': z.ZodOptional<z.ZodString>;
7822
8456
  }, z.core.$strict>;
@@ -7824,90 +8458,162 @@ export declare function createGscdumpV1Protocol(): {
7824
8458
  };
7825
8459
  readonly responses: {
7826
8460
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
7827
- data: z.ZodDiscriminatedUnion<[z.ZodObject<{
7828
- _tag: z.ZodLiteral<"disconnected">;
7829
- searchEngine: z.ZodLiteral<"bing">;
7830
- }, z.core.$strict>, z.ZodObject<{
7831
- _tag: z.ZodLiteral<"verification-required">;
7832
- searchEngine: z.ZodLiteral<"bing">;
7833
- remoteSiteUrl: z.ZodURL;
7834
- verified: z.ZodLiteral<false>;
7835
- verification: z.ZodObject<{
7836
- _tag: z.ZodLiteral<"cname">;
7837
- name: z.ZodString;
7838
- value: z.ZodLiteral<"verify.bing.com">;
7839
- }, z.core.$strict>;
7840
- }, z.core.$strict>, z.ZodObject<{
7841
- scopes: z.ZodArray<z.ZodString>;
7842
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7843
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7844
- _tag: z.ZodLiteral<"connected">;
7845
- searchEngine: z.ZodLiteral<"bing">;
7846
- remoteSiteUrl: z.ZodURL;
7847
- verified: z.ZodLiteral<true>;
7848
- }, z.core.$strict>, z.ZodObject<{
7849
- scopes: z.ZodArray<z.ZodString>;
7850
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7851
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7852
- _tag: z.ZodLiteral<"reauthorization-required">;
7853
- searchEngine: z.ZodLiteral<"bing">;
7854
- remoteSiteUrl: z.ZodURL;
7855
- verified: z.ZodBoolean;
7856
- }, z.core.$strict>, z.ZodObject<{
7857
- scopes: z.ZodArray<z.ZodString>;
7858
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7859
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7860
- _tag: z.ZodLiteral<"unavailable">;
7861
- searchEngine: z.ZodLiteral<"bing">;
7862
- remoteSiteUrl: z.ZodURL;
7863
- verified: z.ZodLiteral<true>;
7864
- reason: z.ZodLiteral<"permission-lost">;
7865
- }, z.core.$strict>], "_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>;
7866
8536
  meta: z.ZodObject<{
7867
8537
  readonly requestId: z.ZodString;
7868
8538
  readonly surface: z.ZodLiteral<"partner">;
7869
8539
  readonly version: z.ZodLiteral<"1.0">;
7870
8540
  }, z.core.$strip>;
7871
8541
  }, z.core.$strip>, z.ZodObject<{
7872
- data: z.ZodDiscriminatedUnion<[z.ZodObject<{
7873
- _tag: z.ZodLiteral<"disconnected">;
7874
- searchEngine: z.ZodLiteral<"bing">;
7875
- }, z.core.$loose>, z.ZodObject<{
7876
- _tag: z.ZodLiteral<"verification-required">;
7877
- searchEngine: z.ZodLiteral<"bing">;
7878
- remoteSiteUrl: z.ZodURL;
7879
- verified: z.ZodLiteral<false>;
7880
- verification: z.ZodObject<{
7881
- _tag: z.ZodLiteral<"cname">;
7882
- name: z.ZodString;
7883
- value: z.ZodLiteral<"verify.bing.com">;
7884
- }, z.core.$loose>;
7885
- }, z.core.$loose>, z.ZodObject<{
7886
- scopes: z.ZodArray<z.ZodString>;
7887
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7888
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7889
- _tag: z.ZodLiteral<"connected">;
7890
- searchEngine: z.ZodLiteral<"bing">;
7891
- remoteSiteUrl: z.ZodURL;
7892
- verified: z.ZodLiteral<true>;
7893
- }, z.core.$loose>, z.ZodObject<{
7894
- scopes: z.ZodArray<z.ZodString>;
7895
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7896
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7897
- _tag: z.ZodLiteral<"reauthorization-required">;
7898
- searchEngine: z.ZodLiteral<"bing">;
7899
- remoteSiteUrl: z.ZodURL;
7900
- verified: z.ZodBoolean;
7901
- }, z.core.$loose>, z.ZodObject<{
7902
- scopes: z.ZodArray<z.ZodString>;
7903
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
7904
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
7905
- _tag: z.ZodLiteral<"unavailable">;
7906
- searchEngine: z.ZodLiteral<"bing">;
7907
- remoteSiteUrl: z.ZodURL;
7908
- verified: z.ZodLiteral<true>;
7909
- reason: z.ZodLiteral<"permission-lost">;
7910
- }, z.core.$loose>], "_tag">;
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>;
7911
8617
  meta: z.ZodObject<{
7912
8618
  readonly requestId: z.ZodString;
7913
8619
  readonly surface: z.ZodLiteral<"partner">;
@@ -7915,7 +8621,7 @@ export declare function createGscdumpV1Protocol(): {
7915
8621
  }, z.core.$strip>;
7916
8622
  }, z.core.$strip>>;
7917
8623
  };
7918
- 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"];
7919
8625
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7920
8626
  readonly error: z.ZodObject<{
7921
8627
  code: z.ZodEnum<{
@@ -7923,7 +8629,7 @@ export declare function createGscdumpV1Protocol(): {
7923
8629
  invalid_request: "invalid_request";
7924
8630
  unauthorized: "unauthorized";
7925
8631
  forbidden: "forbidden";
7926
- site_not_found: "site_not_found";
8632
+ user_not_found: "user_not_found";
7927
8633
  rate_limited: "rate_limited";
7928
8634
  contract_violation: "contract_violation";
7929
8635
  }>;
@@ -7939,7 +8645,7 @@ export declare function createGscdumpV1Protocol(): {
7939
8645
  invalid_request: "invalid_request";
7940
8646
  unauthorized: "unauthorized";
7941
8647
  forbidden: "forbidden";
7942
- site_not_found: "site_not_found";
8648
+ user_not_found: "user_not_found";
7943
8649
  rate_limited: "rate_limited";
7944
8650
  contract_violation: "contract_violation";
7945
8651
  }>;
@@ -7951,31 +8657,47 @@ export declare function createGscdumpV1Protocol(): {
7951
8657
  }, z.core.$strip>>;
7952
8658
  readonly resources: {
7953
8659
  readonly reads: readonly [{
7954
- readonly type: "site.auth";
7955
- readonly idFrom: "params.siteId";
8660
+ readonly type: "partner.user";
8661
+ readonly idFrom: "params.userId";
7956
8662
  }, {
7957
- readonly type: "site.indexing";
7958
- readonly idFrom: "params.siteId";
8663
+ readonly type: "user.sites";
8664
+ readonly idFrom: "params.userId";
7959
8665
  }];
7960
8666
  readonly changes: readonly [];
7961
8667
  };
7962
8668
  readonly lifecycle: {
7963
- readonly introduced: "1.6.0";
8669
+ readonly introduced: "4.8.0";
7964
8670
  };
7965
8671
  readonly docs: {
7966
- readonly summary: "Get Bing connection";
7967
- 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.";
7968
8674
  readonly tags: readonly ["Indexing"];
7969
8675
  readonly examples: {
7970
8676
  readonly request: {
7971
8677
  readonly params: {
7972
- readonly siteId: "s_01";
8678
+ readonly userId: "u_01";
8679
+ };
8680
+ readonly query: {
8681
+ readonly teamId: "t_01";
7973
8682
  };
7974
8683
  };
7975
8684
  readonly response: {
7976
8685
  readonly data: {
7977
- readonly _tag: "disconnected";
7978
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
+ }];
7979
8701
  };
7980
8702
  readonly meta: {
7981
8703
  readonly requestId: "req_01";
@@ -7985,11 +8707,11 @@ export declare function createGscdumpV1Protocol(): {
7985
8707
  };
7986
8708
  };
7987
8709
  };
7988
- readonly id: "partner.sites.indexing.bing.connection.get";
8710
+ readonly id: "partner.users.indexing.bing.sites.list";
7989
8711
  readonly method: "GET";
7990
- readonly path: "/sites/{siteId}/indexing/bing/connection";
8712
+ readonly path: "/users/{userId}/indexing/bing/sites";
7991
8713
  };
7992
- readonly verifySiteBingConnection: {
8714
+ readonly linkSiteBing: {
7993
8715
  readonly visibility: "public";
7994
8716
  readonly semantics: {
7995
8717
  readonly kind: "mutation";
@@ -8000,7 +8722,7 @@ export declare function createGscdumpV1Protocol(): {
8000
8722
  };
8001
8723
  readonly auth: {
8002
8724
  readonly credentials: readonly ["user_key", "partner_key"];
8003
- readonly scopes: readonly ["sites:write"];
8725
+ readonly scopes: readonly ["indexing:write"];
8004
8726
  readonly ownership: readonly [{
8005
8727
  readonly credential: "user_key";
8006
8728
  readonly rule: "authorized_site";
@@ -8022,44 +8744,87 @@ export declare function createGscdumpV1Protocol(): {
8022
8744
  readonly responses: {
8023
8745
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
8024
8746
  data: z.ZodDiscriminatedUnion<[z.ZodObject<{
8025
- _tag: z.ZodLiteral<"disconnected">;
8026
- searchEngine: z.ZodLiteral<"bing">;
8027
- }, z.core.$strict>, z.ZodObject<{
8028
- _tag: z.ZodLiteral<"verification-required">;
8029
- searchEngine: z.ZodLiteral<"bing">;
8030
- remoteSiteUrl: z.ZodURL;
8031
- verified: z.ZodLiteral<false>;
8032
- verification: z.ZodObject<{
8033
- _tag: z.ZodLiteral<"cname">;
8034
- name: z.ZodString;
8035
- value: z.ZodLiteral<"verify.bing.com">;
8036
- }, z.core.$strict>;
8037
- }, z.core.$strict>, z.ZodObject<{
8038
- scopes: z.ZodArray<z.ZodString>;
8039
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
8040
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8041
- _tag: z.ZodLiteral<"connected">;
8042
- searchEngine: z.ZodLiteral<"bing">;
8043
- remoteSiteUrl: z.ZodURL;
8044
- verified: z.ZodLiteral<true>;
8045
- }, z.core.$strict>, z.ZodObject<{
8046
- scopes: z.ZodArray<z.ZodString>;
8047
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
8048
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8049
- _tag: z.ZodLiteral<"reauthorization-required">;
8050
- searchEngine: z.ZodLiteral<"bing">;
8051
- remoteSiteUrl: z.ZodURL;
8052
- verified: z.ZodBoolean;
8053
- }, z.core.$strict>, z.ZodObject<{
8054
- scopes: z.ZodArray<z.ZodString>;
8055
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
8056
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8057
- _tag: z.ZodLiteral<"unavailable">;
8058
- searchEngine: z.ZodLiteral<"bing">;
8059
- remoteSiteUrl: z.ZodURL;
8060
- verified: z.ZodLiteral<true>;
8061
- reason: z.ZodLiteral<"permission-lost">;
8062
- }, 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">;
8063
8828
  meta: z.ZodObject<{
8064
8829
  readonly requestId: z.ZodString;
8065
8830
  readonly surface: z.ZodLiteral<"partner">;
@@ -8067,44 +8832,87 @@ export declare function createGscdumpV1Protocol(): {
8067
8832
  }, z.core.$strip>;
8068
8833
  }, z.core.$strip>, z.ZodObject<{
8069
8834
  data: z.ZodDiscriminatedUnion<[z.ZodObject<{
8070
- _tag: z.ZodLiteral<"disconnected">;
8071
- searchEngine: z.ZodLiteral<"bing">;
8072
- }, z.core.$loose>, z.ZodObject<{
8073
- _tag: z.ZodLiteral<"verification-required">;
8074
- searchEngine: z.ZodLiteral<"bing">;
8075
- remoteSiteUrl: z.ZodURL;
8076
- verified: z.ZodLiteral<false>;
8077
- verification: z.ZodObject<{
8078
- _tag: z.ZodLiteral<"cname">;
8079
- name: z.ZodString;
8080
- value: z.ZodLiteral<"verify.bing.com">;
8081
- }, z.core.$loose>;
8082
- }, z.core.$loose>, z.ZodObject<{
8083
- scopes: z.ZodArray<z.ZodString>;
8084
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
8085
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8086
- _tag: z.ZodLiteral<"connected">;
8087
- searchEngine: z.ZodLiteral<"bing">;
8088
- remoteSiteUrl: z.ZodURL;
8089
- verified: z.ZodLiteral<true>;
8090
- }, z.core.$loose>, z.ZodObject<{
8091
- scopes: z.ZodArray<z.ZodString>;
8092
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
8093
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8094
- _tag: z.ZodLiteral<"reauthorization-required">;
8095
- searchEngine: z.ZodLiteral<"bing">;
8096
- remoteSiteUrl: z.ZodURL;
8097
- verified: z.ZodBoolean;
8098
- }, z.core.$loose>, z.ZodObject<{
8099
- scopes: z.ZodArray<z.ZodString>;
8100
- tokenExpiresAt: z.ZodNullable<z.ZodISODateTime>;
8101
- lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
8102
- _tag: z.ZodLiteral<"unavailable">;
8103
- searchEngine: z.ZodLiteral<"bing">;
8104
- remoteSiteUrl: z.ZodURL;
8105
- verified: z.ZodLiteral<true>;
8106
- reason: z.ZodLiteral<"permission-lost">;
8107
- }, 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">;
8108
8916
  meta: z.ZodObject<{
8109
8917
  readonly requestId: z.ZodString;
8110
8918
  readonly surface: z.ZodLiteral<"partner">;
@@ -8148,23 +8956,20 @@ export declare function createGscdumpV1Protocol(): {
8148
8956
  }, z.core.$strip>>;
8149
8957
  readonly resources: {
8150
8958
  readonly reads: readonly [{
8151
- readonly type: "site.auth";
8959
+ readonly type: "site.indexing";
8152
8960
  readonly idFrom: "params.siteId";
8153
8961
  }];
8154
8962
  readonly changes: readonly [{
8155
- readonly type: "site.auth";
8156
- readonly idFrom: "params.siteId";
8157
- }, {
8158
8963
  readonly type: "site.indexing";
8159
8964
  readonly idFrom: "params.siteId";
8160
8965
  }];
8161
8966
  };
8162
8967
  readonly lifecycle: {
8163
- readonly introduced: "1.6.0";
8968
+ readonly introduced: "4.8.0";
8164
8969
  };
8165
8970
  readonly docs: {
8166
- readonly summary: "Check Bing Site verification";
8167
- 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.";
8168
8973
  readonly tags: readonly ["Indexing"];
8169
8974
  readonly examples: {
8170
8975
  readonly request: {
@@ -8174,13 +8979,8 @@ export declare function createGscdumpV1Protocol(): {
8174
8979
  };
8175
8980
  readonly response: {
8176
8981
  readonly data: {
8177
- readonly _tag: "connected";
8178
- readonly searchEngine: "bing";
8179
- readonly remoteSiteUrl: "https://example.com/";
8180
- readonly verified: true;
8181
- readonly scopes: readonly ["webmaster.read"];
8182
- readonly tokenExpiresAt: null;
8183
- readonly lastEvidenceAt: null;
8982
+ readonly _tag: "grant-required";
8983
+ readonly reason: "grant-missing";
8184
8984
  };
8185
8985
  readonly meta: {
8186
8986
  readonly requestId: "req_01";
@@ -8190,22 +8990,22 @@ export declare function createGscdumpV1Protocol(): {
8190
8990
  };
8191
8991
  };
8192
8992
  };
8193
- readonly id: "partner.sites.indexing.bing.connection.verify";
8993
+ readonly id: "partner.sites.indexing.bing.link.create";
8194
8994
  readonly method: "POST";
8195
- readonly path: "/sites/{siteId}/indexing/bing/connection/verify";
8995
+ readonly path: "/sites/{siteId}/indexing/bing/link";
8196
8996
  };
8197
- readonly listSiteIndexingTransitions: {
8997
+ readonly createSiteBingAuthorization: {
8198
8998
  readonly visibility: "public";
8199
8999
  readonly semantics: {
8200
- readonly kind: "query";
8201
- readonly sideEffects: "none";
9000
+ readonly kind: "mutation";
9001
+ readonly sideEffects: "state";
8202
9002
  readonly idempotent: true;
8203
9003
  readonly retry: "idempotent";
8204
- readonly readConsistency: "primary";
9004
+ readonly readConsistency: null;
8205
9005
  };
8206
9006
  readonly auth: {
8207
9007
  readonly credentials: readonly ["user_key", "partner_key"];
8208
- readonly scopes: readonly ["indexing:read"];
9008
+ readonly scopes: readonly ["indexing:write"];
8209
9009
  readonly ownership: readonly [{
8210
9010
  readonly credential: "user_key";
8211
9011
  readonly rule: "authorized_site";
@@ -8218,69 +9018,19 @@ export declare function createGscdumpV1Protocol(): {
8218
9018
  readonly params: z.ZodObject<{
8219
9019
  siteId: z.ZodString;
8220
9020
  }, z.core.$strict>;
8221
- readonly query: z.ZodObject<{
8222
- startDate: z.ZodOptional<z.ZodString>;
8223
- endDate: z.ZodOptional<z.ZodString>;
8224
- field: z.ZodOptional<z.ZodEnum<{
8225
- coverageState: "coverageState";
8226
- indexStatus: "indexStatus";
8227
- googleCanonical: "googleCanonical";
8228
- robotsTxtState: "robotsTxtState";
8229
- indexingState: "indexingState";
8230
- pageFetchState: "pageFetchState";
8231
- }>>;
8232
- fromValue: z.ZodOptional<z.ZodString>;
8233
- toValue: z.ZodOptional<z.ZodString>;
8234
- limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
8235
- offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
8236
- }, z.core.$strict>;
9021
+ readonly query: null;
8237
9022
  readonly headers: z.ZodObject<{
8238
9023
  'x-request-id': z.ZodOptional<z.ZodString>;
8239
9024
  }, z.core.$strict>;
8240
- readonly body: null;
9025
+ readonly body: z.ZodObject<{
9026
+ returnUrl: z.ZodOptional<z.ZodString>;
9027
+ }, z.core.$strict>;
8241
9028
  };
8242
9029
  readonly responses: {
8243
9030
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
8244
9031
  data: z.ZodObject<{
8245
- readonly transitions: z.ZodArray<z.ZodObject<{
8246
- readonly url: z.ZodString;
8247
- readonly field: z.ZodEnum<{
8248
- coverageState: "coverageState";
8249
- indexStatus: "indexStatus";
8250
- googleCanonical: "googleCanonical";
8251
- robotsTxtState: "robotsTxtState";
8252
- indexingState: "indexingState";
8253
- pageFetchState: "pageFetchState";
8254
- }>;
8255
- readonly fromValue: z.ZodNullable<z.ZodString>;
8256
- readonly toValue: z.ZodNullable<z.ZodString>;
8257
- readonly changedAfter: z.ZodString;
8258
- readonly changedBefore: z.ZodString;
8259
- readonly detectedAt: z.ZodString;
8260
- readonly observationGapDays: z.ZodNumber;
8261
- }, z.core.$strip>>;
8262
- readonly observationWindow: z.ZodDiscriminatedUnion<[z.ZodObject<{
8263
- readonly _tag: z.ZodLiteral<"empty">;
8264
- readonly gapDaysMedian: z.ZodNull;
8265
- readonly gapDaysP90: z.ZodNull;
8266
- readonly sampleSize: z.ZodLiteral<0>;
8267
- }, z.core.$strip>, z.ZodObject<{
8268
- readonly _tag: z.ZodLiteral<"sampled">;
8269
- readonly gapDaysMedian: z.ZodNumber;
8270
- readonly gapDaysP90: z.ZodNumber;
8271
- readonly sampleSize: z.ZodNumber;
8272
- }, z.core.$strip>], "_tag">;
8273
- readonly pagination: z.ZodObject<{
8274
- readonly total: z.ZodNumber;
8275
- readonly limit: z.ZodNumber;
8276
- readonly offset: z.ZodNumber;
8277
- readonly hasMore: z.ZodBoolean;
8278
- }, z.core.$strip>;
8279
- readonly meta: z.ZodObject<{
8280
- readonly siteUrl: z.ZodString;
8281
- readonly startDate: z.ZodString;
8282
- readonly endDate: z.ZodString;
8283
- }, z.core.$strip>;
9032
+ readonly authorizeUrl: z.ZodURL;
9033
+ readonly expiresAt: z.ZodISODateTime;
8284
9034
  }, z.core.$strip>;
8285
9035
  meta: z.ZodObject<{
8286
9036
  readonly requestId: z.ZodString;
@@ -8289,45 +9039,8 @@ export declare function createGscdumpV1Protocol(): {
8289
9039
  }, z.core.$strip>;
8290
9040
  }, z.core.$strip>, z.ZodObject<{
8291
9041
  data: z.ZodObject<{
8292
- readonly transitions: z.ZodArray<z.ZodObject<{
8293
- readonly url: z.ZodString;
8294
- readonly field: z.ZodEnum<{
8295
- coverageState: "coverageState";
8296
- indexStatus: "indexStatus";
8297
- googleCanonical: "googleCanonical";
8298
- robotsTxtState: "robotsTxtState";
8299
- indexingState: "indexingState";
8300
- pageFetchState: "pageFetchState";
8301
- }>;
8302
- readonly fromValue: z.ZodNullable<z.ZodString>;
8303
- readonly toValue: z.ZodNullable<z.ZodString>;
8304
- readonly changedAfter: z.ZodString;
8305
- readonly changedBefore: z.ZodString;
8306
- readonly detectedAt: z.ZodString;
8307
- readonly observationGapDays: z.ZodNumber;
8308
- }, z.core.$strip>>;
8309
- readonly observationWindow: z.ZodDiscriminatedUnion<[z.ZodObject<{
8310
- readonly _tag: z.ZodLiteral<"empty">;
8311
- readonly gapDaysMedian: z.ZodNull;
8312
- readonly gapDaysP90: z.ZodNull;
8313
- readonly sampleSize: z.ZodLiteral<0>;
8314
- }, z.core.$strip>, z.ZodObject<{
8315
- readonly _tag: z.ZodLiteral<"sampled">;
8316
- readonly gapDaysMedian: z.ZodNumber;
8317
- readonly gapDaysP90: z.ZodNumber;
8318
- readonly sampleSize: z.ZodNumber;
8319
- }, z.core.$strip>], "_tag">;
8320
- readonly pagination: z.ZodObject<{
8321
- readonly total: z.ZodNumber;
8322
- readonly limit: z.ZodNumber;
8323
- readonly offset: z.ZodNumber;
8324
- readonly hasMore: z.ZodBoolean;
8325
- }, z.core.$strip>;
8326
- readonly meta: z.ZodObject<{
8327
- readonly siteUrl: z.ZodString;
8328
- readonly startDate: z.ZodString;
8329
- readonly endDate: z.ZodString;
8330
- }, z.core.$strip>;
9042
+ readonly authorizeUrl: z.ZodURL;
9043
+ readonly expiresAt: z.ZodISODateTime;
8331
9044
  }, z.core.$strip>;
8332
9045
  meta: z.ZodObject<{
8333
9046
  readonly requestId: z.ZodString;
@@ -8378,43 +9091,25 @@ export declare function createGscdumpV1Protocol(): {
8378
9091
  readonly changes: readonly [];
8379
9092
  };
8380
9093
  readonly lifecycle: {
8381
- readonly introduced: "1.4.8";
9094
+ readonly introduced: "4.8.0";
8382
9095
  };
8383
9096
  readonly docs: {
8384
- readonly summary: "List observed indexing transitions";
8385
- 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.";
8386
9099
  readonly tags: readonly ["Indexing"];
8387
9100
  readonly examples: {
8388
9101
  readonly request: {
8389
9102
  readonly params: {
8390
9103
  readonly siteId: "s_01";
8391
9104
  };
8392
- readonly query: {
8393
- readonly startDate: "2026-06-01";
8394
- readonly endDate: "2026-07-26";
8395
- readonly field: "coverageState";
9105
+ readonly body: {
9106
+ readonly returnUrl: "https://nuxtseo.com/pro/dashboard/integrations";
8396
9107
  };
8397
9108
  };
8398
9109
  readonly response: {
8399
9110
  readonly data: {
8400
- readonly transitions: readonly [];
8401
- readonly observationWindow: {
8402
- readonly _tag: "empty";
8403
- readonly gapDaysMedian: null;
8404
- readonly gapDaysP90: null;
8405
- readonly sampleSize: 0;
8406
- };
8407
- readonly pagination: {
8408
- readonly total: 0;
8409
- readonly limit: 100;
8410
- readonly offset: 0;
8411
- readonly hasMore: false;
8412
- };
8413
- readonly meta: {
8414
- readonly siteUrl: "sc-domain:example.com";
8415
- readonly startDate: "2026-06-01";
8416
- readonly endDate: "2026-07-26";
8417
- };
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";
8418
9113
  };
8419
9114
  readonly meta: {
8420
9115
  readonly requestId: "req_01";
@@ -8424,22 +9119,22 @@ export declare function createGscdumpV1Protocol(): {
8424
9119
  };
8425
9120
  };
8426
9121
  };
8427
- readonly id: "partner.sites.indexing.transitions.list";
8428
- readonly method: "GET";
8429
- 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";
8430
9125
  };
8431
- readonly getSiteIndexingDiagnostics: {
9126
+ readonly submitSiteBingSitemap: {
8432
9127
  readonly visibility: "public";
8433
9128
  readonly semantics: {
8434
- readonly kind: "query";
8435
- readonly sideEffects: "none";
9129
+ readonly kind: "mutation";
9130
+ readonly sideEffects: "state";
8436
9131
  readonly idempotent: true;
8437
9132
  readonly retry: "idempotent";
8438
- readonly readConsistency: "primary";
9133
+ readonly readConsistency: null;
8439
9134
  };
8440
9135
  readonly auth: {
8441
9136
  readonly credentials: readonly ["user_key", "partner_key"];
8442
- readonly scopes: readonly ["indexing:read"];
9137
+ readonly scopes: readonly ["indexing:write"];
8443
9138
  readonly ownership: readonly [{
8444
9139
  readonly credential: "user_key";
8445
9140
  readonly rule: "authorized_site";
@@ -8452,178 +9147,1492 @@ export declare function createGscdumpV1Protocol(): {
8452
9147
  readonly params: z.ZodObject<{
8453
9148
  siteId: z.ZodString;
8454
9149
  }, z.core.$strict>;
8455
- readonly query: z.ZodObject<{
8456
- sampleIssues: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
8457
- sampleLimit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
8458
- }, z.core.$strict>;
9150
+ readonly query: null;
8459
9151
  readonly headers: z.ZodObject<{
8460
9152
  'x-request-id': z.ZodOptional<z.ZodString>;
8461
9153
  }, z.core.$strict>;
8462
- readonly body: null;
9154
+ readonly body: z.ZodObject<{
9155
+ url: z.ZodOptional<z.ZodURL>;
9156
+ }, z.core.$strict>;
8463
9157
  };
8464
9158
  readonly responses: {
8465
9159
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
8466
- data: z.ZodObject<{
8467
- summary: z.ZodObject<{
8468
- totalUrls: z.ZodNumber;
8469
- indexed: z.ZodNumber;
8470
- indexedPercent: z.ZodNumber;
8471
- }, z.core.$loose>;
8472
- issues: z.ZodArray<z.ZodObject<{
8473
- type: z.ZodString;
8474
- label: z.ZodString;
8475
- severity: z.ZodEnum<{
8476
- error: "error";
8477
- warning: "warning";
8478
- info: "info";
8479
- }>;
8480
- count: z.ZodNumber;
8481
- description: z.ZodString;
8482
- fix: z.ZodString;
8483
- }, z.core.$loose>>;
8484
- samples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
8485
- url: z.ZodString;
8486
- issueType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8487
- verdict: z.ZodNullable<z.ZodString>;
8488
- coverageState: z.ZodNullable<z.ZodString>;
8489
- indexingState: z.ZodNullable<z.ZodString>;
8490
- robotsTxtState: z.ZodNullable<z.ZodString>;
8491
- pageFetchState: z.ZodNullable<z.ZodString>;
8492
- lastCrawlTime: z.ZodNullable<z.ZodString>;
8493
- crawlingUserAgent: z.ZodNullable<z.ZodString>;
8494
- userCanonical: z.ZodNullable<z.ZodString>;
8495
- googleCanonical: z.ZodNullable<z.ZodString>;
8496
- canonicalMismatchKind: z.ZodEnum<{
8497
- path: "path";
8498
- none: "none";
8499
- formatting: "formatting";
8500
- cross_domain: "cross_domain";
8501
- }>;
8502
- sitemaps: z.ZodNullable<z.ZodArray<z.ZodString>>;
8503
- referringUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
8504
- mobileVerdict: z.ZodNullable<z.ZodString>;
8505
- mobileIssues: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8506
- richResultsVerdict: z.ZodNullable<z.ZodString>;
8507
- richResultsItems: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8508
- inspectionResultLink: z.ZodNullable<z.ZodString>;
8509
- firstCheckedAt: z.ZodString;
8510
- lastCheckedAt: z.ZodString;
8511
- checkCount: z.ZodNumber;
8512
- }, z.core.$loose>>>>;
8513
- capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8514
- _tag: z.ZodLiteral<"captured">;
8515
- capturedAt: z.ZodString;
8516
- source: z.ZodEnum<{
8517
- live: "live";
8518
- stored: "stored";
8519
- }>;
8520
- scope: z.ZodEnum<{
8521
- sitemap_members: "sitemap_members";
8522
- inspected_urls: "inspected_urls";
8523
- unrecorded: "unrecorded";
8524
- }>;
8525
- oldestVerdictAt: z.ZodNullable<z.ZodString>;
8526
- newestVerdictAt: z.ZodNullable<z.ZodString>;
8527
- freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
8528
- _tag: z.ZodLiteral<"measured">;
8529
- verdicts: z.ZodNumber;
8530
- olderThan7d: z.ZodNumber;
8531
- olderThan30d: z.ZodNumber;
8532
- olderThan7dPercent: z.ZodNumber;
8533
- olderThan30dPercent: z.ZodNumber;
8534
- }, z.core.$loose>, z.ZodObject<{
8535
- _tag: z.ZodLiteral<"unmeasured">;
8536
- }, z.core.$loose>], "_tag">;
8537
- }, z.core.$loose>, z.ZodObject<{
8538
- _tag: z.ZodLiteral<"empty">;
8539
- }, z.core.$loose>], "_tag">>;
8540
- meta: z.ZodObject<{
8541
- siteUrl: z.ZodString;
8542
- }, z.core.$loose>;
8543
- }, 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">;
8544
9198
  meta: z.ZodObject<{
8545
9199
  readonly requestId: z.ZodString;
8546
9200
  readonly surface: z.ZodLiteral<"partner">;
8547
9201
  readonly version: z.ZodLiteral<"1.0">;
8548
9202
  }, z.core.$strip>;
8549
9203
  }, z.core.$strip>, z.ZodObject<{
8550
- data: z.ZodObject<{
8551
- summary: z.ZodObject<{
8552
- totalUrls: z.ZodNumber;
8553
- indexed: z.ZodNumber;
8554
- indexedPercent: z.ZodNumber;
8555
- }, z.core.$loose>;
8556
- issues: z.ZodArray<z.ZodObject<{
8557
- type: z.ZodString;
8558
- label: z.ZodString;
8559
- severity: z.ZodEnum<{
8560
- error: "error";
8561
- warning: "warning";
8562
- info: "info";
8563
- }>;
8564
- count: z.ZodNumber;
8565
- description: z.ZodString;
8566
- fix: z.ZodString;
8567
- }, z.core.$loose>>;
8568
- samples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
8569
- url: z.ZodString;
8570
- issueType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8571
- verdict: z.ZodNullable<z.ZodString>;
8572
- coverageState: z.ZodNullable<z.ZodString>;
8573
- indexingState: z.ZodNullable<z.ZodString>;
8574
- robotsTxtState: z.ZodNullable<z.ZodString>;
8575
- pageFetchState: z.ZodNullable<z.ZodString>;
8576
- lastCrawlTime: z.ZodNullable<z.ZodString>;
8577
- crawlingUserAgent: z.ZodNullable<z.ZodString>;
8578
- userCanonical: z.ZodNullable<z.ZodString>;
8579
- googleCanonical: z.ZodNullable<z.ZodString>;
8580
- canonicalMismatchKind: z.ZodEnum<{
8581
- path: "path";
8582
- none: "none";
8583
- formatting: "formatting";
8584
- 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
+ indexStatus: "indexStatus";
9760
+ googleCanonical: "googleCanonical";
9761
+ coverageState: "coverageState";
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
+ indexStatus: "indexStatus";
9783
+ googleCanonical: "googleCanonical";
9784
+ coverageState: "coverageState";
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
+ indexStatus: "indexStatus";
9830
+ googleCanonical: "googleCanonical";
9831
+ coverageState: "coverageState";
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";
8585
10532
  }>;
8586
- sitemaps: z.ZodNullable<z.ZodArray<z.ZodString>>;
8587
- referringUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
8588
- mobileVerdict: z.ZodNullable<z.ZodString>;
8589
- mobileIssues: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8590
- richResultsVerdict: z.ZodNullable<z.ZodString>;
8591
- richResultsItems: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8592
- inspectionResultLink: z.ZodNullable<z.ZodString>;
8593
- firstCheckedAt: z.ZodString;
8594
- lastCheckedAt: z.ZodString;
8595
- checkCount: z.ZodNumber;
8596
- }, z.core.$loose>>>>;
8597
- capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8598
- _tag: z.ZodLiteral<"captured">;
8599
- capturedAt: z.ZodString;
8600
- source: z.ZodEnum<{
8601
- live: "live";
8602
- 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";
8603
10569
  }>;
8604
- scope: z.ZodEnum<{
8605
- sitemap_members: "sitemap_members";
8606
- inspected_urls: "inspected_urls";
8607
- 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";
8608
10597
  }>;
8609
- oldestVerdictAt: z.ZodNullable<z.ZodString>;
8610
- newestVerdictAt: z.ZodNullable<z.ZodString>;
8611
- freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
8612
- _tag: z.ZodLiteral<"measured">;
8613
- verdicts: z.ZodNumber;
8614
- olderThan7d: z.ZodNumber;
8615
- olderThan30d: z.ZodNumber;
8616
- olderThan7dPercent: z.ZodNumber;
8617
- olderThan30dPercent: z.ZodNumber;
8618
- }, z.core.$loose>, z.ZodObject<{
8619
- _tag: z.ZodLiteral<"unmeasured">;
8620
- }, z.core.$loose>], "_tag">;
8621
- }, z.core.$loose>, z.ZodObject<{
8622
- _tag: z.ZodLiteral<"empty">;
8623
- }, z.core.$loose>], "_tag">>;
8624
- meta: z.ZodObject<{
8625
- siteUrl: z.ZodString;
8626
- }, 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">;
8627
10636
  }, z.core.$strip>;
8628
10637
  meta: z.ZodObject<{
8629
10638
  readonly requestId: z.ZodString;
@@ -8668,35 +10677,33 @@ export declare function createGscdumpV1Protocol(): {
8668
10677
  }, z.core.$strip>>;
8669
10678
  readonly resources: {
8670
10679
  readonly reads: readonly [{
8671
- readonly type: "site.indexing";
10680
+ readonly type: "site.sitemaps";
8672
10681
  readonly idFrom: "params.siteId";
8673
10682
  }];
8674
10683
  readonly changes: readonly [];
8675
10684
  };
8676
10685
  readonly lifecycle: {
8677
- readonly introduced: "1.0.0";
10686
+ readonly introduced: "4.8.0";
8678
10687
  };
8679
10688
  readonly docs: {
8680
- readonly summary: "Get indexing diagnostics";
8681
- readonly description: "Returns indexing issue groups and optional URL samples.";
8682
- 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"];
8683
10692
  readonly examples: {
8684
10693
  readonly request: {
8685
10694
  readonly params: {
8686
10695
  readonly siteId: "s_01";
8687
10696
  };
8688
- readonly query: {};
8689
10697
  };
8690
10698
  readonly response: {
8691
10699
  readonly data: {
8692
- readonly summary: {
8693
- readonly totalUrls: 0;
8694
- readonly indexed: 0;
8695
- readonly indexedPercent: 0;
8696
- };
8697
- readonly issues: readonly [];
8698
- readonly meta: {
8699
- 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";
8700
10707
  };
8701
10708
  };
8702
10709
  readonly meta: {
@@ -8707,22 +10714,22 @@ export declare function createGscdumpV1Protocol(): {
8707
10714
  };
8708
10715
  };
8709
10716
  };
8710
- readonly id: "partner.sites.indexing.diagnostics.get";
10717
+ readonly id: "partner.sites.sitemaps.submission.get";
8711
10718
  readonly method: "GET";
8712
- readonly path: "/sites/{siteId}/indexing/diagnostics";
10719
+ readonly path: "/sites/{siteId}/sitemaps/submission";
8713
10720
  };
8714
- readonly getSiteSitemaps: {
10721
+ readonly submitSiteSitemap: {
8715
10722
  readonly visibility: "public";
8716
10723
  readonly semantics: {
8717
- readonly kind: "query";
8718
- readonly sideEffects: "none";
10724
+ readonly kind: "mutation";
10725
+ readonly sideEffects: "state";
8719
10726
  readonly idempotent: true;
8720
10727
  readonly retry: "idempotent";
8721
- readonly readConsistency: "primary";
10728
+ readonly readConsistency: null;
8722
10729
  };
8723
10730
  readonly auth: {
8724
10731
  readonly credentials: readonly ["user_key", "partner_key"];
8725
- readonly scopes: readonly ["sitemaps:read"];
10732
+ readonly scopes: readonly ["sitemaps:write"];
8726
10733
  readonly ownership: readonly [{
8727
10734
  readonly credential: "user_key";
8728
10735
  readonly rule: "authorized_site";
@@ -8743,118 +10750,50 @@ export declare function createGscdumpV1Protocol(): {
8743
10750
  };
8744
10751
  readonly responses: {
8745
10752
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
8746
- data: z.ZodObject<{
8747
- sitemaps: z.ZodArray<z.ZodObject<{
8748
- path: z.ZodString;
8749
- urlCount: z.ZodNumber;
8750
- errors: z.ZodNumber;
8751
- warnings: z.ZodNumber;
8752
- isIndex: z.ZodOptional<z.ZodBoolean>;
8753
- contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8754
- lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8755
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8756
- isPending: z.ZodOptional<z.ZodBoolean>;
8757
- fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8758
- }, z.core.$loose>>;
8759
- history: z.ZodArray<z.ZodObject<{
8760
- date: z.ZodString;
8761
- errors: z.ZodNumber;
8762
- warnings: z.ZodNumber;
8763
- urlCount: z.ZodNumber;
8764
- urlDelta: z.ZodNumber;
8765
- }, z.core.$loose>>;
8766
- perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
8767
- date: z.ZodString;
8768
- urlCount: z.ZodNumber;
8769
- changed: z.ZodBoolean;
8770
- urlDelta: z.ZodNumber;
8771
- }, z.core.$loose>>>;
8772
- meta: z.ZodObject<{
8773
- siteUrl: z.ZodString;
8774
- gscPropertyUrl: z.ZodOptional<z.ZodString>;
8775
- syncStatus: z.ZodNullable<z.ZodString>;
8776
- sitemapScope: z.ZodObject<{
8777
- excludedCount: z.ZodNumber;
8778
- duplicateCount: z.ZodNumber;
8779
- }, z.core.$strip>;
8780
- }, z.core.$loose>;
8781
- generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
8782
- id: z.ZodString;
8783
- observedAt: z.ZodNumber;
8784
- publishedAt: z.ZodNumber;
8785
- completeness: z.ZodObject<{
8786
- _tag: z.ZodLiteral<"complete">;
8787
- }, z.core.$strict>;
8788
- membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
8789
- legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
8790
- _tag: z.ZodLiteral<"none">;
8791
- }, z.core.$strict>, z.ZodObject<{
8792
- _tag: z.ZodLiteral<"metadata_only">;
8793
- importedAt: z.ZodNumber;
8794
- recordCount: z.ZodNumber;
8795
- source: z.ZodLiteral<"gsc_sitemaps">;
8796
- }, z.core.$strict>], "_tag">;
8797
- }, z.core.$strict>>>;
8798
- }, 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">;
8799
10772
  meta: z.ZodObject<{
8800
10773
  readonly requestId: z.ZodString;
8801
10774
  readonly surface: z.ZodLiteral<"partner">;
8802
10775
  readonly version: z.ZodLiteral<"1.0">;
8803
10776
  }, z.core.$strip>;
8804
10777
  }, z.core.$strip>, z.ZodObject<{
8805
- data: z.ZodObject<{
8806
- sitemaps: z.ZodArray<z.ZodObject<{
8807
- path: z.ZodString;
8808
- urlCount: z.ZodNumber;
8809
- errors: z.ZodNumber;
8810
- warnings: z.ZodNumber;
8811
- isIndex: z.ZodOptional<z.ZodBoolean>;
8812
- contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8813
- lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8814
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8815
- isPending: z.ZodOptional<z.ZodBoolean>;
8816
- fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8817
- }, z.core.$loose>>;
8818
- history: z.ZodArray<z.ZodObject<{
8819
- date: z.ZodString;
8820
- errors: z.ZodNumber;
8821
- warnings: z.ZodNumber;
8822
- urlCount: z.ZodNumber;
8823
- urlDelta: z.ZodNumber;
8824
- }, z.core.$loose>>;
8825
- perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
8826
- date: z.ZodString;
8827
- urlCount: z.ZodNumber;
8828
- changed: z.ZodBoolean;
8829
- urlDelta: z.ZodNumber;
8830
- }, z.core.$loose>>>;
8831
- meta: z.ZodObject<{
8832
- siteUrl: z.ZodString;
8833
- gscPropertyUrl: z.ZodOptional<z.ZodString>;
8834
- syncStatus: z.ZodNullable<z.ZodString>;
8835
- sitemapScope: z.ZodObject<{
8836
- excludedCount: z.ZodNumber;
8837
- duplicateCount: z.ZodNumber;
8838
- }, z.core.$strip>;
8839
- }, z.core.$loose>;
8840
- generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
8841
- id: z.ZodString;
8842
- observedAt: z.ZodNumber;
8843
- publishedAt: z.ZodNumber;
8844
- completeness: z.ZodObject<{
8845
- _tag: z.ZodLiteral<"complete">;
8846
- }, z.core.$strict>;
8847
- membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
8848
- legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
8849
- _tag: z.ZodLiteral<"none">;
8850
- }, z.core.$strict>, z.ZodObject<{
8851
- _tag: z.ZodLiteral<"metadata_only">;
8852
- importedAt: z.ZodNumber;
8853
- recordCount: z.ZodNumber;
8854
- source: z.ZodLiteral<"gsc_sitemaps">;
8855
- }, z.core.$strict>], "_tag">;
8856
- }, z.core.$strict>>>;
8857
- }, 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">;
8858
10797
  meta: z.ZodObject<{
8859
10798
  readonly requestId: z.ZodString;
8860
10799
  readonly surface: z.ZodLiteral<"partner">;
@@ -8901,14 +10840,17 @@ export declare function createGscdumpV1Protocol(): {
8901
10840
  readonly type: "site.sitemaps";
8902
10841
  readonly idFrom: "params.siteId";
8903
10842
  }];
8904
- readonly changes: readonly [];
10843
+ readonly changes: readonly [{
10844
+ readonly type: "site.sitemaps";
10845
+ readonly idFrom: "params.siteId";
10846
+ }];
8905
10847
  };
8906
10848
  readonly lifecycle: {
8907
- readonly introduced: "1.0.0";
10849
+ readonly introduced: "4.8.0";
8908
10850
  };
8909
10851
  readonly docs: {
8910
- readonly summary: "Get sitemap snapshot";
8911
- 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.";
8912
10854
  readonly tags: readonly ["Sitemaps"];
8913
10855
  readonly examples: {
8914
10856
  readonly request: {
@@ -8918,19 +10860,9 @@ export declare function createGscdumpV1Protocol(): {
8918
10860
  };
8919
10861
  readonly response: {
8920
10862
  readonly data: {
8921
- readonly sitemaps: readonly [];
8922
- readonly history: readonly [];
8923
- readonly perSitemapHistory: {};
8924
- readonly generation: null;
8925
- readonly meta: {
8926
- readonly siteUrl: "sc-domain:example.com";
8927
- readonly gscPropertyUrl: "sc-domain:example.com";
8928
- readonly syncStatus: "synced";
8929
- readonly sitemapScope: {
8930
- readonly excludedCount: 0;
8931
- readonly duplicateCount: 0;
8932
- };
8933
- };
10863
+ readonly _tag: "submitted";
10864
+ readonly sitemapUrl: "https://example.com/sitemap.xml";
10865
+ readonly sitemapCount: 1;
8934
10866
  };
8935
10867
  readonly meta: {
8936
10868
  readonly requestId: "req_01";
@@ -8940,9 +10872,9 @@ export declare function createGscdumpV1Protocol(): {
8940
10872
  };
8941
10873
  };
8942
10874
  };
8943
- readonly id: "partner.sites.sitemaps.get";
8944
- readonly method: "GET";
8945
- readonly path: "/sites/{siteId}/sitemaps";
10875
+ readonly id: "partner.sites.sitemaps.submission.create";
10876
+ readonly method: "POST";
10877
+ readonly path: "/sites/{siteId}/sitemaps/submission";
8946
10878
  };
8947
10879
  readonly getSiteSitemapChanges: {
8948
10880
  readonly visibility: "public";
@@ -10191,19 +12123,19 @@ export declare function createGscdumpV1Protocol(): {
10191
12123
  checkpoints: z.ZodArray<z.ZodObject<{
10192
12124
  checkedAt: z.ZodString;
10193
12125
  coverageState: z.ZodCatch<z.ZodEnum<{
12126
+ indexed: "indexed";
12127
+ not_found: "not_found";
12128
+ redirect: "redirect";
10194
12129
  unknown_to_google: "unknown_to_google";
10195
12130
  discovered_not_indexed: "discovered_not_indexed";
10196
12131
  crawled_not_indexed: "crawled_not_indexed";
10197
- indexed: "indexed";
10198
12132
  noindex: "noindex";
10199
12133
  blocked_robots: "blocked_robots";
10200
12134
  soft_404: "soft_404";
10201
- not_found: "not_found";
10202
12135
  server_error: "server_error";
10203
12136
  access_denied: "access_denied";
10204
12137
  access_forbidden: "access_forbidden";
10205
12138
  blocked_4xx: "blocked_4xx";
10206
- redirect: "redirect";
10207
12139
  redirect_error: "redirect_error";
10208
12140
  alternate_canonical: "alternate_canonical";
10209
12141
  duplicate_no_canonical: "duplicate_no_canonical";
@@ -10237,19 +12169,19 @@ export declare function createGscdumpV1Protocol(): {
10237
12169
  checkpoints: z.ZodArray<z.ZodObject<{
10238
12170
  checkedAt: z.ZodString;
10239
12171
  coverageState: z.ZodCatch<z.ZodEnum<{
12172
+ indexed: "indexed";
12173
+ not_found: "not_found";
12174
+ redirect: "redirect";
10240
12175
  unknown_to_google: "unknown_to_google";
10241
12176
  discovered_not_indexed: "discovered_not_indexed";
10242
12177
  crawled_not_indexed: "crawled_not_indexed";
10243
- indexed: "indexed";
10244
12178
  noindex: "noindex";
10245
12179
  blocked_robots: "blocked_robots";
10246
12180
  soft_404: "soft_404";
10247
- not_found: "not_found";
10248
12181
  server_error: "server_error";
10249
12182
  access_denied: "access_denied";
10250
12183
  access_forbidden: "access_forbidden";
10251
12184
  blocked_4xx: "blocked_4xx";
10252
- redirect: "redirect";
10253
12185
  redirect_error: "redirect_error";
10254
12186
  alternate_canonical: "alternate_canonical";
10255
12187
  duplicate_no_canonical: "duplicate_no_canonical";