@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.
@@ -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
- web: "web";
11
- image: "image";
12
- video: "video";
13
- news: "news";
14
- discover: "discover";
15
- googleNews: "googleNews";
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
- web: "web";
40
- image: "image";
41
- video: "video";
42
- news: "news";
43
- discover: "discover";
44
- googleNews: "googleNews";
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
- web: "web";
1311
- image: "image";
1312
- video: "video";
1313
- news: "news";
1314
- discover: "discover";
1315
- googleNews: "googleNews";
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
- web: "web";
1339
- image: "image";
1340
- video: "video";
1341
- news: "news";
1342
- discover: "discover";
1343
- googleNews: "googleNews";
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
- web: "web";
1412
- image: "image";
1413
- video: "video";
1414
- news: "news";
1415
- discover: "discover";
1416
- googleNews: "googleNews";
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
- web: "web";
1427
- image: "image";
1428
- video: "video";
1429
- news: "news";
1430
- discover: "discover";
1431
- googleNews: "googleNews";
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
- web: "web";
1438
- image: "image";
1439
- video: "video";
1440
- news: "news";
1441
- discover: "discover";
1442
- googleNews: "googleNews";
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
- web: "web";
1447
- image: "image";
1448
- video: "video";
1449
- news: "news";
1450
- discover: "discover";
1451
- googleNews: "googleNews";
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
- web: "web";
1479
- image: "image";
1480
- video: "video";
1481
- news: "news";
1482
- discover: "discover";
1483
- googleNews: "googleNews";
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
- web: "web";
1501
- image: "image";
1502
- video: "video";
1503
- news: "news";
1504
- discover: "discover";
1505
- googleNews: "googleNews";
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
- web: "web";
2105
- image: "image";
2106
- video: "video";
2107
- news: "news";
2108
- discover: "discover";
2109
- googleNews: "googleNews";
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
- web: "web";
2176
- image: "image";
2177
- video: "video";
2178
- news: "news";
2179
- discover: "discover";
2180
- googleNews: "googleNews";
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
- web: "web";
2239
- image: "image";
2240
- video: "video";
2241
- news: "news";
2242
- discover: "discover";
2243
- googleNews: "googleNews";
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
- web: "web";
2256
- image: "image";
2257
- video: "video";
2258
- news: "news";
2259
- discover: "discover";
2260
- googleNews: "googleNews";
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
- web: "web";
2282
- image: "image";
2283
- video: "video";
2284
- news: "news";
2285
- discover: "discover";
2286
- googleNews: "googleNews";
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
- web: "web";
3016
- image: "image";
3017
- video: "video";
3018
- news: "news";
3019
- discover: "discover";
3020
- googleNews: "googleNews";
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
- web: "web";
3091
- image: "image";
3092
- video: "video";
3093
- news: "news";
3094
- discover: "discover";
3095
- googleNews: "googleNews";
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
- web: "web";
3834
- image: "image";
3835
- video: "video";
3836
- news: "news";
3837
- discover: "discover";
3838
- googleNews: "googleNews";
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
- web: "web";
4015
- image: "image";
4016
- video: "video";
4017
- news: "news";
4018
- discover: "discover";
4019
- googleNews: "googleNews";
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
- web: "web";
4065
- image: "image";
4066
- video: "video";
4067
- news: "news";
4068
- discover: "discover";
4069
- googleNews: "googleNews";
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
- web: "web";
4126
- image: "image";
4127
- video: "video";
4128
- news: "news";
4129
- discover: "discover";
4130
- googleNews: "googleNews";
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
- web: "web";
4137
- image: "image";
4138
- video: "video";
4139
- news: "news";
4140
- discover: "discover";
4141
- googleNews: "googleNews";
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
- web: "web";
4152
- image: "image";
4153
- video: "video";
4154
- news: "news";
4155
- discover: "discover";
4156
- googleNews: "googleNews";
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
- web: "web";
4196
- image: "image";
4197
- video: "video";
4198
- news: "news";
4199
- discover: "discover";
4200
- googleNews: "googleNews";
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
- web: "web";
4207
- image: "image";
4208
- video: "video";
4209
- news: "news";
4210
- discover: "discover";
4211
- googleNews: "googleNews";
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
- web: "web";
4216
- image: "image";
4217
- video: "video";
4218
- news: "news";
4219
- discover: "discover";
4220
- googleNews: "googleNews";
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
- web: "web";
4543
- image: "image";
4544
- video: "video";
4545
- news: "news";
4546
- discover: "discover";
4547
- googleNews: "googleNews";
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
- web: "web";
4562
- image: "image";
4563
- video: "video";
4564
- news: "news";
4565
- discover: "discover";
4566
- googleNews: "googleNews";
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
- web: "web";
4590
- image: "image";
4591
- video: "video";
4592
- news: "news";
4593
- discover: "discover";
4594
- googleNews: "googleNews";
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
- web: "web";
5533
- image: "image";
5534
- video: "video";
5535
- news: "news";
5536
- discover: "discover";
5537
- googleNews: "googleNews";
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
- web: "web";
5714
- image: "image";
5715
- video: "video";
5716
- news: "news";
5717
- discover: "discover";
5718
- googleNews: "googleNews";
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
- web: "web";
5764
- image: "image";
5765
- video: "video";
5766
- news: "news";
5767
- discover: "discover";
5768
- googleNews: "googleNews";
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
- web: "web";
5825
- image: "image";
5826
- video: "video";
5827
- news: "news";
5828
- discover: "discover";
5829
- googleNews: "googleNews";
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
- web: "web";
5836
- image: "image";
5837
- video: "video";
5838
- news: "news";
5839
- discover: "discover";
5840
- googleNews: "googleNews";
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
- web: "web";
5851
- image: "image";
5852
- video: "video";
5853
- news: "news";
5854
- discover: "discover";
5855
- googleNews: "googleNews";
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
- web: "web";
5895
- image: "image";
5896
- video: "video";
5897
- news: "news";
5898
- discover: "discover";
5899
- googleNews: "googleNews";
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
- web: "web";
5906
- image: "image";
5907
- video: "video";
5908
- news: "news";
5909
- discover: "discover";
5910
- googleNews: "googleNews";
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
- web: "web";
5915
- image: "image";
5916
- video: "video";
5917
- news: "news";
5918
- discover: "discover";
5919
- googleNews: "googleNews";
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
- web: "web";
6242
- image: "image";
6243
- video: "video";
6244
- news: "news";
6245
- discover: "discover";
6246
- googleNews: "googleNews";
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
- web: "web";
6261
- image: "image";
6262
- video: "video";
6263
- news: "news";
6264
- discover: "discover";
6265
- googleNews: "googleNews";
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
- web: "web";
6289
- image: "image";
6290
- video: "video";
6291
- news: "news";
6292
- discover: "discover";
6293
- googleNews: "googleNews";
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
- web: "web";
7056
- image: "image";
7057
- video: "video";
7058
- news: "news";
7059
- discover: "discover";
7060
- googleNews: "googleNews";
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
- web: "web";
7131
- image: "image";
7132
- video: "video";
7133
- news: "news";
7134
- discover: "discover";
7135
- googleNews: "googleNews";
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;