@gscdump/contracts 4.8.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.
- package/dist/endpoints.d.mts +4 -4
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +2 -1
- package/dist/indexing-coverage.d.mts +18 -18
- package/dist/record-read.d.mts +45 -0
- package/dist/record-read.mjs +22 -0
- package/dist/schemas.d.mts +16 -19
- package/dist/schemas.mjs +0 -1
- package/dist/types.d.mts +0 -1
- package/dist/v1/operations.d.mts +30 -30
- package/package.json +1 -1
package/dist/endpoints.d.mts
CHANGED
|
@@ -1076,8 +1076,8 @@ export declare const partnerEndpoints: {
|
|
|
1076
1076
|
status: import("zod").ZodEnum<{
|
|
1077
1077
|
error: "error";
|
|
1078
1078
|
registered: "registered";
|
|
1079
|
-
not_found: "not_found";
|
|
1080
1079
|
already_exists: "already_exists";
|
|
1080
|
+
not_found: "not_found";
|
|
1081
1081
|
}>;
|
|
1082
1082
|
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1083
1083
|
site: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
@@ -1431,19 +1431,19 @@ export declare const partnerEndpoints: {
|
|
|
1431
1431
|
_tag: import("zod").ZodLiteral<"counted">;
|
|
1432
1432
|
capturedAt: import("zod").ZodString;
|
|
1433
1433
|
counts: import("zod").ZodObject<{
|
|
1434
|
+
indexed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1435
|
+
not_found: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1436
|
+
redirect: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1434
1437
|
unknown_to_google: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1435
1438
|
discovered_not_indexed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1436
1439
|
crawled_not_indexed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1437
|
-
indexed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1438
1440
|
noindex: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1439
1441
|
blocked_robots: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1440
1442
|
soft_404: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1441
|
-
not_found: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1442
1443
|
server_error: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1443
1444
|
access_denied: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1444
1445
|
access_forbidden: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1445
1446
|
blocked_4xx: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1446
|
-
redirect: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1447
1447
|
redirect_error: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1448
1448
|
alternate_canonical: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1449
1449
|
duplicate_no_canonical: import("zod").ZodDefault<import("zod").ZodNumber>;
|
package/dist/index.d.mts
CHANGED
|
@@ -7,5 +7,6 @@ import { COVERAGE_LADDER, COVERAGE_STATE_TAGS, CoverageLadderTag, CoverageStateC
|
|
|
7
7
|
import { AccountNextAction, AccountStatus, AnalyticsNextAction, AnalyticsStatus, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, IndexingNextAction, IndexingStatus, LifecycleError, LifecycleErrorCode, LifecycleProgress, LifecycleWebhookEnvelope, LifecycleWebhookEvent, PartnerLifecycleAccount, PartnerLifecycleResponse, PartnerLifecycleSite, PropertyNextAction, PropertyStatus, QuerySourceMode, SitemapNextAction, SitemapStatus, accountNextActions, accountStatuses, analyticsNextActions, analyticsStatuses, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingNextActions, indexingStatuses, lifecycleErrorCodes, parseGrantedScopes, propertyNextActions, propertyStatuses, querySourceModes, sitemapNextActions, sitemapStatuses } from "./onboarding.mjs";
|
|
8
8
|
import { AddPartnerTeamMemberParams, AnalysisSourcesOptions, AnalysisSourcesResponse, BackfillRange, BackfillResponse, BindPartnerSiteTeamParams, BindPartnerTeamCatalogParams, BindPartnerTeamCatalogResponse, BuilderStateWire, BulkRegisterPartnerSiteResult, BulkRegisterPartnerSitesParams, BulkRegisterPartnerSitesResponse, CanonicalWebhookEnvelope, CanonicalWebhookEventData, CanonicalWebhookEventType, ColumnDef, ColumnType, CountriesResponse, CountryRow, CreatePartnerTeamParams, CreateWebhookEnvelopeOptions, DataDetailOptions, DataQueryOptions, DeletePartnerUserResponse, Dimension, Filter, Grain, GscAddAndVerifyResponse, GscApiRange, GscComparisonFilter, GscRowQueryMeta, GscRowQueryResponse, GscVerificationDnsRecord, GscVerificationMethod, GscVerificationRequest, GscVerificationSite, GscVerificationTokenResponse, GscdumpAnalysisBundleParams, GscdumpAnalysisBundleResponse, GscdumpAnalysisParams, GscdumpAnalysisPreset, GscdumpAnalysisResponse, GscdumpAnalysisSourcesResponse, GscdumpAvailableSite, GscdumpCanonicalDifferenceKind, GscdumpCanonicalMismatchRow, GscdumpCanonicalMismatchesResponse, GscdumpDataDetailResponse, GscdumpDataResponse, GscdumpDataRow, GscdumpHealthResponse, GscdumpIndexPercentResponse, GscdumpIndexPercentSitemap, GscdumpIndexPercentTrendPoint, GscdumpIndexingDiagnosticsResponse, GscdumpIndexingInspectRateLimited, GscdumpIndexingInspectRequest, GscdumpIndexingInspectResponse, GscdumpIndexingInspectResult, GscdumpIndexingIssueSeverity, GscdumpIndexingResponse, GscdumpIndexingTrendPoint, GscdumpIndexingUrl, GscdumpIndexingUrlStatus, GscdumpIndexingUrlsResponse, GscdumpInvisibleUrlRow, GscdumpKeywordSparklinesParams, GscdumpKeywordSparklinesResponse, GscdumpMeta, GscdumpOrphanPageRow, GscdumpPageTrendParams, GscdumpPageTrendResponse, GscdumpPerSitemapHistoryEntry, GscdumpPermissionRecovery, GscdumpQueryTrendParams, GscdumpQueryTrendResponse, GscdumpRichResultItem, GscdumpSiteIntIdCrosswalkEntry, GscdumpSiteIntIdCrosswalkResponse, GscdumpSiteRegistration, GscdumpSiteReportResponse, GscdumpSitemap, GscdumpSitemapChangesResponse, GscdumpSitemapExportResponse, GscdumpSitemapGeneration, GscdumpSitemapHistory, GscdumpSitemapMembershipEvidence, GscdumpSitemapMembershipParams, GscdumpSitemapMembershipResponse, GscdumpSitemapUrlsResponse, GscdumpSitemapsResponse, GscdumpSyncJobItem, GscdumpSyncJobStatus, GscdumpSyncJobsQueueCounts, GscdumpSyncJobsResponse, GscdumpSyncProgressDateStatus, GscdumpSyncProgressPhaseCounts, GscdumpSyncProgressResponse, GscdumpSyncProgressSite, GscdumpSyncStatusResponse, GscdumpTeamCatalogRef, GscdumpTeamMemberRow, GscdumpTeamRow, GscdumpTopAssociationParams, GscdumpTopAssociationResponse, GscdumpTotals, GscdumpUserMeResponse, GscdumpUserRegistration, GscdumpUserSettings, GscdumpUserSite, GscdumpUserStatus, GscdumpUserTokenUpdate, IndexingDiagnostics, IndexingDiagnosticsParams, IndexingInspectRateLimit, IndexingInspectRateLimited, IndexingInspectRequest, IndexingInspectResponse, IndexingInspectResult, IndexingIssue, IndexingIssueSeverity, IndexingUrlRow, IndexingUrlStatus, IndexingUrlsParams, IndexingUrlsResponse, InspectionHistoryRecord, InspectionHistoryResponse, InspectionIndex, InspectionRecordRaw, Metric, PartnerSitemapAction, PartnerSitemapActionResponse, PartnerWebhookData, PartnerWebhookHeaders, RegisterPartnerSiteParams, RegisterPartnerUserParams, RollupEnvelope, Row, ScheduleState, SearchAppearanceResponse, SearchAppearanceRow, SearchTypeOptions, SiteListItem, SitemapAddedRow, SitemapChangesCompleteness, SitemapChangesResponse, SitemapRemovedRow, SourceInfoOptions, SourceInfoResponse, TableName, TableSchema, TenantCtx, UpdatePartnerUserTokensParams, WebhookEnvelope, WebhookEventType, WhoamiResponse } from "./types.mjs";
|
|
9
9
|
import { ARCHETYPE_EXECUTION_CLASS, ArbitrarySqlQuery, ArchetypeExecutionClass, ArchetypeFacet, ArchetypeQuery, ArchetypeQueryBase, ArchetypeResult, ArchetypeResultRow, ArchetypeResultSource, AuxCloudOnlyQuery, DateRange, EntityDailySparklineQuery, EntityDailyTimeseriesQuery, MultiSeriesStackedDailyQuery, QueryArchetype, ResolvedArchetypeQuery, SingleRowLookupQuery, SiteDailyTimeseriesQuery, TopNBreakdownOptions, TopNBreakdownQuery, TwoDimensionDetailOptions, TwoDimensionDetailQuery, WireDateRange, arbitrarySql, entityDailySparkline, entityDailyTimeseries, multiSeriesStackedDaily, singleRowLookup, siteDailyTimeseries, topNBreakdown, twoDimensionDetail } from "./archetypes.mjs";
|
|
10
|
+
import { RECORD_READ_REFUSAL_REASONS, RecordReadRefusal, RecordReadRefusalReason, parseRecordReadRefusal, recordReadRefusalSchema } from "./record-read.mjs";
|
|
10
11
|
import { CANONICAL_WEBHOOK_EVENTS, VALID_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER } from "./webhook-constants.mjs";
|
|
11
|
-
export { ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ARCHETYPE_EXECUTION_CLASS, AccountNextAction, AccountStatus, type AddPartnerTeamMemberParams, AllowanceNoticeMeter, AllowanceNoticeThreshold, type AnalysisSourcesOptions, type AnalysisSourcesResponse, AnalyticsNextAction, AnalyticsStatus, ArbitrarySqlQuery, ArchetypeExecutionClass, ArchetypeFacet, ArchetypeQuery, ArchetypeQueryBase, ArchetypeResult, ArchetypeResultRow, ArchetypeResultSource, AuxCloudOnlyQuery, type BackfillRange, type BackfillResponse, type BindPartnerSiteTeamParams, type BindPartnerTeamCatalogParams, type BindPartnerTeamCatalogResponse, type BuilderStateWire, type BulkFileResolutionRequest, type BulkFileResolutionResponse, type BulkRegisterPartnerSiteResult, type BulkRegisterPartnerSitesParams, type BulkRegisterPartnerSitesResponse, CANONICAL_WEBHOOK_EVENTS, COVERAGE_LADDER, COVERAGE_STATE_TAGS, type CanonicalWebhookEnvelope, type CanonicalWebhookEventData, type CanonicalWebhookEventType, type ColumnDef, type ColumnType, type CountriesResponse, type CountryRow, CoverageLadderTag, CoverageStateCounts, CoverageStateTag, CoverageStatesPoint, type CreatePartnerTeamParams, type CreateWebhookEnvelopeOptions, type DataDetailOptions, type DataQueryOptions, DateRange, type DeletePartnerUserResponse, type Dimension, ENTITLEMENT_REFUSAL_REASONS, EntitlementRefusal, EntitlementRefusalReason, EntityDailySparklineQuery, EntityDailyTimeseriesQuery, type FileResolutionRequest, type FileResolutionResponse, type FileResolutionTable, type Filter, GSCDUMP_INDEXING_TRANSITION_FIELDS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, GSC_SEARCH_TYPES, type Grain, type GscAddAndVerifyResponse, type GscApiRange, type GscComparisonFilter, type GscRowQueryMeta, type GscRowQueryResponse, GscSearchType, type GscVerificationDnsRecord, type GscVerificationMethod, type GscVerificationRequest, type GscVerificationSite, type GscVerificationTokenResponse, type GscdumpAnalysisBundleParams, type GscdumpAnalysisBundleResponse, type GscdumpAnalysisParams, type GscdumpAnalysisPreset, type GscdumpAnalysisResponse, type GscdumpAnalysisSourcesResponse, type GscdumpAvailableSite, type GscdumpCanonicalDifferenceKind, type GscdumpCanonicalMismatchRow, type GscdumpCanonicalMismatchesResponse, type GscdumpDataDetailResponse, type GscdumpDataResponse, type GscdumpDataRow, type GscdumpHealthResponse, type GscdumpIndexPercentResponse, type GscdumpIndexPercentSitemap, type GscdumpIndexPercentTrendPoint, type GscdumpIndexingDiagnosticsResponse, type GscdumpIndexingInspectRateLimited, type GscdumpIndexingInspectRequest, type GscdumpIndexingInspectResponse, type GscdumpIndexingInspectResult, type GscdumpIndexingIssueSeverity, type GscdumpIndexingResponse, type GscdumpIndexingTrendPoint, type GscdumpIndexingUrl, type GscdumpIndexingUrlStatus, type GscdumpIndexingUrlsResponse, type GscdumpInvisibleUrlRow, type GscdumpKeywordSparklinesParams, type GscdumpKeywordSparklinesResponse, type GscdumpMeta, type GscdumpOrphanPageRow, type GscdumpPageTrendParams, type GscdumpPageTrendResponse, type GscdumpPerSitemapHistoryEntry, type GscdumpPermissionRecovery, type GscdumpQueryTrendParams, type GscdumpQueryTrendResponse, type GscdumpRichResultItem, type GscdumpSiteIntIdCrosswalkEntry, type GscdumpSiteIntIdCrosswalkResponse, type GscdumpSiteRegistration, type GscdumpSiteReportResponse, type GscdumpSitemap, type GscdumpSitemapChangesResponse, type GscdumpSitemapExportResponse, type GscdumpSitemapGeneration, type GscdumpSitemapHistory, type GscdumpSitemapMembershipEvidence, type GscdumpSitemapMembershipParams, type GscdumpSitemapMembershipResponse, type GscdumpSitemapUrlsResponse, type GscdumpSitemapsResponse, type GscdumpSyncJobItem, type GscdumpSyncJobStatus, type GscdumpSyncJobsQueueCounts, type GscdumpSyncJobsResponse, type GscdumpSyncProgressDateStatus, type GscdumpSyncProgressPhaseCounts, type GscdumpSyncProgressResponse, type GscdumpSyncProgressSite, type GscdumpSyncStatusResponse, type GscdumpTeamCatalogRef, type GscdumpTeamMemberRow, type GscdumpTeamRow, type GscdumpTopAssociationParams, type GscdumpTopAssociationResponse, type GscdumpTotals, type GscdumpUserMeResponse, type GscdumpUserRegistration, type GscdumpUserSettings, type GscdumpUserSite, type GscdumpUserStatus, type GscdumpUserTokenUpdate, IndexingCapture, type IndexingDiagnostics, type IndexingDiagnosticsParams, type IndexingInspectRateLimit, type IndexingInspectRateLimited, type IndexingInspectRequest, type IndexingInspectResponse, type IndexingInspectResult, type IndexingIssue, type IndexingIssueSeverity, IndexingNextAction, IndexingStatus, type IndexingUrlRow, type IndexingUrlStatus, type IndexingUrlsParams, type IndexingUrlsResponse, type InspectionHistoryRecord, type InspectionHistoryResponse, type InspectionIndex, type InspectionRecordRaw, LifecycleError, LifecycleErrorCode, LifecycleProgress, LifecycleWebhookEnvelope, LifecycleWebhookEvent, type Metric, MultiSeriesStackedDailyQuery, PartnerLifecycleAccount, PartnerLifecycleResponse, PartnerLifecycleSite, type PartnerSitemapAction, type PartnerSitemapActionResponse, type PartnerWebhookData, type PartnerWebhookHeaders, PropertyNextAction, PropertyStatus, QueryArchetype, type QueryDimSourceFile, type QueryDimSourceResponse, QuerySourceMode, type RegisterPartnerSiteParams, type RegisterPartnerUserParams, ResolvedArchetypeQuery, type ResolvedParquetFile, type ResolvedTable, type RollupEnvelope, type Row, SEARCH_TYPE_CAPABILITIES, SITE_HOLD_REASONS, type ScheduleState, type SearchAppearanceResponse, type SearchAppearanceRow, type SearchTypeOptions, type ServerTailDirective, SingleRowLookupQuery, SiteDailyTimeseriesQuery, SiteHoldReason, type SiteListItem, type SitemapAddedRow, type SitemapChangesCompleteness, type SitemapChangesResponse, SitemapNextAction, type SitemapRemovedRow, SitemapStatus, type SourceInfoOptions, type SourceInfoResponse, type TableName, type TableSchema, type TenantCtx, TopNBreakdownOptions, TopNBreakdownQuery, TwoDimensionDetailOptions, TwoDimensionDetailQuery, type UpdatePartnerUserTokensParams, UserAllowanceNoticeData, VALID_WEBHOOK_EVENTS, VerdictFreshness, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, WatchedUrl, WatchedUrlCheckpoint, type WebhookEnvelope, type WebhookEventType, type WhoamiResponse, WireDateRange, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsNextActions, analyticsRoutes, analyticsStatuses, arbitrarySql, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, entitlementRefusalSchema, entityDailySparkline, entityDailyTimeseries, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingCaptureSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingStatuses, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, multiSeriesStackedDaily, parseEntitlementRefusal, parseGrantedScopes, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, queryDimSourceResponseSchema, querySourceModes, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, singleRowLookup, siteDailyTimeseries, siteHoldReasonSchema, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, teamCatalogRefSchema, topNBreakdown, twoDimensionDetail, updatePartnerUserTokensSchema, userAllowanceNoticeDataSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema, whoamiResponseSchema };
|
|
12
|
+
export { ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ARCHETYPE_EXECUTION_CLASS, AccountNextAction, AccountStatus, type AddPartnerTeamMemberParams, AllowanceNoticeMeter, AllowanceNoticeThreshold, type AnalysisSourcesOptions, type AnalysisSourcesResponse, AnalyticsNextAction, AnalyticsStatus, ArbitrarySqlQuery, ArchetypeExecutionClass, ArchetypeFacet, ArchetypeQuery, ArchetypeQueryBase, ArchetypeResult, ArchetypeResultRow, ArchetypeResultSource, AuxCloudOnlyQuery, type BackfillRange, type BackfillResponse, type BindPartnerSiteTeamParams, type BindPartnerTeamCatalogParams, type BindPartnerTeamCatalogResponse, type BuilderStateWire, type BulkFileResolutionRequest, type BulkFileResolutionResponse, type BulkRegisterPartnerSiteResult, type BulkRegisterPartnerSitesParams, type BulkRegisterPartnerSitesResponse, CANONICAL_WEBHOOK_EVENTS, COVERAGE_LADDER, COVERAGE_STATE_TAGS, type CanonicalWebhookEnvelope, type CanonicalWebhookEventData, type CanonicalWebhookEventType, type ColumnDef, type ColumnType, type CountriesResponse, type CountryRow, CoverageLadderTag, CoverageStateCounts, CoverageStateTag, CoverageStatesPoint, type CreatePartnerTeamParams, type CreateWebhookEnvelopeOptions, type DataDetailOptions, type DataQueryOptions, DateRange, type DeletePartnerUserResponse, type Dimension, ENTITLEMENT_REFUSAL_REASONS, EntitlementRefusal, EntitlementRefusalReason, EntityDailySparklineQuery, EntityDailyTimeseriesQuery, type FileResolutionRequest, type FileResolutionResponse, type FileResolutionTable, type Filter, GSCDUMP_INDEXING_TRANSITION_FIELDS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, GSC_SEARCH_TYPES, type Grain, type GscAddAndVerifyResponse, type GscApiRange, type GscComparisonFilter, type GscRowQueryMeta, type GscRowQueryResponse, GscSearchType, type GscVerificationDnsRecord, type GscVerificationMethod, type GscVerificationRequest, type GscVerificationSite, type GscVerificationTokenResponse, type GscdumpAnalysisBundleParams, type GscdumpAnalysisBundleResponse, type GscdumpAnalysisParams, type GscdumpAnalysisPreset, type GscdumpAnalysisResponse, type GscdumpAnalysisSourcesResponse, type GscdumpAvailableSite, type GscdumpCanonicalDifferenceKind, type GscdumpCanonicalMismatchRow, type GscdumpCanonicalMismatchesResponse, type GscdumpDataDetailResponse, type GscdumpDataResponse, type GscdumpDataRow, type GscdumpHealthResponse, type GscdumpIndexPercentResponse, type GscdumpIndexPercentSitemap, type GscdumpIndexPercentTrendPoint, type GscdumpIndexingDiagnosticsResponse, type GscdumpIndexingInspectRateLimited, type GscdumpIndexingInspectRequest, type GscdumpIndexingInspectResponse, type GscdumpIndexingInspectResult, type GscdumpIndexingIssueSeverity, type GscdumpIndexingResponse, type GscdumpIndexingTrendPoint, type GscdumpIndexingUrl, type GscdumpIndexingUrlStatus, type GscdumpIndexingUrlsResponse, type GscdumpInvisibleUrlRow, type GscdumpKeywordSparklinesParams, type GscdumpKeywordSparklinesResponse, type GscdumpMeta, type GscdumpOrphanPageRow, type GscdumpPageTrendParams, type GscdumpPageTrendResponse, type GscdumpPerSitemapHistoryEntry, type GscdumpPermissionRecovery, type GscdumpQueryTrendParams, type GscdumpQueryTrendResponse, type GscdumpRichResultItem, type GscdumpSiteIntIdCrosswalkEntry, type GscdumpSiteIntIdCrosswalkResponse, type GscdumpSiteRegistration, type GscdumpSiteReportResponse, type GscdumpSitemap, type GscdumpSitemapChangesResponse, type GscdumpSitemapExportResponse, type GscdumpSitemapGeneration, type GscdumpSitemapHistory, type GscdumpSitemapMembershipEvidence, type GscdumpSitemapMembershipParams, type GscdumpSitemapMembershipResponse, type GscdumpSitemapUrlsResponse, type GscdumpSitemapsResponse, type GscdumpSyncJobItem, type GscdumpSyncJobStatus, type GscdumpSyncJobsQueueCounts, type GscdumpSyncJobsResponse, type GscdumpSyncProgressDateStatus, type GscdumpSyncProgressPhaseCounts, type GscdumpSyncProgressResponse, type GscdumpSyncProgressSite, type GscdumpSyncStatusResponse, type GscdumpTeamCatalogRef, type GscdumpTeamMemberRow, type GscdumpTeamRow, type GscdumpTopAssociationParams, type GscdumpTopAssociationResponse, type GscdumpTotals, type GscdumpUserMeResponse, type GscdumpUserRegistration, type GscdumpUserSettings, type GscdumpUserSite, type GscdumpUserStatus, type GscdumpUserTokenUpdate, IndexingCapture, type IndexingDiagnostics, type IndexingDiagnosticsParams, type IndexingInspectRateLimit, type IndexingInspectRateLimited, type IndexingInspectRequest, type IndexingInspectResponse, type IndexingInspectResult, type IndexingIssue, type IndexingIssueSeverity, IndexingNextAction, IndexingStatus, type IndexingUrlRow, type IndexingUrlStatus, type IndexingUrlsParams, type IndexingUrlsResponse, type InspectionHistoryRecord, type InspectionHistoryResponse, type InspectionIndex, type InspectionRecordRaw, LifecycleError, LifecycleErrorCode, LifecycleProgress, LifecycleWebhookEnvelope, LifecycleWebhookEvent, type Metric, MultiSeriesStackedDailyQuery, PartnerLifecycleAccount, PartnerLifecycleResponse, PartnerLifecycleSite, type PartnerSitemapAction, type PartnerSitemapActionResponse, type PartnerWebhookData, type PartnerWebhookHeaders, PropertyNextAction, PropertyStatus, QueryArchetype, type QueryDimSourceFile, type QueryDimSourceResponse, QuerySourceMode, RECORD_READ_REFUSAL_REASONS, RecordReadRefusal, RecordReadRefusalReason, type RegisterPartnerSiteParams, type RegisterPartnerUserParams, ResolvedArchetypeQuery, type ResolvedParquetFile, type ResolvedTable, type RollupEnvelope, type Row, SEARCH_TYPE_CAPABILITIES, SITE_HOLD_REASONS, type ScheduleState, type SearchAppearanceResponse, type SearchAppearanceRow, type SearchTypeOptions, type ServerTailDirective, SingleRowLookupQuery, SiteDailyTimeseriesQuery, SiteHoldReason, type SiteListItem, type SitemapAddedRow, type SitemapChangesCompleteness, type SitemapChangesResponse, SitemapNextAction, type SitemapRemovedRow, SitemapStatus, type SourceInfoOptions, type SourceInfoResponse, type TableName, type TableSchema, type TenantCtx, TopNBreakdownOptions, TopNBreakdownQuery, TwoDimensionDetailOptions, TwoDimensionDetailQuery, type UpdatePartnerUserTokensParams, UserAllowanceNoticeData, VALID_WEBHOOK_EVENTS, VerdictFreshness, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, WatchedUrl, WatchedUrlCheckpoint, type WebhookEnvelope, type WebhookEventType, type WhoamiResponse, WireDateRange, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsNextActions, analyticsRoutes, analyticsStatuses, arbitrarySql, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, entitlementRefusalSchema, entityDailySparkline, entityDailyTimeseries, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingCaptureSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingStatuses, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, multiSeriesStackedDaily, parseEntitlementRefusal, parseGrantedScopes, parseRecordReadRefusal, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, queryDimSourceResponseSchema, querySourceModes, recordReadRefusalSchema, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, singleRowLookup, siteDailyTimeseries, siteHoldReasonSchema, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, teamCatalogRefSchema, topNBreakdown, twoDimensionDetail, updatePartnerUserTokensSchema, userAllowanceNoticeDataSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema, whoamiResponseSchema };
|
package/dist/index.mjs
CHANGED
|
@@ -2,8 +2,9 @@ import { ARCHETYPE_EXECUTION_CLASS, arbitrarySql, entityDailySparkline, entityDa
|
|
|
2
2
|
import { ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ENTITLEMENT_REFUSAL_REASONS, SITE_HOLD_REASONS, entitlementRefusalSchema, parseEntitlementRefusal, siteHoldReasonSchema, userAllowanceNoticeDataSchema } from "./entitlements.mjs";
|
|
3
3
|
import { COVERAGE_LADDER, COVERAGE_STATE_TAGS, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, indexingCaptureSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema } from "./indexing-coverage.mjs";
|
|
4
4
|
import { GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, accountNextActions, accountStatuses, analyticsNextActions, analyticsStatuses, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingNextActions, indexingStatuses, lifecycleErrorCodes, parseGrantedScopes, propertyNextActions, propertyStatuses, querySourceModes, sitemapNextActions, sitemapStatuses } from "./onboarding.mjs";
|
|
5
|
+
import { RECORD_READ_REFUSAL_REASONS, parseRecordReadRefusal, recordReadRefusalSchema } from "./record-read.mjs";
|
|
5
6
|
import { analyticsRoutes, partnerRoutes } from "./routes.mjs";
|
|
6
7
|
import { GSC_SEARCH_TYPES } from "./search-types.mjs";
|
|
7
8
|
import { CANONICAL_WEBHOOK_EVENTS, VALID_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER } from "./webhook-constants.mjs";
|
|
8
9
|
import { GSCDUMP_INDEXING_TRANSITION_FIELDS, SEARCH_TYPE_CAPABILITIES, addPartnerTeamMemberSchema, analyticsEndpointSchemas, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorSchema, lifecycleProgressSchema, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, queryDimSourceResponseSchema, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sourceInfoResponseSchema, teamCatalogRefSchema, updatePartnerUserTokensSchema, whoamiResponseSchema } from "./schemas.mjs";
|
|
9
|
-
export { ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ARCHETYPE_EXECUTION_CLASS, CANONICAL_WEBHOOK_EVENTS, COVERAGE_LADDER, COVERAGE_STATE_TAGS, ENTITLEMENT_REFUSAL_REASONS, GSCDUMP_INDEXING_TRANSITION_FIELDS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, GSC_SEARCH_TYPES, SEARCH_TYPE_CAPABILITIES, SITE_HOLD_REASONS, VALID_WEBHOOK_EVENTS, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsNextActions, analyticsRoutes, analyticsStatuses, arbitrarySql, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, entitlementRefusalSchema, entityDailySparkline, entityDailyTimeseries, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingCaptureSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingStatuses, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, multiSeriesStackedDaily, parseEntitlementRefusal, parseGrantedScopes, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, queryDimSourceResponseSchema, querySourceModes, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, singleRowLookup, siteDailyTimeseries, siteHoldReasonSchema, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, teamCatalogRefSchema, topNBreakdown, twoDimensionDetail, updatePartnerUserTokensSchema, userAllowanceNoticeDataSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema, whoamiResponseSchema };
|
|
10
|
+
export { ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ARCHETYPE_EXECUTION_CLASS, CANONICAL_WEBHOOK_EVENTS, COVERAGE_LADDER, COVERAGE_STATE_TAGS, ENTITLEMENT_REFUSAL_REASONS, GSCDUMP_INDEXING_TRANSITION_FIELDS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, GSC_SEARCH_TYPES, RECORD_READ_REFUSAL_REASONS, SEARCH_TYPE_CAPABILITIES, SITE_HOLD_REASONS, VALID_WEBHOOK_EVENTS, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsNextActions, analyticsRoutes, analyticsStatuses, arbitrarySql, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, entitlementRefusalSchema, entityDailySparkline, entityDailyTimeseries, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingCaptureSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingStatuses, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, multiSeriesStackedDaily, parseEntitlementRefusal, parseGrantedScopes, parseRecordReadRefusal, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, queryDimSourceResponseSchema, querySourceModes, recordReadRefusalSchema, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, singleRowLookup, siteDailyTimeseries, siteHoldReasonSchema, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, teamCatalogRefSchema, topNBreakdown, twoDimensionDetail, updatePartnerUserTokensSchema, userAllowanceNoticeDataSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema, whoamiResponseSchema };
|
|
@@ -21,19 +21,19 @@ export type CoverageStateTag = typeof COVERAGE_STATE_TAGS[number];
|
|
|
21
21
|
export declare const COVERAGE_LADDER: readonly ["unknown_to_google", "discovered_not_indexed", "crawled_not_indexed", "indexed"];
|
|
22
22
|
export type CoverageLadderTag = typeof COVERAGE_LADDER[number];
|
|
23
23
|
export declare const coverageStateTagSchema: z.ZodEnum<{
|
|
24
|
+
indexed: "indexed";
|
|
25
|
+
not_found: "not_found";
|
|
26
|
+
redirect: "redirect";
|
|
24
27
|
unknown_to_google: "unknown_to_google";
|
|
25
28
|
discovered_not_indexed: "discovered_not_indexed";
|
|
26
29
|
crawled_not_indexed: "crawled_not_indexed";
|
|
27
|
-
indexed: "indexed";
|
|
28
30
|
noindex: "noindex";
|
|
29
31
|
blocked_robots: "blocked_robots";
|
|
30
32
|
soft_404: "soft_404";
|
|
31
|
-
not_found: "not_found";
|
|
32
33
|
server_error: "server_error";
|
|
33
34
|
access_denied: "access_denied";
|
|
34
35
|
access_forbidden: "access_forbidden";
|
|
35
36
|
blocked_4xx: "blocked_4xx";
|
|
36
|
-
redirect: "redirect";
|
|
37
37
|
redirect_error: "redirect_error";
|
|
38
38
|
alternate_canonical: "alternate_canonical";
|
|
39
39
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -49,19 +49,19 @@ export declare const coverageStateTagSchema: z.ZodEnum<{
|
|
|
49
49
|
* reads a newer host's counts. Neither case fails the parse.
|
|
50
50
|
*/
|
|
51
51
|
export declare const coverageStateCountsSchema: z.ZodObject<{
|
|
52
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
53
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
54
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
52
55
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
53
56
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
54
57
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
55
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
56
58
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
57
59
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
58
60
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
59
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
60
61
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
61
62
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
62
63
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
63
64
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
64
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
65
65
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
66
66
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
67
67
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -143,19 +143,19 @@ export declare const coverageStatesPointSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
143
143
|
_tag: z.ZodLiteral<"counted">;
|
|
144
144
|
capturedAt: z.ZodString;
|
|
145
145
|
counts: z.ZodObject<{
|
|
146
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
147
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
148
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
146
149
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
147
150
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
148
151
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
149
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
150
152
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
151
153
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
152
154
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
153
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
154
155
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
155
156
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
156
157
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
157
158
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
158
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
159
159
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
160
160
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
161
161
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -193,19 +193,19 @@ export declare const WATCHED_URL_CHECKPOINT_LIMIT = 12;
|
|
|
193
193
|
export declare const watchedUrlCheckpointSchema: z.ZodObject<{
|
|
194
194
|
checkedAt: z.ZodString;
|
|
195
195
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
196
|
+
indexed: "indexed";
|
|
197
|
+
not_found: "not_found";
|
|
198
|
+
redirect: "redirect";
|
|
196
199
|
unknown_to_google: "unknown_to_google";
|
|
197
200
|
discovered_not_indexed: "discovered_not_indexed";
|
|
198
201
|
crawled_not_indexed: "crawled_not_indexed";
|
|
199
|
-
indexed: "indexed";
|
|
200
202
|
noindex: "noindex";
|
|
201
203
|
blocked_robots: "blocked_robots";
|
|
202
204
|
soft_404: "soft_404";
|
|
203
|
-
not_found: "not_found";
|
|
204
205
|
server_error: "server_error";
|
|
205
206
|
access_denied: "access_denied";
|
|
206
207
|
access_forbidden: "access_forbidden";
|
|
207
208
|
blocked_4xx: "blocked_4xx";
|
|
208
|
-
redirect: "redirect";
|
|
209
209
|
redirect_error: "redirect_error";
|
|
210
210
|
alternate_canonical: "alternate_canonical";
|
|
211
211
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -226,19 +226,19 @@ export declare const watchedUrlSchema: z.ZodObject<{
|
|
|
226
226
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
227
227
|
checkedAt: z.ZodString;
|
|
228
228
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
229
|
+
indexed: "indexed";
|
|
230
|
+
not_found: "not_found";
|
|
231
|
+
redirect: "redirect";
|
|
229
232
|
unknown_to_google: "unknown_to_google";
|
|
230
233
|
discovered_not_indexed: "discovered_not_indexed";
|
|
231
234
|
crawled_not_indexed: "crawled_not_indexed";
|
|
232
|
-
indexed: "indexed";
|
|
233
235
|
noindex: "noindex";
|
|
234
236
|
blocked_robots: "blocked_robots";
|
|
235
237
|
soft_404: "soft_404";
|
|
236
|
-
not_found: "not_found";
|
|
237
238
|
server_error: "server_error";
|
|
238
239
|
access_denied: "access_denied";
|
|
239
240
|
access_forbidden: "access_forbidden";
|
|
240
241
|
blocked_4xx: "blocked_4xx";
|
|
241
|
-
redirect: "redirect";
|
|
242
242
|
redirect_error: "redirect_error";
|
|
243
243
|
alternate_canonical: "alternate_canonical";
|
|
244
244
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -261,19 +261,19 @@ export declare const watchedUrlsResponseSchema: z.ZodObject<{
|
|
|
261
261
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
262
262
|
checkedAt: z.ZodString;
|
|
263
263
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
264
|
+
indexed: "indexed";
|
|
265
|
+
not_found: "not_found";
|
|
266
|
+
redirect: "redirect";
|
|
264
267
|
unknown_to_google: "unknown_to_google";
|
|
265
268
|
discovered_not_indexed: "discovered_not_indexed";
|
|
266
269
|
crawled_not_indexed: "crawled_not_indexed";
|
|
267
|
-
indexed: "indexed";
|
|
268
270
|
noindex: "noindex";
|
|
269
271
|
blocked_robots: "blocked_robots";
|
|
270
272
|
soft_404: "soft_404";
|
|
271
|
-
not_found: "not_found";
|
|
272
273
|
server_error: "server_error";
|
|
273
274
|
access_denied: "access_denied";
|
|
274
275
|
access_forbidden: "access_forbidden";
|
|
275
276
|
blocked_4xx: "blocked_4xx";
|
|
276
|
-
redirect: "redirect";
|
|
277
277
|
redirect_error: "redirect_error";
|
|
278
278
|
alternate_canonical: "alternate_canonical";
|
|
279
279
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* The `details.reason` values of a v1 error envelope that refuses a read
|
|
4
|
+
* because the Site's record cannot serve it. The host never answers such a
|
|
5
|
+
* read from live Google, and never answers it with an empty `200`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const RECORD_READ_REFUSAL_REASONS: readonly ["record_not_ready", "range_not_synced"];
|
|
8
|
+
export type RecordReadRefusalReason = typeof RECORD_READ_REFUSAL_REASONS[number];
|
|
9
|
+
/**
|
|
10
|
+
* The `details` of a v1 error envelope that refuses a read of the Site's
|
|
11
|
+
* record. Both are 409 `invalid_request`, and an immediate retry gets the same
|
|
12
|
+
* answer.
|
|
13
|
+
*
|
|
14
|
+
* - `record_not_ready`: the Site has no synced data, or its Team catalog does
|
|
15
|
+
* not serve reads yet.
|
|
16
|
+
* - `range_not_synced`: the record lacks the days from `missingStart` to
|
|
17
|
+
* `missingEnd` (`YYYY-MM-DD`), which Google still serves. The record can
|
|
18
|
+
* lag `newestDateSynced`, so those days can sit inside the synced range.
|
|
19
|
+
*
|
|
20
|
+
* Both can carry the Site's `syncStatus`, `lastSyncAt` (Unix seconds),
|
|
21
|
+
* `oldestDateSynced`, and `newestDateSynced`. Unknown `details` keys are
|
|
22
|
+
* dropped, so a newer host can add keys.
|
|
23
|
+
*/
|
|
24
|
+
export declare const recordReadRefusalSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25
|
+
syncStatus: z.ZodOptional<z.ZodString>;
|
|
26
|
+
lastSyncAt: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
oldestDateSynced: z.ZodOptional<z.ZodISODate>;
|
|
28
|
+
newestDateSynced: z.ZodOptional<z.ZodISODate>;
|
|
29
|
+
reason: z.ZodLiteral<"record_not_ready">;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
syncStatus: z.ZodOptional<z.ZodString>;
|
|
32
|
+
lastSyncAt: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
oldestDateSynced: z.ZodOptional<z.ZodISODate>;
|
|
34
|
+
newestDateSynced: z.ZodOptional<z.ZodISODate>;
|
|
35
|
+
reason: z.ZodLiteral<"range_not_synced">;
|
|
36
|
+
missingStart: z.ZodISODate;
|
|
37
|
+
missingEnd: z.ZodISODate;
|
|
38
|
+
}, z.core.$strip>], "reason">;
|
|
39
|
+
export type RecordReadRefusal = z.infer<typeof recordReadRefusalSchema>;
|
|
40
|
+
/**
|
|
41
|
+
* Read a record read refusal from the `details` of a v1 error envelope, such
|
|
42
|
+
* as `GscdumpV1Error.details`. Returns `null` when the details describe a
|
|
43
|
+
* different failure, or a refusal this contract version does not know.
|
|
44
|
+
*/
|
|
45
|
+
export declare function parseRecordReadRefusal(details: unknown): RecordReadRefusal | null;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
const RECORD_READ_REFUSAL_REASONS = ["record_not_ready", "range_not_synced"];
|
|
3
|
+
const siteSyncFields = {
|
|
4
|
+
syncStatus: z.string().min(1).optional(),
|
|
5
|
+
lastSyncAt: z.number().int().nonnegative().optional(),
|
|
6
|
+
oldestDateSynced: z.iso.date().optional(),
|
|
7
|
+
newestDateSynced: z.iso.date().optional()
|
|
8
|
+
};
|
|
9
|
+
const recordReadRefusalSchema = z.discriminatedUnion("reason", [z.object({
|
|
10
|
+
reason: z.literal("record_not_ready"),
|
|
11
|
+
...siteSyncFields
|
|
12
|
+
}), z.object({
|
|
13
|
+
reason: z.literal("range_not_synced"),
|
|
14
|
+
missingStart: z.iso.date(),
|
|
15
|
+
missingEnd: z.iso.date(),
|
|
16
|
+
...siteSyncFields
|
|
17
|
+
})]);
|
|
18
|
+
function parseRecordReadRefusal(details) {
|
|
19
|
+
const parsed = recordReadRefusalSchema.safeParse(details);
|
|
20
|
+
return parsed.success ? parsed.data : null;
|
|
21
|
+
}
|
|
22
|
+
export { RECORD_READ_REFUSAL_REASONS, parseRecordReadRefusal, recordReadRefusalSchema };
|
package/dist/schemas.d.mts
CHANGED
|
@@ -365,9 +365,9 @@ export declare const indexingUrlsResponseSchema: z.ZodObject<{
|
|
|
365
365
|
}, z.core.$loose>;
|
|
366
366
|
export declare const GSCDUMP_INDEXING_TRANSITION_FIELDS: readonly ["indexStatus", "coverageState", "robotsTxtState", "indexingState", "pageFetchState", "googleCanonical"];
|
|
367
367
|
export declare const gscdumpIndexingTransitionFieldSchema: z.ZodEnum<{
|
|
368
|
-
coverageState: "coverageState";
|
|
369
368
|
indexStatus: "indexStatus";
|
|
370
369
|
googleCanonical: "googleCanonical";
|
|
370
|
+
coverageState: "coverageState";
|
|
371
371
|
robotsTxtState: "robotsTxtState";
|
|
372
372
|
indexingState: "indexingState";
|
|
373
373
|
pageFetchState: "pageFetchState";
|
|
@@ -1409,8 +1409,8 @@ export declare const bulkRegisterPartnerSitesResponseSchema: z.ZodObject<{
|
|
|
1409
1409
|
status: z.ZodEnum<{
|
|
1410
1410
|
error: "error";
|
|
1411
1411
|
registered: "registered";
|
|
1412
|
-
not_found: "not_found";
|
|
1413
1412
|
already_exists: "already_exists";
|
|
1413
|
+
not_found: "not_found";
|
|
1414
1414
|
}>;
|
|
1415
1415
|
error: z.ZodOptional<z.ZodString>;
|
|
1416
1416
|
site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -1805,19 +1805,19 @@ export declare const gscdumpIndexingResponseSchema: z.ZodObject<{
|
|
|
1805
1805
|
_tag: z.ZodLiteral<"counted">;
|
|
1806
1806
|
capturedAt: z.ZodString;
|
|
1807
1807
|
counts: z.ZodObject<{
|
|
1808
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1809
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1810
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1808
1811
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
1809
1812
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1810
1813
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1811
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1812
1814
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
1813
1815
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
1814
1816
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
1815
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1816
1817
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
1817
1818
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
1818
1819
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
1819
1820
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
1820
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1821
1821
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
1822
1822
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
1823
1823
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2049,7 +2049,6 @@ export declare const gscdumpUserMeResponseSchema: z.ZodObject<{
|
|
|
2049
2049
|
picture: z.ZodOptional<z.ZodString>;
|
|
2050
2050
|
setupComplete: z.ZodBoolean;
|
|
2051
2051
|
databaseReady: z.ZodBoolean;
|
|
2052
|
-
plan: z.ZodString;
|
|
2053
2052
|
accountStatus: z.ZodEnum<{
|
|
2054
2053
|
ready: "ready";
|
|
2055
2054
|
disconnected: "disconnected";
|
|
@@ -2125,8 +2124,8 @@ export declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
|
|
|
2125
2124
|
authFailureCount: z.ZodNumber;
|
|
2126
2125
|
currentPhase: z.ZodEnum<{
|
|
2127
2126
|
complete: "complete";
|
|
2128
|
-
initial: "initial";
|
|
2129
2127
|
backfill: "backfill";
|
|
2128
|
+
initial: "initial";
|
|
2130
2129
|
}>;
|
|
2131
2130
|
isStalled: z.ZodBoolean;
|
|
2132
2131
|
stallDays: z.ZodNumber;
|
|
@@ -3541,7 +3540,6 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3541
3540
|
picture: z.ZodOptional<z.ZodString>;
|
|
3542
3541
|
setupComplete: z.ZodBoolean;
|
|
3543
3542
|
databaseReady: z.ZodBoolean;
|
|
3544
|
-
plan: z.ZodString;
|
|
3545
3543
|
accountStatus: z.ZodEnum<{
|
|
3546
3544
|
ready: "ready";
|
|
3547
3545
|
disconnected: "disconnected";
|
|
@@ -3621,8 +3619,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3621
3619
|
authFailureCount: z.ZodNumber;
|
|
3622
3620
|
currentPhase: z.ZodEnum<{
|
|
3623
3621
|
complete: "complete";
|
|
3624
|
-
initial: "initial";
|
|
3625
3622
|
backfill: "backfill";
|
|
3623
|
+
initial: "initial";
|
|
3626
3624
|
}>;
|
|
3627
3625
|
isStalled: z.ZodBoolean;
|
|
3628
3626
|
stallDays: z.ZodNumber;
|
|
@@ -4228,8 +4226,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4228
4226
|
status: z.ZodEnum<{
|
|
4229
4227
|
error: "error";
|
|
4230
4228
|
registered: "registered";
|
|
4231
|
-
not_found: "not_found";
|
|
4232
4229
|
already_exists: "already_exists";
|
|
4230
|
+
not_found: "not_found";
|
|
4233
4231
|
}>;
|
|
4234
4232
|
error: z.ZodOptional<z.ZodString>;
|
|
4235
4233
|
site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -4493,19 +4491,19 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4493
4491
|
_tag: z.ZodLiteral<"counted">;
|
|
4494
4492
|
capturedAt: z.ZodString;
|
|
4495
4493
|
counts: z.ZodObject<{
|
|
4494
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
4495
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
4496
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
4496
4497
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
4497
4498
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
4498
4499
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
4499
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
4500
4500
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
4501
4501
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
4502
4502
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
4503
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
4504
4503
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
4505
4504
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
4506
4505
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
4507
4506
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
4508
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
4509
4507
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
4510
4508
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
4511
4509
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5347,7 +5345,6 @@ export declare const partnerEndpointSchemas: {
|
|
|
5347
5345
|
picture: z.ZodOptional<z.ZodString>;
|
|
5348
5346
|
setupComplete: z.ZodBoolean;
|
|
5349
5347
|
databaseReady: z.ZodBoolean;
|
|
5350
|
-
plan: z.ZodString;
|
|
5351
5348
|
accountStatus: z.ZodEnum<{
|
|
5352
5349
|
ready: "ready";
|
|
5353
5350
|
disconnected: "disconnected";
|
|
@@ -5427,8 +5424,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5427
5424
|
authFailureCount: z.ZodNumber;
|
|
5428
5425
|
currentPhase: z.ZodEnum<{
|
|
5429
5426
|
complete: "complete";
|
|
5430
|
-
initial: "initial";
|
|
5431
5427
|
backfill: "backfill";
|
|
5428
|
+
initial: "initial";
|
|
5432
5429
|
}>;
|
|
5433
5430
|
isStalled: z.ZodBoolean;
|
|
5434
5431
|
stallDays: z.ZodNumber;
|
|
@@ -6034,8 +6031,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
6034
6031
|
status: z.ZodEnum<{
|
|
6035
6032
|
error: "error";
|
|
6036
6033
|
registered: "registered";
|
|
6037
|
-
not_found: "not_found";
|
|
6038
6034
|
already_exists: "already_exists";
|
|
6035
|
+
not_found: "not_found";
|
|
6039
6036
|
}>;
|
|
6040
6037
|
error: z.ZodOptional<z.ZodString>;
|
|
6041
6038
|
site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -6299,19 +6296,19 @@ export declare const partnerEndpointSchemas: {
|
|
|
6299
6296
|
_tag: z.ZodLiteral<"counted">;
|
|
6300
6297
|
capturedAt: z.ZodString;
|
|
6301
6298
|
counts: z.ZodObject<{
|
|
6299
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6300
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6301
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6302
6302
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
6303
6303
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6304
6304
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6305
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6306
6305
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
6307
6306
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
6308
6307
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
6309
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6310
6308
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
6311
6309
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
6312
6310
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
6313
6311
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
6314
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6315
6312
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
6316
6313
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6317
6314
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
package/dist/schemas.mjs
CHANGED
|
@@ -900,7 +900,6 @@ const gscdumpUserMeResponseSchema = z.object({
|
|
|
900
900
|
picture: z.string().optional(),
|
|
901
901
|
setupComplete: z.boolean(),
|
|
902
902
|
databaseReady: z.boolean(),
|
|
903
|
-
plan: z.string(),
|
|
904
903
|
accountStatus: z.enum(accountStatuses),
|
|
905
904
|
accountNextAction: z.enum(accountNextActions),
|
|
906
905
|
missingScopes: z.array(z.string()),
|
package/dist/types.d.mts
CHANGED
|
@@ -1195,7 +1195,6 @@ export interface GscdumpUserMeResponse {
|
|
|
1195
1195
|
picture?: string;
|
|
1196
1196
|
setupComplete: boolean;
|
|
1197
1197
|
databaseReady: boolean;
|
|
1198
|
-
plan: string;
|
|
1199
1198
|
accountStatus: AccountStatus;
|
|
1200
1199
|
accountNextAction: AccountNextAction;
|
|
1201
1200
|
missingScopes: string[];
|
package/dist/v1/operations.d.mts
CHANGED
|
@@ -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";
|
|
@@ -6200,19 +6200,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6200
6200
|
_tag: z.ZodLiteral<"counted">;
|
|
6201
6201
|
capturedAt: z.ZodString;
|
|
6202
6202
|
counts: z.ZodObject<{
|
|
6203
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6204
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6205
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6203
6206
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
6204
6207
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6205
6208
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6206
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6207
6209
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
6208
6210
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
6209
6211
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
6210
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6211
6212
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
6212
6213
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
6213
6214
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
6214
6215
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
6215
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6216
6216
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
6217
6217
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6218
6218
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6339,19 +6339,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6339
6339
|
_tag: z.ZodLiteral<"counted">;
|
|
6340
6340
|
capturedAt: z.ZodString;
|
|
6341
6341
|
counts: z.ZodObject<{
|
|
6342
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6343
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6344
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6342
6345
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
6343
6346
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6344
6347
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6345
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6346
6348
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
6347
6349
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
6348
6350
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
6349
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6350
6351
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
6351
6352
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
6352
6353
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
6353
6354
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
6354
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6355
6355
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
6356
6356
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6357
6357
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -9756,9 +9756,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
9756
9756
|
startDate: z.ZodOptional<z.ZodString>;
|
|
9757
9757
|
endDate: z.ZodOptional<z.ZodString>;
|
|
9758
9758
|
field: z.ZodOptional<z.ZodEnum<{
|
|
9759
|
-
coverageState: "coverageState";
|
|
9760
9759
|
indexStatus: "indexStatus";
|
|
9761
9760
|
googleCanonical: "googleCanonical";
|
|
9761
|
+
coverageState: "coverageState";
|
|
9762
9762
|
robotsTxtState: "robotsTxtState";
|
|
9763
9763
|
indexingState: "indexingState";
|
|
9764
9764
|
pageFetchState: "pageFetchState";
|
|
@@ -9779,9 +9779,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
9779
9779
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
9780
9780
|
readonly url: z.ZodString;
|
|
9781
9781
|
readonly field: z.ZodEnum<{
|
|
9782
|
-
coverageState: "coverageState";
|
|
9783
9782
|
indexStatus: "indexStatus";
|
|
9784
9783
|
googleCanonical: "googleCanonical";
|
|
9784
|
+
coverageState: "coverageState";
|
|
9785
9785
|
robotsTxtState: "robotsTxtState";
|
|
9786
9786
|
indexingState: "indexingState";
|
|
9787
9787
|
pageFetchState: "pageFetchState";
|
|
@@ -9826,9 +9826,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
9826
9826
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
9827
9827
|
readonly url: z.ZodString;
|
|
9828
9828
|
readonly field: z.ZodEnum<{
|
|
9829
|
-
coverageState: "coverageState";
|
|
9830
9829
|
indexStatus: "indexStatus";
|
|
9831
9830
|
googleCanonical: "googleCanonical";
|
|
9831
|
+
coverageState: "coverageState";
|
|
9832
9832
|
robotsTxtState: "robotsTxtState";
|
|
9833
9833
|
indexingState: "indexingState";
|
|
9834
9834
|
pageFetchState: "pageFetchState";
|
|
@@ -12123,19 +12123,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
12123
12123
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
12124
12124
|
checkedAt: z.ZodString;
|
|
12125
12125
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
12126
|
+
indexed: "indexed";
|
|
12127
|
+
not_found: "not_found";
|
|
12128
|
+
redirect: "redirect";
|
|
12126
12129
|
unknown_to_google: "unknown_to_google";
|
|
12127
12130
|
discovered_not_indexed: "discovered_not_indexed";
|
|
12128
12131
|
crawled_not_indexed: "crawled_not_indexed";
|
|
12129
|
-
indexed: "indexed";
|
|
12130
12132
|
noindex: "noindex";
|
|
12131
12133
|
blocked_robots: "blocked_robots";
|
|
12132
12134
|
soft_404: "soft_404";
|
|
12133
|
-
not_found: "not_found";
|
|
12134
12135
|
server_error: "server_error";
|
|
12135
12136
|
access_denied: "access_denied";
|
|
12136
12137
|
access_forbidden: "access_forbidden";
|
|
12137
12138
|
blocked_4xx: "blocked_4xx";
|
|
12138
|
-
redirect: "redirect";
|
|
12139
12139
|
redirect_error: "redirect_error";
|
|
12140
12140
|
alternate_canonical: "alternate_canonical";
|
|
12141
12141
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -12169,19 +12169,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
12169
12169
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
12170
12170
|
checkedAt: z.ZodString;
|
|
12171
12171
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
12172
|
+
indexed: "indexed";
|
|
12173
|
+
not_found: "not_found";
|
|
12174
|
+
redirect: "redirect";
|
|
12172
12175
|
unknown_to_google: "unknown_to_google";
|
|
12173
12176
|
discovered_not_indexed: "discovered_not_indexed";
|
|
12174
12177
|
crawled_not_indexed: "crawled_not_indexed";
|
|
12175
|
-
indexed: "indexed";
|
|
12176
12178
|
noindex: "noindex";
|
|
12177
12179
|
blocked_robots: "blocked_robots";
|
|
12178
12180
|
soft_404: "soft_404";
|
|
12179
|
-
not_found: "not_found";
|
|
12180
12181
|
server_error: "server_error";
|
|
12181
12182
|
access_denied: "access_denied";
|
|
12182
12183
|
access_forbidden: "access_forbidden";
|
|
12183
12184
|
blocked_4xx: "blocked_4xx";
|
|
12184
|
-
redirect: "redirect";
|
|
12185
12185
|
redirect_error: "redirect_error";
|
|
12186
12186
|
alternate_canonical: "alternate_canonical";
|
|
12187
12187
|
duplicate_no_canonical: "duplicate_no_canonical";
|