@gscdump/contracts 0.38.2 → 0.40.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.
@@ -1,91 +1,133 @@
1
- import { GSCDUMP_ONBOARDING_CONTRACT_VERSION, accountNextActions, accountStatuses, analyticsNextActions, analyticsStatuses, indexingNextActions, indexingStatuses, lifecycleErrorCodes, propertyNextActions, propertyStatuses, querySourceModes, sitemapNextActions, sitemapStatuses } from "./onboarding.mjs";
2
1
  import { z } from "zod";
3
- const partnerRoutes = {
4
- partner: {
5
- users: {
6
- byId: (userId) => `/partner/users/${encodeURIComponent(userId)}`,
7
- lifecycle: (userId) => `/partner/users/${encodeURIComponent(userId)}/lifecycle`,
8
- siteTeam: (userId, siteId) => `/partner/users/${encodeURIComponent(userId)}/sites/${encodeURIComponent(siteId)}`
9
- },
10
- sites: {
11
- register: "/partner/sites/register",
12
- bulkRegister: "/partner/sites/bulk-register"
13
- }
14
- },
15
- users: {
16
- register: "/users/register",
17
- tokens: (userId) => `/users/${encodeURIComponent(userId)}/tokens`,
18
- status: (userId) => `/users/${encodeURIComponent(userId)}/status`,
19
- lifecycle: (userId) => `/users/${encodeURIComponent(userId)}/lifecycle`,
20
- sites: (userId) => `/users/${encodeURIComponent(userId)}/sites`,
21
- availableSites: (userId) => `/users/${encodeURIComponent(userId)}/available-sites`,
22
- siteTeam: (userId, siteId) => `/partner/users/${encodeURIComponent(userId)}/sites/${encodeURIComponent(siteId)}`
23
- },
24
- sites: {
25
- register: "/sites/register",
26
- bulkRegister: "/sites/bulk-register",
27
- byId: (siteId) => `/sites/${encodeURIComponent(siteId)}`,
28
- analysisSources: (siteId) => `/sites/${encodeURIComponent(siteId)}/analysis-sources`,
29
- syncStatus: (siteId) => `/sites/${encodeURIComponent(siteId)}/sync-status`,
30
- data: (siteId) => `/sites/${encodeURIComponent(siteId)}/data`,
31
- dataDetail: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/detail`,
32
- analysis: (siteId) => `/sites/${encodeURIComponent(siteId)}/analysis`,
33
- sitemaps: (siteId) => `/sites/${encodeURIComponent(siteId)}/sitemaps`,
34
- sitemapChanges: (siteId) => `/sites/${encodeURIComponent(siteId)}/sitemaps/changes`,
35
- indexing: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing`,
36
- indexingUrls: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/urls`,
37
- indexingDiagnostics: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/diagnostics`,
38
- indexingInspect: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/inspect`,
39
- recoverPermission: (siteId) => `/sites/${encodeURIComponent(siteId)}/recover-permission`,
40
- canonicalMismatches: (siteId) => `/sites/${encodeURIComponent(siteId)}/canonical-mismatches`,
41
- topAssociation: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/top-association`,
42
- keywordSparklines: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/keyword-sparklines`,
43
- queryTrend: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/query-trend`,
44
- pageTrend: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/page-trend`,
45
- contentVelocity: (siteId) => `/sites/${encodeURIComponent(siteId)}/content-velocity`,
46
- ctrCurve: (siteId) => `/sites/${encodeURIComponent(siteId)}/ctr-curve`,
47
- darkTraffic: (siteId) => `/sites/${encodeURIComponent(siteId)}/dark-traffic`,
48
- deviceGap: (siteId) => `/sites/${encodeURIComponent(siteId)}/device-gap`,
49
- indexPercent: (siteId) => `/sites/${encodeURIComponent(siteId)}/index-percent`,
50
- keywordBreadth: (siteId) => `/sites/${encodeURIComponent(siteId)}/keyword-breadth`,
51
- positionDistribution: (siteId) => `/sites/${encodeURIComponent(siteId)}/position-distribution`
52
- },
53
- settings: { user: "/user/settings" },
54
- teams: {
55
- create: "/partner/teams",
56
- byId: (teamId) => `/partner/teams/${encodeURIComponent(teamId)}`,
57
- members: (teamId) => `/partner/teams/${encodeURIComponent(teamId)}/members`,
58
- member: (teamId, userId) => `/partner/teams/${encodeURIComponent(teamId)}/members/${encodeURIComponent(userId)}`
59
- },
60
- realtime: {
61
- partner: "/ws/partner",
62
- user: "/ws/user"
63
- }
64
- };
65
- const analyticsRoutes = {
66
- whoami: "/api/__gsc/whoami",
67
- sites: "/api/__gsc/sites",
68
- site: {
69
- sourceInfo: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/source-info`,
70
- analysisSources: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/analysis-sources`,
71
- analyze: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/analyze`,
72
- rows: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/rows`,
73
- rollup: (siteId, rollupId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/rollup/${encodeURIComponent(rollupId)}`,
74
- backfill: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/backfill`,
75
- sitemaps: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/sitemaps`,
76
- sitemapHistory: (siteId, hash) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/sitemaps/${encodeURIComponent(hash)}`,
77
- sitemapChanges: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/sitemaps/changes`,
78
- inspections: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/inspections`,
79
- inspectionHistory: (siteId, hash) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/inspections/${encodeURIComponent(hash)}`,
80
- indexingUrls: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/indexing/urls`,
81
- indexingDiagnostics: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/indexing/diagnostics`,
82
- indexingInspect: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/indexing/inspect`,
83
- countries: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/countries`,
84
- searchAppearance: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/search-appearance`,
85
- topAssociation: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/data/top-association`
86
- },
87
- syncProgress: "/api/sync-progress"
88
- };
2
+ const GSCDUMP_ONBOARDING_CONTRACT_VERSION = "2026-05-11";
3
+ const GSCDUMP_REQUIRED_ANALYTICS_SCOPE = "https://www.googleapis.com/auth/webmasters.readonly";
4
+ const GSCDUMP_WRITE_ANALYTICS_SCOPE = "https://www.googleapis.com/auth/webmasters";
5
+ const GSCDUMP_OPTIONAL_INDEXING_SCOPE = "https://www.googleapis.com/auth/indexing";
6
+ const accountStatuses = [
7
+ "disconnected",
8
+ "oauth_received",
9
+ "scope_missing",
10
+ "refresh_missing",
11
+ "db_provisioning",
12
+ "ready",
13
+ "reauth_required"
14
+ ];
15
+ const accountNextActions = [
16
+ "connect_google",
17
+ "reconnect_google",
18
+ "wait_for_provisioning",
19
+ "none"
20
+ ];
21
+ const propertyStatuses = [
22
+ "no_local_site",
23
+ "no_gsc_property",
24
+ "unverified_property",
25
+ "verified_candidate",
26
+ "registered",
27
+ "linked"
28
+ ];
29
+ const propertyNextActions = [
30
+ "create_site",
31
+ "verify_gsc_property",
32
+ "choose_property",
33
+ "register_site",
34
+ "none"
35
+ ];
36
+ const analyticsStatuses = [
37
+ "not_registered",
38
+ "queued",
39
+ "preparing",
40
+ "syncing",
41
+ "queryable_live",
42
+ "queryable_partial",
43
+ "ready",
44
+ "failed"
45
+ ];
46
+ const analyticsNextActions = [
47
+ "wait_for_sync",
48
+ "retry_sync",
49
+ "none"
50
+ ];
51
+ const querySourceModes = [
52
+ "none",
53
+ "live",
54
+ "d1",
55
+ "r2",
56
+ "mixed"
57
+ ];
58
+ const sitemapStatuses = [
59
+ "unknown",
60
+ "discovering",
61
+ "none_found",
62
+ "auto_submitted",
63
+ "syncing",
64
+ "ready",
65
+ "failed"
66
+ ];
67
+ const sitemapNextActions = [
68
+ "submit_sitemap",
69
+ "wait_for_sitemaps",
70
+ "retry_sitemaps",
71
+ "none"
72
+ ];
73
+ const indexingStatuses = [
74
+ "not_requested",
75
+ "missing_scope",
76
+ "insufficient_permission",
77
+ "waiting_for_sitemaps",
78
+ "discovering",
79
+ "checking",
80
+ "ready",
81
+ "budget_exhausted",
82
+ "no_urls",
83
+ "failed"
84
+ ];
85
+ const indexingNextActions = [
86
+ "reconnect_google",
87
+ "fix_gsc_permission",
88
+ "wait_for_sitemaps",
89
+ "wait_for_indexing",
90
+ "retry_indexing",
91
+ "none"
92
+ ];
93
+ const lifecycleWebhookEvents = [
94
+ "user.lifecycle.changed",
95
+ "site.lifecycle.changed",
96
+ "site.analytics.ready",
97
+ "site.indexing.ready",
98
+ "site.auth.failed",
99
+ "job.failed"
100
+ ];
101
+ const lifecycleErrorCodes = [
102
+ "missing_refresh_token",
103
+ "missing_analytics_scope",
104
+ "missing_indexing_scope",
105
+ "token_refresh_failed",
106
+ "permission_lost",
107
+ "insufficient_gsc_permission",
108
+ "gsc_property_not_found",
109
+ "gsc_property_unverified",
110
+ "user_database_not_provisioned",
111
+ "sync_failed",
112
+ "sitemap_sync_failed",
113
+ "indexing_failed"
114
+ ];
115
+ function parseGrantedScopes(scopes) {
116
+ if (!scopes) return [];
117
+ if (typeof scopes === "string") return scopes.split(/\s+/).map((scope) => scope.trim()).filter(Boolean);
118
+ return scopes.map((scope) => scope.trim()).filter(Boolean);
119
+ }
120
+ function hasGoogleScope(scopes, scope) {
121
+ const granted = parseGrantedScopes(scopes);
122
+ const suffix = scope.replace("https://www.googleapis.com/auth/", "");
123
+ return granted.includes(scope) || granted.includes(suffix);
124
+ }
125
+ function hasRequiredAnalyticsScope(scopes) {
126
+ return hasGoogleScope(scopes, "https://www.googleapis.com/auth/webmasters.readonly") || hasGoogleScope(scopes, "https://www.googleapis.com/auth/webmasters");
127
+ }
128
+ function hasOptionalIndexingScope(scopes) {
129
+ return hasGoogleScope(scopes, GSCDUMP_OPTIONAL_INDEXING_SCOPE);
130
+ }
89
131
  const WEBHOOK_CONTRACT_VERSION = "2026-05-11";
90
132
  const WEBHOOK_SIGNATURE_HEADER = "X-GSCDump-Signature";
91
133
  const WEBHOOK_EVENT_HEADER = "X-GSCDump-Event";
@@ -383,7 +425,7 @@ const gscdumpMetaSchema = z.object({
383
425
  syncStatus: z.string(),
384
426
  newestDateSynced: z.string().nullable(),
385
427
  oldestDateSynced: z.string().nullable(),
386
- dataDelay: z.string(),
428
+ dataDelay: z.string().optional(),
387
429
  dataEndDate: z.string().nullable().optional(),
388
430
  warnings: z.array(z.string()).optional(),
389
431
  enrichment: z.object({
@@ -415,6 +457,13 @@ const gscdumpDataDetailResponseSchema = z.object({
415
457
  ctr: z.number(),
416
458
  position: z.number()
417
459
  }).loose()),
460
+ previousDaily: z.array(z.object({
461
+ date: z.string(),
462
+ clicks: z.number(),
463
+ impressions: z.number(),
464
+ ctr: z.number(),
465
+ position: z.number()
466
+ }).loose()).optional(),
418
467
  totals: gscdumpTotalsSchema,
419
468
  previousTotals: gscdumpTotalsSchema.optional(),
420
469
  meta: gscdumpMetaSchema
@@ -567,9 +616,14 @@ const gscdumpSiteRegistrationSchema = z.object({
567
616
  message: z.string().optional(),
568
617
  existing: z.boolean().optional(),
569
618
  indexingEligible: z.boolean().optional(),
570
- indexingIneligibleReason: z.enum(["missing_indexing_scope", "insufficient_gsc_permission"]).optional(),
619
+ indexingIneligibleReason: z.enum([
620
+ "free_plan",
621
+ "missing_indexing_scope",
622
+ "insufficient_gsc_permission"
623
+ ]).optional(),
571
624
  indexingPermissionLevel: z.string().nullable().optional(),
572
- grantedScopes: z.array(z.string()).optional()
625
+ grantedScopes: z.array(z.string()).optional(),
626
+ site: partnerLifecycleSiteSchema.nullable().optional()
573
627
  }).loose();
574
628
  const registerPartnerSiteSchema = z.object({
575
629
  userId: z.string(),
@@ -611,7 +665,11 @@ const bulkRegisterPartnerSitesResponseSchema = z.object({
611
665
  error: z.string().optional(),
612
666
  site: unknownRecord.nullable().optional(),
613
667
  indexingEligible: z.boolean().optional(),
614
- indexingIneligibleReason: z.enum(["missing_indexing_scope", "insufficient_gsc_permission"]).optional(),
668
+ indexingIneligibleReason: z.enum([
669
+ "free_plan",
670
+ "missing_indexing_scope",
671
+ "insufficient_gsc_permission"
672
+ ]).optional(),
615
673
  indexingPermissionLevel: z.string().nullable().optional(),
616
674
  grantedScopes: z.array(z.string()).optional()
617
675
  }).loose()),
@@ -652,8 +710,7 @@ const gscdumpAnalysisPresetSchema = z.enum([
652
710
  "movers-rising",
653
711
  "movers-declining"
654
712
  ]);
655
- const gscdumpAnalysisParamsSchema = z.object({
656
- preset: gscdumpAnalysisPresetSchema,
713
+ const gscdumpAnalysisBaseParamsSchema = z.object({
657
714
  startDate: z.string(),
658
715
  endDate: z.string(),
659
716
  prevStartDate: z.string().optional(),
@@ -667,19 +724,52 @@ const gscdumpAnalysisParamsSchema = z.object({
667
724
  maxPosition: z.number().optional(),
668
725
  maxCtr: z.number().optional(),
669
726
  searchType: searchTypeSchema.optional()
670
- }).superRefine((value, ctx) => {
727
+ });
728
+ const gscdumpAnalysisParamsSchema = gscdumpAnalysisBaseParamsSchema.extend({ preset: gscdumpAnalysisPresetSchema }).superRefine((value, ctx) => {
671
729
  if ((value.preset === "brand-only" || value.preset === "non-brand") && !value.brandTerms?.trim()) ctx.addIssue({
672
730
  code: "custom",
673
731
  path: ["brandTerms"],
674
732
  message: "brandTerms is required for brand/non-brand presets"
675
733
  });
676
734
  });
735
+ const gscdumpAnalysisBundleParamsSchema = gscdumpAnalysisBaseParamsSchema.extend({ presets: z.array(gscdumpAnalysisPresetSchema).min(1).max(8) }).superRefine((value, ctx) => {
736
+ if (value.presets.some((preset) => preset === "brand-only" || preset === "non-brand") && !value.brandTerms?.trim()) ctx.addIssue({
737
+ code: "custom",
738
+ path: ["brandTerms"],
739
+ message: "brandTerms is required for brand/non-brand presets"
740
+ });
741
+ if (value.presets.some((preset) => preset === "movers-rising" || preset === "movers-declining" || preset === "decay") && (!value.prevStartDate || !value.prevEndDate)) ctx.addIssue({
742
+ code: "custom",
743
+ path: ["prevStartDate"],
744
+ message: "prevStartDate and prevEndDate are required for comparison presets"
745
+ });
746
+ });
747
+ const gscdumpAnalysisMetaSchema = z.object({
748
+ siteUrl: z.string(),
749
+ params: z.object({
750
+ brandTerms: z.array(z.string()).optional(),
751
+ startDate: z.string().optional(),
752
+ endDate: z.string().optional(),
753
+ prevStartDate: z.string().optional(),
754
+ prevEndDate: z.string().optional()
755
+ }),
756
+ presetDescription: z.string().optional()
757
+ }).loose();
677
758
  const gscdumpAnalysisResponseSchema = z.object({
678
759
  preset: gscdumpAnalysisPresetSchema,
679
760
  keywords: z.array(unknownRecord),
680
761
  totalCount: z.number(),
681
- summary: unknownRecord.optional(),
682
- meta: gscdumpMetaSchema
762
+ summary: unknownRecord.nullable().optional(),
763
+ meta: gscdumpAnalysisMetaSchema
764
+ }).loose();
765
+ const gscdumpAnalysisBundleResponseSchema = z.object({
766
+ bundle: z.record(z.string(), z.object({
767
+ keywords: z.array(unknownRecord),
768
+ totalCount: z.number(),
769
+ summary: unknownRecord.nullable().optional(),
770
+ presetDescription: z.string()
771
+ })),
772
+ meta: gscdumpAnalysisMetaSchema
683
773
  }).loose();
684
774
  const gscdumpSitemapsResponseSchema = z.object({
685
775
  sitemaps: z.array(z.object({
@@ -688,8 +778,11 @@ const gscdumpSitemapsResponseSchema = z.object({
688
778
  errors: z.number(),
689
779
  warnings: z.number(),
690
780
  isIndex: z.boolean().optional(),
691
- lastSubmitted: z.string().nullable().optional(),
692
- lastDownloaded: z.string().nullable().optional()
781
+ contentHash: z.string().nullable().optional(),
782
+ lastDownloaded: z.string().nullable().optional(),
783
+ lastError: z.string().nullable().optional(),
784
+ isPending: z.boolean().optional(),
785
+ fetchedAt: z.number().nullable().optional()
693
786
  }).loose()),
694
787
  history: z.array(z.object({
695
788
  date: z.string(),
@@ -706,6 +799,7 @@ const gscdumpSitemapsResponseSchema = z.object({
706
799
  }).loose())),
707
800
  meta: z.object({
708
801
  siteUrl: z.string(),
802
+ gscPropertyUrl: z.string(),
709
803
  syncStatus: z.string().nullable()
710
804
  }).loose()
711
805
  }).loose();
@@ -1049,7 +1143,8 @@ const gscdumpAnalysisSourcesResponseSchema = z.object({
1049
1143
  }).optional(),
1050
1144
  eligibilityCeiling: z.object({
1051
1145
  maxBytes: z.number(),
1052
- maxRows: z.number()
1146
+ maxRows: z.number(),
1147
+ maxFiles: z.number()
1053
1148
  })
1054
1149
  }).loose();
1055
1150
  const gscdumpKeywordSparklinesParamsSchema = z.object({
@@ -1503,4 +1598,4 @@ const partnerEndpointSchemas = {
1503
1598
  ...analyticsEndpointSchemas,
1504
1599
  ...partnerControlEndpointSchemas
1505
1600
  };
1506
- export { 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, addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsRoutes, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, builderStateSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDateRangeParamsSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingUrlRowSchema, indexingUrlStatusSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, jobFailedWebhookPayloadSchema, lifecycleErrorSchema, lifecycleProgressSchema, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, registerPartnerSiteSchema, registerPartnerUserSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, siteListItemSchema, sitemapChangesResponseSchema, sitemapHistoryRecordSchema, sitemapHistoryResponseSchema, sitemapIndexSchema, sourceInfoResponseSchema, teamCatalogRefSchema, updatePartnerUserTokensSchema, webhookEventTypeSchema, whoamiResponseSchema };
1601
+ export { CANONICAL_WEBHOOK_EVENTS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GSCDUMP_WRITE_ANALYTICS_SCOPE, VALID_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsNextActions, analyticsStatuses, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, builderStateSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDateRangeParamsSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingStatuses, indexingUrlRowSchema, indexingUrlStatusSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, jobFailedWebhookPayloadSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, lifecycleWebhookEvents, parseGrantedScopes, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, querySourceModes, registerPartnerSiteSchema, registerPartnerUserSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, siteListItemSchema, sitemapChangesResponseSchema, sitemapHistoryRecordSchema, sitemapHistoryResponseSchema, sitemapIndexSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, teamCatalogRefSchema, updatePartnerUserTokensSchema, webhookEventTypeSchema, whoamiResponseSchema };