@gscdump/contracts 7.11.1 → 7.12.1
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/agent-feedback.d.mts +125 -0
- package/dist/agent-feedback.mjs +104 -0
- package/dist/endpoints.d.mts +4 -4
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +2 -1
- package/dist/schemas.d.mts +14 -14
- package/dist/v1/agent-usage.d.mts +49 -0
- package/dist/v1/agent-usage.mjs +27 -0
- package/dist/v1/bing-sites.d.mts +14 -14
- package/dist/v1/browser.d.mts +1 -1
- package/dist/v1/http.d.mts +4 -1
- package/dist/v1/http.mjs +4 -1
- package/dist/v1/index.d.mts +4 -1
- package/dist/v1/index.mjs +4 -1
- package/dist/v1/operations.d.mts +577 -85
- package/dist/v1/operations.mjs +133 -0
- package/dist/v1/report.d.mts +198 -0
- package/dist/v1/report.mjs +137 -0
- package/dist/v1/route-catalog.d.mts +10 -0
- package/dist/v1/route-catalog.mjs +10 -0
- package/dist/v1/sitemap-evidence.d.mts +9 -9
- package/dist/v1/sitemap-submission.d.mts +10 -10
- package/package.json +1 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Declared context helps reproduce reports. It never grants access or proves credential origin. */
|
|
3
|
+
export declare const agentFeedbackContextSchema: z.ZodObject<{
|
|
4
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
8
|
+
product: z.ZodOptional<z.ZodString>;
|
|
9
|
+
surface: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
browser: "browser";
|
|
11
|
+
cli: "cli";
|
|
12
|
+
mcp: "mcp";
|
|
13
|
+
api: "api";
|
|
14
|
+
skill: "skill";
|
|
15
|
+
}>>;
|
|
16
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
17
|
+
skillDigest: z.ZodOptional<z.ZodString>;
|
|
18
|
+
skillVersion: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
export type AgentFeedbackContext = z.infer<typeof agentFeedbackContextSchema>;
|
|
21
|
+
export declare const agentRequestContextSchema: z.ZodObject<{
|
|
22
|
+
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
product: z.ZodOptional<z.ZodString>;
|
|
25
|
+
skillDigest: z.ZodOptional<z.ZodString>;
|
|
26
|
+
cliVersion: z.ZodOptional<z.ZodString>;
|
|
27
|
+
client: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export type AgentRequestContext = z.infer<typeof agentRequestContextSchema>;
|
|
30
|
+
export declare const AGENT_REQUEST_HEADERS: {
|
|
31
|
+
readonly parentRequestId: "x-parent-request-id";
|
|
32
|
+
readonly workflowId: "x-workflow-id";
|
|
33
|
+
readonly product: "x-gscdump-product";
|
|
34
|
+
readonly cliVersion: "x-gscdump-cli-version";
|
|
35
|
+
readonly skillDigest: "x-gscdump-skill-digest";
|
|
36
|
+
readonly client: "x-gscdump-client";
|
|
37
|
+
};
|
|
38
|
+
/** Defense in depth for free text. Callers must still remove private content. */
|
|
39
|
+
export declare function redactAgentFeedbackText(value: string): string;
|
|
40
|
+
export declare const cliPapercutBodySchema: z.ZodObject<{
|
|
41
|
+
command: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
42
|
+
comment: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
43
|
+
agent: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
44
|
+
intent: z.ZodDefault<z.ZodEnum<{
|
|
45
|
+
bug: "bug";
|
|
46
|
+
improvement: "improvement";
|
|
47
|
+
}>>;
|
|
48
|
+
cliVersion: z.ZodString;
|
|
49
|
+
node: z.ZodString;
|
|
50
|
+
platform: z.ZodString;
|
|
51
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
52
|
+
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
53
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
54
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
55
|
+
product: z.ZodOptional<z.ZodString>;
|
|
56
|
+
surface: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
browser: "browser";
|
|
58
|
+
cli: "cli";
|
|
59
|
+
mcp: "mcp";
|
|
60
|
+
api: "api";
|
|
61
|
+
skill: "skill";
|
|
62
|
+
}>>;
|
|
63
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
64
|
+
skillDigest: z.ZodOptional<z.ZodString>;
|
|
65
|
+
skillVersion: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strict>;
|
|
67
|
+
export type CliPapercutBody = z.infer<typeof cliPapercutBodySchema>;
|
|
68
|
+
/** Explicit agent reports describe quality. They never establish a verified repair. */
|
|
69
|
+
export declare const agentOutcomeBodySchema: z.ZodObject<{
|
|
70
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
71
|
+
surface: z.ZodEnum<{
|
|
72
|
+
browser: "browser";
|
|
73
|
+
cli: "cli";
|
|
74
|
+
mcp: "mcp";
|
|
75
|
+
api: "api";
|
|
76
|
+
skill: "skill";
|
|
77
|
+
}>;
|
|
78
|
+
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
80
|
+
workflowId: z.ZodString;
|
|
81
|
+
product: z.ZodDefault<z.ZodString>;
|
|
82
|
+
operation: z.ZodString;
|
|
83
|
+
skillDigest: z.ZodOptional<z.ZodString>;
|
|
84
|
+
skillVersion: z.ZodOptional<z.ZodString>;
|
|
85
|
+
cliVersion: z.ZodOptional<z.ZodString>;
|
|
86
|
+
eventId: z.ZodString;
|
|
87
|
+
step: z.ZodEnum<{
|
|
88
|
+
fix: "fix";
|
|
89
|
+
complete: "complete";
|
|
90
|
+
setup: "setup";
|
|
91
|
+
read: "read";
|
|
92
|
+
diagnose: "diagnose";
|
|
93
|
+
verify: "verify";
|
|
94
|
+
}>;
|
|
95
|
+
outcome: z.ZodEnum<{
|
|
96
|
+
success: "success";
|
|
97
|
+
blocked: "blocked";
|
|
98
|
+
failure: "failure";
|
|
99
|
+
cancelled: "cancelled";
|
|
100
|
+
}>;
|
|
101
|
+
semanticFlags: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
102
|
+
empty: "empty";
|
|
103
|
+
truncated: "truncated";
|
|
104
|
+
partial: "partial";
|
|
105
|
+
unavailable: "unavailable";
|
|
106
|
+
refused: "refused";
|
|
107
|
+
provisional: "provisional";
|
|
108
|
+
stale: "stale";
|
|
109
|
+
}>>>;
|
|
110
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
112
|
+
unknown: "unknown";
|
|
113
|
+
useful: "useful";
|
|
114
|
+
unusable: "unusable";
|
|
115
|
+
incorrect: "incorrect";
|
|
116
|
+
}>>;
|
|
117
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
118
|
+
}, z.core.$strict>;
|
|
119
|
+
export type AgentOutcomeBody = z.infer<typeof agentOutcomeBodySchema>;
|
|
120
|
+
export declare const agentOutcomeReceiptSchema: z.ZodObject<{
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
evidenceClass: z.ZodLiteral<"declared">;
|
|
123
|
+
duplicate: z.ZodBoolean;
|
|
124
|
+
}, z.core.$strict>;
|
|
125
|
+
export type AgentOutcomeReceipt = z.infer<typeof agentOutcomeReceiptSchema>;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
const singleLine = (max) => z.string().trim().min(1).max(max).regex(/^\P{Cc}*$/u, "must be a single line without control characters");
|
|
3
|
+
const safeMetadata = (max) => singleLine(max).refine((value) => redactAgentFeedbackText(value) === value, "Use metadata without credentials, URLs, or email addresses.");
|
|
4
|
+
const correlationId = safeMetadata(128).regex(/^[\w.:-]+$/);
|
|
5
|
+
const agentFeedbackContextSchema = z.strictObject({
|
|
6
|
+
requestId: correlationId.optional(),
|
|
7
|
+
parentRequestId: correlationId.optional(),
|
|
8
|
+
workflowId: correlationId.optional(),
|
|
9
|
+
origin: singleLine(253).regex(/^[a-z\d](?:[a-z\d.-]*[a-z\d])?$/i).optional(),
|
|
10
|
+
product: safeMetadata(64).regex(/^[a-z\d][\w.-]*$/i).optional(),
|
|
11
|
+
surface: z.enum([
|
|
12
|
+
"cli",
|
|
13
|
+
"mcp",
|
|
14
|
+
"api",
|
|
15
|
+
"skill",
|
|
16
|
+
"browser"
|
|
17
|
+
]).optional(),
|
|
18
|
+
operation: safeMetadata(200).optional(),
|
|
19
|
+
skillDigest: z.string().regex(/^[a-f\d]{64}$/).optional(),
|
|
20
|
+
skillVersion: safeMetadata(64).optional()
|
|
21
|
+
});
|
|
22
|
+
const agentRequestContextSchema = agentFeedbackContextSchema.pick({
|
|
23
|
+
parentRequestId: true,
|
|
24
|
+
workflowId: true,
|
|
25
|
+
product: true,
|
|
26
|
+
skillDigest: true
|
|
27
|
+
}).extend({
|
|
28
|
+
cliVersion: safeMetadata(64).optional(),
|
|
29
|
+
client: safeMetadata(100).optional()
|
|
30
|
+
});
|
|
31
|
+
const AGENT_REQUEST_HEADERS = {
|
|
32
|
+
parentRequestId: "x-parent-request-id",
|
|
33
|
+
workflowId: "x-workflow-id",
|
|
34
|
+
product: "x-gscdump-product",
|
|
35
|
+
cliVersion: "x-gscdump-cli-version",
|
|
36
|
+
skillDigest: "x-gscdump-skill-digest",
|
|
37
|
+
client: "x-gscdump-client"
|
|
38
|
+
};
|
|
39
|
+
function redactAgentFeedbackText(value) {
|
|
40
|
+
return value.replace(/(["'])(authorization|proxy-authorization|x-api-key|api[-_]?key|set-cookie|cookie|(?:[a-z\d]+[_-])*(?:access[_-]?token|refresh[_-]?token|token|secret|password))\1\s*:\s*(?:"(?:\\.|[^"\\])*"?|'(?:\\.|[^'\\])*'?|[^\s,;}]+)/gi, "$1$2$1:$1[redacted]$1").replace(/\b(Bearer|Basic)\s+[^\s,;"']+/gi, "$1 [redacted]").replace(/\b(authorization|proxy-authorization|x-api-key|api[-_]key|set-cookie|cookie)\s*:[^\r\n]+/gi, "$1: [redacted]").replace(/\b((?:[a-z\d]+[_-])*(?:access[_-]?token|refresh[_-]?token|token|api[_-]?key|secret|password))\s*[:=]\s*(?:"(?:\\.|[^"\\])*"?|'(?:\\.|[^'\\])*'?|[^\s,;"']+)/gi, "$1=[redacted]").replace(/\b(?:gsd_(?:user|team|partner|prod|dev)_|sk-|ya29\.)[\w.-]+/gi, "[redacted]").replace(/\b[\w.!#$%&'*+/=?^`{|}~-]+@[a-z\d](?:[a-z\d.-]*[a-z\d])?\.[a-z]{2,}\b/gi, "[redacted email]").replace(/\bhttps?:\/\/[^\s<>"']+/gi, "[redacted URL]");
|
|
41
|
+
}
|
|
42
|
+
const cliPapercutBodySchema = z.strictObject({
|
|
43
|
+
...agentFeedbackContextSchema.shape,
|
|
44
|
+
command: singleLine(200).transform(redactAgentFeedbackText),
|
|
45
|
+
comment: z.string().trim().min(1).max(2e3).transform(redactAgentFeedbackText),
|
|
46
|
+
agent: singleLine(100).transform(redactAgentFeedbackText),
|
|
47
|
+
intent: z.enum(["bug", "improvement"]).default("bug"),
|
|
48
|
+
cliVersion: safeMetadata(64),
|
|
49
|
+
node: safeMetadata(64),
|
|
50
|
+
platform: safeMetadata(32)
|
|
51
|
+
});
|
|
52
|
+
const agentOutcomeBodySchema = z.strictObject({
|
|
53
|
+
...agentFeedbackContextSchema.shape,
|
|
54
|
+
eventId: correlationId,
|
|
55
|
+
workflowId: correlationId,
|
|
56
|
+
product: safeMetadata(64).regex(/^[a-z\d][\w.-]*$/i).default("gscdump"),
|
|
57
|
+
surface: z.enum([
|
|
58
|
+
"cli",
|
|
59
|
+
"mcp",
|
|
60
|
+
"api",
|
|
61
|
+
"skill",
|
|
62
|
+
"browser"
|
|
63
|
+
]),
|
|
64
|
+
operation: safeMetadata(200).regex(/^[\w.:-]+$/),
|
|
65
|
+
step: z.enum([
|
|
66
|
+
"setup",
|
|
67
|
+
"read",
|
|
68
|
+
"diagnose",
|
|
69
|
+
"fix",
|
|
70
|
+
"verify",
|
|
71
|
+
"complete"
|
|
72
|
+
]),
|
|
73
|
+
outcome: z.enum([
|
|
74
|
+
"success",
|
|
75
|
+
"failure",
|
|
76
|
+
"blocked",
|
|
77
|
+
"cancelled"
|
|
78
|
+
]),
|
|
79
|
+
semanticFlags: z.array(z.enum([
|
|
80
|
+
"empty",
|
|
81
|
+
"unavailable",
|
|
82
|
+
"refused",
|
|
83
|
+
"provisional",
|
|
84
|
+
"partial",
|
|
85
|
+
"stale",
|
|
86
|
+
"truncated"
|
|
87
|
+
])).max(7).default([]),
|
|
88
|
+
rowCount: z.number().int().min(0).max(1e6).optional(),
|
|
89
|
+
durationMs: z.number().int().min(0).max(6e5).optional(),
|
|
90
|
+
quality: z.enum([
|
|
91
|
+
"useful",
|
|
92
|
+
"unusable",
|
|
93
|
+
"incorrect",
|
|
94
|
+
"unknown"
|
|
95
|
+
]).default("unknown"),
|
|
96
|
+
errorCode: safeMetadata(200).regex(/^[\w.:-]+$/).optional(),
|
|
97
|
+
cliVersion: safeMetadata(64).optional()
|
|
98
|
+
}).omit({ origin: true });
|
|
99
|
+
const agentOutcomeReceiptSchema = z.strictObject({
|
|
100
|
+
id: singleLine(128),
|
|
101
|
+
evidenceClass: z.literal("declared"),
|
|
102
|
+
duplicate: z.boolean()
|
|
103
|
+
});
|
|
104
|
+
export { AGENT_REQUEST_HEADERS, agentFeedbackContextSchema, agentOutcomeBodySchema, agentOutcomeReceiptSchema, agentRequestContextSchema, cliPapercutBodySchema, redactAgentFeedbackText };
|
package/dist/endpoints.d.mts
CHANGED
|
@@ -591,8 +591,8 @@ export declare const partnerEndpoints: {
|
|
|
591
591
|
syncStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
592
592
|
error: "error";
|
|
593
593
|
syncing: "syncing";
|
|
594
|
-
pending: "pending";
|
|
595
594
|
idle: "idle";
|
|
595
|
+
pending: "pending";
|
|
596
596
|
partial: "partial";
|
|
597
597
|
synced: "synced";
|
|
598
598
|
}>>>;
|
|
@@ -811,8 +811,8 @@ export declare const partnerEndpoints: {
|
|
|
811
811
|
syncStatus: import("zod").ZodEnum<{
|
|
812
812
|
error: "error";
|
|
813
813
|
syncing: "syncing";
|
|
814
|
-
pending: "pending";
|
|
815
814
|
idle: "idle";
|
|
815
|
+
pending: "pending";
|
|
816
816
|
synced: "synced";
|
|
817
817
|
}>;
|
|
818
818
|
lastSyncAt: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -835,8 +835,8 @@ export declare const partnerEndpoints: {
|
|
|
835
835
|
syncStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
836
836
|
error: "error";
|
|
837
837
|
syncing: "syncing";
|
|
838
|
-
pending: "pending";
|
|
839
838
|
idle: "idle";
|
|
839
|
+
pending: "pending";
|
|
840
840
|
partial: "partial";
|
|
841
841
|
synced: "synced";
|
|
842
842
|
}>>>;
|
|
@@ -891,8 +891,8 @@ export declare const partnerEndpoints: {
|
|
|
891
891
|
status: import("zod").ZodEnum<{
|
|
892
892
|
error: "error";
|
|
893
893
|
syncing: "syncing";
|
|
894
|
-
pending: "pending";
|
|
895
894
|
idle: "idle";
|
|
895
|
+
pending: "pending";
|
|
896
896
|
partial: "partial";
|
|
897
897
|
synced: "synced";
|
|
898
898
|
}>;
|
package/dist/index.d.mts
CHANGED
|
@@ -7,6 +7,7 @@ import { COVERAGE_LADDER, COVERAGE_STATE_TAGS, CoverageLadderTag, CoverageStateC
|
|
|
7
7
|
import { AccountNextAction, AccountStatus, AnalyticsNextAction, AnalyticsStatus, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, IndexingNextAction, IndexingStatus, LifecycleError, LifecycleErrorCode, LifecycleProgress, LifecycleWebhookEnvelope, LifecycleWebhookEvent, PartnerLifecycleAccount, PartnerLifecycleResponse, PartnerLifecycleSite, PropertyNextAction, PropertyStatus, QuerySourceMode, SitemapNextAction, SitemapStatus, accountNextActions, accountStatuses, analyticsNextActions, analyticsStatuses, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingNextActions, indexingStatuses, lifecycleErrorCodes, parseGrantedScopes, propertyNextActions, propertyStatuses, querySourceModes, sitemapNextActions, sitemapStatuses } from "./onboarding.mjs";
|
|
8
8
|
import { AddPartnerTeamMemberParams, AnalysisSourcesOptions, AnalysisSourcesResponse, BackfillRange, BackfillResponse, BindPartnerSiteTeamParams, BindPartnerTeamCatalogParams, BindPartnerTeamCatalogResponse, BuilderStateWire, BulkRegisterPartnerSiteResult, BulkRegisterPartnerSitesParams, BulkRegisterPartnerSitesResponse, CanonicalWebhookEnvelope, CanonicalWebhookEventData, CanonicalWebhookEventType, ColumnDef, ColumnType, CountriesResponse, CountryRow, CreatePartnerTeamParams, CreateWebhookEnvelopeOptions, DataDetailOptions, DataQueryOptions, DeletePartnerUserResponse, Dimension, Filter, Grain, GscAddAndVerifyResponse, GscApiRange, GscComparisonFilter, GscComparisonOrderBy, GscRowQueryMeta, GscRowQueryResponse, GscVerificationDnsRecord, GscVerificationMethod, GscVerificationRequest, GscVerificationSite, GscVerificationTokenResponse, GscdumpAnalysisBundleParams, GscdumpAnalysisBundleResponse, GscdumpAnalysisParams, GscdumpAnalysisPreset, GscdumpAnalysisResponse, GscdumpAnalysisSourcesResponse, GscdumpAvailableSite, GscdumpCanonicalDifferenceKind, GscdumpCanonicalMismatchRow, GscdumpCanonicalMismatchesResponse, GscdumpDataDetailResponse, GscdumpDataResponse, GscdumpDataRow, GscdumpHealthResponse, GscdumpIndexPercentResponse, GscdumpIndexPercentSitemap, GscdumpIndexPercentTrendPoint, GscdumpIndexingDiagnosticsResponse, GscdumpIndexingInspectRateLimited, GscdumpIndexingInspectRequest, GscdumpIndexingInspectResponse, GscdumpIndexingInspectResult, GscdumpIndexingIssueSeverity, GscdumpIndexingResponse, GscdumpIndexingTrendPoint, GscdumpIndexingUrl, GscdumpIndexingUrlStatus, GscdumpIndexingUrlsResponse, GscdumpInvisibleUrlRow, GscdumpKeywordSparklinesParams, GscdumpKeywordSparklinesResponse, GscdumpMeta, GscdumpOrphanPageRow, GscdumpPageTrendParams, GscdumpPageTrendResponse, GscdumpPerSitemapHistoryEntry, GscdumpPermissionRecovery, GscdumpQueryTrendParams, GscdumpQueryTrendResponse, GscdumpRichResultItem, GscdumpSiteIntIdCrosswalkEntry, GscdumpSiteIntIdCrosswalkResponse, GscdumpSiteRegistration, GscdumpSiteReportResponse, GscdumpSitemap, GscdumpSitemapChangesResponse, GscdumpSitemapExportResponse, GscdumpSitemapFeed, GscdumpSitemapGeneration, GscdumpSitemapHistory, GscdumpSitemapMembershipEvidence, GscdumpSitemapMembershipParams, GscdumpSitemapMembershipResponse, GscdumpSitemapUrlsResponse, GscdumpSitemapsResponse, GscdumpSyncJobItem, GscdumpSyncJobStatus, GscdumpSyncJobsQueueCounts, GscdumpSyncJobsResponse, GscdumpSyncProgressDateStatus, GscdumpSyncProgressPhaseCounts, GscdumpSyncProgressResponse, GscdumpSyncProgressSite, GscdumpSyncStatusResponse, GscdumpTeamCatalogRef, GscdumpTeamMemberRow, GscdumpTeamRow, GscdumpTopAssociationParams, GscdumpTopAssociationResponse, GscdumpTotals, GscdumpUserMeResponse, GscdumpUserRegistration, GscdumpUserSettings, GscdumpUserSite, GscdumpUserStatus, GscdumpUserTokenUpdate, IndexingDiagnostics, IndexingDiagnosticsParams, IndexingInspectRateLimit, IndexingInspectRateLimited, IndexingInspectRequest, IndexingInspectResponse, IndexingInspectResult, IndexingIssue, IndexingIssueSeverity, IndexingSitemapFilterParams, IndexingUrlRow, IndexingUrlStatus, IndexingUrlsParams, IndexingUrlsResponse, InspectionHistoryRecord, InspectionHistoryResponse, InspectionIndex, InspectionRecordRaw, Metric, PartnerSitemapAction, PartnerSitemapActionResponse, PartnerWebhookData, PartnerWebhookHeaders, RegisterPartnerSiteParams, RegisterPartnerUserParams, RollupEnvelope, Row, ScheduleState, SearchAppearanceResponse, SearchAppearanceRow, SearchConsoleGrantOutcome, SearchTypeOptions, SiteListItem, SitemapAddedRow, SitemapChangesCompleteness, SitemapChangesResponse, SitemapRemovedRow, SourceInfoOptions, SourceInfoResponse, TableName, TableSchema, TenantCtx, UpdatePartnerUserTokensParams, WebhookEnvelope, WebhookEventType, WhoamiResponse } from "./types.mjs";
|
|
9
9
|
import { ARCHETYPE_EXECUTION_CLASS, ArbitrarySqlQuery, ArchetypeExecutionClass, ArchetypeFacet, ArchetypeQuery, ArchetypeQueryBase, ArchetypeResult, ArchetypeResultRow, ArchetypeResultSource, AuxCloudOnlyQuery, DateRange, EntityDailySparklineQuery, EntityDailyTimeseriesQuery, MultiSeriesStackedDailyQuery, QueryArchetype, ResolvedArchetypeQuery, SingleRowLookupQuery, SiteDailyTimeseriesQuery, TopNBreakdownOptions, TopNBreakdownQuery, TwoDimensionDetailOptions, TwoDimensionDetailQuery, WireDateRange, arbitrarySql, entityDailySparkline, entityDailyTimeseries, multiSeriesStackedDaily, singleRowLookup, siteDailyTimeseries, topNBreakdown, twoDimensionDetail } from "./archetypes.mjs";
|
|
10
|
+
import { AGENT_REQUEST_HEADERS, AgentFeedbackContext, AgentOutcomeBody, AgentOutcomeReceipt, AgentRequestContext, CliPapercutBody, agentFeedbackContextSchema, agentOutcomeBodySchema, agentOutcomeReceiptSchema, agentRequestContextSchema, cliPapercutBodySchema, redactAgentFeedbackText } from "./agent-feedback.mjs";
|
|
10
11
|
import { RECORD_READ_REFUSAL_REASONS, RecordReadRefusal, RecordReadRefusalReason, parseRecordReadRefusal, recordReadRefusalSchema } from "./record-read.mjs";
|
|
11
12
|
import { CANONICAL_WEBHOOK_EVENTS, VALID_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER } from "./webhook-constants.mjs";
|
|
12
|
-
export { ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ARCHETYPE_EXECUTION_CLASS, AccountNextAction, AccountStatus, type AddPartnerTeamMemberParams, AllowanceNoticeMeter, AllowanceNoticeThreshold, type AnalysisSourcesOptions, type AnalysisSourcesResponse, AnalyticsNextAction, AnalyticsStatus, ArbitrarySqlQuery, ArchetypeExecutionClass, ArchetypeFacet, ArchetypeQuery, ArchetypeQueryBase, ArchetypeResult, ArchetypeResultRow, ArchetypeResultSource, AuxCloudOnlyQuery, type BackfillRange, type BackfillResponse, type BindPartnerSiteTeamParams, type BindPartnerTeamCatalogParams, type BindPartnerTeamCatalogResponse, type BuilderStateWire, type BulkFileResolutionRequest, type BulkFileResolutionResponse, type BulkRegisterPartnerSiteResult, type BulkRegisterPartnerSitesParams, type BulkRegisterPartnerSitesResponse, CANONICAL_WEBHOOK_EVENTS, COVERAGE_LADDER, COVERAGE_STATE_TAGS, type CanonicalWebhookEnvelope, type CanonicalWebhookEventData, type CanonicalWebhookEventType, type ColumnDef, type ColumnType, type CountriesResponse, type CountryRow, CoverageLadderTag, CoverageStateCounts, CoverageStateTag, CoverageStatesPoint, type CreatePartnerTeamParams, type CreateWebhookEnvelopeOptions, type DataDetailOptions, type DataQueryOptions, DateRange, type DeletePartnerUserResponse, type Dimension, ENTITLEMENT_REFUSAL_REASONS, EntitlementRefusal, EntitlementRefusalReason, EntityDailySparklineQuery, EntityDailyTimeseriesQuery, type FileResolutionRequest, type FileResolutionResponse, type FileResolutionTable, type Filter, GSCDUMP_INDEXING_TRANSITION_FIELDS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, GSC_SEARCH_TYPES, type Grain, type GscAddAndVerifyResponse, type GscApiRange, type GscComparisonFilter, type GscComparisonOrderBy, type GscRowQueryMeta, type GscRowQueryResponse, GscSearchType, type GscVerificationDnsRecord, type GscVerificationMethod, type GscVerificationRequest, type GscVerificationSite, type GscVerificationTokenResponse, type GscdumpAnalysisBundleParams, type GscdumpAnalysisBundleResponse, type GscdumpAnalysisParams, type GscdumpAnalysisPreset, type GscdumpAnalysisResponse, type GscdumpAnalysisSourcesResponse, type GscdumpAvailableSite, type GscdumpCanonicalDifferenceKind, type GscdumpCanonicalMismatchRow, type GscdumpCanonicalMismatchesResponse, type GscdumpDataDetailResponse, type GscdumpDataResponse, type GscdumpDataRow, type GscdumpHealthResponse, type GscdumpIndexPercentResponse, type GscdumpIndexPercentSitemap, type GscdumpIndexPercentTrendPoint, type GscdumpIndexingDiagnosticsResponse, type GscdumpIndexingInspectRateLimited, type GscdumpIndexingInspectRequest, type GscdumpIndexingInspectResponse, type GscdumpIndexingInspectResult, type GscdumpIndexingIssueSeverity, type GscdumpIndexingResponse, type GscdumpIndexingTrendPoint, type GscdumpIndexingUrl, type GscdumpIndexingUrlStatus, type GscdumpIndexingUrlsResponse, type GscdumpInvisibleUrlRow, type GscdumpKeywordSparklinesParams, type GscdumpKeywordSparklinesResponse, type GscdumpMeta, type GscdumpOrphanPageRow, type GscdumpPageTrendParams, type GscdumpPageTrendResponse, type GscdumpPerSitemapHistoryEntry, type GscdumpPermissionRecovery, type GscdumpQueryTrendParams, type GscdumpQueryTrendResponse, type GscdumpRichResultItem, type GscdumpSiteIntIdCrosswalkEntry, type GscdumpSiteIntIdCrosswalkResponse, type GscdumpSiteRegistration, type GscdumpSiteReportResponse, type GscdumpSitemap, type GscdumpSitemapChangesResponse, type GscdumpSitemapExportResponse, type GscdumpSitemapFeed, type GscdumpSitemapGeneration, type GscdumpSitemapHistory, type GscdumpSitemapMembershipEvidence, type GscdumpSitemapMembershipParams, type GscdumpSitemapMembershipResponse, type GscdumpSitemapUrlsResponse, type GscdumpSitemapsResponse, type GscdumpSyncJobItem, type GscdumpSyncJobStatus, type GscdumpSyncJobsQueueCounts, type GscdumpSyncJobsResponse, type GscdumpSyncProgressDateStatus, type GscdumpSyncProgressPhaseCounts, type GscdumpSyncProgressResponse, type GscdumpSyncProgressSite, type GscdumpSyncStatusResponse, type GscdumpTeamCatalogRef, type GscdumpTeamMemberRow, type GscdumpTeamRow, type GscdumpTopAssociationParams, type GscdumpTopAssociationResponse, type GscdumpTotals, type GscdumpUserMeResponse, type GscdumpUserRegistration, type GscdumpUserSettings, type GscdumpUserSite, type GscdumpUserStatus, type GscdumpUserTokenUpdate, INDEXING_SITEMAP_FILTER_MAX_FEEDS, IndexingCapture, type IndexingDiagnostics, type IndexingDiagnosticsParams, type IndexingInspectRateLimit, type IndexingInspectRateLimited, type IndexingInspectRequest, type IndexingInspectResponse, type IndexingInspectResult, type IndexingIssue, type IndexingIssueSeverity, IndexingNextAction, type IndexingSitemapFilterParams, IndexingStatus, type IndexingUrlRow, type IndexingUrlStatus, type IndexingUrlsParams, type IndexingUrlsResponse, type InspectionHistoryRecord, type InspectionHistoryResponse, type InspectionIndex, type InspectionRecordRaw, LifecycleError, LifecycleErrorCode, LifecycleProgress, LifecycleWebhookEnvelope, LifecycleWebhookEvent, type Metric, MultiSeriesStackedDailyQuery, PartnerLifecycleAccount, PartnerLifecycleResponse, PartnerLifecycleSite, type PartnerSitemapAction, type PartnerSitemapActionResponse, type PartnerWebhookData, type PartnerWebhookHeaders, PropertyNextAction, PropertyStatus, QueryArchetype, type QueryDimSourceFile, type QueryDimSourceResponse, QuerySourceMode, RECORD_READ_REFUSAL_REASONS, RecordReadRefusal, RecordReadRefusalReason, type RegisterPartnerSiteParams, type RegisterPartnerUserParams, ResolvedArchetypeQuery, type ResolvedParquetFile, type ResolvedTable, type RollupEnvelope, type Row, SEARCH_TYPE_CAPABILITIES, SITE_HOLD_REASONS, type ScheduleState, type SearchAppearanceResponse, type SearchAppearanceRow, type SearchConsoleGrantOutcome, type SearchTypeOptions, type ServerTailDirective, SingleRowLookupQuery, SiteDailyTimeseriesQuery, SiteHoldReason, type SiteListItem, type SitemapAddedRow, type SitemapChangesCompleteness, type SitemapChangesResponse, SitemapNextAction, type SitemapRemovedRow, SitemapStatus, type SourceInfoOptions, type SourceInfoResponse, type TableName, type TableSchema, type TenantCtx, TopNBreakdownOptions, TopNBreakdownQuery, TwoDimensionDetailOptions, TwoDimensionDetailQuery, type UpdatePartnerUserTokensParams, UserAllowanceNoticeData, VALID_WEBHOOK_EVENTS, VerdictFreshness, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, WatchedUrl, WatchedUrlCheckpoint, type WebhookEnvelope, type WebhookEventType, type WhoamiResponse, WireDateRange, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsNextActions, analyticsRoutes, analyticsStatuses, arbitrarySql, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, entitlementRefusalSchema, entityDailySparkline, entityDailyTimeseries, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscComparisonOrderBySchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSearchConsoleGrantOutcomeSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapFeedSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingCaptureSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingSitemapFilterShape, indexingStatuses, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, multiSeriesStackedDaily, parseEntitlementRefusal, parseGrantedScopes, parseRecordReadRefusal, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, queryDimSourceResponseSchema, querySourceModes, recordReadRefusalSchema, refineIndexingSitemapFilter, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, singleRowLookup, siteDailyTimeseries, siteHoldReasonSchema, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, teamCatalogRefSchema, topNBreakdown, twoDimensionDetail, updatePartnerUserTokensSchema, userAllowanceNoticeDataSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema, whoamiResponseSchema };
|
|
13
|
+
export { AGENT_REQUEST_HEADERS, ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ARCHETYPE_EXECUTION_CLASS, AccountNextAction, AccountStatus, type AddPartnerTeamMemberParams, AgentFeedbackContext, AgentOutcomeBody, AgentOutcomeReceipt, AgentRequestContext, AllowanceNoticeMeter, AllowanceNoticeThreshold, type AnalysisSourcesOptions, type AnalysisSourcesResponse, AnalyticsNextAction, AnalyticsStatus, ArbitrarySqlQuery, ArchetypeExecutionClass, ArchetypeFacet, ArchetypeQuery, ArchetypeQueryBase, ArchetypeResult, ArchetypeResultRow, ArchetypeResultSource, AuxCloudOnlyQuery, type BackfillRange, type BackfillResponse, type BindPartnerSiteTeamParams, type BindPartnerTeamCatalogParams, type BindPartnerTeamCatalogResponse, type BuilderStateWire, type BulkFileResolutionRequest, type BulkFileResolutionResponse, type BulkRegisterPartnerSiteResult, type BulkRegisterPartnerSitesParams, type BulkRegisterPartnerSitesResponse, CANONICAL_WEBHOOK_EVENTS, COVERAGE_LADDER, COVERAGE_STATE_TAGS, type CanonicalWebhookEnvelope, type CanonicalWebhookEventData, type CanonicalWebhookEventType, CliPapercutBody, type ColumnDef, type ColumnType, type CountriesResponse, type CountryRow, CoverageLadderTag, CoverageStateCounts, CoverageStateTag, CoverageStatesPoint, type CreatePartnerTeamParams, type CreateWebhookEnvelopeOptions, type DataDetailOptions, type DataQueryOptions, DateRange, type DeletePartnerUserResponse, type Dimension, ENTITLEMENT_REFUSAL_REASONS, EntitlementRefusal, EntitlementRefusalReason, EntityDailySparklineQuery, EntityDailyTimeseriesQuery, type FileResolutionRequest, type FileResolutionResponse, type FileResolutionTable, type Filter, GSCDUMP_INDEXING_TRANSITION_FIELDS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, GSC_SEARCH_TYPES, type Grain, type GscAddAndVerifyResponse, type GscApiRange, type GscComparisonFilter, type GscComparisonOrderBy, type GscRowQueryMeta, type GscRowQueryResponse, GscSearchType, type GscVerificationDnsRecord, type GscVerificationMethod, type GscVerificationRequest, type GscVerificationSite, type GscVerificationTokenResponse, type GscdumpAnalysisBundleParams, type GscdumpAnalysisBundleResponse, type GscdumpAnalysisParams, type GscdumpAnalysisPreset, type GscdumpAnalysisResponse, type GscdumpAnalysisSourcesResponse, type GscdumpAvailableSite, type GscdumpCanonicalDifferenceKind, type GscdumpCanonicalMismatchRow, type GscdumpCanonicalMismatchesResponse, type GscdumpDataDetailResponse, type GscdumpDataResponse, type GscdumpDataRow, type GscdumpHealthResponse, type GscdumpIndexPercentResponse, type GscdumpIndexPercentSitemap, type GscdumpIndexPercentTrendPoint, type GscdumpIndexingDiagnosticsResponse, type GscdumpIndexingInspectRateLimited, type GscdumpIndexingInspectRequest, type GscdumpIndexingInspectResponse, type GscdumpIndexingInspectResult, type GscdumpIndexingIssueSeverity, type GscdumpIndexingResponse, type GscdumpIndexingTrendPoint, type GscdumpIndexingUrl, type GscdumpIndexingUrlStatus, type GscdumpIndexingUrlsResponse, type GscdumpInvisibleUrlRow, type GscdumpKeywordSparklinesParams, type GscdumpKeywordSparklinesResponse, type GscdumpMeta, type GscdumpOrphanPageRow, type GscdumpPageTrendParams, type GscdumpPageTrendResponse, type GscdumpPerSitemapHistoryEntry, type GscdumpPermissionRecovery, type GscdumpQueryTrendParams, type GscdumpQueryTrendResponse, type GscdumpRichResultItem, type GscdumpSiteIntIdCrosswalkEntry, type GscdumpSiteIntIdCrosswalkResponse, type GscdumpSiteRegistration, type GscdumpSiteReportResponse, type GscdumpSitemap, type GscdumpSitemapChangesResponse, type GscdumpSitemapExportResponse, type GscdumpSitemapFeed, type GscdumpSitemapGeneration, type GscdumpSitemapHistory, type GscdumpSitemapMembershipEvidence, type GscdumpSitemapMembershipParams, type GscdumpSitemapMembershipResponse, type GscdumpSitemapUrlsResponse, type GscdumpSitemapsResponse, type GscdumpSyncJobItem, type GscdumpSyncJobStatus, type GscdumpSyncJobsQueueCounts, type GscdumpSyncJobsResponse, type GscdumpSyncProgressDateStatus, type GscdumpSyncProgressPhaseCounts, type GscdumpSyncProgressResponse, type GscdumpSyncProgressSite, type GscdumpSyncStatusResponse, type GscdumpTeamCatalogRef, type GscdumpTeamMemberRow, type GscdumpTeamRow, type GscdumpTopAssociationParams, type GscdumpTopAssociationResponse, type GscdumpTotals, type GscdumpUserMeResponse, type GscdumpUserRegistration, type GscdumpUserSettings, type GscdumpUserSite, type GscdumpUserStatus, type GscdumpUserTokenUpdate, INDEXING_SITEMAP_FILTER_MAX_FEEDS, IndexingCapture, type IndexingDiagnostics, type IndexingDiagnosticsParams, type IndexingInspectRateLimit, type IndexingInspectRateLimited, type IndexingInspectRequest, type IndexingInspectResponse, type IndexingInspectResult, type IndexingIssue, type IndexingIssueSeverity, IndexingNextAction, type IndexingSitemapFilterParams, IndexingStatus, type IndexingUrlRow, type IndexingUrlStatus, type IndexingUrlsParams, type IndexingUrlsResponse, type InspectionHistoryRecord, type InspectionHistoryResponse, type InspectionIndex, type InspectionRecordRaw, LifecycleError, LifecycleErrorCode, LifecycleProgress, LifecycleWebhookEnvelope, LifecycleWebhookEvent, type Metric, MultiSeriesStackedDailyQuery, PartnerLifecycleAccount, PartnerLifecycleResponse, PartnerLifecycleSite, type PartnerSitemapAction, type PartnerSitemapActionResponse, type PartnerWebhookData, type PartnerWebhookHeaders, PropertyNextAction, PropertyStatus, QueryArchetype, type QueryDimSourceFile, type QueryDimSourceResponse, QuerySourceMode, RECORD_READ_REFUSAL_REASONS, RecordReadRefusal, RecordReadRefusalReason, type RegisterPartnerSiteParams, type RegisterPartnerUserParams, ResolvedArchetypeQuery, type ResolvedParquetFile, type ResolvedTable, type RollupEnvelope, type Row, SEARCH_TYPE_CAPABILITIES, SITE_HOLD_REASONS, type ScheduleState, type SearchAppearanceResponse, type SearchAppearanceRow, type SearchConsoleGrantOutcome, type SearchTypeOptions, type ServerTailDirective, SingleRowLookupQuery, SiteDailyTimeseriesQuery, SiteHoldReason, type SiteListItem, type SitemapAddedRow, type SitemapChangesCompleteness, type SitemapChangesResponse, SitemapNextAction, type SitemapRemovedRow, SitemapStatus, type SourceInfoOptions, type SourceInfoResponse, type TableName, type TableSchema, type TenantCtx, TopNBreakdownOptions, TopNBreakdownQuery, TwoDimensionDetailOptions, TwoDimensionDetailQuery, type UpdatePartnerUserTokensParams, UserAllowanceNoticeData, VALID_WEBHOOK_EVENTS, VerdictFreshness, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, WatchedUrl, WatchedUrlCheckpoint, type WebhookEnvelope, type WebhookEventType, type WhoamiResponse, WireDateRange, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, agentFeedbackContextSchema, agentOutcomeBodySchema, agentOutcomeReceiptSchema, agentRequestContextSchema, analyticsEndpointSchemas, analyticsNextActions, analyticsRoutes, analyticsStatuses, arbitrarySql, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, cliPapercutBodySchema, countriesResponseSchema, countryRowSchema, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, entitlementRefusalSchema, entityDailySparkline, entityDailyTimeseries, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscComparisonOrderBySchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSearchConsoleGrantOutcomeSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapFeedSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingCaptureSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingSitemapFilterShape, indexingStatuses, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, multiSeriesStackedDaily, parseEntitlementRefusal, parseGrantedScopes, parseRecordReadRefusal, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, queryDimSourceResponseSchema, querySourceModes, recordReadRefusalSchema, redactAgentFeedbackText, refineIndexingSitemapFilter, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, singleRowLookup, siteDailyTimeseries, siteHoldReasonSchema, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, teamCatalogRefSchema, topNBreakdown, twoDimensionDetail, updatePartnerUserTokensSchema, userAllowanceNoticeDataSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema, whoamiResponseSchema };
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AGENT_REQUEST_HEADERS, agentFeedbackContextSchema, agentOutcomeBodySchema, agentOutcomeReceiptSchema, agentRequestContextSchema, cliPapercutBodySchema, redactAgentFeedbackText } from "./agent-feedback.mjs";
|
|
1
2
|
import { ARCHETYPE_EXECUTION_CLASS, arbitrarySql, entityDailySparkline, entityDailyTimeseries, multiSeriesStackedDaily, singleRowLookup, siteDailyTimeseries, topNBreakdown, twoDimensionDetail } from "./archetypes.mjs";
|
|
2
3
|
import { ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ENTITLEMENT_REFUSAL_REASONS, SITE_HOLD_REASONS, entitlementRefusalSchema, parseEntitlementRefusal, siteHoldReasonSchema, userAllowanceNoticeDataSchema } from "./entitlements.mjs";
|
|
3
4
|
import { COVERAGE_LADDER, COVERAGE_STATE_TAGS, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, indexingCaptureSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema } from "./indexing-coverage.mjs";
|
|
@@ -7,4 +8,4 @@ import { analyticsRoutes, partnerRoutes } from "./routes.mjs";
|
|
|
7
8
|
import { GSC_SEARCH_TYPES } from "./search-types.mjs";
|
|
8
9
|
import { CANONICAL_WEBHOOK_EVENTS, VALID_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER } from "./webhook-constants.mjs";
|
|
9
10
|
import { GSCDUMP_INDEXING_TRANSITION_FIELDS, INDEXING_SITEMAP_FILTER_MAX_FEEDS, SEARCH_TYPE_CAPABILITIES, addPartnerTeamMemberSchema, analyticsEndpointSchemas, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscComparisonOrderBySchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSearchConsoleGrantOutcomeSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapFeedSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingSitemapFilterShape, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorSchema, lifecycleProgressSchema, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, queryDimSourceResponseSchema, refineIndexingSitemapFilter, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sourceInfoResponseSchema, teamCatalogRefSchema, updatePartnerUserTokensSchema, whoamiResponseSchema } from "./schemas.mjs";
|
|
10
|
-
export { ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ARCHETYPE_EXECUTION_CLASS, CANONICAL_WEBHOOK_EVENTS, COVERAGE_LADDER, COVERAGE_STATE_TAGS, ENTITLEMENT_REFUSAL_REASONS, GSCDUMP_INDEXING_TRANSITION_FIELDS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, GSC_SEARCH_TYPES, INDEXING_SITEMAP_FILTER_MAX_FEEDS, RECORD_READ_REFUSAL_REASONS, SEARCH_TYPE_CAPABILITIES, SITE_HOLD_REASONS, VALID_WEBHOOK_EVENTS, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsNextActions, analyticsRoutes, analyticsStatuses, arbitrarySql, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, entitlementRefusalSchema, entityDailySparkline, entityDailyTimeseries, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscComparisonOrderBySchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSearchConsoleGrantOutcomeSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapFeedSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingCaptureSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingSitemapFilterShape, indexingStatuses, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, multiSeriesStackedDaily, parseEntitlementRefusal, parseGrantedScopes, parseRecordReadRefusal, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, queryDimSourceResponseSchema, querySourceModes, recordReadRefusalSchema, refineIndexingSitemapFilter, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, singleRowLookup, siteDailyTimeseries, siteHoldReasonSchema, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, teamCatalogRefSchema, topNBreakdown, twoDimensionDetail, updatePartnerUserTokensSchema, userAllowanceNoticeDataSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema, whoamiResponseSchema };
|
|
11
|
+
export { AGENT_REQUEST_HEADERS, ALLOWANCE_NOTICE_METERS, ALLOWANCE_NOTICE_THRESHOLDS, ARCHETYPE_EXECUTION_CLASS, CANONICAL_WEBHOOK_EVENTS, COVERAGE_LADDER, COVERAGE_STATE_TAGS, ENTITLEMENT_REFUSAL_REASONS, GSCDUMP_INDEXING_TRANSITION_FIELDS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, GSC_SEARCH_TYPES, INDEXING_SITEMAP_FILTER_MAX_FEEDS, RECORD_READ_REFUSAL_REASONS, SEARCH_TYPE_CAPABILITIES, SITE_HOLD_REASONS, VALID_WEBHOOK_EVENTS, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, agentFeedbackContextSchema, agentOutcomeBodySchema, agentOutcomeReceiptSchema, agentRequestContextSchema, analyticsEndpointSchemas, analyticsNextActions, analyticsRoutes, analyticsStatuses, arbitrarySql, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, bulkFileResolutionResponseSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalDifferenceKindSchema, canonicalWebhookEventTypeSchema, cliPapercutBodySchema, countriesResponseSchema, countryRowSchema, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, entitlementRefusalSchema, entityDailySparkline, entityDailyTimeseries, gscAddAndVerifyResponseSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscComparisonOrderBySchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscVerificationDnsRecordSchema, gscVerificationMethodSchema, gscVerificationRequestSchema, gscVerificationSiteSchema, gscVerificationTokenResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSearchConsoleGrantOutcomeSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapFeedSchema, gscdumpSitemapGenerationSchema, gscdumpSitemapMembershipEvidenceSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingCaptureSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingSitemapFilterShape, indexingStatuses, indexingUrlRowSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, multiSeriesStackedDaily, parseEntitlementRefusal, parseGrantedScopes, parseRecordReadRefusal, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, queryDimSourceResponseSchema, querySourceModes, recordReadRefusalSchema, redactAgentFeedbackText, refineIndexingSitemapFilter, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, searchTypeSupportsDimensions, searchTypeSupportsQueries, singleRowLookup, siteDailyTimeseries, siteHoldReasonSchema, siteIntIdCrosswalkResponseSchema, siteListItemSchema, sitemapChangesCompletenessSchema, sitemapChangesResponseSchema, sitemapChangesTruncationReasonSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, teamCatalogRefSchema, topNBreakdown, twoDimensionDetail, updatePartnerUserTokensSchema, userAllowanceNoticeDataSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema, whoamiResponseSchema };
|
package/dist/schemas.d.mts
CHANGED
|
@@ -1176,8 +1176,8 @@ export declare const gscdumpAvailableSiteSchema: z.ZodObject<{
|
|
|
1176
1176
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1177
1177
|
error: "error";
|
|
1178
1178
|
syncing: "syncing";
|
|
1179
|
-
pending: "pending";
|
|
1180
1179
|
idle: "idle";
|
|
1180
|
+
pending: "pending";
|
|
1181
1181
|
partial: "partial";
|
|
1182
1182
|
synced: "synced";
|
|
1183
1183
|
}>>>;
|
|
@@ -1197,8 +1197,8 @@ export declare const gscdumpUserSiteSchema: z.ZodObject<{
|
|
|
1197
1197
|
syncStatus: z.ZodEnum<{
|
|
1198
1198
|
error: "error";
|
|
1199
1199
|
syncing: "syncing";
|
|
1200
|
-
pending: "pending";
|
|
1201
1200
|
idle: "idle";
|
|
1201
|
+
pending: "pending";
|
|
1202
1202
|
synced: "synced";
|
|
1203
1203
|
}>;
|
|
1204
1204
|
lastSyncAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1212,8 +1212,8 @@ export declare const gscdumpSiteRegistrationSchema: z.ZodObject<{
|
|
|
1212
1212
|
status: z.ZodEnum<{
|
|
1213
1213
|
error: "error";
|
|
1214
1214
|
syncing: "syncing";
|
|
1215
|
-
pending: "pending";
|
|
1216
1215
|
idle: "idle";
|
|
1216
|
+
pending: "pending";
|
|
1217
1217
|
partial: "partial";
|
|
1218
1218
|
synced: "synced";
|
|
1219
1219
|
}>;
|
|
@@ -2181,8 +2181,8 @@ export declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
|
|
|
2181
2181
|
authFailureCount: z.ZodNumber;
|
|
2182
2182
|
currentPhase: z.ZodEnum<{
|
|
2183
2183
|
complete: "complete";
|
|
2184
|
-
initial: "initial";
|
|
2185
2184
|
backfill: "backfill";
|
|
2185
|
+
initial: "initial";
|
|
2186
2186
|
}>;
|
|
2187
2187
|
isStalled: z.ZodBoolean;
|
|
2188
2188
|
stallDays: z.ZodNumber;
|
|
@@ -3710,8 +3710,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3710
3710
|
authFailureCount: z.ZodNumber;
|
|
3711
3711
|
currentPhase: z.ZodEnum<{
|
|
3712
3712
|
complete: "complete";
|
|
3713
|
-
initial: "initial";
|
|
3714
3713
|
backfill: "backfill";
|
|
3714
|
+
initial: "initial";
|
|
3715
3715
|
}>;
|
|
3716
3716
|
isStalled: z.ZodBoolean;
|
|
3717
3717
|
stallDays: z.ZodNumber;
|
|
@@ -3852,8 +3852,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3852
3852
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3853
3853
|
error: "error";
|
|
3854
3854
|
syncing: "syncing";
|
|
3855
|
-
pending: "pending";
|
|
3856
3855
|
idle: "idle";
|
|
3856
|
+
pending: "pending";
|
|
3857
3857
|
partial: "partial";
|
|
3858
3858
|
synced: "synced";
|
|
3859
3859
|
}>>>;
|
|
@@ -4059,8 +4059,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4059
4059
|
syncStatus: z.ZodEnum<{
|
|
4060
4060
|
error: "error";
|
|
4061
4061
|
syncing: "syncing";
|
|
4062
|
-
pending: "pending";
|
|
4063
4062
|
idle: "idle";
|
|
4063
|
+
pending: "pending";
|
|
4064
4064
|
synced: "synced";
|
|
4065
4065
|
}>;
|
|
4066
4066
|
lastSyncAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4080,8 +4080,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4080
4080
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4081
4081
|
error: "error";
|
|
4082
4082
|
syncing: "syncing";
|
|
4083
|
-
pending: "pending";
|
|
4084
4083
|
idle: "idle";
|
|
4084
|
+
pending: "pending";
|
|
4085
4085
|
partial: "partial";
|
|
4086
4086
|
synced: "synced";
|
|
4087
4087
|
}>>>;
|
|
@@ -4133,8 +4133,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4133
4133
|
status: z.ZodEnum<{
|
|
4134
4134
|
error: "error";
|
|
4135
4135
|
syncing: "syncing";
|
|
4136
|
-
pending: "pending";
|
|
4137
4136
|
idle: "idle";
|
|
4137
|
+
pending: "pending";
|
|
4138
4138
|
partial: "partial";
|
|
4139
4139
|
synced: "synced";
|
|
4140
4140
|
}>;
|
|
@@ -5540,8 +5540,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5540
5540
|
authFailureCount: z.ZodNumber;
|
|
5541
5541
|
currentPhase: z.ZodEnum<{
|
|
5542
5542
|
complete: "complete";
|
|
5543
|
-
initial: "initial";
|
|
5544
5543
|
backfill: "backfill";
|
|
5544
|
+
initial: "initial";
|
|
5545
5545
|
}>;
|
|
5546
5546
|
isStalled: z.ZodBoolean;
|
|
5547
5547
|
stallDays: z.ZodNumber;
|
|
@@ -5682,8 +5682,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5682
5682
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5683
5683
|
error: "error";
|
|
5684
5684
|
syncing: "syncing";
|
|
5685
|
-
pending: "pending";
|
|
5686
5685
|
idle: "idle";
|
|
5686
|
+
pending: "pending";
|
|
5687
5687
|
partial: "partial";
|
|
5688
5688
|
synced: "synced";
|
|
5689
5689
|
}>>>;
|
|
@@ -5889,8 +5889,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5889
5889
|
syncStatus: z.ZodEnum<{
|
|
5890
5890
|
error: "error";
|
|
5891
5891
|
syncing: "syncing";
|
|
5892
|
-
pending: "pending";
|
|
5893
5892
|
idle: "idle";
|
|
5893
|
+
pending: "pending";
|
|
5894
5894
|
synced: "synced";
|
|
5895
5895
|
}>;
|
|
5896
5896
|
lastSyncAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5910,8 +5910,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5910
5910
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5911
5911
|
error: "error";
|
|
5912
5912
|
syncing: "syncing";
|
|
5913
|
-
pending: "pending";
|
|
5914
5913
|
idle: "idle";
|
|
5914
|
+
pending: "pending";
|
|
5915
5915
|
partial: "partial";
|
|
5916
5916
|
synced: "synced";
|
|
5917
5917
|
}>>>;
|
|
@@ -5963,8 +5963,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5963
5963
|
status: z.ZodEnum<{
|
|
5964
5964
|
error: "error";
|
|
5965
5965
|
syncing: "syncing";
|
|
5966
|
-
pending: "pending";
|
|
5967
5966
|
idle: "idle";
|
|
5967
|
+
pending: "pending";
|
|
5968
5968
|
partial: "partial";
|
|
5969
5969
|
synced: "synced";
|
|
5970
5970
|
}>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CompatibleResponseSchema } from "./http-core.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
/** Only credential-bound partner observations belong in this rollup. Null counts remain unknown. */
|
|
4
|
+
export declare const userIntegrationActivityV1Schemas: CompatibleResponseSchema<z.ZodObject<{
|
|
5
|
+
readonly measuredAt: z.ZodISODateTime;
|
|
6
|
+
readonly activities: z.ZodArray<z.ZodObject<{
|
|
7
|
+
readonly surface: z.ZodEnum<{
|
|
8
|
+
unknown: "unknown";
|
|
9
|
+
cli: "cli";
|
|
10
|
+
mcp: "mcp";
|
|
11
|
+
api: "api";
|
|
12
|
+
}>;
|
|
13
|
+
readonly client: z.ZodString;
|
|
14
|
+
readonly label: z.ZodString;
|
|
15
|
+
readonly configuredUsers: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
readonly successfulUsers: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
readonly successfulCalls: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
readonly firstObservedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
19
|
+
readonly lastObservedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
20
|
+
readonly coverage: z.ZodEnum<{
|
|
21
|
+
unavailable: "unavailable";
|
|
22
|
+
retained: "retained";
|
|
23
|
+
}>;
|
|
24
|
+
readonly note: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
readonly measuredAt: z.ZodISODateTime;
|
|
28
|
+
readonly activities: z.ZodArray<z.ZodObject<{
|
|
29
|
+
readonly surface: z.ZodEnum<{
|
|
30
|
+
unknown: "unknown";
|
|
31
|
+
cli: "cli";
|
|
32
|
+
mcp: "mcp";
|
|
33
|
+
api: "api";
|
|
34
|
+
}>;
|
|
35
|
+
readonly client: z.ZodString;
|
|
36
|
+
readonly label: z.ZodString;
|
|
37
|
+
readonly configuredUsers: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
readonly successfulUsers: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
readonly successfulCalls: z.ZodNullable<z.ZodNumber>;
|
|
40
|
+
readonly firstObservedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
41
|
+
readonly lastObservedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
42
|
+
readonly coverage: z.ZodEnum<{
|
|
43
|
+
unavailable: "unavailable";
|
|
44
|
+
retained: "retained";
|
|
45
|
+
}>;
|
|
46
|
+
readonly note: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
export type UserIntegrationActivityV1 = z.infer<typeof userIntegrationActivityV1Schemas.client>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineResponseObject } from "./http-core.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const activity = defineResponseObject({
|
|
4
|
+
surface: z.enum([
|
|
5
|
+
"mcp",
|
|
6
|
+
"cli",
|
|
7
|
+
"api",
|
|
8
|
+
"unknown"
|
|
9
|
+
]),
|
|
10
|
+
client: z.string().min(1).max(100),
|
|
11
|
+
label: z.string().min(1).max(100),
|
|
12
|
+
configuredUsers: z.number().int().nonnegative().nullable(),
|
|
13
|
+
successfulUsers: z.number().int().nonnegative().nullable(),
|
|
14
|
+
successfulCalls: z.number().int().nonnegative().nullable(),
|
|
15
|
+
firstObservedAt: z.iso.datetime().nullable(),
|
|
16
|
+
lastObservedAt: z.iso.datetime().nullable(),
|
|
17
|
+
coverage: z.enum(["retained", "unavailable"]),
|
|
18
|
+
note: z.string().max(500)
|
|
19
|
+
});
|
|
20
|
+
const userIntegrationActivityV1Schemas = defineResponseObject({
|
|
21
|
+
measuredAt: z.iso.datetime(),
|
|
22
|
+
activities: z.array(activity.producer).max(100)
|
|
23
|
+
}, {
|
|
24
|
+
measuredAt: z.iso.datetime(),
|
|
25
|
+
activities: z.array(activity.client).max(100)
|
|
26
|
+
});
|
|
27
|
+
export { userIntegrationActivityV1Schemas };
|