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