@gscdump/contracts 5.5.0 → 5.6.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/partner.d.mts +2 -1
- package/dist/partner.mjs +2 -1
- package/dist/schemas.d.mts +3 -3
- package/dist/site-version.d.mts +380 -0
- package/dist/site-version.mjs +102 -0
- package/dist/v1/browser.d.mts +1 -1
- package/dist/v1/http-core.d.mts +1 -1
- package/dist/v1/http-core.mjs +2 -0
- package/dist/v1/operations.d.mts +3206 -215
- package/dist/v1/operations.mjs +473 -0
- package/dist/v1/route-catalog.d.mts +35 -0
- package/dist/v1/route-catalog.mjs +35 -0
- package/package.json +1 -1
package/dist/v1/operations.d.mts
CHANGED
|
@@ -700,6 +700,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
700
700
|
api_key_not_found: "api_key_not_found";
|
|
701
701
|
api_key_limit_reached: "api_key_limit_reached";
|
|
702
702
|
rate_limited: "rate_limited";
|
|
703
|
+
conflict: "conflict";
|
|
704
|
+
service_unavailable: "service_unavailable";
|
|
703
705
|
realtime_unavailable: "realtime_unavailable";
|
|
704
706
|
contract_violation: "contract_violation";
|
|
705
707
|
}>;
|
|
@@ -720,6 +722,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
720
722
|
api_key_not_found: "api_key_not_found";
|
|
721
723
|
api_key_limit_reached: "api_key_limit_reached";
|
|
722
724
|
rate_limited: "rate_limited";
|
|
725
|
+
conflict: "conflict";
|
|
726
|
+
service_unavailable: "service_unavailable";
|
|
723
727
|
realtime_unavailable: "realtime_unavailable";
|
|
724
728
|
contract_violation: "contract_violation";
|
|
725
729
|
}>;
|
|
@@ -740,12 +744,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
740
744
|
readonly GOOGLE_NEWS: "googleNews";
|
|
741
745
|
}>>;
|
|
742
746
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
743
|
-
date: "date";
|
|
744
747
|
page: "page";
|
|
745
748
|
query: "query";
|
|
746
749
|
queryCanonical: "queryCanonical";
|
|
747
750
|
country: "country";
|
|
748
751
|
device: "device";
|
|
752
|
+
date: "date";
|
|
749
753
|
searchAppearance: "searchAppearance";
|
|
750
754
|
hour: "hour";
|
|
751
755
|
}>>;
|
|
@@ -760,12 +764,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
760
764
|
readonly GOOGLE_NEWS: "googleNews";
|
|
761
765
|
}>>;
|
|
762
766
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
763
|
-
date: "date";
|
|
764
767
|
page: "page";
|
|
765
768
|
query: "query";
|
|
766
769
|
queryCanonical: "queryCanonical";
|
|
767
770
|
country: "country";
|
|
768
771
|
device: "device";
|
|
772
|
+
date: "date";
|
|
769
773
|
searchAppearance: "searchAppearance";
|
|
770
774
|
hour: "hour";
|
|
771
775
|
}>>;
|
|
@@ -897,12 +901,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
897
901
|
readonly GOOGLE_NEWS: "googleNews";
|
|
898
902
|
}>>;
|
|
899
903
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
900
|
-
date: "date";
|
|
901
904
|
page: "page";
|
|
902
905
|
query: "query";
|
|
903
906
|
queryCanonical: "queryCanonical";
|
|
904
907
|
country: "country";
|
|
905
908
|
device: "device";
|
|
909
|
+
date: "date";
|
|
906
910
|
searchAppearance: "searchAppearance";
|
|
907
911
|
hour: "hour";
|
|
908
912
|
}>>;
|
|
@@ -917,12 +921,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
917
921
|
readonly GOOGLE_NEWS: "googleNews";
|
|
918
922
|
}>>;
|
|
919
923
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
920
|
-
date: "date";
|
|
921
924
|
page: "page";
|
|
922
925
|
query: "query";
|
|
923
926
|
queryCanonical: "queryCanonical";
|
|
924
927
|
country: "country";
|
|
925
928
|
device: "device";
|
|
929
|
+
date: "date";
|
|
926
930
|
searchAppearance: "searchAppearance";
|
|
927
931
|
hour: "hour";
|
|
928
932
|
}>>;
|
|
@@ -1025,12 +1029,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1025
1029
|
}, z.core.$strip>>;
|
|
1026
1030
|
analyticsRowsRequest: z.ZodObject<{
|
|
1027
1031
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1028
|
-
date: "date";
|
|
1029
1032
|
page: "page";
|
|
1030
1033
|
query: "query";
|
|
1031
1034
|
queryCanonical: "queryCanonical";
|
|
1032
1035
|
country: "country";
|
|
1033
1036
|
device: "device";
|
|
1037
|
+
date: "date";
|
|
1034
1038
|
searchAppearance: "searchAppearance";
|
|
1035
1039
|
hour: "hour";
|
|
1036
1040
|
}>>;
|
|
@@ -13177,8 +13181,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13177
13181
|
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
13178
13182
|
url: z.ZodString;
|
|
13179
13183
|
reason: z.ZodEnum<{
|
|
13180
|
-
domain_mismatch: "domain_mismatch";
|
|
13181
13184
|
rate_limited: "rate_limited";
|
|
13185
|
+
domain_mismatch: "domain_mismatch";
|
|
13182
13186
|
}>;
|
|
13183
13187
|
}, z.core.$strict>>;
|
|
13184
13188
|
}, z.core.$strip>;
|
|
@@ -13229,8 +13233,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13229
13233
|
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
13230
13234
|
url: z.ZodString;
|
|
13231
13235
|
reason: z.ZodEnum<{
|
|
13232
|
-
domain_mismatch: "domain_mismatch";
|
|
13233
13236
|
rate_limited: "rate_limited";
|
|
13237
|
+
domain_mismatch: "domain_mismatch";
|
|
13234
13238
|
}>;
|
|
13235
13239
|
}, z.core.$strict>>;
|
|
13236
13240
|
}, z.core.$strip>;
|
|
@@ -19114,9 +19118,7 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19114
19118
|
readonly method: "DELETE";
|
|
19115
19119
|
readonly path: "/users/{userId}/api-keys/{keyId}";
|
|
19116
19120
|
};
|
|
19117
|
-
|
|
19118
|
-
analytics: HttpV1Surface<{
|
|
19119
|
-
readonly queryRows: {
|
|
19121
|
+
readonly getRegisteredHostIdentity: {
|
|
19120
19122
|
readonly visibility: "public";
|
|
19121
19123
|
readonly semantics: {
|
|
19122
19124
|
readonly kind: "query";
|
|
@@ -19126,12 +19128,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19126
19128
|
readonly readConsistency: "primary";
|
|
19127
19129
|
};
|
|
19128
19130
|
readonly auth: {
|
|
19129
|
-
readonly credentials: readonly ["
|
|
19130
|
-
readonly scopes: readonly ["
|
|
19131
|
+
readonly credentials: readonly ["partner_key"];
|
|
19132
|
+
readonly scopes: readonly ["sites:read"];
|
|
19131
19133
|
readonly ownership: readonly [{
|
|
19132
|
-
readonly credential: "user_key";
|
|
19133
|
-
readonly rule: "authorized_site";
|
|
19134
|
-
}, {
|
|
19135
19134
|
readonly credential: "partner_key";
|
|
19136
19135
|
readonly rule: "authorized_site";
|
|
19137
19136
|
}];
|
|
@@ -19144,95 +19143,72 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19144
19143
|
readonly headers: z.ZodObject<{
|
|
19145
19144
|
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
19146
19145
|
}, z.core.$strict>;
|
|
19147
|
-
readonly body:
|
|
19148
|
-
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19149
|
-
date: "date";
|
|
19150
|
-
page: "page";
|
|
19151
|
-
query: "query";
|
|
19152
|
-
queryCanonical: "queryCanonical";
|
|
19153
|
-
country: "country";
|
|
19154
|
-
device: "device";
|
|
19155
|
-
searchAppearance: "searchAppearance";
|
|
19156
|
-
hour: "hour";
|
|
19157
|
-
}>>;
|
|
19158
|
-
metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19159
|
-
clicks: "clicks";
|
|
19160
|
-
impressions: "impressions";
|
|
19161
|
-
ctr: "ctr";
|
|
19162
|
-
position: "position";
|
|
19163
|
-
}>>>;
|
|
19164
|
-
filter: z.ZodOptional<z.ZodType<NormalizedFilterV1, NormalizedFilterV1, z.core.$ZodTypeInternals<NormalizedFilterV1, NormalizedFilterV1>>>;
|
|
19165
|
-
prefilter: z.ZodOptional<z.ZodType<NormalizedFilterV1, NormalizedFilterV1, z.core.$ZodTypeInternals<NormalizedFilterV1, NormalizedFilterV1>>>;
|
|
19166
|
-
orderBy: z.ZodOptional<z.ZodObject<{
|
|
19167
|
-
column: z.ZodEnum<{
|
|
19168
|
-
date: "date";
|
|
19169
|
-
clicks: "clicks";
|
|
19170
|
-
impressions: "impressions";
|
|
19171
|
-
ctr: "ctr";
|
|
19172
|
-
position: "position";
|
|
19173
|
-
}>;
|
|
19174
|
-
dir: z.ZodEnum<{
|
|
19175
|
-
asc: "asc";
|
|
19176
|
-
desc: "desc";
|
|
19177
|
-
}>;
|
|
19178
|
-
}, z.core.$strict>>;
|
|
19179
|
-
rowLimit: z.ZodOptional<z.ZodNumber>;
|
|
19180
|
-
startRow: z.ZodOptional<z.ZodNumber>;
|
|
19181
|
-
dataState: z.ZodOptional<z.ZodEnum<{
|
|
19182
|
-
final: "final";
|
|
19183
|
-
all: "all";
|
|
19184
|
-
hourly_all: "hourly_all";
|
|
19185
|
-
}>>;
|
|
19186
|
-
aggregationType: z.ZodOptional<z.ZodEnum<{
|
|
19187
|
-
auto: "auto";
|
|
19188
|
-
byPage: "byPage";
|
|
19189
|
-
byProperty: "byProperty";
|
|
19190
|
-
byNewsShowcasePanel: "byNewsShowcasePanel";
|
|
19191
|
-
}>>;
|
|
19192
|
-
searchType: z.ZodOptional<z.ZodEnum<{
|
|
19193
|
-
readonly WEB: "web";
|
|
19194
|
-
readonly IMAGE: "image";
|
|
19195
|
-
readonly VIDEO: "video";
|
|
19196
|
-
readonly NEWS: "news";
|
|
19197
|
-
readonly DISCOVER: "discover";
|
|
19198
|
-
readonly GOOGLE_NEWS: "googleNews";
|
|
19199
|
-
}>>;
|
|
19200
|
-
}, z.core.$strict>;
|
|
19146
|
+
readonly body: null;
|
|
19201
19147
|
};
|
|
19202
19148
|
readonly responses: {
|
|
19203
19149
|
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
19204
19150
|
data: z.ZodObject<{
|
|
19205
|
-
|
|
19206
|
-
|
|
19151
|
+
identity: z.ZodObject<{
|
|
19152
|
+
siteId: z.ZodString;
|
|
19153
|
+
userId: z.ZodString;
|
|
19154
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
19155
|
+
requestedUrl: z.ZodURL;
|
|
19156
|
+
catalogSiteId: z.ZodNumber;
|
|
19157
|
+
warehouse: z.ZodString;
|
|
19158
|
+
namespace: z.ZodString;
|
|
19159
|
+
version: z.ZodNumber;
|
|
19160
|
+
revision: z.ZodNumber;
|
|
19161
|
+
catalogRevision: z.ZodNumber;
|
|
19162
|
+
dataVersion: z.ZodNumber;
|
|
19163
|
+
}, z.core.$strict>;
|
|
19164
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19165
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
19166
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19167
|
+
_tag: z.ZodLiteral<"verified">;
|
|
19168
|
+
window: z.ZodObject<{
|
|
19169
|
+
startDate: z.ZodISODate;
|
|
19170
|
+
endDate: z.ZodISODate;
|
|
19171
|
+
}, z.core.$strict>;
|
|
19172
|
+
}, z.core.$strict>], "_tag">;
|
|
19173
|
+
}, z.core.$strict>;
|
|
19207
19174
|
meta: z.ZodObject<{
|
|
19208
19175
|
readonly requestId: z.ZodString;
|
|
19209
|
-
readonly surface: z.ZodLiteral<"
|
|
19176
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
19210
19177
|
readonly version: z.ZodLiteral<"1.0">;
|
|
19211
|
-
readonly sourceName: z.ZodString;
|
|
19212
|
-
readonly sourceKind: z.ZodEnum<{
|
|
19213
|
-
row: "row";
|
|
19214
|
-
sql: "sql";
|
|
19215
|
-
}>;
|
|
19216
|
-
readonly queryMs: z.ZodNumber;
|
|
19217
19178
|
}, z.core.$strip>;
|
|
19218
19179
|
}, z.core.$strip>, z.ZodObject<{
|
|
19219
19180
|
data: z.ZodObject<{
|
|
19220
|
-
|
|
19221
|
-
|
|
19181
|
+
identity: z.ZodObject<{
|
|
19182
|
+
siteId: z.ZodString;
|
|
19183
|
+
userId: z.ZodString;
|
|
19184
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
19185
|
+
requestedUrl: z.ZodURL;
|
|
19186
|
+
catalogSiteId: z.ZodNumber;
|
|
19187
|
+
warehouse: z.ZodString;
|
|
19188
|
+
namespace: z.ZodString;
|
|
19189
|
+
version: z.ZodNumber;
|
|
19190
|
+
revision: z.ZodNumber;
|
|
19191
|
+
catalogRevision: z.ZodNumber;
|
|
19192
|
+
dataVersion: z.ZodNumber;
|
|
19193
|
+
}, z.core.$strict>;
|
|
19194
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19195
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
19196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19197
|
+
_tag: z.ZodLiteral<"verified">;
|
|
19198
|
+
window: z.ZodObject<{
|
|
19199
|
+
startDate: z.ZodISODate;
|
|
19200
|
+
endDate: z.ZodISODate;
|
|
19201
|
+
}, z.core.$strict>;
|
|
19202
|
+
}, z.core.$strict>], "_tag">;
|
|
19203
|
+
}, z.core.$strict>;
|
|
19222
19204
|
meta: z.ZodObject<{
|
|
19223
19205
|
readonly requestId: z.ZodString;
|
|
19224
|
-
readonly surface: z.ZodLiteral<"
|
|
19206
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
19225
19207
|
readonly version: z.ZodLiteral<"1.0">;
|
|
19226
|
-
readonly sourceName: z.ZodString;
|
|
19227
|
-
readonly sourceKind: z.ZodEnum<{
|
|
19228
|
-
row: "row";
|
|
19229
|
-
sql: "sql";
|
|
19230
|
-
}>;
|
|
19231
|
-
readonly queryMs: z.ZodNumber;
|
|
19232
19208
|
}, z.core.$strip>;
|
|
19233
19209
|
}, z.core.$strip>>;
|
|
19234
19210
|
};
|
|
19235
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
19211
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation", "conflict", "service_unavailable"];
|
|
19236
19212
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
19237
19213
|
readonly error: z.ZodObject<{
|
|
19238
19214
|
code: z.ZodEnum<{
|
|
@@ -19242,6 +19218,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19242
19218
|
forbidden: "forbidden";
|
|
19243
19219
|
site_not_found: "site_not_found";
|
|
19244
19220
|
rate_limited: "rate_limited";
|
|
19221
|
+
conflict: "conflict";
|
|
19222
|
+
service_unavailable: "service_unavailable";
|
|
19245
19223
|
contract_violation: "contract_violation";
|
|
19246
19224
|
}>;
|
|
19247
19225
|
message: z.ZodString;
|
|
@@ -19258,6 +19236,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19258
19236
|
forbidden: "forbidden";
|
|
19259
19237
|
site_not_found: "site_not_found";
|
|
19260
19238
|
rate_limited: "rate_limited";
|
|
19239
|
+
conflict: "conflict";
|
|
19240
|
+
service_unavailable: "service_unavailable";
|
|
19261
19241
|
contract_violation: "contract_violation";
|
|
19262
19242
|
}>;
|
|
19263
19243
|
message: z.ZodString;
|
|
@@ -19268,49 +19248,56 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19268
19248
|
}, z.core.$strip>>;
|
|
19269
19249
|
readonly resources: {
|
|
19270
19250
|
readonly reads: readonly [{
|
|
19271
|
-
readonly type: "site.
|
|
19251
|
+
readonly type: "site.registration";
|
|
19272
19252
|
readonly idFrom: "params.siteId";
|
|
19273
19253
|
}];
|
|
19274
19254
|
readonly changes: readonly [];
|
|
19275
19255
|
};
|
|
19276
19256
|
readonly lifecycle: {
|
|
19277
|
-
readonly introduced: "
|
|
19257
|
+
readonly introduced: "5.6.0";
|
|
19278
19258
|
};
|
|
19279
19259
|
readonly docs: {
|
|
19280
|
-
readonly summary: "
|
|
19281
|
-
readonly description: "
|
|
19282
|
-
readonly tags: readonly ["
|
|
19260
|
+
readonly summary: "Get registered host identity";
|
|
19261
|
+
readonly description: "Returns the authorized Site version and its effective Team Catalog binding.";
|
|
19262
|
+
readonly tags: readonly ["Sites"];
|
|
19283
19263
|
readonly examples: {
|
|
19284
19264
|
readonly request: {
|
|
19285
19265
|
readonly params: {
|
|
19286
19266
|
readonly siteId: "s_01";
|
|
19287
19267
|
};
|
|
19288
|
-
readonly body: {
|
|
19289
|
-
readonly dimensions: readonly ["query"];
|
|
19290
|
-
readonly metrics: readonly ["clicks", "impressions"];
|
|
19291
|
-
readonly rowLimit: 100;
|
|
19292
|
-
};
|
|
19293
19268
|
};
|
|
19294
19269
|
readonly response: {
|
|
19295
19270
|
readonly data: {
|
|
19296
|
-
readonly
|
|
19271
|
+
readonly identity: {
|
|
19272
|
+
siteId: string;
|
|
19273
|
+
userId: string;
|
|
19274
|
+
teamId: string;
|
|
19275
|
+
requestedUrl: string;
|
|
19276
|
+
catalogSiteId: number;
|
|
19277
|
+
warehouse: string;
|
|
19278
|
+
namespace: string;
|
|
19279
|
+
version: number;
|
|
19280
|
+
revision: number;
|
|
19281
|
+
catalogRevision: number;
|
|
19282
|
+
dataVersion: number;
|
|
19283
|
+
};
|
|
19284
|
+
readonly coverage: {
|
|
19285
|
+
readonly _tag: "legacy";
|
|
19286
|
+
};
|
|
19297
19287
|
};
|
|
19298
19288
|
readonly meta: {
|
|
19299
|
-
|
|
19300
|
-
|
|
19301
|
-
|
|
19302
|
-
readonly sourceName: "primary";
|
|
19303
|
-
readonly sourceKind: "sql";
|
|
19304
|
-
readonly queryMs: 12;
|
|
19289
|
+
requestId: string;
|
|
19290
|
+
surface: string;
|
|
19291
|
+
version: string;
|
|
19305
19292
|
};
|
|
19306
19293
|
};
|
|
19307
19294
|
};
|
|
19308
19295
|
};
|
|
19309
|
-
readonly id: "
|
|
19310
|
-
readonly method: "
|
|
19311
|
-
readonly path: "/sites/{siteId}/
|
|
19296
|
+
readonly id: "partner.sites.registered_host.identity.get";
|
|
19297
|
+
readonly method: "GET";
|
|
19298
|
+
readonly path: "/sites/{siteId}/registered-host";
|
|
19312
19299
|
};
|
|
19313
|
-
readonly
|
|
19300
|
+
readonly previewRegisteredHost: {
|
|
19314
19301
|
readonly visibility: "public";
|
|
19315
19302
|
readonly semantics: {
|
|
19316
19303
|
readonly kind: "query";
|
|
@@ -19320,12 +19307,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19320
19307
|
readonly readConsistency: "primary";
|
|
19321
19308
|
};
|
|
19322
19309
|
readonly auth: {
|
|
19323
|
-
readonly credentials: readonly ["
|
|
19324
|
-
readonly scopes: readonly ["
|
|
19310
|
+
readonly credentials: readonly ["partner_key"];
|
|
19311
|
+
readonly scopes: readonly ["sites:read"];
|
|
19325
19312
|
readonly ownership: readonly [{
|
|
19326
|
-
readonly credential: "user_key";
|
|
19327
|
-
readonly rule: "authorized_site";
|
|
19328
|
-
}, {
|
|
19329
19313
|
readonly credential: "partner_key";
|
|
19330
19314
|
readonly rule: "authorized_site";
|
|
19331
19315
|
}];
|
|
@@ -19339,114 +19323,3121 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19339
19323
|
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
19340
19324
|
}, z.core.$strict>;
|
|
19341
19325
|
readonly body: z.ZodObject<{
|
|
19342
|
-
|
|
19343
|
-
|
|
19344
|
-
|
|
19345
|
-
|
|
19346
|
-
|
|
19347
|
-
|
|
19348
|
-
readonly DISCOVER: "discover";
|
|
19349
|
-
readonly GOOGLE_NEWS: "googleNews";
|
|
19350
|
-
}>>;
|
|
19351
|
-
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19352
|
-
date: "date";
|
|
19353
|
-
page: "page";
|
|
19354
|
-
query: "query";
|
|
19355
|
-
queryCanonical: "queryCanonical";
|
|
19356
|
-
country: "country";
|
|
19357
|
-
device: "device";
|
|
19358
|
-
searchAppearance: "searchAppearance";
|
|
19359
|
-
hour: "hour";
|
|
19360
|
-
}>>;
|
|
19361
|
-
}, z.core.$loose>;
|
|
19362
|
-
comparison: z.ZodOptional<z.ZodObject<{
|
|
19363
|
-
searchType: z.ZodOptional<z.ZodEnum<{
|
|
19364
|
-
readonly WEB: "web";
|
|
19365
|
-
readonly IMAGE: "image";
|
|
19366
|
-
readonly VIDEO: "video";
|
|
19367
|
-
readonly NEWS: "news";
|
|
19368
|
-
readonly DISCOVER: "discover";
|
|
19369
|
-
readonly GOOGLE_NEWS: "googleNews";
|
|
19370
|
-
}>>;
|
|
19371
|
-
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19372
|
-
date: "date";
|
|
19373
|
-
page: "page";
|
|
19374
|
-
query: "query";
|
|
19375
|
-
queryCanonical: "queryCanonical";
|
|
19376
|
-
country: "country";
|
|
19377
|
-
device: "device";
|
|
19378
|
-
searchAppearance: "searchAppearance";
|
|
19379
|
-
hour: "hour";
|
|
19380
|
-
}>>;
|
|
19381
|
-
}, z.core.$loose>>;
|
|
19382
|
-
filter: z.ZodOptional<z.ZodEnum<{
|
|
19383
|
-
new: "new";
|
|
19384
|
-
lost: "lost";
|
|
19385
|
-
improving: "improving";
|
|
19386
|
-
declining: "declining";
|
|
19387
|
-
}>>;
|
|
19326
|
+
requestedUrl: z.ZodURL;
|
|
19327
|
+
catalogSiteId: z.ZodNumber;
|
|
19328
|
+
window: z.ZodObject<{
|
|
19329
|
+
startDate: z.ZodISODate;
|
|
19330
|
+
endDate: z.ZodISODate;
|
|
19331
|
+
}, z.core.$strict>;
|
|
19388
19332
|
}, z.core.$strict>;
|
|
19389
19333
|
};
|
|
19390
19334
|
readonly responses: {
|
|
19391
19335
|
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
19392
|
-
data: z.ZodObject<{
|
|
19393
|
-
|
|
19394
|
-
|
|
19395
|
-
|
|
19396
|
-
|
|
19397
|
-
|
|
19398
|
-
|
|
19399
|
-
|
|
19400
|
-
|
|
19401
|
-
|
|
19402
|
-
|
|
19403
|
-
|
|
19404
|
-
|
|
19405
|
-
|
|
19406
|
-
|
|
19407
|
-
|
|
19408
|
-
|
|
19409
|
-
|
|
19410
|
-
|
|
19411
|
-
|
|
19412
|
-
|
|
19413
|
-
|
|
19414
|
-
|
|
19415
|
-
|
|
19416
|
-
|
|
19417
|
-
|
|
19418
|
-
|
|
19419
|
-
|
|
19420
|
-
|
|
19421
|
-
|
|
19422
|
-
|
|
19423
|
-
|
|
19336
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19337
|
+
_tag: z.ZodLiteral<"eligible">;
|
|
19338
|
+
identity: z.ZodObject<{
|
|
19339
|
+
siteId: z.ZodString;
|
|
19340
|
+
userId: z.ZodString;
|
|
19341
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
19342
|
+
requestedUrl: z.ZodURL;
|
|
19343
|
+
catalogSiteId: z.ZodNumber;
|
|
19344
|
+
warehouse: z.ZodString;
|
|
19345
|
+
namespace: z.ZodString;
|
|
19346
|
+
version: z.ZodNumber;
|
|
19347
|
+
revision: z.ZodNumber;
|
|
19348
|
+
catalogRevision: z.ZodNumber;
|
|
19349
|
+
dataVersion: z.ZodNumber;
|
|
19350
|
+
}, z.core.$strict>;
|
|
19351
|
+
requestedUrl: z.ZodURL;
|
|
19352
|
+
window: z.ZodObject<{
|
|
19353
|
+
startDate: z.ZodISODate;
|
|
19354
|
+
endDate: z.ZodISODate;
|
|
19355
|
+
}, z.core.$strict>;
|
|
19356
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19357
|
+
table: z.ZodEnum<{
|
|
19358
|
+
pages: "pages";
|
|
19359
|
+
queries: "queries";
|
|
19360
|
+
countries: "countries";
|
|
19361
|
+
page_queries: "page_queries";
|
|
19362
|
+
dates: "dates";
|
|
19363
|
+
search_appearance: "search_appearance";
|
|
19364
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19365
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19366
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19367
|
+
hourly_pages: "hourly_pages";
|
|
19368
|
+
}>;
|
|
19369
|
+
searchType: z.ZodEnum<{
|
|
19370
|
+
readonly WEB: "web";
|
|
19371
|
+
readonly IMAGE: "image";
|
|
19372
|
+
readonly VIDEO: "video";
|
|
19373
|
+
readonly NEWS: "news";
|
|
19374
|
+
readonly DISCOVER: "discover";
|
|
19375
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19376
|
+
}>;
|
|
19377
|
+
}, z.core.$strict>>;
|
|
19378
|
+
candidateNamespace: z.ZodString;
|
|
19379
|
+
candidateVersion: z.ZodNumber;
|
|
19380
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19381
|
+
_tag: z.ZodLiteral<"blocked">;
|
|
19382
|
+
reason: z.ZodEnum<{
|
|
19383
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
19384
|
+
"identity-changed": "identity-changed";
|
|
19385
|
+
"host-reserved": "host-reserved";
|
|
19386
|
+
"not-eligible": "not-eligible";
|
|
19387
|
+
"property-unavailable": "property-unavailable";
|
|
19388
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
19389
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
19390
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
19391
|
+
"candidate-aborted": "candidate-aborted";
|
|
19392
|
+
"candidate-failed": "candidate-failed";
|
|
19393
|
+
}>;
|
|
19394
|
+
}, z.core.$strict>], "_tag">;
|
|
19424
19395
|
meta: z.ZodObject<{
|
|
19425
19396
|
readonly requestId: z.ZodString;
|
|
19426
|
-
readonly surface: z.ZodLiteral<"
|
|
19397
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
19427
19398
|
readonly version: z.ZodLiteral<"1.0">;
|
|
19428
|
-
readonly sourceName: z.ZodString;
|
|
19429
|
-
readonly sourceKind: z.ZodEnum<{
|
|
19430
|
-
row: "row";
|
|
19431
|
-
sql: "sql";
|
|
19432
|
-
}>;
|
|
19433
|
-
readonly queryMs: z.ZodNumber;
|
|
19434
19399
|
}, z.core.$strip>;
|
|
19435
19400
|
}, z.core.$strip>, z.ZodObject<{
|
|
19436
|
-
data: z.ZodObject<{
|
|
19437
|
-
|
|
19438
|
-
|
|
19439
|
-
|
|
19440
|
-
|
|
19441
|
-
|
|
19442
|
-
|
|
19443
|
-
|
|
19444
|
-
|
|
19445
|
-
|
|
19446
|
-
|
|
19447
|
-
|
|
19448
|
-
|
|
19449
|
-
|
|
19401
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19402
|
+
_tag: z.ZodLiteral<"eligible">;
|
|
19403
|
+
identity: z.ZodObject<{
|
|
19404
|
+
siteId: z.ZodString;
|
|
19405
|
+
userId: z.ZodString;
|
|
19406
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
19407
|
+
requestedUrl: z.ZodURL;
|
|
19408
|
+
catalogSiteId: z.ZodNumber;
|
|
19409
|
+
warehouse: z.ZodString;
|
|
19410
|
+
namespace: z.ZodString;
|
|
19411
|
+
version: z.ZodNumber;
|
|
19412
|
+
revision: z.ZodNumber;
|
|
19413
|
+
catalogRevision: z.ZodNumber;
|
|
19414
|
+
dataVersion: z.ZodNumber;
|
|
19415
|
+
}, z.core.$strict>;
|
|
19416
|
+
requestedUrl: z.ZodURL;
|
|
19417
|
+
window: z.ZodObject<{
|
|
19418
|
+
startDate: z.ZodISODate;
|
|
19419
|
+
endDate: z.ZodISODate;
|
|
19420
|
+
}, z.core.$strict>;
|
|
19421
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19422
|
+
table: z.ZodEnum<{
|
|
19423
|
+
pages: "pages";
|
|
19424
|
+
queries: "queries";
|
|
19425
|
+
countries: "countries";
|
|
19426
|
+
page_queries: "page_queries";
|
|
19427
|
+
dates: "dates";
|
|
19428
|
+
search_appearance: "search_appearance";
|
|
19429
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19430
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19431
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19432
|
+
hourly_pages: "hourly_pages";
|
|
19433
|
+
}>;
|
|
19434
|
+
searchType: z.ZodEnum<{
|
|
19435
|
+
readonly WEB: "web";
|
|
19436
|
+
readonly IMAGE: "image";
|
|
19437
|
+
readonly VIDEO: "video";
|
|
19438
|
+
readonly NEWS: "news";
|
|
19439
|
+
readonly DISCOVER: "discover";
|
|
19440
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19441
|
+
}>;
|
|
19442
|
+
}, z.core.$strict>>;
|
|
19443
|
+
candidateNamespace: z.ZodString;
|
|
19444
|
+
candidateVersion: z.ZodNumber;
|
|
19445
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19446
|
+
_tag: z.ZodLiteral<"blocked">;
|
|
19447
|
+
reason: z.ZodEnum<{
|
|
19448
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
19449
|
+
"identity-changed": "identity-changed";
|
|
19450
|
+
"host-reserved": "host-reserved";
|
|
19451
|
+
"not-eligible": "not-eligible";
|
|
19452
|
+
"property-unavailable": "property-unavailable";
|
|
19453
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
19454
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
19455
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
19456
|
+
"candidate-aborted": "candidate-aborted";
|
|
19457
|
+
"candidate-failed": "candidate-failed";
|
|
19458
|
+
}>;
|
|
19459
|
+
}, z.core.$strict>], "_tag">;
|
|
19460
|
+
meta: z.ZodObject<{
|
|
19461
|
+
readonly requestId: z.ZodString;
|
|
19462
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
19463
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
19464
|
+
}, z.core.$strip>;
|
|
19465
|
+
}, z.core.$strip>>;
|
|
19466
|
+
};
|
|
19467
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation", "conflict", "service_unavailable"];
|
|
19468
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
19469
|
+
readonly error: z.ZodObject<{
|
|
19470
|
+
code: z.ZodEnum<{
|
|
19471
|
+
internal_error: "internal_error";
|
|
19472
|
+
invalid_request: "invalid_request";
|
|
19473
|
+
unauthorized: "unauthorized";
|
|
19474
|
+
forbidden: "forbidden";
|
|
19475
|
+
site_not_found: "site_not_found";
|
|
19476
|
+
rate_limited: "rate_limited";
|
|
19477
|
+
conflict: "conflict";
|
|
19478
|
+
service_unavailable: "service_unavailable";
|
|
19479
|
+
contract_violation: "contract_violation";
|
|
19480
|
+
}>;
|
|
19481
|
+
message: z.ZodString;
|
|
19482
|
+
requestId: z.ZodString;
|
|
19483
|
+
retryable: z.ZodBoolean;
|
|
19484
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
19485
|
+
}, z.core.$strict>;
|
|
19486
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19487
|
+
readonly error: z.ZodObject<{
|
|
19488
|
+
code: z.ZodEnum<{
|
|
19489
|
+
internal_error: "internal_error";
|
|
19490
|
+
invalid_request: "invalid_request";
|
|
19491
|
+
unauthorized: "unauthorized";
|
|
19492
|
+
forbidden: "forbidden";
|
|
19493
|
+
site_not_found: "site_not_found";
|
|
19494
|
+
rate_limited: "rate_limited";
|
|
19495
|
+
conflict: "conflict";
|
|
19496
|
+
service_unavailable: "service_unavailable";
|
|
19497
|
+
contract_violation: "contract_violation";
|
|
19498
|
+
}>;
|
|
19499
|
+
message: z.ZodString;
|
|
19500
|
+
requestId: z.ZodString;
|
|
19501
|
+
retryable: z.ZodBoolean;
|
|
19502
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
19503
|
+
}, z.core.$loose>;
|
|
19504
|
+
}, z.core.$strip>>;
|
|
19505
|
+
readonly resources: {
|
|
19506
|
+
readonly reads: readonly [{
|
|
19507
|
+
readonly type: "site.registration";
|
|
19508
|
+
readonly idFrom: "params.siteId";
|
|
19509
|
+
}];
|
|
19510
|
+
readonly changes: readonly [];
|
|
19511
|
+
};
|
|
19512
|
+
readonly lifecycle: {
|
|
19513
|
+
readonly introduced: "5.6.0";
|
|
19514
|
+
};
|
|
19515
|
+
readonly docs: {
|
|
19516
|
+
readonly summary: "Preview registered host correction";
|
|
19517
|
+
readonly description: "Checks exact-host correction eligibility without creating resources or changing the Site.";
|
|
19518
|
+
readonly tags: readonly ["Sites"];
|
|
19519
|
+
readonly examples: {
|
|
19520
|
+
readonly request: {
|
|
19521
|
+
readonly params: {
|
|
19522
|
+
readonly siteId: "s_01";
|
|
19523
|
+
};
|
|
19524
|
+
readonly body: {
|
|
19525
|
+
readonly requestedUrl: string;
|
|
19526
|
+
readonly catalogSiteId: 17;
|
|
19527
|
+
readonly window: {
|
|
19528
|
+
startDate: string;
|
|
19529
|
+
endDate: string;
|
|
19530
|
+
};
|
|
19531
|
+
};
|
|
19532
|
+
};
|
|
19533
|
+
readonly response: {
|
|
19534
|
+
readonly data: {
|
|
19535
|
+
_tag: string;
|
|
19536
|
+
identity: {
|
|
19537
|
+
siteId: string;
|
|
19538
|
+
userId: string;
|
|
19539
|
+
teamId: string;
|
|
19540
|
+
requestedUrl: string;
|
|
19541
|
+
catalogSiteId: number;
|
|
19542
|
+
warehouse: string;
|
|
19543
|
+
namespace: string;
|
|
19544
|
+
version: number;
|
|
19545
|
+
revision: number;
|
|
19546
|
+
catalogRevision: number;
|
|
19547
|
+
dataVersion: number;
|
|
19548
|
+
};
|
|
19549
|
+
requestedUrl: string;
|
|
19550
|
+
window: {
|
|
19551
|
+
startDate: string;
|
|
19552
|
+
endDate: string;
|
|
19553
|
+
};
|
|
19554
|
+
requiredSlices: {
|
|
19555
|
+
table: string;
|
|
19556
|
+
searchType: string;
|
|
19557
|
+
}[];
|
|
19558
|
+
candidateNamespace: string;
|
|
19559
|
+
candidateVersion: number;
|
|
19560
|
+
};
|
|
19561
|
+
readonly meta: {
|
|
19562
|
+
requestId: string;
|
|
19563
|
+
surface: string;
|
|
19564
|
+
version: string;
|
|
19565
|
+
};
|
|
19566
|
+
};
|
|
19567
|
+
};
|
|
19568
|
+
};
|
|
19569
|
+
readonly id: "partner.sites.registered_host.preview";
|
|
19570
|
+
readonly method: "POST";
|
|
19571
|
+
readonly path: "/sites/{siteId}/registered-host/preview";
|
|
19572
|
+
};
|
|
19573
|
+
readonly beginRegisteredHost: {
|
|
19574
|
+
readonly visibility: "public";
|
|
19575
|
+
readonly semantics: {
|
|
19576
|
+
readonly kind: "mutation";
|
|
19577
|
+
readonly sideEffects: "state";
|
|
19578
|
+
readonly idempotent: false;
|
|
19579
|
+
readonly retry: "never";
|
|
19580
|
+
readonly readConsistency: null;
|
|
19581
|
+
};
|
|
19582
|
+
readonly auth: {
|
|
19583
|
+
readonly credentials: readonly ["partner_key"];
|
|
19584
|
+
readonly scopes: readonly ["sites:write"];
|
|
19585
|
+
readonly ownership: readonly [{
|
|
19586
|
+
readonly credential: "partner_key";
|
|
19587
|
+
readonly rule: "authorized_site";
|
|
19588
|
+
}];
|
|
19589
|
+
};
|
|
19590
|
+
readonly request: {
|
|
19591
|
+
readonly params: z.ZodObject<{
|
|
19592
|
+
siteId: z.ZodString;
|
|
19593
|
+
}, z.core.$strict>;
|
|
19594
|
+
readonly query: null;
|
|
19595
|
+
readonly headers: z.ZodObject<{
|
|
19596
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
19597
|
+
}, z.core.$strict>;
|
|
19598
|
+
readonly body: z.ZodObject<{
|
|
19599
|
+
preview: z.ZodObject<{
|
|
19600
|
+
_tag: z.ZodLiteral<"eligible">;
|
|
19601
|
+
identity: z.ZodObject<{
|
|
19602
|
+
siteId: z.ZodString;
|
|
19603
|
+
userId: z.ZodString;
|
|
19604
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
19605
|
+
requestedUrl: z.ZodURL;
|
|
19606
|
+
catalogSiteId: z.ZodNumber;
|
|
19607
|
+
warehouse: z.ZodString;
|
|
19608
|
+
namespace: z.ZodString;
|
|
19609
|
+
version: z.ZodNumber;
|
|
19610
|
+
revision: z.ZodNumber;
|
|
19611
|
+
catalogRevision: z.ZodNumber;
|
|
19612
|
+
dataVersion: z.ZodNumber;
|
|
19613
|
+
}, z.core.$strict>;
|
|
19614
|
+
requestedUrl: z.ZodURL;
|
|
19615
|
+
window: z.ZodObject<{
|
|
19616
|
+
startDate: z.ZodISODate;
|
|
19617
|
+
endDate: z.ZodISODate;
|
|
19618
|
+
}, z.core.$strict>;
|
|
19619
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19620
|
+
table: z.ZodEnum<{
|
|
19621
|
+
pages: "pages";
|
|
19622
|
+
queries: "queries";
|
|
19623
|
+
countries: "countries";
|
|
19624
|
+
page_queries: "page_queries";
|
|
19625
|
+
dates: "dates";
|
|
19626
|
+
search_appearance: "search_appearance";
|
|
19627
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19628
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19629
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19630
|
+
hourly_pages: "hourly_pages";
|
|
19631
|
+
}>;
|
|
19632
|
+
searchType: z.ZodEnum<{
|
|
19633
|
+
readonly WEB: "web";
|
|
19634
|
+
readonly IMAGE: "image";
|
|
19635
|
+
readonly VIDEO: "video";
|
|
19636
|
+
readonly NEWS: "news";
|
|
19637
|
+
readonly DISCOVER: "discover";
|
|
19638
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19639
|
+
}>;
|
|
19640
|
+
}, z.core.$strict>>;
|
|
19641
|
+
candidateNamespace: z.ZodString;
|
|
19642
|
+
candidateVersion: z.ZodNumber;
|
|
19643
|
+
}, z.core.$strict>;
|
|
19644
|
+
}, z.core.$strict>;
|
|
19645
|
+
};
|
|
19646
|
+
readonly responses: {
|
|
19647
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
19648
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19649
|
+
version: z.ZodNumber;
|
|
19650
|
+
namespace: z.ZodString;
|
|
19651
|
+
requestedUrl: z.ZodURL;
|
|
19652
|
+
window: z.ZodObject<{
|
|
19653
|
+
startDate: z.ZodISODate;
|
|
19654
|
+
endDate: z.ZodISODate;
|
|
19655
|
+
}, z.core.$strict>;
|
|
19656
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19657
|
+
table: z.ZodEnum<{
|
|
19658
|
+
pages: "pages";
|
|
19659
|
+
queries: "queries";
|
|
19660
|
+
countries: "countries";
|
|
19661
|
+
page_queries: "page_queries";
|
|
19662
|
+
dates: "dates";
|
|
19663
|
+
search_appearance: "search_appearance";
|
|
19664
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19665
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19666
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19667
|
+
hourly_pages: "hourly_pages";
|
|
19668
|
+
}>;
|
|
19669
|
+
searchType: z.ZodEnum<{
|
|
19670
|
+
readonly WEB: "web";
|
|
19671
|
+
readonly IMAGE: "image";
|
|
19672
|
+
readonly VIDEO: "video";
|
|
19673
|
+
readonly NEWS: "news";
|
|
19674
|
+
readonly DISCOVER: "discover";
|
|
19675
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19676
|
+
}>;
|
|
19677
|
+
}, z.core.$strict>>;
|
|
19678
|
+
state: z.ZodLiteral<"collecting">;
|
|
19679
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19680
|
+
version: z.ZodNumber;
|
|
19681
|
+
namespace: z.ZodString;
|
|
19682
|
+
requestedUrl: z.ZodURL;
|
|
19683
|
+
window: z.ZodObject<{
|
|
19684
|
+
startDate: z.ZodISODate;
|
|
19685
|
+
endDate: z.ZodISODate;
|
|
19686
|
+
}, z.core.$strict>;
|
|
19687
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19688
|
+
table: z.ZodEnum<{
|
|
19689
|
+
pages: "pages";
|
|
19690
|
+
queries: "queries";
|
|
19691
|
+
countries: "countries";
|
|
19692
|
+
page_queries: "page_queries";
|
|
19693
|
+
dates: "dates";
|
|
19694
|
+
search_appearance: "search_appearance";
|
|
19695
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19696
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19697
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19698
|
+
hourly_pages: "hourly_pages";
|
|
19699
|
+
}>;
|
|
19700
|
+
searchType: z.ZodEnum<{
|
|
19701
|
+
readonly WEB: "web";
|
|
19702
|
+
readonly IMAGE: "image";
|
|
19703
|
+
readonly VIDEO: "video";
|
|
19704
|
+
readonly NEWS: "news";
|
|
19705
|
+
readonly DISCOVER: "discover";
|
|
19706
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19707
|
+
}>;
|
|
19708
|
+
}, z.core.$strict>>;
|
|
19709
|
+
state: z.ZodLiteral<"verified">;
|
|
19710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19711
|
+
version: z.ZodNumber;
|
|
19712
|
+
namespace: z.ZodString;
|
|
19713
|
+
requestedUrl: z.ZodURL;
|
|
19714
|
+
window: z.ZodObject<{
|
|
19715
|
+
startDate: z.ZodISODate;
|
|
19716
|
+
endDate: z.ZodISODate;
|
|
19717
|
+
}, z.core.$strict>;
|
|
19718
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19719
|
+
table: z.ZodEnum<{
|
|
19720
|
+
pages: "pages";
|
|
19721
|
+
queries: "queries";
|
|
19722
|
+
countries: "countries";
|
|
19723
|
+
page_queries: "page_queries";
|
|
19724
|
+
dates: "dates";
|
|
19725
|
+
search_appearance: "search_appearance";
|
|
19726
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19727
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19728
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19729
|
+
hourly_pages: "hourly_pages";
|
|
19730
|
+
}>;
|
|
19731
|
+
searchType: z.ZodEnum<{
|
|
19732
|
+
readonly WEB: "web";
|
|
19733
|
+
readonly IMAGE: "image";
|
|
19734
|
+
readonly VIDEO: "video";
|
|
19735
|
+
readonly NEWS: "news";
|
|
19736
|
+
readonly DISCOVER: "discover";
|
|
19737
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19738
|
+
}>;
|
|
19739
|
+
}, z.core.$strict>>;
|
|
19740
|
+
state: z.ZodLiteral<"active">;
|
|
19741
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19742
|
+
version: z.ZodNumber;
|
|
19743
|
+
namespace: z.ZodString;
|
|
19744
|
+
requestedUrl: z.ZodURL;
|
|
19745
|
+
window: z.ZodObject<{
|
|
19746
|
+
startDate: z.ZodISODate;
|
|
19747
|
+
endDate: z.ZodISODate;
|
|
19748
|
+
}, z.core.$strict>;
|
|
19749
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19750
|
+
table: z.ZodEnum<{
|
|
19751
|
+
pages: "pages";
|
|
19752
|
+
queries: "queries";
|
|
19753
|
+
countries: "countries";
|
|
19754
|
+
page_queries: "page_queries";
|
|
19755
|
+
dates: "dates";
|
|
19756
|
+
search_appearance: "search_appearance";
|
|
19757
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19758
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19759
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19760
|
+
hourly_pages: "hourly_pages";
|
|
19761
|
+
}>;
|
|
19762
|
+
searchType: z.ZodEnum<{
|
|
19763
|
+
readonly WEB: "web";
|
|
19764
|
+
readonly IMAGE: "image";
|
|
19765
|
+
readonly VIDEO: "video";
|
|
19766
|
+
readonly NEWS: "news";
|
|
19767
|
+
readonly DISCOVER: "discover";
|
|
19768
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19769
|
+
}>;
|
|
19770
|
+
}, z.core.$strict>>;
|
|
19771
|
+
state: z.ZodLiteral<"aborted">;
|
|
19772
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19773
|
+
version: z.ZodNumber;
|
|
19774
|
+
namespace: z.ZodString;
|
|
19775
|
+
requestedUrl: z.ZodURL;
|
|
19776
|
+
window: z.ZodObject<{
|
|
19777
|
+
startDate: z.ZodISODate;
|
|
19778
|
+
endDate: z.ZodISODate;
|
|
19779
|
+
}, z.core.$strict>;
|
|
19780
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19781
|
+
table: z.ZodEnum<{
|
|
19782
|
+
pages: "pages";
|
|
19783
|
+
queries: "queries";
|
|
19784
|
+
countries: "countries";
|
|
19785
|
+
page_queries: "page_queries";
|
|
19786
|
+
dates: "dates";
|
|
19787
|
+
search_appearance: "search_appearance";
|
|
19788
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19789
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19790
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19791
|
+
hourly_pages: "hourly_pages";
|
|
19792
|
+
}>;
|
|
19793
|
+
searchType: z.ZodEnum<{
|
|
19794
|
+
readonly WEB: "web";
|
|
19795
|
+
readonly IMAGE: "image";
|
|
19796
|
+
readonly VIDEO: "video";
|
|
19797
|
+
readonly NEWS: "news";
|
|
19798
|
+
readonly DISCOVER: "discover";
|
|
19799
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19800
|
+
}>;
|
|
19801
|
+
}, z.core.$strict>>;
|
|
19802
|
+
state: z.ZodLiteral<"failed">;
|
|
19803
|
+
failure: z.ZodEnum<{
|
|
19804
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
19805
|
+
"identity-changed": "identity-changed";
|
|
19806
|
+
"host-reserved": "host-reserved";
|
|
19807
|
+
"not-eligible": "not-eligible";
|
|
19808
|
+
"property-unavailable": "property-unavailable";
|
|
19809
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
19810
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
19811
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
19812
|
+
"candidate-aborted": "candidate-aborted";
|
|
19813
|
+
"candidate-failed": "candidate-failed";
|
|
19814
|
+
}>;
|
|
19815
|
+
}, z.core.$strict>], "state">;
|
|
19816
|
+
meta: z.ZodObject<{
|
|
19817
|
+
readonly requestId: z.ZodString;
|
|
19818
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
19819
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
19820
|
+
}, z.core.$strip>;
|
|
19821
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19822
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19823
|
+
version: z.ZodNumber;
|
|
19824
|
+
namespace: z.ZodString;
|
|
19825
|
+
requestedUrl: z.ZodURL;
|
|
19826
|
+
window: z.ZodObject<{
|
|
19827
|
+
startDate: z.ZodISODate;
|
|
19828
|
+
endDate: z.ZodISODate;
|
|
19829
|
+
}, z.core.$strict>;
|
|
19830
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19831
|
+
table: z.ZodEnum<{
|
|
19832
|
+
pages: "pages";
|
|
19833
|
+
queries: "queries";
|
|
19834
|
+
countries: "countries";
|
|
19835
|
+
page_queries: "page_queries";
|
|
19836
|
+
dates: "dates";
|
|
19837
|
+
search_appearance: "search_appearance";
|
|
19838
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19839
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19840
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19841
|
+
hourly_pages: "hourly_pages";
|
|
19842
|
+
}>;
|
|
19843
|
+
searchType: z.ZodEnum<{
|
|
19844
|
+
readonly WEB: "web";
|
|
19845
|
+
readonly IMAGE: "image";
|
|
19846
|
+
readonly VIDEO: "video";
|
|
19847
|
+
readonly NEWS: "news";
|
|
19848
|
+
readonly DISCOVER: "discover";
|
|
19849
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19850
|
+
}>;
|
|
19851
|
+
}, z.core.$strict>>;
|
|
19852
|
+
state: z.ZodLiteral<"collecting">;
|
|
19853
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19854
|
+
version: z.ZodNumber;
|
|
19855
|
+
namespace: z.ZodString;
|
|
19856
|
+
requestedUrl: z.ZodURL;
|
|
19857
|
+
window: z.ZodObject<{
|
|
19858
|
+
startDate: z.ZodISODate;
|
|
19859
|
+
endDate: z.ZodISODate;
|
|
19860
|
+
}, z.core.$strict>;
|
|
19861
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19862
|
+
table: z.ZodEnum<{
|
|
19863
|
+
pages: "pages";
|
|
19864
|
+
queries: "queries";
|
|
19865
|
+
countries: "countries";
|
|
19866
|
+
page_queries: "page_queries";
|
|
19867
|
+
dates: "dates";
|
|
19868
|
+
search_appearance: "search_appearance";
|
|
19869
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19870
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19871
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19872
|
+
hourly_pages: "hourly_pages";
|
|
19873
|
+
}>;
|
|
19874
|
+
searchType: z.ZodEnum<{
|
|
19875
|
+
readonly WEB: "web";
|
|
19876
|
+
readonly IMAGE: "image";
|
|
19877
|
+
readonly VIDEO: "video";
|
|
19878
|
+
readonly NEWS: "news";
|
|
19879
|
+
readonly DISCOVER: "discover";
|
|
19880
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19881
|
+
}>;
|
|
19882
|
+
}, z.core.$strict>>;
|
|
19883
|
+
state: z.ZodLiteral<"verified">;
|
|
19884
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19885
|
+
version: z.ZodNumber;
|
|
19886
|
+
namespace: z.ZodString;
|
|
19887
|
+
requestedUrl: z.ZodURL;
|
|
19888
|
+
window: z.ZodObject<{
|
|
19889
|
+
startDate: z.ZodISODate;
|
|
19890
|
+
endDate: z.ZodISODate;
|
|
19891
|
+
}, z.core.$strict>;
|
|
19892
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19893
|
+
table: z.ZodEnum<{
|
|
19894
|
+
pages: "pages";
|
|
19895
|
+
queries: "queries";
|
|
19896
|
+
countries: "countries";
|
|
19897
|
+
page_queries: "page_queries";
|
|
19898
|
+
dates: "dates";
|
|
19899
|
+
search_appearance: "search_appearance";
|
|
19900
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19901
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19902
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19903
|
+
hourly_pages: "hourly_pages";
|
|
19904
|
+
}>;
|
|
19905
|
+
searchType: z.ZodEnum<{
|
|
19906
|
+
readonly WEB: "web";
|
|
19907
|
+
readonly IMAGE: "image";
|
|
19908
|
+
readonly VIDEO: "video";
|
|
19909
|
+
readonly NEWS: "news";
|
|
19910
|
+
readonly DISCOVER: "discover";
|
|
19911
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19912
|
+
}>;
|
|
19913
|
+
}, z.core.$strict>>;
|
|
19914
|
+
state: z.ZodLiteral<"active">;
|
|
19915
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19916
|
+
version: z.ZodNumber;
|
|
19917
|
+
namespace: z.ZodString;
|
|
19918
|
+
requestedUrl: z.ZodURL;
|
|
19919
|
+
window: z.ZodObject<{
|
|
19920
|
+
startDate: z.ZodISODate;
|
|
19921
|
+
endDate: z.ZodISODate;
|
|
19922
|
+
}, z.core.$strict>;
|
|
19923
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19924
|
+
table: z.ZodEnum<{
|
|
19925
|
+
pages: "pages";
|
|
19926
|
+
queries: "queries";
|
|
19927
|
+
countries: "countries";
|
|
19928
|
+
page_queries: "page_queries";
|
|
19929
|
+
dates: "dates";
|
|
19930
|
+
search_appearance: "search_appearance";
|
|
19931
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19932
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19933
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19934
|
+
hourly_pages: "hourly_pages";
|
|
19935
|
+
}>;
|
|
19936
|
+
searchType: z.ZodEnum<{
|
|
19937
|
+
readonly WEB: "web";
|
|
19938
|
+
readonly IMAGE: "image";
|
|
19939
|
+
readonly VIDEO: "video";
|
|
19940
|
+
readonly NEWS: "news";
|
|
19941
|
+
readonly DISCOVER: "discover";
|
|
19942
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19943
|
+
}>;
|
|
19944
|
+
}, z.core.$strict>>;
|
|
19945
|
+
state: z.ZodLiteral<"aborted">;
|
|
19946
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19947
|
+
version: z.ZodNumber;
|
|
19948
|
+
namespace: z.ZodString;
|
|
19949
|
+
requestedUrl: z.ZodURL;
|
|
19950
|
+
window: z.ZodObject<{
|
|
19951
|
+
startDate: z.ZodISODate;
|
|
19952
|
+
endDate: z.ZodISODate;
|
|
19953
|
+
}, z.core.$strict>;
|
|
19954
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
19955
|
+
table: z.ZodEnum<{
|
|
19956
|
+
pages: "pages";
|
|
19957
|
+
queries: "queries";
|
|
19958
|
+
countries: "countries";
|
|
19959
|
+
page_queries: "page_queries";
|
|
19960
|
+
dates: "dates";
|
|
19961
|
+
search_appearance: "search_appearance";
|
|
19962
|
+
search_appearance_pages: "search_appearance_pages";
|
|
19963
|
+
search_appearance_queries: "search_appearance_queries";
|
|
19964
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
19965
|
+
hourly_pages: "hourly_pages";
|
|
19966
|
+
}>;
|
|
19967
|
+
searchType: z.ZodEnum<{
|
|
19968
|
+
readonly WEB: "web";
|
|
19969
|
+
readonly IMAGE: "image";
|
|
19970
|
+
readonly VIDEO: "video";
|
|
19971
|
+
readonly NEWS: "news";
|
|
19972
|
+
readonly DISCOVER: "discover";
|
|
19973
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
19974
|
+
}>;
|
|
19975
|
+
}, z.core.$strict>>;
|
|
19976
|
+
state: z.ZodLiteral<"failed">;
|
|
19977
|
+
failure: z.ZodEnum<{
|
|
19978
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
19979
|
+
"identity-changed": "identity-changed";
|
|
19980
|
+
"host-reserved": "host-reserved";
|
|
19981
|
+
"not-eligible": "not-eligible";
|
|
19982
|
+
"property-unavailable": "property-unavailable";
|
|
19983
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
19984
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
19985
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
19986
|
+
"candidate-aborted": "candidate-aborted";
|
|
19987
|
+
"candidate-failed": "candidate-failed";
|
|
19988
|
+
}>;
|
|
19989
|
+
}, z.core.$strict>], "state">;
|
|
19990
|
+
meta: z.ZodObject<{
|
|
19991
|
+
readonly requestId: z.ZodString;
|
|
19992
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
19993
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
19994
|
+
}, z.core.$strip>;
|
|
19995
|
+
}, z.core.$strip>>;
|
|
19996
|
+
};
|
|
19997
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation", "conflict", "service_unavailable"];
|
|
19998
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
19999
|
+
readonly error: z.ZodObject<{
|
|
20000
|
+
code: z.ZodEnum<{
|
|
20001
|
+
internal_error: "internal_error";
|
|
20002
|
+
invalid_request: "invalid_request";
|
|
20003
|
+
unauthorized: "unauthorized";
|
|
20004
|
+
forbidden: "forbidden";
|
|
20005
|
+
site_not_found: "site_not_found";
|
|
20006
|
+
rate_limited: "rate_limited";
|
|
20007
|
+
conflict: "conflict";
|
|
20008
|
+
service_unavailable: "service_unavailable";
|
|
20009
|
+
contract_violation: "contract_violation";
|
|
20010
|
+
}>;
|
|
20011
|
+
message: z.ZodString;
|
|
20012
|
+
requestId: z.ZodString;
|
|
20013
|
+
retryable: z.ZodBoolean;
|
|
20014
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
20015
|
+
}, z.core.$strict>;
|
|
20016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20017
|
+
readonly error: z.ZodObject<{
|
|
20018
|
+
code: z.ZodEnum<{
|
|
20019
|
+
internal_error: "internal_error";
|
|
20020
|
+
invalid_request: "invalid_request";
|
|
20021
|
+
unauthorized: "unauthorized";
|
|
20022
|
+
forbidden: "forbidden";
|
|
20023
|
+
site_not_found: "site_not_found";
|
|
20024
|
+
rate_limited: "rate_limited";
|
|
20025
|
+
conflict: "conflict";
|
|
20026
|
+
service_unavailable: "service_unavailable";
|
|
20027
|
+
contract_violation: "contract_violation";
|
|
20028
|
+
}>;
|
|
20029
|
+
message: z.ZodString;
|
|
20030
|
+
requestId: z.ZodString;
|
|
20031
|
+
retryable: z.ZodBoolean;
|
|
20032
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
20033
|
+
}, z.core.$loose>;
|
|
20034
|
+
}, z.core.$strip>>;
|
|
20035
|
+
readonly resources: {
|
|
20036
|
+
readonly reads: readonly [{
|
|
20037
|
+
readonly type: "site.registration";
|
|
20038
|
+
readonly idFrom: "params.siteId";
|
|
20039
|
+
}];
|
|
20040
|
+
readonly changes: readonly [{
|
|
20041
|
+
readonly type: "site.lifecycle";
|
|
20042
|
+
readonly idFrom: "params.siteId";
|
|
20043
|
+
}];
|
|
20044
|
+
};
|
|
20045
|
+
readonly lifecycle: {
|
|
20046
|
+
readonly introduced: "5.6.0";
|
|
20047
|
+
};
|
|
20048
|
+
readonly docs: {
|
|
20049
|
+
readonly summary: "Begin registered host correction";
|
|
20050
|
+
readonly description: "Reserves an isolated candidate. Current registration and current reads keep their existing version.";
|
|
20051
|
+
readonly tags: readonly ["Sites"];
|
|
20052
|
+
readonly examples: {
|
|
20053
|
+
readonly request: {
|
|
20054
|
+
readonly params: {
|
|
20055
|
+
readonly siteId: "s_01";
|
|
20056
|
+
};
|
|
20057
|
+
readonly body: {
|
|
20058
|
+
readonly preview: {
|
|
20059
|
+
_tag: string;
|
|
20060
|
+
identity: {
|
|
20061
|
+
siteId: string;
|
|
20062
|
+
userId: string;
|
|
20063
|
+
teamId: string;
|
|
20064
|
+
requestedUrl: string;
|
|
20065
|
+
catalogSiteId: number;
|
|
20066
|
+
warehouse: string;
|
|
20067
|
+
namespace: string;
|
|
20068
|
+
version: number;
|
|
20069
|
+
revision: number;
|
|
20070
|
+
catalogRevision: number;
|
|
20071
|
+
dataVersion: number;
|
|
20072
|
+
};
|
|
20073
|
+
requestedUrl: string;
|
|
20074
|
+
window: {
|
|
20075
|
+
startDate: string;
|
|
20076
|
+
endDate: string;
|
|
20077
|
+
};
|
|
20078
|
+
requiredSlices: {
|
|
20079
|
+
table: string;
|
|
20080
|
+
searchType: string;
|
|
20081
|
+
}[];
|
|
20082
|
+
candidateNamespace: string;
|
|
20083
|
+
candidateVersion: number;
|
|
20084
|
+
};
|
|
20085
|
+
};
|
|
20086
|
+
};
|
|
20087
|
+
readonly response: {
|
|
20088
|
+
readonly data: {
|
|
20089
|
+
readonly state: "collecting";
|
|
20090
|
+
readonly version: number;
|
|
20091
|
+
readonly namespace: string;
|
|
20092
|
+
readonly requestedUrl: string;
|
|
20093
|
+
readonly window: {
|
|
20094
|
+
startDate: string;
|
|
20095
|
+
endDate: string;
|
|
20096
|
+
};
|
|
20097
|
+
readonly requiredSlices: {
|
|
20098
|
+
table: string;
|
|
20099
|
+
searchType: string;
|
|
20100
|
+
}[];
|
|
20101
|
+
};
|
|
20102
|
+
readonly meta: {
|
|
20103
|
+
requestId: string;
|
|
20104
|
+
surface: string;
|
|
20105
|
+
version: string;
|
|
20106
|
+
};
|
|
20107
|
+
};
|
|
20108
|
+
};
|
|
20109
|
+
};
|
|
20110
|
+
readonly id: "partner.sites.registered_host.begin";
|
|
20111
|
+
readonly method: "POST";
|
|
20112
|
+
readonly path: "/sites/{siteId}/registered-host/begin";
|
|
20113
|
+
};
|
|
20114
|
+
readonly verifyRegisteredHost: {
|
|
20115
|
+
readonly visibility: "public";
|
|
20116
|
+
readonly semantics: {
|
|
20117
|
+
readonly kind: "mutation";
|
|
20118
|
+
readonly sideEffects: "state";
|
|
20119
|
+
readonly idempotent: true;
|
|
20120
|
+
readonly retry: "idempotent";
|
|
20121
|
+
readonly readConsistency: null;
|
|
20122
|
+
};
|
|
20123
|
+
readonly auth: {
|
|
20124
|
+
readonly credentials: readonly ["partner_key"];
|
|
20125
|
+
readonly scopes: readonly ["sites:write"];
|
|
20126
|
+
readonly ownership: readonly [{
|
|
20127
|
+
readonly credential: "partner_key";
|
|
20128
|
+
readonly rule: "authorized_site";
|
|
20129
|
+
}];
|
|
20130
|
+
};
|
|
20131
|
+
readonly request: {
|
|
20132
|
+
readonly params: z.ZodObject<{
|
|
20133
|
+
siteId: z.ZodString;
|
|
20134
|
+
}, z.core.$strict>;
|
|
20135
|
+
readonly query: null;
|
|
20136
|
+
readonly headers: z.ZodObject<{
|
|
20137
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
20138
|
+
}, z.core.$strict>;
|
|
20139
|
+
readonly body: z.ZodObject<{
|
|
20140
|
+
version: z.ZodNumber;
|
|
20141
|
+
identity: z.ZodObject<{
|
|
20142
|
+
siteId: z.ZodString;
|
|
20143
|
+
userId: z.ZodString;
|
|
20144
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
20145
|
+
requestedUrl: z.ZodURL;
|
|
20146
|
+
catalogSiteId: z.ZodNumber;
|
|
20147
|
+
warehouse: z.ZodString;
|
|
20148
|
+
namespace: z.ZodString;
|
|
20149
|
+
version: z.ZodNumber;
|
|
20150
|
+
revision: z.ZodNumber;
|
|
20151
|
+
catalogRevision: z.ZodNumber;
|
|
20152
|
+
dataVersion: z.ZodNumber;
|
|
20153
|
+
}, z.core.$strict>;
|
|
20154
|
+
}, z.core.$strict>;
|
|
20155
|
+
};
|
|
20156
|
+
readonly responses: {
|
|
20157
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
20158
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20159
|
+
version: z.ZodNumber;
|
|
20160
|
+
namespace: z.ZodString;
|
|
20161
|
+
requestedUrl: z.ZodURL;
|
|
20162
|
+
window: z.ZodObject<{
|
|
20163
|
+
startDate: z.ZodISODate;
|
|
20164
|
+
endDate: z.ZodISODate;
|
|
20165
|
+
}, z.core.$strict>;
|
|
20166
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20167
|
+
table: z.ZodEnum<{
|
|
20168
|
+
pages: "pages";
|
|
20169
|
+
queries: "queries";
|
|
20170
|
+
countries: "countries";
|
|
20171
|
+
page_queries: "page_queries";
|
|
20172
|
+
dates: "dates";
|
|
20173
|
+
search_appearance: "search_appearance";
|
|
20174
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20175
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20176
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20177
|
+
hourly_pages: "hourly_pages";
|
|
20178
|
+
}>;
|
|
20179
|
+
searchType: z.ZodEnum<{
|
|
20180
|
+
readonly WEB: "web";
|
|
20181
|
+
readonly IMAGE: "image";
|
|
20182
|
+
readonly VIDEO: "video";
|
|
20183
|
+
readonly NEWS: "news";
|
|
20184
|
+
readonly DISCOVER: "discover";
|
|
20185
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20186
|
+
}>;
|
|
20187
|
+
}, z.core.$strict>>;
|
|
20188
|
+
state: z.ZodLiteral<"collecting">;
|
|
20189
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20190
|
+
version: z.ZodNumber;
|
|
20191
|
+
namespace: z.ZodString;
|
|
20192
|
+
requestedUrl: z.ZodURL;
|
|
20193
|
+
window: z.ZodObject<{
|
|
20194
|
+
startDate: z.ZodISODate;
|
|
20195
|
+
endDate: z.ZodISODate;
|
|
20196
|
+
}, z.core.$strict>;
|
|
20197
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20198
|
+
table: z.ZodEnum<{
|
|
20199
|
+
pages: "pages";
|
|
20200
|
+
queries: "queries";
|
|
20201
|
+
countries: "countries";
|
|
20202
|
+
page_queries: "page_queries";
|
|
20203
|
+
dates: "dates";
|
|
20204
|
+
search_appearance: "search_appearance";
|
|
20205
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20206
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20207
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20208
|
+
hourly_pages: "hourly_pages";
|
|
20209
|
+
}>;
|
|
20210
|
+
searchType: z.ZodEnum<{
|
|
20211
|
+
readonly WEB: "web";
|
|
20212
|
+
readonly IMAGE: "image";
|
|
20213
|
+
readonly VIDEO: "video";
|
|
20214
|
+
readonly NEWS: "news";
|
|
20215
|
+
readonly DISCOVER: "discover";
|
|
20216
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20217
|
+
}>;
|
|
20218
|
+
}, z.core.$strict>>;
|
|
20219
|
+
state: z.ZodLiteral<"verified">;
|
|
20220
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20221
|
+
version: z.ZodNumber;
|
|
20222
|
+
namespace: z.ZodString;
|
|
20223
|
+
requestedUrl: z.ZodURL;
|
|
20224
|
+
window: z.ZodObject<{
|
|
20225
|
+
startDate: z.ZodISODate;
|
|
20226
|
+
endDate: z.ZodISODate;
|
|
20227
|
+
}, z.core.$strict>;
|
|
20228
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20229
|
+
table: z.ZodEnum<{
|
|
20230
|
+
pages: "pages";
|
|
20231
|
+
queries: "queries";
|
|
20232
|
+
countries: "countries";
|
|
20233
|
+
page_queries: "page_queries";
|
|
20234
|
+
dates: "dates";
|
|
20235
|
+
search_appearance: "search_appearance";
|
|
20236
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20237
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20238
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20239
|
+
hourly_pages: "hourly_pages";
|
|
20240
|
+
}>;
|
|
20241
|
+
searchType: z.ZodEnum<{
|
|
20242
|
+
readonly WEB: "web";
|
|
20243
|
+
readonly IMAGE: "image";
|
|
20244
|
+
readonly VIDEO: "video";
|
|
20245
|
+
readonly NEWS: "news";
|
|
20246
|
+
readonly DISCOVER: "discover";
|
|
20247
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20248
|
+
}>;
|
|
20249
|
+
}, z.core.$strict>>;
|
|
20250
|
+
state: z.ZodLiteral<"active">;
|
|
20251
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20252
|
+
version: z.ZodNumber;
|
|
20253
|
+
namespace: z.ZodString;
|
|
20254
|
+
requestedUrl: z.ZodURL;
|
|
20255
|
+
window: z.ZodObject<{
|
|
20256
|
+
startDate: z.ZodISODate;
|
|
20257
|
+
endDate: z.ZodISODate;
|
|
20258
|
+
}, z.core.$strict>;
|
|
20259
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20260
|
+
table: z.ZodEnum<{
|
|
20261
|
+
pages: "pages";
|
|
20262
|
+
queries: "queries";
|
|
20263
|
+
countries: "countries";
|
|
20264
|
+
page_queries: "page_queries";
|
|
20265
|
+
dates: "dates";
|
|
20266
|
+
search_appearance: "search_appearance";
|
|
20267
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20268
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20269
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20270
|
+
hourly_pages: "hourly_pages";
|
|
20271
|
+
}>;
|
|
20272
|
+
searchType: z.ZodEnum<{
|
|
20273
|
+
readonly WEB: "web";
|
|
20274
|
+
readonly IMAGE: "image";
|
|
20275
|
+
readonly VIDEO: "video";
|
|
20276
|
+
readonly NEWS: "news";
|
|
20277
|
+
readonly DISCOVER: "discover";
|
|
20278
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20279
|
+
}>;
|
|
20280
|
+
}, z.core.$strict>>;
|
|
20281
|
+
state: z.ZodLiteral<"aborted">;
|
|
20282
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20283
|
+
version: z.ZodNumber;
|
|
20284
|
+
namespace: z.ZodString;
|
|
20285
|
+
requestedUrl: z.ZodURL;
|
|
20286
|
+
window: z.ZodObject<{
|
|
20287
|
+
startDate: z.ZodISODate;
|
|
20288
|
+
endDate: z.ZodISODate;
|
|
20289
|
+
}, z.core.$strict>;
|
|
20290
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20291
|
+
table: z.ZodEnum<{
|
|
20292
|
+
pages: "pages";
|
|
20293
|
+
queries: "queries";
|
|
20294
|
+
countries: "countries";
|
|
20295
|
+
page_queries: "page_queries";
|
|
20296
|
+
dates: "dates";
|
|
20297
|
+
search_appearance: "search_appearance";
|
|
20298
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20299
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20300
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20301
|
+
hourly_pages: "hourly_pages";
|
|
20302
|
+
}>;
|
|
20303
|
+
searchType: z.ZodEnum<{
|
|
20304
|
+
readonly WEB: "web";
|
|
20305
|
+
readonly IMAGE: "image";
|
|
20306
|
+
readonly VIDEO: "video";
|
|
20307
|
+
readonly NEWS: "news";
|
|
20308
|
+
readonly DISCOVER: "discover";
|
|
20309
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20310
|
+
}>;
|
|
20311
|
+
}, z.core.$strict>>;
|
|
20312
|
+
state: z.ZodLiteral<"failed">;
|
|
20313
|
+
failure: z.ZodEnum<{
|
|
20314
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
20315
|
+
"identity-changed": "identity-changed";
|
|
20316
|
+
"host-reserved": "host-reserved";
|
|
20317
|
+
"not-eligible": "not-eligible";
|
|
20318
|
+
"property-unavailable": "property-unavailable";
|
|
20319
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
20320
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
20321
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
20322
|
+
"candidate-aborted": "candidate-aborted";
|
|
20323
|
+
"candidate-failed": "candidate-failed";
|
|
20324
|
+
}>;
|
|
20325
|
+
}, z.core.$strict>], "state">;
|
|
20326
|
+
meta: z.ZodObject<{
|
|
20327
|
+
readonly requestId: z.ZodString;
|
|
20328
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
20329
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
20330
|
+
}, z.core.$strip>;
|
|
20331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20332
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20333
|
+
version: z.ZodNumber;
|
|
20334
|
+
namespace: z.ZodString;
|
|
20335
|
+
requestedUrl: z.ZodURL;
|
|
20336
|
+
window: z.ZodObject<{
|
|
20337
|
+
startDate: z.ZodISODate;
|
|
20338
|
+
endDate: z.ZodISODate;
|
|
20339
|
+
}, z.core.$strict>;
|
|
20340
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20341
|
+
table: z.ZodEnum<{
|
|
20342
|
+
pages: "pages";
|
|
20343
|
+
queries: "queries";
|
|
20344
|
+
countries: "countries";
|
|
20345
|
+
page_queries: "page_queries";
|
|
20346
|
+
dates: "dates";
|
|
20347
|
+
search_appearance: "search_appearance";
|
|
20348
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20349
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20350
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20351
|
+
hourly_pages: "hourly_pages";
|
|
20352
|
+
}>;
|
|
20353
|
+
searchType: z.ZodEnum<{
|
|
20354
|
+
readonly WEB: "web";
|
|
20355
|
+
readonly IMAGE: "image";
|
|
20356
|
+
readonly VIDEO: "video";
|
|
20357
|
+
readonly NEWS: "news";
|
|
20358
|
+
readonly DISCOVER: "discover";
|
|
20359
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20360
|
+
}>;
|
|
20361
|
+
}, z.core.$strict>>;
|
|
20362
|
+
state: z.ZodLiteral<"collecting">;
|
|
20363
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20364
|
+
version: z.ZodNumber;
|
|
20365
|
+
namespace: z.ZodString;
|
|
20366
|
+
requestedUrl: z.ZodURL;
|
|
20367
|
+
window: z.ZodObject<{
|
|
20368
|
+
startDate: z.ZodISODate;
|
|
20369
|
+
endDate: z.ZodISODate;
|
|
20370
|
+
}, z.core.$strict>;
|
|
20371
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20372
|
+
table: z.ZodEnum<{
|
|
20373
|
+
pages: "pages";
|
|
20374
|
+
queries: "queries";
|
|
20375
|
+
countries: "countries";
|
|
20376
|
+
page_queries: "page_queries";
|
|
20377
|
+
dates: "dates";
|
|
20378
|
+
search_appearance: "search_appearance";
|
|
20379
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20380
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20381
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20382
|
+
hourly_pages: "hourly_pages";
|
|
20383
|
+
}>;
|
|
20384
|
+
searchType: z.ZodEnum<{
|
|
20385
|
+
readonly WEB: "web";
|
|
20386
|
+
readonly IMAGE: "image";
|
|
20387
|
+
readonly VIDEO: "video";
|
|
20388
|
+
readonly NEWS: "news";
|
|
20389
|
+
readonly DISCOVER: "discover";
|
|
20390
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20391
|
+
}>;
|
|
20392
|
+
}, z.core.$strict>>;
|
|
20393
|
+
state: z.ZodLiteral<"verified">;
|
|
20394
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20395
|
+
version: z.ZodNumber;
|
|
20396
|
+
namespace: z.ZodString;
|
|
20397
|
+
requestedUrl: z.ZodURL;
|
|
20398
|
+
window: z.ZodObject<{
|
|
20399
|
+
startDate: z.ZodISODate;
|
|
20400
|
+
endDate: z.ZodISODate;
|
|
20401
|
+
}, z.core.$strict>;
|
|
20402
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20403
|
+
table: z.ZodEnum<{
|
|
20404
|
+
pages: "pages";
|
|
20405
|
+
queries: "queries";
|
|
20406
|
+
countries: "countries";
|
|
20407
|
+
page_queries: "page_queries";
|
|
20408
|
+
dates: "dates";
|
|
20409
|
+
search_appearance: "search_appearance";
|
|
20410
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20411
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20412
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20413
|
+
hourly_pages: "hourly_pages";
|
|
20414
|
+
}>;
|
|
20415
|
+
searchType: z.ZodEnum<{
|
|
20416
|
+
readonly WEB: "web";
|
|
20417
|
+
readonly IMAGE: "image";
|
|
20418
|
+
readonly VIDEO: "video";
|
|
20419
|
+
readonly NEWS: "news";
|
|
20420
|
+
readonly DISCOVER: "discover";
|
|
20421
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20422
|
+
}>;
|
|
20423
|
+
}, z.core.$strict>>;
|
|
20424
|
+
state: z.ZodLiteral<"active">;
|
|
20425
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20426
|
+
version: z.ZodNumber;
|
|
20427
|
+
namespace: z.ZodString;
|
|
20428
|
+
requestedUrl: z.ZodURL;
|
|
20429
|
+
window: z.ZodObject<{
|
|
20430
|
+
startDate: z.ZodISODate;
|
|
20431
|
+
endDate: z.ZodISODate;
|
|
20432
|
+
}, z.core.$strict>;
|
|
20433
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20434
|
+
table: z.ZodEnum<{
|
|
20435
|
+
pages: "pages";
|
|
20436
|
+
queries: "queries";
|
|
20437
|
+
countries: "countries";
|
|
20438
|
+
page_queries: "page_queries";
|
|
20439
|
+
dates: "dates";
|
|
20440
|
+
search_appearance: "search_appearance";
|
|
20441
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20442
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20443
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20444
|
+
hourly_pages: "hourly_pages";
|
|
20445
|
+
}>;
|
|
20446
|
+
searchType: z.ZodEnum<{
|
|
20447
|
+
readonly WEB: "web";
|
|
20448
|
+
readonly IMAGE: "image";
|
|
20449
|
+
readonly VIDEO: "video";
|
|
20450
|
+
readonly NEWS: "news";
|
|
20451
|
+
readonly DISCOVER: "discover";
|
|
20452
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20453
|
+
}>;
|
|
20454
|
+
}, z.core.$strict>>;
|
|
20455
|
+
state: z.ZodLiteral<"aborted">;
|
|
20456
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20457
|
+
version: z.ZodNumber;
|
|
20458
|
+
namespace: z.ZodString;
|
|
20459
|
+
requestedUrl: z.ZodURL;
|
|
20460
|
+
window: z.ZodObject<{
|
|
20461
|
+
startDate: z.ZodISODate;
|
|
20462
|
+
endDate: z.ZodISODate;
|
|
20463
|
+
}, z.core.$strict>;
|
|
20464
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20465
|
+
table: z.ZodEnum<{
|
|
20466
|
+
pages: "pages";
|
|
20467
|
+
queries: "queries";
|
|
20468
|
+
countries: "countries";
|
|
20469
|
+
page_queries: "page_queries";
|
|
20470
|
+
dates: "dates";
|
|
20471
|
+
search_appearance: "search_appearance";
|
|
20472
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20473
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20474
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20475
|
+
hourly_pages: "hourly_pages";
|
|
20476
|
+
}>;
|
|
20477
|
+
searchType: z.ZodEnum<{
|
|
20478
|
+
readonly WEB: "web";
|
|
20479
|
+
readonly IMAGE: "image";
|
|
20480
|
+
readonly VIDEO: "video";
|
|
20481
|
+
readonly NEWS: "news";
|
|
20482
|
+
readonly DISCOVER: "discover";
|
|
20483
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20484
|
+
}>;
|
|
20485
|
+
}, z.core.$strict>>;
|
|
20486
|
+
state: z.ZodLiteral<"failed">;
|
|
20487
|
+
failure: z.ZodEnum<{
|
|
20488
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
20489
|
+
"identity-changed": "identity-changed";
|
|
20490
|
+
"host-reserved": "host-reserved";
|
|
20491
|
+
"not-eligible": "not-eligible";
|
|
20492
|
+
"property-unavailable": "property-unavailable";
|
|
20493
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
20494
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
20495
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
20496
|
+
"candidate-aborted": "candidate-aborted";
|
|
20497
|
+
"candidate-failed": "candidate-failed";
|
|
20498
|
+
}>;
|
|
20499
|
+
}, z.core.$strict>], "state">;
|
|
20500
|
+
meta: z.ZodObject<{
|
|
20501
|
+
readonly requestId: z.ZodString;
|
|
20502
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
20503
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
20504
|
+
}, z.core.$strip>;
|
|
20505
|
+
}, z.core.$strip>>;
|
|
20506
|
+
};
|
|
20507
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation", "conflict", "service_unavailable"];
|
|
20508
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
20509
|
+
readonly error: z.ZodObject<{
|
|
20510
|
+
code: z.ZodEnum<{
|
|
20511
|
+
internal_error: "internal_error";
|
|
20512
|
+
invalid_request: "invalid_request";
|
|
20513
|
+
unauthorized: "unauthorized";
|
|
20514
|
+
forbidden: "forbidden";
|
|
20515
|
+
site_not_found: "site_not_found";
|
|
20516
|
+
rate_limited: "rate_limited";
|
|
20517
|
+
conflict: "conflict";
|
|
20518
|
+
service_unavailable: "service_unavailable";
|
|
20519
|
+
contract_violation: "contract_violation";
|
|
20520
|
+
}>;
|
|
20521
|
+
message: z.ZodString;
|
|
20522
|
+
requestId: z.ZodString;
|
|
20523
|
+
retryable: z.ZodBoolean;
|
|
20524
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
20525
|
+
}, z.core.$strict>;
|
|
20526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20527
|
+
readonly error: z.ZodObject<{
|
|
20528
|
+
code: z.ZodEnum<{
|
|
20529
|
+
internal_error: "internal_error";
|
|
20530
|
+
invalid_request: "invalid_request";
|
|
20531
|
+
unauthorized: "unauthorized";
|
|
20532
|
+
forbidden: "forbidden";
|
|
20533
|
+
site_not_found: "site_not_found";
|
|
20534
|
+
rate_limited: "rate_limited";
|
|
20535
|
+
conflict: "conflict";
|
|
20536
|
+
service_unavailable: "service_unavailable";
|
|
20537
|
+
contract_violation: "contract_violation";
|
|
20538
|
+
}>;
|
|
20539
|
+
message: z.ZodString;
|
|
20540
|
+
requestId: z.ZodString;
|
|
20541
|
+
retryable: z.ZodBoolean;
|
|
20542
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
20543
|
+
}, z.core.$loose>;
|
|
20544
|
+
}, z.core.$strip>>;
|
|
20545
|
+
readonly resources: {
|
|
20546
|
+
readonly reads: readonly [{
|
|
20547
|
+
readonly type: "site.analytics";
|
|
20548
|
+
readonly idFrom: "params.siteId";
|
|
20549
|
+
}];
|
|
20550
|
+
readonly changes: readonly [{
|
|
20551
|
+
readonly type: "site.lifecycle";
|
|
20552
|
+
readonly idFrom: "params.siteId";
|
|
20553
|
+
}];
|
|
20554
|
+
};
|
|
20555
|
+
readonly lifecycle: {
|
|
20556
|
+
readonly introduced: "5.6.0";
|
|
20557
|
+
};
|
|
20558
|
+
readonly docs: {
|
|
20559
|
+
readonly summary: "Verify registered host correction";
|
|
20560
|
+
readonly description: "Requires completed Google collection and matching physical coverage for every required slice.";
|
|
20561
|
+
readonly tags: readonly ["Sites"];
|
|
20562
|
+
readonly examples: {
|
|
20563
|
+
readonly request: {
|
|
20564
|
+
readonly params: {
|
|
20565
|
+
readonly siteId: "s_01";
|
|
20566
|
+
};
|
|
20567
|
+
readonly body: {
|
|
20568
|
+
readonly version: 1;
|
|
20569
|
+
readonly identity: {
|
|
20570
|
+
siteId: string;
|
|
20571
|
+
userId: string;
|
|
20572
|
+
teamId: string;
|
|
20573
|
+
requestedUrl: string;
|
|
20574
|
+
catalogSiteId: number;
|
|
20575
|
+
warehouse: string;
|
|
20576
|
+
namespace: string;
|
|
20577
|
+
version: number;
|
|
20578
|
+
revision: number;
|
|
20579
|
+
catalogRevision: number;
|
|
20580
|
+
dataVersion: number;
|
|
20581
|
+
};
|
|
20582
|
+
};
|
|
20583
|
+
};
|
|
20584
|
+
readonly response: {
|
|
20585
|
+
readonly data: {
|
|
20586
|
+
readonly state: "verified";
|
|
20587
|
+
readonly version: number;
|
|
20588
|
+
readonly namespace: string;
|
|
20589
|
+
readonly requestedUrl: string;
|
|
20590
|
+
readonly window: {
|
|
20591
|
+
startDate: string;
|
|
20592
|
+
endDate: string;
|
|
20593
|
+
};
|
|
20594
|
+
readonly requiredSlices: {
|
|
20595
|
+
table: string;
|
|
20596
|
+
searchType: string;
|
|
20597
|
+
}[];
|
|
20598
|
+
};
|
|
20599
|
+
readonly meta: {
|
|
20600
|
+
requestId: string;
|
|
20601
|
+
surface: string;
|
|
20602
|
+
version: string;
|
|
20603
|
+
};
|
|
20604
|
+
};
|
|
20605
|
+
};
|
|
20606
|
+
};
|
|
20607
|
+
readonly id: "partner.sites.registered_host.verify";
|
|
20608
|
+
readonly method: "POST";
|
|
20609
|
+
readonly path: "/sites/{siteId}/registered-host/verify";
|
|
20610
|
+
};
|
|
20611
|
+
readonly promoteRegisteredHost: {
|
|
20612
|
+
readonly visibility: "public";
|
|
20613
|
+
readonly semantics: {
|
|
20614
|
+
readonly kind: "mutation";
|
|
20615
|
+
readonly sideEffects: "state";
|
|
20616
|
+
readonly idempotent: true;
|
|
20617
|
+
readonly retry: "idempotent";
|
|
20618
|
+
readonly readConsistency: null;
|
|
20619
|
+
};
|
|
20620
|
+
readonly auth: {
|
|
20621
|
+
readonly credentials: readonly ["partner_key"];
|
|
20622
|
+
readonly scopes: readonly ["sites:write"];
|
|
20623
|
+
readonly ownership: readonly [{
|
|
20624
|
+
readonly credential: "partner_key";
|
|
20625
|
+
readonly rule: "authorized_site";
|
|
20626
|
+
}];
|
|
20627
|
+
};
|
|
20628
|
+
readonly request: {
|
|
20629
|
+
readonly params: z.ZodObject<{
|
|
20630
|
+
siteId: z.ZodString;
|
|
20631
|
+
}, z.core.$strict>;
|
|
20632
|
+
readonly query: null;
|
|
20633
|
+
readonly headers: z.ZodObject<{
|
|
20634
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
20635
|
+
}, z.core.$strict>;
|
|
20636
|
+
readonly body: z.ZodObject<{
|
|
20637
|
+
version: z.ZodNumber;
|
|
20638
|
+
identity: z.ZodObject<{
|
|
20639
|
+
siteId: z.ZodString;
|
|
20640
|
+
userId: z.ZodString;
|
|
20641
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
20642
|
+
requestedUrl: z.ZodURL;
|
|
20643
|
+
catalogSiteId: z.ZodNumber;
|
|
20644
|
+
warehouse: z.ZodString;
|
|
20645
|
+
namespace: z.ZodString;
|
|
20646
|
+
version: z.ZodNumber;
|
|
20647
|
+
revision: z.ZodNumber;
|
|
20648
|
+
catalogRevision: z.ZodNumber;
|
|
20649
|
+
dataVersion: z.ZodNumber;
|
|
20650
|
+
}, z.core.$strict>;
|
|
20651
|
+
}, z.core.$strict>;
|
|
20652
|
+
};
|
|
20653
|
+
readonly responses: {
|
|
20654
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
20655
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20656
|
+
version: z.ZodNumber;
|
|
20657
|
+
namespace: z.ZodString;
|
|
20658
|
+
requestedUrl: z.ZodURL;
|
|
20659
|
+
window: z.ZodObject<{
|
|
20660
|
+
startDate: z.ZodISODate;
|
|
20661
|
+
endDate: z.ZodISODate;
|
|
20662
|
+
}, z.core.$strict>;
|
|
20663
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20664
|
+
table: z.ZodEnum<{
|
|
20665
|
+
pages: "pages";
|
|
20666
|
+
queries: "queries";
|
|
20667
|
+
countries: "countries";
|
|
20668
|
+
page_queries: "page_queries";
|
|
20669
|
+
dates: "dates";
|
|
20670
|
+
search_appearance: "search_appearance";
|
|
20671
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20672
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20673
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20674
|
+
hourly_pages: "hourly_pages";
|
|
20675
|
+
}>;
|
|
20676
|
+
searchType: z.ZodEnum<{
|
|
20677
|
+
readonly WEB: "web";
|
|
20678
|
+
readonly IMAGE: "image";
|
|
20679
|
+
readonly VIDEO: "video";
|
|
20680
|
+
readonly NEWS: "news";
|
|
20681
|
+
readonly DISCOVER: "discover";
|
|
20682
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20683
|
+
}>;
|
|
20684
|
+
}, z.core.$strict>>;
|
|
20685
|
+
state: z.ZodLiteral<"collecting">;
|
|
20686
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20687
|
+
version: z.ZodNumber;
|
|
20688
|
+
namespace: z.ZodString;
|
|
20689
|
+
requestedUrl: z.ZodURL;
|
|
20690
|
+
window: z.ZodObject<{
|
|
20691
|
+
startDate: z.ZodISODate;
|
|
20692
|
+
endDate: z.ZodISODate;
|
|
20693
|
+
}, z.core.$strict>;
|
|
20694
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20695
|
+
table: z.ZodEnum<{
|
|
20696
|
+
pages: "pages";
|
|
20697
|
+
queries: "queries";
|
|
20698
|
+
countries: "countries";
|
|
20699
|
+
page_queries: "page_queries";
|
|
20700
|
+
dates: "dates";
|
|
20701
|
+
search_appearance: "search_appearance";
|
|
20702
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20703
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20704
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20705
|
+
hourly_pages: "hourly_pages";
|
|
20706
|
+
}>;
|
|
20707
|
+
searchType: z.ZodEnum<{
|
|
20708
|
+
readonly WEB: "web";
|
|
20709
|
+
readonly IMAGE: "image";
|
|
20710
|
+
readonly VIDEO: "video";
|
|
20711
|
+
readonly NEWS: "news";
|
|
20712
|
+
readonly DISCOVER: "discover";
|
|
20713
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20714
|
+
}>;
|
|
20715
|
+
}, z.core.$strict>>;
|
|
20716
|
+
state: z.ZodLiteral<"verified">;
|
|
20717
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20718
|
+
version: z.ZodNumber;
|
|
20719
|
+
namespace: z.ZodString;
|
|
20720
|
+
requestedUrl: z.ZodURL;
|
|
20721
|
+
window: z.ZodObject<{
|
|
20722
|
+
startDate: z.ZodISODate;
|
|
20723
|
+
endDate: z.ZodISODate;
|
|
20724
|
+
}, z.core.$strict>;
|
|
20725
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20726
|
+
table: z.ZodEnum<{
|
|
20727
|
+
pages: "pages";
|
|
20728
|
+
queries: "queries";
|
|
20729
|
+
countries: "countries";
|
|
20730
|
+
page_queries: "page_queries";
|
|
20731
|
+
dates: "dates";
|
|
20732
|
+
search_appearance: "search_appearance";
|
|
20733
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20734
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20735
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20736
|
+
hourly_pages: "hourly_pages";
|
|
20737
|
+
}>;
|
|
20738
|
+
searchType: z.ZodEnum<{
|
|
20739
|
+
readonly WEB: "web";
|
|
20740
|
+
readonly IMAGE: "image";
|
|
20741
|
+
readonly VIDEO: "video";
|
|
20742
|
+
readonly NEWS: "news";
|
|
20743
|
+
readonly DISCOVER: "discover";
|
|
20744
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20745
|
+
}>;
|
|
20746
|
+
}, z.core.$strict>>;
|
|
20747
|
+
state: z.ZodLiteral<"active">;
|
|
20748
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20749
|
+
version: z.ZodNumber;
|
|
20750
|
+
namespace: z.ZodString;
|
|
20751
|
+
requestedUrl: z.ZodURL;
|
|
20752
|
+
window: z.ZodObject<{
|
|
20753
|
+
startDate: z.ZodISODate;
|
|
20754
|
+
endDate: z.ZodISODate;
|
|
20755
|
+
}, z.core.$strict>;
|
|
20756
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20757
|
+
table: z.ZodEnum<{
|
|
20758
|
+
pages: "pages";
|
|
20759
|
+
queries: "queries";
|
|
20760
|
+
countries: "countries";
|
|
20761
|
+
page_queries: "page_queries";
|
|
20762
|
+
dates: "dates";
|
|
20763
|
+
search_appearance: "search_appearance";
|
|
20764
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20765
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20766
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20767
|
+
hourly_pages: "hourly_pages";
|
|
20768
|
+
}>;
|
|
20769
|
+
searchType: z.ZodEnum<{
|
|
20770
|
+
readonly WEB: "web";
|
|
20771
|
+
readonly IMAGE: "image";
|
|
20772
|
+
readonly VIDEO: "video";
|
|
20773
|
+
readonly NEWS: "news";
|
|
20774
|
+
readonly DISCOVER: "discover";
|
|
20775
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20776
|
+
}>;
|
|
20777
|
+
}, z.core.$strict>>;
|
|
20778
|
+
state: z.ZodLiteral<"aborted">;
|
|
20779
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20780
|
+
version: z.ZodNumber;
|
|
20781
|
+
namespace: z.ZodString;
|
|
20782
|
+
requestedUrl: z.ZodURL;
|
|
20783
|
+
window: z.ZodObject<{
|
|
20784
|
+
startDate: z.ZodISODate;
|
|
20785
|
+
endDate: z.ZodISODate;
|
|
20786
|
+
}, z.core.$strict>;
|
|
20787
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20788
|
+
table: z.ZodEnum<{
|
|
20789
|
+
pages: "pages";
|
|
20790
|
+
queries: "queries";
|
|
20791
|
+
countries: "countries";
|
|
20792
|
+
page_queries: "page_queries";
|
|
20793
|
+
dates: "dates";
|
|
20794
|
+
search_appearance: "search_appearance";
|
|
20795
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20796
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20797
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20798
|
+
hourly_pages: "hourly_pages";
|
|
20799
|
+
}>;
|
|
20800
|
+
searchType: z.ZodEnum<{
|
|
20801
|
+
readonly WEB: "web";
|
|
20802
|
+
readonly IMAGE: "image";
|
|
20803
|
+
readonly VIDEO: "video";
|
|
20804
|
+
readonly NEWS: "news";
|
|
20805
|
+
readonly DISCOVER: "discover";
|
|
20806
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20807
|
+
}>;
|
|
20808
|
+
}, z.core.$strict>>;
|
|
20809
|
+
state: z.ZodLiteral<"failed">;
|
|
20810
|
+
failure: z.ZodEnum<{
|
|
20811
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
20812
|
+
"identity-changed": "identity-changed";
|
|
20813
|
+
"host-reserved": "host-reserved";
|
|
20814
|
+
"not-eligible": "not-eligible";
|
|
20815
|
+
"property-unavailable": "property-unavailable";
|
|
20816
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
20817
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
20818
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
20819
|
+
"candidate-aborted": "candidate-aborted";
|
|
20820
|
+
"candidate-failed": "candidate-failed";
|
|
20821
|
+
}>;
|
|
20822
|
+
}, z.core.$strict>], "state">;
|
|
20823
|
+
meta: z.ZodObject<{
|
|
20824
|
+
readonly requestId: z.ZodString;
|
|
20825
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
20826
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
20827
|
+
}, z.core.$strip>;
|
|
20828
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20829
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20830
|
+
version: z.ZodNumber;
|
|
20831
|
+
namespace: z.ZodString;
|
|
20832
|
+
requestedUrl: z.ZodURL;
|
|
20833
|
+
window: z.ZodObject<{
|
|
20834
|
+
startDate: z.ZodISODate;
|
|
20835
|
+
endDate: z.ZodISODate;
|
|
20836
|
+
}, z.core.$strict>;
|
|
20837
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20838
|
+
table: z.ZodEnum<{
|
|
20839
|
+
pages: "pages";
|
|
20840
|
+
queries: "queries";
|
|
20841
|
+
countries: "countries";
|
|
20842
|
+
page_queries: "page_queries";
|
|
20843
|
+
dates: "dates";
|
|
20844
|
+
search_appearance: "search_appearance";
|
|
20845
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20846
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20847
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20848
|
+
hourly_pages: "hourly_pages";
|
|
20849
|
+
}>;
|
|
20850
|
+
searchType: z.ZodEnum<{
|
|
20851
|
+
readonly WEB: "web";
|
|
20852
|
+
readonly IMAGE: "image";
|
|
20853
|
+
readonly VIDEO: "video";
|
|
20854
|
+
readonly NEWS: "news";
|
|
20855
|
+
readonly DISCOVER: "discover";
|
|
20856
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20857
|
+
}>;
|
|
20858
|
+
}, z.core.$strict>>;
|
|
20859
|
+
state: z.ZodLiteral<"collecting">;
|
|
20860
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20861
|
+
version: z.ZodNumber;
|
|
20862
|
+
namespace: z.ZodString;
|
|
20863
|
+
requestedUrl: z.ZodURL;
|
|
20864
|
+
window: z.ZodObject<{
|
|
20865
|
+
startDate: z.ZodISODate;
|
|
20866
|
+
endDate: z.ZodISODate;
|
|
20867
|
+
}, z.core.$strict>;
|
|
20868
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20869
|
+
table: z.ZodEnum<{
|
|
20870
|
+
pages: "pages";
|
|
20871
|
+
queries: "queries";
|
|
20872
|
+
countries: "countries";
|
|
20873
|
+
page_queries: "page_queries";
|
|
20874
|
+
dates: "dates";
|
|
20875
|
+
search_appearance: "search_appearance";
|
|
20876
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20877
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20878
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20879
|
+
hourly_pages: "hourly_pages";
|
|
20880
|
+
}>;
|
|
20881
|
+
searchType: z.ZodEnum<{
|
|
20882
|
+
readonly WEB: "web";
|
|
20883
|
+
readonly IMAGE: "image";
|
|
20884
|
+
readonly VIDEO: "video";
|
|
20885
|
+
readonly NEWS: "news";
|
|
20886
|
+
readonly DISCOVER: "discover";
|
|
20887
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20888
|
+
}>;
|
|
20889
|
+
}, z.core.$strict>>;
|
|
20890
|
+
state: z.ZodLiteral<"verified">;
|
|
20891
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20892
|
+
version: z.ZodNumber;
|
|
20893
|
+
namespace: z.ZodString;
|
|
20894
|
+
requestedUrl: z.ZodURL;
|
|
20895
|
+
window: z.ZodObject<{
|
|
20896
|
+
startDate: z.ZodISODate;
|
|
20897
|
+
endDate: z.ZodISODate;
|
|
20898
|
+
}, z.core.$strict>;
|
|
20899
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20900
|
+
table: z.ZodEnum<{
|
|
20901
|
+
pages: "pages";
|
|
20902
|
+
queries: "queries";
|
|
20903
|
+
countries: "countries";
|
|
20904
|
+
page_queries: "page_queries";
|
|
20905
|
+
dates: "dates";
|
|
20906
|
+
search_appearance: "search_appearance";
|
|
20907
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20908
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20909
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20910
|
+
hourly_pages: "hourly_pages";
|
|
20911
|
+
}>;
|
|
20912
|
+
searchType: z.ZodEnum<{
|
|
20913
|
+
readonly WEB: "web";
|
|
20914
|
+
readonly IMAGE: "image";
|
|
20915
|
+
readonly VIDEO: "video";
|
|
20916
|
+
readonly NEWS: "news";
|
|
20917
|
+
readonly DISCOVER: "discover";
|
|
20918
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20919
|
+
}>;
|
|
20920
|
+
}, z.core.$strict>>;
|
|
20921
|
+
state: z.ZodLiteral<"active">;
|
|
20922
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20923
|
+
version: z.ZodNumber;
|
|
20924
|
+
namespace: z.ZodString;
|
|
20925
|
+
requestedUrl: z.ZodURL;
|
|
20926
|
+
window: z.ZodObject<{
|
|
20927
|
+
startDate: z.ZodISODate;
|
|
20928
|
+
endDate: z.ZodISODate;
|
|
20929
|
+
}, z.core.$strict>;
|
|
20930
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20931
|
+
table: z.ZodEnum<{
|
|
20932
|
+
pages: "pages";
|
|
20933
|
+
queries: "queries";
|
|
20934
|
+
countries: "countries";
|
|
20935
|
+
page_queries: "page_queries";
|
|
20936
|
+
dates: "dates";
|
|
20937
|
+
search_appearance: "search_appearance";
|
|
20938
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20939
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20940
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20941
|
+
hourly_pages: "hourly_pages";
|
|
20942
|
+
}>;
|
|
20943
|
+
searchType: z.ZodEnum<{
|
|
20944
|
+
readonly WEB: "web";
|
|
20945
|
+
readonly IMAGE: "image";
|
|
20946
|
+
readonly VIDEO: "video";
|
|
20947
|
+
readonly NEWS: "news";
|
|
20948
|
+
readonly DISCOVER: "discover";
|
|
20949
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20950
|
+
}>;
|
|
20951
|
+
}, z.core.$strict>>;
|
|
20952
|
+
state: z.ZodLiteral<"aborted">;
|
|
20953
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20954
|
+
version: z.ZodNumber;
|
|
20955
|
+
namespace: z.ZodString;
|
|
20956
|
+
requestedUrl: z.ZodURL;
|
|
20957
|
+
window: z.ZodObject<{
|
|
20958
|
+
startDate: z.ZodISODate;
|
|
20959
|
+
endDate: z.ZodISODate;
|
|
20960
|
+
}, z.core.$strict>;
|
|
20961
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
20962
|
+
table: z.ZodEnum<{
|
|
20963
|
+
pages: "pages";
|
|
20964
|
+
queries: "queries";
|
|
20965
|
+
countries: "countries";
|
|
20966
|
+
page_queries: "page_queries";
|
|
20967
|
+
dates: "dates";
|
|
20968
|
+
search_appearance: "search_appearance";
|
|
20969
|
+
search_appearance_pages: "search_appearance_pages";
|
|
20970
|
+
search_appearance_queries: "search_appearance_queries";
|
|
20971
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
20972
|
+
hourly_pages: "hourly_pages";
|
|
20973
|
+
}>;
|
|
20974
|
+
searchType: z.ZodEnum<{
|
|
20975
|
+
readonly WEB: "web";
|
|
20976
|
+
readonly IMAGE: "image";
|
|
20977
|
+
readonly VIDEO: "video";
|
|
20978
|
+
readonly NEWS: "news";
|
|
20979
|
+
readonly DISCOVER: "discover";
|
|
20980
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
20981
|
+
}>;
|
|
20982
|
+
}, z.core.$strict>>;
|
|
20983
|
+
state: z.ZodLiteral<"failed">;
|
|
20984
|
+
failure: z.ZodEnum<{
|
|
20985
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
20986
|
+
"identity-changed": "identity-changed";
|
|
20987
|
+
"host-reserved": "host-reserved";
|
|
20988
|
+
"not-eligible": "not-eligible";
|
|
20989
|
+
"property-unavailable": "property-unavailable";
|
|
20990
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
20991
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
20992
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
20993
|
+
"candidate-aborted": "candidate-aborted";
|
|
20994
|
+
"candidate-failed": "candidate-failed";
|
|
20995
|
+
}>;
|
|
20996
|
+
}, z.core.$strict>], "state">;
|
|
20997
|
+
meta: z.ZodObject<{
|
|
20998
|
+
readonly requestId: z.ZodString;
|
|
20999
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
21000
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
21001
|
+
}, z.core.$strip>;
|
|
21002
|
+
}, z.core.$strip>>;
|
|
21003
|
+
};
|
|
21004
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation", "conflict", "service_unavailable"];
|
|
21005
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
21006
|
+
readonly error: z.ZodObject<{
|
|
21007
|
+
code: z.ZodEnum<{
|
|
21008
|
+
internal_error: "internal_error";
|
|
21009
|
+
invalid_request: "invalid_request";
|
|
21010
|
+
unauthorized: "unauthorized";
|
|
21011
|
+
forbidden: "forbidden";
|
|
21012
|
+
site_not_found: "site_not_found";
|
|
21013
|
+
rate_limited: "rate_limited";
|
|
21014
|
+
conflict: "conflict";
|
|
21015
|
+
service_unavailable: "service_unavailable";
|
|
21016
|
+
contract_violation: "contract_violation";
|
|
21017
|
+
}>;
|
|
21018
|
+
message: z.ZodString;
|
|
21019
|
+
requestId: z.ZodString;
|
|
21020
|
+
retryable: z.ZodBoolean;
|
|
21021
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
21022
|
+
}, z.core.$strict>;
|
|
21023
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21024
|
+
readonly error: z.ZodObject<{
|
|
21025
|
+
code: z.ZodEnum<{
|
|
21026
|
+
internal_error: "internal_error";
|
|
21027
|
+
invalid_request: "invalid_request";
|
|
21028
|
+
unauthorized: "unauthorized";
|
|
21029
|
+
forbidden: "forbidden";
|
|
21030
|
+
site_not_found: "site_not_found";
|
|
21031
|
+
rate_limited: "rate_limited";
|
|
21032
|
+
conflict: "conflict";
|
|
21033
|
+
service_unavailable: "service_unavailable";
|
|
21034
|
+
contract_violation: "contract_violation";
|
|
21035
|
+
}>;
|
|
21036
|
+
message: z.ZodString;
|
|
21037
|
+
requestId: z.ZodString;
|
|
21038
|
+
retryable: z.ZodBoolean;
|
|
21039
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
21040
|
+
}, z.core.$loose>;
|
|
21041
|
+
}, z.core.$strip>>;
|
|
21042
|
+
readonly resources: {
|
|
21043
|
+
readonly reads: readonly [{
|
|
21044
|
+
readonly type: "site.registration";
|
|
21045
|
+
readonly idFrom: "params.siteId";
|
|
21046
|
+
}];
|
|
21047
|
+
readonly changes: readonly [{
|
|
21048
|
+
readonly type: "site.registration";
|
|
21049
|
+
readonly idFrom: "params.siteId";
|
|
21050
|
+
}, {
|
|
21051
|
+
readonly type: "site.analytics";
|
|
21052
|
+
readonly idFrom: "params.siteId";
|
|
21053
|
+
}];
|
|
21054
|
+
};
|
|
21055
|
+
readonly lifecycle: {
|
|
21056
|
+
readonly introduced: "5.6.0";
|
|
21057
|
+
};
|
|
21058
|
+
readonly docs: {
|
|
21059
|
+
readonly summary: "Promote registered host correction";
|
|
21060
|
+
readonly description: "Atomically promotes a verified candidate while preserving Source and Catalog identities.";
|
|
21061
|
+
readonly tags: readonly ["Sites"];
|
|
21062
|
+
readonly examples: {
|
|
21063
|
+
readonly request: {
|
|
21064
|
+
readonly params: {
|
|
21065
|
+
readonly siteId: "s_01";
|
|
21066
|
+
};
|
|
21067
|
+
readonly body: {
|
|
21068
|
+
readonly version: 1;
|
|
21069
|
+
readonly identity: {
|
|
21070
|
+
siteId: string;
|
|
21071
|
+
userId: string;
|
|
21072
|
+
teamId: string;
|
|
21073
|
+
requestedUrl: string;
|
|
21074
|
+
catalogSiteId: number;
|
|
21075
|
+
warehouse: string;
|
|
21076
|
+
namespace: string;
|
|
21077
|
+
version: number;
|
|
21078
|
+
revision: number;
|
|
21079
|
+
catalogRevision: number;
|
|
21080
|
+
dataVersion: number;
|
|
21081
|
+
};
|
|
21082
|
+
};
|
|
21083
|
+
};
|
|
21084
|
+
readonly response: {
|
|
21085
|
+
readonly data: {
|
|
21086
|
+
readonly state: "active";
|
|
21087
|
+
readonly version: number;
|
|
21088
|
+
readonly namespace: string;
|
|
21089
|
+
readonly requestedUrl: string;
|
|
21090
|
+
readonly window: {
|
|
21091
|
+
startDate: string;
|
|
21092
|
+
endDate: string;
|
|
21093
|
+
};
|
|
21094
|
+
readonly requiredSlices: {
|
|
21095
|
+
table: string;
|
|
21096
|
+
searchType: string;
|
|
21097
|
+
}[];
|
|
21098
|
+
};
|
|
21099
|
+
readonly meta: {
|
|
21100
|
+
requestId: string;
|
|
21101
|
+
surface: string;
|
|
21102
|
+
version: string;
|
|
21103
|
+
};
|
|
21104
|
+
};
|
|
21105
|
+
};
|
|
21106
|
+
};
|
|
21107
|
+
readonly id: "partner.sites.registered_host.promote";
|
|
21108
|
+
readonly method: "POST";
|
|
21109
|
+
readonly path: "/sites/{siteId}/registered-host/promote";
|
|
21110
|
+
};
|
|
21111
|
+
readonly abortRegisteredHost: {
|
|
21112
|
+
readonly visibility: "public";
|
|
21113
|
+
readonly semantics: {
|
|
21114
|
+
readonly kind: "mutation";
|
|
21115
|
+
readonly sideEffects: "state";
|
|
21116
|
+
readonly idempotent: true;
|
|
21117
|
+
readonly retry: "idempotent";
|
|
21118
|
+
readonly readConsistency: null;
|
|
21119
|
+
};
|
|
21120
|
+
readonly auth: {
|
|
21121
|
+
readonly credentials: readonly ["partner_key"];
|
|
21122
|
+
readonly scopes: readonly ["sites:write"];
|
|
21123
|
+
readonly ownership: readonly [{
|
|
21124
|
+
readonly credential: "partner_key";
|
|
21125
|
+
readonly rule: "authorized_site";
|
|
21126
|
+
}];
|
|
21127
|
+
};
|
|
21128
|
+
readonly request: {
|
|
21129
|
+
readonly params: z.ZodObject<{
|
|
21130
|
+
siteId: z.ZodString;
|
|
21131
|
+
}, z.core.$strict>;
|
|
21132
|
+
readonly query: null;
|
|
21133
|
+
readonly headers: z.ZodObject<{
|
|
21134
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
21135
|
+
}, z.core.$strict>;
|
|
21136
|
+
readonly body: z.ZodObject<{
|
|
21137
|
+
version: z.ZodNumber;
|
|
21138
|
+
identity: z.ZodObject<{
|
|
21139
|
+
siteId: z.ZodString;
|
|
21140
|
+
userId: z.ZodString;
|
|
21141
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
21142
|
+
requestedUrl: z.ZodURL;
|
|
21143
|
+
catalogSiteId: z.ZodNumber;
|
|
21144
|
+
warehouse: z.ZodString;
|
|
21145
|
+
namespace: z.ZodString;
|
|
21146
|
+
version: z.ZodNumber;
|
|
21147
|
+
revision: z.ZodNumber;
|
|
21148
|
+
catalogRevision: z.ZodNumber;
|
|
21149
|
+
dataVersion: z.ZodNumber;
|
|
21150
|
+
}, z.core.$strict>;
|
|
21151
|
+
}, z.core.$strict>;
|
|
21152
|
+
};
|
|
21153
|
+
readonly responses: {
|
|
21154
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
21155
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21156
|
+
version: z.ZodNumber;
|
|
21157
|
+
namespace: z.ZodString;
|
|
21158
|
+
requestedUrl: z.ZodURL;
|
|
21159
|
+
window: z.ZodObject<{
|
|
21160
|
+
startDate: z.ZodISODate;
|
|
21161
|
+
endDate: z.ZodISODate;
|
|
21162
|
+
}, z.core.$strict>;
|
|
21163
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21164
|
+
table: z.ZodEnum<{
|
|
21165
|
+
pages: "pages";
|
|
21166
|
+
queries: "queries";
|
|
21167
|
+
countries: "countries";
|
|
21168
|
+
page_queries: "page_queries";
|
|
21169
|
+
dates: "dates";
|
|
21170
|
+
search_appearance: "search_appearance";
|
|
21171
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21172
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21173
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21174
|
+
hourly_pages: "hourly_pages";
|
|
21175
|
+
}>;
|
|
21176
|
+
searchType: z.ZodEnum<{
|
|
21177
|
+
readonly WEB: "web";
|
|
21178
|
+
readonly IMAGE: "image";
|
|
21179
|
+
readonly VIDEO: "video";
|
|
21180
|
+
readonly NEWS: "news";
|
|
21181
|
+
readonly DISCOVER: "discover";
|
|
21182
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21183
|
+
}>;
|
|
21184
|
+
}, z.core.$strict>>;
|
|
21185
|
+
state: z.ZodLiteral<"collecting">;
|
|
21186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21187
|
+
version: z.ZodNumber;
|
|
21188
|
+
namespace: z.ZodString;
|
|
21189
|
+
requestedUrl: z.ZodURL;
|
|
21190
|
+
window: z.ZodObject<{
|
|
21191
|
+
startDate: z.ZodISODate;
|
|
21192
|
+
endDate: z.ZodISODate;
|
|
21193
|
+
}, z.core.$strict>;
|
|
21194
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21195
|
+
table: z.ZodEnum<{
|
|
21196
|
+
pages: "pages";
|
|
21197
|
+
queries: "queries";
|
|
21198
|
+
countries: "countries";
|
|
21199
|
+
page_queries: "page_queries";
|
|
21200
|
+
dates: "dates";
|
|
21201
|
+
search_appearance: "search_appearance";
|
|
21202
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21203
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21204
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21205
|
+
hourly_pages: "hourly_pages";
|
|
21206
|
+
}>;
|
|
21207
|
+
searchType: z.ZodEnum<{
|
|
21208
|
+
readonly WEB: "web";
|
|
21209
|
+
readonly IMAGE: "image";
|
|
21210
|
+
readonly VIDEO: "video";
|
|
21211
|
+
readonly NEWS: "news";
|
|
21212
|
+
readonly DISCOVER: "discover";
|
|
21213
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21214
|
+
}>;
|
|
21215
|
+
}, z.core.$strict>>;
|
|
21216
|
+
state: z.ZodLiteral<"verified">;
|
|
21217
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21218
|
+
version: z.ZodNumber;
|
|
21219
|
+
namespace: z.ZodString;
|
|
21220
|
+
requestedUrl: z.ZodURL;
|
|
21221
|
+
window: z.ZodObject<{
|
|
21222
|
+
startDate: z.ZodISODate;
|
|
21223
|
+
endDate: z.ZodISODate;
|
|
21224
|
+
}, z.core.$strict>;
|
|
21225
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21226
|
+
table: z.ZodEnum<{
|
|
21227
|
+
pages: "pages";
|
|
21228
|
+
queries: "queries";
|
|
21229
|
+
countries: "countries";
|
|
21230
|
+
page_queries: "page_queries";
|
|
21231
|
+
dates: "dates";
|
|
21232
|
+
search_appearance: "search_appearance";
|
|
21233
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21234
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21235
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21236
|
+
hourly_pages: "hourly_pages";
|
|
21237
|
+
}>;
|
|
21238
|
+
searchType: z.ZodEnum<{
|
|
21239
|
+
readonly WEB: "web";
|
|
21240
|
+
readonly IMAGE: "image";
|
|
21241
|
+
readonly VIDEO: "video";
|
|
21242
|
+
readonly NEWS: "news";
|
|
21243
|
+
readonly DISCOVER: "discover";
|
|
21244
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21245
|
+
}>;
|
|
21246
|
+
}, z.core.$strict>>;
|
|
21247
|
+
state: z.ZodLiteral<"active">;
|
|
21248
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21249
|
+
version: z.ZodNumber;
|
|
21250
|
+
namespace: z.ZodString;
|
|
21251
|
+
requestedUrl: z.ZodURL;
|
|
21252
|
+
window: z.ZodObject<{
|
|
21253
|
+
startDate: z.ZodISODate;
|
|
21254
|
+
endDate: z.ZodISODate;
|
|
21255
|
+
}, z.core.$strict>;
|
|
21256
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21257
|
+
table: z.ZodEnum<{
|
|
21258
|
+
pages: "pages";
|
|
21259
|
+
queries: "queries";
|
|
21260
|
+
countries: "countries";
|
|
21261
|
+
page_queries: "page_queries";
|
|
21262
|
+
dates: "dates";
|
|
21263
|
+
search_appearance: "search_appearance";
|
|
21264
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21265
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21266
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21267
|
+
hourly_pages: "hourly_pages";
|
|
21268
|
+
}>;
|
|
21269
|
+
searchType: z.ZodEnum<{
|
|
21270
|
+
readonly WEB: "web";
|
|
21271
|
+
readonly IMAGE: "image";
|
|
21272
|
+
readonly VIDEO: "video";
|
|
21273
|
+
readonly NEWS: "news";
|
|
21274
|
+
readonly DISCOVER: "discover";
|
|
21275
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21276
|
+
}>;
|
|
21277
|
+
}, z.core.$strict>>;
|
|
21278
|
+
state: z.ZodLiteral<"aborted">;
|
|
21279
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21280
|
+
version: z.ZodNumber;
|
|
21281
|
+
namespace: z.ZodString;
|
|
21282
|
+
requestedUrl: z.ZodURL;
|
|
21283
|
+
window: z.ZodObject<{
|
|
21284
|
+
startDate: z.ZodISODate;
|
|
21285
|
+
endDate: z.ZodISODate;
|
|
21286
|
+
}, z.core.$strict>;
|
|
21287
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21288
|
+
table: z.ZodEnum<{
|
|
21289
|
+
pages: "pages";
|
|
21290
|
+
queries: "queries";
|
|
21291
|
+
countries: "countries";
|
|
21292
|
+
page_queries: "page_queries";
|
|
21293
|
+
dates: "dates";
|
|
21294
|
+
search_appearance: "search_appearance";
|
|
21295
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21296
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21297
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21298
|
+
hourly_pages: "hourly_pages";
|
|
21299
|
+
}>;
|
|
21300
|
+
searchType: z.ZodEnum<{
|
|
21301
|
+
readonly WEB: "web";
|
|
21302
|
+
readonly IMAGE: "image";
|
|
21303
|
+
readonly VIDEO: "video";
|
|
21304
|
+
readonly NEWS: "news";
|
|
21305
|
+
readonly DISCOVER: "discover";
|
|
21306
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21307
|
+
}>;
|
|
21308
|
+
}, z.core.$strict>>;
|
|
21309
|
+
state: z.ZodLiteral<"failed">;
|
|
21310
|
+
failure: z.ZodEnum<{
|
|
21311
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
21312
|
+
"identity-changed": "identity-changed";
|
|
21313
|
+
"host-reserved": "host-reserved";
|
|
21314
|
+
"not-eligible": "not-eligible";
|
|
21315
|
+
"property-unavailable": "property-unavailable";
|
|
21316
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
21317
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
21318
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
21319
|
+
"candidate-aborted": "candidate-aborted";
|
|
21320
|
+
"candidate-failed": "candidate-failed";
|
|
21321
|
+
}>;
|
|
21322
|
+
}, z.core.$strict>], "state">;
|
|
21323
|
+
meta: z.ZodObject<{
|
|
21324
|
+
readonly requestId: z.ZodString;
|
|
21325
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
21326
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
21327
|
+
}, z.core.$strip>;
|
|
21328
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21329
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21330
|
+
version: z.ZodNumber;
|
|
21331
|
+
namespace: z.ZodString;
|
|
21332
|
+
requestedUrl: z.ZodURL;
|
|
21333
|
+
window: z.ZodObject<{
|
|
21334
|
+
startDate: z.ZodISODate;
|
|
21335
|
+
endDate: z.ZodISODate;
|
|
21336
|
+
}, z.core.$strict>;
|
|
21337
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21338
|
+
table: z.ZodEnum<{
|
|
21339
|
+
pages: "pages";
|
|
21340
|
+
queries: "queries";
|
|
21341
|
+
countries: "countries";
|
|
21342
|
+
page_queries: "page_queries";
|
|
21343
|
+
dates: "dates";
|
|
21344
|
+
search_appearance: "search_appearance";
|
|
21345
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21346
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21347
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21348
|
+
hourly_pages: "hourly_pages";
|
|
21349
|
+
}>;
|
|
21350
|
+
searchType: z.ZodEnum<{
|
|
21351
|
+
readonly WEB: "web";
|
|
21352
|
+
readonly IMAGE: "image";
|
|
21353
|
+
readonly VIDEO: "video";
|
|
21354
|
+
readonly NEWS: "news";
|
|
21355
|
+
readonly DISCOVER: "discover";
|
|
21356
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21357
|
+
}>;
|
|
21358
|
+
}, z.core.$strict>>;
|
|
21359
|
+
state: z.ZodLiteral<"collecting">;
|
|
21360
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21361
|
+
version: z.ZodNumber;
|
|
21362
|
+
namespace: z.ZodString;
|
|
21363
|
+
requestedUrl: z.ZodURL;
|
|
21364
|
+
window: z.ZodObject<{
|
|
21365
|
+
startDate: z.ZodISODate;
|
|
21366
|
+
endDate: z.ZodISODate;
|
|
21367
|
+
}, z.core.$strict>;
|
|
21368
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21369
|
+
table: z.ZodEnum<{
|
|
21370
|
+
pages: "pages";
|
|
21371
|
+
queries: "queries";
|
|
21372
|
+
countries: "countries";
|
|
21373
|
+
page_queries: "page_queries";
|
|
21374
|
+
dates: "dates";
|
|
21375
|
+
search_appearance: "search_appearance";
|
|
21376
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21377
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21378
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21379
|
+
hourly_pages: "hourly_pages";
|
|
21380
|
+
}>;
|
|
21381
|
+
searchType: z.ZodEnum<{
|
|
21382
|
+
readonly WEB: "web";
|
|
21383
|
+
readonly IMAGE: "image";
|
|
21384
|
+
readonly VIDEO: "video";
|
|
21385
|
+
readonly NEWS: "news";
|
|
21386
|
+
readonly DISCOVER: "discover";
|
|
21387
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21388
|
+
}>;
|
|
21389
|
+
}, z.core.$strict>>;
|
|
21390
|
+
state: z.ZodLiteral<"verified">;
|
|
21391
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21392
|
+
version: z.ZodNumber;
|
|
21393
|
+
namespace: z.ZodString;
|
|
21394
|
+
requestedUrl: z.ZodURL;
|
|
21395
|
+
window: z.ZodObject<{
|
|
21396
|
+
startDate: z.ZodISODate;
|
|
21397
|
+
endDate: z.ZodISODate;
|
|
21398
|
+
}, z.core.$strict>;
|
|
21399
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21400
|
+
table: z.ZodEnum<{
|
|
21401
|
+
pages: "pages";
|
|
21402
|
+
queries: "queries";
|
|
21403
|
+
countries: "countries";
|
|
21404
|
+
page_queries: "page_queries";
|
|
21405
|
+
dates: "dates";
|
|
21406
|
+
search_appearance: "search_appearance";
|
|
21407
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21408
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21409
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21410
|
+
hourly_pages: "hourly_pages";
|
|
21411
|
+
}>;
|
|
21412
|
+
searchType: z.ZodEnum<{
|
|
21413
|
+
readonly WEB: "web";
|
|
21414
|
+
readonly IMAGE: "image";
|
|
21415
|
+
readonly VIDEO: "video";
|
|
21416
|
+
readonly NEWS: "news";
|
|
21417
|
+
readonly DISCOVER: "discover";
|
|
21418
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21419
|
+
}>;
|
|
21420
|
+
}, z.core.$strict>>;
|
|
21421
|
+
state: z.ZodLiteral<"active">;
|
|
21422
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21423
|
+
version: z.ZodNumber;
|
|
21424
|
+
namespace: z.ZodString;
|
|
21425
|
+
requestedUrl: z.ZodURL;
|
|
21426
|
+
window: z.ZodObject<{
|
|
21427
|
+
startDate: z.ZodISODate;
|
|
21428
|
+
endDate: z.ZodISODate;
|
|
21429
|
+
}, z.core.$strict>;
|
|
21430
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21431
|
+
table: z.ZodEnum<{
|
|
21432
|
+
pages: "pages";
|
|
21433
|
+
queries: "queries";
|
|
21434
|
+
countries: "countries";
|
|
21435
|
+
page_queries: "page_queries";
|
|
21436
|
+
dates: "dates";
|
|
21437
|
+
search_appearance: "search_appearance";
|
|
21438
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21439
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21440
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21441
|
+
hourly_pages: "hourly_pages";
|
|
21442
|
+
}>;
|
|
21443
|
+
searchType: z.ZodEnum<{
|
|
21444
|
+
readonly WEB: "web";
|
|
21445
|
+
readonly IMAGE: "image";
|
|
21446
|
+
readonly VIDEO: "video";
|
|
21447
|
+
readonly NEWS: "news";
|
|
21448
|
+
readonly DISCOVER: "discover";
|
|
21449
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21450
|
+
}>;
|
|
21451
|
+
}, z.core.$strict>>;
|
|
21452
|
+
state: z.ZodLiteral<"aborted">;
|
|
21453
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21454
|
+
version: z.ZodNumber;
|
|
21455
|
+
namespace: z.ZodString;
|
|
21456
|
+
requestedUrl: z.ZodURL;
|
|
21457
|
+
window: z.ZodObject<{
|
|
21458
|
+
startDate: z.ZodISODate;
|
|
21459
|
+
endDate: z.ZodISODate;
|
|
21460
|
+
}, z.core.$strict>;
|
|
21461
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21462
|
+
table: z.ZodEnum<{
|
|
21463
|
+
pages: "pages";
|
|
21464
|
+
queries: "queries";
|
|
21465
|
+
countries: "countries";
|
|
21466
|
+
page_queries: "page_queries";
|
|
21467
|
+
dates: "dates";
|
|
21468
|
+
search_appearance: "search_appearance";
|
|
21469
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21470
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21471
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21472
|
+
hourly_pages: "hourly_pages";
|
|
21473
|
+
}>;
|
|
21474
|
+
searchType: z.ZodEnum<{
|
|
21475
|
+
readonly WEB: "web";
|
|
21476
|
+
readonly IMAGE: "image";
|
|
21477
|
+
readonly VIDEO: "video";
|
|
21478
|
+
readonly NEWS: "news";
|
|
21479
|
+
readonly DISCOVER: "discover";
|
|
21480
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21481
|
+
}>;
|
|
21482
|
+
}, z.core.$strict>>;
|
|
21483
|
+
state: z.ZodLiteral<"failed">;
|
|
21484
|
+
failure: z.ZodEnum<{
|
|
21485
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
21486
|
+
"identity-changed": "identity-changed";
|
|
21487
|
+
"host-reserved": "host-reserved";
|
|
21488
|
+
"not-eligible": "not-eligible";
|
|
21489
|
+
"property-unavailable": "property-unavailable";
|
|
21490
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
21491
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
21492
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
21493
|
+
"candidate-aborted": "candidate-aborted";
|
|
21494
|
+
"candidate-failed": "candidate-failed";
|
|
21495
|
+
}>;
|
|
21496
|
+
}, z.core.$strict>], "state">;
|
|
21497
|
+
meta: z.ZodObject<{
|
|
21498
|
+
readonly requestId: z.ZodString;
|
|
21499
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
21500
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
21501
|
+
}, z.core.$strip>;
|
|
21502
|
+
}, z.core.$strip>>;
|
|
21503
|
+
};
|
|
21504
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation", "conflict", "service_unavailable"];
|
|
21505
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
21506
|
+
readonly error: z.ZodObject<{
|
|
21507
|
+
code: z.ZodEnum<{
|
|
21508
|
+
internal_error: "internal_error";
|
|
21509
|
+
invalid_request: "invalid_request";
|
|
21510
|
+
unauthorized: "unauthorized";
|
|
21511
|
+
forbidden: "forbidden";
|
|
21512
|
+
site_not_found: "site_not_found";
|
|
21513
|
+
rate_limited: "rate_limited";
|
|
21514
|
+
conflict: "conflict";
|
|
21515
|
+
service_unavailable: "service_unavailable";
|
|
21516
|
+
contract_violation: "contract_violation";
|
|
21517
|
+
}>;
|
|
21518
|
+
message: z.ZodString;
|
|
21519
|
+
requestId: z.ZodString;
|
|
21520
|
+
retryable: z.ZodBoolean;
|
|
21521
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
21522
|
+
}, z.core.$strict>;
|
|
21523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21524
|
+
readonly error: z.ZodObject<{
|
|
21525
|
+
code: z.ZodEnum<{
|
|
21526
|
+
internal_error: "internal_error";
|
|
21527
|
+
invalid_request: "invalid_request";
|
|
21528
|
+
unauthorized: "unauthorized";
|
|
21529
|
+
forbidden: "forbidden";
|
|
21530
|
+
site_not_found: "site_not_found";
|
|
21531
|
+
rate_limited: "rate_limited";
|
|
21532
|
+
conflict: "conflict";
|
|
21533
|
+
service_unavailable: "service_unavailable";
|
|
21534
|
+
contract_violation: "contract_violation";
|
|
21535
|
+
}>;
|
|
21536
|
+
message: z.ZodString;
|
|
21537
|
+
requestId: z.ZodString;
|
|
21538
|
+
retryable: z.ZodBoolean;
|
|
21539
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
21540
|
+
}, z.core.$loose>;
|
|
21541
|
+
}, z.core.$strip>>;
|
|
21542
|
+
readonly resources: {
|
|
21543
|
+
readonly reads: readonly [{
|
|
21544
|
+
readonly type: "site.registration";
|
|
21545
|
+
readonly idFrom: "params.siteId";
|
|
21546
|
+
}];
|
|
21547
|
+
readonly changes: readonly [{
|
|
21548
|
+
readonly type: "site.lifecycle";
|
|
21549
|
+
readonly idFrom: "params.siteId";
|
|
21550
|
+
}];
|
|
21551
|
+
};
|
|
21552
|
+
readonly lifecycle: {
|
|
21553
|
+
readonly introduced: "5.6.0";
|
|
21554
|
+
};
|
|
21555
|
+
readonly docs: {
|
|
21556
|
+
readonly summary: "Abort registered host correction";
|
|
21557
|
+
readonly description: "Excludes the candidate. Historical tables and the active Site version remain preserved.";
|
|
21558
|
+
readonly tags: readonly ["Sites"];
|
|
21559
|
+
readonly examples: {
|
|
21560
|
+
readonly request: {
|
|
21561
|
+
readonly params: {
|
|
21562
|
+
readonly siteId: "s_01";
|
|
21563
|
+
};
|
|
21564
|
+
readonly body: {
|
|
21565
|
+
readonly version: 1;
|
|
21566
|
+
readonly identity: {
|
|
21567
|
+
siteId: string;
|
|
21568
|
+
userId: string;
|
|
21569
|
+
teamId: string;
|
|
21570
|
+
requestedUrl: string;
|
|
21571
|
+
catalogSiteId: number;
|
|
21572
|
+
warehouse: string;
|
|
21573
|
+
namespace: string;
|
|
21574
|
+
version: number;
|
|
21575
|
+
revision: number;
|
|
21576
|
+
catalogRevision: number;
|
|
21577
|
+
dataVersion: number;
|
|
21578
|
+
};
|
|
21579
|
+
};
|
|
21580
|
+
};
|
|
21581
|
+
readonly response: {
|
|
21582
|
+
readonly data: {
|
|
21583
|
+
readonly state: "aborted";
|
|
21584
|
+
readonly version: number;
|
|
21585
|
+
readonly namespace: string;
|
|
21586
|
+
readonly requestedUrl: string;
|
|
21587
|
+
readonly window: {
|
|
21588
|
+
startDate: string;
|
|
21589
|
+
endDate: string;
|
|
21590
|
+
};
|
|
21591
|
+
readonly requiredSlices: {
|
|
21592
|
+
table: string;
|
|
21593
|
+
searchType: string;
|
|
21594
|
+
}[];
|
|
21595
|
+
};
|
|
21596
|
+
readonly meta: {
|
|
21597
|
+
requestId: string;
|
|
21598
|
+
surface: string;
|
|
21599
|
+
version: string;
|
|
21600
|
+
};
|
|
21601
|
+
};
|
|
21602
|
+
};
|
|
21603
|
+
};
|
|
21604
|
+
readonly id: "partner.sites.registered_host.abort";
|
|
21605
|
+
readonly method: "POST";
|
|
21606
|
+
readonly path: "/sites/{siteId}/registered-host/abort";
|
|
21607
|
+
};
|
|
21608
|
+
readonly rollbackRegisteredHost: {
|
|
21609
|
+
readonly visibility: "public";
|
|
21610
|
+
readonly semantics: {
|
|
21611
|
+
readonly kind: "mutation";
|
|
21612
|
+
readonly sideEffects: "state";
|
|
21613
|
+
readonly idempotent: true;
|
|
21614
|
+
readonly retry: "idempotent";
|
|
21615
|
+
readonly readConsistency: null;
|
|
21616
|
+
};
|
|
21617
|
+
readonly auth: {
|
|
21618
|
+
readonly credentials: readonly ["partner_key"];
|
|
21619
|
+
readonly scopes: readonly ["sites:write"];
|
|
21620
|
+
readonly ownership: readonly [{
|
|
21621
|
+
readonly credential: "partner_key";
|
|
21622
|
+
readonly rule: "authorized_site";
|
|
21623
|
+
}];
|
|
21624
|
+
};
|
|
21625
|
+
readonly request: {
|
|
21626
|
+
readonly params: z.ZodObject<{
|
|
21627
|
+
siteId: z.ZodString;
|
|
21628
|
+
}, z.core.$strict>;
|
|
21629
|
+
readonly query: null;
|
|
21630
|
+
readonly headers: z.ZodObject<{
|
|
21631
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
21632
|
+
}, z.core.$strict>;
|
|
21633
|
+
readonly body: z.ZodObject<{
|
|
21634
|
+
version: z.ZodNumber;
|
|
21635
|
+
identity: z.ZodObject<{
|
|
21636
|
+
siteId: z.ZodString;
|
|
21637
|
+
userId: z.ZodString;
|
|
21638
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
21639
|
+
requestedUrl: z.ZodURL;
|
|
21640
|
+
catalogSiteId: z.ZodNumber;
|
|
21641
|
+
warehouse: z.ZodString;
|
|
21642
|
+
namespace: z.ZodString;
|
|
21643
|
+
version: z.ZodNumber;
|
|
21644
|
+
revision: z.ZodNumber;
|
|
21645
|
+
catalogRevision: z.ZodNumber;
|
|
21646
|
+
dataVersion: z.ZodNumber;
|
|
21647
|
+
}, z.core.$strict>;
|
|
21648
|
+
}, z.core.$strict>;
|
|
21649
|
+
};
|
|
21650
|
+
readonly responses: {
|
|
21651
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
21652
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21653
|
+
version: z.ZodNumber;
|
|
21654
|
+
namespace: z.ZodString;
|
|
21655
|
+
requestedUrl: z.ZodURL;
|
|
21656
|
+
window: z.ZodObject<{
|
|
21657
|
+
startDate: z.ZodISODate;
|
|
21658
|
+
endDate: z.ZodISODate;
|
|
21659
|
+
}, z.core.$strict>;
|
|
21660
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21661
|
+
table: z.ZodEnum<{
|
|
21662
|
+
pages: "pages";
|
|
21663
|
+
queries: "queries";
|
|
21664
|
+
countries: "countries";
|
|
21665
|
+
page_queries: "page_queries";
|
|
21666
|
+
dates: "dates";
|
|
21667
|
+
search_appearance: "search_appearance";
|
|
21668
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21669
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21670
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21671
|
+
hourly_pages: "hourly_pages";
|
|
21672
|
+
}>;
|
|
21673
|
+
searchType: z.ZodEnum<{
|
|
21674
|
+
readonly WEB: "web";
|
|
21675
|
+
readonly IMAGE: "image";
|
|
21676
|
+
readonly VIDEO: "video";
|
|
21677
|
+
readonly NEWS: "news";
|
|
21678
|
+
readonly DISCOVER: "discover";
|
|
21679
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21680
|
+
}>;
|
|
21681
|
+
}, z.core.$strict>>;
|
|
21682
|
+
state: z.ZodLiteral<"collecting">;
|
|
21683
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21684
|
+
version: z.ZodNumber;
|
|
21685
|
+
namespace: z.ZodString;
|
|
21686
|
+
requestedUrl: z.ZodURL;
|
|
21687
|
+
window: z.ZodObject<{
|
|
21688
|
+
startDate: z.ZodISODate;
|
|
21689
|
+
endDate: z.ZodISODate;
|
|
21690
|
+
}, z.core.$strict>;
|
|
21691
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21692
|
+
table: z.ZodEnum<{
|
|
21693
|
+
pages: "pages";
|
|
21694
|
+
queries: "queries";
|
|
21695
|
+
countries: "countries";
|
|
21696
|
+
page_queries: "page_queries";
|
|
21697
|
+
dates: "dates";
|
|
21698
|
+
search_appearance: "search_appearance";
|
|
21699
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21700
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21701
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21702
|
+
hourly_pages: "hourly_pages";
|
|
21703
|
+
}>;
|
|
21704
|
+
searchType: z.ZodEnum<{
|
|
21705
|
+
readonly WEB: "web";
|
|
21706
|
+
readonly IMAGE: "image";
|
|
21707
|
+
readonly VIDEO: "video";
|
|
21708
|
+
readonly NEWS: "news";
|
|
21709
|
+
readonly DISCOVER: "discover";
|
|
21710
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21711
|
+
}>;
|
|
21712
|
+
}, z.core.$strict>>;
|
|
21713
|
+
state: z.ZodLiteral<"verified">;
|
|
21714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21715
|
+
version: z.ZodNumber;
|
|
21716
|
+
namespace: z.ZodString;
|
|
21717
|
+
requestedUrl: z.ZodURL;
|
|
21718
|
+
window: z.ZodObject<{
|
|
21719
|
+
startDate: z.ZodISODate;
|
|
21720
|
+
endDate: z.ZodISODate;
|
|
21721
|
+
}, z.core.$strict>;
|
|
21722
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21723
|
+
table: z.ZodEnum<{
|
|
21724
|
+
pages: "pages";
|
|
21725
|
+
queries: "queries";
|
|
21726
|
+
countries: "countries";
|
|
21727
|
+
page_queries: "page_queries";
|
|
21728
|
+
dates: "dates";
|
|
21729
|
+
search_appearance: "search_appearance";
|
|
21730
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21731
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21732
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21733
|
+
hourly_pages: "hourly_pages";
|
|
21734
|
+
}>;
|
|
21735
|
+
searchType: z.ZodEnum<{
|
|
21736
|
+
readonly WEB: "web";
|
|
21737
|
+
readonly IMAGE: "image";
|
|
21738
|
+
readonly VIDEO: "video";
|
|
21739
|
+
readonly NEWS: "news";
|
|
21740
|
+
readonly DISCOVER: "discover";
|
|
21741
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21742
|
+
}>;
|
|
21743
|
+
}, z.core.$strict>>;
|
|
21744
|
+
state: z.ZodLiteral<"active">;
|
|
21745
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21746
|
+
version: z.ZodNumber;
|
|
21747
|
+
namespace: z.ZodString;
|
|
21748
|
+
requestedUrl: z.ZodURL;
|
|
21749
|
+
window: z.ZodObject<{
|
|
21750
|
+
startDate: z.ZodISODate;
|
|
21751
|
+
endDate: z.ZodISODate;
|
|
21752
|
+
}, z.core.$strict>;
|
|
21753
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21754
|
+
table: z.ZodEnum<{
|
|
21755
|
+
pages: "pages";
|
|
21756
|
+
queries: "queries";
|
|
21757
|
+
countries: "countries";
|
|
21758
|
+
page_queries: "page_queries";
|
|
21759
|
+
dates: "dates";
|
|
21760
|
+
search_appearance: "search_appearance";
|
|
21761
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21762
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21763
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21764
|
+
hourly_pages: "hourly_pages";
|
|
21765
|
+
}>;
|
|
21766
|
+
searchType: z.ZodEnum<{
|
|
21767
|
+
readonly WEB: "web";
|
|
21768
|
+
readonly IMAGE: "image";
|
|
21769
|
+
readonly VIDEO: "video";
|
|
21770
|
+
readonly NEWS: "news";
|
|
21771
|
+
readonly DISCOVER: "discover";
|
|
21772
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21773
|
+
}>;
|
|
21774
|
+
}, z.core.$strict>>;
|
|
21775
|
+
state: z.ZodLiteral<"aborted">;
|
|
21776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21777
|
+
version: z.ZodNumber;
|
|
21778
|
+
namespace: z.ZodString;
|
|
21779
|
+
requestedUrl: z.ZodURL;
|
|
21780
|
+
window: z.ZodObject<{
|
|
21781
|
+
startDate: z.ZodISODate;
|
|
21782
|
+
endDate: z.ZodISODate;
|
|
21783
|
+
}, z.core.$strict>;
|
|
21784
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21785
|
+
table: z.ZodEnum<{
|
|
21786
|
+
pages: "pages";
|
|
21787
|
+
queries: "queries";
|
|
21788
|
+
countries: "countries";
|
|
21789
|
+
page_queries: "page_queries";
|
|
21790
|
+
dates: "dates";
|
|
21791
|
+
search_appearance: "search_appearance";
|
|
21792
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21793
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21794
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21795
|
+
hourly_pages: "hourly_pages";
|
|
21796
|
+
}>;
|
|
21797
|
+
searchType: z.ZodEnum<{
|
|
21798
|
+
readonly WEB: "web";
|
|
21799
|
+
readonly IMAGE: "image";
|
|
21800
|
+
readonly VIDEO: "video";
|
|
21801
|
+
readonly NEWS: "news";
|
|
21802
|
+
readonly DISCOVER: "discover";
|
|
21803
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21804
|
+
}>;
|
|
21805
|
+
}, z.core.$strict>>;
|
|
21806
|
+
state: z.ZodLiteral<"failed">;
|
|
21807
|
+
failure: z.ZodEnum<{
|
|
21808
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
21809
|
+
"identity-changed": "identity-changed";
|
|
21810
|
+
"host-reserved": "host-reserved";
|
|
21811
|
+
"not-eligible": "not-eligible";
|
|
21812
|
+
"property-unavailable": "property-unavailable";
|
|
21813
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
21814
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
21815
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
21816
|
+
"candidate-aborted": "candidate-aborted";
|
|
21817
|
+
"candidate-failed": "candidate-failed";
|
|
21818
|
+
}>;
|
|
21819
|
+
}, z.core.$strict>], "state">;
|
|
21820
|
+
meta: z.ZodObject<{
|
|
21821
|
+
readonly requestId: z.ZodString;
|
|
21822
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
21823
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
21824
|
+
}, z.core.$strip>;
|
|
21825
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21826
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21827
|
+
version: z.ZodNumber;
|
|
21828
|
+
namespace: z.ZodString;
|
|
21829
|
+
requestedUrl: z.ZodURL;
|
|
21830
|
+
window: z.ZodObject<{
|
|
21831
|
+
startDate: z.ZodISODate;
|
|
21832
|
+
endDate: z.ZodISODate;
|
|
21833
|
+
}, z.core.$strict>;
|
|
21834
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21835
|
+
table: z.ZodEnum<{
|
|
21836
|
+
pages: "pages";
|
|
21837
|
+
queries: "queries";
|
|
21838
|
+
countries: "countries";
|
|
21839
|
+
page_queries: "page_queries";
|
|
21840
|
+
dates: "dates";
|
|
21841
|
+
search_appearance: "search_appearance";
|
|
21842
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21843
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21844
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21845
|
+
hourly_pages: "hourly_pages";
|
|
21846
|
+
}>;
|
|
21847
|
+
searchType: z.ZodEnum<{
|
|
21848
|
+
readonly WEB: "web";
|
|
21849
|
+
readonly IMAGE: "image";
|
|
21850
|
+
readonly VIDEO: "video";
|
|
21851
|
+
readonly NEWS: "news";
|
|
21852
|
+
readonly DISCOVER: "discover";
|
|
21853
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21854
|
+
}>;
|
|
21855
|
+
}, z.core.$strict>>;
|
|
21856
|
+
state: z.ZodLiteral<"collecting">;
|
|
21857
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21858
|
+
version: z.ZodNumber;
|
|
21859
|
+
namespace: z.ZodString;
|
|
21860
|
+
requestedUrl: z.ZodURL;
|
|
21861
|
+
window: z.ZodObject<{
|
|
21862
|
+
startDate: z.ZodISODate;
|
|
21863
|
+
endDate: z.ZodISODate;
|
|
21864
|
+
}, z.core.$strict>;
|
|
21865
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21866
|
+
table: z.ZodEnum<{
|
|
21867
|
+
pages: "pages";
|
|
21868
|
+
queries: "queries";
|
|
21869
|
+
countries: "countries";
|
|
21870
|
+
page_queries: "page_queries";
|
|
21871
|
+
dates: "dates";
|
|
21872
|
+
search_appearance: "search_appearance";
|
|
21873
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21874
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21875
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21876
|
+
hourly_pages: "hourly_pages";
|
|
21877
|
+
}>;
|
|
21878
|
+
searchType: z.ZodEnum<{
|
|
21879
|
+
readonly WEB: "web";
|
|
21880
|
+
readonly IMAGE: "image";
|
|
21881
|
+
readonly VIDEO: "video";
|
|
21882
|
+
readonly NEWS: "news";
|
|
21883
|
+
readonly DISCOVER: "discover";
|
|
21884
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21885
|
+
}>;
|
|
21886
|
+
}, z.core.$strict>>;
|
|
21887
|
+
state: z.ZodLiteral<"verified">;
|
|
21888
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21889
|
+
version: z.ZodNumber;
|
|
21890
|
+
namespace: z.ZodString;
|
|
21891
|
+
requestedUrl: z.ZodURL;
|
|
21892
|
+
window: z.ZodObject<{
|
|
21893
|
+
startDate: z.ZodISODate;
|
|
21894
|
+
endDate: z.ZodISODate;
|
|
21895
|
+
}, z.core.$strict>;
|
|
21896
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21897
|
+
table: z.ZodEnum<{
|
|
21898
|
+
pages: "pages";
|
|
21899
|
+
queries: "queries";
|
|
21900
|
+
countries: "countries";
|
|
21901
|
+
page_queries: "page_queries";
|
|
21902
|
+
dates: "dates";
|
|
21903
|
+
search_appearance: "search_appearance";
|
|
21904
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21905
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21906
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21907
|
+
hourly_pages: "hourly_pages";
|
|
21908
|
+
}>;
|
|
21909
|
+
searchType: z.ZodEnum<{
|
|
21910
|
+
readonly WEB: "web";
|
|
21911
|
+
readonly IMAGE: "image";
|
|
21912
|
+
readonly VIDEO: "video";
|
|
21913
|
+
readonly NEWS: "news";
|
|
21914
|
+
readonly DISCOVER: "discover";
|
|
21915
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21916
|
+
}>;
|
|
21917
|
+
}, z.core.$strict>>;
|
|
21918
|
+
state: z.ZodLiteral<"active">;
|
|
21919
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21920
|
+
version: z.ZodNumber;
|
|
21921
|
+
namespace: z.ZodString;
|
|
21922
|
+
requestedUrl: z.ZodURL;
|
|
21923
|
+
window: z.ZodObject<{
|
|
21924
|
+
startDate: z.ZodISODate;
|
|
21925
|
+
endDate: z.ZodISODate;
|
|
21926
|
+
}, z.core.$strict>;
|
|
21927
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21928
|
+
table: z.ZodEnum<{
|
|
21929
|
+
pages: "pages";
|
|
21930
|
+
queries: "queries";
|
|
21931
|
+
countries: "countries";
|
|
21932
|
+
page_queries: "page_queries";
|
|
21933
|
+
dates: "dates";
|
|
21934
|
+
search_appearance: "search_appearance";
|
|
21935
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21936
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21937
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21938
|
+
hourly_pages: "hourly_pages";
|
|
21939
|
+
}>;
|
|
21940
|
+
searchType: z.ZodEnum<{
|
|
21941
|
+
readonly WEB: "web";
|
|
21942
|
+
readonly IMAGE: "image";
|
|
21943
|
+
readonly VIDEO: "video";
|
|
21944
|
+
readonly NEWS: "news";
|
|
21945
|
+
readonly DISCOVER: "discover";
|
|
21946
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21947
|
+
}>;
|
|
21948
|
+
}, z.core.$strict>>;
|
|
21949
|
+
state: z.ZodLiteral<"aborted">;
|
|
21950
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21951
|
+
version: z.ZodNumber;
|
|
21952
|
+
namespace: z.ZodString;
|
|
21953
|
+
requestedUrl: z.ZodURL;
|
|
21954
|
+
window: z.ZodObject<{
|
|
21955
|
+
startDate: z.ZodISODate;
|
|
21956
|
+
endDate: z.ZodISODate;
|
|
21957
|
+
}, z.core.$strict>;
|
|
21958
|
+
requiredSlices: z.ZodArray<z.ZodObject<{
|
|
21959
|
+
table: z.ZodEnum<{
|
|
21960
|
+
pages: "pages";
|
|
21961
|
+
queries: "queries";
|
|
21962
|
+
countries: "countries";
|
|
21963
|
+
page_queries: "page_queries";
|
|
21964
|
+
dates: "dates";
|
|
21965
|
+
search_appearance: "search_appearance";
|
|
21966
|
+
search_appearance_pages: "search_appearance_pages";
|
|
21967
|
+
search_appearance_queries: "search_appearance_queries";
|
|
21968
|
+
search_appearance_page_queries: "search_appearance_page_queries";
|
|
21969
|
+
hourly_pages: "hourly_pages";
|
|
21970
|
+
}>;
|
|
21971
|
+
searchType: z.ZodEnum<{
|
|
21972
|
+
readonly WEB: "web";
|
|
21973
|
+
readonly IMAGE: "image";
|
|
21974
|
+
readonly VIDEO: "video";
|
|
21975
|
+
readonly NEWS: "news";
|
|
21976
|
+
readonly DISCOVER: "discover";
|
|
21977
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
21978
|
+
}>;
|
|
21979
|
+
}, z.core.$strict>>;
|
|
21980
|
+
state: z.ZodLiteral<"failed">;
|
|
21981
|
+
failure: z.ZodEnum<{
|
|
21982
|
+
"catalog-identity-mismatch": "catalog-identity-mismatch";
|
|
21983
|
+
"identity-changed": "identity-changed";
|
|
21984
|
+
"host-reserved": "host-reserved";
|
|
21985
|
+
"not-eligible": "not-eligible";
|
|
21986
|
+
"property-unavailable": "property-unavailable";
|
|
21987
|
+
"catalog-unavailable": "catalog-unavailable";
|
|
21988
|
+
"provisioning-incomplete": "provisioning-incomplete";
|
|
21989
|
+
"coverage-incomplete": "coverage-incomplete";
|
|
21990
|
+
"candidate-aborted": "candidate-aborted";
|
|
21991
|
+
"candidate-failed": "candidate-failed";
|
|
21992
|
+
}>;
|
|
21993
|
+
}, z.core.$strict>], "state">;
|
|
21994
|
+
meta: z.ZodObject<{
|
|
21995
|
+
readonly requestId: z.ZodString;
|
|
21996
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
21997
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
21998
|
+
}, z.core.$strip>;
|
|
21999
|
+
}, z.core.$strip>>;
|
|
22000
|
+
};
|
|
22001
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation", "conflict", "service_unavailable"];
|
|
22002
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
22003
|
+
readonly error: z.ZodObject<{
|
|
22004
|
+
code: z.ZodEnum<{
|
|
22005
|
+
internal_error: "internal_error";
|
|
22006
|
+
invalid_request: "invalid_request";
|
|
22007
|
+
unauthorized: "unauthorized";
|
|
22008
|
+
forbidden: "forbidden";
|
|
22009
|
+
site_not_found: "site_not_found";
|
|
22010
|
+
rate_limited: "rate_limited";
|
|
22011
|
+
conflict: "conflict";
|
|
22012
|
+
service_unavailable: "service_unavailable";
|
|
22013
|
+
contract_violation: "contract_violation";
|
|
22014
|
+
}>;
|
|
22015
|
+
message: z.ZodString;
|
|
22016
|
+
requestId: z.ZodString;
|
|
22017
|
+
retryable: z.ZodBoolean;
|
|
22018
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
22019
|
+
}, z.core.$strict>;
|
|
22020
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22021
|
+
readonly error: z.ZodObject<{
|
|
22022
|
+
code: z.ZodEnum<{
|
|
22023
|
+
internal_error: "internal_error";
|
|
22024
|
+
invalid_request: "invalid_request";
|
|
22025
|
+
unauthorized: "unauthorized";
|
|
22026
|
+
forbidden: "forbidden";
|
|
22027
|
+
site_not_found: "site_not_found";
|
|
22028
|
+
rate_limited: "rate_limited";
|
|
22029
|
+
conflict: "conflict";
|
|
22030
|
+
service_unavailable: "service_unavailable";
|
|
22031
|
+
contract_violation: "contract_violation";
|
|
22032
|
+
}>;
|
|
22033
|
+
message: z.ZodString;
|
|
22034
|
+
requestId: z.ZodString;
|
|
22035
|
+
retryable: z.ZodBoolean;
|
|
22036
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
22037
|
+
}, z.core.$loose>;
|
|
22038
|
+
}, z.core.$strip>>;
|
|
22039
|
+
readonly resources: {
|
|
22040
|
+
readonly reads: readonly [{
|
|
22041
|
+
readonly type: "site.registration";
|
|
22042
|
+
readonly idFrom: "params.siteId";
|
|
22043
|
+
}];
|
|
22044
|
+
readonly changes: readonly [{
|
|
22045
|
+
readonly type: "site.lifecycle";
|
|
22046
|
+
readonly idFrom: "params.siteId";
|
|
22047
|
+
}, {
|
|
22048
|
+
readonly type: "site.analytics";
|
|
22049
|
+
readonly idFrom: "params.siteId";
|
|
22050
|
+
}];
|
|
22051
|
+
};
|
|
22052
|
+
readonly lifecycle: {
|
|
22053
|
+
readonly introduced: "5.6.0";
|
|
22054
|
+
};
|
|
22055
|
+
readonly docs: {
|
|
22056
|
+
readonly summary: "Roll back registered host correction";
|
|
22057
|
+
readonly description: "Suspends current analytics for the promoted version. The registered host and collected history remain preserved.";
|
|
22058
|
+
readonly tags: readonly ["Sites"];
|
|
22059
|
+
readonly examples: {
|
|
22060
|
+
readonly request: {
|
|
22061
|
+
readonly params: {
|
|
22062
|
+
readonly siteId: "s_01";
|
|
22063
|
+
};
|
|
22064
|
+
readonly body: {
|
|
22065
|
+
readonly version: 1;
|
|
22066
|
+
readonly identity: {
|
|
22067
|
+
readonly requestedUrl: string;
|
|
22068
|
+
readonly namespace: string;
|
|
22069
|
+
readonly version: 1;
|
|
22070
|
+
readonly revision: 2;
|
|
22071
|
+
readonly siteId: string;
|
|
22072
|
+
readonly userId: string;
|
|
22073
|
+
readonly teamId: string;
|
|
22074
|
+
readonly catalogSiteId: number;
|
|
22075
|
+
readonly warehouse: string;
|
|
22076
|
+
readonly catalogRevision: number;
|
|
22077
|
+
readonly dataVersion: number;
|
|
22078
|
+
};
|
|
22079
|
+
};
|
|
22080
|
+
};
|
|
22081
|
+
readonly response: {
|
|
22082
|
+
readonly data: {
|
|
22083
|
+
readonly state: "aborted";
|
|
22084
|
+
readonly version: number;
|
|
22085
|
+
readonly namespace: string;
|
|
22086
|
+
readonly requestedUrl: string;
|
|
22087
|
+
readonly window: {
|
|
22088
|
+
startDate: string;
|
|
22089
|
+
endDate: string;
|
|
22090
|
+
};
|
|
22091
|
+
readonly requiredSlices: {
|
|
22092
|
+
table: string;
|
|
22093
|
+
searchType: string;
|
|
22094
|
+
}[];
|
|
22095
|
+
};
|
|
22096
|
+
readonly meta: {
|
|
22097
|
+
requestId: string;
|
|
22098
|
+
surface: string;
|
|
22099
|
+
version: string;
|
|
22100
|
+
};
|
|
22101
|
+
};
|
|
22102
|
+
};
|
|
22103
|
+
};
|
|
22104
|
+
readonly id: "partner.sites.registered_host.rollback";
|
|
22105
|
+
readonly method: "POST";
|
|
22106
|
+
readonly path: "/sites/{siteId}/registered-host/rollback";
|
|
22107
|
+
};
|
|
22108
|
+
}>;
|
|
22109
|
+
analytics: HttpV1Surface<{
|
|
22110
|
+
readonly queryRows: {
|
|
22111
|
+
readonly visibility: "public";
|
|
22112
|
+
readonly semantics: {
|
|
22113
|
+
readonly kind: "query";
|
|
22114
|
+
readonly sideEffects: "none";
|
|
22115
|
+
readonly idempotent: true;
|
|
22116
|
+
readonly retry: "idempotent";
|
|
22117
|
+
readonly readConsistency: "primary";
|
|
22118
|
+
};
|
|
22119
|
+
readonly auth: {
|
|
22120
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
22121
|
+
readonly scopes: readonly ["analytics:execute"];
|
|
22122
|
+
readonly ownership: readonly [{
|
|
22123
|
+
readonly credential: "user_key";
|
|
22124
|
+
readonly rule: "authorized_site";
|
|
22125
|
+
}, {
|
|
22126
|
+
readonly credential: "partner_key";
|
|
22127
|
+
readonly rule: "authorized_site";
|
|
22128
|
+
}];
|
|
22129
|
+
};
|
|
22130
|
+
readonly request: {
|
|
22131
|
+
readonly params: z.ZodObject<{
|
|
22132
|
+
siteId: z.ZodString;
|
|
22133
|
+
}, z.core.$strict>;
|
|
22134
|
+
readonly query: null;
|
|
22135
|
+
readonly headers: z.ZodObject<{
|
|
22136
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
22137
|
+
}, z.core.$strict>;
|
|
22138
|
+
readonly body: z.ZodObject<{
|
|
22139
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22140
|
+
page: "page";
|
|
22141
|
+
query: "query";
|
|
22142
|
+
queryCanonical: "queryCanonical";
|
|
22143
|
+
country: "country";
|
|
22144
|
+
device: "device";
|
|
22145
|
+
date: "date";
|
|
22146
|
+
searchAppearance: "searchAppearance";
|
|
22147
|
+
hour: "hour";
|
|
22148
|
+
}>>;
|
|
22149
|
+
metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22150
|
+
clicks: "clicks";
|
|
22151
|
+
impressions: "impressions";
|
|
22152
|
+
ctr: "ctr";
|
|
22153
|
+
position: "position";
|
|
22154
|
+
}>>>;
|
|
22155
|
+
filter: z.ZodOptional<z.ZodType<NormalizedFilterV1, NormalizedFilterV1, z.core.$ZodTypeInternals<NormalizedFilterV1, NormalizedFilterV1>>>;
|
|
22156
|
+
prefilter: z.ZodOptional<z.ZodType<NormalizedFilterV1, NormalizedFilterV1, z.core.$ZodTypeInternals<NormalizedFilterV1, NormalizedFilterV1>>>;
|
|
22157
|
+
orderBy: z.ZodOptional<z.ZodObject<{
|
|
22158
|
+
column: z.ZodEnum<{
|
|
22159
|
+
date: "date";
|
|
22160
|
+
clicks: "clicks";
|
|
22161
|
+
impressions: "impressions";
|
|
22162
|
+
ctr: "ctr";
|
|
22163
|
+
position: "position";
|
|
22164
|
+
}>;
|
|
22165
|
+
dir: z.ZodEnum<{
|
|
22166
|
+
asc: "asc";
|
|
22167
|
+
desc: "desc";
|
|
22168
|
+
}>;
|
|
22169
|
+
}, z.core.$strict>>;
|
|
22170
|
+
rowLimit: z.ZodOptional<z.ZodNumber>;
|
|
22171
|
+
startRow: z.ZodOptional<z.ZodNumber>;
|
|
22172
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
22173
|
+
final: "final";
|
|
22174
|
+
all: "all";
|
|
22175
|
+
hourly_all: "hourly_all";
|
|
22176
|
+
}>>;
|
|
22177
|
+
aggregationType: z.ZodOptional<z.ZodEnum<{
|
|
22178
|
+
auto: "auto";
|
|
22179
|
+
byPage: "byPage";
|
|
22180
|
+
byProperty: "byProperty";
|
|
22181
|
+
byNewsShowcasePanel: "byNewsShowcasePanel";
|
|
22182
|
+
}>>;
|
|
22183
|
+
searchType: z.ZodOptional<z.ZodEnum<{
|
|
22184
|
+
readonly WEB: "web";
|
|
22185
|
+
readonly IMAGE: "image";
|
|
22186
|
+
readonly VIDEO: "video";
|
|
22187
|
+
readonly NEWS: "news";
|
|
22188
|
+
readonly DISCOVER: "discover";
|
|
22189
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
22190
|
+
}>>;
|
|
22191
|
+
}, z.core.$strict>;
|
|
22192
|
+
};
|
|
22193
|
+
readonly responses: {
|
|
22194
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
22195
|
+
data: z.ZodObject<{
|
|
22196
|
+
readonly rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
22197
|
+
}, z.core.$strip>;
|
|
22198
|
+
meta: z.ZodObject<{
|
|
22199
|
+
readonly requestId: z.ZodString;
|
|
22200
|
+
readonly surface: z.ZodLiteral<"analytics">;
|
|
22201
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
22202
|
+
readonly sourceName: z.ZodString;
|
|
22203
|
+
readonly sourceKind: z.ZodEnum<{
|
|
22204
|
+
row: "row";
|
|
22205
|
+
sql: "sql";
|
|
22206
|
+
}>;
|
|
22207
|
+
readonly queryMs: z.ZodNumber;
|
|
22208
|
+
}, z.core.$strip>;
|
|
22209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22210
|
+
data: z.ZodObject<{
|
|
22211
|
+
readonly rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
22212
|
+
}, z.core.$strip>;
|
|
22213
|
+
meta: z.ZodObject<{
|
|
22214
|
+
readonly requestId: z.ZodString;
|
|
22215
|
+
readonly surface: z.ZodLiteral<"analytics">;
|
|
22216
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
22217
|
+
readonly sourceName: z.ZodString;
|
|
22218
|
+
readonly sourceKind: z.ZodEnum<{
|
|
22219
|
+
row: "row";
|
|
22220
|
+
sql: "sql";
|
|
22221
|
+
}>;
|
|
22222
|
+
readonly queryMs: z.ZodNumber;
|
|
22223
|
+
}, z.core.$strip>;
|
|
22224
|
+
}, z.core.$strip>>;
|
|
22225
|
+
};
|
|
22226
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
22227
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
22228
|
+
readonly error: z.ZodObject<{
|
|
22229
|
+
code: z.ZodEnum<{
|
|
22230
|
+
internal_error: "internal_error";
|
|
22231
|
+
invalid_request: "invalid_request";
|
|
22232
|
+
unauthorized: "unauthorized";
|
|
22233
|
+
forbidden: "forbidden";
|
|
22234
|
+
site_not_found: "site_not_found";
|
|
22235
|
+
rate_limited: "rate_limited";
|
|
22236
|
+
contract_violation: "contract_violation";
|
|
22237
|
+
}>;
|
|
22238
|
+
message: z.ZodString;
|
|
22239
|
+
requestId: z.ZodString;
|
|
22240
|
+
retryable: z.ZodBoolean;
|
|
22241
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
22242
|
+
}, z.core.$strict>;
|
|
22243
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22244
|
+
readonly error: z.ZodObject<{
|
|
22245
|
+
code: z.ZodEnum<{
|
|
22246
|
+
internal_error: "internal_error";
|
|
22247
|
+
invalid_request: "invalid_request";
|
|
22248
|
+
unauthorized: "unauthorized";
|
|
22249
|
+
forbidden: "forbidden";
|
|
22250
|
+
site_not_found: "site_not_found";
|
|
22251
|
+
rate_limited: "rate_limited";
|
|
22252
|
+
contract_violation: "contract_violation";
|
|
22253
|
+
}>;
|
|
22254
|
+
message: z.ZodString;
|
|
22255
|
+
requestId: z.ZodString;
|
|
22256
|
+
retryable: z.ZodBoolean;
|
|
22257
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
22258
|
+
}, z.core.$loose>;
|
|
22259
|
+
}, z.core.$strip>>;
|
|
22260
|
+
readonly resources: {
|
|
22261
|
+
readonly reads: readonly [{
|
|
22262
|
+
readonly type: "site.analytics";
|
|
22263
|
+
readonly idFrom: "params.siteId";
|
|
22264
|
+
}];
|
|
22265
|
+
readonly changes: readonly [];
|
|
22266
|
+
};
|
|
22267
|
+
readonly lifecycle: {
|
|
22268
|
+
readonly introduced: "1.0.0";
|
|
22269
|
+
};
|
|
22270
|
+
readonly docs: {
|
|
22271
|
+
readonly summary: "Query analytics rows";
|
|
22272
|
+
readonly description: "Executes an idempotent primary-consistent analytics row query.";
|
|
22273
|
+
readonly tags: readonly ["Analytics rows"];
|
|
22274
|
+
readonly examples: {
|
|
22275
|
+
readonly request: {
|
|
22276
|
+
readonly params: {
|
|
22277
|
+
readonly siteId: "s_01";
|
|
22278
|
+
};
|
|
22279
|
+
readonly body: {
|
|
22280
|
+
readonly dimensions: readonly ["query"];
|
|
22281
|
+
readonly metrics: readonly ["clicks", "impressions"];
|
|
22282
|
+
readonly rowLimit: 100;
|
|
22283
|
+
};
|
|
22284
|
+
};
|
|
22285
|
+
readonly response: {
|
|
22286
|
+
readonly data: {
|
|
22287
|
+
readonly rows: readonly [];
|
|
22288
|
+
};
|
|
22289
|
+
readonly meta: {
|
|
22290
|
+
readonly requestId: "req_01";
|
|
22291
|
+
readonly surface: "analytics";
|
|
22292
|
+
readonly version: "1.0";
|
|
22293
|
+
readonly sourceName: "primary";
|
|
22294
|
+
readonly sourceKind: "sql";
|
|
22295
|
+
readonly queryMs: 12;
|
|
22296
|
+
};
|
|
22297
|
+
};
|
|
22298
|
+
};
|
|
22299
|
+
};
|
|
22300
|
+
readonly id: "analytics.rows.query";
|
|
22301
|
+
readonly method: "POST";
|
|
22302
|
+
readonly path: "/sites/{siteId}/rows";
|
|
22303
|
+
};
|
|
22304
|
+
readonly queryReport: {
|
|
22305
|
+
readonly visibility: "public";
|
|
22306
|
+
readonly semantics: {
|
|
22307
|
+
readonly kind: "query";
|
|
22308
|
+
readonly sideEffects: "none";
|
|
22309
|
+
readonly idempotent: true;
|
|
22310
|
+
readonly retry: "idempotent";
|
|
22311
|
+
readonly readConsistency: "primary";
|
|
22312
|
+
};
|
|
22313
|
+
readonly auth: {
|
|
22314
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
22315
|
+
readonly scopes: readonly ["analytics:execute"];
|
|
22316
|
+
readonly ownership: readonly [{
|
|
22317
|
+
readonly credential: "user_key";
|
|
22318
|
+
readonly rule: "authorized_site";
|
|
22319
|
+
}, {
|
|
22320
|
+
readonly credential: "partner_key";
|
|
22321
|
+
readonly rule: "authorized_site";
|
|
22322
|
+
}];
|
|
22323
|
+
};
|
|
22324
|
+
readonly request: {
|
|
22325
|
+
readonly params: z.ZodObject<{
|
|
22326
|
+
siteId: z.ZodString;
|
|
22327
|
+
}, z.core.$strict>;
|
|
22328
|
+
readonly query: null;
|
|
22329
|
+
readonly headers: z.ZodObject<{
|
|
22330
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
22331
|
+
}, z.core.$strict>;
|
|
22332
|
+
readonly body: z.ZodObject<{
|
|
22333
|
+
state: z.ZodObject<{
|
|
22334
|
+
searchType: z.ZodOptional<z.ZodEnum<{
|
|
22335
|
+
readonly WEB: "web";
|
|
22336
|
+
readonly IMAGE: "image";
|
|
22337
|
+
readonly VIDEO: "video";
|
|
22338
|
+
readonly NEWS: "news";
|
|
22339
|
+
readonly DISCOVER: "discover";
|
|
22340
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
22341
|
+
}>>;
|
|
22342
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22343
|
+
page: "page";
|
|
22344
|
+
query: "query";
|
|
22345
|
+
queryCanonical: "queryCanonical";
|
|
22346
|
+
country: "country";
|
|
22347
|
+
device: "device";
|
|
22348
|
+
date: "date";
|
|
22349
|
+
searchAppearance: "searchAppearance";
|
|
22350
|
+
hour: "hour";
|
|
22351
|
+
}>>;
|
|
22352
|
+
}, z.core.$loose>;
|
|
22353
|
+
comparison: z.ZodOptional<z.ZodObject<{
|
|
22354
|
+
searchType: z.ZodOptional<z.ZodEnum<{
|
|
22355
|
+
readonly WEB: "web";
|
|
22356
|
+
readonly IMAGE: "image";
|
|
22357
|
+
readonly VIDEO: "video";
|
|
22358
|
+
readonly NEWS: "news";
|
|
22359
|
+
readonly DISCOVER: "discover";
|
|
22360
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
22361
|
+
}>>;
|
|
22362
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22363
|
+
page: "page";
|
|
22364
|
+
query: "query";
|
|
22365
|
+
queryCanonical: "queryCanonical";
|
|
22366
|
+
country: "country";
|
|
22367
|
+
device: "device";
|
|
22368
|
+
date: "date";
|
|
22369
|
+
searchAppearance: "searchAppearance";
|
|
22370
|
+
hour: "hour";
|
|
22371
|
+
}>>;
|
|
22372
|
+
}, z.core.$loose>>;
|
|
22373
|
+
filter: z.ZodOptional<z.ZodEnum<{
|
|
22374
|
+
new: "new";
|
|
22375
|
+
lost: "lost";
|
|
22376
|
+
improving: "improving";
|
|
22377
|
+
declining: "declining";
|
|
22378
|
+
}>>;
|
|
22379
|
+
}, z.core.$strict>;
|
|
22380
|
+
};
|
|
22381
|
+
readonly responses: {
|
|
22382
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
22383
|
+
data: z.ZodObject<{
|
|
22384
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
22385
|
+
clicks: z.ZodNumber;
|
|
22386
|
+
impressions: z.ZodNumber;
|
|
22387
|
+
ctr: z.ZodNumber;
|
|
22388
|
+
position: z.ZodNumber;
|
|
22389
|
+
}, z.core.$loose>>;
|
|
22390
|
+
totalCount: z.ZodNumber;
|
|
22391
|
+
totals: z.ZodObject<{
|
|
22392
|
+
clicks: z.ZodNumber;
|
|
22393
|
+
impressions: z.ZodNumber;
|
|
22394
|
+
ctr: z.ZodNumber;
|
|
22395
|
+
position: z.ZodNumber;
|
|
22396
|
+
}, z.core.$strip>;
|
|
22397
|
+
meta: z.ZodObject<{
|
|
22398
|
+
siteUrl: z.ZodString;
|
|
22399
|
+
syncStatus: z.ZodString;
|
|
22400
|
+
newestDateSynced: z.ZodNullable<z.ZodString>;
|
|
22401
|
+
oldestDateSynced: z.ZodNullable<z.ZodString>;
|
|
22402
|
+
dataDelay: z.ZodOptional<z.ZodString>;
|
|
22403
|
+
dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22404
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22405
|
+
enrichment: z.ZodOptional<z.ZodObject<{
|
|
22406
|
+
lastEnriched: z.ZodNumber;
|
|
22407
|
+
isDue: z.ZodBoolean;
|
|
22408
|
+
}, z.core.$strip>>;
|
|
22409
|
+
backfill: z.ZodOptional<z.ZodObject<{
|
|
22410
|
+
percent: z.ZodNumber;
|
|
22411
|
+
daysRemaining: z.ZodOptional<z.ZodNumber>;
|
|
22412
|
+
}, z.core.$strip>>;
|
|
22413
|
+
}, z.core.$loose>;
|
|
22414
|
+
}, z.core.$strip>;
|
|
22415
|
+
meta: z.ZodObject<{
|
|
22416
|
+
readonly requestId: z.ZodString;
|
|
22417
|
+
readonly surface: z.ZodLiteral<"analytics">;
|
|
22418
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
22419
|
+
readonly sourceName: z.ZodString;
|
|
22420
|
+
readonly sourceKind: z.ZodEnum<{
|
|
22421
|
+
row: "row";
|
|
22422
|
+
sql: "sql";
|
|
22423
|
+
}>;
|
|
22424
|
+
readonly queryMs: z.ZodNumber;
|
|
22425
|
+
}, z.core.$strip>;
|
|
22426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22427
|
+
data: z.ZodObject<{
|
|
22428
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
22429
|
+
clicks: z.ZodNumber;
|
|
22430
|
+
impressions: z.ZodNumber;
|
|
22431
|
+
ctr: z.ZodNumber;
|
|
22432
|
+
position: z.ZodNumber;
|
|
22433
|
+
}, z.core.$loose>>;
|
|
22434
|
+
totalCount: z.ZodNumber;
|
|
22435
|
+
totals: z.ZodObject<{
|
|
22436
|
+
clicks: z.ZodNumber;
|
|
22437
|
+
impressions: z.ZodNumber;
|
|
22438
|
+
ctr: z.ZodNumber;
|
|
22439
|
+
position: z.ZodNumber;
|
|
22440
|
+
}, z.core.$strip>;
|
|
19450
22441
|
meta: z.ZodObject<{
|
|
19451
22442
|
siteUrl: z.ZodString;
|
|
19452
22443
|
syncStatus: z.ZodString;
|
|
@@ -19610,12 +22601,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19610
22601
|
readonly GOOGLE_NEWS: "googleNews";
|
|
19611
22602
|
}>>;
|
|
19612
22603
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19613
|
-
date: "date";
|
|
19614
22604
|
page: "page";
|
|
19615
22605
|
query: "query";
|
|
19616
22606
|
queryCanonical: "queryCanonical";
|
|
19617
22607
|
country: "country";
|
|
19618
22608
|
device: "device";
|
|
22609
|
+
date: "date";
|
|
19619
22610
|
searchAppearance: "searchAppearance";
|
|
19620
22611
|
hour: "hour";
|
|
19621
22612
|
}>>;
|
|
@@ -19630,12 +22621,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
19630
22621
|
readonly GOOGLE_NEWS: "googleNews";
|
|
19631
22622
|
}>>;
|
|
19632
22623
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
19633
|
-
date: "date";
|
|
19634
22624
|
page: "page";
|
|
19635
22625
|
query: "query";
|
|
19636
22626
|
queryCanonical: "queryCanonical";
|
|
19637
22627
|
country: "country";
|
|
19638
22628
|
device: "device";
|
|
22629
|
+
date: "date";
|
|
19639
22630
|
searchAppearance: "searchAppearance";
|
|
19640
22631
|
hour: "hour";
|
|
19641
22632
|
}>>;
|