@gscdump/contracts 0.33.0 → 0.33.4

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.
@@ -750,16 +750,16 @@ declare const gscdumpUserRegistrationSchema: z.ZodObject<{
750
750
  apiKey: z.ZodOptional<z.ZodString>;
751
751
  isNew: z.ZodOptional<z.ZodBoolean>;
752
752
  status: z.ZodOptional<z.ZodEnum<{
753
- ready: "ready";
754
753
  provisioning: "provisioning";
754
+ ready: "ready";
755
755
  }>>;
756
756
  }, z.core.$loose>;
757
757
  declare const gscdumpUserStatusSchema: z.ZodObject<{
758
758
  userId: z.ZodString;
759
759
  status: z.ZodEnum<{
760
+ provisioning: "provisioning";
760
761
  ready: "ready";
761
762
  reauth_required: "reauth_required";
762
- provisioning: "provisioning";
763
763
  }>;
764
764
  databaseReady: z.ZodOptional<z.ZodBoolean>;
765
765
  needsReauth: z.ZodOptional<z.ZodBoolean>;
@@ -798,21 +798,21 @@ declare const lifecycleErrorSchema: z.ZodObject<{
798
798
  }, z.core.$strip>;
799
799
  declare const partnerLifecycleAccountSchema: z.ZodObject<{
800
800
  status: z.ZodEnum<{
801
+ ready: "ready";
802
+ reauth_required: "reauth_required";
801
803
  disconnected: "disconnected";
802
804
  oauth_received: "oauth_received";
803
805
  scope_missing: "scope_missing";
804
806
  refresh_missing: "refresh_missing";
805
807
  db_provisioning: "db_provisioning";
806
- ready: "ready";
807
- reauth_required: "reauth_required";
808
808
  }>;
809
809
  grantedScopes: z.ZodArray<z.ZodString>;
810
810
  missingScopes: z.ZodArray<z.ZodString>;
811
811
  nextAction: z.ZodEnum<{
812
- connect_google: "connect_google";
813
812
  reconnect_google: "reconnect_google";
814
- wait_for_provisioning: "wait_for_provisioning";
815
813
  none: "none";
814
+ connect_google: "connect_google";
815
+ wait_for_provisioning: "wait_for_provisioning";
816
816
  }>;
817
817
  }, z.core.$loose>;
818
818
  declare const partnerLifecycleSiteSchema: z.ZodObject<{
@@ -840,14 +840,14 @@ declare const partnerLifecycleSiteSchema: z.ZodObject<{
840
840
  }, z.core.$loose>;
841
841
  analytics: z.ZodObject<{
842
842
  status: z.ZodEnum<{
843
+ queued: "queued";
843
844
  ready: "ready";
845
+ failed: "failed";
844
846
  not_registered: "not_registered";
845
- queued: "queued";
846
847
  preparing: "preparing";
847
848
  syncing: "syncing";
848
849
  queryable_live: "queryable_live";
849
850
  queryable_partial: "queryable_partial";
850
- failed: "failed";
851
851
  }>;
852
852
  progress: z.ZodObject<{
853
853
  completed: z.ZodNumber;
@@ -857,10 +857,10 @@ declare const partnerLifecycleSiteSchema: z.ZodObject<{
857
857
  }, z.core.$strip>;
858
858
  queryable: z.ZodBoolean;
859
859
  sourceMode: z.ZodEnum<{
860
- none: "none";
861
- live: "live";
862
860
  d1: "d1";
863
861
  r2: "r2";
862
+ none: "none";
863
+ live: "live";
864
864
  mixed: "mixed";
865
865
  }>;
866
866
  syncedRange: z.ZodObject<{
@@ -875,10 +875,10 @@ declare const partnerLifecycleSiteSchema: z.ZodObject<{
875
875
  }, z.core.$loose>;
876
876
  sitemaps: z.ZodObject<{
877
877
  status: z.ZodEnum<{
878
+ unknown: "unknown";
878
879
  ready: "ready";
879
- syncing: "syncing";
880
880
  failed: "failed";
881
- unknown: "unknown";
881
+ syncing: "syncing";
882
882
  discovering: "discovering";
883
883
  none_found: "none_found";
884
884
  auto_submitted: "auto_submitted";
@@ -948,21 +948,21 @@ declare const partnerLifecycleResponseSchema: z.ZodObject<{
948
948
  partnerId: z.ZodNullable<z.ZodString>;
949
949
  account: z.ZodObject<{
950
950
  status: z.ZodEnum<{
951
+ ready: "ready";
952
+ reauth_required: "reauth_required";
951
953
  disconnected: "disconnected";
952
954
  oauth_received: "oauth_received";
953
955
  scope_missing: "scope_missing";
954
956
  refresh_missing: "refresh_missing";
955
957
  db_provisioning: "db_provisioning";
956
- ready: "ready";
957
- reauth_required: "reauth_required";
958
958
  }>;
959
959
  grantedScopes: z.ZodArray<z.ZodString>;
960
960
  missingScopes: z.ZodArray<z.ZodString>;
961
961
  nextAction: z.ZodEnum<{
962
- connect_google: "connect_google";
963
962
  reconnect_google: "reconnect_google";
964
- wait_for_provisioning: "wait_for_provisioning";
965
963
  none: "none";
964
+ connect_google: "connect_google";
965
+ wait_for_provisioning: "wait_for_provisioning";
966
966
  }>;
967
967
  }, z.core.$loose>;
968
968
  sites: z.ZodArray<z.ZodObject<{
@@ -990,14 +990,14 @@ declare const partnerLifecycleResponseSchema: z.ZodObject<{
990
990
  }, z.core.$loose>;
991
991
  analytics: z.ZodObject<{
992
992
  status: z.ZodEnum<{
993
+ queued: "queued";
993
994
  ready: "ready";
995
+ failed: "failed";
994
996
  not_registered: "not_registered";
995
- queued: "queued";
996
997
  preparing: "preparing";
997
998
  syncing: "syncing";
998
999
  queryable_live: "queryable_live";
999
1000
  queryable_partial: "queryable_partial";
1000
- failed: "failed";
1001
1001
  }>;
1002
1002
  progress: z.ZodObject<{
1003
1003
  completed: z.ZodNumber;
@@ -1007,10 +1007,10 @@ declare const partnerLifecycleResponseSchema: z.ZodObject<{
1007
1007
  }, z.core.$strip>;
1008
1008
  queryable: z.ZodBoolean;
1009
1009
  sourceMode: z.ZodEnum<{
1010
- none: "none";
1011
- live: "live";
1012
1010
  d1: "d1";
1013
1011
  r2: "r2";
1012
+ none: "none";
1013
+ live: "live";
1014
1014
  mixed: "mixed";
1015
1015
  }>;
1016
1016
  syncedRange: z.ZodObject<{
@@ -1025,10 +1025,10 @@ declare const partnerLifecycleResponseSchema: z.ZodObject<{
1025
1025
  }, z.core.$loose>;
1026
1026
  sitemaps: z.ZodObject<{
1027
1027
  status: z.ZodEnum<{
1028
+ unknown: "unknown";
1028
1029
  ready: "ready";
1029
- syncing: "syncing";
1030
1030
  failed: "failed";
1031
- unknown: "unknown";
1031
+ syncing: "syncing";
1032
1032
  discovering: "discovering";
1033
1033
  none_found: "none_found";
1034
1034
  auto_submitted: "auto_submitted";
@@ -1099,9 +1099,9 @@ declare const gscdumpAvailableSiteSchema: z.ZodObject<{
1099
1099
  registered: z.ZodBoolean;
1100
1100
  siteId: z.ZodOptional<z.ZodString>;
1101
1101
  syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1102
- syncing: "syncing";
1103
1102
  pending: "pending";
1104
1103
  error: "error";
1104
+ syncing: "syncing";
1105
1105
  synced: "synced";
1106
1106
  }>>>;
1107
1107
  syncProgress: z.ZodOptional<z.ZodObject<{
@@ -1118,9 +1118,9 @@ declare const gscdumpUserSiteSchema: z.ZodObject<{
1118
1118
  siteId: z.ZodString;
1119
1119
  siteUrl: z.ZodString;
1120
1120
  syncStatus: z.ZodEnum<{
1121
- syncing: "syncing";
1122
1121
  pending: "pending";
1123
1122
  error: "error";
1123
+ syncing: "syncing";
1124
1124
  synced: "synced";
1125
1125
  idle: "idle";
1126
1126
  }>;
@@ -1131,9 +1131,9 @@ declare const gscdumpUserSiteSchema: z.ZodObject<{
1131
1131
  declare const gscdumpSiteRegistrationSchema: z.ZodObject<{
1132
1132
  siteId: z.ZodString;
1133
1133
  status: z.ZodEnum<{
1134
- syncing: "syncing";
1135
1134
  pending: "pending";
1136
1135
  error: "error";
1136
+ syncing: "syncing";
1137
1137
  synced: "synced";
1138
1138
  idle: "idle";
1139
1139
  }>;
@@ -1191,6 +1191,14 @@ declare const bulkRegisterPartnerSitesSchema: z.ZodObject<{
1191
1191
  "site.auth.failed": "site.auth.failed";
1192
1192
  "job.failed": "job.failed";
1193
1193
  }>>>;
1194
+ enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1195
+ web: "web";
1196
+ image: "image";
1197
+ video: "video";
1198
+ news: "news";
1199
+ discover: "discover";
1200
+ googleNews: "googleNews";
1201
+ }>>>;
1194
1202
  }, z.core.$loose>>>;
1195
1203
  }, z.core.$strip>;
1196
1204
  declare const bulkRegisterPartnerSitesResponseSchema: z.ZodObject<{
@@ -1198,8 +1206,8 @@ declare const bulkRegisterPartnerSitesResponseSchema: z.ZodObject<{
1198
1206
  siteUrl: z.ZodString;
1199
1207
  siteId: z.ZodOptional<z.ZodString>;
1200
1208
  status: z.ZodEnum<{
1201
- registered: "registered";
1202
1209
  error: "error";
1210
+ registered: "registered";
1203
1211
  already_exists: "already_exists";
1204
1212
  not_found: "not_found";
1205
1213
  }>;
@@ -1567,19 +1575,19 @@ declare const gscdumpUserMeResponseSchema: z.ZodObject<{
1567
1575
  databaseReady: z.ZodBoolean;
1568
1576
  plan: z.ZodString;
1569
1577
  accountStatus: z.ZodEnum<{
1578
+ ready: "ready";
1579
+ reauth_required: "reauth_required";
1570
1580
  disconnected: "disconnected";
1571
1581
  oauth_received: "oauth_received";
1572
1582
  scope_missing: "scope_missing";
1573
1583
  refresh_missing: "refresh_missing";
1574
1584
  db_provisioning: "db_provisioning";
1575
- ready: "ready";
1576
- reauth_required: "reauth_required";
1577
1585
  }>;
1578
1586
  accountNextAction: z.ZodEnum<{
1579
- connect_google: "connect_google";
1580
1587
  reconnect_google: "reconnect_google";
1581
- wait_for_provisioning: "wait_for_provisioning";
1582
1588
  none: "none";
1589
+ connect_google: "connect_google";
1590
+ wait_for_provisioning: "wait_for_provisioning";
1583
1591
  }>;
1584
1592
  missingScopes: z.ZodArray<z.ZodString>;
1585
1593
  browserAnalyzerEnabled: z.ZodBoolean;
@@ -1679,8 +1687,8 @@ declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
1679
1687
  date: z.ZodString;
1680
1688
  status: z.ZodEnum<{
1681
1689
  queued: "queued";
1682
- failed: "failed";
1683
1690
  completed: "completed";
1691
+ failed: "failed";
1684
1692
  processing: "processing";
1685
1693
  }>;
1686
1694
  }, z.core.$loose>>;
@@ -1703,8 +1711,8 @@ declare const gscdumpSyncJobsResponseSchema: z.ZodObject<{
1703
1711
  priority: z.ZodOptional<z.ZodString>;
1704
1712
  status: z.ZodEnum<{
1705
1713
  queued: "queued";
1706
- failed: "failed";
1707
1714
  completed: "completed";
1715
+ failed: "failed";
1708
1716
  processing: "processing";
1709
1717
  scheduled: "scheduled";
1710
1718
  }>;
@@ -1765,9 +1773,63 @@ declare const gscdumpTopAssociationResponseSchema: z.ZodObject<{
1765
1773
  value: z.ZodNullable<z.ZodString>;
1766
1774
  }, z.core.$loose>;
1767
1775
  declare const gscdumpAnalysisSourcesResponseSchema: z.ZodObject<{
1768
- tables: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
1776
+ siteId: z.ZodString;
1777
+ searchType: z.ZodEnum<{
1778
+ web: "web";
1779
+ image: "image";
1780
+ video: "video";
1781
+ news: "news";
1782
+ discover: "discover";
1783
+ googleNews: "googleNews";
1784
+ }>;
1785
+ range: z.ZodObject<{
1786
+ start: z.ZodString;
1787
+ end: z.ZodString;
1788
+ }, z.core.$strip>;
1789
+ snapshotVersion: z.ZodString;
1769
1790
  generatedAt: z.ZodString;
1770
- manifestVersion: z.ZodString;
1791
+ tables: z.ZodArray<z.ZodObject<{
1792
+ table: z.ZodEnum<{
1793
+ pages: "pages";
1794
+ queries: "queries";
1795
+ countries: "countries";
1796
+ page_queries: "page_queries";
1797
+ dates: "dates";
1798
+ search_appearance: "search_appearance";
1799
+ search_appearance_pages: "search_appearance_pages";
1800
+ search_appearance_queries: "search_appearance_queries";
1801
+ search_appearance_page_queries: "search_appearance_page_queries";
1802
+ }>;
1803
+ mode: z.ZodEnum<{
1804
+ browser: "browser";
1805
+ server: "server";
1806
+ }>;
1807
+ files: z.ZodArray<z.ZodObject<{
1808
+ url: z.ZodString;
1809
+ bytes: z.ZodNumber;
1810
+ contentHash: z.ZodString;
1811
+ rowCount: z.ZodNumber;
1812
+ }, z.core.$loose>>;
1813
+ overlay: z.ZodOptional<z.ZodObject<{
1814
+ url: z.ZodString;
1815
+ bytes: z.ZodNumber;
1816
+ contentHash: z.ZodString;
1817
+ rowCount: z.ZodNumber;
1818
+ }, z.core.$loose>>;
1819
+ totalBytes: z.ZodNumber;
1820
+ totalRows: z.ZodNumber;
1821
+ }, z.core.$loose>>;
1822
+ serverTail: z.ZodOptional<z.ZodObject<{
1823
+ engine: z.ZodEnum<{
1824
+ "r2-sql": "r2-sql";
1825
+ duckdb: "duckdb";
1826
+ }>;
1827
+ endpoint: z.ZodString;
1828
+ }, z.core.$strip>>;
1829
+ eligibilityCeiling: z.ZodObject<{
1830
+ maxBytes: z.ZodNumber;
1831
+ maxRows: z.ZodNumber;
1832
+ }, z.core.$strip>;
1771
1833
  }, z.core.$loose>;
1772
1834
  declare const gscdumpKeywordSparklinesParamsSchema: z.ZodObject<{
1773
1835
  keywords: z.ZodArray<z.ZodString>;
@@ -2462,9 +2524,63 @@ declare const analyticsEndpointSchemas: {
2462
2524
  };
2463
2525
  readonly analyticsAnalysisSources: {
2464
2526
  readonly response: z.ZodObject<{
2465
- tables: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
2527
+ siteId: z.ZodString;
2528
+ searchType: z.ZodEnum<{
2529
+ web: "web";
2530
+ image: "image";
2531
+ video: "video";
2532
+ news: "news";
2533
+ discover: "discover";
2534
+ googleNews: "googleNews";
2535
+ }>;
2536
+ range: z.ZodObject<{
2537
+ start: z.ZodString;
2538
+ end: z.ZodString;
2539
+ }, z.core.$strip>;
2540
+ snapshotVersion: z.ZodString;
2466
2541
  generatedAt: z.ZodString;
2467
- manifestVersion: z.ZodString;
2542
+ tables: z.ZodArray<z.ZodObject<{
2543
+ table: z.ZodEnum<{
2544
+ pages: "pages";
2545
+ queries: "queries";
2546
+ countries: "countries";
2547
+ page_queries: "page_queries";
2548
+ dates: "dates";
2549
+ search_appearance: "search_appearance";
2550
+ search_appearance_pages: "search_appearance_pages";
2551
+ search_appearance_queries: "search_appearance_queries";
2552
+ search_appearance_page_queries: "search_appearance_page_queries";
2553
+ }>;
2554
+ mode: z.ZodEnum<{
2555
+ browser: "browser";
2556
+ server: "server";
2557
+ }>;
2558
+ files: z.ZodArray<z.ZodObject<{
2559
+ url: z.ZodString;
2560
+ bytes: z.ZodNumber;
2561
+ contentHash: z.ZodString;
2562
+ rowCount: z.ZodNumber;
2563
+ }, z.core.$loose>>;
2564
+ overlay: z.ZodOptional<z.ZodObject<{
2565
+ url: z.ZodString;
2566
+ bytes: z.ZodNumber;
2567
+ contentHash: z.ZodString;
2568
+ rowCount: z.ZodNumber;
2569
+ }, z.core.$loose>>;
2570
+ totalBytes: z.ZodNumber;
2571
+ totalRows: z.ZodNumber;
2572
+ }, z.core.$loose>>;
2573
+ serverTail: z.ZodOptional<z.ZodObject<{
2574
+ engine: z.ZodEnum<{
2575
+ "r2-sql": "r2-sql";
2576
+ duckdb: "duckdb";
2577
+ }>;
2578
+ endpoint: z.ZodString;
2579
+ }, z.core.$strip>>;
2580
+ eligibilityCeiling: z.ZodObject<{
2581
+ maxBytes: z.ZodNumber;
2582
+ maxRows: z.ZodNumber;
2583
+ }, z.core.$strip>;
2468
2584
  }, z.core.$loose>;
2469
2585
  };
2470
2586
  readonly analyticsSourceInfo: {
@@ -2494,19 +2610,19 @@ declare const partnerControlEndpointSchemas: {
2494
2610
  databaseReady: z.ZodBoolean;
2495
2611
  plan: z.ZodString;
2496
2612
  accountStatus: z.ZodEnum<{
2613
+ ready: "ready";
2614
+ reauth_required: "reauth_required";
2497
2615
  disconnected: "disconnected";
2498
2616
  oauth_received: "oauth_received";
2499
2617
  scope_missing: "scope_missing";
2500
2618
  refresh_missing: "refresh_missing";
2501
2619
  db_provisioning: "db_provisioning";
2502
- ready: "ready";
2503
- reauth_required: "reauth_required";
2504
2620
  }>;
2505
2621
  accountNextAction: z.ZodEnum<{
2506
- connect_google: "connect_google";
2507
2622
  reconnect_google: "reconnect_google";
2508
- wait_for_provisioning: "wait_for_provisioning";
2509
2623
  none: "none";
2624
+ connect_google: "connect_google";
2625
+ wait_for_provisioning: "wait_for_provisioning";
2510
2626
  }>;
2511
2627
  missingScopes: z.ZodArray<z.ZodString>;
2512
2628
  browserAnalyzerEnabled: z.ZodBoolean;
@@ -2610,8 +2726,8 @@ declare const partnerControlEndpointSchemas: {
2610
2726
  date: z.ZodString;
2611
2727
  status: z.ZodEnum<{
2612
2728
  queued: "queued";
2613
- failed: "failed";
2614
2729
  completed: "completed";
2730
+ failed: "failed";
2615
2731
  processing: "processing";
2616
2732
  }>;
2617
2733
  }, z.core.$loose>>;
@@ -2636,8 +2752,8 @@ declare const partnerControlEndpointSchemas: {
2636
2752
  priority: z.ZodOptional<z.ZodString>;
2637
2753
  status: z.ZodEnum<{
2638
2754
  queued: "queued";
2639
- failed: "failed";
2640
2755
  completed: "completed";
2756
+ failed: "failed";
2641
2757
  processing: "processing";
2642
2758
  scheduled: "scheduled";
2643
2759
  }>;
@@ -2691,8 +2807,8 @@ declare const partnerControlEndpointSchemas: {
2691
2807
  apiKey: z.ZodOptional<z.ZodString>;
2692
2808
  isNew: z.ZodOptional<z.ZodBoolean>;
2693
2809
  status: z.ZodOptional<z.ZodEnum<{
2694
- ready: "ready";
2695
2810
  provisioning: "provisioning";
2811
+ ready: "ready";
2696
2812
  }>>;
2697
2813
  }, z.core.$loose>;
2698
2814
  };
@@ -2711,9 +2827,9 @@ declare const partnerControlEndpointSchemas: {
2711
2827
  registered: z.ZodBoolean;
2712
2828
  siteId: z.ZodOptional<z.ZodString>;
2713
2829
  syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2714
- syncing: "syncing";
2715
2830
  pending: "pending";
2716
2831
  error: "error";
2832
+ syncing: "syncing";
2717
2833
  synced: "synced";
2718
2834
  }>>>;
2719
2835
  syncProgress: z.ZodOptional<z.ZodObject<{
@@ -2732,9 +2848,9 @@ declare const partnerControlEndpointSchemas: {
2732
2848
  readonly response: z.ZodObject<{
2733
2849
  userId: z.ZodString;
2734
2850
  status: z.ZodEnum<{
2851
+ provisioning: "provisioning";
2735
2852
  ready: "ready";
2736
2853
  reauth_required: "reauth_required";
2737
- provisioning: "provisioning";
2738
2854
  }>;
2739
2855
  databaseReady: z.ZodOptional<z.ZodBoolean>;
2740
2856
  needsReauth: z.ZodOptional<z.ZodBoolean>;
@@ -2755,21 +2871,21 @@ declare const partnerControlEndpointSchemas: {
2755
2871
  partnerId: z.ZodNullable<z.ZodString>;
2756
2872
  account: z.ZodObject<{
2757
2873
  status: z.ZodEnum<{
2874
+ ready: "ready";
2875
+ reauth_required: "reauth_required";
2758
2876
  disconnected: "disconnected";
2759
2877
  oauth_received: "oauth_received";
2760
2878
  scope_missing: "scope_missing";
2761
2879
  refresh_missing: "refresh_missing";
2762
2880
  db_provisioning: "db_provisioning";
2763
- ready: "ready";
2764
- reauth_required: "reauth_required";
2765
2881
  }>;
2766
2882
  grantedScopes: z.ZodArray<z.ZodString>;
2767
2883
  missingScopes: z.ZodArray<z.ZodString>;
2768
2884
  nextAction: z.ZodEnum<{
2769
- connect_google: "connect_google";
2770
2885
  reconnect_google: "reconnect_google";
2771
- wait_for_provisioning: "wait_for_provisioning";
2772
2886
  none: "none";
2887
+ connect_google: "connect_google";
2888
+ wait_for_provisioning: "wait_for_provisioning";
2773
2889
  }>;
2774
2890
  }, z.core.$loose>;
2775
2891
  sites: z.ZodArray<z.ZodObject<{
@@ -2797,14 +2913,14 @@ declare const partnerControlEndpointSchemas: {
2797
2913
  }, z.core.$loose>;
2798
2914
  analytics: z.ZodObject<{
2799
2915
  status: z.ZodEnum<{
2916
+ queued: "queued";
2800
2917
  ready: "ready";
2918
+ failed: "failed";
2801
2919
  not_registered: "not_registered";
2802
- queued: "queued";
2803
2920
  preparing: "preparing";
2804
2921
  syncing: "syncing";
2805
2922
  queryable_live: "queryable_live";
2806
2923
  queryable_partial: "queryable_partial";
2807
- failed: "failed";
2808
2924
  }>;
2809
2925
  progress: z.ZodObject<{
2810
2926
  completed: z.ZodNumber;
@@ -2814,10 +2930,10 @@ declare const partnerControlEndpointSchemas: {
2814
2930
  }, z.core.$strip>;
2815
2931
  queryable: z.ZodBoolean;
2816
2932
  sourceMode: z.ZodEnum<{
2817
- none: "none";
2818
- live: "live";
2819
2933
  d1: "d1";
2820
2934
  r2: "r2";
2935
+ none: "none";
2936
+ live: "live";
2821
2937
  mixed: "mixed";
2822
2938
  }>;
2823
2939
  syncedRange: z.ZodObject<{
@@ -2832,10 +2948,10 @@ declare const partnerControlEndpointSchemas: {
2832
2948
  }, z.core.$loose>;
2833
2949
  sitemaps: z.ZodObject<{
2834
2950
  status: z.ZodEnum<{
2951
+ unknown: "unknown";
2835
2952
  ready: "ready";
2836
- syncing: "syncing";
2837
2953
  failed: "failed";
2838
- unknown: "unknown";
2954
+ syncing: "syncing";
2839
2955
  discovering: "discovering";
2840
2956
  none_found: "none_found";
2841
2957
  auto_submitted: "auto_submitted";
@@ -2907,9 +3023,9 @@ declare const partnerControlEndpointSchemas: {
2907
3023
  siteId: z.ZodString;
2908
3024
  siteUrl: z.ZodString;
2909
3025
  syncStatus: z.ZodEnum<{
2910
- syncing: "syncing";
2911
3026
  pending: "pending";
2912
3027
  error: "error";
3028
+ syncing: "syncing";
2913
3029
  synced: "synced";
2914
3030
  idle: "idle";
2915
3031
  }>;
@@ -2927,9 +3043,9 @@ declare const partnerControlEndpointSchemas: {
2927
3043
  registered: z.ZodBoolean;
2928
3044
  siteId: z.ZodOptional<z.ZodString>;
2929
3045
  syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2930
- syncing: "syncing";
2931
3046
  pending: "pending";
2932
3047
  error: "error";
3048
+ syncing: "syncing";
2933
3049
  synced: "synced";
2934
3050
  }>>>;
2935
3051
  syncProgress: z.ZodOptional<z.ZodObject<{
@@ -2974,9 +3090,9 @@ declare const partnerControlEndpointSchemas: {
2974
3090
  readonly response: z.ZodObject<{
2975
3091
  siteId: z.ZodString;
2976
3092
  status: z.ZodEnum<{
2977
- syncing: "syncing";
2978
3093
  pending: "pending";
2979
3094
  error: "error";
3095
+ syncing: "syncing";
2980
3096
  synced: "synced";
2981
3097
  idle: "idle";
2982
3098
  }>;
@@ -3010,6 +3126,14 @@ declare const partnerControlEndpointSchemas: {
3010
3126
  "site.auth.failed": "site.auth.failed";
3011
3127
  "job.failed": "job.failed";
3012
3128
  }>>>;
3129
+ enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3130
+ web: "web";
3131
+ image: "image";
3132
+ video: "video";
3133
+ news: "news";
3134
+ discover: "discover";
3135
+ googleNews: "googleNews";
3136
+ }>>>;
3013
3137
  }, z.core.$loose>>>;
3014
3138
  }, z.core.$strip>;
3015
3139
  readonly response: z.ZodObject<{
@@ -3017,8 +3141,8 @@ declare const partnerControlEndpointSchemas: {
3017
3141
  siteUrl: z.ZodString;
3018
3142
  siteId: z.ZodOptional<z.ZodString>;
3019
3143
  status: z.ZodEnum<{
3020
- registered: "registered";
3021
3144
  error: "error";
3145
+ registered: "registered";
3022
3146
  already_exists: "already_exists";
3023
3147
  not_found: "not_found";
3024
3148
  }>;
@@ -3050,9 +3174,63 @@ declare const partnerControlEndpointSchemas: {
3050
3174
  };
3051
3175
  readonly getAnalysisSources: {
3052
3176
  readonly response: z.ZodObject<{
3053
- tables: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
3177
+ siteId: z.ZodString;
3178
+ searchType: z.ZodEnum<{
3179
+ web: "web";
3180
+ image: "image";
3181
+ video: "video";
3182
+ news: "news";
3183
+ discover: "discover";
3184
+ googleNews: "googleNews";
3185
+ }>;
3186
+ range: z.ZodObject<{
3187
+ start: z.ZodString;
3188
+ end: z.ZodString;
3189
+ }, z.core.$strip>;
3190
+ snapshotVersion: z.ZodString;
3054
3191
  generatedAt: z.ZodString;
3055
- manifestVersion: z.ZodString;
3192
+ tables: z.ZodArray<z.ZodObject<{
3193
+ table: z.ZodEnum<{
3194
+ pages: "pages";
3195
+ queries: "queries";
3196
+ countries: "countries";
3197
+ page_queries: "page_queries";
3198
+ dates: "dates";
3199
+ search_appearance: "search_appearance";
3200
+ search_appearance_pages: "search_appearance_pages";
3201
+ search_appearance_queries: "search_appearance_queries";
3202
+ search_appearance_page_queries: "search_appearance_page_queries";
3203
+ }>;
3204
+ mode: z.ZodEnum<{
3205
+ browser: "browser";
3206
+ server: "server";
3207
+ }>;
3208
+ files: z.ZodArray<z.ZodObject<{
3209
+ url: z.ZodString;
3210
+ bytes: z.ZodNumber;
3211
+ contentHash: z.ZodString;
3212
+ rowCount: z.ZodNumber;
3213
+ }, z.core.$loose>>;
3214
+ overlay: z.ZodOptional<z.ZodObject<{
3215
+ url: z.ZodString;
3216
+ bytes: z.ZodNumber;
3217
+ contentHash: z.ZodString;
3218
+ rowCount: z.ZodNumber;
3219
+ }, z.core.$loose>>;
3220
+ totalBytes: z.ZodNumber;
3221
+ totalRows: z.ZodNumber;
3222
+ }, z.core.$loose>>;
3223
+ serverTail: z.ZodOptional<z.ZodObject<{
3224
+ engine: z.ZodEnum<{
3225
+ "r2-sql": "r2-sql";
3226
+ duckdb: "duckdb";
3227
+ }>;
3228
+ endpoint: z.ZodString;
3229
+ }, z.core.$strip>>;
3230
+ eligibilityCeiling: z.ZodObject<{
3231
+ maxBytes: z.ZodNumber;
3232
+ maxRows: z.ZodNumber;
3233
+ }, z.core.$strip>;
3056
3234
  }, z.core.$loose>;
3057
3235
  };
3058
3236
  readonly getData: {
@@ -3930,19 +4108,19 @@ declare const partnerEndpointSchemas: {
3930
4108
  databaseReady: z.ZodBoolean;
3931
4109
  plan: z.ZodString;
3932
4110
  accountStatus: z.ZodEnum<{
4111
+ ready: "ready";
4112
+ reauth_required: "reauth_required";
3933
4113
  disconnected: "disconnected";
3934
4114
  oauth_received: "oauth_received";
3935
4115
  scope_missing: "scope_missing";
3936
4116
  refresh_missing: "refresh_missing";
3937
4117
  db_provisioning: "db_provisioning";
3938
- ready: "ready";
3939
- reauth_required: "reauth_required";
3940
4118
  }>;
3941
4119
  accountNextAction: z.ZodEnum<{
3942
- connect_google: "connect_google";
3943
4120
  reconnect_google: "reconnect_google";
3944
- wait_for_provisioning: "wait_for_provisioning";
3945
4121
  none: "none";
4122
+ connect_google: "connect_google";
4123
+ wait_for_provisioning: "wait_for_provisioning";
3946
4124
  }>;
3947
4125
  missingScopes: z.ZodArray<z.ZodString>;
3948
4126
  browserAnalyzerEnabled: z.ZodBoolean;
@@ -4046,8 +4224,8 @@ declare const partnerEndpointSchemas: {
4046
4224
  date: z.ZodString;
4047
4225
  status: z.ZodEnum<{
4048
4226
  queued: "queued";
4049
- failed: "failed";
4050
4227
  completed: "completed";
4228
+ failed: "failed";
4051
4229
  processing: "processing";
4052
4230
  }>;
4053
4231
  }, z.core.$loose>>;
@@ -4072,8 +4250,8 @@ declare const partnerEndpointSchemas: {
4072
4250
  priority: z.ZodOptional<z.ZodString>;
4073
4251
  status: z.ZodEnum<{
4074
4252
  queued: "queued";
4075
- failed: "failed";
4076
4253
  completed: "completed";
4254
+ failed: "failed";
4077
4255
  processing: "processing";
4078
4256
  scheduled: "scheduled";
4079
4257
  }>;
@@ -4127,8 +4305,8 @@ declare const partnerEndpointSchemas: {
4127
4305
  apiKey: z.ZodOptional<z.ZodString>;
4128
4306
  isNew: z.ZodOptional<z.ZodBoolean>;
4129
4307
  status: z.ZodOptional<z.ZodEnum<{
4130
- ready: "ready";
4131
4308
  provisioning: "provisioning";
4309
+ ready: "ready";
4132
4310
  }>>;
4133
4311
  }, z.core.$loose>;
4134
4312
  };
@@ -4147,9 +4325,9 @@ declare const partnerEndpointSchemas: {
4147
4325
  registered: z.ZodBoolean;
4148
4326
  siteId: z.ZodOptional<z.ZodString>;
4149
4327
  syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4150
- syncing: "syncing";
4151
4328
  pending: "pending";
4152
4329
  error: "error";
4330
+ syncing: "syncing";
4153
4331
  synced: "synced";
4154
4332
  }>>>;
4155
4333
  syncProgress: z.ZodOptional<z.ZodObject<{
@@ -4168,9 +4346,9 @@ declare const partnerEndpointSchemas: {
4168
4346
  readonly response: z.ZodObject<{
4169
4347
  userId: z.ZodString;
4170
4348
  status: z.ZodEnum<{
4349
+ provisioning: "provisioning";
4171
4350
  ready: "ready";
4172
4351
  reauth_required: "reauth_required";
4173
- provisioning: "provisioning";
4174
4352
  }>;
4175
4353
  databaseReady: z.ZodOptional<z.ZodBoolean>;
4176
4354
  needsReauth: z.ZodOptional<z.ZodBoolean>;
@@ -4191,21 +4369,21 @@ declare const partnerEndpointSchemas: {
4191
4369
  partnerId: z.ZodNullable<z.ZodString>;
4192
4370
  account: z.ZodObject<{
4193
4371
  status: z.ZodEnum<{
4372
+ ready: "ready";
4373
+ reauth_required: "reauth_required";
4194
4374
  disconnected: "disconnected";
4195
4375
  oauth_received: "oauth_received";
4196
4376
  scope_missing: "scope_missing";
4197
4377
  refresh_missing: "refresh_missing";
4198
4378
  db_provisioning: "db_provisioning";
4199
- ready: "ready";
4200
- reauth_required: "reauth_required";
4201
4379
  }>;
4202
4380
  grantedScopes: z.ZodArray<z.ZodString>;
4203
4381
  missingScopes: z.ZodArray<z.ZodString>;
4204
4382
  nextAction: z.ZodEnum<{
4205
- connect_google: "connect_google";
4206
4383
  reconnect_google: "reconnect_google";
4207
- wait_for_provisioning: "wait_for_provisioning";
4208
4384
  none: "none";
4385
+ connect_google: "connect_google";
4386
+ wait_for_provisioning: "wait_for_provisioning";
4209
4387
  }>;
4210
4388
  }, z.core.$loose>;
4211
4389
  sites: z.ZodArray<z.ZodObject<{
@@ -4233,14 +4411,14 @@ declare const partnerEndpointSchemas: {
4233
4411
  }, z.core.$loose>;
4234
4412
  analytics: z.ZodObject<{
4235
4413
  status: z.ZodEnum<{
4414
+ queued: "queued";
4236
4415
  ready: "ready";
4416
+ failed: "failed";
4237
4417
  not_registered: "not_registered";
4238
- queued: "queued";
4239
4418
  preparing: "preparing";
4240
4419
  syncing: "syncing";
4241
4420
  queryable_live: "queryable_live";
4242
4421
  queryable_partial: "queryable_partial";
4243
- failed: "failed";
4244
4422
  }>;
4245
4423
  progress: z.ZodObject<{
4246
4424
  completed: z.ZodNumber;
@@ -4250,10 +4428,10 @@ declare const partnerEndpointSchemas: {
4250
4428
  }, z.core.$strip>;
4251
4429
  queryable: z.ZodBoolean;
4252
4430
  sourceMode: z.ZodEnum<{
4253
- none: "none";
4254
- live: "live";
4255
4431
  d1: "d1";
4256
4432
  r2: "r2";
4433
+ none: "none";
4434
+ live: "live";
4257
4435
  mixed: "mixed";
4258
4436
  }>;
4259
4437
  syncedRange: z.ZodObject<{
@@ -4268,10 +4446,10 @@ declare const partnerEndpointSchemas: {
4268
4446
  }, z.core.$loose>;
4269
4447
  sitemaps: z.ZodObject<{
4270
4448
  status: z.ZodEnum<{
4449
+ unknown: "unknown";
4271
4450
  ready: "ready";
4272
- syncing: "syncing";
4273
4451
  failed: "failed";
4274
- unknown: "unknown";
4452
+ syncing: "syncing";
4275
4453
  discovering: "discovering";
4276
4454
  none_found: "none_found";
4277
4455
  auto_submitted: "auto_submitted";
@@ -4343,9 +4521,9 @@ declare const partnerEndpointSchemas: {
4343
4521
  siteId: z.ZodString;
4344
4522
  siteUrl: z.ZodString;
4345
4523
  syncStatus: z.ZodEnum<{
4346
- syncing: "syncing";
4347
4524
  pending: "pending";
4348
4525
  error: "error";
4526
+ syncing: "syncing";
4349
4527
  synced: "synced";
4350
4528
  idle: "idle";
4351
4529
  }>;
@@ -4363,9 +4541,9 @@ declare const partnerEndpointSchemas: {
4363
4541
  registered: z.ZodBoolean;
4364
4542
  siteId: z.ZodOptional<z.ZodString>;
4365
4543
  syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4366
- syncing: "syncing";
4367
4544
  pending: "pending";
4368
4545
  error: "error";
4546
+ syncing: "syncing";
4369
4547
  synced: "synced";
4370
4548
  }>>>;
4371
4549
  syncProgress: z.ZodOptional<z.ZodObject<{
@@ -4410,9 +4588,9 @@ declare const partnerEndpointSchemas: {
4410
4588
  readonly response: z.ZodObject<{
4411
4589
  siteId: z.ZodString;
4412
4590
  status: z.ZodEnum<{
4413
- syncing: "syncing";
4414
4591
  pending: "pending";
4415
4592
  error: "error";
4593
+ syncing: "syncing";
4416
4594
  synced: "synced";
4417
4595
  idle: "idle";
4418
4596
  }>;
@@ -4446,6 +4624,14 @@ declare const partnerEndpointSchemas: {
4446
4624
  "site.auth.failed": "site.auth.failed";
4447
4625
  "job.failed": "job.failed";
4448
4626
  }>>>;
4627
+ enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4628
+ web: "web";
4629
+ image: "image";
4630
+ video: "video";
4631
+ news: "news";
4632
+ discover: "discover";
4633
+ googleNews: "googleNews";
4634
+ }>>>;
4449
4635
  }, z.core.$loose>>>;
4450
4636
  }, z.core.$strip>;
4451
4637
  readonly response: z.ZodObject<{
@@ -4453,8 +4639,8 @@ declare const partnerEndpointSchemas: {
4453
4639
  siteUrl: z.ZodString;
4454
4640
  siteId: z.ZodOptional<z.ZodString>;
4455
4641
  status: z.ZodEnum<{
4456
- registered: "registered";
4457
4642
  error: "error";
4643
+ registered: "registered";
4458
4644
  already_exists: "already_exists";
4459
4645
  not_found: "not_found";
4460
4646
  }>;
@@ -4486,9 +4672,63 @@ declare const partnerEndpointSchemas: {
4486
4672
  };
4487
4673
  readonly getAnalysisSources: {
4488
4674
  readonly response: z.ZodObject<{
4489
- tables: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
4675
+ siteId: z.ZodString;
4676
+ searchType: z.ZodEnum<{
4677
+ web: "web";
4678
+ image: "image";
4679
+ video: "video";
4680
+ news: "news";
4681
+ discover: "discover";
4682
+ googleNews: "googleNews";
4683
+ }>;
4684
+ range: z.ZodObject<{
4685
+ start: z.ZodString;
4686
+ end: z.ZodString;
4687
+ }, z.core.$strip>;
4688
+ snapshotVersion: z.ZodString;
4490
4689
  generatedAt: z.ZodString;
4491
- manifestVersion: z.ZodString;
4690
+ tables: z.ZodArray<z.ZodObject<{
4691
+ table: z.ZodEnum<{
4692
+ pages: "pages";
4693
+ queries: "queries";
4694
+ countries: "countries";
4695
+ page_queries: "page_queries";
4696
+ dates: "dates";
4697
+ search_appearance: "search_appearance";
4698
+ search_appearance_pages: "search_appearance_pages";
4699
+ search_appearance_queries: "search_appearance_queries";
4700
+ search_appearance_page_queries: "search_appearance_page_queries";
4701
+ }>;
4702
+ mode: z.ZodEnum<{
4703
+ browser: "browser";
4704
+ server: "server";
4705
+ }>;
4706
+ files: z.ZodArray<z.ZodObject<{
4707
+ url: z.ZodString;
4708
+ bytes: z.ZodNumber;
4709
+ contentHash: z.ZodString;
4710
+ rowCount: z.ZodNumber;
4711
+ }, z.core.$loose>>;
4712
+ overlay: z.ZodOptional<z.ZodObject<{
4713
+ url: z.ZodString;
4714
+ bytes: z.ZodNumber;
4715
+ contentHash: z.ZodString;
4716
+ rowCount: z.ZodNumber;
4717
+ }, z.core.$loose>>;
4718
+ totalBytes: z.ZodNumber;
4719
+ totalRows: z.ZodNumber;
4720
+ }, z.core.$loose>>;
4721
+ serverTail: z.ZodOptional<z.ZodObject<{
4722
+ engine: z.ZodEnum<{
4723
+ "r2-sql": "r2-sql";
4724
+ duckdb: "duckdb";
4725
+ }>;
4726
+ endpoint: z.ZodString;
4727
+ }, z.core.$strip>>;
4728
+ eligibilityCeiling: z.ZodObject<{
4729
+ maxBytes: z.ZodNumber;
4730
+ maxRows: z.ZodNumber;
4731
+ }, z.core.$strip>;
4492
4732
  }, z.core.$loose>;
4493
4733
  };
4494
4734
  readonly getData: {
@@ -5700,9 +5940,63 @@ declare const partnerEndpointSchemas: {
5700
5940
  };
5701
5941
  readonly analyticsAnalysisSources: {
5702
5942
  readonly response: z.ZodObject<{
5703
- tables: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
5943
+ siteId: z.ZodString;
5944
+ searchType: z.ZodEnum<{
5945
+ web: "web";
5946
+ image: "image";
5947
+ video: "video";
5948
+ news: "news";
5949
+ discover: "discover";
5950
+ googleNews: "googleNews";
5951
+ }>;
5952
+ range: z.ZodObject<{
5953
+ start: z.ZodString;
5954
+ end: z.ZodString;
5955
+ }, z.core.$strip>;
5956
+ snapshotVersion: z.ZodString;
5704
5957
  generatedAt: z.ZodString;
5705
- manifestVersion: z.ZodString;
5958
+ tables: z.ZodArray<z.ZodObject<{
5959
+ table: z.ZodEnum<{
5960
+ pages: "pages";
5961
+ queries: "queries";
5962
+ countries: "countries";
5963
+ page_queries: "page_queries";
5964
+ dates: "dates";
5965
+ search_appearance: "search_appearance";
5966
+ search_appearance_pages: "search_appearance_pages";
5967
+ search_appearance_queries: "search_appearance_queries";
5968
+ search_appearance_page_queries: "search_appearance_page_queries";
5969
+ }>;
5970
+ mode: z.ZodEnum<{
5971
+ browser: "browser";
5972
+ server: "server";
5973
+ }>;
5974
+ files: z.ZodArray<z.ZodObject<{
5975
+ url: z.ZodString;
5976
+ bytes: z.ZodNumber;
5977
+ contentHash: z.ZodString;
5978
+ rowCount: z.ZodNumber;
5979
+ }, z.core.$loose>>;
5980
+ overlay: z.ZodOptional<z.ZodObject<{
5981
+ url: z.ZodString;
5982
+ bytes: z.ZodNumber;
5983
+ contentHash: z.ZodString;
5984
+ rowCount: z.ZodNumber;
5985
+ }, z.core.$loose>>;
5986
+ totalBytes: z.ZodNumber;
5987
+ totalRows: z.ZodNumber;
5988
+ }, z.core.$loose>>;
5989
+ serverTail: z.ZodOptional<z.ZodObject<{
5990
+ engine: z.ZodEnum<{
5991
+ "r2-sql": "r2-sql";
5992
+ duckdb: "duckdb";
5993
+ }>;
5994
+ endpoint: z.ZodString;
5995
+ }, z.core.$strip>>;
5996
+ eligibilityCeiling: z.ZodObject<{
5997
+ maxBytes: z.ZodNumber;
5998
+ maxRows: z.ZodNumber;
5999
+ }, z.core.$strip>;
5706
6000
  }, z.core.$loose>;
5707
6001
  };
5708
6002
  readonly analyticsSourceInfo: {