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