@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.
- package/dist/_chunks/endpoints.d.mts +207 -207
- package/dist/_chunks/schemas.d.mts +2553 -2553
- package/dist/_chunks/types.d.mts +16 -16
- package/dist/v1/index.d.mts +1461 -1461
- package/package.json +2 -2
package/dist/_chunks/types.d.mts
CHANGED
|
@@ -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:
|
|
155
|
-
declare const GSCDUMP_REQUIRED_ANALYTICS_SCOPE:
|
|
156
|
-
declare const GSCDUMP_WRITE_ANALYTICS_SCOPE:
|
|
157
|
-
declare const GSCDUMP_OPTIONAL_INDEXING_SCOPE:
|
|
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 [
|
|
160
|
-
declare const accountNextActions: readonly [
|
|
161
|
-
declare const propertyStatuses: readonly [
|
|
162
|
-
declare const propertyNextActions: readonly [
|
|
163
|
-
declare const analyticsStatuses: readonly [
|
|
164
|
-
declare const analyticsNextActions: readonly [
|
|
165
|
-
declare const querySourceModes: readonly [
|
|
166
|
-
declare const sitemapStatuses: readonly [
|
|
167
|
-
declare const sitemapNextActions: readonly [
|
|
168
|
-
declare const indexingStatuses: readonly [
|
|
169
|
-
declare const indexingNextActions: readonly [
|
|
170
|
-
declare const lifecycleErrorCodes: readonly [
|
|
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];
|