@gscdump/contracts 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -740,12 +740,12 @@ export declare function createGscdumpV1Protocol(): {
740
740
  readonly GOOGLE_NEWS: "googleNews";
741
741
  }>>;
742
742
  dimensions: z.ZodArray<z.ZodEnum<{
743
- date: "date";
744
743
  page: "page";
745
744
  query: "query";
746
745
  queryCanonical: "queryCanonical";
747
746
  country: "country";
748
747
  device: "device";
748
+ date: "date";
749
749
  searchAppearance: "searchAppearance";
750
750
  hour: "hour";
751
751
  }>>;
@@ -760,12 +760,12 @@ export declare function createGscdumpV1Protocol(): {
760
760
  readonly GOOGLE_NEWS: "googleNews";
761
761
  }>>;
762
762
  dimensions: z.ZodArray<z.ZodEnum<{
763
- date: "date";
764
763
  page: "page";
765
764
  query: "query";
766
765
  queryCanonical: "queryCanonical";
767
766
  country: "country";
768
767
  device: "device";
768
+ date: "date";
769
769
  searchAppearance: "searchAppearance";
770
770
  hour: "hour";
771
771
  }>>;
@@ -897,12 +897,12 @@ export declare function createGscdumpV1Protocol(): {
897
897
  readonly GOOGLE_NEWS: "googleNews";
898
898
  }>>;
899
899
  dimensions: z.ZodArray<z.ZodEnum<{
900
- date: "date";
901
900
  page: "page";
902
901
  query: "query";
903
902
  queryCanonical: "queryCanonical";
904
903
  country: "country";
905
904
  device: "device";
905
+ date: "date";
906
906
  searchAppearance: "searchAppearance";
907
907
  hour: "hour";
908
908
  }>>;
@@ -917,12 +917,12 @@ export declare function createGscdumpV1Protocol(): {
917
917
  readonly GOOGLE_NEWS: "googleNews";
918
918
  }>>;
919
919
  dimensions: z.ZodArray<z.ZodEnum<{
920
- date: "date";
921
920
  page: "page";
922
921
  query: "query";
923
922
  queryCanonical: "queryCanonical";
924
923
  country: "country";
925
924
  device: "device";
925
+ date: "date";
926
926
  searchAppearance: "searchAppearance";
927
927
  hour: "hour";
928
928
  }>>;
@@ -1025,12 +1025,12 @@ export declare function createGscdumpV1Protocol(): {
1025
1025
  }, z.core.$strip>>;
1026
1026
  analyticsRowsRequest: z.ZodObject<{
1027
1027
  dimensions: z.ZodArray<z.ZodEnum<{
1028
- date: "date";
1029
1028
  page: "page";
1030
1029
  query: "query";
1031
1030
  queryCanonical: "queryCanonical";
1032
1031
  country: "country";
1033
1032
  device: "device";
1033
+ date: "date";
1034
1034
  searchAppearance: "searchAppearance";
1035
1035
  hour: "hour";
1036
1036
  }>>;
@@ -1554,19 +1554,19 @@ export declare function createGscdumpV1Protocol(): {
1554
1554
  _tag: z.ZodLiteral<"counted">;
1555
1555
  capturedAt: z.ZodString;
1556
1556
  counts: z.ZodObject<{
1557
- indexed: z.ZodDefault<z.ZodNumber>;
1558
- not_found: z.ZodDefault<z.ZodNumber>;
1559
- redirect: z.ZodDefault<z.ZodNumber>;
1560
1557
  unknown_to_google: z.ZodDefault<z.ZodNumber>;
1561
1558
  discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
1562
1559
  crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
1560
+ indexed: z.ZodDefault<z.ZodNumber>;
1563
1561
  noindex: z.ZodDefault<z.ZodNumber>;
1564
1562
  blocked_robots: z.ZodDefault<z.ZodNumber>;
1565
1563
  soft_404: z.ZodDefault<z.ZodNumber>;
1564
+ not_found: z.ZodDefault<z.ZodNumber>;
1566
1565
  server_error: z.ZodDefault<z.ZodNumber>;
1567
1566
  access_denied: z.ZodDefault<z.ZodNumber>;
1568
1567
  access_forbidden: z.ZodDefault<z.ZodNumber>;
1569
1568
  blocked_4xx: z.ZodDefault<z.ZodNumber>;
1569
+ redirect: z.ZodDefault<z.ZodNumber>;
1570
1570
  redirect_error: z.ZodDefault<z.ZodNumber>;
1571
1571
  alternate_canonical: z.ZodDefault<z.ZodNumber>;
1572
1572
  duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
@@ -1693,19 +1693,19 @@ export declare function createGscdumpV1Protocol(): {
1693
1693
  _tag: z.ZodLiteral<"counted">;
1694
1694
  capturedAt: z.ZodString;
1695
1695
  counts: z.ZodObject<{
1696
- indexed: z.ZodDefault<z.ZodNumber>;
1697
- not_found: z.ZodDefault<z.ZodNumber>;
1698
- redirect: z.ZodDefault<z.ZodNumber>;
1699
1696
  unknown_to_google: z.ZodDefault<z.ZodNumber>;
1700
1697
  discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
1701
1698
  crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
1699
+ indexed: z.ZodDefault<z.ZodNumber>;
1702
1700
  noindex: z.ZodDefault<z.ZodNumber>;
1703
1701
  blocked_robots: z.ZodDefault<z.ZodNumber>;
1704
1702
  soft_404: z.ZodDefault<z.ZodNumber>;
1703
+ not_found: z.ZodDefault<z.ZodNumber>;
1705
1704
  server_error: z.ZodDefault<z.ZodNumber>;
1706
1705
  access_denied: z.ZodDefault<z.ZodNumber>;
1707
1706
  access_forbidden: z.ZodDefault<z.ZodNumber>;
1708
1707
  blocked_4xx: z.ZodDefault<z.ZodNumber>;
1708
+ redirect: z.ZodDefault<z.ZodNumber>;
1709
1709
  redirect_error: z.ZodDefault<z.ZodNumber>;
1710
1710
  alternate_canonical: z.ZodDefault<z.ZodNumber>;
1711
1711
  duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
@@ -1811,9 +1811,9 @@ export declare function createGscdumpV1Protocol(): {
1811
1811
  startDate: z.ZodOptional<z.ZodString>;
1812
1812
  endDate: z.ZodOptional<z.ZodString>;
1813
1813
  field: z.ZodOptional<z.ZodEnum<{
1814
+ coverageState: "coverageState";
1814
1815
  indexStatus: "indexStatus";
1815
1816
  googleCanonical: "googleCanonical";
1816
- coverageState: "coverageState";
1817
1817
  robotsTxtState: "robotsTxtState";
1818
1818
  indexingState: "indexingState";
1819
1819
  pageFetchState: "pageFetchState";
@@ -1828,9 +1828,9 @@ export declare function createGscdumpV1Protocol(): {
1828
1828
  readonly transitions: z.ZodArray<z.ZodObject<{
1829
1829
  readonly url: z.ZodString;
1830
1830
  readonly field: z.ZodEnum<{
1831
+ coverageState: "coverageState";
1831
1832
  indexStatus: "indexStatus";
1832
1833
  googleCanonical: "googleCanonical";
1833
- coverageState: "coverageState";
1834
1834
  robotsTxtState: "robotsTxtState";
1835
1835
  indexingState: "indexingState";
1836
1836
  pageFetchState: "pageFetchState";
@@ -1875,9 +1875,9 @@ export declare function createGscdumpV1Protocol(): {
1875
1875
  readonly transitions: z.ZodArray<z.ZodObject<{
1876
1876
  readonly url: z.ZodString;
1877
1877
  readonly field: z.ZodEnum<{
1878
+ coverageState: "coverageState";
1878
1879
  indexStatus: "indexStatus";
1879
1880
  googleCanonical: "googleCanonical";
1880
- coverageState: "coverageState";
1881
1881
  robotsTxtState: "robotsTxtState";
1882
1882
  indexingState: "indexingState";
1883
1883
  pageFetchState: "pageFetchState";
@@ -2038,19 +2038,19 @@ export declare function createGscdumpV1Protocol(): {
2038
2038
  checkpoints: z.ZodArray<z.ZodObject<{
2039
2039
  checkedAt: z.ZodString;
2040
2040
  coverageState: z.ZodCatch<z.ZodEnum<{
2041
- indexed: "indexed";
2042
- not_found: "not_found";
2043
- redirect: "redirect";
2044
2041
  unknown_to_google: "unknown_to_google";
2045
2042
  discovered_not_indexed: "discovered_not_indexed";
2046
2043
  crawled_not_indexed: "crawled_not_indexed";
2044
+ indexed: "indexed";
2047
2045
  noindex: "noindex";
2048
2046
  blocked_robots: "blocked_robots";
2049
2047
  soft_404: "soft_404";
2048
+ not_found: "not_found";
2050
2049
  server_error: "server_error";
2051
2050
  access_denied: "access_denied";
2052
2051
  access_forbidden: "access_forbidden";
2053
2052
  blocked_4xx: "blocked_4xx";
2053
+ redirect: "redirect";
2054
2054
  redirect_error: "redirect_error";
2055
2055
  alternate_canonical: "alternate_canonical";
2056
2056
  duplicate_no_canonical: "duplicate_no_canonical";
@@ -2084,19 +2084,19 @@ export declare function createGscdumpV1Protocol(): {
2084
2084
  checkpoints: z.ZodArray<z.ZodObject<{
2085
2085
  checkedAt: z.ZodString;
2086
2086
  coverageState: z.ZodCatch<z.ZodEnum<{
2087
- indexed: "indexed";
2088
- not_found: "not_found";
2089
- redirect: "redirect";
2090
2087
  unknown_to_google: "unknown_to_google";
2091
2088
  discovered_not_indexed: "discovered_not_indexed";
2092
2089
  crawled_not_indexed: "crawled_not_indexed";
2090
+ indexed: "indexed";
2093
2091
  noindex: "noindex";
2094
2092
  blocked_robots: "blocked_robots";
2095
2093
  soft_404: "soft_404";
2094
+ not_found: "not_found";
2096
2095
  server_error: "server_error";
2097
2096
  access_denied: "access_denied";
2098
2097
  access_forbidden: "access_forbidden";
2099
2098
  blocked_4xx: "blocked_4xx";
2099
+ redirect: "redirect";
2100
2100
  redirect_error: "redirect_error";
2101
2101
  alternate_canonical: "alternate_canonical";
2102
2102
  duplicate_no_canonical: "duplicate_no_canonical";
@@ -4140,6 +4140,13 @@ export declare function createGscdumpV1Protocol(): {
4140
4140
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4141
4141
  isPending: z.ZodOptional<z.ZodBoolean>;
4142
4142
  fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4143
+ feed: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4144
+ _tag: z.ZodLiteral<"counted">;
4145
+ }, z.core.$strict>, z.ZodObject<{
4146
+ _tag: z.ZodLiteral<"dropped">;
4147
+ status: z.ZodUnion<readonly [z.ZodLiteral<404>, z.ZodLiteral<410>]>;
4148
+ since: z.ZodNumber;
4149
+ }, z.core.$strict>], "_tag">>;
4143
4150
  }, z.core.$loose>>;
4144
4151
  history: z.ZodArray<z.ZodObject<{
4145
4152
  date: z.ZodString;
@@ -4199,6 +4206,13 @@ export declare function createGscdumpV1Protocol(): {
4199
4206
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4200
4207
  isPending: z.ZodOptional<z.ZodBoolean>;
4201
4208
  fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4209
+ feed: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4210
+ _tag: z.ZodLiteral<"counted">;
4211
+ }, z.core.$strict>, z.ZodObject<{
4212
+ _tag: z.ZodLiteral<"dropped">;
4213
+ status: z.ZodUnion<readonly [z.ZodLiteral<404>, z.ZodLiteral<410>]>;
4214
+ since: z.ZodNumber;
4215
+ }, z.core.$strict>], "_tag">>;
4202
4216
  }, z.core.$loose>>;
4203
4217
  history: z.ZodArray<z.ZodObject<{
4204
4218
  date: z.ZodString;
@@ -6411,19 +6425,19 @@ export declare function createGscdumpV1Protocol(): {
6411
6425
  _tag: z.ZodLiteral<"counted">;
6412
6426
  capturedAt: z.ZodString;
6413
6427
  counts: z.ZodObject<{
6414
- indexed: z.ZodDefault<z.ZodNumber>;
6415
- not_found: z.ZodDefault<z.ZodNumber>;
6416
- redirect: z.ZodDefault<z.ZodNumber>;
6417
6428
  unknown_to_google: z.ZodDefault<z.ZodNumber>;
6418
6429
  discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
6419
6430
  crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
6431
+ indexed: z.ZodDefault<z.ZodNumber>;
6420
6432
  noindex: z.ZodDefault<z.ZodNumber>;
6421
6433
  blocked_robots: z.ZodDefault<z.ZodNumber>;
6422
6434
  soft_404: z.ZodDefault<z.ZodNumber>;
6435
+ not_found: z.ZodDefault<z.ZodNumber>;
6423
6436
  server_error: z.ZodDefault<z.ZodNumber>;
6424
6437
  access_denied: z.ZodDefault<z.ZodNumber>;
6425
6438
  access_forbidden: z.ZodDefault<z.ZodNumber>;
6426
6439
  blocked_4xx: z.ZodDefault<z.ZodNumber>;
6440
+ redirect: z.ZodDefault<z.ZodNumber>;
6427
6441
  redirect_error: z.ZodDefault<z.ZodNumber>;
6428
6442
  alternate_canonical: z.ZodDefault<z.ZodNumber>;
6429
6443
  duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
@@ -6550,19 +6564,19 @@ export declare function createGscdumpV1Protocol(): {
6550
6564
  _tag: z.ZodLiteral<"counted">;
6551
6565
  capturedAt: z.ZodString;
6552
6566
  counts: z.ZodObject<{
6553
- indexed: z.ZodDefault<z.ZodNumber>;
6554
- not_found: z.ZodDefault<z.ZodNumber>;
6555
- redirect: z.ZodDefault<z.ZodNumber>;
6556
6567
  unknown_to_google: z.ZodDefault<z.ZodNumber>;
6557
6568
  discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
6558
6569
  crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
6570
+ indexed: z.ZodDefault<z.ZodNumber>;
6559
6571
  noindex: z.ZodDefault<z.ZodNumber>;
6560
6572
  blocked_robots: z.ZodDefault<z.ZodNumber>;
6561
6573
  soft_404: z.ZodDefault<z.ZodNumber>;
6574
+ not_found: z.ZodDefault<z.ZodNumber>;
6562
6575
  server_error: z.ZodDefault<z.ZodNumber>;
6563
6576
  access_denied: z.ZodDefault<z.ZodNumber>;
6564
6577
  access_forbidden: z.ZodDefault<z.ZodNumber>;
6565
6578
  blocked_4xx: z.ZodDefault<z.ZodNumber>;
6579
+ redirect: z.ZodDefault<z.ZodNumber>;
6566
6580
  redirect_error: z.ZodDefault<z.ZodNumber>;
6567
6581
  alternate_canonical: z.ZodDefault<z.ZodNumber>;
6568
6582
  duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
@@ -10791,9 +10805,9 @@ export declare function createGscdumpV1Protocol(): {
10791
10805
  startDate: z.ZodOptional<z.ZodString>;
10792
10806
  endDate: z.ZodOptional<z.ZodString>;
10793
10807
  field: z.ZodOptional<z.ZodEnum<{
10808
+ coverageState: "coverageState";
10794
10809
  indexStatus: "indexStatus";
10795
10810
  googleCanonical: "googleCanonical";
10796
- coverageState: "coverageState";
10797
10811
  robotsTxtState: "robotsTxtState";
10798
10812
  indexingState: "indexingState";
10799
10813
  pageFetchState: "pageFetchState";
@@ -10814,9 +10828,9 @@ export declare function createGscdumpV1Protocol(): {
10814
10828
  readonly transitions: z.ZodArray<z.ZodObject<{
10815
10829
  readonly url: z.ZodString;
10816
10830
  readonly field: z.ZodEnum<{
10831
+ coverageState: "coverageState";
10817
10832
  indexStatus: "indexStatus";
10818
10833
  googleCanonical: "googleCanonical";
10819
- coverageState: "coverageState";
10820
10834
  robotsTxtState: "robotsTxtState";
10821
10835
  indexingState: "indexingState";
10822
10836
  pageFetchState: "pageFetchState";
@@ -10861,9 +10875,9 @@ export declare function createGscdumpV1Protocol(): {
10861
10875
  readonly transitions: z.ZodArray<z.ZodObject<{
10862
10876
  readonly url: z.ZodString;
10863
10877
  readonly field: z.ZodEnum<{
10878
+ coverageState: "coverageState";
10864
10879
  indexStatus: "indexStatus";
10865
10880
  googleCanonical: "googleCanonical";
10866
- coverageState: "coverageState";
10867
10881
  robotsTxtState: "robotsTxtState";
10868
10882
  indexingState: "indexingState";
10869
10883
  pageFetchState: "pageFetchState";
@@ -11324,6 +11338,13 @@ export declare function createGscdumpV1Protocol(): {
11324
11338
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11325
11339
  isPending: z.ZodOptional<z.ZodBoolean>;
11326
11340
  fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11341
+ feed: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11342
+ _tag: z.ZodLiteral<"counted">;
11343
+ }, z.core.$strict>, z.ZodObject<{
11344
+ _tag: z.ZodLiteral<"dropped">;
11345
+ status: z.ZodUnion<readonly [z.ZodLiteral<404>, z.ZodLiteral<410>]>;
11346
+ since: z.ZodNumber;
11347
+ }, z.core.$strict>], "_tag">>;
11327
11348
  }, z.core.$loose>>;
11328
11349
  history: z.ZodArray<z.ZodObject<{
11329
11350
  date: z.ZodString;
@@ -11383,6 +11404,13 @@ export declare function createGscdumpV1Protocol(): {
11383
11404
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11384
11405
  isPending: z.ZodOptional<z.ZodBoolean>;
11385
11406
  fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11407
+ feed: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11408
+ _tag: z.ZodLiteral<"counted">;
11409
+ }, z.core.$strict>, z.ZodObject<{
11410
+ _tag: z.ZodLiteral<"dropped">;
11411
+ status: z.ZodUnion<readonly [z.ZodLiteral<404>, z.ZodLiteral<410>]>;
11412
+ since: z.ZodNumber;
11413
+ }, z.core.$strict>], "_tag">>;
11386
11414
  }, z.core.$loose>>;
11387
11415
  history: z.ZodArray<z.ZodObject<{
11388
11416
  date: z.ZodString;
@@ -11477,7 +11505,7 @@ export declare function createGscdumpV1Protocol(): {
11477
11505
  };
11478
11506
  readonly docs: {
11479
11507
  readonly summary: "Get sitemap snapshot";
11480
- readonly description: "Returns registered sitemaps and their aggregate and per-sitemap history.";
11508
+ readonly description: "Returns registered sitemaps and their aggregate and per-sitemap history. Each Sitemap's `feed` says whether it counts toward the next Generation. A Sitemap that answered 404 or 410 for 3 UTC days is `dropped`.";
11481
11509
  readonly tags: readonly ["Sitemaps"];
11482
11510
  readonly examples: {
11483
11511
  readonly request: {
@@ -12970,8 +12998,8 @@ export declare function createGscdumpV1Protocol(): {
12970
12998
  readonly skipped: z.ZodArray<z.ZodObject<{
12971
12999
  url: z.ZodString;
12972
13000
  reason: z.ZodEnum<{
12973
- rate_limited: "rate_limited";
12974
13001
  domain_mismatch: "domain_mismatch";
13002
+ rate_limited: "rate_limited";
12975
13003
  }>;
12976
13004
  }, z.core.$strict>>;
12977
13005
  }, z.core.$strip>;
@@ -13022,8 +13050,8 @@ export declare function createGscdumpV1Protocol(): {
13022
13050
  readonly skipped: z.ZodArray<z.ZodObject<{
13023
13051
  url: z.ZodString;
13024
13052
  reason: z.ZodEnum<{
13025
- rate_limited: "rate_limited";
13026
13053
  domain_mismatch: "domain_mismatch";
13054
+ rate_limited: "rate_limited";
13027
13055
  }>;
13028
13056
  }, z.core.$strict>>;
13029
13057
  }, z.core.$strip>;
@@ -13158,19 +13186,19 @@ export declare function createGscdumpV1Protocol(): {
13158
13186
  checkpoints: z.ZodArray<z.ZodObject<{
13159
13187
  checkedAt: z.ZodString;
13160
13188
  coverageState: z.ZodCatch<z.ZodEnum<{
13161
- indexed: "indexed";
13162
- not_found: "not_found";
13163
- redirect: "redirect";
13164
13189
  unknown_to_google: "unknown_to_google";
13165
13190
  discovered_not_indexed: "discovered_not_indexed";
13166
13191
  crawled_not_indexed: "crawled_not_indexed";
13192
+ indexed: "indexed";
13167
13193
  noindex: "noindex";
13168
13194
  blocked_robots: "blocked_robots";
13169
13195
  soft_404: "soft_404";
13196
+ not_found: "not_found";
13170
13197
  server_error: "server_error";
13171
13198
  access_denied: "access_denied";
13172
13199
  access_forbidden: "access_forbidden";
13173
13200
  blocked_4xx: "blocked_4xx";
13201
+ redirect: "redirect";
13174
13202
  redirect_error: "redirect_error";
13175
13203
  alternate_canonical: "alternate_canonical";
13176
13204
  duplicate_no_canonical: "duplicate_no_canonical";
@@ -13204,19 +13232,19 @@ export declare function createGscdumpV1Protocol(): {
13204
13232
  checkpoints: z.ZodArray<z.ZodObject<{
13205
13233
  checkedAt: z.ZodString;
13206
13234
  coverageState: z.ZodCatch<z.ZodEnum<{
13207
- indexed: "indexed";
13208
- not_found: "not_found";
13209
- redirect: "redirect";
13210
13235
  unknown_to_google: "unknown_to_google";
13211
13236
  discovered_not_indexed: "discovered_not_indexed";
13212
13237
  crawled_not_indexed: "crawled_not_indexed";
13238
+ indexed: "indexed";
13213
13239
  noindex: "noindex";
13214
13240
  blocked_robots: "blocked_robots";
13215
13241
  soft_404: "soft_404";
13242
+ not_found: "not_found";
13216
13243
  server_error: "server_error";
13217
13244
  access_denied: "access_denied";
13218
13245
  access_forbidden: "access_forbidden";
13219
13246
  blocked_4xx: "blocked_4xx";
13247
+ redirect: "redirect";
13220
13248
  redirect_error: "redirect_error";
13221
13249
  alternate_canonical: "alternate_canonical";
13222
13250
  duplicate_no_canonical: "duplicate_no_canonical";
@@ -18030,6 +18058,22 @@ export declare function createGscdumpV1Protocol(): {
18030
18058
  queued: z.ZodLiteral<true>;
18031
18059
  userId: z.ZodNumber;
18032
18060
  publicId: z.ZodString;
18061
+ searchConsoleGrant: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18062
+ _tag: z.ZodLiteral<"revoked">;
18063
+ }, z.core.$strict>, z.ZodObject<{
18064
+ _tag: z.ZodLiteral<"already-invalid">;
18065
+ }, z.core.$strict>, z.ZodObject<{
18066
+ _tag: z.ZodLiteral<"not-revoked">;
18067
+ reason: z.ZodEnum<{
18068
+ "no-token": "no-token";
18069
+ "other-client": "other-client";
18070
+ "unknown-cloud-project": "unknown-cloud-project";
18071
+ "shared-cloud-project": "shared-cloud-project";
18072
+ }>;
18073
+ }, z.core.$strict>, z.ZodObject<{
18074
+ _tag: z.ZodLiteral<"revoke-failed">;
18075
+ reason: z.ZodString;
18076
+ }, z.core.$strict>], "_tag">>;
18033
18077
  }, z.core.$strip>;
18034
18078
  meta: z.ZodObject<{
18035
18079
  readonly requestId: z.ZodString;
@@ -18042,6 +18086,22 @@ export declare function createGscdumpV1Protocol(): {
18042
18086
  queued: z.ZodLiteral<true>;
18043
18087
  userId: z.ZodNumber;
18044
18088
  publicId: z.ZodString;
18089
+ searchConsoleGrant: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18090
+ _tag: z.ZodLiteral<"revoked">;
18091
+ }, z.core.$strict>, z.ZodObject<{
18092
+ _tag: z.ZodLiteral<"already-invalid">;
18093
+ }, z.core.$strict>, z.ZodObject<{
18094
+ _tag: z.ZodLiteral<"not-revoked">;
18095
+ reason: z.ZodEnum<{
18096
+ "no-token": "no-token";
18097
+ "other-client": "other-client";
18098
+ "unknown-cloud-project": "unknown-cloud-project";
18099
+ "shared-cloud-project": "shared-cloud-project";
18100
+ }>;
18101
+ }, z.core.$strict>, z.ZodObject<{
18102
+ _tag: z.ZodLiteral<"revoke-failed">;
18103
+ reason: z.ZodString;
18104
+ }, z.core.$strict>], "_tag">>;
18045
18105
  }, z.core.$strip>;
18046
18106
  meta: z.ZodObject<{
18047
18107
  readonly requestId: z.ZodString;
@@ -18102,7 +18162,7 @@ export declare function createGscdumpV1Protocol(): {
18102
18162
  };
18103
18163
  readonly docs: {
18104
18164
  readonly summary: "Delete a partner user";
18105
- readonly description: "Queues cascade deletion of a partner-linked user and their sites.";
18165
+ readonly description: "Queues removal of the calling partner's part of a linked user: its Sites, Usage pool, credential, and issued API keys. gscdump deletes the user only when nothing outside the partner holds them. `searchConsoleGrant` reports what happened to the Search Console grant that the partner's own OAuth client issued.";
18106
18166
  readonly tags: readonly ["Users"];
18107
18167
  readonly examples: {
18108
18168
  readonly request: {
@@ -18116,6 +18176,9 @@ export declare function createGscdumpV1Protocol(): {
18116
18176
  readonly queued: true;
18117
18177
  readonly userId: 1;
18118
18178
  readonly publicId: "u_01";
18179
+ readonly searchConsoleGrant: {
18180
+ readonly _tag: "revoked";
18181
+ };
18119
18182
  };
18120
18183
  readonly meta: {
18121
18184
  readonly requestId: "req_01";
@@ -18904,12 +18967,12 @@ export declare function createGscdumpV1Protocol(): {
18904
18967
  }, z.core.$strict>;
18905
18968
  readonly body: z.ZodObject<{
18906
18969
  dimensions: z.ZodArray<z.ZodEnum<{
18907
- date: "date";
18908
18970
  page: "page";
18909
18971
  query: "query";
18910
18972
  queryCanonical: "queryCanonical";
18911
18973
  country: "country";
18912
18974
  device: "device";
18975
+ date: "date";
18913
18976
  searchAppearance: "searchAppearance";
18914
18977
  hour: "hour";
18915
18978
  }>>;
@@ -19107,12 +19170,12 @@ export declare function createGscdumpV1Protocol(): {
19107
19170
  readonly GOOGLE_NEWS: "googleNews";
19108
19171
  }>>;
19109
19172
  dimensions: z.ZodArray<z.ZodEnum<{
19110
- date: "date";
19111
19173
  page: "page";
19112
19174
  query: "query";
19113
19175
  queryCanonical: "queryCanonical";
19114
19176
  country: "country";
19115
19177
  device: "device";
19178
+ date: "date";
19116
19179
  searchAppearance: "searchAppearance";
19117
19180
  hour: "hour";
19118
19181
  }>>;
@@ -19127,12 +19190,12 @@ export declare function createGscdumpV1Protocol(): {
19127
19190
  readonly GOOGLE_NEWS: "googleNews";
19128
19191
  }>>;
19129
19192
  dimensions: z.ZodArray<z.ZodEnum<{
19130
- date: "date";
19131
19193
  page: "page";
19132
19194
  query: "query";
19133
19195
  queryCanonical: "queryCanonical";
19134
19196
  country: "country";
19135
19197
  device: "device";
19198
+ date: "date";
19136
19199
  searchAppearance: "searchAppearance";
19137
19200
  hour: "hour";
19138
19201
  }>>;
@@ -19368,12 +19431,12 @@ export declare function createGscdumpV1Protocol(): {
19368
19431
  readonly GOOGLE_NEWS: "googleNews";
19369
19432
  }>>;
19370
19433
  dimensions: z.ZodArray<z.ZodEnum<{
19371
- date: "date";
19372
19434
  page: "page";
19373
19435
  query: "query";
19374
19436
  queryCanonical: "queryCanonical";
19375
19437
  country: "country";
19376
19438
  device: "device";
19439
+ date: "date";
19377
19440
  searchAppearance: "searchAppearance";
19378
19441
  hour: "hour";
19379
19442
  }>>;
@@ -19388,12 +19451,12 @@ export declare function createGscdumpV1Protocol(): {
19388
19451
  readonly GOOGLE_NEWS: "googleNews";
19389
19452
  }>>;
19390
19453
  dimensions: z.ZodArray<z.ZodEnum<{
19391
- date: "date";
19392
19454
  page: "page";
19393
19455
  query: "query";
19394
19456
  queryCanonical: "queryCanonical";
19395
19457
  country: "country";
19396
19458
  device: "device";
19459
+ date: "date";
19397
19460
  searchAppearance: "searchAppearance";
19398
19461
  hour: "hour";
19399
19462
  }>>;
@@ -2755,7 +2755,7 @@ function createGscdumpV1Protocol() {
2755
2755
  lifecycle: { introduced: "1.0.0" },
2756
2756
  docs: {
2757
2757
  summary: "Get sitemap snapshot",
2758
- description: "Returns registered sitemaps and their aggregate and per-sitemap history.",
2758
+ description: "Returns registered sitemaps and their aggregate and per-sitemap history. Each Sitemap's `feed` says whether it counts toward the next Generation. A Sitemap that answered 404 or 410 for 3 UTC days is `dropped`.",
2759
2759
  tags: ["Sitemaps"],
2760
2760
  examples: {
2761
2761
  request: { params: { siteId: "s_01" } },
@@ -5374,7 +5374,7 @@ function createGscdumpV1Protocol() {
5374
5374
  lifecycle: { introduced: "1.3.0" },
5375
5375
  docs: {
5376
5376
  summary: "Delete a partner user",
5377
- description: "Queues cascade deletion of a partner-linked user and their sites.",
5377
+ description: "Queues removal of the calling partner's part of a linked user: its Sites, Usage pool, credential, and issued API keys. gscdump deletes the user only when nothing outside the partner holds them. `searchConsoleGrant` reports what happened to the Search Console grant that the partner's own OAuth client issued.",
5378
5378
  tags: ["Users"],
5379
5379
  examples: {
5380
5380
  request: { params: { userId: "u_01" } },
@@ -5383,7 +5383,8 @@ function createGscdumpV1Protocol() {
5383
5383
  ok: true,
5384
5384
  queued: true,
5385
5385
  userId: 1,
5386
- publicId: "u_01"
5386
+ publicId: "u_01",
5387
+ searchConsoleGrant: { _tag: "revoked" }
5387
5388
  },
5388
5389
  meta: {
5389
5390
  requestId: "req_01",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/contracts",
3
3
  "type": "module",
4
- "version": "5.2.0",
4
+ "version": "5.3.0",
5
5
  "description": "Shared gscdump.com API, webhook, realtime, and lifecycle contracts.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",