@gscdump/contracts 1.3.1 → 1.4.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.
@@ -151,23 +151,23 @@ interface BulkFileResolutionRequest extends FileResolutionRequest {
151
151
  /** Public site ids to resolve. Partner callers must supply this list. */
152
152
  siteIds?: string[];
153
153
  }
154
- declare const GSCDUMP_ONBOARDING_CONTRACT_VERSION: "2026-05-11";
155
- declare const GSCDUMP_REQUIRED_ANALYTICS_SCOPE: "https://www.googleapis.com/auth/webmasters.readonly";
156
- declare const GSCDUMP_WRITE_ANALYTICS_SCOPE: "https://www.googleapis.com/auth/webmasters";
157
- declare const GSCDUMP_OPTIONAL_INDEXING_SCOPE: "https://www.googleapis.com/auth/indexing";
154
+ declare const GSCDUMP_ONBOARDING_CONTRACT_VERSION: '2026-05-11';
155
+ declare const GSCDUMP_REQUIRED_ANALYTICS_SCOPE: 'https://www.googleapis.com/auth/webmasters.readonly';
156
+ declare const GSCDUMP_WRITE_ANALYTICS_SCOPE: 'https://www.googleapis.com/auth/webmasters';
157
+ declare const GSCDUMP_OPTIONAL_INDEXING_SCOPE: 'https://www.googleapis.com/auth/indexing';
158
158
  type GoogleScopesInput = string | readonly string[] | null | undefined;
159
- declare const accountStatuses: readonly ["disconnected", "oauth_received", "scope_missing", "refresh_missing", "db_provisioning", "ready", "reauth_required"];
160
- declare const accountNextActions: readonly ["connect_google", "reconnect_google", "wait_for_provisioning", "none"];
161
- declare const propertyStatuses: readonly ["no_local_site", "no_gsc_property", "unverified_property", "verified_candidate", "registered", "linked"];
162
- declare const propertyNextActions: readonly ["create_site", "verify_gsc_property", "choose_property", "register_site", "none"];
163
- declare const analyticsStatuses: readonly ["not_registered", "queued", "preparing", "syncing", "queryable_live", "queryable_partial", "ready", "failed"];
164
- declare const analyticsNextActions: readonly ["wait_for_sync", "retry_sync", "none"];
165
- declare const querySourceModes: readonly ["none", "live", "d1", "r2", "mixed"];
166
- declare const sitemapStatuses: readonly ["unknown", "discovering", "none_found", "auto_submitted", "syncing", "ready", "failed"];
167
- declare const sitemapNextActions: readonly ["submit_sitemap", "wait_for_sitemaps", "retry_sitemaps", "none"];
168
- declare const indexingStatuses: readonly ["not_requested", "missing_scope", "insufficient_permission", "waiting_for_sitemaps", "discovering", "checking", "ready", "budget_exhausted", "no_urls", "failed"];
169
- declare const indexingNextActions: readonly ["reconnect_google", "fix_gsc_permission", "wait_for_sitemaps", "wait_for_indexing", "retry_indexing", "none"];
170
- declare const lifecycleErrorCodes: readonly ["missing_refresh_token", "missing_analytics_scope", "missing_indexing_scope", "token_refresh_failed", "permission_lost", "insufficient_gsc_permission", "gsc_property_not_found", "gsc_property_unverified", "user_database_not_provisioned", "sync_failed", "sitemap_sync_failed", "indexing_failed"];
159
+ declare const accountStatuses: readonly ['disconnected', 'oauth_received', 'scope_missing', 'refresh_missing', 'db_provisioning', 'ready', 'reauth_required'];
160
+ declare const accountNextActions: readonly ['connect_google', 'reconnect_google', 'wait_for_provisioning', 'none'];
161
+ declare const propertyStatuses: readonly ['no_local_site', 'no_gsc_property', 'unverified_property', 'verified_candidate', 'registered', 'linked'];
162
+ declare const propertyNextActions: readonly ['create_site', 'verify_gsc_property', 'choose_property', 'register_site', 'none'];
163
+ declare const analyticsStatuses: readonly ['not_registered', 'queued', 'preparing', 'syncing', 'queryable_live', 'queryable_partial', 'ready', 'failed'];
164
+ declare const analyticsNextActions: readonly ['wait_for_sync', 'retry_sync', 'none'];
165
+ declare const querySourceModes: readonly ['none', 'live', 'd1', 'r2', 'mixed'];
166
+ declare const sitemapStatuses: readonly ['unknown', 'discovering', 'none_found', 'auto_submitted', 'syncing', 'ready', 'failed'];
167
+ declare const sitemapNextActions: readonly ['submit_sitemap', 'wait_for_sitemaps', 'retry_sitemaps', 'none'];
168
+ declare const indexingStatuses: readonly ['not_requested', 'missing_scope', 'insufficient_permission', 'waiting_for_sitemaps', 'discovering', 'checking', 'ready', 'budget_exhausted', 'no_urls', 'failed'];
169
+ declare const indexingNextActions: readonly ['reconnect_google', 'fix_gsc_permission', 'wait_for_sitemaps', 'wait_for_indexing', 'retry_indexing', 'none'];
170
+ declare const lifecycleErrorCodes: readonly ['missing_refresh_token', 'missing_analytics_scope', 'missing_indexing_scope', 'token_refresh_failed', 'permission_lost', 'insufficient_gsc_permission', 'gsc_property_not_found', 'gsc_property_unverified', 'user_database_not_provisioned', 'sync_failed', 'sitemap_sync_failed', 'indexing_failed'];
171
171
  type AccountStatus = typeof accountStatuses[number];
172
172
  type AccountNextAction = typeof accountNextActions[number];
173
173
  type PropertyStatus = typeof propertyStatuses[number];