@gscdump/contracts 1.5.0 → 1.5.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.
@@ -1457,8 +1457,12 @@ declare const partnerEndpoints: {
1457
1457
  }, import("zod/v4/core").$loose>>>;
1458
1458
  meta: import("zod").ZodObject<{
1459
1459
  siteUrl: import("zod").ZodString;
1460
- gscPropertyUrl: import("zod").ZodString;
1460
+ gscPropertyUrl: import("zod").ZodOptional<import("zod").ZodString>;
1461
1461
  syncStatus: import("zod").ZodNullable<import("zod").ZodString>;
1462
+ sitemapScope: import("zod").ZodObject<{
1463
+ excludedCount: import("zod").ZodNumber;
1464
+ duplicateCount: import("zod").ZodNumber;
1465
+ }, import("zod/v4/core").$strip>;
1462
1466
  }, import("zod/v4/core").$loose>;
1463
1467
  }, import("zod/v4/core").$loose>;
1464
1468
  };
@@ -1544,6 +1548,7 @@ declare const partnerEndpoints: {
1544
1548
  available: import("zod").ZodBoolean;
1545
1549
  reason: import("zod").ZodNullable<import("zod").ZodEnum<{
1546
1550
  empty: "empty";
1551
+ endpoint_unavailable: "endpoint_unavailable";
1547
1552
  site_url_cap_exceeded: "site_url_cap_exceeded";
1548
1553
  stale_sitemaps: "stale_sitemaps";
1549
1554
  }>>;
@@ -1567,8 +1567,12 @@ declare const gscdumpSitemapsResponseSchema: z.ZodObject<{
1567
1567
  }, z.core.$loose>>>;
1568
1568
  meta: z.ZodObject<{
1569
1569
  siteUrl: z.ZodString;
1570
- gscPropertyUrl: z.ZodString;
1570
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
1571
1571
  syncStatus: z.ZodNullable<z.ZodString>;
1572
+ sitemapScope: z.ZodObject<{
1573
+ excludedCount: z.ZodNumber;
1574
+ duplicateCount: z.ZodNumber;
1575
+ }, z.core.$strip>;
1572
1576
  }, z.core.$loose>;
1573
1577
  }, z.core.$loose>;
1574
1578
  declare const gscdumpSitemapChangesResponseSchema: z.ZodObject<{
@@ -3148,6 +3152,7 @@ declare const gscdumpSitemapMembershipResponseSchema: z.ZodObject<{
3148
3152
  available: z.ZodBoolean;
3149
3153
  reason: z.ZodNullable<z.ZodEnum<{
3150
3154
  empty: "empty";
3155
+ endpoint_unavailable: "endpoint_unavailable";
3151
3156
  site_url_cap_exceeded: "site_url_cap_exceeded";
3152
3157
  stale_sitemaps: "stale_sitemaps";
3153
3158
  }>>;
@@ -4107,8 +4112,12 @@ declare const partnerControlEndpointSchemas: {
4107
4112
  }, z.core.$loose>>>;
4108
4113
  meta: z.ZodObject<{
4109
4114
  siteUrl: z.ZodString;
4110
- gscPropertyUrl: z.ZodString;
4115
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
4111
4116
  syncStatus: z.ZodNullable<z.ZodString>;
4117
+ sitemapScope: z.ZodObject<{
4118
+ excludedCount: z.ZodNumber;
4119
+ duplicateCount: z.ZodNumber;
4120
+ }, z.core.$strip>;
4112
4121
  }, z.core.$loose>;
4113
4122
  }, z.core.$loose>;
4114
4123
  };
@@ -4185,6 +4194,7 @@ declare const partnerControlEndpointSchemas: {
4185
4194
  available: z.ZodBoolean;
4186
4195
  reason: z.ZodNullable<z.ZodEnum<{
4187
4196
  empty: "empty";
4197
+ endpoint_unavailable: "endpoint_unavailable";
4188
4198
  site_url_cap_exceeded: "site_url_cap_exceeded";
4189
4199
  stale_sitemaps: "stale_sitemaps";
4190
4200
  }>>;
@@ -5923,8 +5933,12 @@ declare const partnerEndpointSchemas: {
5923
5933
  }, z.core.$loose>>>;
5924
5934
  meta: z.ZodObject<{
5925
5935
  siteUrl: z.ZodString;
5926
- gscPropertyUrl: z.ZodString;
5936
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
5927
5937
  syncStatus: z.ZodNullable<z.ZodString>;
5938
+ sitemapScope: z.ZodObject<{
5939
+ excludedCount: z.ZodNumber;
5940
+ duplicateCount: z.ZodNumber;
5941
+ }, z.core.$strip>;
5928
5942
  }, z.core.$loose>;
5929
5943
  }, z.core.$loose>;
5930
5944
  };
@@ -6001,6 +6015,7 @@ declare const partnerEndpointSchemas: {
6001
6015
  available: z.ZodBoolean;
6002
6016
  reason: z.ZodNullable<z.ZodEnum<{
6003
6017
  empty: "empty";
6018
+ endpoint_unavailable: "endpoint_unavailable";
6004
6019
  site_url_cap_exceeded: "site_url_cap_exceeded";
6005
6020
  stale_sitemaps: "stale_sitemaps";
6006
6021
  }>>;
package/dist/schemas.mjs CHANGED
@@ -712,8 +712,12 @@ const gscdumpSitemapsResponseSchema = z.object({
712
712
  }).loose())),
713
713
  meta: z.object({
714
714
  siteUrl: z.string(),
715
- gscPropertyUrl: z.string(),
716
- syncStatus: z.string().nullable()
715
+ gscPropertyUrl: z.string().optional(),
716
+ syncStatus: z.string().nullable(),
717
+ sitemapScope: z.object({
718
+ excludedCount: z.number().int().nonnegative(),
719
+ duplicateCount: z.number().int().nonnegative()
720
+ })
717
721
  }).loose()
718
722
  }).loose();
719
723
  const gscdumpSitemapChangesResponseSchema = z.object({
@@ -1506,6 +1510,7 @@ const gscdumpSitemapMembershipResponseSchema = z.object({
1506
1510
  available: z.boolean(),
1507
1511
  reason: z.enum([
1508
1512
  "empty",
1513
+ "endpoint_unavailable",
1509
1514
  "site_url_cap_exceeded",
1510
1515
  "stale_sitemaps"
1511
1516
  ]).nullable(),
package/dist/types.d.mts CHANGED
@@ -626,6 +626,10 @@ interface GscdumpSitemapsResponse {
626
626
  siteUrl: string;
627
627
  gscPropertyUrl?: string;
628
628
  syncStatus: string | null;
629
+ sitemapScope: {
630
+ excludedCount: number;
631
+ duplicateCount: number;
632
+ };
629
633
  };
630
634
  }
631
635
  interface GscdumpSitemapChangesResponse {
@@ -675,7 +679,7 @@ interface GscdumpSitemapMembershipParams {
675
679
  urls: string[];
676
680
  maxAgeDays?: number;
677
681
  }
678
- type GscdumpSitemapMembershipUnavailableReason = 'empty' | 'site_url_cap_exceeded' | 'stale_sitemaps';
682
+ type GscdumpSitemapMembershipUnavailableReason = 'empty' | 'endpoint_unavailable' | 'site_url_cap_exceeded' | 'stale_sitemaps';
679
683
  interface GscdumpSitemapMembershipUrl {
680
684
  url: string;
681
685
  normalized: string;
@@ -2262,8 +2262,12 @@ declare function createGscdumpV1Protocol(): {
2262
2262
  }, z.core.$loose>>>;
2263
2263
  meta: z.ZodObject<{
2264
2264
  siteUrl: z.ZodString;
2265
- gscPropertyUrl: z.ZodString;
2265
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
2266
2266
  syncStatus: z.ZodNullable<z.ZodString>;
2267
+ sitemapScope: z.ZodObject<{
2268
+ excludedCount: z.ZodNumber;
2269
+ duplicateCount: z.ZodNumber;
2270
+ }, z.core.$strip>;
2267
2271
  }, z.core.$loose>;
2268
2272
  }, z.core.$strip>;
2269
2273
  meta: z.ZodObject<{
@@ -2300,8 +2304,12 @@ declare function createGscdumpV1Protocol(): {
2300
2304
  }, z.core.$loose>>>;
2301
2305
  meta: z.ZodObject<{
2302
2306
  siteUrl: z.ZodString;
2303
- gscPropertyUrl: z.ZodString;
2307
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
2304
2308
  syncStatus: z.ZodNullable<z.ZodString>;
2309
+ sitemapScope: z.ZodObject<{
2310
+ excludedCount: z.ZodNumber;
2311
+ duplicateCount: z.ZodNumber;
2312
+ }, z.core.$strip>;
2305
2313
  }, z.core.$loose>;
2306
2314
  }, z.core.$strip>;
2307
2315
  meta: z.ZodObject<{
@@ -5212,8 +5220,12 @@ declare function createGscdumpV1Protocol(): {
5212
5220
  }, z.core.$loose>>>;
5213
5221
  meta: z.ZodObject<{
5214
5222
  siteUrl: z.ZodString;
5215
- gscPropertyUrl: z.ZodString;
5223
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
5216
5224
  syncStatus: z.ZodNullable<z.ZodString>;
5225
+ sitemapScope: z.ZodObject<{
5226
+ excludedCount: z.ZodNumber;
5227
+ duplicateCount: z.ZodNumber;
5228
+ }, z.core.$strip>;
5217
5229
  }, z.core.$loose>;
5218
5230
  }, z.core.$strip>;
5219
5231
  meta: z.ZodObject<{
@@ -5250,8 +5262,12 @@ declare function createGscdumpV1Protocol(): {
5250
5262
  }, z.core.$loose>>>;
5251
5263
  meta: z.ZodObject<{
5252
5264
  siteUrl: z.ZodString;
5253
- gscPropertyUrl: z.ZodString;
5265
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
5254
5266
  syncStatus: z.ZodNullable<z.ZodString>;
5267
+ sitemapScope: z.ZodObject<{
5268
+ excludedCount: z.ZodNumber;
5269
+ duplicateCount: z.ZodNumber;
5270
+ }, z.core.$strip>;
5255
5271
  }, z.core.$loose>;
5256
5272
  }, z.core.$strip>;
5257
5273
  meta: z.ZodObject<{
@@ -5324,6 +5340,10 @@ declare function createGscdumpV1Protocol(): {
5324
5340
  readonly siteUrl: "sc-domain:example.com";
5325
5341
  readonly gscPropertyUrl: "sc-domain:example.com";
5326
5342
  readonly syncStatus: "synced";
5343
+ readonly sitemapScope: {
5344
+ readonly excludedCount: 0;
5345
+ readonly duplicateCount: 0;
5346
+ };
5327
5347
  };
5328
5348
  };
5329
5349
  readonly meta: {
@@ -8713,6 +8733,7 @@ declare function createGscdumpV1Protocol(): {
8713
8733
  available: z.ZodBoolean;
8714
8734
  reason: z.ZodNullable<z.ZodEnum<{
8715
8735
  empty: "empty";
8736
+ endpoint_unavailable: "endpoint_unavailable";
8716
8737
  site_url_cap_exceeded: "site_url_cap_exceeded";
8717
8738
  stale_sitemaps: "stale_sitemaps";
8718
8739
  }>>;
@@ -8742,6 +8763,7 @@ declare function createGscdumpV1Protocol(): {
8742
8763
  available: z.ZodBoolean;
8743
8764
  reason: z.ZodNullable<z.ZodEnum<{
8744
8765
  empty: "empty";
8766
+ endpoint_unavailable: "endpoint_unavailable";
8745
8767
  site_url_cap_exceeded: "site_url_cap_exceeded";
8746
8768
  stale_sitemaps: "stale_sitemaps";
8747
8769
  }>>;
@@ -1322,7 +1322,11 @@ function createGscdumpV1Protocol() {
1322
1322
  meta: {
1323
1323
  siteUrl: "sc-domain:example.com",
1324
1324
  gscPropertyUrl: "sc-domain:example.com",
1325
- syncStatus: "synced"
1325
+ syncStatus: "synced",
1326
+ sitemapScope: {
1327
+ excludedCount: 0,
1328
+ duplicateCount: 0
1329
+ }
1326
1330
  }
1327
1331
  },
1328
1332
  meta: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/contracts",
3
3
  "type": "module",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "description": "Shared gscdump.com API, webhook, realtime, and lifecycle contracts.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",