@gscdump/contracts 5.3.0 → 5.5.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/analytics-coverage.d.mts +56 -0
- package/dist/v1/analytics-coverage.mjs +25 -0
- package/dist/v1/bing-sites.mjs +1 -1
- package/dist/v1/browser.d.mts +1 -1
- package/dist/v1/http.d.mts +2 -1
- package/dist/v1/http.mjs +3 -2
- package/dist/v1/index.d.mts +2 -1
- package/dist/v1/index.mjs +3 -2
- package/dist/v1/operations.d.mts +189 -10
- package/dist/v1/operations.mjs +72 -1
- package/dist/v1/route-catalog.d.mts +5 -0
- package/dist/v1/route-catalog.mjs +5 -0
- package/package.json +1 -1
package/dist/schemas.d.mts
CHANGED
|
@@ -2138,8 +2138,8 @@ export declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
|
|
|
2138
2138
|
authFailureCount: z.ZodNumber;
|
|
2139
2139
|
currentPhase: z.ZodEnum<{
|
|
2140
2140
|
complete: "complete";
|
|
2141
|
-
initial: "initial";
|
|
2142
2141
|
backfill: "backfill";
|
|
2142
|
+
initial: "initial";
|
|
2143
2143
|
}>;
|
|
2144
2144
|
isStalled: z.ZodBoolean;
|
|
2145
2145
|
stallDays: z.ZodNumber;
|
|
@@ -3665,8 +3665,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3665
3665
|
authFailureCount: z.ZodNumber;
|
|
3666
3666
|
currentPhase: z.ZodEnum<{
|
|
3667
3667
|
complete: "complete";
|
|
3668
|
-
initial: "initial";
|
|
3669
3668
|
backfill: "backfill";
|
|
3669
|
+
initial: "initial";
|
|
3670
3670
|
}>;
|
|
3671
3671
|
isStalled: z.ZodBoolean;
|
|
3672
3672
|
stallDays: z.ZodNumber;
|
|
@@ -5486,8 +5486,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5486
5486
|
authFailureCount: z.ZodNumber;
|
|
5487
5487
|
currentPhase: z.ZodEnum<{
|
|
5488
5488
|
complete: "complete";
|
|
5489
|
-
initial: "initial";
|
|
5490
5489
|
backfill: "backfill";
|
|
5490
|
+
initial: "initial";
|
|
5491
5491
|
}>;
|
|
5492
5492
|
isStalled: z.ZodBoolean;
|
|
5493
5493
|
stallDays: z.ZodNumber;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { CompatibleResponseSchema } from "./http-core.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const analyticsCoverageQueryV1Schema: z.ZodObject<{
|
|
4
|
+
startDate: z.ZodISODate;
|
|
5
|
+
endDate: z.ZodISODate;
|
|
6
|
+
comparisonStartDate: z.ZodOptional<z.ZodISODate>;
|
|
7
|
+
comparisonEndDate: z.ZodOptional<z.ZodISODate>;
|
|
8
|
+
searchType: z.ZodDefault<z.ZodEnum<{
|
|
9
|
+
readonly WEB: "web";
|
|
10
|
+
readonly IMAGE: "image";
|
|
11
|
+
readonly VIDEO: "video";
|
|
12
|
+
readonly NEWS: "news";
|
|
13
|
+
readonly DISCOVER: "discover";
|
|
14
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
15
|
+
}>>;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
export declare const analyticsCoverageV1Schemas: CompatibleResponseSchema<z.ZodObject<{
|
|
18
|
+
readonly searchType: z.ZodEnum<{
|
|
19
|
+
readonly WEB: "web";
|
|
20
|
+
readonly IMAGE: "image";
|
|
21
|
+
readonly VIDEO: "video";
|
|
22
|
+
readonly NEWS: "news";
|
|
23
|
+
readonly DISCOVER: "discover";
|
|
24
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
25
|
+
}>;
|
|
26
|
+
readonly current: z.ZodObject<{
|
|
27
|
+
readonly startDate: z.ZodISODate;
|
|
28
|
+
readonly endDate: z.ZodISODate;
|
|
29
|
+
readonly complete: z.ZodBoolean;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
readonly comparison: z.ZodNullable<z.ZodObject<{
|
|
32
|
+
readonly startDate: z.ZodISODate;
|
|
33
|
+
readonly endDate: z.ZodISODate;
|
|
34
|
+
readonly complete: z.ZodBoolean;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
readonly searchType: z.ZodEnum<{
|
|
38
|
+
readonly WEB: "web";
|
|
39
|
+
readonly IMAGE: "image";
|
|
40
|
+
readonly VIDEO: "video";
|
|
41
|
+
readonly NEWS: "news";
|
|
42
|
+
readonly DISCOVER: "discover";
|
|
43
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
44
|
+
}>;
|
|
45
|
+
readonly current: z.ZodObject<{
|
|
46
|
+
readonly startDate: z.ZodISODate;
|
|
47
|
+
readonly endDate: z.ZodISODate;
|
|
48
|
+
readonly complete: z.ZodBoolean;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
readonly comparison: z.ZodNullable<z.ZodObject<{
|
|
51
|
+
readonly startDate: z.ZodISODate;
|
|
52
|
+
readonly endDate: z.ZodISODate;
|
|
53
|
+
readonly complete: z.ZodBoolean;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
export type AnalyticsCoverageV1 = z.output<typeof analyticsCoverageV1Schemas.client>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { searchTypeSchema } from "../schemas.mjs";
|
|
2
|
+
import { defineResponseObject } from "./http-core.mjs";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
const analyticsCoverageQueryV1Schema = z.strictObject({
|
|
5
|
+
startDate: z.iso.date(),
|
|
6
|
+
endDate: z.iso.date(),
|
|
7
|
+
comparisonStartDate: z.iso.date().optional(),
|
|
8
|
+
comparisonEndDate: z.iso.date().optional(),
|
|
9
|
+
searchType: searchTypeSchema.default("web")
|
|
10
|
+
}).refine((input) => input.startDate <= input.endDate, "The start date must precede the end date.").refine((input) => input.comparisonStartDate === void 0 === (input.comparisonEndDate === void 0), "Provide both comparison dates.").refine((input) => !input.comparisonStartDate || input.comparisonStartDate <= input.comparisonEndDate, "The comparison start date must precede the end date.");
|
|
11
|
+
const window = defineResponseObject({
|
|
12
|
+
startDate: z.iso.date(),
|
|
13
|
+
endDate: z.iso.date(),
|
|
14
|
+
complete: z.boolean()
|
|
15
|
+
});
|
|
16
|
+
const analyticsCoverageV1Schemas = defineResponseObject({
|
|
17
|
+
searchType: searchTypeSchema,
|
|
18
|
+
current: window.producer,
|
|
19
|
+
comparison: window.producer.nullable()
|
|
20
|
+
}, {
|
|
21
|
+
searchType: searchTypeSchema,
|
|
22
|
+
current: window.client,
|
|
23
|
+
comparison: window.client.nullable()
|
|
24
|
+
});
|
|
25
|
+
export { analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas };
|
package/dist/v1/bing-sites.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bingCnameVerificationV1Schema } from "./bing.mjs";
|
|
2
1
|
import { defineResponseObject } from "./http-core.mjs";
|
|
2
|
+
import { bingCnameVerificationV1Schema } from "./bing.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
const isoDateTime = z.iso.datetime();
|
|
5
5
|
const publicSiteId = z.string().regex(/^s_[\w-]+$/);
|
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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UnknownHttpV1OperationError, isUnknownHttpV1OperationError } from "./http-operation-error.mjs";
|
|
2
2
|
import { GSCDUMP_HTTP_V1_VERSION } from "./version.mjs";
|
|
3
3
|
import { CompatibleResponseSchema, 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, ResolvedHttpV1Operation, buildHttpOperationPath, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, listHttpOperations, resolveHttpOperation } from "./http-core.mjs";
|
|
4
|
+
import { AnalyticsCoverageV1, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas } from "./analytics-coverage.mjs";
|
|
4
5
|
import { BingCnameVerificationV1, BingConnectionV1, bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
5
6
|
import { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
6
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,4 +9,4 @@ import { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMP
|
|
|
8
9
|
import { IndexNowConnectionV1, IndexNowSubmissionReceiptV1, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
9
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";
|
|
10
11
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
11
|
-
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, BingAuthorizationRequestV1, BingAuthorizationV1, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, CompatibleResponseSchema, GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, GoogleSubmissionReceiptV1, GoogleSubmissionRefusal, GoogleSubmissionRefusalReason, GoogleSubmissionRejectionReason, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, HttpV1Credential, HttpV1ErrorCode, HttpV1Method, HttpV1OperationDefinition, HttpV1OperationEntry, HttpV1OperationRequest, HttpV1OwnershipRule, HttpV1ProtocolLike, HttpV1ProtocolOperation, HttpV1Registry, HttpV1RegistryOperationEntry, HttpV1RegistryOperationId, HttpV1RegistryPathOptions, HttpV1RegistryPathParams, HttpV1RequestSchemas, HttpV1ResourceReference, HttpV1ResourceType, HttpV1Scope, HttpV1Semantics, HttpV1Surface, HttpV1SurfaceName, HttpV1Visibility, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, IndexingApiGrantV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, ResolvedHttpV1Operation, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
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 };
|
package/dist/v1/http.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
2
1
|
import { isUnknownHttpV1OperationError } from "./http-operation-error.mjs";
|
|
3
2
|
import { GSCDUMP_HTTP_V1_VERSION } from "./version.mjs";
|
|
4
3
|
import { HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, buildHttpOperationPath, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, listHttpOperations, resolveHttpOperation } from "./http-core.mjs";
|
|
4
|
+
import { analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas } from "./analytics-coverage.mjs";
|
|
5
|
+
import { bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
5
6
|
import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
6
7
|
import { bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
7
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
9
|
import { indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
9
10
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
10
11
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
11
|
-
export { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
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 };
|
package/dist/v1/index.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ import { UnknownHttpV1OperationError, isUnknownHttpV1OperationError } from "./ht
|
|
|
2
2
|
import { GSCDUMP_HTTP_V1_VERSION } from "./version.mjs";
|
|
3
3
|
import { CompatibleResponseSchema, 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, ResolvedHttpV1Operation, buildHttpOperationPath, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, listHttpOperations, resolveHttpOperation } from "./http-core.mjs";
|
|
4
4
|
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, RealtimeTicketV1Response, RealtimeV1ClientFrame, RealtimeV1Cursor, RealtimeV1Event, RealtimeV1ResourceChange, RealtimeV1Schemas, RealtimeV1ServerFrame, RealtimeV1StreamHead, RealtimeV1StreamId, RealtimeV1TicketClaims, RealtimeV1TicketRequest, createRealtimeV1Schemas } from "./realtime.mjs";
|
|
5
|
+
import { AnalyticsCoverageV1, analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas } from "./analytics-coverage.mjs";
|
|
5
6
|
import { BingCnameVerificationV1, BingConnectionV1, bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
6
7
|
import { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
7
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";
|
|
@@ -11,4 +12,4 @@ import { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, Analyt
|
|
|
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
13
|
import "./http.mjs";
|
|
13
14
|
import { ContractDocument, createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
14
|
-
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, BingAuthorizationRequestV1, BingAuthorizationV1, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, CompatibleResponseSchema, 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, 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, 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 };
|
package/dist/v1/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
2
1
|
import { isUnknownHttpV1OperationError } from "./http-operation-error.mjs";
|
|
3
2
|
import { GSCDUMP_HTTP_V1_VERSION } from "./version.mjs";
|
|
4
3
|
import { HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, buildHttpOperationPath, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, listHttpOperations, resolveHttpOperation } from "./http-core.mjs";
|
|
4
|
+
import { analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas } from "./analytics-coverage.mjs";
|
|
5
|
+
import { bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
5
6
|
import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
6
7
|
import { bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
7
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";
|
|
@@ -11,4 +12,4 @@ import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, sitemap
|
|
|
11
12
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
12
13
|
import { createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
13
14
|
import "./http.mjs";
|
|
14
|
-
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, 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, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
package/dist/v1/operations.d.mts
CHANGED
|
@@ -740,12 +740,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
740
740
|
readonly GOOGLE_NEWS: "googleNews";
|
|
741
741
|
}>>;
|
|
742
742
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
743
|
+
date: "date";
|
|
743
744
|
page: "page";
|
|
744
745
|
query: "query";
|
|
745
746
|
queryCanonical: "queryCanonical";
|
|
746
747
|
country: "country";
|
|
747
748
|
device: "device";
|
|
748
|
-
date: "date";
|
|
749
749
|
searchAppearance: "searchAppearance";
|
|
750
750
|
hour: "hour";
|
|
751
751
|
}>>;
|
|
@@ -760,12 +760,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
760
760
|
readonly GOOGLE_NEWS: "googleNews";
|
|
761
761
|
}>>;
|
|
762
762
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
763
|
+
date: "date";
|
|
763
764
|
page: "page";
|
|
764
765
|
query: "query";
|
|
765
766
|
queryCanonical: "queryCanonical";
|
|
766
767
|
country: "country";
|
|
767
768
|
device: "device";
|
|
768
|
-
date: "date";
|
|
769
769
|
searchAppearance: "searchAppearance";
|
|
770
770
|
hour: "hour";
|
|
771
771
|
}>>;
|
|
@@ -897,12 +897,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
897
897
|
readonly GOOGLE_NEWS: "googleNews";
|
|
898
898
|
}>>;
|
|
899
899
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
900
|
+
date: "date";
|
|
900
901
|
page: "page";
|
|
901
902
|
query: "query";
|
|
902
903
|
queryCanonical: "queryCanonical";
|
|
903
904
|
country: "country";
|
|
904
905
|
device: "device";
|
|
905
|
-
date: "date";
|
|
906
906
|
searchAppearance: "searchAppearance";
|
|
907
907
|
hour: "hour";
|
|
908
908
|
}>>;
|
|
@@ -917,12 +917,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
917
917
|
readonly GOOGLE_NEWS: "googleNews";
|
|
918
918
|
}>>;
|
|
919
919
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
920
|
+
date: "date";
|
|
920
921
|
page: "page";
|
|
921
922
|
query: "query";
|
|
922
923
|
queryCanonical: "queryCanonical";
|
|
923
924
|
country: "country";
|
|
924
925
|
device: "device";
|
|
925
|
-
date: "date";
|
|
926
926
|
searchAppearance: "searchAppearance";
|
|
927
927
|
hour: "hour";
|
|
928
928
|
}>>;
|
|
@@ -1025,12 +1025,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1025
1025
|
}, z.core.$strip>>;
|
|
1026
1026
|
analyticsRowsRequest: z.ZodObject<{
|
|
1027
1027
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1028
|
+
date: "date";
|
|
1028
1029
|
page: "page";
|
|
1029
1030
|
query: "query";
|
|
1030
1031
|
queryCanonical: "queryCanonical";
|
|
1031
1032
|
country: "country";
|
|
1032
1033
|
device: "device";
|
|
1033
|
-
date: "date";
|
|
1034
1034
|
searchAppearance: "searchAppearance";
|
|
1035
1035
|
hour: "hour";
|
|
1036
1036
|
}>>;
|
|
@@ -6366,6 +6366,185 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6366
6366
|
readonly method: "PATCH";
|
|
6367
6367
|
readonly path: "/users/{userId}/tokens";
|
|
6368
6368
|
};
|
|
6369
|
+
readonly getSiteAnalyticsCoverage: {
|
|
6370
|
+
readonly visibility: "public";
|
|
6371
|
+
readonly semantics: {
|
|
6372
|
+
readonly kind: "query";
|
|
6373
|
+
readonly sideEffects: "none";
|
|
6374
|
+
readonly idempotent: true;
|
|
6375
|
+
readonly retry: "idempotent";
|
|
6376
|
+
readonly readConsistency: "primary";
|
|
6377
|
+
};
|
|
6378
|
+
readonly auth: {
|
|
6379
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
6380
|
+
readonly scopes: readonly ["analytics:read"];
|
|
6381
|
+
readonly ownership: readonly [{
|
|
6382
|
+
readonly credential: "user_key";
|
|
6383
|
+
readonly rule: "authorized_site";
|
|
6384
|
+
}, {
|
|
6385
|
+
readonly credential: "partner_key";
|
|
6386
|
+
readonly rule: "authorized_site";
|
|
6387
|
+
}];
|
|
6388
|
+
};
|
|
6389
|
+
readonly request: {
|
|
6390
|
+
readonly params: z.ZodObject<{
|
|
6391
|
+
siteId: z.ZodString;
|
|
6392
|
+
}, z.core.$strict>;
|
|
6393
|
+
readonly query: z.ZodObject<{
|
|
6394
|
+
startDate: z.ZodISODate;
|
|
6395
|
+
endDate: z.ZodISODate;
|
|
6396
|
+
comparisonStartDate: z.ZodOptional<z.ZodISODate>;
|
|
6397
|
+
comparisonEndDate: z.ZodOptional<z.ZodISODate>;
|
|
6398
|
+
searchType: z.ZodDefault<z.ZodEnum<{
|
|
6399
|
+
readonly WEB: "web";
|
|
6400
|
+
readonly IMAGE: "image";
|
|
6401
|
+
readonly VIDEO: "video";
|
|
6402
|
+
readonly NEWS: "news";
|
|
6403
|
+
readonly DISCOVER: "discover";
|
|
6404
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
6405
|
+
}>>;
|
|
6406
|
+
}, z.core.$strict>;
|
|
6407
|
+
readonly headers: z.ZodObject<{
|
|
6408
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
6409
|
+
}, z.core.$strict>;
|
|
6410
|
+
readonly body: null;
|
|
6411
|
+
};
|
|
6412
|
+
readonly responses: {
|
|
6413
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
6414
|
+
data: z.ZodObject<{
|
|
6415
|
+
readonly searchType: z.ZodEnum<{
|
|
6416
|
+
readonly WEB: "web";
|
|
6417
|
+
readonly IMAGE: "image";
|
|
6418
|
+
readonly VIDEO: "video";
|
|
6419
|
+
readonly NEWS: "news";
|
|
6420
|
+
readonly DISCOVER: "discover";
|
|
6421
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
6422
|
+
}>;
|
|
6423
|
+
readonly current: z.ZodObject<{
|
|
6424
|
+
readonly startDate: z.ZodISODate;
|
|
6425
|
+
readonly endDate: z.ZodISODate;
|
|
6426
|
+
readonly complete: z.ZodBoolean;
|
|
6427
|
+
}, z.core.$strip>;
|
|
6428
|
+
readonly comparison: z.ZodNullable<z.ZodObject<{
|
|
6429
|
+
readonly startDate: z.ZodISODate;
|
|
6430
|
+
readonly endDate: z.ZodISODate;
|
|
6431
|
+
readonly complete: z.ZodBoolean;
|
|
6432
|
+
}, z.core.$strip>>;
|
|
6433
|
+
}, z.core.$strip>;
|
|
6434
|
+
meta: z.ZodObject<{
|
|
6435
|
+
readonly requestId: z.ZodString;
|
|
6436
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6437
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6438
|
+
}, z.core.$strip>;
|
|
6439
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6440
|
+
data: z.ZodObject<{
|
|
6441
|
+
readonly searchType: z.ZodEnum<{
|
|
6442
|
+
readonly WEB: "web";
|
|
6443
|
+
readonly IMAGE: "image";
|
|
6444
|
+
readonly VIDEO: "video";
|
|
6445
|
+
readonly NEWS: "news";
|
|
6446
|
+
readonly DISCOVER: "discover";
|
|
6447
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
6448
|
+
}>;
|
|
6449
|
+
readonly current: z.ZodObject<{
|
|
6450
|
+
readonly startDate: z.ZodISODate;
|
|
6451
|
+
readonly endDate: z.ZodISODate;
|
|
6452
|
+
readonly complete: z.ZodBoolean;
|
|
6453
|
+
}, z.core.$strip>;
|
|
6454
|
+
readonly comparison: z.ZodNullable<z.ZodObject<{
|
|
6455
|
+
readonly startDate: z.ZodISODate;
|
|
6456
|
+
readonly endDate: z.ZodISODate;
|
|
6457
|
+
readonly complete: z.ZodBoolean;
|
|
6458
|
+
}, z.core.$strip>>;
|
|
6459
|
+
}, z.core.$strip>;
|
|
6460
|
+
meta: z.ZodObject<{
|
|
6461
|
+
readonly requestId: z.ZodString;
|
|
6462
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6463
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6464
|
+
}, z.core.$strip>;
|
|
6465
|
+
}, z.core.$strip>>;
|
|
6466
|
+
};
|
|
6467
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
6468
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6469
|
+
readonly error: z.ZodObject<{
|
|
6470
|
+
code: z.ZodEnum<{
|
|
6471
|
+
internal_error: "internal_error";
|
|
6472
|
+
invalid_request: "invalid_request";
|
|
6473
|
+
unauthorized: "unauthorized";
|
|
6474
|
+
forbidden: "forbidden";
|
|
6475
|
+
site_not_found: "site_not_found";
|
|
6476
|
+
rate_limited: "rate_limited";
|
|
6477
|
+
contract_violation: "contract_violation";
|
|
6478
|
+
}>;
|
|
6479
|
+
message: z.ZodString;
|
|
6480
|
+
requestId: z.ZodString;
|
|
6481
|
+
retryable: z.ZodBoolean;
|
|
6482
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6483
|
+
}, z.core.$strict>;
|
|
6484
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6485
|
+
readonly error: z.ZodObject<{
|
|
6486
|
+
code: z.ZodEnum<{
|
|
6487
|
+
internal_error: "internal_error";
|
|
6488
|
+
invalid_request: "invalid_request";
|
|
6489
|
+
unauthorized: "unauthorized";
|
|
6490
|
+
forbidden: "forbidden";
|
|
6491
|
+
site_not_found: "site_not_found";
|
|
6492
|
+
rate_limited: "rate_limited";
|
|
6493
|
+
contract_violation: "contract_violation";
|
|
6494
|
+
}>;
|
|
6495
|
+
message: z.ZodString;
|
|
6496
|
+
requestId: z.ZodString;
|
|
6497
|
+
retryable: z.ZodBoolean;
|
|
6498
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6499
|
+
}, z.core.$loose>;
|
|
6500
|
+
}, z.core.$strip>>;
|
|
6501
|
+
readonly resources: {
|
|
6502
|
+
readonly reads: readonly [{
|
|
6503
|
+
readonly type: "site.analytics";
|
|
6504
|
+
readonly idFrom: "params.siteId";
|
|
6505
|
+
}];
|
|
6506
|
+
readonly changes: readonly [];
|
|
6507
|
+
};
|
|
6508
|
+
readonly lifecycle: {
|
|
6509
|
+
readonly introduced: "5.5.0";
|
|
6510
|
+
};
|
|
6511
|
+
readonly docs: {
|
|
6512
|
+
readonly summary: "Get recorded analytics coverage";
|
|
6513
|
+
readonly description: "Checks continuous recorded coverage for the current and comparison windows. Successful zero-row days count. Missing days prevent completeness.";
|
|
6514
|
+
readonly tags: readonly ["Analytics"];
|
|
6515
|
+
readonly examples: {
|
|
6516
|
+
readonly request: {
|
|
6517
|
+
readonly params: {
|
|
6518
|
+
readonly siteId: "s_01";
|
|
6519
|
+
};
|
|
6520
|
+
readonly query: {
|
|
6521
|
+
readonly startDate: "2026-10-01";
|
|
6522
|
+
readonly endDate: "2026-10-02";
|
|
6523
|
+
readonly searchType: "web";
|
|
6524
|
+
};
|
|
6525
|
+
};
|
|
6526
|
+
readonly response: {
|
|
6527
|
+
readonly data: {
|
|
6528
|
+
readonly searchType: "web";
|
|
6529
|
+
readonly current: {
|
|
6530
|
+
readonly startDate: "2026-10-01";
|
|
6531
|
+
readonly endDate: "2026-10-02";
|
|
6532
|
+
readonly complete: true;
|
|
6533
|
+
};
|
|
6534
|
+
readonly comparison: null;
|
|
6535
|
+
};
|
|
6536
|
+
readonly meta: {
|
|
6537
|
+
readonly requestId: "req_01";
|
|
6538
|
+
readonly surface: "partner";
|
|
6539
|
+
readonly version: "1.0";
|
|
6540
|
+
};
|
|
6541
|
+
};
|
|
6542
|
+
};
|
|
6543
|
+
};
|
|
6544
|
+
readonly id: "partner.sites.analytics.coverage.get";
|
|
6545
|
+
readonly method: "GET";
|
|
6546
|
+
readonly path: "/sites/{siteId}/analytics/coverage";
|
|
6547
|
+
};
|
|
6369
6548
|
readonly getSiteIndexing: {
|
|
6370
6549
|
readonly visibility: "public";
|
|
6371
6550
|
readonly semantics: {
|
|
@@ -18967,12 +19146,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
18967
19146
|
}, z.core.$strict>;
|
|
18968
19147
|
readonly body: z.ZodObject<{
|
|
18969
19148
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19149
|
+
date: "date";
|
|
18970
19150
|
page: "page";
|
|
18971
19151
|
query: "query";
|
|
18972
19152
|
queryCanonical: "queryCanonical";
|
|
18973
19153
|
country: "country";
|
|
18974
19154
|
device: "device";
|
|
18975
|
-
date: "date";
|
|
18976
19155
|
searchAppearance: "searchAppearance";
|
|
18977
19156
|
hour: "hour";
|
|
18978
19157
|
}>>;
|
|
@@ -19170,12 +19349,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19170
19349
|
readonly GOOGLE_NEWS: "googleNews";
|
|
19171
19350
|
}>>;
|
|
19172
19351
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19352
|
+
date: "date";
|
|
19173
19353
|
page: "page";
|
|
19174
19354
|
query: "query";
|
|
19175
19355
|
queryCanonical: "queryCanonical";
|
|
19176
19356
|
country: "country";
|
|
19177
19357
|
device: "device";
|
|
19178
|
-
date: "date";
|
|
19179
19358
|
searchAppearance: "searchAppearance";
|
|
19180
19359
|
hour: "hour";
|
|
19181
19360
|
}>>;
|
|
@@ -19190,12 +19369,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19190
19369
|
readonly GOOGLE_NEWS: "googleNews";
|
|
19191
19370
|
}>>;
|
|
19192
19371
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19372
|
+
date: "date";
|
|
19193
19373
|
page: "page";
|
|
19194
19374
|
query: "query";
|
|
19195
19375
|
queryCanonical: "queryCanonical";
|
|
19196
19376
|
country: "country";
|
|
19197
19377
|
device: "device";
|
|
19198
|
-
date: "date";
|
|
19199
19378
|
searchAppearance: "searchAppearance";
|
|
19200
19379
|
hour: "hour";
|
|
19201
19380
|
}>>;
|
|
@@ -19431,12 +19610,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19431
19610
|
readonly GOOGLE_NEWS: "googleNews";
|
|
19432
19611
|
}>>;
|
|
19433
19612
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19613
|
+
date: "date";
|
|
19434
19614
|
page: "page";
|
|
19435
19615
|
query: "query";
|
|
19436
19616
|
queryCanonical: "queryCanonical";
|
|
19437
19617
|
country: "country";
|
|
19438
19618
|
device: "device";
|
|
19439
|
-
date: "date";
|
|
19440
19619
|
searchAppearance: "searchAppearance";
|
|
19441
19620
|
hour: "hour";
|
|
19442
19621
|
}>>;
|
|
@@ -19451,12 +19630,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19451
19630
|
readonly GOOGLE_NEWS: "googleNews";
|
|
19452
19631
|
}>>;
|
|
19453
19632
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19633
|
+
date: "date";
|
|
19454
19634
|
page: "page";
|
|
19455
19635
|
query: "query";
|
|
19456
19636
|
queryCanonical: "queryCanonical";
|
|
19457
19637
|
country: "country";
|
|
19458
19638
|
device: "device";
|
|
19459
|
-
date: "date";
|
|
19460
19639
|
searchAppearance: "searchAppearance";
|
|
19461
19640
|
hour: "hour";
|
|
19462
19641
|
}>>;
|
package/dist/v1/operations.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { siteHoldReasonSchema } from "../entitlements.mjs";
|
|
2
2
|
import { watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema } from "../indexing-coverage.mjs";
|
|
3
3
|
import { addPartnerTeamMemberSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, createPartnerTeamSchema, gscComparisonFilterSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpPageTrendResponseSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpTeamRoleSchema, gscdumpTopAssociationResponseSchema, gscdumpUserRegistrationSchema, indexingUrlsResponseSchema, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, searchTypeSchema, siteIntIdCrosswalkResponseSchema, sitemapChangesTruncationReasonSchema, teamCatalogRefSchema, updatePartnerUserTokensSchema } from "../schemas.mjs";
|
|
4
|
-
import { bingConnectionV1Schemas } from "./bing.mjs";
|
|
5
4
|
import "./version.mjs";
|
|
6
5
|
import { HTTP_V1_ERROR_CODES, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse } from "./http-core.mjs";
|
|
6
|
+
import { analyticsCoverageQueryV1Schema, analyticsCoverageV1Schemas } from "./analytics-coverage.mjs";
|
|
7
|
+
import { bingConnectionV1Schemas } from "./bing.mjs";
|
|
7
8
|
import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
8
9
|
import { bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingLinkResultV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
9
10
|
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";
|
|
@@ -1209,6 +1210,76 @@ function createGscdumpV1Protocol() {
|
|
|
1209
1210
|
}
|
|
1210
1211
|
}
|
|
1211
1212
|
}),
|
|
1213
|
+
getSiteAnalyticsCoverage: defineHttpOperation({
|
|
1214
|
+
...gscdumpV1OperationRoute("partner.sites.analytics.coverage.get"),
|
|
1215
|
+
visibility: "public",
|
|
1216
|
+
semantics: {
|
|
1217
|
+
kind: "query",
|
|
1218
|
+
sideEffects: "none",
|
|
1219
|
+
idempotent: true,
|
|
1220
|
+
retry: "idempotent",
|
|
1221
|
+
readConsistency: "primary"
|
|
1222
|
+
},
|
|
1223
|
+
auth: {
|
|
1224
|
+
credentials: ["user_key", "partner_key"],
|
|
1225
|
+
scopes: ["analytics:read"],
|
|
1226
|
+
ownership: [{
|
|
1227
|
+
credential: "user_key",
|
|
1228
|
+
rule: "authorized_site"
|
|
1229
|
+
}, {
|
|
1230
|
+
credential: "partner_key",
|
|
1231
|
+
rule: "authorized_site"
|
|
1232
|
+
}]
|
|
1233
|
+
},
|
|
1234
|
+
request: {
|
|
1235
|
+
params: z.strictObject({ siteId: realtimeSchemas.publicSiteId }),
|
|
1236
|
+
query: analyticsCoverageQueryV1Schema,
|
|
1237
|
+
headers: requestHeaders,
|
|
1238
|
+
body: null
|
|
1239
|
+
},
|
|
1240
|
+
responses: { 200: defineSuccessResponse(analyticsCoverageV1Schemas, partnerResponseMeta) },
|
|
1241
|
+
errors: partnerSiteErrors,
|
|
1242
|
+
errorResponse: errorEnvelopeSchemas(partnerSiteErrors, realtimeSchemas.publicRequestId),
|
|
1243
|
+
resources: {
|
|
1244
|
+
reads: [{
|
|
1245
|
+
type: "site.analytics",
|
|
1246
|
+
idFrom: "params.siteId"
|
|
1247
|
+
}],
|
|
1248
|
+
changes: []
|
|
1249
|
+
},
|
|
1250
|
+
lifecycle: { introduced: "5.5.0" },
|
|
1251
|
+
docs: {
|
|
1252
|
+
summary: "Get recorded analytics coverage",
|
|
1253
|
+
description: "Checks continuous recorded coverage for the current and comparison windows. Successful zero-row days count. Missing days prevent completeness.",
|
|
1254
|
+
tags: ["Analytics"],
|
|
1255
|
+
examples: {
|
|
1256
|
+
request: {
|
|
1257
|
+
params: { siteId: "s_01" },
|
|
1258
|
+
query: {
|
|
1259
|
+
startDate: "2026-10-01",
|
|
1260
|
+
endDate: "2026-10-02",
|
|
1261
|
+
searchType: "web"
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
response: {
|
|
1265
|
+
data: {
|
|
1266
|
+
searchType: "web",
|
|
1267
|
+
current: {
|
|
1268
|
+
startDate: "2026-10-01",
|
|
1269
|
+
endDate: "2026-10-02",
|
|
1270
|
+
complete: true
|
|
1271
|
+
},
|
|
1272
|
+
comparison: null
|
|
1273
|
+
},
|
|
1274
|
+
meta: {
|
|
1275
|
+
requestId: "req_01",
|
|
1276
|
+
surface: "partner",
|
|
1277
|
+
version: "1.0"
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
}),
|
|
1212
1283
|
getSiteIndexing: defineHttpOperation({
|
|
1213
1284
|
...gscdumpV1OperationRoute("partner.sites.indexing.get"),
|
|
1214
1285
|
visibility: "public",
|
|
@@ -16,6 +16,11 @@ export declare const GSCDUMP_V1_ROUTE_CATALOG: {
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
readonly operations: {
|
|
19
|
+
readonly 'partner.sites.analytics.coverage.get': {
|
|
20
|
+
readonly surface: "partner";
|
|
21
|
+
readonly method: "GET";
|
|
22
|
+
readonly template: "/sites/{siteId}/analytics/coverage";
|
|
23
|
+
};
|
|
19
24
|
readonly 'partner.users.lifecycle.get': {
|
|
20
25
|
readonly surface: "partner";
|
|
21
26
|
readonly method: "GET";
|
|
@@ -3,6 +3,11 @@ import { GSCDUMP_V1_ROUTE_SURFACES } from "./route-surfaces.mjs";
|
|
|
3
3
|
const GSCDUMP_V1_ROUTE_CATALOG = {
|
|
4
4
|
surfaces: GSCDUMP_V1_ROUTE_SURFACES,
|
|
5
5
|
operations: {
|
|
6
|
+
"partner.sites.analytics.coverage.get": {
|
|
7
|
+
surface: "partner",
|
|
8
|
+
method: "GET",
|
|
9
|
+
template: "/sites/{siteId}/analytics/coverage"
|
|
10
|
+
},
|
|
6
11
|
"partner.users.lifecycle.get": {
|
|
7
12
|
surface: "partner",
|
|
8
13
|
method: "GET",
|