@gscdump/contracts 5.7.0 → 5.8.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/v1/google-indexing.d.mts +33 -0
- package/dist/v1/google-indexing.mjs +22 -1
- package/dist/v1/http.d.mts +2 -2
- package/dist/v1/http.mjs +2 -2
- package/dist/v1/index.d.mts +2 -2
- package/dist/v1/index.mjs +2 -2
- package/dist/v1/operations.d.mts +133 -0
- package/dist/v1/operations.mjs +57 -1
- package/dist/v1/route-catalog.d.mts +5 -0
- package/dist/v1/route-catalog.mjs +5 -0
- package/package.json +1 -1
|
@@ -51,6 +51,39 @@ export declare const indexingApiGrantV1Schema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
51
51
|
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
52
52
|
}, z.core.$strip>], "_tag">;
|
|
53
53
|
export type IndexingApiGrantV1 = z.infer<typeof indexingApiGrantV1Schema>;
|
|
54
|
+
export declare const siteIndexingApiGrantV1Schemas: {
|
|
55
|
+
producer: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
56
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
57
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
61
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
62
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
64
|
+
}, z.core.$strip>], "_tag">;
|
|
65
|
+
client: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
66
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
67
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
71
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
74
|
+
}, z.core.$strip>], "_tag">;
|
|
75
|
+
};
|
|
76
|
+
export declare const siteIndexingApiGrantV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
77
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
82
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
85
|
+
}, z.core.$strip>], "_tag">;
|
|
86
|
+
export type SiteIndexingApiGrantV1 = z.infer<typeof siteIndexingApiGrantV1Schema>;
|
|
54
87
|
/** `partner.sites.indexing.google.submissions.create`. One URL per request. */
|
|
55
88
|
export declare const googleSubmitV1Schema: z.ZodObject<{
|
|
56
89
|
url: z.ZodURL;
|
|
@@ -34,6 +34,27 @@ const indexingApiGrantV1Schemas = {
|
|
|
34
34
|
])
|
|
35
35
|
};
|
|
36
36
|
const indexingApiGrantV1Schema = indexingApiGrantV1Schemas.producer;
|
|
37
|
+
const unavailableSiteGrant = defineResponseObject({ _tag: z.literal("unavailable") });
|
|
38
|
+
const grantedSiteGrant = defineResponseObject({
|
|
39
|
+
_tag: z.literal("granted"),
|
|
40
|
+
grantedAt: z.iso.datetime()
|
|
41
|
+
});
|
|
42
|
+
const reauthorizationSiteGrant = defineResponseObject({ _tag: z.literal("reauthorization-required") });
|
|
43
|
+
const siteIndexingApiGrantV1Schemas = {
|
|
44
|
+
producer: z.discriminatedUnion("_tag", [
|
|
45
|
+
unavailableSiteGrant.producer,
|
|
46
|
+
missingGrant.producer,
|
|
47
|
+
grantedSiteGrant.producer,
|
|
48
|
+
reauthorizationSiteGrant.producer
|
|
49
|
+
]),
|
|
50
|
+
client: z.discriminatedUnion("_tag", [
|
|
51
|
+
unavailableSiteGrant.client,
|
|
52
|
+
missingGrant.client,
|
|
53
|
+
grantedSiteGrant.client,
|
|
54
|
+
reauthorizationSiteGrant.client
|
|
55
|
+
])
|
|
56
|
+
};
|
|
57
|
+
const siteIndexingApiGrantV1Schema = siteIndexingApiGrantV1Schemas.producer;
|
|
37
58
|
const googleSubmitV1Schema = z.strictObject({
|
|
38
59
|
url: pageUrl,
|
|
39
60
|
idempotencyKey: z.string().min(1).max(128)
|
|
@@ -116,4 +137,4 @@ function parseGoogleSubmissionRefusal(details) {
|
|
|
116
137
|
const parsed = googleSubmissionRefusalSchema.safeParse(details);
|
|
117
138
|
return parsed.success ? parsed.data : null;
|
|
118
139
|
}
|
|
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 };
|
|
140
|
+
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, siteIndexingApiGrantV1Schema, siteIndexingApiGrantV1Schemas };
|
package/dist/v1/http.d.mts
CHANGED
|
@@ -5,8 +5,8 @@ import { AnalyticsCoverageV1, analyticsCoverageQueryV1Schema, analyticsCoverageV
|
|
|
5
5
|
import { BingCnameVerificationV1, BingConnectionV1, bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
6
6
|
import { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
7
7
|
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";
|
|
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, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal } from "./google-indexing.mjs";
|
|
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
11
|
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, 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, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
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 };
|
package/dist/v1/http.mjs
CHANGED
|
@@ -5,8 +5,8 @@ import { analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas } from "./an
|
|
|
5
5
|
import { bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
6
6
|
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
|
-
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";
|
|
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
10
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
11
11
|
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, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
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 };
|
package/dist/v1/index.d.mts
CHANGED
|
@@ -6,10 +6,10 @@ import { AnalyticsCoverageV1, analyticsCoverageQueryV1Schema, analyticsCoverageV
|
|
|
6
6
|
import { BingCnameVerificationV1, BingConnectionV1, bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
7
7
|
import { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
8
8
|
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";
|
|
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, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal } from "./google-indexing.mjs";
|
|
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
12
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
13
13
|
import "./http.mjs";
|
|
14
14
|
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, 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, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
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 };
|
package/dist/v1/index.mjs
CHANGED
|
@@ -6,10 +6,10 @@ import { bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mj
|
|
|
6
6
|
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 { 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
|
-
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";
|
|
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
11
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
12
12
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
13
13
|
import { createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
14
14
|
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, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
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 };
|
package/dist/v1/operations.d.mts
CHANGED
|
@@ -9254,6 +9254,139 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
9254
9254
|
readonly method: "DELETE";
|
|
9255
9255
|
readonly path: "/users/{userId}/indexing/google/grant";
|
|
9256
9256
|
};
|
|
9257
|
+
readonly getSiteIndexingApiGrant: {
|
|
9258
|
+
readonly visibility: "public";
|
|
9259
|
+
readonly semantics: {
|
|
9260
|
+
readonly kind: "query";
|
|
9261
|
+
readonly sideEffects: "none";
|
|
9262
|
+
readonly idempotent: true;
|
|
9263
|
+
readonly retry: "idempotent";
|
|
9264
|
+
readonly readConsistency: "primary";
|
|
9265
|
+
};
|
|
9266
|
+
readonly auth: {
|
|
9267
|
+
readonly credentials: readonly ["partner_key"];
|
|
9268
|
+
readonly scopes: readonly ["indexing:read"];
|
|
9269
|
+
readonly ownership: readonly [{
|
|
9270
|
+
readonly credential: "partner_key";
|
|
9271
|
+
readonly rule: "authorized_site";
|
|
9272
|
+
}];
|
|
9273
|
+
};
|
|
9274
|
+
readonly request: {
|
|
9275
|
+
readonly params: z.ZodObject<{
|
|
9276
|
+
siteId: z.ZodString;
|
|
9277
|
+
}, z.core.$strict>;
|
|
9278
|
+
readonly query: null;
|
|
9279
|
+
readonly headers: z.ZodObject<{
|
|
9280
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
9281
|
+
}, z.core.$strict>;
|
|
9282
|
+
readonly body: null;
|
|
9283
|
+
};
|
|
9284
|
+
readonly responses: {
|
|
9285
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
9286
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9287
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
9288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9289
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
9290
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9291
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
9292
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
9293
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9294
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
9295
|
+
}, z.core.$strip>], "_tag">;
|
|
9296
|
+
meta: z.ZodObject<{
|
|
9297
|
+
readonly requestId: z.ZodString;
|
|
9298
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
9299
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
9300
|
+
}, z.core.$strip>;
|
|
9301
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9302
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9303
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
9304
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9305
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
9306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9307
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
9308
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
9309
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9310
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
9311
|
+
}, z.core.$strip>], "_tag">;
|
|
9312
|
+
meta: z.ZodObject<{
|
|
9313
|
+
readonly requestId: z.ZodString;
|
|
9314
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
9315
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
9316
|
+
}, z.core.$strip>;
|
|
9317
|
+
}, z.core.$strip>>;
|
|
9318
|
+
};
|
|
9319
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
9320
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
9321
|
+
readonly error: z.ZodObject<{
|
|
9322
|
+
code: z.ZodEnum<{
|
|
9323
|
+
internal_error: "internal_error";
|
|
9324
|
+
invalid_request: "invalid_request";
|
|
9325
|
+
unauthorized: "unauthorized";
|
|
9326
|
+
forbidden: "forbidden";
|
|
9327
|
+
site_not_found: "site_not_found";
|
|
9328
|
+
rate_limited: "rate_limited";
|
|
9329
|
+
contract_violation: "contract_violation";
|
|
9330
|
+
}>;
|
|
9331
|
+
message: z.ZodString;
|
|
9332
|
+
requestId: z.ZodString;
|
|
9333
|
+
retryable: z.ZodBoolean;
|
|
9334
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
9335
|
+
}, z.core.$strict>;
|
|
9336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9337
|
+
readonly error: z.ZodObject<{
|
|
9338
|
+
code: z.ZodEnum<{
|
|
9339
|
+
internal_error: "internal_error";
|
|
9340
|
+
invalid_request: "invalid_request";
|
|
9341
|
+
unauthorized: "unauthorized";
|
|
9342
|
+
forbidden: "forbidden";
|
|
9343
|
+
site_not_found: "site_not_found";
|
|
9344
|
+
rate_limited: "rate_limited";
|
|
9345
|
+
contract_violation: "contract_violation";
|
|
9346
|
+
}>;
|
|
9347
|
+
message: z.ZodString;
|
|
9348
|
+
requestId: z.ZodString;
|
|
9349
|
+
retryable: z.ZodBoolean;
|
|
9350
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
9351
|
+
}, z.core.$loose>;
|
|
9352
|
+
}, z.core.$strip>>;
|
|
9353
|
+
readonly resources: {
|
|
9354
|
+
readonly reads: readonly [{
|
|
9355
|
+
readonly type: "site.indexing";
|
|
9356
|
+
readonly idFrom: "params.siteId";
|
|
9357
|
+
}];
|
|
9358
|
+
readonly changes: readonly [];
|
|
9359
|
+
};
|
|
9360
|
+
readonly lifecycle: {
|
|
9361
|
+
readonly introduced: "5.8.0";
|
|
9362
|
+
};
|
|
9363
|
+
readonly docs: {
|
|
9364
|
+
readonly summary: "Get Site Indexing API grant";
|
|
9365
|
+
readonly description: "Returns the Indexing API grant a Google Submission for this Site uses, without naming its Google account.";
|
|
9366
|
+
readonly tags: readonly ["Indexing"];
|
|
9367
|
+
readonly examples: {
|
|
9368
|
+
readonly request: {
|
|
9369
|
+
readonly params: {
|
|
9370
|
+
readonly siteId: "s_01";
|
|
9371
|
+
};
|
|
9372
|
+
};
|
|
9373
|
+
readonly response: {
|
|
9374
|
+
readonly data: {
|
|
9375
|
+
readonly _tag: "granted";
|
|
9376
|
+
readonly grantedAt: "2026-10-01T00:00:00.000Z";
|
|
9377
|
+
};
|
|
9378
|
+
readonly meta: {
|
|
9379
|
+
readonly requestId: "req_01";
|
|
9380
|
+
readonly surface: "partner";
|
|
9381
|
+
readonly version: "1.0";
|
|
9382
|
+
};
|
|
9383
|
+
};
|
|
9384
|
+
};
|
|
9385
|
+
};
|
|
9386
|
+
readonly id: "partner.sites.indexing.google.grant.get";
|
|
9387
|
+
readonly method: "GET";
|
|
9388
|
+
readonly path: "/sites/{siteId}/indexing/google/grant";
|
|
9389
|
+
};
|
|
9257
9390
|
readonly createSiteGoogleSubmission: {
|
|
9258
9391
|
readonly visibility: "public";
|
|
9259
9392
|
readonly semantics: {
|
package/dist/v1/operations.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
|
10
10
|
import { bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingLinkResultV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
11
11
|
import { GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, REALTIME_V1_EVENT_SEMANTICS, createRealtimeV1Schemas } from "./realtime.mjs";
|
|
12
12
|
import { GSCDUMP_V1_ANALYTICS_DIMENSIONS, createGscdumpV1BrowserSchemas } from "./browser.mjs";
|
|
13
|
-
import { googleSubmissionReceiptV1Schemas, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schemas } from "./google-indexing.mjs";
|
|
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
16
|
import { sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
@@ -281,6 +281,7 @@ function createGscdumpV1Protocol() {
|
|
|
281
281
|
pagination: bingIndexingEvidencePagination.client
|
|
282
282
|
}), partnerResponseMeta);
|
|
283
283
|
const indexingApiGrantResponse = defineSuccessResponse(indexingApiGrantV1Schemas, partnerResponseMeta);
|
|
284
|
+
const siteIndexingApiGrantResponse = defineSuccessResponse(siteIndexingApiGrantV1Schemas, partnerResponseMeta);
|
|
284
285
|
const googleSubmissionResponse = defineSuccessResponse(defineResponseObject({ submissionReceipt: googleSubmissionReceiptV1Schemas.producer }, { submissionReceipt: googleSubmissionReceiptV1Schemas.client }), partnerResponseMeta);
|
|
285
286
|
const googleSubmissionReceiptsResponse = defineSuccessResponse(defineResponseObject({
|
|
286
287
|
submissionReceipts: z.array(googleSubmissionReceiptV1Schemas.producer),
|
|
@@ -2161,6 +2162,61 @@ function createGscdumpV1Protocol() {
|
|
|
2161
2162
|
}
|
|
2162
2163
|
}
|
|
2163
2164
|
}),
|
|
2165
|
+
getSiteIndexingApiGrant: defineHttpOperation({
|
|
2166
|
+
...gscdumpV1OperationRoute("partner.sites.indexing.google.grant.get"),
|
|
2167
|
+
visibility: "public",
|
|
2168
|
+
semantics: {
|
|
2169
|
+
kind: "query",
|
|
2170
|
+
sideEffects: "none",
|
|
2171
|
+
idempotent: true,
|
|
2172
|
+
retry: "idempotent",
|
|
2173
|
+
readConsistency: "primary"
|
|
2174
|
+
},
|
|
2175
|
+
auth: {
|
|
2176
|
+
credentials: ["partner_key"],
|
|
2177
|
+
scopes: ["indexing:read"],
|
|
2178
|
+
ownership: [{
|
|
2179
|
+
credential: "partner_key",
|
|
2180
|
+
rule: "authorized_site"
|
|
2181
|
+
}]
|
|
2182
|
+
},
|
|
2183
|
+
request: {
|
|
2184
|
+
params: z.strictObject({ siteId: realtimeSchemas.publicSiteId }),
|
|
2185
|
+
query: null,
|
|
2186
|
+
headers: requestHeaders,
|
|
2187
|
+
body: null
|
|
2188
|
+
},
|
|
2189
|
+
responses: { 200: siteIndexingApiGrantResponse },
|
|
2190
|
+
errors: partnerSiteErrors,
|
|
2191
|
+
errorResponse: errorEnvelopeSchemas(partnerSiteErrors, realtimeSchemas.publicRequestId),
|
|
2192
|
+
resources: {
|
|
2193
|
+
reads: [{
|
|
2194
|
+
type: "site.indexing",
|
|
2195
|
+
idFrom: "params.siteId"
|
|
2196
|
+
}],
|
|
2197
|
+
changes: []
|
|
2198
|
+
},
|
|
2199
|
+
lifecycle: { introduced: "5.8.0" },
|
|
2200
|
+
docs: {
|
|
2201
|
+
summary: "Get Site Indexing API grant",
|
|
2202
|
+
description: "Returns the Indexing API grant a Google Submission for this Site uses, without naming its Google account.",
|
|
2203
|
+
tags: ["Indexing"],
|
|
2204
|
+
examples: {
|
|
2205
|
+
request: { params: { siteId: "s_01" } },
|
|
2206
|
+
response: {
|
|
2207
|
+
data: {
|
|
2208
|
+
_tag: "granted",
|
|
2209
|
+
grantedAt: "2026-10-01T00:00:00.000Z"
|
|
2210
|
+
},
|
|
2211
|
+
meta: {
|
|
2212
|
+
requestId: "req_01",
|
|
2213
|
+
surface: "partner",
|
|
2214
|
+
version: "1.0"
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
}),
|
|
2164
2220
|
createSiteGoogleSubmission: defineHttpOperation({
|
|
2165
2221
|
...gscdumpV1OperationRoute("partner.sites.indexing.google.submissions.create"),
|
|
2166
2222
|
visibility: "public",
|
|
@@ -146,6 +146,11 @@ export declare const GSCDUMP_V1_ROUTE_CATALOG: {
|
|
|
146
146
|
readonly method: "GET";
|
|
147
147
|
readonly template: "/sites/{siteId}/indexing/google/submissions";
|
|
148
148
|
};
|
|
149
|
+
readonly 'partner.sites.indexing.google.grant.get': {
|
|
150
|
+
readonly surface: "partner";
|
|
151
|
+
readonly method: "GET";
|
|
152
|
+
readonly template: "/sites/{siteId}/indexing/google/grant";
|
|
153
|
+
};
|
|
149
154
|
readonly 'partner.users.indexing.google.grant.get': {
|
|
150
155
|
readonly surface: "partner";
|
|
151
156
|
readonly method: "GET";
|
|
@@ -133,6 +133,11 @@ const GSCDUMP_V1_ROUTE_CATALOG = {
|
|
|
133
133
|
method: "GET",
|
|
134
134
|
template: "/sites/{siteId}/indexing/google/submissions"
|
|
135
135
|
},
|
|
136
|
+
"partner.sites.indexing.google.grant.get": {
|
|
137
|
+
surface: "partner",
|
|
138
|
+
method: "GET",
|
|
139
|
+
template: "/sites/{siteId}/indexing/google/grant"
|
|
140
|
+
},
|
|
136
141
|
"partner.users.indexing.google.grant.get": {
|
|
137
142
|
surface: "partner",
|
|
138
143
|
method: "GET",
|