@gscdump/contracts 7.8.4 → 7.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/endpoints.d.mts +4 -4
- package/dist/schemas.d.mts +14 -14
- package/dist/site-version.mjs +2 -2
- package/dist/v1/browser.d.mts +49 -1
- package/dist/v1/browser.mjs +3 -0
- package/dist/v1/google-indexing.d.mts +1 -1
- package/dist/v1/operations.d.mts +125 -29
- package/dist/v1/operations.mjs +1 -1
- package/package.json +1 -1
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/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
|
}>;
|
package/dist/site-version.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GSC_SEARCH_TYPES } from "./search-types.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
const registeredUrl = z.url().refine((value) => {
|
|
4
4
|
const url = new URL(value);
|
|
@@ -38,7 +38,7 @@ const siteVersionSliceSchema = z.strictObject({
|
|
|
38
38
|
"search_appearance_page_queries",
|
|
39
39
|
"hourly_pages"
|
|
40
40
|
]),
|
|
41
|
-
searchType:
|
|
41
|
+
searchType: z.enum(GSC_SEARCH_TYPES)
|
|
42
42
|
});
|
|
43
43
|
const siteVersionPreviewRequestSchema = z.strictObject({
|
|
44
44
|
requestedUrl: registeredUrl,
|
package/dist/v1/browser.d.mts
CHANGED
|
@@ -17,12 +17,12 @@ export declare const GSCDUMP_V1_ANALYTICS_DIMENSIONS: readonly ["page", "query",
|
|
|
17
17
|
export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: RealtimeV1Schemas): {
|
|
18
18
|
analyticsRowsRequest: z.ZodObject<{
|
|
19
19
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
20
|
-
date: "date";
|
|
21
20
|
page: "page";
|
|
22
21
|
query: "query";
|
|
23
22
|
queryCanonical: "queryCanonical";
|
|
24
23
|
country: "country";
|
|
25
24
|
device: "device";
|
|
25
|
+
date: "date";
|
|
26
26
|
searchAppearance: "searchAppearance";
|
|
27
27
|
hour: "hour";
|
|
28
28
|
}>>;
|
|
@@ -266,6 +266,30 @@ export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: Realtime
|
|
|
266
266
|
size_unknown: "size_unknown";
|
|
267
267
|
size_pending: "size_pending";
|
|
268
268
|
}>>;
|
|
269
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
270
|
+
identity: z.ZodObject<{
|
|
271
|
+
siteId: z.ZodString;
|
|
272
|
+
userId: z.ZodString;
|
|
273
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
274
|
+
requestedUrl: z.ZodURL;
|
|
275
|
+
catalogSiteId: z.ZodNumber;
|
|
276
|
+
warehouse: z.ZodString;
|
|
277
|
+
namespace: z.ZodString;
|
|
278
|
+
version: z.ZodNumber;
|
|
279
|
+
revision: z.ZodNumber;
|
|
280
|
+
catalogRevision: z.ZodNumber;
|
|
281
|
+
dataVersion: z.ZodNumber;
|
|
282
|
+
}, z.core.$strict>;
|
|
283
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
284
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
285
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
286
|
+
_tag: z.ZodLiteral<"verified">;
|
|
287
|
+
window: z.ZodObject<{
|
|
288
|
+
startDate: z.ZodISODate;
|
|
289
|
+
endDate: z.ZodISODate;
|
|
290
|
+
}, z.core.$strict>;
|
|
291
|
+
}, z.core.$strict>], "_tag">;
|
|
292
|
+
}, z.core.$strict>>;
|
|
269
293
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
270
294
|
readonly code: z.ZodEnum<{
|
|
271
295
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -428,6 +452,30 @@ export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: Realtime
|
|
|
428
452
|
size_unknown: "size_unknown";
|
|
429
453
|
size_pending: "size_pending";
|
|
430
454
|
}>>>;
|
|
455
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
456
|
+
identity: z.ZodObject<{
|
|
457
|
+
siteId: z.ZodString;
|
|
458
|
+
userId: z.ZodString;
|
|
459
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
460
|
+
requestedUrl: z.ZodURL;
|
|
461
|
+
catalogSiteId: z.ZodNumber;
|
|
462
|
+
warehouse: z.ZodString;
|
|
463
|
+
namespace: z.ZodString;
|
|
464
|
+
version: z.ZodNumber;
|
|
465
|
+
revision: z.ZodNumber;
|
|
466
|
+
catalogRevision: z.ZodNumber;
|
|
467
|
+
dataVersion: z.ZodNumber;
|
|
468
|
+
}, z.core.$strict>;
|
|
469
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
470
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
471
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
472
|
+
_tag: z.ZodLiteral<"verified">;
|
|
473
|
+
window: z.ZodObject<{
|
|
474
|
+
startDate: z.ZodISODate;
|
|
475
|
+
endDate: z.ZodISODate;
|
|
476
|
+
}, z.core.$strict>;
|
|
477
|
+
}, z.core.$strict>], "_tag">;
|
|
478
|
+
}, z.core.$strict>>;
|
|
431
479
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
432
480
|
readonly code: z.ZodEnum<{
|
|
433
481
|
missing_refresh_token: "missing_refresh_token";
|
package/dist/v1/browser.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { siteHoldReasonSchema } from "../entitlements.mjs";
|
|
2
2
|
import { accountNextActions, accountStatuses, analyticsNextActions, analyticsStatuses, indexingNextActions, indexingStatuses, lifecycleErrorCodes, propertyNextActions, propertyStatuses, querySourceModes, sitemapNextActions, sitemapStatuses } from "../onboarding.mjs";
|
|
3
3
|
import { GSC_SEARCH_TYPES } from "../search-types.mjs";
|
|
4
|
+
import { siteVersionIdentityResponseSchema } from "../site-version.mjs";
|
|
4
5
|
import "./version.mjs";
|
|
5
6
|
import { defineResponseObject, defineSuccessResponse } from "./http-core.mjs";
|
|
6
7
|
import { createRealtimeV1Schemas } from "./realtime.mjs";
|
|
@@ -85,6 +86,7 @@ function lifecycleResponseSchemas(ids) {
|
|
|
85
86
|
sitemaps: sitemaps.producer,
|
|
86
87
|
indexing: indexing.producer,
|
|
87
88
|
hold: siteHoldReasonSchema.nullable(),
|
|
89
|
+
registration: siteVersionIdentityResponseSchema.optional(),
|
|
88
90
|
latestError: latestError.producer.nullable(),
|
|
89
91
|
updatedAt: z.iso.datetime()
|
|
90
92
|
}, {
|
|
@@ -98,6 +100,7 @@ function lifecycleResponseSchemas(ids) {
|
|
|
98
100
|
sitemaps: sitemaps.client,
|
|
99
101
|
indexing: indexing.client,
|
|
100
102
|
hold: siteHoldReasonSchema.nullable().default(null),
|
|
103
|
+
registration: siteVersionIdentityResponseSchema.optional(),
|
|
101
104
|
latestError: latestError.client.nullable(),
|
|
102
105
|
updatedAt: z.iso.datetime()
|
|
103
106
|
});
|
|
@@ -232,8 +232,8 @@ export declare const googleSubmissionRefusalSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
232
232
|
}, z.core.$strip>, z.ZodObject<{
|
|
233
233
|
reason: z.ZodLiteral<"needs_indexing_api_grant">;
|
|
234
234
|
grant: z.ZodEnum<{
|
|
235
|
-
"reauthorization-required": "reauthorization-required";
|
|
236
235
|
missing: "missing";
|
|
236
|
+
"reauthorization-required": "reauthorization-required";
|
|
237
237
|
}>;
|
|
238
238
|
}, z.core.$strip>, z.ZodObject<{
|
|
239
239
|
reason: z.ZodLiteral<"url_outside_site">;
|
package/dist/v1/operations.d.mts
CHANGED
|
@@ -744,12 +744,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
744
744
|
readonly GOOGLE_NEWS: "googleNews";
|
|
745
745
|
}>>;
|
|
746
746
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
747
|
-
date: "date";
|
|
748
747
|
page: "page";
|
|
749
748
|
query: "query";
|
|
750
749
|
queryCanonical: "queryCanonical";
|
|
751
750
|
country: "country";
|
|
752
751
|
device: "device";
|
|
752
|
+
date: "date";
|
|
753
753
|
searchAppearance: "searchAppearance";
|
|
754
754
|
hour: "hour";
|
|
755
755
|
}>>;
|
|
@@ -764,12 +764,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
764
764
|
readonly GOOGLE_NEWS: "googleNews";
|
|
765
765
|
}>>;
|
|
766
766
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
767
|
-
date: "date";
|
|
768
767
|
page: "page";
|
|
769
768
|
query: "query";
|
|
770
769
|
queryCanonical: "queryCanonical";
|
|
771
770
|
country: "country";
|
|
772
771
|
device: "device";
|
|
772
|
+
date: "date";
|
|
773
773
|
searchAppearance: "searchAppearance";
|
|
774
774
|
hour: "hour";
|
|
775
775
|
}>>;
|
|
@@ -901,12 +901,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
901
901
|
readonly GOOGLE_NEWS: "googleNews";
|
|
902
902
|
}>>;
|
|
903
903
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
904
|
-
date: "date";
|
|
905
904
|
page: "page";
|
|
906
905
|
query: "query";
|
|
907
906
|
queryCanonical: "queryCanonical";
|
|
908
907
|
country: "country";
|
|
909
908
|
device: "device";
|
|
909
|
+
date: "date";
|
|
910
910
|
searchAppearance: "searchAppearance";
|
|
911
911
|
hour: "hour";
|
|
912
912
|
}>>;
|
|
@@ -921,12 +921,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
921
921
|
readonly GOOGLE_NEWS: "googleNews";
|
|
922
922
|
}>>;
|
|
923
923
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
924
|
-
date: "date";
|
|
925
924
|
page: "page";
|
|
926
925
|
query: "query";
|
|
927
926
|
queryCanonical: "queryCanonical";
|
|
928
927
|
country: "country";
|
|
929
928
|
device: "device";
|
|
929
|
+
date: "date";
|
|
930
930
|
searchAppearance: "searchAppearance";
|
|
931
931
|
hour: "hour";
|
|
932
932
|
}>>;
|
|
@@ -1038,12 +1038,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1038
1038
|
}, z.core.$strip>>;
|
|
1039
1039
|
analyticsRowsRequest: z.ZodObject<{
|
|
1040
1040
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1041
|
-
date: "date";
|
|
1042
1041
|
page: "page";
|
|
1043
1042
|
query: "query";
|
|
1044
1043
|
queryCanonical: "queryCanonical";
|
|
1045
1044
|
country: "country";
|
|
1046
1045
|
device: "device";
|
|
1046
|
+
date: "date";
|
|
1047
1047
|
searchAppearance: "searchAppearance";
|
|
1048
1048
|
hour: "hour";
|
|
1049
1049
|
}>>;
|
|
@@ -1315,8 +1315,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1315
1315
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1316
1316
|
error: "error";
|
|
1317
1317
|
syncing: "syncing";
|
|
1318
|
-
pending: "pending";
|
|
1319
1318
|
idle: "idle";
|
|
1319
|
+
pending: "pending";
|
|
1320
1320
|
partial: "partial";
|
|
1321
1321
|
synced: "synced";
|
|
1322
1322
|
}>>>;
|
|
@@ -1347,8 +1347,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1347
1347
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1348
1348
|
error: "error";
|
|
1349
1349
|
syncing: "syncing";
|
|
1350
|
-
pending: "pending";
|
|
1351
1350
|
idle: "idle";
|
|
1351
|
+
pending: "pending";
|
|
1352
1352
|
partial: "partial";
|
|
1353
1353
|
synced: "synced";
|
|
1354
1354
|
}>>>;
|
|
@@ -3853,6 +3853,30 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
3853
3853
|
size_unknown: "size_unknown";
|
|
3854
3854
|
size_pending: "size_pending";
|
|
3855
3855
|
}>>;
|
|
3856
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
3857
|
+
identity: z.ZodObject<{
|
|
3858
|
+
siteId: z.ZodString;
|
|
3859
|
+
userId: z.ZodString;
|
|
3860
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
3861
|
+
requestedUrl: z.ZodURL;
|
|
3862
|
+
catalogSiteId: z.ZodNumber;
|
|
3863
|
+
warehouse: z.ZodString;
|
|
3864
|
+
namespace: z.ZodString;
|
|
3865
|
+
version: z.ZodNumber;
|
|
3866
|
+
revision: z.ZodNumber;
|
|
3867
|
+
catalogRevision: z.ZodNumber;
|
|
3868
|
+
dataVersion: z.ZodNumber;
|
|
3869
|
+
}, z.core.$strict>;
|
|
3870
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3871
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
3872
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3873
|
+
_tag: z.ZodLiteral<"verified">;
|
|
3874
|
+
window: z.ZodObject<{
|
|
3875
|
+
startDate: z.ZodISODate;
|
|
3876
|
+
endDate: z.ZodISODate;
|
|
3877
|
+
}, z.core.$strict>;
|
|
3878
|
+
}, z.core.$strict>], "_tag">;
|
|
3879
|
+
}, z.core.$strict>>;
|
|
3856
3880
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
3857
3881
|
readonly code: z.ZodEnum<{
|
|
3858
3882
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -4015,6 +4039,30 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4015
4039
|
size_unknown: "size_unknown";
|
|
4016
4040
|
size_pending: "size_pending";
|
|
4017
4041
|
}>>>;
|
|
4042
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
4043
|
+
identity: z.ZodObject<{
|
|
4044
|
+
siteId: z.ZodString;
|
|
4045
|
+
userId: z.ZodString;
|
|
4046
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
4047
|
+
requestedUrl: z.ZodURL;
|
|
4048
|
+
catalogSiteId: z.ZodNumber;
|
|
4049
|
+
warehouse: z.ZodString;
|
|
4050
|
+
namespace: z.ZodString;
|
|
4051
|
+
version: z.ZodNumber;
|
|
4052
|
+
revision: z.ZodNumber;
|
|
4053
|
+
catalogRevision: z.ZodNumber;
|
|
4054
|
+
dataVersion: z.ZodNumber;
|
|
4055
|
+
}, z.core.$strict>;
|
|
4056
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4057
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
4058
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4059
|
+
_tag: z.ZodLiteral<"verified">;
|
|
4060
|
+
window: z.ZodObject<{
|
|
4061
|
+
startDate: z.ZodISODate;
|
|
4062
|
+
endDate: z.ZodISODate;
|
|
4063
|
+
}, z.core.$strict>;
|
|
4064
|
+
}, z.core.$strict>], "_tag">;
|
|
4065
|
+
}, z.core.$strict>>;
|
|
4018
4066
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
4019
4067
|
readonly code: z.ZodEnum<{
|
|
4020
4068
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -4124,11 +4172,11 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4124
4172
|
}, z.core.$strip>;
|
|
4125
4173
|
}, z.core.$strip>>;
|
|
4126
4174
|
registerSiteRequest: z.ZodObject<{
|
|
4127
|
-
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
4128
4175
|
requestedUrl: z.ZodOptional<z.ZodString>;
|
|
4176
|
+
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
4177
|
+
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
4129
4178
|
gscPropertyUrl: z.ZodOptional<z.ZodString>;
|
|
4130
4179
|
siteUrl: z.ZodString;
|
|
4131
|
-
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
4132
4180
|
externalSiteUrl: z.ZodOptional<z.ZodString>;
|
|
4133
4181
|
webhookUrl: z.ZodOptional<z.ZodURL>;
|
|
4134
4182
|
webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -4459,8 +4507,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4459
4507
|
status: z.ZodEnum<{
|
|
4460
4508
|
error: "error";
|
|
4461
4509
|
syncing: "syncing";
|
|
4462
|
-
pending: "pending";
|
|
4463
4510
|
idle: "idle";
|
|
4511
|
+
pending: "pending";
|
|
4464
4512
|
partial: "partial";
|
|
4465
4513
|
synced: "synced";
|
|
4466
4514
|
}>;
|
|
@@ -4623,8 +4671,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4623
4671
|
status: z.ZodEnum<{
|
|
4624
4672
|
error: "error";
|
|
4625
4673
|
syncing: "syncing";
|
|
4626
|
-
pending: "pending";
|
|
4627
4674
|
idle: "idle";
|
|
4675
|
+
pending: "pending";
|
|
4628
4676
|
partial: "partial";
|
|
4629
4677
|
synced: "synced";
|
|
4630
4678
|
}>;
|
|
@@ -4889,8 +4937,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4889
4937
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4890
4938
|
error: "error";
|
|
4891
4939
|
syncing: "syncing";
|
|
4892
|
-
pending: "pending";
|
|
4893
4940
|
idle: "idle";
|
|
4941
|
+
pending: "pending";
|
|
4894
4942
|
partial: "partial";
|
|
4895
4943
|
synced: "synced";
|
|
4896
4944
|
}>>>;
|
|
@@ -4923,8 +4971,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4923
4971
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4924
4972
|
error: "error";
|
|
4925
4973
|
syncing: "syncing";
|
|
4926
|
-
pending: "pending";
|
|
4927
4974
|
idle: "idle";
|
|
4975
|
+
pending: "pending";
|
|
4928
4976
|
partial: "partial";
|
|
4929
4977
|
synced: "synced";
|
|
4930
4978
|
}>>>;
|
|
@@ -5115,6 +5163,30 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5115
5163
|
size_unknown: "size_unknown";
|
|
5116
5164
|
size_pending: "size_pending";
|
|
5117
5165
|
}>>;
|
|
5166
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
5167
|
+
identity: z.ZodObject<{
|
|
5168
|
+
siteId: z.ZodString;
|
|
5169
|
+
userId: z.ZodString;
|
|
5170
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
5171
|
+
requestedUrl: z.ZodURL;
|
|
5172
|
+
catalogSiteId: z.ZodNumber;
|
|
5173
|
+
warehouse: z.ZodString;
|
|
5174
|
+
namespace: z.ZodString;
|
|
5175
|
+
version: z.ZodNumber;
|
|
5176
|
+
revision: z.ZodNumber;
|
|
5177
|
+
catalogRevision: z.ZodNumber;
|
|
5178
|
+
dataVersion: z.ZodNumber;
|
|
5179
|
+
}, z.core.$strict>;
|
|
5180
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5181
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
5182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5183
|
+
_tag: z.ZodLiteral<"verified">;
|
|
5184
|
+
window: z.ZodObject<{
|
|
5185
|
+
startDate: z.ZodISODate;
|
|
5186
|
+
endDate: z.ZodISODate;
|
|
5187
|
+
}, z.core.$strict>;
|
|
5188
|
+
}, z.core.$strict>], "_tag">;
|
|
5189
|
+
}, z.core.$strict>>;
|
|
5118
5190
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
5119
5191
|
readonly code: z.ZodEnum<{
|
|
5120
5192
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -5277,6 +5349,30 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5277
5349
|
size_unknown: "size_unknown";
|
|
5278
5350
|
size_pending: "size_pending";
|
|
5279
5351
|
}>>>;
|
|
5352
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
5353
|
+
identity: z.ZodObject<{
|
|
5354
|
+
siteId: z.ZodString;
|
|
5355
|
+
userId: z.ZodString;
|
|
5356
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
5357
|
+
requestedUrl: z.ZodURL;
|
|
5358
|
+
catalogSiteId: z.ZodNumber;
|
|
5359
|
+
warehouse: z.ZodString;
|
|
5360
|
+
namespace: z.ZodString;
|
|
5361
|
+
version: z.ZodNumber;
|
|
5362
|
+
revision: z.ZodNumber;
|
|
5363
|
+
catalogRevision: z.ZodNumber;
|
|
5364
|
+
dataVersion: z.ZodNumber;
|
|
5365
|
+
}, z.core.$strict>;
|
|
5366
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5367
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
5368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5369
|
+
_tag: z.ZodLiteral<"verified">;
|
|
5370
|
+
window: z.ZodObject<{
|
|
5371
|
+
startDate: z.ZodISODate;
|
|
5372
|
+
endDate: z.ZodISODate;
|
|
5373
|
+
}, z.core.$strict>;
|
|
5374
|
+
}, z.core.$strict>], "_tag">;
|
|
5375
|
+
}, z.core.$strict>>;
|
|
5280
5376
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
5281
5377
|
readonly code: z.ZodEnum<{
|
|
5282
5378
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -5354,7 +5450,7 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5354
5450
|
};
|
|
5355
5451
|
readonly docs: {
|
|
5356
5452
|
readonly summary: "Get user lifecycle";
|
|
5357
|
-
readonly description: "Returns the authoritative lifecycle state for one visible user and their sites.";
|
|
5453
|
+
readonly description: "Returns the authoritative lifecycle state for one visible user and their sites. A partner key read also carries the registered-host registration of each Site that gscdump can serve.";
|
|
5358
5454
|
readonly tags: readonly ["Users"];
|
|
5359
5455
|
readonly examples: {
|
|
5360
5456
|
readonly request: {
|
|
@@ -5638,8 +5734,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5638
5734
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5639
5735
|
error: "error";
|
|
5640
5736
|
syncing: "syncing";
|
|
5641
|
-
pending: "pending";
|
|
5642
5737
|
idle: "idle";
|
|
5738
|
+
pending: "pending";
|
|
5643
5739
|
partial: "partial";
|
|
5644
5740
|
synced: "synced";
|
|
5645
5741
|
}>>>;
|
|
@@ -5670,8 +5766,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5670
5766
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5671
5767
|
error: "error";
|
|
5672
5768
|
syncing: "syncing";
|
|
5673
|
-
pending: "pending";
|
|
5674
5769
|
idle: "idle";
|
|
5770
|
+
pending: "pending";
|
|
5675
5771
|
partial: "partial";
|
|
5676
5772
|
synced: "synced";
|
|
5677
5773
|
}>>>;
|
|
@@ -5796,11 +5892,11 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5796
5892
|
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
5797
5893
|
}, z.core.$strict>;
|
|
5798
5894
|
readonly body: z.ZodObject<{
|
|
5799
|
-
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
5800
5895
|
requestedUrl: z.ZodOptional<z.ZodString>;
|
|
5896
|
+
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
5897
|
+
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
5801
5898
|
gscPropertyUrl: z.ZodOptional<z.ZodString>;
|
|
5802
5899
|
siteUrl: z.ZodString;
|
|
5803
|
-
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
5804
5900
|
externalSiteUrl: z.ZodOptional<z.ZodString>;
|
|
5805
5901
|
webhookUrl: z.ZodOptional<z.ZodURL>;
|
|
5806
5902
|
webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -5831,8 +5927,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5831
5927
|
status: z.ZodEnum<{
|
|
5832
5928
|
error: "error";
|
|
5833
5929
|
syncing: "syncing";
|
|
5834
|
-
pending: "pending";
|
|
5835
5930
|
idle: "idle";
|
|
5931
|
+
pending: "pending";
|
|
5836
5932
|
partial: "partial";
|
|
5837
5933
|
synced: "synced";
|
|
5838
5934
|
}>;
|
|
@@ -5995,8 +6091,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5995
6091
|
status: z.ZodEnum<{
|
|
5996
6092
|
error: "error";
|
|
5997
6093
|
syncing: "syncing";
|
|
5998
|
-
pending: "pending";
|
|
5999
6094
|
idle: "idle";
|
|
6095
|
+
pending: "pending";
|
|
6000
6096
|
partial: "partial";
|
|
6001
6097
|
synced: "synced";
|
|
6002
6098
|
}>;
|
|
@@ -6414,8 +6510,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6414
6510
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6415
6511
|
error: "error";
|
|
6416
6512
|
syncing: "syncing";
|
|
6417
|
-
pending: "pending";
|
|
6418
6513
|
idle: "idle";
|
|
6514
|
+
pending: "pending";
|
|
6419
6515
|
partial: "partial";
|
|
6420
6516
|
synced: "synced";
|
|
6421
6517
|
}>>>;
|
|
@@ -6448,8 +6544,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6448
6544
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6449
6545
|
error: "error";
|
|
6450
6546
|
syncing: "syncing";
|
|
6451
|
-
pending: "pending";
|
|
6452
6547
|
idle: "idle";
|
|
6548
|
+
pending: "pending";
|
|
6453
6549
|
partial: "partial";
|
|
6454
6550
|
synced: "synced";
|
|
6455
6551
|
}>>>;
|
|
@@ -13772,8 +13868,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13772
13868
|
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
13773
13869
|
url: z.ZodString;
|
|
13774
13870
|
reason: z.ZodEnum<{
|
|
13775
|
-
rate_limited: "rate_limited";
|
|
13776
13871
|
domain_mismatch: "domain_mismatch";
|
|
13872
|
+
rate_limited: "rate_limited";
|
|
13777
13873
|
}>;
|
|
13778
13874
|
}, z.core.$strict>>;
|
|
13779
13875
|
}, z.core.$strip>;
|
|
@@ -13824,8 +13920,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13824
13920
|
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
13825
13921
|
url: z.ZodString;
|
|
13826
13922
|
reason: z.ZodEnum<{
|
|
13827
|
-
rate_limited: "rate_limited";
|
|
13828
13923
|
domain_mismatch: "domain_mismatch";
|
|
13924
|
+
rate_limited: "rate_limited";
|
|
13829
13925
|
}>;
|
|
13830
13926
|
}, z.core.$strict>>;
|
|
13831
13927
|
}, z.core.$strip>;
|
|
@@ -22728,12 +22824,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22728
22824
|
}, z.core.$strict>;
|
|
22729
22825
|
readonly body: z.ZodObject<{
|
|
22730
22826
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22731
|
-
date: "date";
|
|
22732
22827
|
page: "page";
|
|
22733
22828
|
query: "query";
|
|
22734
22829
|
queryCanonical: "queryCanonical";
|
|
22735
22830
|
country: "country";
|
|
22736
22831
|
device: "device";
|
|
22832
|
+
date: "date";
|
|
22737
22833
|
searchAppearance: "searchAppearance";
|
|
22738
22834
|
hour: "hour";
|
|
22739
22835
|
}>>;
|
|
@@ -22931,12 +23027,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22931
23027
|
readonly GOOGLE_NEWS: "googleNews";
|
|
22932
23028
|
}>>;
|
|
22933
23029
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22934
|
-
date: "date";
|
|
22935
23030
|
page: "page";
|
|
22936
23031
|
query: "query";
|
|
22937
23032
|
queryCanonical: "queryCanonical";
|
|
22938
23033
|
country: "country";
|
|
22939
23034
|
device: "device";
|
|
23035
|
+
date: "date";
|
|
22940
23036
|
searchAppearance: "searchAppearance";
|
|
22941
23037
|
hour: "hour";
|
|
22942
23038
|
}>>;
|
|
@@ -22951,12 +23047,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22951
23047
|
readonly GOOGLE_NEWS: "googleNews";
|
|
22952
23048
|
}>>;
|
|
22953
23049
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22954
|
-
date: "date";
|
|
22955
23050
|
page: "page";
|
|
22956
23051
|
query: "query";
|
|
22957
23052
|
queryCanonical: "queryCanonical";
|
|
22958
23053
|
country: "country";
|
|
22959
23054
|
device: "device";
|
|
23055
|
+
date: "date";
|
|
22960
23056
|
searchAppearance: "searchAppearance";
|
|
22961
23057
|
hour: "hour";
|
|
22962
23058
|
}>>;
|
|
@@ -23201,12 +23297,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
23201
23297
|
readonly GOOGLE_NEWS: "googleNews";
|
|
23202
23298
|
}>>;
|
|
23203
23299
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
23204
|
-
date: "date";
|
|
23205
23300
|
page: "page";
|
|
23206
23301
|
query: "query";
|
|
23207
23302
|
queryCanonical: "queryCanonical";
|
|
23208
23303
|
country: "country";
|
|
23209
23304
|
device: "device";
|
|
23305
|
+
date: "date";
|
|
23210
23306
|
searchAppearance: "searchAppearance";
|
|
23211
23307
|
hour: "hour";
|
|
23212
23308
|
}>>;
|
|
@@ -23221,12 +23317,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
23221
23317
|
readonly GOOGLE_NEWS: "googleNews";
|
|
23222
23318
|
}>>;
|
|
23223
23319
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
23224
|
-
date: "date";
|
|
23225
23320
|
page: "page";
|
|
23226
23321
|
query: "query";
|
|
23227
23322
|
queryCanonical: "queryCanonical";
|
|
23228
23323
|
country: "country";
|
|
23229
23324
|
device: "device";
|
|
23325
|
+
date: "date";
|
|
23230
23326
|
searchAppearance: "searchAppearance";
|
|
23231
23327
|
hour: "hour";
|
|
23232
23328
|
}>>;
|
package/dist/v1/operations.mjs
CHANGED
|
@@ -923,7 +923,7 @@ function createGscdumpV1Protocol() {
|
|
|
923
923
|
lifecycle: { introduced: "1.0.0" },
|
|
924
924
|
docs: {
|
|
925
925
|
summary: "Get user lifecycle",
|
|
926
|
-
description: "Returns the authoritative lifecycle state for one visible user and their sites.",
|
|
926
|
+
description: "Returns the authoritative lifecycle state for one visible user and their sites. A partner key read also carries the registered-host registration of each Site that gscdump can serve.",
|
|
927
927
|
tags: ["Users"],
|
|
928
928
|
examples: {
|
|
929
929
|
request: { params: { userId: "u_01" } },
|