@gscdump/contracts 4.8.0 → 5.1.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/index.d.mts +2 -1
- package/dist/index.mjs +2 -1
- package/dist/record-read.d.mts +45 -0
- package/dist/record-read.mjs +22 -0
- package/dist/schemas.d.mts +0 -3
- package/dist/schemas.mjs +0 -1
- package/dist/types.d.mts +0 -1
- package/dist/v1/browser.d.mts +1 -1
- package/dist/v1/google-indexing.d.mts +225 -0
- package/dist/v1/google-indexing.mjs +119 -0
- package/dist/v1/http.d.mts +2 -1
- package/dist/v1/http.mjs +2 -1
- package/dist/v1/index.d.mts +2 -1
- package/dist/v1/index.mjs +2 -1
- package/dist/v1/operations.d.mts +1247 -212
- package/dist/v1/operations.mjs +328 -0
- package/dist/v1/route-catalog.d.mts +25 -0
- package/dist/v1/route-catalog.mjs +25 -0
- package/package.json +1 -1
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 };
|
|
@@ -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
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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";
|
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/browser.d.mts
CHANGED
|
@@ -17,12 +17,12 @@ export declare const GSCDUMP_V1_ANALYTICS_DIMENSIONS: readonly ["page", "query",
|
|
|
17
17
|
export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: RealtimeV1Schemas): {
|
|
18
18
|
analyticsRowsRequest: z.ZodObject<{
|
|
19
19
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
20
|
+
date: "date";
|
|
20
21
|
page: "page";
|
|
21
22
|
query: "query";
|
|
22
23
|
queryCanonical: "queryCanonical";
|
|
23
24
|
country: "country";
|
|
24
25
|
device: "device";
|
|
25
|
-
date: "date";
|
|
26
26
|
searchAppearance: "searchAppearance";
|
|
27
27
|
hour: "hour";
|
|
28
28
|
}>>;
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Notifications one Site may send in one Pacific day. */
|
|
3
|
+
export declare const GOOGLE_SUBMISSION_SITE_DAILY_LIMIT = 5;
|
|
4
|
+
/** Days after an accepted notification before the same URL may be sent again. */
|
|
5
|
+
export declare const GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS = 7;
|
|
6
|
+
/** Google's default publish quota for one Cloud project in one Pacific day. */
|
|
7
|
+
export declare const GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT = 200;
|
|
8
|
+
/** Attempts one idempotency key may make before its receipt stays `failed`. */
|
|
9
|
+
export declare const GOOGLE_SUBMISSION_MAX_ATTEMPTS = 3;
|
|
10
|
+
/**
|
|
11
|
+
* `partner.users.indexing.google.grant.update`. The partner runs Google's
|
|
12
|
+
* consent with its dedicated Indexing API client, then hands over the refresh
|
|
13
|
+
* token and the scopes Google granted. gscdump refuses a grant whose `scope`
|
|
14
|
+
* lacks `https://www.googleapis.com/auth/indexing`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const indexingApiGrantUpdateV1Schema: z.ZodObject<{
|
|
17
|
+
refreshToken: z.ZodString;
|
|
18
|
+
scope: z.ZodString;
|
|
19
|
+
googleEmail: z.ZodNullable<z.ZodEmail>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
export declare const indexingApiGrantV1Schemas: {
|
|
22
|
+
producer: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
26
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
27
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
30
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>], "_tag">;
|
|
32
|
+
client: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
36
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
37
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
40
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>], "_tag">;
|
|
42
|
+
};
|
|
43
|
+
export declare const indexingApiGrantV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
47
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
48
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
51
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>], "_tag">;
|
|
53
|
+
export type IndexingApiGrantV1 = z.infer<typeof indexingApiGrantV1Schema>;
|
|
54
|
+
/** `partner.sites.indexing.google.submissions.create`. One URL per request. */
|
|
55
|
+
export declare const googleSubmitV1Schema: z.ZodObject<{
|
|
56
|
+
url: z.ZodURL;
|
|
57
|
+
idempotencyKey: z.ZodString;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
/**
|
|
60
|
+
* Why Google refused a notification. gscdump never retries a rejection.
|
|
61
|
+
*
|
|
62
|
+
* - `not-owner`: the grant's Google account does not own the property.
|
|
63
|
+
* - `access-revoked`: Google disabled the Indexing API for the partner's
|
|
64
|
+
* Cloud project. gscdump pauses the partner's Google delivery.
|
|
65
|
+
* - `quota-exhausted`: Google's project quota is spent until the next Pacific day.
|
|
66
|
+
* - `reauthorization-required`: Google refused the stored grant.
|
|
67
|
+
*/
|
|
68
|
+
export declare const GOOGLE_SUBMISSION_REJECTION_REASONS: readonly ["not-owner", "access-revoked", "quota-exhausted", "reauthorization-required"];
|
|
69
|
+
export type GoogleSubmissionRejectionReason = typeof GOOGLE_SUBMISSION_REJECTION_REASONS[number];
|
|
70
|
+
export declare const googleSubmissionReceiptV1Schemas: {
|
|
71
|
+
producer: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
72
|
+
readonly httpStatus: z.ZodLiteral<200>;
|
|
73
|
+
readonly reason: z.ZodNull;
|
|
74
|
+
readonly id: z.ZodString;
|
|
75
|
+
readonly url: z.ZodURL;
|
|
76
|
+
readonly createdAt: z.ZodISODateTime;
|
|
77
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
78
|
+
readonly attempts: z.ZodNumber;
|
|
79
|
+
readonly _tag: z.ZodLiteral<"accepted">;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
82
|
+
readonly reason: z.ZodEnum<{
|
|
83
|
+
"reauthorization-required": "reauthorization-required";
|
|
84
|
+
"not-owner": "not-owner";
|
|
85
|
+
"access-revoked": "access-revoked";
|
|
86
|
+
"quota-exhausted": "quota-exhausted";
|
|
87
|
+
}>;
|
|
88
|
+
readonly id: z.ZodString;
|
|
89
|
+
readonly url: z.ZodURL;
|
|
90
|
+
readonly createdAt: z.ZodISODateTime;
|
|
91
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
92
|
+
readonly attempts: z.ZodNumber;
|
|
93
|
+
readonly _tag: z.ZodLiteral<"rejected">;
|
|
94
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
96
|
+
readonly reason: z.ZodString;
|
|
97
|
+
readonly id: z.ZodString;
|
|
98
|
+
readonly url: z.ZodURL;
|
|
99
|
+
readonly createdAt: z.ZodISODateTime;
|
|
100
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
101
|
+
readonly attempts: z.ZodNumber;
|
|
102
|
+
readonly _tag: z.ZodLiteral<"failed">;
|
|
103
|
+
}, z.core.$strip>], "_tag">;
|
|
104
|
+
client: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
105
|
+
readonly httpStatus: z.ZodLiteral<200>;
|
|
106
|
+
readonly reason: z.ZodNull;
|
|
107
|
+
readonly id: z.ZodString;
|
|
108
|
+
readonly url: z.ZodURL;
|
|
109
|
+
readonly createdAt: z.ZodISODateTime;
|
|
110
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
111
|
+
readonly attempts: z.ZodNumber;
|
|
112
|
+
readonly _tag: z.ZodLiteral<"accepted">;
|
|
113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
115
|
+
readonly reason: z.ZodEnum<{
|
|
116
|
+
"reauthorization-required": "reauthorization-required";
|
|
117
|
+
"not-owner": "not-owner";
|
|
118
|
+
"access-revoked": "access-revoked";
|
|
119
|
+
"quota-exhausted": "quota-exhausted";
|
|
120
|
+
}>;
|
|
121
|
+
readonly id: z.ZodString;
|
|
122
|
+
readonly url: z.ZodURL;
|
|
123
|
+
readonly createdAt: z.ZodISODateTime;
|
|
124
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
125
|
+
readonly attempts: z.ZodNumber;
|
|
126
|
+
readonly _tag: z.ZodLiteral<"rejected">;
|
|
127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
128
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
129
|
+
readonly reason: z.ZodString;
|
|
130
|
+
readonly id: z.ZodString;
|
|
131
|
+
readonly url: z.ZodURL;
|
|
132
|
+
readonly createdAt: z.ZodISODateTime;
|
|
133
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
134
|
+
readonly attempts: z.ZodNumber;
|
|
135
|
+
readonly _tag: z.ZodLiteral<"failed">;
|
|
136
|
+
}, z.core.$strip>], "_tag">;
|
|
137
|
+
};
|
|
138
|
+
export declare const googleSubmissionReceiptV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
139
|
+
readonly httpStatus: z.ZodLiteral<200>;
|
|
140
|
+
readonly reason: z.ZodNull;
|
|
141
|
+
readonly id: z.ZodString;
|
|
142
|
+
readonly url: z.ZodURL;
|
|
143
|
+
readonly createdAt: z.ZodISODateTime;
|
|
144
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
145
|
+
readonly attempts: z.ZodNumber;
|
|
146
|
+
readonly _tag: z.ZodLiteral<"accepted">;
|
|
147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
149
|
+
readonly reason: z.ZodEnum<{
|
|
150
|
+
"reauthorization-required": "reauthorization-required";
|
|
151
|
+
"not-owner": "not-owner";
|
|
152
|
+
"access-revoked": "access-revoked";
|
|
153
|
+
"quota-exhausted": "quota-exhausted";
|
|
154
|
+
}>;
|
|
155
|
+
readonly id: z.ZodString;
|
|
156
|
+
readonly url: z.ZodURL;
|
|
157
|
+
readonly createdAt: z.ZodISODateTime;
|
|
158
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
159
|
+
readonly attempts: z.ZodNumber;
|
|
160
|
+
readonly _tag: z.ZodLiteral<"rejected">;
|
|
161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
162
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
163
|
+
readonly reason: z.ZodString;
|
|
164
|
+
readonly id: z.ZodString;
|
|
165
|
+
readonly url: z.ZodURL;
|
|
166
|
+
readonly createdAt: z.ZodISODateTime;
|
|
167
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
168
|
+
readonly attempts: z.ZodNumber;
|
|
169
|
+
readonly _tag: z.ZodLiteral<"failed">;
|
|
170
|
+
}, z.core.$strip>], "_tag">;
|
|
171
|
+
export type GoogleSubmissionReceiptV1 = z.infer<typeof googleSubmissionReceiptV1Schema>;
|
|
172
|
+
/**
|
|
173
|
+
* The `details.reason` values of a v1 error envelope that refuses a Google
|
|
174
|
+
* Submission before gscdump sends anything. They are snake_case, like the
|
|
175
|
+
* entitlement refusals.
|
|
176
|
+
*/
|
|
177
|
+
export declare const GOOGLE_SUBMISSION_REFUSAL_REASONS: readonly ["indexing_api_unavailable", "needs_indexing_api_grant", "url_outside_site", "cooling_down", "site_daily_limit", "project_quota_spent"];
|
|
178
|
+
export type GoogleSubmissionRefusalReason = typeof GOOGLE_SUBMISSION_REFUSAL_REASONS[number];
|
|
179
|
+
/**
|
|
180
|
+
* The `details` of a v1 error envelope that refuses a Google Submission.
|
|
181
|
+
*
|
|
182
|
+
* - `indexing_api_unavailable` (409 `invalid_request`): the partner has no
|
|
183
|
+
* Indexing API client, or gscdump paused its Google delivery.
|
|
184
|
+
* - `needs_indexing_api_grant` (409 `invalid_request`): the Site's user holds
|
|
185
|
+
* no usable Indexing API grant for this partner. `grant` says which.
|
|
186
|
+
* - `url_outside_site` (400 `invalid_request`): the URL is not on the
|
|
187
|
+
* registered Site host, or not inside its URL-prefix property.
|
|
188
|
+
* - `cooling_down` (409 `invalid_request`): Google accepted this URL at
|
|
189
|
+
* `lastAcceptedAt`. It may be sent again at `availableAt`.
|
|
190
|
+
* - `site_daily_limit` (429 `rate_limited`): the Site sent `limit`
|
|
191
|
+
* notifications this Pacific day. The count resets at `resetsAt`.
|
|
192
|
+
* - `project_quota_spent` (429 `rate_limited`): the partner's Cloud project
|
|
193
|
+
* has no quota left this Pacific day. It resets at `resetsAt`.
|
|
194
|
+
*
|
|
195
|
+
* Unknown `details` keys are dropped, so a newer host can add keys.
|
|
196
|
+
*/
|
|
197
|
+
export declare const googleSubmissionRefusalSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
198
|
+
reason: z.ZodLiteral<"indexing_api_unavailable">;
|
|
199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
200
|
+
reason: z.ZodLiteral<"needs_indexing_api_grant">;
|
|
201
|
+
grant: z.ZodEnum<{
|
|
202
|
+
"reauthorization-required": "reauthorization-required";
|
|
203
|
+
missing: "missing";
|
|
204
|
+
}>;
|
|
205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
206
|
+
reason: z.ZodLiteral<"url_outside_site">;
|
|
207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
208
|
+
reason: z.ZodLiteral<"cooling_down">;
|
|
209
|
+
lastAcceptedAt: z.ZodISODateTime;
|
|
210
|
+
availableAt: z.ZodISODateTime;
|
|
211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
212
|
+
reason: z.ZodLiteral<"site_daily_limit">;
|
|
213
|
+
limit: z.ZodNumber;
|
|
214
|
+
resetsAt: z.ZodISODateTime;
|
|
215
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
216
|
+
reason: z.ZodLiteral<"project_quota_spent">;
|
|
217
|
+
resetsAt: z.ZodISODateTime;
|
|
218
|
+
}, z.core.$strip>], "reason">;
|
|
219
|
+
export type GoogleSubmissionRefusal = z.infer<typeof googleSubmissionRefusalSchema>;
|
|
220
|
+
/**
|
|
221
|
+
* Read a Google Submission refusal from the `details` of a v1 error envelope,
|
|
222
|
+
* such as `GscdumpV1Error.details`. Returns `null` when the details describe a
|
|
223
|
+
* different failure, or a refusal this contract version does not know.
|
|
224
|
+
*/
|
|
225
|
+
export declare function parseGoogleSubmissionRefusal(details: unknown): GoogleSubmissionRefusal | null;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineResponseObject } from "./http-core.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const GOOGLE_SUBMISSION_SITE_DAILY_LIMIT = 5;
|
|
4
|
+
const GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS = 7;
|
|
5
|
+
const GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT = 200;
|
|
6
|
+
const GOOGLE_SUBMISSION_MAX_ATTEMPTS = 3;
|
|
7
|
+
const count = z.number().int().nonnegative();
|
|
8
|
+
const pageUrl = z.url({ protocol: /^https?$/ });
|
|
9
|
+
const indexingApiGrantUpdateV1Schema = z.strictObject({
|
|
10
|
+
refreshToken: z.string().min(1),
|
|
11
|
+
scope: z.string().min(1),
|
|
12
|
+
googleEmail: z.email().nullable()
|
|
13
|
+
});
|
|
14
|
+
const missingGrant = defineResponseObject({ _tag: z.literal("missing") });
|
|
15
|
+
const grantedGrant = defineResponseObject({
|
|
16
|
+
_tag: z.literal("granted"),
|
|
17
|
+
googleEmail: z.string().nullable(),
|
|
18
|
+
grantedAt: z.iso.datetime()
|
|
19
|
+
});
|
|
20
|
+
const reauthorizationGrant = defineResponseObject({
|
|
21
|
+
_tag: z.literal("reauthorization-required"),
|
|
22
|
+
googleEmail: z.string().nullable()
|
|
23
|
+
});
|
|
24
|
+
const indexingApiGrantV1Schemas = {
|
|
25
|
+
producer: z.discriminatedUnion("_tag", [
|
|
26
|
+
missingGrant.producer,
|
|
27
|
+
grantedGrant.producer,
|
|
28
|
+
reauthorizationGrant.producer
|
|
29
|
+
]),
|
|
30
|
+
client: z.discriminatedUnion("_tag", [
|
|
31
|
+
missingGrant.client,
|
|
32
|
+
grantedGrant.client,
|
|
33
|
+
reauthorizationGrant.client
|
|
34
|
+
])
|
|
35
|
+
};
|
|
36
|
+
const indexingApiGrantV1Schema = indexingApiGrantV1Schemas.producer;
|
|
37
|
+
const googleSubmitV1Schema = z.strictObject({
|
|
38
|
+
url: pageUrl,
|
|
39
|
+
idempotencyKey: z.string().min(1).max(128)
|
|
40
|
+
});
|
|
41
|
+
const GOOGLE_SUBMISSION_REJECTION_REASONS = [
|
|
42
|
+
"not-owner",
|
|
43
|
+
"access-revoked",
|
|
44
|
+
"quota-exhausted",
|
|
45
|
+
"reauthorization-required"
|
|
46
|
+
];
|
|
47
|
+
const receiptShape = {
|
|
48
|
+
id: z.string().min(1),
|
|
49
|
+
url: pageUrl,
|
|
50
|
+
createdAt: z.iso.datetime(),
|
|
51
|
+
updatedAt: z.iso.datetime(),
|
|
52
|
+
attempts: z.number().int().min(1).max(3)
|
|
53
|
+
};
|
|
54
|
+
const acceptedReceipt = defineResponseObject({
|
|
55
|
+
_tag: z.literal("accepted"),
|
|
56
|
+
...receiptShape,
|
|
57
|
+
httpStatus: z.literal(200),
|
|
58
|
+
reason: z.null()
|
|
59
|
+
});
|
|
60
|
+
const rejectedReceipt = defineResponseObject({
|
|
61
|
+
_tag: z.literal("rejected"),
|
|
62
|
+
...receiptShape,
|
|
63
|
+
httpStatus: z.number().int().min(400).max(499).nullable(),
|
|
64
|
+
reason: z.enum(GOOGLE_SUBMISSION_REJECTION_REASONS)
|
|
65
|
+
});
|
|
66
|
+
const failedReceipt = defineResponseObject({
|
|
67
|
+
_tag: z.literal("failed"),
|
|
68
|
+
...receiptShape,
|
|
69
|
+
httpStatus: z.number().int().min(100).max(599).nullable(),
|
|
70
|
+
reason: z.string().min(1)
|
|
71
|
+
});
|
|
72
|
+
const googleSubmissionReceiptV1Schemas = {
|
|
73
|
+
producer: z.discriminatedUnion("_tag", [
|
|
74
|
+
acceptedReceipt.producer,
|
|
75
|
+
rejectedReceipt.producer,
|
|
76
|
+
failedReceipt.producer
|
|
77
|
+
]),
|
|
78
|
+
client: z.discriminatedUnion("_tag", [
|
|
79
|
+
acceptedReceipt.client,
|
|
80
|
+
rejectedReceipt.client,
|
|
81
|
+
failedReceipt.client
|
|
82
|
+
])
|
|
83
|
+
};
|
|
84
|
+
const googleSubmissionReceiptV1Schema = googleSubmissionReceiptV1Schemas.producer;
|
|
85
|
+
const GOOGLE_SUBMISSION_REFUSAL_REASONS = [
|
|
86
|
+
"indexing_api_unavailable",
|
|
87
|
+
"needs_indexing_api_grant",
|
|
88
|
+
"url_outside_site",
|
|
89
|
+
"cooling_down",
|
|
90
|
+
"site_daily_limit",
|
|
91
|
+
"project_quota_spent"
|
|
92
|
+
];
|
|
93
|
+
const googleSubmissionRefusalSchema = z.discriminatedUnion("reason", [
|
|
94
|
+
z.object({ reason: z.literal("indexing_api_unavailable") }),
|
|
95
|
+
z.object({
|
|
96
|
+
reason: z.literal("needs_indexing_api_grant"),
|
|
97
|
+
grant: z.enum(["missing", "reauthorization-required"])
|
|
98
|
+
}),
|
|
99
|
+
z.object({ reason: z.literal("url_outside_site") }),
|
|
100
|
+
z.object({
|
|
101
|
+
reason: z.literal("cooling_down"),
|
|
102
|
+
lastAcceptedAt: z.iso.datetime(),
|
|
103
|
+
availableAt: z.iso.datetime()
|
|
104
|
+
}),
|
|
105
|
+
z.object({
|
|
106
|
+
reason: z.literal("site_daily_limit"),
|
|
107
|
+
limit: count,
|
|
108
|
+
resetsAt: z.iso.datetime()
|
|
109
|
+
}),
|
|
110
|
+
z.object({
|
|
111
|
+
reason: z.literal("project_quota_spent"),
|
|
112
|
+
resetsAt: z.iso.datetime()
|
|
113
|
+
})
|
|
114
|
+
]);
|
|
115
|
+
function parseGoogleSubmissionRefusal(details) {
|
|
116
|
+
const parsed = googleSubmissionRefusalSchema.safeParse(details);
|
|
117
|
+
return parsed.success ? parsed.data : null;
|
|
118
|
+
}
|
|
119
|
+
export { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal };
|
package/dist/v1/http.d.mts
CHANGED
|
@@ -4,7 +4,8 @@ import { CompatibleResponseSchema, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPE
|
|
|
4
4
|
import { BingCnameVerificationV1, BingConnectionV1, bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
5
5
|
import { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
6
6
|
import { BingAuthorizationRequestV1, BingAuthorizationV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
7
|
+
import { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, GoogleSubmissionReceiptV1, GoogleSubmissionRefusal, GoogleSubmissionRefusalReason, GoogleSubmissionRejectionReason, IndexingApiGrantV1, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal } from "./google-indexing.mjs";
|
|
7
8
|
import { IndexNowConnectionV1, IndexNowSubmissionReceiptV1, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
8
9
|
import { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, createGscdumpV1Protocol } from "./operations.mjs";
|
|
9
10
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
10
|
-
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, BingAuthorizationRequestV1, BingAuthorizationV1, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, CompatibleResponseSchema, GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, HttpV1Credential, HttpV1ErrorCode, HttpV1Method, HttpV1OperationDefinition, HttpV1OperationEntry, HttpV1OperationRequest, HttpV1OwnershipRule, HttpV1ProtocolLike, HttpV1ProtocolOperation, HttpV1Registry, HttpV1RegistryOperationEntry, HttpV1RegistryOperationId, HttpV1RegistryPathOptions, HttpV1RegistryPathParams, HttpV1RequestSchemas, HttpV1ResourceReference, HttpV1ResourceType, HttpV1Scope, HttpV1Semantics, HttpV1Surface, HttpV1SurfaceName, HttpV1Visibility, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, ResolvedHttpV1Operation, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
11
|
+
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, BingAuthorizationRequestV1, BingAuthorizationV1, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, CompatibleResponseSchema, GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, GoogleSubmissionReceiptV1, GoogleSubmissionRefusal, GoogleSubmissionRefusalReason, GoogleSubmissionRejectionReason, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, HttpV1Credential, HttpV1ErrorCode, HttpV1Method, HttpV1OperationDefinition, HttpV1OperationEntry, HttpV1OperationRequest, HttpV1OwnershipRule, HttpV1ProtocolLike, HttpV1ProtocolOperation, HttpV1Registry, HttpV1RegistryOperationEntry, HttpV1RegistryOperationId, HttpV1RegistryPathOptions, HttpV1RegistryPathParams, HttpV1RequestSchemas, HttpV1ResourceReference, HttpV1ResourceType, HttpV1Scope, HttpV1Semantics, HttpV1Surface, HttpV1SurfaceName, HttpV1Visibility, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, IndexingApiGrantV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, ResolvedHttpV1Operation, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
package/dist/v1/http.mjs
CHANGED
|
@@ -4,7 +4,8 @@ import { GSCDUMP_HTTP_V1_VERSION } from "./version.mjs";
|
|
|
4
4
|
import { HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, buildHttpOperationPath, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, listHttpOperations, resolveHttpOperation } from "./http-core.mjs";
|
|
5
5
|
import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
6
6
|
import { bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
7
|
+
import { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal } from "./google-indexing.mjs";
|
|
7
8
|
import { indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
8
9
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
9
10
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
10
|
-
export { GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
11
|
+
export { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|