@gscdump/contracts 0.39.0 → 0.40.1

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.
@@ -360,9 +360,9 @@ declare const gscRowQueryResponseSchema: z.ZodObject<{
360
360
  }, z.core.$loose>;
361
361
  }, z.core.$loose>;
362
362
  declare const indexingUrlStatusSchema: z.ZodEnum<{
363
+ pending: "pending";
363
364
  indexed: "indexed";
364
365
  not_indexed: "not_indexed";
365
- pending: "pending";
366
366
  }>;
367
367
  declare const indexingUrlRowSchema: z.ZodObject<{
368
368
  url: z.ZodString;
@@ -644,7 +644,7 @@ declare const gscdumpMetaSchema: z.ZodObject<{
644
644
  syncStatus: z.ZodString;
645
645
  newestDateSynced: z.ZodNullable<z.ZodString>;
646
646
  oldestDateSynced: z.ZodNullable<z.ZodString>;
647
- dataDelay: z.ZodString;
647
+ dataDelay: z.ZodOptional<z.ZodString>;
648
648
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
649
649
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
650
650
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -681,7 +681,7 @@ declare const gscdumpDataResponseSchema: z.ZodObject<{
681
681
  syncStatus: z.ZodString;
682
682
  newestDateSynced: z.ZodNullable<z.ZodString>;
683
683
  oldestDateSynced: z.ZodNullable<z.ZodString>;
684
- dataDelay: z.ZodString;
684
+ dataDelay: z.ZodOptional<z.ZodString>;
685
685
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
686
686
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
687
687
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -702,6 +702,13 @@ declare const gscdumpDataDetailResponseSchema: z.ZodObject<{
702
702
  ctr: z.ZodNumber;
703
703
  position: z.ZodNumber;
704
704
  }, z.core.$loose>>;
705
+ previousDaily: z.ZodOptional<z.ZodArray<z.ZodObject<{
706
+ date: z.ZodString;
707
+ clicks: z.ZodNumber;
708
+ impressions: z.ZodNumber;
709
+ ctr: z.ZodNumber;
710
+ position: z.ZodNumber;
711
+ }, z.core.$loose>>>;
705
712
  totals: z.ZodObject<{
706
713
  clicks: z.ZodNumber;
707
714
  impressions: z.ZodNumber;
@@ -719,7 +726,7 @@ declare const gscdumpDataDetailResponseSchema: z.ZodObject<{
719
726
  syncStatus: z.ZodString;
720
727
  newestDateSynced: z.ZodNullable<z.ZodString>;
721
728
  oldestDateSynced: z.ZodNullable<z.ZodString>;
722
- dataDelay: z.ZodString;
729
+ dataDelay: z.ZodOptional<z.ZodString>;
723
730
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
724
731
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
725
732
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -1151,9 +1158,139 @@ declare const gscdumpSiteRegistrationSchema: z.ZodObject<{
1151
1158
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
1152
1159
  missing_indexing_scope: "missing_indexing_scope";
1153
1160
  insufficient_gsc_permission: "insufficient_gsc_permission";
1161
+ free_plan: "free_plan";
1154
1162
  }>>;
1155
1163
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1156
1164
  grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1165
+ site: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1166
+ siteId: z.ZodString;
1167
+ intId: z.ZodNullable<z.ZodNumber>;
1168
+ catalogSiteId: z.ZodNullable<z.ZodNumber>;
1169
+ externalSiteId: z.ZodNullable<z.ZodString>;
1170
+ requestedUrl: z.ZodString;
1171
+ gscPropertyUrl: z.ZodNullable<z.ZodString>;
1172
+ permissionLevel: z.ZodNullable<z.ZodString>;
1173
+ property: z.ZodObject<{
1174
+ status: z.ZodEnum<{
1175
+ no_local_site: "no_local_site";
1176
+ no_gsc_property: "no_gsc_property";
1177
+ unverified_property: "unverified_property";
1178
+ verified_candidate: "verified_candidate";
1179
+ registered: "registered";
1180
+ linked: "linked";
1181
+ }>;
1182
+ nextAction: z.ZodEnum<{
1183
+ none: "none";
1184
+ create_site: "create_site";
1185
+ verify_gsc_property: "verify_gsc_property";
1186
+ choose_property: "choose_property";
1187
+ register_site: "register_site";
1188
+ }>;
1189
+ }, z.core.$loose>;
1190
+ analytics: z.ZodObject<{
1191
+ status: z.ZodEnum<{
1192
+ ready: "ready";
1193
+ not_registered: "not_registered";
1194
+ queued: "queued";
1195
+ preparing: "preparing";
1196
+ syncing: "syncing";
1197
+ queryable_live: "queryable_live";
1198
+ queryable_partial: "queryable_partial";
1199
+ failed: "failed";
1200
+ }>;
1201
+ progress: z.ZodObject<{
1202
+ completed: z.ZodNumber;
1203
+ failed: z.ZodNumber;
1204
+ total: z.ZodNumber;
1205
+ percent: z.ZodNumber;
1206
+ }, z.core.$strip>;
1207
+ queryable: z.ZodBoolean;
1208
+ sourceMode: z.ZodEnum<{
1209
+ none: "none";
1210
+ live: "live";
1211
+ d1: "d1";
1212
+ r2: "r2";
1213
+ mixed: "mixed";
1214
+ }>;
1215
+ syncedRange: z.ZodObject<{
1216
+ oldest: z.ZodNullable<z.ZodString>;
1217
+ newest: z.ZodNullable<z.ZodString>;
1218
+ }, z.core.$loose>;
1219
+ nextAction: z.ZodEnum<{
1220
+ none: "none";
1221
+ wait_for_sync: "wait_for_sync";
1222
+ retry_sync: "retry_sync";
1223
+ }>;
1224
+ }, z.core.$loose>;
1225
+ sitemaps: z.ZodObject<{
1226
+ status: z.ZodEnum<{
1227
+ ready: "ready";
1228
+ syncing: "syncing";
1229
+ failed: "failed";
1230
+ unknown: "unknown";
1231
+ discovering: "discovering";
1232
+ none_found: "none_found";
1233
+ auto_submitted: "auto_submitted";
1234
+ }>;
1235
+ discoveredCount: z.ZodNumber;
1236
+ nextAction: z.ZodEnum<{
1237
+ none: "none";
1238
+ submit_sitemap: "submit_sitemap";
1239
+ wait_for_sitemaps: "wait_for_sitemaps";
1240
+ retry_sitemaps: "retry_sitemaps";
1241
+ }>;
1242
+ }, z.core.$loose>;
1243
+ indexing: z.ZodObject<{
1244
+ status: z.ZodEnum<{
1245
+ ready: "ready";
1246
+ failed: "failed";
1247
+ discovering: "discovering";
1248
+ not_requested: "not_requested";
1249
+ missing_scope: "missing_scope";
1250
+ insufficient_permission: "insufficient_permission";
1251
+ waiting_for_sitemaps: "waiting_for_sitemaps";
1252
+ checking: "checking";
1253
+ budget_exhausted: "budget_exhausted";
1254
+ no_urls: "no_urls";
1255
+ }>;
1256
+ eligible: z.ZodBoolean;
1257
+ reason: z.ZodNullable<z.ZodString>;
1258
+ progress: z.ZodObject<{
1259
+ completed: z.ZodNumber;
1260
+ failed: z.ZodNumber;
1261
+ total: z.ZodNumber;
1262
+ percent: z.ZodNumber;
1263
+ }, z.core.$strip>;
1264
+ nextAction: z.ZodEnum<{
1265
+ reconnect_google: "reconnect_google";
1266
+ none: "none";
1267
+ wait_for_sitemaps: "wait_for_sitemaps";
1268
+ fix_gsc_permission: "fix_gsc_permission";
1269
+ wait_for_indexing: "wait_for_indexing";
1270
+ retry_indexing: "retry_indexing";
1271
+ }>;
1272
+ }, z.core.$loose>;
1273
+ latestError: z.ZodNullable<z.ZodObject<{
1274
+ code: z.ZodEnum<{
1275
+ missing_refresh_token: "missing_refresh_token";
1276
+ missing_analytics_scope: "missing_analytics_scope";
1277
+ missing_indexing_scope: "missing_indexing_scope";
1278
+ token_refresh_failed: "token_refresh_failed";
1279
+ permission_lost: "permission_lost";
1280
+ insufficient_gsc_permission: "insufficient_gsc_permission";
1281
+ gsc_property_not_found: "gsc_property_not_found";
1282
+ gsc_property_unverified: "gsc_property_unverified";
1283
+ user_database_not_provisioned: "user_database_not_provisioned";
1284
+ sync_failed: "sync_failed";
1285
+ sitemap_sync_failed: "sitemap_sync_failed";
1286
+ indexing_failed: "indexing_failed";
1287
+ }>;
1288
+ message: z.ZodString;
1289
+ retryable: z.ZodBoolean;
1290
+ }, z.core.$strip>>;
1291
+ lifecycleRevision: z.ZodNumber;
1292
+ updatedAt: z.ZodString;
1293
+ }, z.core.$loose>>>;
1157
1294
  }, z.core.$loose>;
1158
1295
  declare const registerPartnerSiteSchema: z.ZodObject<{
1159
1296
  userId: z.ZodString;
@@ -1226,6 +1363,7 @@ declare const bulkRegisterPartnerSitesResponseSchema: z.ZodObject<{
1226
1363
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
1227
1364
  missing_indexing_scope: "missing_indexing_scope";
1228
1365
  insufficient_gsc_permission: "insufficient_gsc_permission";
1366
+ free_plan: "free_plan";
1229
1367
  }>>;
1230
1368
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
1369
  grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1304,7 +1442,49 @@ declare const gscdumpAnalysisPresetSchema: z.ZodEnum<{
1304
1442
  "movers-rising": "movers-rising";
1305
1443
  "movers-declining": "movers-declining";
1306
1444
  }>;
1445
+ declare const gscdumpAnalysisBaseParamsSchema: z.ZodObject<{
1446
+ startDate: z.ZodString;
1447
+ endDate: z.ZodString;
1448
+ prevStartDate: z.ZodOptional<z.ZodString>;
1449
+ prevEndDate: z.ZodOptional<z.ZodString>;
1450
+ brandTerms: z.ZodOptional<z.ZodString>;
1451
+ limit: z.ZodOptional<z.ZodNumber>;
1452
+ offset: z.ZodOptional<z.ZodNumber>;
1453
+ search: z.ZodOptional<z.ZodString>;
1454
+ minImpressions: z.ZodOptional<z.ZodNumber>;
1455
+ minPosition: z.ZodOptional<z.ZodNumber>;
1456
+ maxPosition: z.ZodOptional<z.ZodNumber>;
1457
+ maxCtr: z.ZodOptional<z.ZodNumber>;
1458
+ searchType: z.ZodOptional<z.ZodEnum<{
1459
+ web: "web";
1460
+ image: "image";
1461
+ video: "video";
1462
+ news: "news";
1463
+ discover: "discover";
1464
+ googleNews: "googleNews";
1465
+ }>>;
1466
+ }, z.core.$strip>;
1307
1467
  declare const gscdumpAnalysisParamsSchema: z.ZodObject<{
1468
+ startDate: z.ZodString;
1469
+ endDate: z.ZodString;
1470
+ prevStartDate: z.ZodOptional<z.ZodString>;
1471
+ prevEndDate: z.ZodOptional<z.ZodString>;
1472
+ brandTerms: z.ZodOptional<z.ZodString>;
1473
+ limit: z.ZodOptional<z.ZodNumber>;
1474
+ offset: z.ZodOptional<z.ZodNumber>;
1475
+ search: z.ZodOptional<z.ZodString>;
1476
+ minImpressions: z.ZodOptional<z.ZodNumber>;
1477
+ minPosition: z.ZodOptional<z.ZodNumber>;
1478
+ maxPosition: z.ZodOptional<z.ZodNumber>;
1479
+ maxCtr: z.ZodOptional<z.ZodNumber>;
1480
+ searchType: z.ZodOptional<z.ZodEnum<{
1481
+ web: "web";
1482
+ image: "image";
1483
+ video: "video";
1484
+ news: "news";
1485
+ discover: "discover";
1486
+ googleNews: "googleNews";
1487
+ }>>;
1308
1488
  preset: z.ZodEnum<{
1309
1489
  "striking-distance": "striking-distance";
1310
1490
  opportunity: "opportunity";
@@ -1315,6 +1495,8 @@ declare const gscdumpAnalysisParamsSchema: z.ZodObject<{
1315
1495
  "movers-rising": "movers-rising";
1316
1496
  "movers-declining": "movers-declining";
1317
1497
  }>;
1498
+ }, z.core.$strip>;
1499
+ declare const gscdumpAnalysisBundleParamsSchema: z.ZodObject<{
1318
1500
  startDate: z.ZodString;
1319
1501
  endDate: z.ZodString;
1320
1502
  prevStartDate: z.ZodOptional<z.ZodString>;
@@ -1335,7 +1517,28 @@ declare const gscdumpAnalysisParamsSchema: z.ZodObject<{
1335
1517
  discover: "discover";
1336
1518
  googleNews: "googleNews";
1337
1519
  }>>;
1520
+ presets: z.ZodArray<z.ZodEnum<{
1521
+ "striking-distance": "striking-distance";
1522
+ opportunity: "opportunity";
1523
+ decay: "decay";
1524
+ "zero-click": "zero-click";
1525
+ "non-brand": "non-brand";
1526
+ "brand-only": "brand-only";
1527
+ "movers-rising": "movers-rising";
1528
+ "movers-declining": "movers-declining";
1529
+ }>>;
1338
1530
  }, z.core.$strip>;
1531
+ declare const gscdumpAnalysisMetaSchema: z.ZodObject<{
1532
+ siteUrl: z.ZodString;
1533
+ params: z.ZodObject<{
1534
+ brandTerms: z.ZodOptional<z.ZodArray<z.ZodString>>;
1535
+ startDate: z.ZodOptional<z.ZodString>;
1536
+ endDate: z.ZodOptional<z.ZodString>;
1537
+ prevStartDate: z.ZodOptional<z.ZodString>;
1538
+ prevEndDate: z.ZodOptional<z.ZodString>;
1539
+ }, z.core.$strip>;
1540
+ presetDescription: z.ZodOptional<z.ZodString>;
1541
+ }, z.core.$loose>;
1339
1542
  declare const gscdumpAnalysisResponseSchema: z.ZodObject<{
1340
1543
  preset: z.ZodEnum<{
1341
1544
  "striking-distance": "striking-distance";
@@ -1349,23 +1552,36 @@ declare const gscdumpAnalysisResponseSchema: z.ZodObject<{
1349
1552
  }>;
1350
1553
  keywords: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1351
1554
  totalCount: z.ZodNumber;
1352
- summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1555
+ summary: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1353
1556
  meta: z.ZodObject<{
1354
1557
  siteUrl: z.ZodString;
1355
- syncStatus: z.ZodString;
1356
- newestDateSynced: z.ZodNullable<z.ZodString>;
1357
- oldestDateSynced: z.ZodNullable<z.ZodString>;
1358
- dataDelay: z.ZodString;
1359
- dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1360
- warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1361
- enrichment: z.ZodOptional<z.ZodObject<{
1362
- lastEnriched: z.ZodNumber;
1363
- isDue: z.ZodBoolean;
1364
- }, z.core.$strip>>;
1365
- backfill: z.ZodOptional<z.ZodObject<{
1366
- percent: z.ZodNumber;
1367
- daysRemaining: z.ZodOptional<z.ZodNumber>;
1368
- }, z.core.$strip>>;
1558
+ params: z.ZodObject<{
1559
+ brandTerms: z.ZodOptional<z.ZodArray<z.ZodString>>;
1560
+ startDate: z.ZodOptional<z.ZodString>;
1561
+ endDate: z.ZodOptional<z.ZodString>;
1562
+ prevStartDate: z.ZodOptional<z.ZodString>;
1563
+ prevEndDate: z.ZodOptional<z.ZodString>;
1564
+ }, z.core.$strip>;
1565
+ presetDescription: z.ZodOptional<z.ZodString>;
1566
+ }, z.core.$loose>;
1567
+ }, z.core.$loose>;
1568
+ declare const gscdumpAnalysisBundleResponseSchema: z.ZodObject<{
1569
+ bundle: z.ZodRecord<z.ZodString, z.ZodObject<{
1570
+ keywords: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1571
+ totalCount: z.ZodNumber;
1572
+ summary: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1573
+ presetDescription: z.ZodString;
1574
+ }, z.core.$strip>>;
1575
+ meta: z.ZodObject<{
1576
+ siteUrl: z.ZodString;
1577
+ params: z.ZodObject<{
1578
+ brandTerms: z.ZodOptional<z.ZodArray<z.ZodString>>;
1579
+ startDate: z.ZodOptional<z.ZodString>;
1580
+ endDate: z.ZodOptional<z.ZodString>;
1581
+ prevStartDate: z.ZodOptional<z.ZodString>;
1582
+ prevEndDate: z.ZodOptional<z.ZodString>;
1583
+ }, z.core.$strip>;
1584
+ presetDescription: z.ZodOptional<z.ZodString>;
1369
1585
  }, z.core.$loose>;
1370
1586
  }, z.core.$loose>;
1371
1587
  declare const gscdumpSitemapsResponseSchema: z.ZodObject<{
@@ -1375,8 +1591,11 @@ declare const gscdumpSitemapsResponseSchema: z.ZodObject<{
1375
1591
  errors: z.ZodNumber;
1376
1592
  warnings: z.ZodNumber;
1377
1593
  isIndex: z.ZodOptional<z.ZodBoolean>;
1378
- lastSubmitted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1594
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1379
1595
  lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1596
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1597
+ isPending: z.ZodOptional<z.ZodBoolean>;
1598
+ fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1380
1599
  }, z.core.$loose>>;
1381
1600
  history: z.ZodArray<z.ZodObject<{
1382
1601
  date: z.ZodString;
@@ -1393,6 +1612,7 @@ declare const gscdumpSitemapsResponseSchema: z.ZodObject<{
1393
1612
  }, z.core.$loose>>>;
1394
1613
  meta: z.ZodObject<{
1395
1614
  siteUrl: z.ZodString;
1615
+ gscPropertyUrl: z.ZodString;
1396
1616
  syncStatus: z.ZodNullable<z.ZodString>;
1397
1617
  }, z.core.$loose>;
1398
1618
  }, z.core.$loose>;
@@ -1419,9 +1639,9 @@ declare const indexingUrlsParamsSchema: z.ZodOptional<z.ZodObject<{
1419
1639
  limit: z.ZodOptional<z.ZodNumber>;
1420
1640
  offset: z.ZodOptional<z.ZodNumber>;
1421
1641
  status: z.ZodOptional<z.ZodEnum<{
1642
+ pending: "pending";
1422
1643
  indexed: "indexed";
1423
1644
  not_indexed: "not_indexed";
1424
- pending: "pending";
1425
1645
  }>>;
1426
1646
  issue: z.ZodOptional<z.ZodString>;
1427
1647
  search: z.ZodOptional<z.ZodString>;
@@ -3133,49 +3353,179 @@ declare const partnerControlEndpointSchemas: {
3133
3353
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
3134
3354
  missing_indexing_scope: "missing_indexing_scope";
3135
3355
  insufficient_gsc_permission: "insufficient_gsc_permission";
3356
+ free_plan: "free_plan";
3136
3357
  }>>;
3137
3358
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3138
3359
  grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3139
- }, z.core.$loose>;
3140
- };
3141
- readonly bulkRegisterSites: {
3142
- readonly body: z.ZodObject<{
3143
- userId: z.ZodOptional<z.ZodString>;
3144
- siteUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
3145
- sites: z.ZodOptional<z.ZodArray<z.ZodObject<{
3146
- siteUrl: z.ZodOptional<z.ZodString>;
3147
- requestedUrl: z.ZodOptional<z.ZodString>;
3148
- gscPropertyUrl: z.ZodOptional<z.ZodString>;
3149
- externalSiteId: z.ZodOptional<z.ZodString>;
3150
- externalSiteUrl: z.ZodOptional<z.ZodString>;
3151
- webhookUrl: z.ZodOptional<z.ZodURL>;
3152
- webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3153
- "user.lifecycle.changed": "user.lifecycle.changed";
3154
- "site.lifecycle.changed": "site.lifecycle.changed";
3155
- "site.analytics.ready": "site.analytics.ready";
3156
- "site.indexing.ready": "site.indexing.ready";
3157
- "site.auth.failed": "site.auth.failed";
3158
- "job.failed": "job.failed";
3159
- }>>>;
3160
- enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3161
- web: "web";
3162
- image: "image";
3163
- video: "video";
3164
- news: "news";
3165
- discover: "discover";
3166
- googleNews: "googleNews";
3167
- }>>>;
3168
- }, z.core.$loose>>>;
3169
- }, z.core.$strip>;
3170
- readonly response: z.ZodObject<{
3171
- results: z.ZodArray<z.ZodObject<{
3172
- siteUrl: z.ZodString;
3173
- siteId: z.ZodOptional<z.ZodString>;
3174
- status: z.ZodEnum<{
3175
- registered: "registered";
3176
- error: "error";
3177
- already_exists: "already_exists";
3178
- not_found: "not_found";
3360
+ site: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3361
+ siteId: z.ZodString;
3362
+ intId: z.ZodNullable<z.ZodNumber>;
3363
+ catalogSiteId: z.ZodNullable<z.ZodNumber>;
3364
+ externalSiteId: z.ZodNullable<z.ZodString>;
3365
+ requestedUrl: z.ZodString;
3366
+ gscPropertyUrl: z.ZodNullable<z.ZodString>;
3367
+ permissionLevel: z.ZodNullable<z.ZodString>;
3368
+ property: z.ZodObject<{
3369
+ status: z.ZodEnum<{
3370
+ no_local_site: "no_local_site";
3371
+ no_gsc_property: "no_gsc_property";
3372
+ unverified_property: "unverified_property";
3373
+ verified_candidate: "verified_candidate";
3374
+ registered: "registered";
3375
+ linked: "linked";
3376
+ }>;
3377
+ nextAction: z.ZodEnum<{
3378
+ none: "none";
3379
+ create_site: "create_site";
3380
+ verify_gsc_property: "verify_gsc_property";
3381
+ choose_property: "choose_property";
3382
+ register_site: "register_site";
3383
+ }>;
3384
+ }, z.core.$loose>;
3385
+ analytics: z.ZodObject<{
3386
+ status: z.ZodEnum<{
3387
+ ready: "ready";
3388
+ not_registered: "not_registered";
3389
+ queued: "queued";
3390
+ preparing: "preparing";
3391
+ syncing: "syncing";
3392
+ queryable_live: "queryable_live";
3393
+ queryable_partial: "queryable_partial";
3394
+ failed: "failed";
3395
+ }>;
3396
+ progress: z.ZodObject<{
3397
+ completed: z.ZodNumber;
3398
+ failed: z.ZodNumber;
3399
+ total: z.ZodNumber;
3400
+ percent: z.ZodNumber;
3401
+ }, z.core.$strip>;
3402
+ queryable: z.ZodBoolean;
3403
+ sourceMode: z.ZodEnum<{
3404
+ none: "none";
3405
+ live: "live";
3406
+ d1: "d1";
3407
+ r2: "r2";
3408
+ mixed: "mixed";
3409
+ }>;
3410
+ syncedRange: z.ZodObject<{
3411
+ oldest: z.ZodNullable<z.ZodString>;
3412
+ newest: z.ZodNullable<z.ZodString>;
3413
+ }, z.core.$loose>;
3414
+ nextAction: z.ZodEnum<{
3415
+ none: "none";
3416
+ wait_for_sync: "wait_for_sync";
3417
+ retry_sync: "retry_sync";
3418
+ }>;
3419
+ }, z.core.$loose>;
3420
+ sitemaps: z.ZodObject<{
3421
+ status: z.ZodEnum<{
3422
+ ready: "ready";
3423
+ syncing: "syncing";
3424
+ failed: "failed";
3425
+ unknown: "unknown";
3426
+ discovering: "discovering";
3427
+ none_found: "none_found";
3428
+ auto_submitted: "auto_submitted";
3429
+ }>;
3430
+ discoveredCount: z.ZodNumber;
3431
+ nextAction: z.ZodEnum<{
3432
+ none: "none";
3433
+ submit_sitemap: "submit_sitemap";
3434
+ wait_for_sitemaps: "wait_for_sitemaps";
3435
+ retry_sitemaps: "retry_sitemaps";
3436
+ }>;
3437
+ }, z.core.$loose>;
3438
+ indexing: z.ZodObject<{
3439
+ status: z.ZodEnum<{
3440
+ ready: "ready";
3441
+ failed: "failed";
3442
+ discovering: "discovering";
3443
+ not_requested: "not_requested";
3444
+ missing_scope: "missing_scope";
3445
+ insufficient_permission: "insufficient_permission";
3446
+ waiting_for_sitemaps: "waiting_for_sitemaps";
3447
+ checking: "checking";
3448
+ budget_exhausted: "budget_exhausted";
3449
+ no_urls: "no_urls";
3450
+ }>;
3451
+ eligible: z.ZodBoolean;
3452
+ reason: z.ZodNullable<z.ZodString>;
3453
+ progress: z.ZodObject<{
3454
+ completed: z.ZodNumber;
3455
+ failed: z.ZodNumber;
3456
+ total: z.ZodNumber;
3457
+ percent: z.ZodNumber;
3458
+ }, z.core.$strip>;
3459
+ nextAction: z.ZodEnum<{
3460
+ reconnect_google: "reconnect_google";
3461
+ none: "none";
3462
+ wait_for_sitemaps: "wait_for_sitemaps";
3463
+ fix_gsc_permission: "fix_gsc_permission";
3464
+ wait_for_indexing: "wait_for_indexing";
3465
+ retry_indexing: "retry_indexing";
3466
+ }>;
3467
+ }, z.core.$loose>;
3468
+ latestError: z.ZodNullable<z.ZodObject<{
3469
+ code: z.ZodEnum<{
3470
+ missing_refresh_token: "missing_refresh_token";
3471
+ missing_analytics_scope: "missing_analytics_scope";
3472
+ missing_indexing_scope: "missing_indexing_scope";
3473
+ token_refresh_failed: "token_refresh_failed";
3474
+ permission_lost: "permission_lost";
3475
+ insufficient_gsc_permission: "insufficient_gsc_permission";
3476
+ gsc_property_not_found: "gsc_property_not_found";
3477
+ gsc_property_unverified: "gsc_property_unverified";
3478
+ user_database_not_provisioned: "user_database_not_provisioned";
3479
+ sync_failed: "sync_failed";
3480
+ sitemap_sync_failed: "sitemap_sync_failed";
3481
+ indexing_failed: "indexing_failed";
3482
+ }>;
3483
+ message: z.ZodString;
3484
+ retryable: z.ZodBoolean;
3485
+ }, z.core.$strip>>;
3486
+ lifecycleRevision: z.ZodNumber;
3487
+ updatedAt: z.ZodString;
3488
+ }, z.core.$loose>>>;
3489
+ }, z.core.$loose>;
3490
+ };
3491
+ readonly bulkRegisterSites: {
3492
+ readonly body: z.ZodObject<{
3493
+ userId: z.ZodOptional<z.ZodString>;
3494
+ siteUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
3495
+ sites: z.ZodOptional<z.ZodArray<z.ZodObject<{
3496
+ siteUrl: z.ZodOptional<z.ZodString>;
3497
+ requestedUrl: z.ZodOptional<z.ZodString>;
3498
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
3499
+ externalSiteId: z.ZodOptional<z.ZodString>;
3500
+ externalSiteUrl: z.ZodOptional<z.ZodString>;
3501
+ webhookUrl: z.ZodOptional<z.ZodURL>;
3502
+ webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3503
+ "user.lifecycle.changed": "user.lifecycle.changed";
3504
+ "site.lifecycle.changed": "site.lifecycle.changed";
3505
+ "site.analytics.ready": "site.analytics.ready";
3506
+ "site.indexing.ready": "site.indexing.ready";
3507
+ "site.auth.failed": "site.auth.failed";
3508
+ "job.failed": "job.failed";
3509
+ }>>>;
3510
+ enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3511
+ web: "web";
3512
+ image: "image";
3513
+ video: "video";
3514
+ news: "news";
3515
+ discover: "discover";
3516
+ googleNews: "googleNews";
3517
+ }>>>;
3518
+ }, z.core.$loose>>>;
3519
+ }, z.core.$strip>;
3520
+ readonly response: z.ZodObject<{
3521
+ results: z.ZodArray<z.ZodObject<{
3522
+ siteUrl: z.ZodString;
3523
+ siteId: z.ZodOptional<z.ZodString>;
3524
+ status: z.ZodEnum<{
3525
+ registered: "registered";
3526
+ error: "error";
3527
+ already_exists: "already_exists";
3528
+ not_found: "not_found";
3179
3529
  }>;
3180
3530
  error: z.ZodOptional<z.ZodString>;
3181
3531
  site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -3183,6 +3533,7 @@ declare const partnerControlEndpointSchemas: {
3183
3533
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
3184
3534
  missing_indexing_scope: "missing_indexing_scope";
3185
3535
  insufficient_gsc_permission: "insufficient_gsc_permission";
3536
+ free_plan: "free_plan";
3186
3537
  }>>;
3187
3538
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3188
3539
  grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3321,7 +3672,7 @@ declare const partnerControlEndpointSchemas: {
3321
3672
  syncStatus: z.ZodString;
3322
3673
  newestDateSynced: z.ZodNullable<z.ZodString>;
3323
3674
  oldestDateSynced: z.ZodNullable<z.ZodString>;
3324
- dataDelay: z.ZodString;
3675
+ dataDelay: z.ZodOptional<z.ZodString>;
3325
3676
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3326
3677
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3327
3678
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -3374,6 +3725,13 @@ declare const partnerControlEndpointSchemas: {
3374
3725
  ctr: z.ZodNumber;
3375
3726
  position: z.ZodNumber;
3376
3727
  }, z.core.$loose>>;
3728
+ previousDaily: z.ZodOptional<z.ZodArray<z.ZodObject<{
3729
+ date: z.ZodString;
3730
+ clicks: z.ZodNumber;
3731
+ impressions: z.ZodNumber;
3732
+ ctr: z.ZodNumber;
3733
+ position: z.ZodNumber;
3734
+ }, z.core.$loose>>>;
3377
3735
  totals: z.ZodObject<{
3378
3736
  clicks: z.ZodNumber;
3379
3737
  impressions: z.ZodNumber;
@@ -3391,7 +3749,7 @@ declare const partnerControlEndpointSchemas: {
3391
3749
  syncStatus: z.ZodString;
3392
3750
  newestDateSynced: z.ZodNullable<z.ZodString>;
3393
3751
  oldestDateSynced: z.ZodNullable<z.ZodString>;
3394
- dataDelay: z.ZodString;
3752
+ dataDelay: z.ZodOptional<z.ZodString>;
3395
3753
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3396
3754
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3397
3755
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -3407,16 +3765,6 @@ declare const partnerControlEndpointSchemas: {
3407
3765
  };
3408
3766
  readonly getAnalysis: {
3409
3767
  readonly query: z.ZodObject<{
3410
- preset: z.ZodEnum<{
3411
- "striking-distance": "striking-distance";
3412
- opportunity: "opportunity";
3413
- decay: "decay";
3414
- "zero-click": "zero-click";
3415
- "non-brand": "non-brand";
3416
- "brand-only": "brand-only";
3417
- "movers-rising": "movers-rising";
3418
- "movers-declining": "movers-declining";
3419
- }>;
3420
3768
  startDate: z.ZodString;
3421
3769
  endDate: z.ZodString;
3422
3770
  prevStartDate: z.ZodOptional<z.ZodString>;
@@ -3437,6 +3785,16 @@ declare const partnerControlEndpointSchemas: {
3437
3785
  discover: "discover";
3438
3786
  googleNews: "googleNews";
3439
3787
  }>>;
3788
+ preset: z.ZodEnum<{
3789
+ "striking-distance": "striking-distance";
3790
+ opportunity: "opportunity";
3791
+ decay: "decay";
3792
+ "zero-click": "zero-click";
3793
+ "non-brand": "non-brand";
3794
+ "brand-only": "brand-only";
3795
+ "movers-rising": "movers-rising";
3796
+ "movers-declining": "movers-declining";
3797
+ }>;
3440
3798
  }, z.core.$strip>;
3441
3799
  readonly response: z.ZodObject<{
3442
3800
  preset: z.ZodEnum<{
@@ -3451,23 +3809,17 @@ declare const partnerControlEndpointSchemas: {
3451
3809
  }>;
3452
3810
  keywords: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3453
3811
  totalCount: z.ZodNumber;
3454
- summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3812
+ summary: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3455
3813
  meta: z.ZodObject<{
3456
3814
  siteUrl: z.ZodString;
3457
- syncStatus: z.ZodString;
3458
- newestDateSynced: z.ZodNullable<z.ZodString>;
3459
- oldestDateSynced: z.ZodNullable<z.ZodString>;
3460
- dataDelay: z.ZodString;
3461
- dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3462
- warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3463
- enrichment: z.ZodOptional<z.ZodObject<{
3464
- lastEnriched: z.ZodNumber;
3465
- isDue: z.ZodBoolean;
3466
- }, z.core.$strip>>;
3467
- backfill: z.ZodOptional<z.ZodObject<{
3468
- percent: z.ZodNumber;
3469
- daysRemaining: z.ZodOptional<z.ZodNumber>;
3470
- }, z.core.$strip>>;
3815
+ params: z.ZodObject<{
3816
+ brandTerms: z.ZodOptional<z.ZodArray<z.ZodString>>;
3817
+ startDate: z.ZodOptional<z.ZodString>;
3818
+ endDate: z.ZodOptional<z.ZodString>;
3819
+ prevStartDate: z.ZodOptional<z.ZodString>;
3820
+ prevEndDate: z.ZodOptional<z.ZodString>;
3821
+ }, z.core.$strip>;
3822
+ presetDescription: z.ZodOptional<z.ZodString>;
3471
3823
  }, z.core.$loose>;
3472
3824
  }, z.core.$loose>;
3473
3825
  };
@@ -3479,8 +3831,11 @@ declare const partnerControlEndpointSchemas: {
3479
3831
  errors: z.ZodNumber;
3480
3832
  warnings: z.ZodNumber;
3481
3833
  isIndex: z.ZodOptional<z.ZodBoolean>;
3482
- lastSubmitted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3834
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3483
3835
  lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3836
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3837
+ isPending: z.ZodOptional<z.ZodBoolean>;
3838
+ fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3484
3839
  }, z.core.$loose>>;
3485
3840
  history: z.ZodArray<z.ZodObject<{
3486
3841
  date: z.ZodString;
@@ -3497,6 +3852,7 @@ declare const partnerControlEndpointSchemas: {
3497
3852
  }, z.core.$loose>>>;
3498
3853
  meta: z.ZodObject<{
3499
3854
  siteUrl: z.ZodString;
3855
+ gscPropertyUrl: z.ZodString;
3500
3856
  syncStatus: z.ZodNullable<z.ZodString>;
3501
3857
  }, z.core.$loose>;
3502
3858
  }, z.core.$loose>;
@@ -3597,9 +3953,9 @@ declare const partnerControlEndpointSchemas: {
3597
3953
  limit: z.ZodOptional<z.ZodNumber>;
3598
3954
  offset: z.ZodOptional<z.ZodNumber>;
3599
3955
  status: z.ZodOptional<z.ZodEnum<{
3956
+ pending: "pending";
3600
3957
  indexed: "indexed";
3601
3958
  not_indexed: "not_indexed";
3602
- pending: "pending";
3603
3959
  }>>;
3604
3960
  issue: z.ZodOptional<z.ZodString>;
3605
3961
  search: z.ZodOptional<z.ZodString>;
@@ -4641,9 +4997,139 @@ declare const partnerEndpointSchemas: {
4641
4997
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
4642
4998
  missing_indexing_scope: "missing_indexing_scope";
4643
4999
  insufficient_gsc_permission: "insufficient_gsc_permission";
5000
+ free_plan: "free_plan";
4644
5001
  }>>;
4645
5002
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4646
5003
  grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
5004
+ site: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5005
+ siteId: z.ZodString;
5006
+ intId: z.ZodNullable<z.ZodNumber>;
5007
+ catalogSiteId: z.ZodNullable<z.ZodNumber>;
5008
+ externalSiteId: z.ZodNullable<z.ZodString>;
5009
+ requestedUrl: z.ZodString;
5010
+ gscPropertyUrl: z.ZodNullable<z.ZodString>;
5011
+ permissionLevel: z.ZodNullable<z.ZodString>;
5012
+ property: z.ZodObject<{
5013
+ status: z.ZodEnum<{
5014
+ no_local_site: "no_local_site";
5015
+ no_gsc_property: "no_gsc_property";
5016
+ unverified_property: "unverified_property";
5017
+ verified_candidate: "verified_candidate";
5018
+ registered: "registered";
5019
+ linked: "linked";
5020
+ }>;
5021
+ nextAction: z.ZodEnum<{
5022
+ none: "none";
5023
+ create_site: "create_site";
5024
+ verify_gsc_property: "verify_gsc_property";
5025
+ choose_property: "choose_property";
5026
+ register_site: "register_site";
5027
+ }>;
5028
+ }, z.core.$loose>;
5029
+ analytics: z.ZodObject<{
5030
+ status: z.ZodEnum<{
5031
+ ready: "ready";
5032
+ not_registered: "not_registered";
5033
+ queued: "queued";
5034
+ preparing: "preparing";
5035
+ syncing: "syncing";
5036
+ queryable_live: "queryable_live";
5037
+ queryable_partial: "queryable_partial";
5038
+ failed: "failed";
5039
+ }>;
5040
+ progress: z.ZodObject<{
5041
+ completed: z.ZodNumber;
5042
+ failed: z.ZodNumber;
5043
+ total: z.ZodNumber;
5044
+ percent: z.ZodNumber;
5045
+ }, z.core.$strip>;
5046
+ queryable: z.ZodBoolean;
5047
+ sourceMode: z.ZodEnum<{
5048
+ none: "none";
5049
+ live: "live";
5050
+ d1: "d1";
5051
+ r2: "r2";
5052
+ mixed: "mixed";
5053
+ }>;
5054
+ syncedRange: z.ZodObject<{
5055
+ oldest: z.ZodNullable<z.ZodString>;
5056
+ newest: z.ZodNullable<z.ZodString>;
5057
+ }, z.core.$loose>;
5058
+ nextAction: z.ZodEnum<{
5059
+ none: "none";
5060
+ wait_for_sync: "wait_for_sync";
5061
+ retry_sync: "retry_sync";
5062
+ }>;
5063
+ }, z.core.$loose>;
5064
+ sitemaps: z.ZodObject<{
5065
+ status: z.ZodEnum<{
5066
+ ready: "ready";
5067
+ syncing: "syncing";
5068
+ failed: "failed";
5069
+ unknown: "unknown";
5070
+ discovering: "discovering";
5071
+ none_found: "none_found";
5072
+ auto_submitted: "auto_submitted";
5073
+ }>;
5074
+ discoveredCount: z.ZodNumber;
5075
+ nextAction: z.ZodEnum<{
5076
+ none: "none";
5077
+ submit_sitemap: "submit_sitemap";
5078
+ wait_for_sitemaps: "wait_for_sitemaps";
5079
+ retry_sitemaps: "retry_sitemaps";
5080
+ }>;
5081
+ }, z.core.$loose>;
5082
+ indexing: z.ZodObject<{
5083
+ status: z.ZodEnum<{
5084
+ ready: "ready";
5085
+ failed: "failed";
5086
+ discovering: "discovering";
5087
+ not_requested: "not_requested";
5088
+ missing_scope: "missing_scope";
5089
+ insufficient_permission: "insufficient_permission";
5090
+ waiting_for_sitemaps: "waiting_for_sitemaps";
5091
+ checking: "checking";
5092
+ budget_exhausted: "budget_exhausted";
5093
+ no_urls: "no_urls";
5094
+ }>;
5095
+ eligible: z.ZodBoolean;
5096
+ reason: z.ZodNullable<z.ZodString>;
5097
+ progress: z.ZodObject<{
5098
+ completed: z.ZodNumber;
5099
+ failed: z.ZodNumber;
5100
+ total: z.ZodNumber;
5101
+ percent: z.ZodNumber;
5102
+ }, z.core.$strip>;
5103
+ nextAction: z.ZodEnum<{
5104
+ reconnect_google: "reconnect_google";
5105
+ none: "none";
5106
+ wait_for_sitemaps: "wait_for_sitemaps";
5107
+ fix_gsc_permission: "fix_gsc_permission";
5108
+ wait_for_indexing: "wait_for_indexing";
5109
+ retry_indexing: "retry_indexing";
5110
+ }>;
5111
+ }, z.core.$loose>;
5112
+ latestError: z.ZodNullable<z.ZodObject<{
5113
+ code: z.ZodEnum<{
5114
+ missing_refresh_token: "missing_refresh_token";
5115
+ missing_analytics_scope: "missing_analytics_scope";
5116
+ missing_indexing_scope: "missing_indexing_scope";
5117
+ token_refresh_failed: "token_refresh_failed";
5118
+ permission_lost: "permission_lost";
5119
+ insufficient_gsc_permission: "insufficient_gsc_permission";
5120
+ gsc_property_not_found: "gsc_property_not_found";
5121
+ gsc_property_unverified: "gsc_property_unverified";
5122
+ user_database_not_provisioned: "user_database_not_provisioned";
5123
+ sync_failed: "sync_failed";
5124
+ sitemap_sync_failed: "sitemap_sync_failed";
5125
+ indexing_failed: "indexing_failed";
5126
+ }>;
5127
+ message: z.ZodString;
5128
+ retryable: z.ZodBoolean;
5129
+ }, z.core.$strip>>;
5130
+ lifecycleRevision: z.ZodNumber;
5131
+ updatedAt: z.ZodString;
5132
+ }, z.core.$loose>>>;
4647
5133
  }, z.core.$loose>;
4648
5134
  };
4649
5135
  readonly bulkRegisterSites: {
@@ -4691,6 +5177,7 @@ declare const partnerEndpointSchemas: {
4691
5177
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
4692
5178
  missing_indexing_scope: "missing_indexing_scope";
4693
5179
  insufficient_gsc_permission: "insufficient_gsc_permission";
5180
+ free_plan: "free_plan";
4694
5181
  }>>;
4695
5182
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4696
5183
  grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -4829,7 +5316,7 @@ declare const partnerEndpointSchemas: {
4829
5316
  syncStatus: z.ZodString;
4830
5317
  newestDateSynced: z.ZodNullable<z.ZodString>;
4831
5318
  oldestDateSynced: z.ZodNullable<z.ZodString>;
4832
- dataDelay: z.ZodString;
5319
+ dataDelay: z.ZodOptional<z.ZodString>;
4833
5320
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4834
5321
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
4835
5322
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -4882,6 +5369,13 @@ declare const partnerEndpointSchemas: {
4882
5369
  ctr: z.ZodNumber;
4883
5370
  position: z.ZodNumber;
4884
5371
  }, z.core.$loose>>;
5372
+ previousDaily: z.ZodOptional<z.ZodArray<z.ZodObject<{
5373
+ date: z.ZodString;
5374
+ clicks: z.ZodNumber;
5375
+ impressions: z.ZodNumber;
5376
+ ctr: z.ZodNumber;
5377
+ position: z.ZodNumber;
5378
+ }, z.core.$loose>>>;
4885
5379
  totals: z.ZodObject<{
4886
5380
  clicks: z.ZodNumber;
4887
5381
  impressions: z.ZodNumber;
@@ -4899,7 +5393,7 @@ declare const partnerEndpointSchemas: {
4899
5393
  syncStatus: z.ZodString;
4900
5394
  newestDateSynced: z.ZodNullable<z.ZodString>;
4901
5395
  oldestDateSynced: z.ZodNullable<z.ZodString>;
4902
- dataDelay: z.ZodString;
5396
+ dataDelay: z.ZodOptional<z.ZodString>;
4903
5397
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4904
5398
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
4905
5399
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -4915,16 +5409,6 @@ declare const partnerEndpointSchemas: {
4915
5409
  };
4916
5410
  readonly getAnalysis: {
4917
5411
  readonly query: z.ZodObject<{
4918
- preset: z.ZodEnum<{
4919
- "striking-distance": "striking-distance";
4920
- opportunity: "opportunity";
4921
- decay: "decay";
4922
- "zero-click": "zero-click";
4923
- "non-brand": "non-brand";
4924
- "brand-only": "brand-only";
4925
- "movers-rising": "movers-rising";
4926
- "movers-declining": "movers-declining";
4927
- }>;
4928
5412
  startDate: z.ZodString;
4929
5413
  endDate: z.ZodString;
4930
5414
  prevStartDate: z.ZodOptional<z.ZodString>;
@@ -4945,6 +5429,16 @@ declare const partnerEndpointSchemas: {
4945
5429
  discover: "discover";
4946
5430
  googleNews: "googleNews";
4947
5431
  }>>;
5432
+ preset: z.ZodEnum<{
5433
+ "striking-distance": "striking-distance";
5434
+ opportunity: "opportunity";
5435
+ decay: "decay";
5436
+ "zero-click": "zero-click";
5437
+ "non-brand": "non-brand";
5438
+ "brand-only": "brand-only";
5439
+ "movers-rising": "movers-rising";
5440
+ "movers-declining": "movers-declining";
5441
+ }>;
4948
5442
  }, z.core.$strip>;
4949
5443
  readonly response: z.ZodObject<{
4950
5444
  preset: z.ZodEnum<{
@@ -4959,23 +5453,17 @@ declare const partnerEndpointSchemas: {
4959
5453
  }>;
4960
5454
  keywords: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4961
5455
  totalCount: z.ZodNumber;
4962
- summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5456
+ summary: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
4963
5457
  meta: z.ZodObject<{
4964
5458
  siteUrl: z.ZodString;
4965
- syncStatus: z.ZodString;
4966
- newestDateSynced: z.ZodNullable<z.ZodString>;
4967
- oldestDateSynced: z.ZodNullable<z.ZodString>;
4968
- dataDelay: z.ZodString;
4969
- dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4970
- warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
4971
- enrichment: z.ZodOptional<z.ZodObject<{
4972
- lastEnriched: z.ZodNumber;
4973
- isDue: z.ZodBoolean;
4974
- }, z.core.$strip>>;
4975
- backfill: z.ZodOptional<z.ZodObject<{
4976
- percent: z.ZodNumber;
4977
- daysRemaining: z.ZodOptional<z.ZodNumber>;
4978
- }, z.core.$strip>>;
5459
+ params: z.ZodObject<{
5460
+ brandTerms: z.ZodOptional<z.ZodArray<z.ZodString>>;
5461
+ startDate: z.ZodOptional<z.ZodString>;
5462
+ endDate: z.ZodOptional<z.ZodString>;
5463
+ prevStartDate: z.ZodOptional<z.ZodString>;
5464
+ prevEndDate: z.ZodOptional<z.ZodString>;
5465
+ }, z.core.$strip>;
5466
+ presetDescription: z.ZodOptional<z.ZodString>;
4979
5467
  }, z.core.$loose>;
4980
5468
  }, z.core.$loose>;
4981
5469
  };
@@ -4987,8 +5475,11 @@ declare const partnerEndpointSchemas: {
4987
5475
  errors: z.ZodNumber;
4988
5476
  warnings: z.ZodNumber;
4989
5477
  isIndex: z.ZodOptional<z.ZodBoolean>;
4990
- lastSubmitted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5478
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4991
5479
  lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5480
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5481
+ isPending: z.ZodOptional<z.ZodBoolean>;
5482
+ fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4992
5483
  }, z.core.$loose>>;
4993
5484
  history: z.ZodArray<z.ZodObject<{
4994
5485
  date: z.ZodString;
@@ -5005,6 +5496,7 @@ declare const partnerEndpointSchemas: {
5005
5496
  }, z.core.$loose>>>;
5006
5497
  meta: z.ZodObject<{
5007
5498
  siteUrl: z.ZodString;
5499
+ gscPropertyUrl: z.ZodString;
5008
5500
  syncStatus: z.ZodNullable<z.ZodString>;
5009
5501
  }, z.core.$loose>;
5010
5502
  }, z.core.$loose>;
@@ -5105,9 +5597,9 @@ declare const partnerEndpointSchemas: {
5105
5597
  limit: z.ZodOptional<z.ZodNumber>;
5106
5598
  offset: z.ZodOptional<z.ZodNumber>;
5107
5599
  status: z.ZodOptional<z.ZodEnum<{
5600
+ pending: "pending";
5108
5601
  indexed: "indexed";
5109
5602
  not_indexed: "not_indexed";
5110
- pending: "pending";
5111
5603
  }>>;
5112
5604
  issue: z.ZodOptional<z.ZodString>;
5113
5605
  search: z.ZodOptional<z.ZodString>;
@@ -6059,4 +6551,4 @@ declare const partnerEndpointSchemas: {
6059
6551
  }, z.core.$loose>;
6060
6552
  };
6061
6553
  };
6062
- export { addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsRoutes, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, builderStateSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDateRangeParamsSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingUrlRowSchema, indexingUrlStatusSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, jobFailedWebhookPayloadSchema, lifecycleErrorSchema, lifecycleProgressSchema, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, registerPartnerSiteSchema, registerPartnerUserSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, siteListItemSchema, sitemapChangesResponseSchema, sitemapHistoryRecordSchema, sitemapHistoryResponseSchema, sitemapIndexSchema, sourceInfoResponseSchema, teamCatalogRefSchema, updatePartnerUserTokensSchema, webhookEventTypeSchema, whoamiResponseSchema };
6554
+ export { addPartnerTeamMemberSchema, analyticsEndpointSchemas, analyticsRoutes, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, builderStateSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscdumpAnalysisBaseParamsSchema, gscdumpAnalysisBundleParamsSchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisMetaSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDateRangeParamsSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPageTrendParamsSchema, gscdumpPageTrendResponseSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, indexingDiagnosticsParamsSchema, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingUrlRowSchema, indexingUrlStatusSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, inspectionRecordRawSchema, jobFailedWebhookPayloadSchema, lifecycleErrorSchema, lifecycleProgressSchema, partnerControlEndpointSchemas, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, registerPartnerSiteSchema, registerPartnerUserSchema, rollupEnvelopeSchema, scheduleStateSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, searchTypeSchema, siteListItemSchema, sitemapChangesResponseSchema, sitemapHistoryRecordSchema, sitemapHistoryResponseSchema, sitemapIndexSchema, sourceInfoResponseSchema, teamCatalogRefSchema, updatePartnerUserTokensSchema, webhookEventTypeSchema, whoamiResponseSchema };