@gscdump/contracts 0.38.2 → 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>;
@@ -1850,6 +2070,7 @@ declare const gscdumpAnalysisSourcesResponseSchema: z.ZodObject<{
1850
2070
  eligibilityCeiling: z.ZodObject<{
1851
2071
  maxBytes: z.ZodNumber;
1852
2072
  maxRows: z.ZodNumber;
2073
+ maxFiles: z.ZodNumber;
1853
2074
  }, z.core.$strip>;
1854
2075
  }, z.core.$loose>;
1855
2076
  declare const gscdumpKeywordSparklinesParamsSchema: z.ZodObject<{
@@ -2601,6 +2822,7 @@ declare const analyticsEndpointSchemas: {
2601
2822
  eligibilityCeiling: z.ZodObject<{
2602
2823
  maxBytes: z.ZodNumber;
2603
2824
  maxRows: z.ZodNumber;
2825
+ maxFiles: z.ZodNumber;
2604
2826
  }, z.core.$strip>;
2605
2827
  }, z.core.$loose>;
2606
2828
  };
@@ -3131,49 +3353,179 @@ declare const partnerControlEndpointSchemas: {
3131
3353
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
3132
3354
  missing_indexing_scope: "missing_indexing_scope";
3133
3355
  insufficient_gsc_permission: "insufficient_gsc_permission";
3356
+ free_plan: "free_plan";
3134
3357
  }>>;
3135
3358
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3136
3359
  grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3137
- }, z.core.$loose>;
3138
- };
3139
- readonly bulkRegisterSites: {
3140
- readonly body: z.ZodObject<{
3141
- userId: z.ZodOptional<z.ZodString>;
3142
- siteUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
3143
- sites: z.ZodOptional<z.ZodArray<z.ZodObject<{
3144
- siteUrl: z.ZodOptional<z.ZodString>;
3145
- requestedUrl: z.ZodOptional<z.ZodString>;
3146
- gscPropertyUrl: z.ZodOptional<z.ZodString>;
3147
- externalSiteId: z.ZodOptional<z.ZodString>;
3148
- externalSiteUrl: z.ZodOptional<z.ZodString>;
3149
- webhookUrl: z.ZodOptional<z.ZodURL>;
3150
- webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3151
- "user.lifecycle.changed": "user.lifecycle.changed";
3152
- "site.lifecycle.changed": "site.lifecycle.changed";
3153
- "site.analytics.ready": "site.analytics.ready";
3154
- "site.indexing.ready": "site.indexing.ready";
3155
- "site.auth.failed": "site.auth.failed";
3156
- "job.failed": "job.failed";
3157
- }>>>;
3158
- enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3159
- web: "web";
3160
- image: "image";
3161
- video: "video";
3162
- news: "news";
3163
- discover: "discover";
3164
- googleNews: "googleNews";
3165
- }>>>;
3166
- }, z.core.$loose>>>;
3167
- }, z.core.$strip>;
3168
- readonly response: z.ZodObject<{
3169
- results: z.ZodArray<z.ZodObject<{
3170
- siteUrl: z.ZodString;
3171
- siteId: z.ZodOptional<z.ZodString>;
3172
- status: z.ZodEnum<{
3173
- registered: "registered";
3174
- error: "error";
3175
- already_exists: "already_exists";
3176
- 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";
3177
3529
  }>;
3178
3530
  error: z.ZodOptional<z.ZodString>;
3179
3531
  site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -3181,6 +3533,7 @@ declare const partnerControlEndpointSchemas: {
3181
3533
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
3182
3534
  missing_indexing_scope: "missing_indexing_scope";
3183
3535
  insufficient_gsc_permission: "insufficient_gsc_permission";
3536
+ free_plan: "free_plan";
3184
3537
  }>>;
3185
3538
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3186
3539
  grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3259,6 +3612,7 @@ declare const partnerControlEndpointSchemas: {
3259
3612
  eligibilityCeiling: z.ZodObject<{
3260
3613
  maxBytes: z.ZodNumber;
3261
3614
  maxRows: z.ZodNumber;
3615
+ maxFiles: z.ZodNumber;
3262
3616
  }, z.core.$strip>;
3263
3617
  }, z.core.$loose>;
3264
3618
  };
@@ -3318,7 +3672,7 @@ declare const partnerControlEndpointSchemas: {
3318
3672
  syncStatus: z.ZodString;
3319
3673
  newestDateSynced: z.ZodNullable<z.ZodString>;
3320
3674
  oldestDateSynced: z.ZodNullable<z.ZodString>;
3321
- dataDelay: z.ZodString;
3675
+ dataDelay: z.ZodOptional<z.ZodString>;
3322
3676
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3323
3677
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3324
3678
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -3371,6 +3725,13 @@ declare const partnerControlEndpointSchemas: {
3371
3725
  ctr: z.ZodNumber;
3372
3726
  position: z.ZodNumber;
3373
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>>>;
3374
3735
  totals: z.ZodObject<{
3375
3736
  clicks: z.ZodNumber;
3376
3737
  impressions: z.ZodNumber;
@@ -3388,7 +3749,7 @@ declare const partnerControlEndpointSchemas: {
3388
3749
  syncStatus: z.ZodString;
3389
3750
  newestDateSynced: z.ZodNullable<z.ZodString>;
3390
3751
  oldestDateSynced: z.ZodNullable<z.ZodString>;
3391
- dataDelay: z.ZodString;
3752
+ dataDelay: z.ZodOptional<z.ZodString>;
3392
3753
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3393
3754
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3394
3755
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -3404,16 +3765,6 @@ declare const partnerControlEndpointSchemas: {
3404
3765
  };
3405
3766
  readonly getAnalysis: {
3406
3767
  readonly query: z.ZodObject<{
3407
- preset: z.ZodEnum<{
3408
- "striking-distance": "striking-distance";
3409
- opportunity: "opportunity";
3410
- decay: "decay";
3411
- "zero-click": "zero-click";
3412
- "non-brand": "non-brand";
3413
- "brand-only": "brand-only";
3414
- "movers-rising": "movers-rising";
3415
- "movers-declining": "movers-declining";
3416
- }>;
3417
3768
  startDate: z.ZodString;
3418
3769
  endDate: z.ZodString;
3419
3770
  prevStartDate: z.ZodOptional<z.ZodString>;
@@ -3434,6 +3785,16 @@ declare const partnerControlEndpointSchemas: {
3434
3785
  discover: "discover";
3435
3786
  googleNews: "googleNews";
3436
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
+ }>;
3437
3798
  }, z.core.$strip>;
3438
3799
  readonly response: z.ZodObject<{
3439
3800
  preset: z.ZodEnum<{
@@ -3448,23 +3809,17 @@ declare const partnerControlEndpointSchemas: {
3448
3809
  }>;
3449
3810
  keywords: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3450
3811
  totalCount: z.ZodNumber;
3451
- summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3812
+ summary: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3452
3813
  meta: z.ZodObject<{
3453
3814
  siteUrl: z.ZodString;
3454
- syncStatus: z.ZodString;
3455
- newestDateSynced: z.ZodNullable<z.ZodString>;
3456
- oldestDateSynced: z.ZodNullable<z.ZodString>;
3457
- dataDelay: z.ZodString;
3458
- dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3459
- warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3460
- enrichment: z.ZodOptional<z.ZodObject<{
3461
- lastEnriched: z.ZodNumber;
3462
- isDue: z.ZodBoolean;
3463
- }, z.core.$strip>>;
3464
- backfill: z.ZodOptional<z.ZodObject<{
3465
- percent: z.ZodNumber;
3466
- daysRemaining: z.ZodOptional<z.ZodNumber>;
3467
- }, 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>;
3468
3823
  }, z.core.$loose>;
3469
3824
  }, z.core.$loose>;
3470
3825
  };
@@ -3476,8 +3831,11 @@ declare const partnerControlEndpointSchemas: {
3476
3831
  errors: z.ZodNumber;
3477
3832
  warnings: z.ZodNumber;
3478
3833
  isIndex: z.ZodOptional<z.ZodBoolean>;
3479
- lastSubmitted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3834
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3480
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>>;
3481
3839
  }, z.core.$loose>>;
3482
3840
  history: z.ZodArray<z.ZodObject<{
3483
3841
  date: z.ZodString;
@@ -3494,6 +3852,7 @@ declare const partnerControlEndpointSchemas: {
3494
3852
  }, z.core.$loose>>>;
3495
3853
  meta: z.ZodObject<{
3496
3854
  siteUrl: z.ZodString;
3855
+ gscPropertyUrl: z.ZodString;
3497
3856
  syncStatus: z.ZodNullable<z.ZodString>;
3498
3857
  }, z.core.$loose>;
3499
3858
  }, z.core.$loose>;
@@ -3594,9 +3953,9 @@ declare const partnerControlEndpointSchemas: {
3594
3953
  limit: z.ZodOptional<z.ZodNumber>;
3595
3954
  offset: z.ZodOptional<z.ZodNumber>;
3596
3955
  status: z.ZodOptional<z.ZodEnum<{
3956
+ pending: "pending";
3597
3957
  indexed: "indexed";
3598
3958
  not_indexed: "not_indexed";
3599
- pending: "pending";
3600
3959
  }>>;
3601
3960
  issue: z.ZodOptional<z.ZodString>;
3602
3961
  search: z.ZodOptional<z.ZodString>;
@@ -4638,9 +4997,139 @@ declare const partnerEndpointSchemas: {
4638
4997
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
4639
4998
  missing_indexing_scope: "missing_indexing_scope";
4640
4999
  insufficient_gsc_permission: "insufficient_gsc_permission";
5000
+ free_plan: "free_plan";
4641
5001
  }>>;
4642
5002
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4643
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>>>;
4644
5133
  }, z.core.$loose>;
4645
5134
  };
4646
5135
  readonly bulkRegisterSites: {
@@ -4688,6 +5177,7 @@ declare const partnerEndpointSchemas: {
4688
5177
  indexingIneligibleReason: z.ZodOptional<z.ZodEnum<{
4689
5178
  missing_indexing_scope: "missing_indexing_scope";
4690
5179
  insufficient_gsc_permission: "insufficient_gsc_permission";
5180
+ free_plan: "free_plan";
4691
5181
  }>>;
4692
5182
  indexingPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4693
5183
  grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -4766,6 +5256,7 @@ declare const partnerEndpointSchemas: {
4766
5256
  eligibilityCeiling: z.ZodObject<{
4767
5257
  maxBytes: z.ZodNumber;
4768
5258
  maxRows: z.ZodNumber;
5259
+ maxFiles: z.ZodNumber;
4769
5260
  }, z.core.$strip>;
4770
5261
  }, z.core.$loose>;
4771
5262
  };
@@ -4825,7 +5316,7 @@ declare const partnerEndpointSchemas: {
4825
5316
  syncStatus: z.ZodString;
4826
5317
  newestDateSynced: z.ZodNullable<z.ZodString>;
4827
5318
  oldestDateSynced: z.ZodNullable<z.ZodString>;
4828
- dataDelay: z.ZodString;
5319
+ dataDelay: z.ZodOptional<z.ZodString>;
4829
5320
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4830
5321
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
4831
5322
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -4878,6 +5369,13 @@ declare const partnerEndpointSchemas: {
4878
5369
  ctr: z.ZodNumber;
4879
5370
  position: z.ZodNumber;
4880
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>>>;
4881
5379
  totals: z.ZodObject<{
4882
5380
  clicks: z.ZodNumber;
4883
5381
  impressions: z.ZodNumber;
@@ -4895,7 +5393,7 @@ declare const partnerEndpointSchemas: {
4895
5393
  syncStatus: z.ZodString;
4896
5394
  newestDateSynced: z.ZodNullable<z.ZodString>;
4897
5395
  oldestDateSynced: z.ZodNullable<z.ZodString>;
4898
- dataDelay: z.ZodString;
5396
+ dataDelay: z.ZodOptional<z.ZodString>;
4899
5397
  dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4900
5398
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
4901
5399
  enrichment: z.ZodOptional<z.ZodObject<{
@@ -4911,16 +5409,6 @@ declare const partnerEndpointSchemas: {
4911
5409
  };
4912
5410
  readonly getAnalysis: {
4913
5411
  readonly query: z.ZodObject<{
4914
- preset: z.ZodEnum<{
4915
- "striking-distance": "striking-distance";
4916
- opportunity: "opportunity";
4917
- decay: "decay";
4918
- "zero-click": "zero-click";
4919
- "non-brand": "non-brand";
4920
- "brand-only": "brand-only";
4921
- "movers-rising": "movers-rising";
4922
- "movers-declining": "movers-declining";
4923
- }>;
4924
5412
  startDate: z.ZodString;
4925
5413
  endDate: z.ZodString;
4926
5414
  prevStartDate: z.ZodOptional<z.ZodString>;
@@ -4941,6 +5429,16 @@ declare const partnerEndpointSchemas: {
4941
5429
  discover: "discover";
4942
5430
  googleNews: "googleNews";
4943
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
+ }>;
4944
5442
  }, z.core.$strip>;
4945
5443
  readonly response: z.ZodObject<{
4946
5444
  preset: z.ZodEnum<{
@@ -4955,23 +5453,17 @@ declare const partnerEndpointSchemas: {
4955
5453
  }>;
4956
5454
  keywords: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4957
5455
  totalCount: z.ZodNumber;
4958
- summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5456
+ summary: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
4959
5457
  meta: z.ZodObject<{
4960
5458
  siteUrl: z.ZodString;
4961
- syncStatus: z.ZodString;
4962
- newestDateSynced: z.ZodNullable<z.ZodString>;
4963
- oldestDateSynced: z.ZodNullable<z.ZodString>;
4964
- dataDelay: z.ZodString;
4965
- dataEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4966
- warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
4967
- enrichment: z.ZodOptional<z.ZodObject<{
4968
- lastEnriched: z.ZodNumber;
4969
- isDue: z.ZodBoolean;
4970
- }, z.core.$strip>>;
4971
- backfill: z.ZodOptional<z.ZodObject<{
4972
- percent: z.ZodNumber;
4973
- daysRemaining: z.ZodOptional<z.ZodNumber>;
4974
- }, 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>;
4975
5467
  }, z.core.$loose>;
4976
5468
  }, z.core.$loose>;
4977
5469
  };
@@ -4983,8 +5475,11 @@ declare const partnerEndpointSchemas: {
4983
5475
  errors: z.ZodNumber;
4984
5476
  warnings: z.ZodNumber;
4985
5477
  isIndex: z.ZodOptional<z.ZodBoolean>;
4986
- lastSubmitted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5478
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4987
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>>;
4988
5483
  }, z.core.$loose>>;
4989
5484
  history: z.ZodArray<z.ZodObject<{
4990
5485
  date: z.ZodString;
@@ -5001,6 +5496,7 @@ declare const partnerEndpointSchemas: {
5001
5496
  }, z.core.$loose>>>;
5002
5497
  meta: z.ZodObject<{
5003
5498
  siteUrl: z.ZodString;
5499
+ gscPropertyUrl: z.ZodString;
5004
5500
  syncStatus: z.ZodNullable<z.ZodString>;
5005
5501
  }, z.core.$loose>;
5006
5502
  }, z.core.$loose>;
@@ -5101,9 +5597,9 @@ declare const partnerEndpointSchemas: {
5101
5597
  limit: z.ZodOptional<z.ZodNumber>;
5102
5598
  offset: z.ZodOptional<z.ZodNumber>;
5103
5599
  status: z.ZodOptional<z.ZodEnum<{
5600
+ pending: "pending";
5104
5601
  indexed: "indexed";
5105
5602
  not_indexed: "not_indexed";
5106
- pending: "pending";
5107
5603
  }>>;
5108
5604
  issue: z.ZodOptional<z.ZodString>;
5109
5605
  search: z.ZodOptional<z.ZodString>;
@@ -6035,6 +6531,7 @@ declare const partnerEndpointSchemas: {
6035
6531
  eligibilityCeiling: z.ZodObject<{
6036
6532
  maxBytes: z.ZodNumber;
6037
6533
  maxRows: z.ZodNumber;
6534
+ maxFiles: z.ZodNumber;
6038
6535
  }, z.core.$strip>;
6039
6536
  }, z.core.$loose>;
6040
6537
  };
@@ -6054,4 +6551,4 @@ declare const partnerEndpointSchemas: {
6054
6551
  }, z.core.$loose>;
6055
6552
  };
6056
6553
  };
6057
- 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 };