@gscdump/contracts 3.0.0 → 3.2.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/README.md +14 -1
- package/dist/analytics.d.mts +3 -3
- package/dist/archetypes.d.mts +2 -1
- package/dist/endpoints.d.mts +66 -66
- package/dist/file-resolution.d.mts +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +2 -1
- package/dist/partner.d.mts +3 -3
- package/dist/schemas.d.mts +260 -265
- package/dist/schemas.mjs +2 -8
- package/dist/search-types.d.mts +10 -0
- package/dist/search-types.mjs +9 -0
- package/dist/types.d.mts +2 -2
- package/dist/v1/browser.d.mts +6 -6
- package/dist/v1/browser.mjs +2 -8
- package/dist/v1/http-core.d.mts +30 -3
- package/dist/v1/http-core.mjs +31 -11
- package/dist/v1/http-operation-error.d.mts +6 -0
- package/dist/v1/http-operation-error.mjs +11 -0
- package/dist/v1/http.d.mts +3 -2
- package/dist/v1/http.mjs +3 -2
- package/dist/v1/index.d.mts +3 -2
- package/dist/v1/index.mjs +3 -2
- package/dist/v1/operations.d.mts +270 -270
- package/dist/v1/operations.mjs +56 -165
- package/dist/v1/path-segment.mjs +7 -0
- package/dist/v1/paths.d.mts +19 -0
- package/dist/v1/paths.mjs +39 -0
- package/dist/v1/route-catalog.d.mts +285 -0
- package/dist/v1/route-catalog.mjs +290 -0
- package/dist/v1/route-surfaces.d.mts +3 -0
- package/dist/v1/route-surfaces.mjs +21 -0
- package/package.json +11 -1
package/dist/schemas.d.mts
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { GscSearchType } from "./types.mjs";
|
|
1
|
+
import { GscSearchType } from "./search-types.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
/**
|
|
4
|
-
* GSC search-type slice validator. Mirrors the `GscSearchType` union from
|
|
5
|
-
* `gscdump/contracts` and the `SearchTypes` constants in `gscdump/query`. Used by consumers
|
|
6
|
-
* routing requests across slices (web | discover | news | googleNews | image |
|
|
7
|
-
* video) to validate untrusted input before threading it to the engine.
|
|
8
|
-
*/
|
|
3
|
+
/** Validates untrusted GSC Search Type input before Engine routing. */
|
|
9
4
|
declare const searchTypeSchema: z.ZodEnum<{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
readonly WEB: "web";
|
|
6
|
+
readonly IMAGE: "image";
|
|
7
|
+
readonly VIDEO: "video";
|
|
8
|
+
readonly NEWS: "news";
|
|
9
|
+
readonly DISCOVER: "discover";
|
|
10
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
16
11
|
}>;
|
|
17
12
|
/**
|
|
18
13
|
* Per-slice capability facts, wire-schema-adjacent to {@link searchTypeSchema}.
|
|
@@ -36,12 +31,12 @@ declare function searchTypeSupportsQueries(searchType: GscSearchType): boolean;
|
|
|
36
31
|
declare function searchTypeSupportsDimensions(searchType: GscSearchType): boolean;
|
|
37
32
|
declare const builderStateSchema: z.ZodObject<{
|
|
38
33
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
readonly WEB: "web";
|
|
35
|
+
readonly IMAGE: "image";
|
|
36
|
+
readonly VIDEO: "video";
|
|
37
|
+
readonly NEWS: "news";
|
|
38
|
+
readonly DISCOVER: "discover";
|
|
39
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
45
40
|
}>>;
|
|
46
41
|
}, z.core.$loose>;
|
|
47
42
|
declare const gscComparisonFilterSchema: z.ZodEnum<{
|
|
@@ -1307,12 +1302,12 @@ declare const registerPartnerSiteSchema: z.ZodObject<{
|
|
|
1307
1302
|
}>>>;
|
|
1308
1303
|
teamId: z.ZodOptional<z.ZodString>;
|
|
1309
1304
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1305
|
+
readonly WEB: "web";
|
|
1306
|
+
readonly IMAGE: "image";
|
|
1307
|
+
readonly VIDEO: "video";
|
|
1308
|
+
readonly NEWS: "news";
|
|
1309
|
+
readonly DISCOVER: "discover";
|
|
1310
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1316
1311
|
}>>>;
|
|
1317
1312
|
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
1318
1313
|
}, z.core.$strip>;
|
|
@@ -1335,12 +1330,12 @@ declare const bulkRegisterPartnerSitesSchema: z.ZodObject<{
|
|
|
1335
1330
|
"job.failed": "job.failed";
|
|
1336
1331
|
}>>>;
|
|
1337
1332
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1333
|
+
readonly WEB: "web";
|
|
1334
|
+
readonly IMAGE: "image";
|
|
1335
|
+
readonly VIDEO: "video";
|
|
1336
|
+
readonly NEWS: "news";
|
|
1337
|
+
readonly DISCOVER: "discover";
|
|
1338
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1344
1339
|
}>>>;
|
|
1345
1340
|
}, z.core.$loose>>>;
|
|
1346
1341
|
}, z.core.$strip>;
|
|
@@ -1408,12 +1403,12 @@ declare const siteIntIdCrosswalkResponseSchema: z.ZodObject<{
|
|
|
1408
1403
|
declare const dataQueryOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
1409
1404
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
1410
1405
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1406
|
+
readonly WEB: "web";
|
|
1407
|
+
readonly IMAGE: "image";
|
|
1408
|
+
readonly VIDEO: "video";
|
|
1409
|
+
readonly NEWS: "news";
|
|
1410
|
+
readonly DISCOVER: "discover";
|
|
1411
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1417
1412
|
}>>;
|
|
1418
1413
|
}, z.core.$loose>>;
|
|
1419
1414
|
filter: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1423,32 +1418,32 @@ declare const dataQueryOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
|
1423
1418
|
declining: "declining";
|
|
1424
1419
|
}>>;
|
|
1425
1420
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1421
|
+
readonly WEB: "web";
|
|
1422
|
+
readonly IMAGE: "image";
|
|
1423
|
+
readonly VIDEO: "video";
|
|
1424
|
+
readonly NEWS: "news";
|
|
1425
|
+
readonly DISCOVER: "discover";
|
|
1426
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1432
1427
|
}>>;
|
|
1433
1428
|
}, z.core.$strip>>;
|
|
1434
1429
|
declare const dataDetailOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
1435
1430
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
1436
1431
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1432
|
+
readonly WEB: "web";
|
|
1433
|
+
readonly IMAGE: "image";
|
|
1434
|
+
readonly VIDEO: "video";
|
|
1435
|
+
readonly NEWS: "news";
|
|
1436
|
+
readonly DISCOVER: "discover";
|
|
1437
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1443
1438
|
}>>;
|
|
1444
1439
|
}, z.core.$loose>>;
|
|
1445
1440
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1441
|
+
readonly WEB: "web";
|
|
1442
|
+
readonly IMAGE: "image";
|
|
1443
|
+
readonly VIDEO: "video";
|
|
1444
|
+
readonly NEWS: "news";
|
|
1445
|
+
readonly DISCOVER: "discover";
|
|
1446
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1452
1447
|
}>>;
|
|
1453
1448
|
}, z.core.$strip>>;
|
|
1454
1449
|
declare const gscdumpAnalysisPresetSchema: z.ZodEnum<{
|
|
@@ -1475,12 +1470,12 @@ declare const gscdumpAnalysisBaseParamsSchema: z.ZodObject<{
|
|
|
1475
1470
|
maxPosition: z.ZodOptional<z.ZodNumber>;
|
|
1476
1471
|
maxCtr: z.ZodOptional<z.ZodNumber>;
|
|
1477
1472
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1473
|
+
readonly WEB: "web";
|
|
1474
|
+
readonly IMAGE: "image";
|
|
1475
|
+
readonly VIDEO: "video";
|
|
1476
|
+
readonly NEWS: "news";
|
|
1477
|
+
readonly DISCOVER: "discover";
|
|
1478
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1484
1479
|
}>>;
|
|
1485
1480
|
}, z.core.$strip>;
|
|
1486
1481
|
declare const gscdumpAnalysisParamsSchema: z.ZodObject<{
|
|
@@ -1497,12 +1492,12 @@ declare const gscdumpAnalysisParamsSchema: z.ZodObject<{
|
|
|
1497
1492
|
maxPosition: z.ZodOptional<z.ZodNumber>;
|
|
1498
1493
|
maxCtr: z.ZodOptional<z.ZodNumber>;
|
|
1499
1494
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1495
|
+
readonly WEB: "web";
|
|
1496
|
+
readonly IMAGE: "image";
|
|
1497
|
+
readonly VIDEO: "video";
|
|
1498
|
+
readonly NEWS: "news";
|
|
1499
|
+
readonly DISCOVER: "discover";
|
|
1500
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1506
1501
|
}>>;
|
|
1507
1502
|
preset: z.ZodEnum<{
|
|
1508
1503
|
"striking-distance": "striking-distance";
|
|
@@ -2101,12 +2096,12 @@ declare const gscdumpTopAssociationResponseSchema: z.ZodObject<{
|
|
|
2101
2096
|
declare const gscdumpAnalysisSourcesResponseSchema: z.ZodObject<{
|
|
2102
2097
|
siteId: z.ZodString;
|
|
2103
2098
|
searchType: z.ZodEnum<{
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2099
|
+
readonly WEB: "web";
|
|
2100
|
+
readonly IMAGE: "image";
|
|
2101
|
+
readonly VIDEO: "video";
|
|
2102
|
+
readonly NEWS: "news";
|
|
2103
|
+
readonly DISCOVER: "discover";
|
|
2104
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
2110
2105
|
}>;
|
|
2111
2106
|
range: z.ZodObject<{
|
|
2112
2107
|
start: z.ZodString;
|
|
@@ -2172,12 +2167,12 @@ declare const bulkFileResolutionResponseSchema: z.ZodObject<{
|
|
|
2172
2167
|
results: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2173
2168
|
siteId: z.ZodString;
|
|
2174
2169
|
searchType: z.ZodEnum<{
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2170
|
+
readonly WEB: "web";
|
|
2171
|
+
readonly IMAGE: "image";
|
|
2172
|
+
readonly VIDEO: "video";
|
|
2173
|
+
readonly NEWS: "news";
|
|
2174
|
+
readonly DISCOVER: "discover";
|
|
2175
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
2181
2176
|
}>;
|
|
2182
2177
|
range: z.ZodObject<{
|
|
2183
2178
|
start: z.ZodString;
|
|
@@ -2235,12 +2230,12 @@ declare const gscdumpKeywordSparklinesParamsSchema: z.ZodObject<{
|
|
|
2235
2230
|
startDate: z.ZodString;
|
|
2236
2231
|
endDate: z.ZodString;
|
|
2237
2232
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2233
|
+
readonly WEB: "web";
|
|
2234
|
+
readonly IMAGE: "image";
|
|
2235
|
+
readonly VIDEO: "video";
|
|
2236
|
+
readonly NEWS: "news";
|
|
2237
|
+
readonly DISCOVER: "discover";
|
|
2238
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
2244
2239
|
}>>;
|
|
2245
2240
|
}, z.core.$strip>;
|
|
2246
2241
|
declare const gscdumpKeywordSparklinesResponseSchema: z.ZodObject<{
|
|
@@ -2252,12 +2247,12 @@ declare const gscdumpQueryTrendParamsSchema: z.ZodObject<{
|
|
|
2252
2247
|
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
2253
2248
|
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
2254
2249
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2250
|
+
readonly WEB: "web";
|
|
2251
|
+
readonly IMAGE: "image";
|
|
2252
|
+
readonly VIDEO: "video";
|
|
2253
|
+
readonly NEWS: "news";
|
|
2254
|
+
readonly DISCOVER: "discover";
|
|
2255
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
2261
2256
|
}>>;
|
|
2262
2257
|
}, z.core.$strip>;
|
|
2263
2258
|
declare const gscdumpQueryTrendResponseSchema: z.ZodObject<{
|
|
@@ -2278,12 +2273,12 @@ declare const gscdumpPageTrendParamsSchema: z.ZodObject<{
|
|
|
2278
2273
|
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
2279
2274
|
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
2280
2275
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2276
|
+
readonly WEB: "web";
|
|
2277
|
+
readonly IMAGE: "image";
|
|
2278
|
+
readonly VIDEO: "video";
|
|
2279
|
+
readonly NEWS: "news";
|
|
2280
|
+
readonly DISCOVER: "discover";
|
|
2281
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
2287
2282
|
}>>;
|
|
2288
2283
|
}, z.core.$strip>;
|
|
2289
2284
|
declare const gscdumpPageTrendResponseSchema: z.ZodObject<{
|
|
@@ -3012,12 +3007,12 @@ declare const analyticsEndpointSchemas: {
|
|
|
3012
3007
|
readonly response: z.ZodObject<{
|
|
3013
3008
|
siteId: z.ZodString;
|
|
3014
3009
|
searchType: z.ZodEnum<{
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3010
|
+
readonly WEB: "web";
|
|
3011
|
+
readonly IMAGE: "image";
|
|
3012
|
+
readonly VIDEO: "video";
|
|
3013
|
+
readonly NEWS: "news";
|
|
3014
|
+
readonly DISCOVER: "discover";
|
|
3015
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
3021
3016
|
}>;
|
|
3022
3017
|
range: z.ZodObject<{
|
|
3023
3018
|
start: z.ZodString;
|
|
@@ -3087,12 +3082,12 @@ declare const analyticsEndpointSchemas: {
|
|
|
3087
3082
|
results: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3088
3083
|
siteId: z.ZodString;
|
|
3089
3084
|
searchType: z.ZodEnum<{
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3085
|
+
readonly WEB: "web";
|
|
3086
|
+
readonly IMAGE: "image";
|
|
3087
|
+
readonly VIDEO: "video";
|
|
3088
|
+
readonly NEWS: "news";
|
|
3089
|
+
readonly DISCOVER: "discover";
|
|
3090
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
3096
3091
|
}>;
|
|
3097
3092
|
range: z.ZodObject<{
|
|
3098
3093
|
start: z.ZodString;
|
|
@@ -3830,12 +3825,12 @@ declare const partnerControlEndpointSchemas: {
|
|
|
3830
3825
|
}>>>;
|
|
3831
3826
|
teamId: z.ZodOptional<z.ZodString>;
|
|
3832
3827
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3828
|
+
readonly WEB: "web";
|
|
3829
|
+
readonly IMAGE: "image";
|
|
3830
|
+
readonly VIDEO: "video";
|
|
3831
|
+
readonly NEWS: "news";
|
|
3832
|
+
readonly DISCOVER: "discover";
|
|
3833
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
3839
3834
|
}>>>;
|
|
3840
3835
|
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
3841
3836
|
}, z.core.$strip>;
|
|
@@ -4011,12 +4006,12 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4011
4006
|
"job.failed": "job.failed";
|
|
4012
4007
|
}>>>;
|
|
4013
4008
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4009
|
+
readonly WEB: "web";
|
|
4010
|
+
readonly IMAGE: "image";
|
|
4011
|
+
readonly VIDEO: "video";
|
|
4012
|
+
readonly NEWS: "news";
|
|
4013
|
+
readonly DISCOVER: "discover";
|
|
4014
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4020
4015
|
}>>>;
|
|
4021
4016
|
}, z.core.$loose>>>;
|
|
4022
4017
|
}, z.core.$strip>;
|
|
@@ -4061,12 +4056,12 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4061
4056
|
readonly response: z.ZodObject<{
|
|
4062
4057
|
siteId: z.ZodString;
|
|
4063
4058
|
searchType: z.ZodEnum<{
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4059
|
+
readonly WEB: "web";
|
|
4060
|
+
readonly IMAGE: "image";
|
|
4061
|
+
readonly VIDEO: "video";
|
|
4062
|
+
readonly NEWS: "news";
|
|
4063
|
+
readonly DISCOVER: "discover";
|
|
4064
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4070
4065
|
}>;
|
|
4071
4066
|
range: z.ZodObject<{
|
|
4072
4067
|
start: z.ZodString;
|
|
@@ -4122,23 +4117,23 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4122
4117
|
readonly getData: {
|
|
4123
4118
|
readonly state: z.ZodObject<{
|
|
4124
4119
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4120
|
+
readonly WEB: "web";
|
|
4121
|
+
readonly IMAGE: "image";
|
|
4122
|
+
readonly VIDEO: "video";
|
|
4123
|
+
readonly NEWS: "news";
|
|
4124
|
+
readonly DISCOVER: "discover";
|
|
4125
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4131
4126
|
}>>;
|
|
4132
4127
|
}, z.core.$loose>;
|
|
4133
4128
|
readonly options: z.ZodOptional<z.ZodObject<{
|
|
4134
4129
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
4135
4130
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4131
|
+
readonly WEB: "web";
|
|
4132
|
+
readonly IMAGE: "image";
|
|
4133
|
+
readonly VIDEO: "video";
|
|
4134
|
+
readonly NEWS: "news";
|
|
4135
|
+
readonly DISCOVER: "discover";
|
|
4136
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4142
4137
|
}>>;
|
|
4143
4138
|
}, z.core.$loose>>;
|
|
4144
4139
|
filter: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4148,12 +4143,12 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4148
4143
|
declining: "declining";
|
|
4149
4144
|
}>>;
|
|
4150
4145
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4146
|
+
readonly WEB: "web";
|
|
4147
|
+
readonly IMAGE: "image";
|
|
4148
|
+
readonly VIDEO: "video";
|
|
4149
|
+
readonly NEWS: "news";
|
|
4150
|
+
readonly DISCOVER: "discover";
|
|
4151
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4157
4152
|
}>>;
|
|
4158
4153
|
}, z.core.$strip>>;
|
|
4159
4154
|
readonly response: z.ZodObject<{
|
|
@@ -4192,32 +4187,32 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4192
4187
|
readonly getDataDetail: {
|
|
4193
4188
|
readonly state: z.ZodObject<{
|
|
4194
4189
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4190
|
+
readonly WEB: "web";
|
|
4191
|
+
readonly IMAGE: "image";
|
|
4192
|
+
readonly VIDEO: "video";
|
|
4193
|
+
readonly NEWS: "news";
|
|
4194
|
+
readonly DISCOVER: "discover";
|
|
4195
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4201
4196
|
}>>;
|
|
4202
4197
|
}, z.core.$loose>;
|
|
4203
4198
|
readonly options: z.ZodOptional<z.ZodObject<{
|
|
4204
4199
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
4205
4200
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4201
|
+
readonly WEB: "web";
|
|
4202
|
+
readonly IMAGE: "image";
|
|
4203
|
+
readonly VIDEO: "video";
|
|
4204
|
+
readonly NEWS: "news";
|
|
4205
|
+
readonly DISCOVER: "discover";
|
|
4206
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4212
4207
|
}>>;
|
|
4213
4208
|
}, z.core.$loose>>;
|
|
4214
4209
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4210
|
+
readonly WEB: "web";
|
|
4211
|
+
readonly IMAGE: "image";
|
|
4212
|
+
readonly VIDEO: "video";
|
|
4213
|
+
readonly NEWS: "news";
|
|
4214
|
+
readonly DISCOVER: "discover";
|
|
4215
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4221
4216
|
}>>;
|
|
4222
4217
|
}, z.core.$strip>>;
|
|
4223
4218
|
readonly response: z.ZodObject<{
|
|
@@ -4539,12 +4534,12 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4539
4534
|
startDate: z.ZodString;
|
|
4540
4535
|
endDate: z.ZodString;
|
|
4541
4536
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4537
|
+
readonly WEB: "web";
|
|
4538
|
+
readonly IMAGE: "image";
|
|
4539
|
+
readonly VIDEO: "video";
|
|
4540
|
+
readonly NEWS: "news";
|
|
4541
|
+
readonly DISCOVER: "discover";
|
|
4542
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4548
4543
|
}>>;
|
|
4549
4544
|
}, z.core.$strip>;
|
|
4550
4545
|
readonly response: z.ZodObject<{
|
|
@@ -4558,12 +4553,12 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4558
4553
|
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
4559
4554
|
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
4560
4555
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4556
|
+
readonly WEB: "web";
|
|
4557
|
+
readonly IMAGE: "image";
|
|
4558
|
+
readonly VIDEO: "video";
|
|
4559
|
+
readonly NEWS: "news";
|
|
4560
|
+
readonly DISCOVER: "discover";
|
|
4561
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4567
4562
|
}>>;
|
|
4568
4563
|
}, z.core.$strip>;
|
|
4569
4564
|
readonly response: z.ZodObject<{
|
|
@@ -4586,12 +4581,12 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4586
4581
|
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
4587
4582
|
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
4588
4583
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4584
|
+
readonly WEB: "web";
|
|
4585
|
+
readonly IMAGE: "image";
|
|
4586
|
+
readonly VIDEO: "video";
|
|
4587
|
+
readonly NEWS: "news";
|
|
4588
|
+
readonly DISCOVER: "discover";
|
|
4589
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
4595
4590
|
}>>;
|
|
4596
4591
|
}, z.core.$strip>;
|
|
4597
4592
|
readonly response: z.ZodObject<{
|
|
@@ -5529,12 +5524,12 @@ declare const partnerEndpointSchemas: {
|
|
|
5529
5524
|
}>>>;
|
|
5530
5525
|
teamId: z.ZodOptional<z.ZodString>;
|
|
5531
5526
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5527
|
+
readonly WEB: "web";
|
|
5528
|
+
readonly IMAGE: "image";
|
|
5529
|
+
readonly VIDEO: "video";
|
|
5530
|
+
readonly NEWS: "news";
|
|
5531
|
+
readonly DISCOVER: "discover";
|
|
5532
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
5538
5533
|
}>>>;
|
|
5539
5534
|
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
5540
5535
|
}, z.core.$strip>;
|
|
@@ -5710,12 +5705,12 @@ declare const partnerEndpointSchemas: {
|
|
|
5710
5705
|
"job.failed": "job.failed";
|
|
5711
5706
|
}>>>;
|
|
5712
5707
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5708
|
+
readonly WEB: "web";
|
|
5709
|
+
readonly IMAGE: "image";
|
|
5710
|
+
readonly VIDEO: "video";
|
|
5711
|
+
readonly NEWS: "news";
|
|
5712
|
+
readonly DISCOVER: "discover";
|
|
5713
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
5719
5714
|
}>>>;
|
|
5720
5715
|
}, z.core.$loose>>>;
|
|
5721
5716
|
}, z.core.$strip>;
|
|
@@ -5760,12 +5755,12 @@ declare const partnerEndpointSchemas: {
|
|
|
5760
5755
|
readonly response: z.ZodObject<{
|
|
5761
5756
|
siteId: z.ZodString;
|
|
5762
5757
|
searchType: z.ZodEnum<{
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5758
|
+
readonly WEB: "web";
|
|
5759
|
+
readonly IMAGE: "image";
|
|
5760
|
+
readonly VIDEO: "video";
|
|
5761
|
+
readonly NEWS: "news";
|
|
5762
|
+
readonly DISCOVER: "discover";
|
|
5763
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
5769
5764
|
}>;
|
|
5770
5765
|
range: z.ZodObject<{
|
|
5771
5766
|
start: z.ZodString;
|
|
@@ -5821,23 +5816,23 @@ declare const partnerEndpointSchemas: {
|
|
|
5821
5816
|
readonly getData: {
|
|
5822
5817
|
readonly state: z.ZodObject<{
|
|
5823
5818
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5819
|
+
readonly WEB: "web";
|
|
5820
|
+
readonly IMAGE: "image";
|
|
5821
|
+
readonly VIDEO: "video";
|
|
5822
|
+
readonly NEWS: "news";
|
|
5823
|
+
readonly DISCOVER: "discover";
|
|
5824
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
5830
5825
|
}>>;
|
|
5831
5826
|
}, z.core.$loose>;
|
|
5832
5827
|
readonly options: z.ZodOptional<z.ZodObject<{
|
|
5833
5828
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
5834
5829
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5830
|
+
readonly WEB: "web";
|
|
5831
|
+
readonly IMAGE: "image";
|
|
5832
|
+
readonly VIDEO: "video";
|
|
5833
|
+
readonly NEWS: "news";
|
|
5834
|
+
readonly DISCOVER: "discover";
|
|
5835
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
5841
5836
|
}>>;
|
|
5842
5837
|
}, z.core.$loose>>;
|
|
5843
5838
|
filter: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5847,12 +5842,12 @@ declare const partnerEndpointSchemas: {
|
|
|
5847
5842
|
declining: "declining";
|
|
5848
5843
|
}>>;
|
|
5849
5844
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5845
|
+
readonly WEB: "web";
|
|
5846
|
+
readonly IMAGE: "image";
|
|
5847
|
+
readonly VIDEO: "video";
|
|
5848
|
+
readonly NEWS: "news";
|
|
5849
|
+
readonly DISCOVER: "discover";
|
|
5850
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
5856
5851
|
}>>;
|
|
5857
5852
|
}, z.core.$strip>>;
|
|
5858
5853
|
readonly response: z.ZodObject<{
|
|
@@ -5891,32 +5886,32 @@ declare const partnerEndpointSchemas: {
|
|
|
5891
5886
|
readonly getDataDetail: {
|
|
5892
5887
|
readonly state: z.ZodObject<{
|
|
5893
5888
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5889
|
+
readonly WEB: "web";
|
|
5890
|
+
readonly IMAGE: "image";
|
|
5891
|
+
readonly VIDEO: "video";
|
|
5892
|
+
readonly NEWS: "news";
|
|
5893
|
+
readonly DISCOVER: "discover";
|
|
5894
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
5900
5895
|
}>>;
|
|
5901
5896
|
}, z.core.$loose>;
|
|
5902
5897
|
readonly options: z.ZodOptional<z.ZodObject<{
|
|
5903
5898
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
5904
5899
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5900
|
+
readonly WEB: "web";
|
|
5901
|
+
readonly IMAGE: "image";
|
|
5902
|
+
readonly VIDEO: "video";
|
|
5903
|
+
readonly NEWS: "news";
|
|
5904
|
+
readonly DISCOVER: "discover";
|
|
5905
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
5911
5906
|
}>>;
|
|
5912
5907
|
}, z.core.$loose>>;
|
|
5913
5908
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5909
|
+
readonly WEB: "web";
|
|
5910
|
+
readonly IMAGE: "image";
|
|
5911
|
+
readonly VIDEO: "video";
|
|
5912
|
+
readonly NEWS: "news";
|
|
5913
|
+
readonly DISCOVER: "discover";
|
|
5914
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
5920
5915
|
}>>;
|
|
5921
5916
|
}, z.core.$strip>>;
|
|
5922
5917
|
readonly response: z.ZodObject<{
|
|
@@ -6238,12 +6233,12 @@ declare const partnerEndpointSchemas: {
|
|
|
6238
6233
|
startDate: z.ZodString;
|
|
6239
6234
|
endDate: z.ZodString;
|
|
6240
6235
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6236
|
+
readonly WEB: "web";
|
|
6237
|
+
readonly IMAGE: "image";
|
|
6238
|
+
readonly VIDEO: "video";
|
|
6239
|
+
readonly NEWS: "news";
|
|
6240
|
+
readonly DISCOVER: "discover";
|
|
6241
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
6247
6242
|
}>>;
|
|
6248
6243
|
}, z.core.$strip>;
|
|
6249
6244
|
readonly response: z.ZodObject<{
|
|
@@ -6257,12 +6252,12 @@ declare const partnerEndpointSchemas: {
|
|
|
6257
6252
|
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
6258
6253
|
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
6259
6254
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6255
|
+
readonly WEB: "web";
|
|
6256
|
+
readonly IMAGE: "image";
|
|
6257
|
+
readonly VIDEO: "video";
|
|
6258
|
+
readonly NEWS: "news";
|
|
6259
|
+
readonly DISCOVER: "discover";
|
|
6260
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
6266
6261
|
}>>;
|
|
6267
6262
|
}, z.core.$strip>;
|
|
6268
6263
|
readonly response: z.ZodObject<{
|
|
@@ -6285,12 +6280,12 @@ declare const partnerEndpointSchemas: {
|
|
|
6285
6280
|
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
6286
6281
|
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
6287
6282
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6283
|
+
readonly WEB: "web";
|
|
6284
|
+
readonly IMAGE: "image";
|
|
6285
|
+
readonly VIDEO: "video";
|
|
6286
|
+
readonly NEWS: "news";
|
|
6287
|
+
readonly DISCOVER: "discover";
|
|
6288
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
6294
6289
|
}>>;
|
|
6295
6290
|
}, z.core.$strip>;
|
|
6296
6291
|
readonly response: z.ZodObject<{
|
|
@@ -7052,12 +7047,12 @@ declare const partnerEndpointSchemas: {
|
|
|
7052
7047
|
readonly response: z.ZodObject<{
|
|
7053
7048
|
siteId: z.ZodString;
|
|
7054
7049
|
searchType: z.ZodEnum<{
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7050
|
+
readonly WEB: "web";
|
|
7051
|
+
readonly IMAGE: "image";
|
|
7052
|
+
readonly VIDEO: "video";
|
|
7053
|
+
readonly NEWS: "news";
|
|
7054
|
+
readonly DISCOVER: "discover";
|
|
7055
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
7061
7056
|
}>;
|
|
7062
7057
|
range: z.ZodObject<{
|
|
7063
7058
|
start: z.ZodString;
|
|
@@ -7127,12 +7122,12 @@ declare const partnerEndpointSchemas: {
|
|
|
7127
7122
|
results: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7128
7123
|
siteId: z.ZodString;
|
|
7129
7124
|
searchType: z.ZodEnum<{
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7125
|
+
readonly WEB: "web";
|
|
7126
|
+
readonly IMAGE: "image";
|
|
7127
|
+
readonly VIDEO: "video";
|
|
7128
|
+
readonly NEWS: "news";
|
|
7129
|
+
readonly DISCOVER: "discover";
|
|
7130
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
7136
7131
|
}>;
|
|
7137
7132
|
range: z.ZodObject<{
|
|
7138
7133
|
start: z.ZodString;
|