@gscdump/contracts 0.33.5 → 0.33.6

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
  }>;
@@ -1206,8 +1206,8 @@ declare const bulkRegisterPartnerSitesResponseSchema: z.ZodObject<{
1206
1206
  siteUrl: z.ZodString;
1207
1207
  siteId: z.ZodOptional<z.ZodString>;
1208
1208
  status: z.ZodEnum<{
1209
- registered: "registered";
1210
1209
  error: "error";
1210
+ registered: "registered";
1211
1211
  already_exists: "already_exists";
1212
1212
  not_found: "not_found";
1213
1213
  }>;
@@ -1405,6 +1405,7 @@ declare const indexingUrlsParamsSchema: z.ZodOptional<z.ZodObject<{
1405
1405
  }>>;
1406
1406
  issue: z.ZodOptional<z.ZodString>;
1407
1407
  search: z.ZodOptional<z.ZodString>;
1408
+ count: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<false>]>>;
1408
1409
  }, z.core.$strip>>;
1409
1410
  declare const indexingDiagnosticsParamsSchema: z.ZodOptional<z.ZodObject<{
1410
1411
  sampleIssues: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
@@ -1575,19 +1576,19 @@ declare const gscdumpUserMeResponseSchema: z.ZodObject<{
1575
1576
  databaseReady: z.ZodBoolean;
1576
1577
  plan: z.ZodString;
1577
1578
  accountStatus: z.ZodEnum<{
1579
+ ready: "ready";
1580
+ reauth_required: "reauth_required";
1578
1581
  disconnected: "disconnected";
1579
1582
  oauth_received: "oauth_received";
1580
1583
  scope_missing: "scope_missing";
1581
1584
  refresh_missing: "refresh_missing";
1582
1585
  db_provisioning: "db_provisioning";
1583
- ready: "ready";
1584
- reauth_required: "reauth_required";
1585
1586
  }>;
1586
1587
  accountNextAction: z.ZodEnum<{
1587
- connect_google: "connect_google";
1588
1588
  reconnect_google: "reconnect_google";
1589
- wait_for_provisioning: "wait_for_provisioning";
1590
1589
  none: "none";
1590
+ connect_google: "connect_google";
1591
+ wait_for_provisioning: "wait_for_provisioning";
1591
1592
  }>;
1592
1593
  missingScopes: z.ZodArray<z.ZodString>;
1593
1594
  browserAnalyzerEnabled: z.ZodBoolean;
@@ -1687,8 +1688,8 @@ declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
1687
1688
  date: z.ZodString;
1688
1689
  status: z.ZodEnum<{
1689
1690
  queued: "queued";
1690
- failed: "failed";
1691
1691
  completed: "completed";
1692
+ failed: "failed";
1692
1693
  processing: "processing";
1693
1694
  }>;
1694
1695
  }, z.core.$loose>>;
@@ -1711,8 +1712,8 @@ declare const gscdumpSyncJobsResponseSchema: z.ZodObject<{
1711
1712
  priority: z.ZodOptional<z.ZodString>;
1712
1713
  status: z.ZodEnum<{
1713
1714
  queued: "queued";
1714
- failed: "failed";
1715
1715
  completed: "completed";
1716
+ failed: "failed";
1716
1717
  processing: "processing";
1717
1718
  scheduled: "scheduled";
1718
1719
  }>;
@@ -2610,19 +2611,19 @@ declare const partnerControlEndpointSchemas: {
2610
2611
  databaseReady: z.ZodBoolean;
2611
2612
  plan: z.ZodString;
2612
2613
  accountStatus: z.ZodEnum<{
2614
+ ready: "ready";
2615
+ reauth_required: "reauth_required";
2613
2616
  disconnected: "disconnected";
2614
2617
  oauth_received: "oauth_received";
2615
2618
  scope_missing: "scope_missing";
2616
2619
  refresh_missing: "refresh_missing";
2617
2620
  db_provisioning: "db_provisioning";
2618
- ready: "ready";
2619
- reauth_required: "reauth_required";
2620
2621
  }>;
2621
2622
  accountNextAction: z.ZodEnum<{
2622
- connect_google: "connect_google";
2623
2623
  reconnect_google: "reconnect_google";
2624
- wait_for_provisioning: "wait_for_provisioning";
2625
2624
  none: "none";
2625
+ connect_google: "connect_google";
2626
+ wait_for_provisioning: "wait_for_provisioning";
2626
2627
  }>;
2627
2628
  missingScopes: z.ZodArray<z.ZodString>;
2628
2629
  browserAnalyzerEnabled: z.ZodBoolean;
@@ -2726,8 +2727,8 @@ declare const partnerControlEndpointSchemas: {
2726
2727
  date: z.ZodString;
2727
2728
  status: z.ZodEnum<{
2728
2729
  queued: "queued";
2729
- failed: "failed";
2730
2730
  completed: "completed";
2731
+ failed: "failed";
2731
2732
  processing: "processing";
2732
2733
  }>;
2733
2734
  }, z.core.$loose>>;
@@ -2752,8 +2753,8 @@ declare const partnerControlEndpointSchemas: {
2752
2753
  priority: z.ZodOptional<z.ZodString>;
2753
2754
  status: z.ZodEnum<{
2754
2755
  queued: "queued";
2755
- failed: "failed";
2756
2756
  completed: "completed";
2757
+ failed: "failed";
2757
2758
  processing: "processing";
2758
2759
  scheduled: "scheduled";
2759
2760
  }>;
@@ -2807,8 +2808,8 @@ declare const partnerControlEndpointSchemas: {
2807
2808
  apiKey: z.ZodOptional<z.ZodString>;
2808
2809
  isNew: z.ZodOptional<z.ZodBoolean>;
2809
2810
  status: z.ZodOptional<z.ZodEnum<{
2810
- ready: "ready";
2811
2811
  provisioning: "provisioning";
2812
+ ready: "ready";
2812
2813
  }>>;
2813
2814
  }, z.core.$loose>;
2814
2815
  };
@@ -2827,9 +2828,9 @@ declare const partnerControlEndpointSchemas: {
2827
2828
  registered: z.ZodBoolean;
2828
2829
  siteId: z.ZodOptional<z.ZodString>;
2829
2830
  syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2830
- syncing: "syncing";
2831
2831
  pending: "pending";
2832
2832
  error: "error";
2833
+ syncing: "syncing";
2833
2834
  synced: "synced";
2834
2835
  }>>>;
2835
2836
  syncProgress: z.ZodOptional<z.ZodObject<{
@@ -2848,9 +2849,9 @@ declare const partnerControlEndpointSchemas: {
2848
2849
  readonly response: z.ZodObject<{
2849
2850
  userId: z.ZodString;
2850
2851
  status: z.ZodEnum<{
2852
+ provisioning: "provisioning";
2851
2853
  ready: "ready";
2852
2854
  reauth_required: "reauth_required";
2853
- provisioning: "provisioning";
2854
2855
  }>;
2855
2856
  databaseReady: z.ZodOptional<z.ZodBoolean>;
2856
2857
  needsReauth: z.ZodOptional<z.ZodBoolean>;
@@ -2871,21 +2872,21 @@ declare const partnerControlEndpointSchemas: {
2871
2872
  partnerId: z.ZodNullable<z.ZodString>;
2872
2873
  account: z.ZodObject<{
2873
2874
  status: z.ZodEnum<{
2875
+ ready: "ready";
2876
+ reauth_required: "reauth_required";
2874
2877
  disconnected: "disconnected";
2875
2878
  oauth_received: "oauth_received";
2876
2879
  scope_missing: "scope_missing";
2877
2880
  refresh_missing: "refresh_missing";
2878
2881
  db_provisioning: "db_provisioning";
2879
- ready: "ready";
2880
- reauth_required: "reauth_required";
2881
2882
  }>;
2882
2883
  grantedScopes: z.ZodArray<z.ZodString>;
2883
2884
  missingScopes: z.ZodArray<z.ZodString>;
2884
2885
  nextAction: z.ZodEnum<{
2885
- connect_google: "connect_google";
2886
2886
  reconnect_google: "reconnect_google";
2887
- wait_for_provisioning: "wait_for_provisioning";
2888
2887
  none: "none";
2888
+ connect_google: "connect_google";
2889
+ wait_for_provisioning: "wait_for_provisioning";
2889
2890
  }>;
2890
2891
  }, z.core.$loose>;
2891
2892
  sites: z.ZodArray<z.ZodObject<{
@@ -2913,14 +2914,14 @@ declare const partnerControlEndpointSchemas: {
2913
2914
  }, z.core.$loose>;
2914
2915
  analytics: z.ZodObject<{
2915
2916
  status: z.ZodEnum<{
2917
+ queued: "queued";
2916
2918
  ready: "ready";
2919
+ failed: "failed";
2917
2920
  not_registered: "not_registered";
2918
- queued: "queued";
2919
2921
  preparing: "preparing";
2920
2922
  syncing: "syncing";
2921
2923
  queryable_live: "queryable_live";
2922
2924
  queryable_partial: "queryable_partial";
2923
- failed: "failed";
2924
2925
  }>;
2925
2926
  progress: z.ZodObject<{
2926
2927
  completed: z.ZodNumber;
@@ -2930,10 +2931,10 @@ declare const partnerControlEndpointSchemas: {
2930
2931
  }, z.core.$strip>;
2931
2932
  queryable: z.ZodBoolean;
2932
2933
  sourceMode: z.ZodEnum<{
2933
- none: "none";
2934
- live: "live";
2935
2934
  d1: "d1";
2936
2935
  r2: "r2";
2936
+ none: "none";
2937
+ live: "live";
2937
2938
  mixed: "mixed";
2938
2939
  }>;
2939
2940
  syncedRange: z.ZodObject<{
@@ -2948,10 +2949,10 @@ declare const partnerControlEndpointSchemas: {
2948
2949
  }, z.core.$loose>;
2949
2950
  sitemaps: z.ZodObject<{
2950
2951
  status: z.ZodEnum<{
2952
+ unknown: "unknown";
2951
2953
  ready: "ready";
2952
- syncing: "syncing";
2953
2954
  failed: "failed";
2954
- unknown: "unknown";
2955
+ syncing: "syncing";
2955
2956
  discovering: "discovering";
2956
2957
  none_found: "none_found";
2957
2958
  auto_submitted: "auto_submitted";
@@ -3023,9 +3024,9 @@ declare const partnerControlEndpointSchemas: {
3023
3024
  siteId: z.ZodString;
3024
3025
  siteUrl: z.ZodString;
3025
3026
  syncStatus: z.ZodEnum<{
3026
- syncing: "syncing";
3027
3027
  pending: "pending";
3028
3028
  error: "error";
3029
+ syncing: "syncing";
3029
3030
  synced: "synced";
3030
3031
  idle: "idle";
3031
3032
  }>;
@@ -3043,9 +3044,9 @@ declare const partnerControlEndpointSchemas: {
3043
3044
  registered: z.ZodBoolean;
3044
3045
  siteId: z.ZodOptional<z.ZodString>;
3045
3046
  syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3046
- syncing: "syncing";
3047
3047
  pending: "pending";
3048
3048
  error: "error";
3049
+ syncing: "syncing";
3049
3050
  synced: "synced";
3050
3051
  }>>>;
3051
3052
  syncProgress: z.ZodOptional<z.ZodObject<{
@@ -3090,9 +3091,9 @@ declare const partnerControlEndpointSchemas: {
3090
3091
  readonly response: z.ZodObject<{
3091
3092
  siteId: z.ZodString;
3092
3093
  status: z.ZodEnum<{
3093
- syncing: "syncing";
3094
3094
  pending: "pending";
3095
3095
  error: "error";
3096
+ syncing: "syncing";
3096
3097
  synced: "synced";
3097
3098
  idle: "idle";
3098
3099
  }>;
@@ -3141,8 +3142,8 @@ declare const partnerControlEndpointSchemas: {
3141
3142
  siteUrl: z.ZodString;
3142
3143
  siteId: z.ZodOptional<z.ZodString>;
3143
3144
  status: z.ZodEnum<{
3144
- registered: "registered";
3145
3145
  error: "error";
3146
+ registered: "registered";
3146
3147
  already_exists: "already_exists";
3147
3148
  not_found: "not_found";
3148
3149
  }>;
@@ -3571,6 +3572,7 @@ declare const partnerControlEndpointSchemas: {
3571
3572
  }>>;
3572
3573
  issue: z.ZodOptional<z.ZodString>;
3573
3574
  search: z.ZodOptional<z.ZodString>;
3575
+ count: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<false>]>>;
3574
3576
  }, z.core.$strip>>;
3575
3577
  readonly response: z.ZodObject<{
3576
3578
  urls: z.ZodArray<z.ZodObject<{
@@ -4108,19 +4110,19 @@ declare const partnerEndpointSchemas: {
4108
4110
  databaseReady: z.ZodBoolean;
4109
4111
  plan: z.ZodString;
4110
4112
  accountStatus: z.ZodEnum<{
4113
+ ready: "ready";
4114
+ reauth_required: "reauth_required";
4111
4115
  disconnected: "disconnected";
4112
4116
  oauth_received: "oauth_received";
4113
4117
  scope_missing: "scope_missing";
4114
4118
  refresh_missing: "refresh_missing";
4115
4119
  db_provisioning: "db_provisioning";
4116
- ready: "ready";
4117
- reauth_required: "reauth_required";
4118
4120
  }>;
4119
4121
  accountNextAction: z.ZodEnum<{
4120
- connect_google: "connect_google";
4121
4122
  reconnect_google: "reconnect_google";
4122
- wait_for_provisioning: "wait_for_provisioning";
4123
4123
  none: "none";
4124
+ connect_google: "connect_google";
4125
+ wait_for_provisioning: "wait_for_provisioning";
4124
4126
  }>;
4125
4127
  missingScopes: z.ZodArray<z.ZodString>;
4126
4128
  browserAnalyzerEnabled: z.ZodBoolean;
@@ -4224,8 +4226,8 @@ declare const partnerEndpointSchemas: {
4224
4226
  date: z.ZodString;
4225
4227
  status: z.ZodEnum<{
4226
4228
  queued: "queued";
4227
- failed: "failed";
4228
4229
  completed: "completed";
4230
+ failed: "failed";
4229
4231
  processing: "processing";
4230
4232
  }>;
4231
4233
  }, z.core.$loose>>;
@@ -4250,8 +4252,8 @@ declare const partnerEndpointSchemas: {
4250
4252
  priority: z.ZodOptional<z.ZodString>;
4251
4253
  status: z.ZodEnum<{
4252
4254
  queued: "queued";
4253
- failed: "failed";
4254
4255
  completed: "completed";
4256
+ failed: "failed";
4255
4257
  processing: "processing";
4256
4258
  scheduled: "scheduled";
4257
4259
  }>;
@@ -4305,8 +4307,8 @@ declare const partnerEndpointSchemas: {
4305
4307
  apiKey: z.ZodOptional<z.ZodString>;
4306
4308
  isNew: z.ZodOptional<z.ZodBoolean>;
4307
4309
  status: z.ZodOptional<z.ZodEnum<{
4308
- ready: "ready";
4309
4310
  provisioning: "provisioning";
4311
+ ready: "ready";
4310
4312
  }>>;
4311
4313
  }, z.core.$loose>;
4312
4314
  };
@@ -4325,9 +4327,9 @@ declare const partnerEndpointSchemas: {
4325
4327
  registered: z.ZodBoolean;
4326
4328
  siteId: z.ZodOptional<z.ZodString>;
4327
4329
  syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4328
- syncing: "syncing";
4329
4330
  pending: "pending";
4330
4331
  error: "error";
4332
+ syncing: "syncing";
4331
4333
  synced: "synced";
4332
4334
  }>>>;
4333
4335
  syncProgress: z.ZodOptional<z.ZodObject<{
@@ -4346,9 +4348,9 @@ declare const partnerEndpointSchemas: {
4346
4348
  readonly response: z.ZodObject<{
4347
4349
  userId: z.ZodString;
4348
4350
  status: z.ZodEnum<{
4351
+ provisioning: "provisioning";
4349
4352
  ready: "ready";
4350
4353
  reauth_required: "reauth_required";
4351
- provisioning: "provisioning";
4352
4354
  }>;
4353
4355
  databaseReady: z.ZodOptional<z.ZodBoolean>;
4354
4356
  needsReauth: z.ZodOptional<z.ZodBoolean>;
@@ -4369,21 +4371,21 @@ declare const partnerEndpointSchemas: {
4369
4371
  partnerId: z.ZodNullable<z.ZodString>;
4370
4372
  account: z.ZodObject<{
4371
4373
  status: z.ZodEnum<{
4374
+ ready: "ready";
4375
+ reauth_required: "reauth_required";
4372
4376
  disconnected: "disconnected";
4373
4377
  oauth_received: "oauth_received";
4374
4378
  scope_missing: "scope_missing";
4375
4379
  refresh_missing: "refresh_missing";
4376
4380
  db_provisioning: "db_provisioning";
4377
- ready: "ready";
4378
- reauth_required: "reauth_required";
4379
4381
  }>;
4380
4382
  grantedScopes: z.ZodArray<z.ZodString>;
4381
4383
  missingScopes: z.ZodArray<z.ZodString>;
4382
4384
  nextAction: z.ZodEnum<{
4383
- connect_google: "connect_google";
4384
4385
  reconnect_google: "reconnect_google";
4385
- wait_for_provisioning: "wait_for_provisioning";
4386
4386
  none: "none";
4387
+ connect_google: "connect_google";
4388
+ wait_for_provisioning: "wait_for_provisioning";
4387
4389
  }>;
4388
4390
  }, z.core.$loose>;
4389
4391
  sites: z.ZodArray<z.ZodObject<{
@@ -4411,14 +4413,14 @@ declare const partnerEndpointSchemas: {
4411
4413
  }, z.core.$loose>;
4412
4414
  analytics: z.ZodObject<{
4413
4415
  status: z.ZodEnum<{
4416
+ queued: "queued";
4414
4417
  ready: "ready";
4418
+ failed: "failed";
4415
4419
  not_registered: "not_registered";
4416
- queued: "queued";
4417
4420
  preparing: "preparing";
4418
4421
  syncing: "syncing";
4419
4422
  queryable_live: "queryable_live";
4420
4423
  queryable_partial: "queryable_partial";
4421
- failed: "failed";
4422
4424
  }>;
4423
4425
  progress: z.ZodObject<{
4424
4426
  completed: z.ZodNumber;
@@ -4428,10 +4430,10 @@ declare const partnerEndpointSchemas: {
4428
4430
  }, z.core.$strip>;
4429
4431
  queryable: z.ZodBoolean;
4430
4432
  sourceMode: z.ZodEnum<{
4431
- none: "none";
4432
- live: "live";
4433
4433
  d1: "d1";
4434
4434
  r2: "r2";
4435
+ none: "none";
4436
+ live: "live";
4435
4437
  mixed: "mixed";
4436
4438
  }>;
4437
4439
  syncedRange: z.ZodObject<{
@@ -4446,10 +4448,10 @@ declare const partnerEndpointSchemas: {
4446
4448
  }, z.core.$loose>;
4447
4449
  sitemaps: z.ZodObject<{
4448
4450
  status: z.ZodEnum<{
4451
+ unknown: "unknown";
4449
4452
  ready: "ready";
4450
- syncing: "syncing";
4451
4453
  failed: "failed";
4452
- unknown: "unknown";
4454
+ syncing: "syncing";
4453
4455
  discovering: "discovering";
4454
4456
  none_found: "none_found";
4455
4457
  auto_submitted: "auto_submitted";
@@ -4521,9 +4523,9 @@ declare const partnerEndpointSchemas: {
4521
4523
  siteId: z.ZodString;
4522
4524
  siteUrl: z.ZodString;
4523
4525
  syncStatus: z.ZodEnum<{
4524
- syncing: "syncing";
4525
4526
  pending: "pending";
4526
4527
  error: "error";
4528
+ syncing: "syncing";
4527
4529
  synced: "synced";
4528
4530
  idle: "idle";
4529
4531
  }>;
@@ -4541,9 +4543,9 @@ declare const partnerEndpointSchemas: {
4541
4543
  registered: z.ZodBoolean;
4542
4544
  siteId: z.ZodOptional<z.ZodString>;
4543
4545
  syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4544
- syncing: "syncing";
4545
4546
  pending: "pending";
4546
4547
  error: "error";
4548
+ syncing: "syncing";
4547
4549
  synced: "synced";
4548
4550
  }>>>;
4549
4551
  syncProgress: z.ZodOptional<z.ZodObject<{
@@ -4588,9 +4590,9 @@ declare const partnerEndpointSchemas: {
4588
4590
  readonly response: z.ZodObject<{
4589
4591
  siteId: z.ZodString;
4590
4592
  status: z.ZodEnum<{
4591
- syncing: "syncing";
4592
4593
  pending: "pending";
4593
4594
  error: "error";
4595
+ syncing: "syncing";
4594
4596
  synced: "synced";
4595
4597
  idle: "idle";
4596
4598
  }>;
@@ -4639,8 +4641,8 @@ declare const partnerEndpointSchemas: {
4639
4641
  siteUrl: z.ZodString;
4640
4642
  siteId: z.ZodOptional<z.ZodString>;
4641
4643
  status: z.ZodEnum<{
4642
- registered: "registered";
4643
4644
  error: "error";
4645
+ registered: "registered";
4644
4646
  already_exists: "already_exists";
4645
4647
  not_found: "not_found";
4646
4648
  }>;
@@ -5069,6 +5071,7 @@ declare const partnerEndpointSchemas: {
5069
5071
  }>>;
5070
5072
  issue: z.ZodOptional<z.ZodString>;
5071
5073
  search: z.ZodOptional<z.ZodString>;
5074
+ count: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<false>]>>;
5072
5075
  }, z.core.$strip>>;
5073
5076
  readonly response: z.ZodObject<{
5074
5077
  urls: z.ZodArray<z.ZodObject<{
@@ -839,7 +839,8 @@ const indexingUrlsParamsSchema = z.object({
839
839
  "pending"
840
840
  ]).optional(),
841
841
  issue: z.string().optional(),
842
- search: z.string().optional()
842
+ search: z.string().optional(),
843
+ count: z.union([z.literal(0), z.literal(false)]).optional()
843
844
  }).optional();
844
845
  const indexingDiagnosticsParamsSchema = z.object({
845
846
  sampleIssues: z.union([z.string(), z.array(z.string())]).optional(),
@@ -1111,6 +1111,13 @@ interface IndexingUrlsParams {
1111
1111
  status?: GscdumpIndexingUrlStatus;
1112
1112
  issue?: string;
1113
1113
  search?: string;
1114
+ /**
1115
+ * Pass `0`/`false` to skip the total COUNT(*) — a second full scan of the
1116
+ * joined url_indexing_status/sitemap_urls set. Sample callers that read only
1117
+ * `urls` (e.g. the assess page-issue collector) should opt out; paginated UI
1118
+ * reads that show an exact total leave it unset.
1119
+ */
1120
+ count?: 0 | false;
1114
1121
  }
1115
1122
  interface GscdumpUserSettings {
1116
1123
  browserAnalyzerEnabled: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/contracts",
3
3
  "type": "module",
4
- "version": "0.33.5",
4
+ "version": "0.33.6",
5
5
  "description": "Shared gscdump.com API, webhook, realtime, and lifecycle contracts.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",