@gscdump/contracts 5.8.0 → 5.9.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/schemas.d.mts +3 -3
- package/dist/v1/browser.d.mts +1 -1
- 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 +429 -12
- package/dist/v1/operations.mjs +81 -0
- package/dist/v1/route-catalog.d.mts +5 -0
- package/dist/v1/route-catalog.mjs +5 -0
- package/dist/v1/sitemap-evidence.d.mts +145 -0
- package/dist/v1/sitemap-evidence.mjs +93 -0
- package/package.json +1 -1
package/dist/schemas.d.mts
CHANGED
|
@@ -2153,8 +2153,8 @@ export declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
|
|
|
2153
2153
|
authFailureCount: z.ZodNumber;
|
|
2154
2154
|
currentPhase: z.ZodEnum<{
|
|
2155
2155
|
complete: "complete";
|
|
2156
|
-
backfill: "backfill";
|
|
2157
2156
|
initial: "initial";
|
|
2157
|
+
backfill: "backfill";
|
|
2158
2158
|
}>;
|
|
2159
2159
|
isStalled: z.ZodBoolean;
|
|
2160
2160
|
stallDays: z.ZodNumber;
|
|
@@ -3680,8 +3680,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3680
3680
|
authFailureCount: z.ZodNumber;
|
|
3681
3681
|
currentPhase: z.ZodEnum<{
|
|
3682
3682
|
complete: "complete";
|
|
3683
|
-
backfill: "backfill";
|
|
3684
3683
|
initial: "initial";
|
|
3684
|
+
backfill: "backfill";
|
|
3685
3685
|
}>;
|
|
3686
3686
|
isStalled: z.ZodBoolean;
|
|
3687
3687
|
stallDays: z.ZodNumber;
|
|
@@ -5501,8 +5501,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5501
5501
|
authFailureCount: z.ZodNumber;
|
|
5502
5502
|
currentPhase: z.ZodEnum<{
|
|
5503
5503
|
complete: "complete";
|
|
5504
|
-
backfill: "backfill";
|
|
5505
5504
|
initial: "initial";
|
|
5505
|
+
backfill: "backfill";
|
|
5506
5506
|
}>;
|
|
5507
5507
|
isStalled: z.ZodBoolean;
|
|
5508
5508
|
stallDays: z.ZodNumber;
|
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
|
}>>;
|
package/dist/v1/http.d.mts
CHANGED
|
@@ -8,5 +8,6 @@ import { BingAuthorizationRequestV1, BingAuthorizationV1, BingGrantV1, BingLinkR
|
|
|
8
8
|
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, SiteIndexingApiGrantV1, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas } from "./google-indexing.mjs";
|
|
9
9
|
import { IndexNowConnectionV1, IndexNowSubmissionReceiptV1, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
10
10
|
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";
|
|
11
|
+
import { SitemapEvidenceV1, SitemapInspectQueryV1, sitemapEvidenceV1Schemas, sitemapInspectQueryV1Schema } from "./sitemap-evidence.mjs";
|
|
11
12
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
12
|
-
export { AnalyticsCoverageV1, 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, SiteIndexingApiGrantV1, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas, 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, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
13
|
+
export { AnalyticsCoverageV1, 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, SiteIndexingApiGrantV1, SitemapEvidenceV1, SitemapGrantHolderV1, SitemapInspectQueryV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas, 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, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas, sitemapEvidenceV1Schemas, sitemapGrantHolderV1Schemas, sitemapInspectQueryV1Schema, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
package/dist/v1/http.mjs
CHANGED
|
@@ -7,6 +7,7 @@ import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
|
7
7
|
import { bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
8
8
|
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, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas } from "./google-indexing.mjs";
|
|
9
9
|
import { indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
10
|
+
import { sitemapEvidenceV1Schemas, sitemapInspectQueryV1Schema } from "./sitemap-evidence.mjs";
|
|
10
11
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
11
12
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
12
|
-
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, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas, 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, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
13
|
+
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, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas, 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, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas, sitemapEvidenceV1Schemas, sitemapGrantHolderV1Schemas, sitemapInspectQueryV1Schema, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
package/dist/v1/index.d.mts
CHANGED
|
@@ -9,7 +9,8 @@ import { BingAuthorizationRequestV1, BingAuthorizationV1, BingGrantV1, BingLinkR
|
|
|
9
9
|
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, SiteIndexingApiGrantV1, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas } from "./google-indexing.mjs";
|
|
10
10
|
import { IndexNowConnectionV1, IndexNowSubmissionReceiptV1, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
11
11
|
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";
|
|
12
|
+
import { SitemapEvidenceV1, SitemapInspectQueryV1, sitemapEvidenceV1Schemas, sitemapInspectQueryV1Schema } from "./sitemap-evidence.mjs";
|
|
12
13
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
13
14
|
import "./http.mjs";
|
|
14
15
|
import { ContractDocument, createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
15
|
-
export { AnalyticsCoverageV1, 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, ContractDocument, 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, GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, 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, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, RealtimeTicketV1Response, RealtimeV1ClientFrame, RealtimeV1Cursor, RealtimeV1Event, RealtimeV1ResourceChange, RealtimeV1Schemas, RealtimeV1ServerFrame, RealtimeV1StreamHead, RealtimeV1StreamId, RealtimeV1TicketClaims, RealtimeV1TicketRequest, ResolvedHttpV1Operation, SiteIndexingApiGrantV1, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, serializeContractDocument, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
16
|
+
export { AnalyticsCoverageV1, 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, ContractDocument, 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, GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, 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, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, RealtimeTicketV1Response, RealtimeV1ClientFrame, RealtimeV1Cursor, RealtimeV1Event, RealtimeV1ResourceChange, RealtimeV1Schemas, RealtimeV1ServerFrame, RealtimeV1StreamHead, RealtimeV1StreamId, RealtimeV1TicketClaims, RealtimeV1TicketRequest, ResolvedHttpV1Operation, SiteIndexingApiGrantV1, SitemapEvidenceV1, SitemapGrantHolderV1, SitemapInspectQueryV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, serializeContractDocument, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas, sitemapEvidenceV1Schemas, sitemapGrantHolderV1Schemas, sitemapInspectQueryV1Schema, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
package/dist/v1/index.mjs
CHANGED
|
@@ -8,8 +8,9 @@ import { bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrant
|
|
|
8
8
|
import { GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, createRealtimeV1Schemas } from "./realtime.mjs";
|
|
9
9
|
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, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas } from "./google-indexing.mjs";
|
|
10
10
|
import { indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
11
|
+
import { sitemapEvidenceV1Schemas, sitemapInspectQueryV1Schema } from "./sitemap-evidence.mjs";
|
|
11
12
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
12
13
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
13
14
|
import { createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
14
15
|
import "./http.mjs";
|
|
15
|
-
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, GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, 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, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, serializeContractDocument, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
16
|
+
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, GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, 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, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, serializeContractDocument, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas, sitemapEvidenceV1Schemas, sitemapGrantHolderV1Schemas, sitemapInspectQueryV1Schema, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
package/dist/v1/operations.d.mts
CHANGED
|
@@ -744,12 +744,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
744
744
|
readonly GOOGLE_NEWS: "googleNews";
|
|
745
745
|
}>>;
|
|
746
746
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
747
|
+
date: "date";
|
|
747
748
|
page: "page";
|
|
748
749
|
query: "query";
|
|
749
750
|
queryCanonical: "queryCanonical";
|
|
750
751
|
country: "country";
|
|
751
752
|
device: "device";
|
|
752
|
-
date: "date";
|
|
753
753
|
searchAppearance: "searchAppearance";
|
|
754
754
|
hour: "hour";
|
|
755
755
|
}>>;
|
|
@@ -764,12 +764,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
764
764
|
readonly GOOGLE_NEWS: "googleNews";
|
|
765
765
|
}>>;
|
|
766
766
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
767
|
+
date: "date";
|
|
767
768
|
page: "page";
|
|
768
769
|
query: "query";
|
|
769
770
|
queryCanonical: "queryCanonical";
|
|
770
771
|
country: "country";
|
|
771
772
|
device: "device";
|
|
772
|
-
date: "date";
|
|
773
773
|
searchAppearance: "searchAppearance";
|
|
774
774
|
hour: "hour";
|
|
775
775
|
}>>;
|
|
@@ -901,12 +901,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
901
901
|
readonly GOOGLE_NEWS: "googleNews";
|
|
902
902
|
}>>;
|
|
903
903
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
904
|
+
date: "date";
|
|
904
905
|
page: "page";
|
|
905
906
|
query: "query";
|
|
906
907
|
queryCanonical: "queryCanonical";
|
|
907
908
|
country: "country";
|
|
908
909
|
device: "device";
|
|
909
|
-
date: "date";
|
|
910
910
|
searchAppearance: "searchAppearance";
|
|
911
911
|
hour: "hour";
|
|
912
912
|
}>>;
|
|
@@ -921,12 +921,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
921
921
|
readonly GOOGLE_NEWS: "googleNews";
|
|
922
922
|
}>>;
|
|
923
923
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
924
|
+
date: "date";
|
|
924
925
|
page: "page";
|
|
925
926
|
query: "query";
|
|
926
927
|
queryCanonical: "queryCanonical";
|
|
927
928
|
country: "country";
|
|
928
929
|
device: "device";
|
|
929
|
-
date: "date";
|
|
930
930
|
searchAppearance: "searchAppearance";
|
|
931
931
|
hour: "hour";
|
|
932
932
|
}>>;
|
|
@@ -1038,12 +1038,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1038
1038
|
}, z.core.$strip>>;
|
|
1039
1039
|
analyticsRowsRequest: z.ZodObject<{
|
|
1040
1040
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1041
|
+
date: "date";
|
|
1041
1042
|
page: "page";
|
|
1042
1043
|
query: "query";
|
|
1043
1044
|
queryCanonical: "queryCanonical";
|
|
1044
1045
|
country: "country";
|
|
1045
1046
|
device: "device";
|
|
1046
|
-
date: "date";
|
|
1047
1047
|
searchAppearance: "searchAppearance";
|
|
1048
1048
|
hour: "hour";
|
|
1049
1049
|
}>>;
|
|
@@ -3380,6 +3380,151 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
3380
3380
|
readonly version: z.ZodLiteral<"1.0">;
|
|
3381
3381
|
}, z.core.$strip>;
|
|
3382
3382
|
}, z.core.$strip>>;
|
|
3383
|
+
sitemapEvidenceResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
3384
|
+
data: z.ZodUnion<readonly [z.ZodObject<{
|
|
3385
|
+
readonly searchEngine: z.ZodLiteral<"google">;
|
|
3386
|
+
readonly sitemapUrl: z.ZodURL;
|
|
3387
|
+
readonly capture: z.ZodObject<{
|
|
3388
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
3389
|
+
readonly source: z.ZodEnum<{
|
|
3390
|
+
live: "live";
|
|
3391
|
+
stored: "stored";
|
|
3392
|
+
}>;
|
|
3393
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
3394
|
+
}, z.core.$strip>;
|
|
3395
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3396
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
3397
|
+
readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
|
|
3398
|
+
readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
|
|
3399
|
+
readonly isPending: z.ZodBoolean;
|
|
3400
|
+
readonly errors: z.ZodNumber;
|
|
3401
|
+
readonly warnings: z.ZodNumber;
|
|
3402
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
3403
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3404
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
3405
|
+
}, z.core.$strip>], "_tag">;
|
|
3406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3407
|
+
readonly searchEngine: z.ZodLiteral<"bing">;
|
|
3408
|
+
readonly sitemapUrl: z.ZodURL;
|
|
3409
|
+
readonly capture: z.ZodObject<{
|
|
3410
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
3411
|
+
readonly source: z.ZodEnum<{
|
|
3412
|
+
live: "live";
|
|
3413
|
+
stored: "stored";
|
|
3414
|
+
}>;
|
|
3415
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
3416
|
+
}, z.core.$strip>;
|
|
3417
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3418
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
3419
|
+
readonly status: z.ZodString;
|
|
3420
|
+
readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
3421
|
+
readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
|
|
3422
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
3423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3424
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
3425
|
+
}, z.core.$strip>], "_tag">;
|
|
3426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3427
|
+
readonly searchEngine: z.ZodEnum<{
|
|
3428
|
+
google: "google";
|
|
3429
|
+
bing: "bing";
|
|
3430
|
+
}>;
|
|
3431
|
+
readonly sitemapUrl: z.ZodURL;
|
|
3432
|
+
readonly capture: z.ZodObject<{
|
|
3433
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
3434
|
+
}, z.core.$strip>;
|
|
3435
|
+
readonly state: z.ZodObject<{
|
|
3436
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
3437
|
+
readonly reason: z.ZodEnum<{
|
|
3438
|
+
"not-checked": "not-checked";
|
|
3439
|
+
"permission-lost": "permission-lost";
|
|
3440
|
+
"grant-missing": "grant-missing";
|
|
3441
|
+
"provider-unavailable": "provider-unavailable";
|
|
3442
|
+
"reauthorization-required": "reauthorization-required";
|
|
3443
|
+
"not-enabled": "not-enabled";
|
|
3444
|
+
"site-unverified": "site-unverified";
|
|
3445
|
+
throttled: "throttled";
|
|
3446
|
+
}>;
|
|
3447
|
+
readonly retryable: z.ZodBoolean;
|
|
3448
|
+
}, z.core.$strip>;
|
|
3449
|
+
}, z.core.$strip>]>;
|
|
3450
|
+
meta: z.ZodObject<{
|
|
3451
|
+
readonly requestId: z.ZodString;
|
|
3452
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
3453
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
3454
|
+
}, z.core.$strip>;
|
|
3455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3456
|
+
data: z.ZodUnion<readonly [z.ZodObject<{
|
|
3457
|
+
readonly searchEngine: z.ZodLiteral<"google">;
|
|
3458
|
+
readonly sitemapUrl: z.ZodURL;
|
|
3459
|
+
readonly capture: z.ZodObject<{
|
|
3460
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
3461
|
+
readonly source: z.ZodEnum<{
|
|
3462
|
+
live: "live";
|
|
3463
|
+
stored: "stored";
|
|
3464
|
+
}>;
|
|
3465
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
3466
|
+
}, z.core.$strip>;
|
|
3467
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3468
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
3469
|
+
readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
|
|
3470
|
+
readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
|
|
3471
|
+
readonly isPending: z.ZodBoolean;
|
|
3472
|
+
readonly errors: z.ZodNumber;
|
|
3473
|
+
readonly warnings: z.ZodNumber;
|
|
3474
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
3475
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3476
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
3477
|
+
}, z.core.$strip>], "_tag">;
|
|
3478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3479
|
+
readonly searchEngine: z.ZodLiteral<"bing">;
|
|
3480
|
+
readonly sitemapUrl: z.ZodURL;
|
|
3481
|
+
readonly capture: z.ZodObject<{
|
|
3482
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
3483
|
+
readonly source: z.ZodEnum<{
|
|
3484
|
+
live: "live";
|
|
3485
|
+
stored: "stored";
|
|
3486
|
+
}>;
|
|
3487
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
3488
|
+
}, z.core.$strip>;
|
|
3489
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3490
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
3491
|
+
readonly status: z.ZodString;
|
|
3492
|
+
readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
3493
|
+
readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
|
|
3494
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
3495
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3496
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
3497
|
+
}, z.core.$strip>], "_tag">;
|
|
3498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3499
|
+
readonly searchEngine: z.ZodEnum<{
|
|
3500
|
+
google: "google";
|
|
3501
|
+
bing: "bing";
|
|
3502
|
+
}>;
|
|
3503
|
+
readonly sitemapUrl: z.ZodURL;
|
|
3504
|
+
readonly capture: z.ZodObject<{
|
|
3505
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
3506
|
+
}, z.core.$strip>;
|
|
3507
|
+
readonly state: z.ZodObject<{
|
|
3508
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
3509
|
+
readonly reason: z.ZodEnum<{
|
|
3510
|
+
"not-checked": "not-checked";
|
|
3511
|
+
"permission-lost": "permission-lost";
|
|
3512
|
+
"grant-missing": "grant-missing";
|
|
3513
|
+
"provider-unavailable": "provider-unavailable";
|
|
3514
|
+
"reauthorization-required": "reauthorization-required";
|
|
3515
|
+
"not-enabled": "not-enabled";
|
|
3516
|
+
"site-unverified": "site-unverified";
|
|
3517
|
+
throttled: "throttled";
|
|
3518
|
+
}>;
|
|
3519
|
+
readonly retryable: z.ZodBoolean;
|
|
3520
|
+
}, z.core.$strip>;
|
|
3521
|
+
}, z.core.$strip>]>;
|
|
3522
|
+
meta: z.ZodObject<{
|
|
3523
|
+
readonly requestId: z.ZodString;
|
|
3524
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
3525
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
3526
|
+
}, z.core.$strip>;
|
|
3527
|
+
}, z.core.$strip>>;
|
|
3383
3528
|
sitemapSubmissionResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
3384
3529
|
data: z.ZodObject<{
|
|
3385
3530
|
readonly searchEngine: z.ZodLiteral<"google">;
|
|
@@ -11866,6 +12011,278 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
11866
12011
|
readonly method: "GET";
|
|
11867
12012
|
readonly path: "/sites/{siteId}/sitemaps";
|
|
11868
12013
|
};
|
|
12014
|
+
readonly inspectSiteSitemap: {
|
|
12015
|
+
readonly visibility: "public";
|
|
12016
|
+
readonly semantics: {
|
|
12017
|
+
readonly kind: "query";
|
|
12018
|
+
readonly sideEffects: "none";
|
|
12019
|
+
readonly idempotent: true;
|
|
12020
|
+
readonly retry: "idempotent";
|
|
12021
|
+
readonly readConsistency: "primary";
|
|
12022
|
+
};
|
|
12023
|
+
readonly auth: {
|
|
12024
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
12025
|
+
readonly scopes: readonly ["sitemaps:read"];
|
|
12026
|
+
readonly ownership: readonly [{
|
|
12027
|
+
readonly credential: "user_key";
|
|
12028
|
+
readonly rule: "authorized_site";
|
|
12029
|
+
}, {
|
|
12030
|
+
readonly credential: "partner_key";
|
|
12031
|
+
readonly rule: "authorized_site";
|
|
12032
|
+
}];
|
|
12033
|
+
};
|
|
12034
|
+
readonly request: {
|
|
12035
|
+
readonly params: z.ZodObject<{
|
|
12036
|
+
siteId: z.ZodString;
|
|
12037
|
+
}, z.core.$strict>;
|
|
12038
|
+
readonly query: z.ZodObject<{
|
|
12039
|
+
searchEngine: z.ZodEnum<{
|
|
12040
|
+
google: "google";
|
|
12041
|
+
bing: "bing";
|
|
12042
|
+
}>;
|
|
12043
|
+
url: z.ZodURL;
|
|
12044
|
+
}, z.core.$strict>;
|
|
12045
|
+
readonly headers: z.ZodObject<{
|
|
12046
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
12047
|
+
}, z.core.$strict>;
|
|
12048
|
+
readonly body: null;
|
|
12049
|
+
};
|
|
12050
|
+
readonly responses: {
|
|
12051
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
12052
|
+
data: z.ZodUnion<readonly [z.ZodObject<{
|
|
12053
|
+
readonly searchEngine: z.ZodLiteral<"google">;
|
|
12054
|
+
readonly sitemapUrl: z.ZodURL;
|
|
12055
|
+
readonly capture: z.ZodObject<{
|
|
12056
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
12057
|
+
readonly source: z.ZodEnum<{
|
|
12058
|
+
live: "live";
|
|
12059
|
+
stored: "stored";
|
|
12060
|
+
}>;
|
|
12061
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
12062
|
+
}, z.core.$strip>;
|
|
12063
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12064
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
12065
|
+
readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
|
|
12066
|
+
readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
|
|
12067
|
+
readonly isPending: z.ZodBoolean;
|
|
12068
|
+
readonly errors: z.ZodNumber;
|
|
12069
|
+
readonly warnings: z.ZodNumber;
|
|
12070
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
12071
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12072
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
12073
|
+
}, z.core.$strip>], "_tag">;
|
|
12074
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12075
|
+
readonly searchEngine: z.ZodLiteral<"bing">;
|
|
12076
|
+
readonly sitemapUrl: z.ZodURL;
|
|
12077
|
+
readonly capture: z.ZodObject<{
|
|
12078
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
12079
|
+
readonly source: z.ZodEnum<{
|
|
12080
|
+
live: "live";
|
|
12081
|
+
stored: "stored";
|
|
12082
|
+
}>;
|
|
12083
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
12084
|
+
}, z.core.$strip>;
|
|
12085
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12086
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
12087
|
+
readonly status: z.ZodString;
|
|
12088
|
+
readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
12089
|
+
readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
|
|
12090
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
12091
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12092
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
12093
|
+
}, z.core.$strip>], "_tag">;
|
|
12094
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12095
|
+
readonly searchEngine: z.ZodEnum<{
|
|
12096
|
+
google: "google";
|
|
12097
|
+
bing: "bing";
|
|
12098
|
+
}>;
|
|
12099
|
+
readonly sitemapUrl: z.ZodURL;
|
|
12100
|
+
readonly capture: z.ZodObject<{
|
|
12101
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
12102
|
+
}, z.core.$strip>;
|
|
12103
|
+
readonly state: z.ZodObject<{
|
|
12104
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
12105
|
+
readonly reason: z.ZodEnum<{
|
|
12106
|
+
"not-checked": "not-checked";
|
|
12107
|
+
"permission-lost": "permission-lost";
|
|
12108
|
+
"grant-missing": "grant-missing";
|
|
12109
|
+
"provider-unavailable": "provider-unavailable";
|
|
12110
|
+
"reauthorization-required": "reauthorization-required";
|
|
12111
|
+
"not-enabled": "not-enabled";
|
|
12112
|
+
"site-unverified": "site-unverified";
|
|
12113
|
+
throttled: "throttled";
|
|
12114
|
+
}>;
|
|
12115
|
+
readonly retryable: z.ZodBoolean;
|
|
12116
|
+
}, z.core.$strip>;
|
|
12117
|
+
}, z.core.$strip>]>;
|
|
12118
|
+
meta: z.ZodObject<{
|
|
12119
|
+
readonly requestId: z.ZodString;
|
|
12120
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
12121
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
12122
|
+
}, z.core.$strip>;
|
|
12123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12124
|
+
data: z.ZodUnion<readonly [z.ZodObject<{
|
|
12125
|
+
readonly searchEngine: z.ZodLiteral<"google">;
|
|
12126
|
+
readonly sitemapUrl: z.ZodURL;
|
|
12127
|
+
readonly capture: z.ZodObject<{
|
|
12128
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
12129
|
+
readonly source: z.ZodEnum<{
|
|
12130
|
+
live: "live";
|
|
12131
|
+
stored: "stored";
|
|
12132
|
+
}>;
|
|
12133
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
12134
|
+
}, z.core.$strip>;
|
|
12135
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12136
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
12137
|
+
readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
|
|
12138
|
+
readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
|
|
12139
|
+
readonly isPending: z.ZodBoolean;
|
|
12140
|
+
readonly errors: z.ZodNumber;
|
|
12141
|
+
readonly warnings: z.ZodNumber;
|
|
12142
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
12143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12144
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
12145
|
+
}, z.core.$strip>], "_tag">;
|
|
12146
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12147
|
+
readonly searchEngine: z.ZodLiteral<"bing">;
|
|
12148
|
+
readonly sitemapUrl: z.ZodURL;
|
|
12149
|
+
readonly capture: z.ZodObject<{
|
|
12150
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
12151
|
+
readonly source: z.ZodEnum<{
|
|
12152
|
+
live: "live";
|
|
12153
|
+
stored: "stored";
|
|
12154
|
+
}>;
|
|
12155
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
12156
|
+
}, z.core.$strip>;
|
|
12157
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12158
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
12159
|
+
readonly status: z.ZodString;
|
|
12160
|
+
readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
12161
|
+
readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
|
|
12162
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
12163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12164
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
12165
|
+
}, z.core.$strip>], "_tag">;
|
|
12166
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12167
|
+
readonly searchEngine: z.ZodEnum<{
|
|
12168
|
+
google: "google";
|
|
12169
|
+
bing: "bing";
|
|
12170
|
+
}>;
|
|
12171
|
+
readonly sitemapUrl: z.ZodURL;
|
|
12172
|
+
readonly capture: z.ZodObject<{
|
|
12173
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
12174
|
+
}, z.core.$strip>;
|
|
12175
|
+
readonly state: z.ZodObject<{
|
|
12176
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
12177
|
+
readonly reason: z.ZodEnum<{
|
|
12178
|
+
"not-checked": "not-checked";
|
|
12179
|
+
"permission-lost": "permission-lost";
|
|
12180
|
+
"grant-missing": "grant-missing";
|
|
12181
|
+
"provider-unavailable": "provider-unavailable";
|
|
12182
|
+
"reauthorization-required": "reauthorization-required";
|
|
12183
|
+
"not-enabled": "not-enabled";
|
|
12184
|
+
"site-unverified": "site-unverified";
|
|
12185
|
+
throttled: "throttled";
|
|
12186
|
+
}>;
|
|
12187
|
+
readonly retryable: z.ZodBoolean;
|
|
12188
|
+
}, z.core.$strip>;
|
|
12189
|
+
}, z.core.$strip>]>;
|
|
12190
|
+
meta: z.ZodObject<{
|
|
12191
|
+
readonly requestId: z.ZodString;
|
|
12192
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
12193
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
12194
|
+
}, z.core.$strip>;
|
|
12195
|
+
}, z.core.$strip>>;
|
|
12196
|
+
};
|
|
12197
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
12198
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
12199
|
+
readonly error: z.ZodObject<{
|
|
12200
|
+
code: z.ZodEnum<{
|
|
12201
|
+
internal_error: "internal_error";
|
|
12202
|
+
invalid_request: "invalid_request";
|
|
12203
|
+
unauthorized: "unauthorized";
|
|
12204
|
+
forbidden: "forbidden";
|
|
12205
|
+
site_not_found: "site_not_found";
|
|
12206
|
+
rate_limited: "rate_limited";
|
|
12207
|
+
contract_violation: "contract_violation";
|
|
12208
|
+
}>;
|
|
12209
|
+
message: z.ZodString;
|
|
12210
|
+
requestId: z.ZodString;
|
|
12211
|
+
retryable: z.ZodBoolean;
|
|
12212
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
12213
|
+
}, z.core.$strict>;
|
|
12214
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12215
|
+
readonly error: z.ZodObject<{
|
|
12216
|
+
code: z.ZodEnum<{
|
|
12217
|
+
internal_error: "internal_error";
|
|
12218
|
+
invalid_request: "invalid_request";
|
|
12219
|
+
unauthorized: "unauthorized";
|
|
12220
|
+
forbidden: "forbidden";
|
|
12221
|
+
site_not_found: "site_not_found";
|
|
12222
|
+
rate_limited: "rate_limited";
|
|
12223
|
+
contract_violation: "contract_violation";
|
|
12224
|
+
}>;
|
|
12225
|
+
message: z.ZodString;
|
|
12226
|
+
requestId: z.ZodString;
|
|
12227
|
+
retryable: z.ZodBoolean;
|
|
12228
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
12229
|
+
}, z.core.$loose>;
|
|
12230
|
+
}, z.core.$strip>>;
|
|
12231
|
+
readonly resources: {
|
|
12232
|
+
readonly reads: readonly [{
|
|
12233
|
+
readonly type: "site.sitemaps";
|
|
12234
|
+
readonly idFrom: "params.siteId";
|
|
12235
|
+
}];
|
|
12236
|
+
readonly changes: readonly [];
|
|
12237
|
+
};
|
|
12238
|
+
readonly lifecycle: {
|
|
12239
|
+
readonly introduced: "5.9.0";
|
|
12240
|
+
};
|
|
12241
|
+
readonly docs: {
|
|
12242
|
+
readonly summary: "Inspect a Sitemap";
|
|
12243
|
+
readonly description: "Reads provider evidence for one exact Sitemap URL. Google uses a live read. Bing uses its dated stored read. Missing means the provider did not list that exact Sitemap at Capture time. Unavailable never means missing. This operation submits nothing.";
|
|
12244
|
+
readonly tags: readonly ["Sitemaps"];
|
|
12245
|
+
readonly examples: {
|
|
12246
|
+
readonly request: {
|
|
12247
|
+
readonly params: {
|
|
12248
|
+
readonly siteId: "s_01";
|
|
12249
|
+
};
|
|
12250
|
+
readonly query: {
|
|
12251
|
+
readonly searchEngine: "google";
|
|
12252
|
+
readonly url: "https://example.com/sitemap-old.xml";
|
|
12253
|
+
};
|
|
12254
|
+
};
|
|
12255
|
+
readonly response: {
|
|
12256
|
+
readonly data: {
|
|
12257
|
+
readonly searchEngine: "google";
|
|
12258
|
+
readonly sitemapUrl: "https://example.com/sitemap-old.xml";
|
|
12259
|
+
readonly capture: {
|
|
12260
|
+
readonly _tag: "captured";
|
|
12261
|
+
readonly source: "live";
|
|
12262
|
+
readonly capturedAt: "2026-10-08T02:00:00.000Z";
|
|
12263
|
+
};
|
|
12264
|
+
readonly state: {
|
|
12265
|
+
readonly _tag: "listed";
|
|
12266
|
+
readonly lastSubmitted: null;
|
|
12267
|
+
readonly lastDownloaded: null;
|
|
12268
|
+
readonly isPending: true;
|
|
12269
|
+
readonly errors: 0;
|
|
12270
|
+
readonly warnings: 0;
|
|
12271
|
+
readonly urlCount: null;
|
|
12272
|
+
};
|
|
12273
|
+
};
|
|
12274
|
+
readonly meta: {
|
|
12275
|
+
readonly requestId: "req_01";
|
|
12276
|
+
readonly surface: "partner";
|
|
12277
|
+
readonly version: "1.0";
|
|
12278
|
+
};
|
|
12279
|
+
};
|
|
12280
|
+
};
|
|
12281
|
+
};
|
|
12282
|
+
readonly id: "partner.sites.sitemaps.inspect";
|
|
12283
|
+
readonly method: "GET";
|
|
12284
|
+
readonly path: "/sites/{siteId}/sitemaps/inspect";
|
|
12285
|
+
};
|
|
11869
12286
|
readonly getSiteSitemapSubmission: {
|
|
11870
12287
|
readonly visibility: "public";
|
|
11871
12288
|
readonly semantics: {
|
|
@@ -13323,8 +13740,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13323
13740
|
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
13324
13741
|
url: z.ZodString;
|
|
13325
13742
|
reason: z.ZodEnum<{
|
|
13326
|
-
rate_limited: "rate_limited";
|
|
13327
13743
|
domain_mismatch: "domain_mismatch";
|
|
13744
|
+
rate_limited: "rate_limited";
|
|
13328
13745
|
}>;
|
|
13329
13746
|
}, z.core.$strict>>;
|
|
13330
13747
|
}, z.core.$strip>;
|
|
@@ -13375,8 +13792,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13375
13792
|
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
13376
13793
|
url: z.ZodString;
|
|
13377
13794
|
reason: z.ZodEnum<{
|
|
13378
|
-
rate_limited: "rate_limited";
|
|
13379
13795
|
domain_mismatch: "domain_mismatch";
|
|
13796
|
+
rate_limited: "rate_limited";
|
|
13380
13797
|
}>;
|
|
13381
13798
|
}, z.core.$strict>>;
|
|
13382
13799
|
}, z.core.$strip>;
|
|
@@ -22279,12 +22696,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22279
22696
|
}, z.core.$strict>;
|
|
22280
22697
|
readonly body: z.ZodObject<{
|
|
22281
22698
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22699
|
+
date: "date";
|
|
22282
22700
|
page: "page";
|
|
22283
22701
|
query: "query";
|
|
22284
22702
|
queryCanonical: "queryCanonical";
|
|
22285
22703
|
country: "country";
|
|
22286
22704
|
device: "device";
|
|
22287
|
-
date: "date";
|
|
22288
22705
|
searchAppearance: "searchAppearance";
|
|
22289
22706
|
hour: "hour";
|
|
22290
22707
|
}>>;
|
|
@@ -22482,12 +22899,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22482
22899
|
readonly GOOGLE_NEWS: "googleNews";
|
|
22483
22900
|
}>>;
|
|
22484
22901
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22902
|
+
date: "date";
|
|
22485
22903
|
page: "page";
|
|
22486
22904
|
query: "query";
|
|
22487
22905
|
queryCanonical: "queryCanonical";
|
|
22488
22906
|
country: "country";
|
|
22489
22907
|
device: "device";
|
|
22490
|
-
date: "date";
|
|
22491
22908
|
searchAppearance: "searchAppearance";
|
|
22492
22909
|
hour: "hour";
|
|
22493
22910
|
}>>;
|
|
@@ -22502,12 +22919,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22502
22919
|
readonly GOOGLE_NEWS: "googleNews";
|
|
22503
22920
|
}>>;
|
|
22504
22921
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22922
|
+
date: "date";
|
|
22505
22923
|
page: "page";
|
|
22506
22924
|
query: "query";
|
|
22507
22925
|
queryCanonical: "queryCanonical";
|
|
22508
22926
|
country: "country";
|
|
22509
22927
|
device: "device";
|
|
22510
|
-
date: "date";
|
|
22511
22928
|
searchAppearance: "searchAppearance";
|
|
22512
22929
|
hour: "hour";
|
|
22513
22930
|
}>>;
|
|
@@ -22752,12 +23169,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22752
23169
|
readonly GOOGLE_NEWS: "googleNews";
|
|
22753
23170
|
}>>;
|
|
22754
23171
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
23172
|
+
date: "date";
|
|
22755
23173
|
page: "page";
|
|
22756
23174
|
query: "query";
|
|
22757
23175
|
queryCanonical: "queryCanonical";
|
|
22758
23176
|
country: "country";
|
|
22759
23177
|
device: "device";
|
|
22760
|
-
date: "date";
|
|
22761
23178
|
searchAppearance: "searchAppearance";
|
|
22762
23179
|
hour: "hour";
|
|
22763
23180
|
}>>;
|
|
@@ -22772,12 +23189,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22772
23189
|
readonly GOOGLE_NEWS: "googleNews";
|
|
22773
23190
|
}>>;
|
|
22774
23191
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
23192
|
+
date: "date";
|
|
22775
23193
|
page: "page";
|
|
22776
23194
|
query: "query";
|
|
22777
23195
|
queryCanonical: "queryCanonical";
|
|
22778
23196
|
country: "country";
|
|
22779
23197
|
device: "device";
|
|
22780
|
-
date: "date";
|
|
22781
23198
|
searchAppearance: "searchAppearance";
|
|
22782
23199
|
hour: "hour";
|
|
22783
23200
|
}>>;
|
package/dist/v1/operations.mjs
CHANGED
|
@@ -13,6 +13,7 @@ import { GSCDUMP_V1_ANALYTICS_DIMENSIONS, createGscdumpV1BrowserSchemas } from "
|
|
|
13
13
|
import { googleSubmissionReceiptV1Schemas, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schemas, siteIndexingApiGrantV1Schemas } from "./google-indexing.mjs";
|
|
14
14
|
import { indexNowConfigureV1Schema, indexNowConnectionV1Schemas, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
15
15
|
import { gscdumpV1OperationRoute, gscdumpV1Surface } from "./route-catalog.mjs";
|
|
16
|
+
import { sitemapEvidenceV1Schemas, sitemapInspectQueryV1Schema } from "./sitemap-evidence.mjs";
|
|
16
17
|
import { sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
17
18
|
import { z } from "zod";
|
|
18
19
|
function errorEnvelopeSchemas(codes, publicRequestId) {
|
|
@@ -294,6 +295,7 @@ function createGscdumpV1Protocol() {
|
|
|
294
295
|
const bingLinkResponse = defineSuccessResponse(bingLinkResultV1Schemas, partnerResponseMeta);
|
|
295
296
|
const bingAuthorizationResponse = defineSuccessResponse(bingAuthorizationV1Schemas, partnerResponseMeta);
|
|
296
297
|
const bingSitemapSubmitResponse = defineSuccessResponse(bingSitemapSubmitResultV1Schemas, partnerResponseMeta);
|
|
298
|
+
const sitemapEvidenceResponse = defineSuccessResponse(sitemapEvidenceV1Schemas, partnerResponseMeta);
|
|
297
299
|
const sitemapSubmissionResponse = defineSuccessResponse(sitemapSubmissionV1Schemas, partnerResponseMeta);
|
|
298
300
|
const sitemapSubmitResponse = defineSuccessResponse(sitemapSubmitResultV1Schemas, partnerResponseMeta);
|
|
299
301
|
const indexingTransition = defineResponseObject({
|
|
@@ -2973,6 +2975,84 @@ function createGscdumpV1Protocol() {
|
|
|
2973
2975
|
}
|
|
2974
2976
|
}
|
|
2975
2977
|
}),
|
|
2978
|
+
inspectSiteSitemap: defineHttpOperation({
|
|
2979
|
+
...gscdumpV1OperationRoute("partner.sites.sitemaps.inspect"),
|
|
2980
|
+
visibility: "public",
|
|
2981
|
+
semantics: {
|
|
2982
|
+
kind: "query",
|
|
2983
|
+
sideEffects: "none",
|
|
2984
|
+
idempotent: true,
|
|
2985
|
+
retry: "idempotent",
|
|
2986
|
+
readConsistency: "primary"
|
|
2987
|
+
},
|
|
2988
|
+
auth: {
|
|
2989
|
+
credentials: ["user_key", "partner_key"],
|
|
2990
|
+
scopes: ["sitemaps:read"],
|
|
2991
|
+
ownership: [{
|
|
2992
|
+
credential: "user_key",
|
|
2993
|
+
rule: "authorized_site"
|
|
2994
|
+
}, {
|
|
2995
|
+
credential: "partner_key",
|
|
2996
|
+
rule: "authorized_site"
|
|
2997
|
+
}]
|
|
2998
|
+
},
|
|
2999
|
+
request: {
|
|
3000
|
+
params: z.strictObject({ siteId: realtimeSchemas.publicSiteId }),
|
|
3001
|
+
query: sitemapInspectQueryV1Schema,
|
|
3002
|
+
headers: requestHeaders,
|
|
3003
|
+
body: null
|
|
3004
|
+
},
|
|
3005
|
+
responses: { 200: sitemapEvidenceResponse },
|
|
3006
|
+
errors: partnerSiteErrors,
|
|
3007
|
+
errorResponse: errorEnvelopeSchemas(partnerSiteErrors, realtimeSchemas.publicRequestId),
|
|
3008
|
+
resources: {
|
|
3009
|
+
reads: [{
|
|
3010
|
+
type: "site.sitemaps",
|
|
3011
|
+
idFrom: "params.siteId"
|
|
3012
|
+
}],
|
|
3013
|
+
changes: []
|
|
3014
|
+
},
|
|
3015
|
+
lifecycle: { introduced: "5.9.0" },
|
|
3016
|
+
docs: {
|
|
3017
|
+
summary: "Inspect a Sitemap",
|
|
3018
|
+
description: "Reads provider evidence for one exact Sitemap URL. Google uses a live read. Bing uses its dated stored read. Missing means the provider did not list that exact Sitemap at Capture time. Unavailable never means missing. This operation submits nothing.",
|
|
3019
|
+
tags: ["Sitemaps"],
|
|
3020
|
+
examples: {
|
|
3021
|
+
request: {
|
|
3022
|
+
params: { siteId: "s_01" },
|
|
3023
|
+
query: {
|
|
3024
|
+
searchEngine: "google",
|
|
3025
|
+
url: "https://example.com/sitemap-old.xml"
|
|
3026
|
+
}
|
|
3027
|
+
},
|
|
3028
|
+
response: {
|
|
3029
|
+
data: {
|
|
3030
|
+
searchEngine: "google",
|
|
3031
|
+
sitemapUrl: "https://example.com/sitemap-old.xml",
|
|
3032
|
+
capture: {
|
|
3033
|
+
_tag: "captured",
|
|
3034
|
+
source: "live",
|
|
3035
|
+
capturedAt: "2026-10-08T02:00:00.000Z"
|
|
3036
|
+
},
|
|
3037
|
+
state: {
|
|
3038
|
+
_tag: "listed",
|
|
3039
|
+
lastSubmitted: null,
|
|
3040
|
+
lastDownloaded: null,
|
|
3041
|
+
isPending: true,
|
|
3042
|
+
errors: 0,
|
|
3043
|
+
warnings: 0,
|
|
3044
|
+
urlCount: null
|
|
3045
|
+
}
|
|
3046
|
+
},
|
|
3047
|
+
meta: {
|
|
3048
|
+
requestId: "req_01",
|
|
3049
|
+
surface: "partner",
|
|
3050
|
+
version: "1.0"
|
|
3051
|
+
}
|
|
3052
|
+
}
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
}),
|
|
2976
3056
|
getSiteSitemapSubmission: defineHttpOperation({
|
|
2977
3057
|
...gscdumpV1OperationRoute("partner.sites.sitemaps.submission.get"),
|
|
2978
3058
|
visibility: "public",
|
|
@@ -6747,6 +6827,7 @@ function createGscdumpV1Protocol() {
|
|
|
6747
6827
|
bingLinkResponse,
|
|
6748
6828
|
bingAuthorizationResponse,
|
|
6749
6829
|
bingSitemapSubmitResponse,
|
|
6830
|
+
sitemapEvidenceResponse,
|
|
6750
6831
|
sitemapSubmissionResponse,
|
|
6751
6832
|
sitemapSubmitResponse,
|
|
6752
6833
|
lifecycleResponse,
|
|
@@ -211,6 +211,11 @@ export declare const GSCDUMP_V1_ROUTE_CATALOG: {
|
|
|
211
211
|
readonly method: "GET";
|
|
212
212
|
readonly template: "/sites/{siteId}/sitemaps/changes";
|
|
213
213
|
};
|
|
214
|
+
readonly 'partner.sites.sitemaps.inspect': {
|
|
215
|
+
readonly surface: "partner";
|
|
216
|
+
readonly method: "GET";
|
|
217
|
+
readonly template: "/sites/{siteId}/sitemaps/inspect";
|
|
218
|
+
};
|
|
214
219
|
readonly 'partner.sites.sitemaps.submission.get': {
|
|
215
220
|
readonly surface: "partner";
|
|
216
221
|
readonly method: "GET";
|
|
@@ -198,6 +198,11 @@ const GSCDUMP_V1_ROUTE_CATALOG = {
|
|
|
198
198
|
method: "GET",
|
|
199
199
|
template: "/sites/{siteId}/sitemaps/changes"
|
|
200
200
|
},
|
|
201
|
+
"partner.sites.sitemaps.inspect": {
|
|
202
|
+
surface: "partner",
|
|
203
|
+
method: "GET",
|
|
204
|
+
template: "/sites/{siteId}/sitemaps/inspect"
|
|
205
|
+
},
|
|
201
206
|
"partner.sites.sitemaps.submission.get": {
|
|
202
207
|
surface: "partner",
|
|
203
208
|
method: "GET",
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const sitemapInspectQueryV1Schema: z.ZodObject<{
|
|
3
|
+
searchEngine: z.ZodEnum<{
|
|
4
|
+
google: "google";
|
|
5
|
+
bing: "bing";
|
|
6
|
+
}>;
|
|
7
|
+
url: z.ZodURL;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
/** Exact provider listing evidence. Missing requires a successful dated read. */
|
|
10
|
+
export declare const sitemapEvidenceV1Schemas: {
|
|
11
|
+
producer: z.ZodUnion<readonly [z.ZodObject<{
|
|
12
|
+
readonly searchEngine: z.ZodLiteral<"google">;
|
|
13
|
+
readonly sitemapUrl: z.ZodURL;
|
|
14
|
+
readonly capture: z.ZodObject<{
|
|
15
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
16
|
+
readonly source: z.ZodEnum<{
|
|
17
|
+
live: "live";
|
|
18
|
+
stored: "stored";
|
|
19
|
+
}>;
|
|
20
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
24
|
+
readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
|
|
25
|
+
readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
|
|
26
|
+
readonly isPending: z.ZodBoolean;
|
|
27
|
+
readonly errors: z.ZodNumber;
|
|
28
|
+
readonly warnings: z.ZodNumber;
|
|
29
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
32
|
+
}, z.core.$strip>], "_tag">;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
readonly searchEngine: z.ZodLiteral<"bing">;
|
|
35
|
+
readonly sitemapUrl: z.ZodURL;
|
|
36
|
+
readonly capture: z.ZodObject<{
|
|
37
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
38
|
+
readonly source: z.ZodEnum<{
|
|
39
|
+
live: "live";
|
|
40
|
+
stored: "stored";
|
|
41
|
+
}>;
|
|
42
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
45
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
46
|
+
readonly status: z.ZodString;
|
|
47
|
+
readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
48
|
+
readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
|
|
49
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
50
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
52
|
+
}, z.core.$strip>], "_tag">;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
readonly searchEngine: z.ZodEnum<{
|
|
55
|
+
google: "google";
|
|
56
|
+
bing: "bing";
|
|
57
|
+
}>;
|
|
58
|
+
readonly sitemapUrl: z.ZodURL;
|
|
59
|
+
readonly capture: z.ZodObject<{
|
|
60
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
readonly state: z.ZodObject<{
|
|
63
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
64
|
+
readonly reason: z.ZodEnum<{
|
|
65
|
+
"not-checked": "not-checked";
|
|
66
|
+
"permission-lost": "permission-lost";
|
|
67
|
+
"grant-missing": "grant-missing";
|
|
68
|
+
"provider-unavailable": "provider-unavailable";
|
|
69
|
+
"reauthorization-required": "reauthorization-required";
|
|
70
|
+
"not-enabled": "not-enabled";
|
|
71
|
+
"site-unverified": "site-unverified";
|
|
72
|
+
throttled: "throttled";
|
|
73
|
+
}>;
|
|
74
|
+
readonly retryable: z.ZodBoolean;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
}, z.core.$strip>]>;
|
|
77
|
+
client: z.ZodUnion<readonly [z.ZodObject<{
|
|
78
|
+
readonly searchEngine: z.ZodLiteral<"google">;
|
|
79
|
+
readonly sitemapUrl: z.ZodURL;
|
|
80
|
+
readonly capture: z.ZodObject<{
|
|
81
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
82
|
+
readonly source: z.ZodEnum<{
|
|
83
|
+
live: "live";
|
|
84
|
+
stored: "stored";
|
|
85
|
+
}>;
|
|
86
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
89
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
90
|
+
readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
|
|
91
|
+
readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
|
|
92
|
+
readonly isPending: z.ZodBoolean;
|
|
93
|
+
readonly errors: z.ZodNumber;
|
|
94
|
+
readonly warnings: z.ZodNumber;
|
|
95
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
98
|
+
}, z.core.$strip>], "_tag">;
|
|
99
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
100
|
+
readonly searchEngine: z.ZodLiteral<"bing">;
|
|
101
|
+
readonly sitemapUrl: z.ZodURL;
|
|
102
|
+
readonly capture: z.ZodObject<{
|
|
103
|
+
readonly _tag: z.ZodLiteral<"captured">;
|
|
104
|
+
readonly source: z.ZodEnum<{
|
|
105
|
+
live: "live";
|
|
106
|
+
stored: "stored";
|
|
107
|
+
}>;
|
|
108
|
+
readonly capturedAt: z.ZodISODateTime;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
111
|
+
readonly _tag: z.ZodLiteral<"listed">;
|
|
112
|
+
readonly status: z.ZodString;
|
|
113
|
+
readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
114
|
+
readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
|
|
115
|
+
readonly urlCount: z.ZodNullable<z.ZodNumber>;
|
|
116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
118
|
+
}, z.core.$strip>], "_tag">;
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
120
|
+
readonly searchEngine: z.ZodEnum<{
|
|
121
|
+
google: "google";
|
|
122
|
+
bing: "bing";
|
|
123
|
+
}>;
|
|
124
|
+
readonly sitemapUrl: z.ZodURL;
|
|
125
|
+
readonly capture: z.ZodObject<{
|
|
126
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
readonly state: z.ZodObject<{
|
|
129
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
130
|
+
readonly reason: z.ZodEnum<{
|
|
131
|
+
"not-checked": "not-checked";
|
|
132
|
+
"permission-lost": "permission-lost";
|
|
133
|
+
"grant-missing": "grant-missing";
|
|
134
|
+
"provider-unavailable": "provider-unavailable";
|
|
135
|
+
"reauthorization-required": "reauthorization-required";
|
|
136
|
+
"not-enabled": "not-enabled";
|
|
137
|
+
"site-unverified": "site-unverified";
|
|
138
|
+
throttled: "throttled";
|
|
139
|
+
}>;
|
|
140
|
+
readonly retryable: z.ZodBoolean;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
}, z.core.$strip>]>;
|
|
143
|
+
};
|
|
144
|
+
export type SitemapInspectQueryV1 = z.infer<typeof sitemapInspectQueryV1Schema>;
|
|
145
|
+
export type SitemapEvidenceV1 = z.infer<typeof sitemapEvidenceV1Schemas.producer>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { defineResponseObject } from "./http-core.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const sitemapUrl = z.url({ protocol: /^https?$/ }).max(2048).refine((value) => {
|
|
4
|
+
const url = new URL(value);
|
|
5
|
+
return !url.username && !url.password && !url.hash;
|
|
6
|
+
}, "Use a Sitemap URL without credentials or a fragment.");
|
|
7
|
+
const sitemapInspectQueryV1Schema = z.strictObject({
|
|
8
|
+
searchEngine: z.enum(["google", "bing"]),
|
|
9
|
+
url: sitemapUrl
|
|
10
|
+
});
|
|
11
|
+
const captured = defineResponseObject({
|
|
12
|
+
_tag: z.literal("captured"),
|
|
13
|
+
source: z.enum(["live", "stored"]),
|
|
14
|
+
capturedAt: z.iso.datetime()
|
|
15
|
+
});
|
|
16
|
+
const unavailableCapture = defineResponseObject({ _tag: z.literal("unavailable") });
|
|
17
|
+
const missing = defineResponseObject({ _tag: z.literal("missing") });
|
|
18
|
+
const unavailable = defineResponseObject({
|
|
19
|
+
_tag: z.literal("unavailable"),
|
|
20
|
+
reason: z.enum([
|
|
21
|
+
"grant-missing",
|
|
22
|
+
"reauthorization-required",
|
|
23
|
+
"permission-lost",
|
|
24
|
+
"site-unverified",
|
|
25
|
+
"not-enabled",
|
|
26
|
+
"not-checked",
|
|
27
|
+
"throttled",
|
|
28
|
+
"provider-unavailable"
|
|
29
|
+
]),
|
|
30
|
+
retryable: z.boolean()
|
|
31
|
+
});
|
|
32
|
+
const googleListed = defineResponseObject({
|
|
33
|
+
_tag: z.literal("listed"),
|
|
34
|
+
lastSubmitted: z.iso.datetime({ offset: true }).nullable(),
|
|
35
|
+
lastDownloaded: z.iso.datetime({ offset: true }).nullable(),
|
|
36
|
+
isPending: z.boolean(),
|
|
37
|
+
errors: z.number().int().nonnegative(),
|
|
38
|
+
warnings: z.number().int().nonnegative(),
|
|
39
|
+
urlCount: z.number().int().nonnegative().nullable()
|
|
40
|
+
});
|
|
41
|
+
const bingListed = defineResponseObject({
|
|
42
|
+
_tag: z.literal("listed"),
|
|
43
|
+
status: z.string(),
|
|
44
|
+
submittedAt: z.iso.datetime({ offset: true }).nullable(),
|
|
45
|
+
lastCrawledAt: z.iso.datetime({ offset: true }).nullable(),
|
|
46
|
+
urlCount: z.number().int().nonnegative().nullable()
|
|
47
|
+
});
|
|
48
|
+
const google = defineResponseObject({
|
|
49
|
+
searchEngine: z.literal("google"),
|
|
50
|
+
sitemapUrl,
|
|
51
|
+
capture: captured.producer,
|
|
52
|
+
state: z.discriminatedUnion("_tag", [googleListed.producer, missing.producer])
|
|
53
|
+
}, {
|
|
54
|
+
searchEngine: z.literal("google"),
|
|
55
|
+
sitemapUrl,
|
|
56
|
+
capture: captured.client,
|
|
57
|
+
state: z.discriminatedUnion("_tag", [googleListed.client, missing.client])
|
|
58
|
+
});
|
|
59
|
+
const bing = defineResponseObject({
|
|
60
|
+
searchEngine: z.literal("bing"),
|
|
61
|
+
sitemapUrl,
|
|
62
|
+
capture: captured.producer,
|
|
63
|
+
state: z.discriminatedUnion("_tag", [bingListed.producer, missing.producer])
|
|
64
|
+
}, {
|
|
65
|
+
searchEngine: z.literal("bing"),
|
|
66
|
+
sitemapUrl,
|
|
67
|
+
capture: captured.client,
|
|
68
|
+
state: z.discriminatedUnion("_tag", [bingListed.client, missing.client])
|
|
69
|
+
});
|
|
70
|
+
const failed = defineResponseObject({
|
|
71
|
+
searchEngine: z.enum(["google", "bing"]),
|
|
72
|
+
sitemapUrl,
|
|
73
|
+
capture: unavailableCapture.producer,
|
|
74
|
+
state: unavailable.producer
|
|
75
|
+
}, {
|
|
76
|
+
searchEngine: z.enum(["google", "bing"]),
|
|
77
|
+
sitemapUrl,
|
|
78
|
+
capture: unavailableCapture.client,
|
|
79
|
+
state: unavailable.client
|
|
80
|
+
});
|
|
81
|
+
const sitemapEvidenceV1Schemas = {
|
|
82
|
+
producer: z.union([
|
|
83
|
+
google.producer,
|
|
84
|
+
bing.producer,
|
|
85
|
+
failed.producer
|
|
86
|
+
]),
|
|
87
|
+
client: z.union([
|
|
88
|
+
google.client,
|
|
89
|
+
bing.client,
|
|
90
|
+
failed.client
|
|
91
|
+
])
|
|
92
|
+
};
|
|
93
|
+
export { sitemapEvidenceV1Schemas, sitemapInspectQueryV1Schema };
|