@gscdump/contracts 1.0.4 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -264,9 +264,9 @@ declare function createGscdumpV1Protocol(): {
264
264
  type: z.ZodString;
265
265
  id: z.ZodString;
266
266
  kind: z.ZodEnum<{
267
- created: "created";
268
- updated: "updated";
269
267
  deleted: "deleted";
268
+ updated: "updated";
269
+ created: "created";
270
270
  }>;
271
271
  }, z.core.$strict>;
272
272
  subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -291,9 +291,9 @@ declare function createGscdumpV1Protocol(): {
291
291
  type: z.ZodString;
292
292
  id: z.ZodString;
293
293
  kind: z.ZodEnum<{
294
- created: "created";
295
- updated: "updated";
296
294
  deleted: "deleted";
295
+ updated: "updated";
296
+ created: "created";
297
297
  }>;
298
298
  }, z.core.$strict>>;
299
299
  delivery: z.ZodLiteral<"durable">;
@@ -325,9 +325,9 @@ declare function createGscdumpV1Protocol(): {
325
325
  type: z.ZodString;
326
326
  id: z.ZodString;
327
327
  kind: z.ZodEnum<{
328
- created: "created";
329
- updated: "updated";
330
328
  deleted: "deleted";
329
+ updated: "updated";
330
+ created: "created";
331
331
  }>;
332
332
  }, z.core.$strict>>;
333
333
  delivery: z.ZodLiteral<"ephemeral">;
@@ -362,9 +362,9 @@ declare function createGscdumpV1Protocol(): {
362
362
  type: z.ZodString;
363
363
  id: z.ZodString;
364
364
  kind: z.ZodEnum<{
365
- created: "created";
366
- updated: "updated";
367
365
  deleted: "deleted";
366
+ updated: "updated";
367
+ created: "created";
368
368
  }>;
369
369
  }, z.core.$strict>>;
370
370
  delivery: z.ZodLiteral<"durable">;
@@ -395,9 +395,9 @@ declare function createGscdumpV1Protocol(): {
395
395
  type: z.ZodString;
396
396
  id: z.ZodString;
397
397
  kind: z.ZodEnum<{
398
- created: "created";
399
- updated: "updated";
400
398
  deleted: "deleted";
399
+ updated: "updated";
400
+ created: "created";
401
401
  }>;
402
402
  }, z.core.$strict>>;
403
403
  delivery: z.ZodLiteral<"ephemeral">;
@@ -491,9 +491,9 @@ declare function createGscdumpV1Protocol(): {
491
491
  type: z.ZodString;
492
492
  id: z.ZodString;
493
493
  kind: z.ZodEnum<{
494
- created: "created";
495
- updated: "updated";
496
494
  deleted: "deleted";
495
+ updated: "updated";
496
+ created: "created";
497
497
  }>;
498
498
  }, z.core.$strict>>;
499
499
  delivery: z.ZodLiteral<"durable">;
@@ -614,9 +614,9 @@ declare function createGscdumpV1Protocol(): {
614
614
  type: z.ZodString;
615
615
  id: z.ZodString;
616
616
  kind: z.ZodEnum<{
617
- created: "created";
618
- updated: "updated";
619
617
  deleted: "deleted";
618
+ updated: "updated";
619
+ created: "created";
620
620
  }>;
621
621
  }, z.core.$strict>>;
622
622
  delivery: z.ZodLiteral<"durable">;
@@ -647,9 +647,9 @@ declare function createGscdumpV1Protocol(): {
647
647
  type: z.ZodString;
648
648
  id: z.ZodString;
649
649
  kind: z.ZodEnum<{
650
- created: "created";
651
- updated: "updated";
652
650
  deleted: "deleted";
651
+ updated: "updated";
652
+ created: "created";
653
653
  }>;
654
654
  }, z.core.$strict>>;
655
655
  delivery: z.ZodLiteral<"ephemeral">;
@@ -685,9 +685,9 @@ declare function createGscdumpV1Protocol(): {
685
685
  type: z.ZodString;
686
686
  id: z.ZodString;
687
687
  kind: z.ZodEnum<{
688
- created: "created";
689
- updated: "updated";
690
688
  deleted: "deleted";
689
+ updated: "updated";
690
+ created: "created";
691
691
  }>;
692
692
  }, z.core.$strict>>;
693
693
  delivery: z.ZodLiteral<"durable">;
@@ -747,8 +747,8 @@ declare function createGscdumpV1Protocol(): {
747
747
  requestMetadata: z.ZodObject<{
748
748
  requestId: z.ZodString;
749
749
  surface: z.ZodEnum<{
750
- partner: "partner";
751
750
  analytics: "analytics";
751
+ partner: "partner";
752
752
  realtime: "realtime";
753
753
  }>;
754
754
  version: z.ZodLiteral<"1.0">;
@@ -759,16 +759,16 @@ declare function createGscdumpV1Protocol(): {
759
759
  responseMeta: CompatibleResponseSchema<z.ZodObject<{
760
760
  readonly requestId: z.ZodString;
761
761
  readonly surface: z.ZodEnum<{
762
- partner: "partner";
763
762
  analytics: "analytics";
763
+ partner: "partner";
764
764
  realtime: "realtime";
765
765
  }>;
766
766
  readonly version: z.ZodLiteral<"1.0">;
767
767
  }, z.core.$strip>, z.ZodObject<{
768
768
  readonly requestId: z.ZodString;
769
769
  readonly surface: z.ZodEnum<{
770
- partner: "partner";
771
770
  analytics: "analytics";
771
+ partner: "partner";
772
772
  realtime: "realtime";
773
773
  }>;
774
774
  readonly version: z.ZodLiteral<"1.0">;
@@ -776,13 +776,13 @@ declare function createGscdumpV1Protocol(): {
776
776
  errorEnvelope: CompatibleResponseSchema<z.ZodObject<{
777
777
  readonly error: z.ZodObject<{
778
778
  code: z.ZodEnum<{
779
+ rate_limited: "rate_limited";
779
780
  internal_error: "internal_error";
780
781
  invalid_request: "invalid_request";
781
782
  unauthorized: "unauthorized";
782
783
  forbidden: "forbidden";
783
784
  user_not_found: "user_not_found";
784
785
  site_not_found: "site_not_found";
785
- rate_limited: "rate_limited";
786
786
  realtime_unavailable: "realtime_unavailable";
787
787
  contract_violation: "contract_violation";
788
788
  }>;
@@ -794,13 +794,13 @@ declare function createGscdumpV1Protocol(): {
794
794
  }, z.core.$strip>, z.ZodObject<{
795
795
  readonly error: z.ZodObject<{
796
796
  code: z.ZodEnum<{
797
+ rate_limited: "rate_limited";
797
798
  internal_error: "internal_error";
798
799
  invalid_request: "invalid_request";
799
800
  unauthorized: "unauthorized";
800
801
  forbidden: "forbidden";
801
802
  user_not_found: "user_not_found";
802
803
  site_not_found: "site_not_found";
803
- rate_limited: "rate_limited";
804
804
  realtime_unavailable: "realtime_unavailable";
805
805
  contract_violation: "contract_violation";
806
806
  }>;
@@ -821,13 +821,13 @@ declare function createGscdumpV1Protocol(): {
821
821
  googleNews: "googleNews";
822
822
  }>>;
823
823
  dimensions: z.ZodArray<z.ZodEnum<{
824
+ country: "country";
824
825
  date: "date";
825
- page: "page";
826
+ searchAppearance: "searchAppearance";
826
827
  query: "query";
828
+ page: "page";
827
829
  queryCanonical: "queryCanonical";
828
- country: "country";
829
830
  device: "device";
830
- searchAppearance: "searchAppearance";
831
831
  hour: "hour";
832
832
  }>>;
833
833
  }, z.core.$loose>;
@@ -841,13 +841,13 @@ declare function createGscdumpV1Protocol(): {
841
841
  googleNews: "googleNews";
842
842
  }>>;
843
843
  dimensions: z.ZodArray<z.ZodEnum<{
844
+ country: "country";
844
845
  date: "date";
845
- page: "page";
846
+ searchAppearance: "searchAppearance";
846
847
  query: "query";
848
+ page: "page";
847
849
  queryCanonical: "queryCanonical";
848
- country: "country";
849
850
  device: "device";
850
- searchAppearance: "searchAppearance";
851
851
  hour: "hour";
852
852
  }>>;
853
853
  }, z.core.$loose>>;
@@ -978,13 +978,13 @@ declare function createGscdumpV1Protocol(): {
978
978
  googleNews: "googleNews";
979
979
  }>>;
980
980
  dimensions: z.ZodArray<z.ZodEnum<{
981
+ country: "country";
981
982
  date: "date";
982
- page: "page";
983
+ searchAppearance: "searchAppearance";
983
984
  query: "query";
985
+ page: "page";
984
986
  queryCanonical: "queryCanonical";
985
- country: "country";
986
987
  device: "device";
987
- searchAppearance: "searchAppearance";
988
988
  hour: "hour";
989
989
  }>>;
990
990
  }, z.core.$loose>;
@@ -998,13 +998,13 @@ declare function createGscdumpV1Protocol(): {
998
998
  googleNews: "googleNews";
999
999
  }>>;
1000
1000
  dimensions: z.ZodArray<z.ZodEnum<{
1001
+ country: "country";
1001
1002
  date: "date";
1002
- page: "page";
1003
+ searchAppearance: "searchAppearance";
1003
1004
  query: "query";
1005
+ page: "page";
1004
1006
  queryCanonical: "queryCanonical";
1005
- country: "country";
1006
1007
  device: "device";
1007
- searchAppearance: "searchAppearance";
1008
1008
  hour: "hour";
1009
1009
  }>>;
1010
1010
  }, z.core.$loose>>;
@@ -1106,13 +1106,13 @@ declare function createGscdumpV1Protocol(): {
1106
1106
  }, z.core.$strip>>;
1107
1107
  analyticsRowsRequest: z.ZodObject<{
1108
1108
  dimensions: z.ZodArray<z.ZodEnum<{
1109
+ country: "country";
1109
1110
  date: "date";
1110
- page: "page";
1111
+ searchAppearance: "searchAppearance";
1111
1112
  query: "query";
1113
+ page: "page";
1112
1114
  queryCanonical: "queryCanonical";
1113
- country: "country";
1114
1115
  device: "device";
1115
- searchAppearance: "searchAppearance";
1116
1116
  hour: "hour";
1117
1117
  }>>;
1118
1118
  metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -1125,9 +1125,9 @@ declare function createGscdumpV1Protocol(): {
1125
1125
  prefilter: z.ZodOptional<z.ZodType<NormalizedFilterV1, unknown, z.core.$ZodTypeInternals<NormalizedFilterV1, unknown>>>;
1126
1126
  orderBy: z.ZodOptional<z.ZodObject<{
1127
1127
  column: z.ZodEnum<{
1128
- date: "date";
1129
1128
  clicks: "clicks";
1130
1129
  impressions: "impressions";
1130
+ date: "date";
1131
1131
  ctr: "ctr";
1132
1132
  position: "position";
1133
1133
  }>;
@@ -1692,8 +1692,8 @@ declare function createGscdumpV1Protocol(): {
1692
1692
  limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
1693
1693
  offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
1694
1694
  status: z.ZodOptional<z.ZodEnum<{
1695
- pending: "pending";
1696
1695
  indexed: "indexed";
1696
+ pending: "pending";
1697
1697
  not_indexed: "not_indexed";
1698
1698
  }>>;
1699
1699
  issue: z.ZodOptional<z.ZodString>;
@@ -2103,6 +2103,7 @@ declare function createGscdumpV1Protocol(): {
2103
2103
  registerSiteRequest: z.ZodObject<{
2104
2104
  siteUrl: z.ZodString;
2105
2105
  gscPropertyUrl: z.ZodOptional<z.ZodString>;
2106
+ catalogSiteId: z.ZodOptional<z.ZodNumber>;
2106
2107
  externalSiteId: z.ZodOptional<z.ZodString>;
2107
2108
  requestedUrl: z.ZodOptional<z.ZodString>;
2108
2109
  externalSiteUrl: z.ZodOptional<z.ZodString>;
@@ -2123,7 +2124,6 @@ declare function createGscdumpV1Protocol(): {
2123
2124
  discover: "discover";
2124
2125
  googleNews: "googleNews";
2125
2126
  }>>>;
2126
- catalogSiteId: z.ZodOptional<z.ZodNumber>;
2127
2127
  }, z.core.$strict>;
2128
2128
  sitemapChangesQuery: z.ZodObject<{
2129
2129
  days: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
@@ -3107,12 +3107,12 @@ declare function createGscdumpV1Protocol(): {
3107
3107
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
3108
3108
  readonly error: z.ZodObject<{
3109
3109
  code: z.ZodEnum<{
3110
+ rate_limited: "rate_limited";
3110
3111
  internal_error: "internal_error";
3111
3112
  invalid_request: "invalid_request";
3112
3113
  unauthorized: "unauthorized";
3113
3114
  forbidden: "forbidden";
3114
3115
  user_not_found: "user_not_found";
3115
- rate_limited: "rate_limited";
3116
3116
  contract_violation: "contract_violation";
3117
3117
  }>;
3118
3118
  message: z.ZodString;
@@ -3123,12 +3123,12 @@ declare function createGscdumpV1Protocol(): {
3123
3123
  }, z.core.$strip>, z.ZodObject<{
3124
3124
  readonly error: z.ZodObject<{
3125
3125
  code: z.ZodEnum<{
3126
+ rate_limited: "rate_limited";
3126
3127
  internal_error: "internal_error";
3127
3128
  invalid_request: "invalid_request";
3128
3129
  unauthorized: "unauthorized";
3129
3130
  forbidden: "forbidden";
3130
3131
  user_not_found: "user_not_found";
3131
- rate_limited: "rate_limited";
3132
3132
  contract_violation: "contract_violation";
3133
3133
  }>;
3134
3134
  message: z.ZodString;
@@ -3284,12 +3284,12 @@ declare function createGscdumpV1Protocol(): {
3284
3284
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
3285
3285
  readonly error: z.ZodObject<{
3286
3286
  code: z.ZodEnum<{
3287
+ rate_limited: "rate_limited";
3287
3288
  internal_error: "internal_error";
3288
3289
  invalid_request: "invalid_request";
3289
3290
  unauthorized: "unauthorized";
3290
3291
  forbidden: "forbidden";
3291
3292
  user_not_found: "user_not_found";
3292
- rate_limited: "rate_limited";
3293
3293
  contract_violation: "contract_violation";
3294
3294
  }>;
3295
3295
  message: z.ZodString;
@@ -3300,12 +3300,12 @@ declare function createGscdumpV1Protocol(): {
3300
3300
  }, z.core.$strip>, z.ZodObject<{
3301
3301
  readonly error: z.ZodObject<{
3302
3302
  code: z.ZodEnum<{
3303
+ rate_limited: "rate_limited";
3303
3304
  internal_error: "internal_error";
3304
3305
  invalid_request: "invalid_request";
3305
3306
  unauthorized: "unauthorized";
3306
3307
  forbidden: "forbidden";
3307
3308
  user_not_found: "user_not_found";
3308
- rate_limited: "rate_limited";
3309
3309
  contract_violation: "contract_violation";
3310
3310
  }>;
3311
3311
  message: z.ZodString;
@@ -3385,6 +3385,7 @@ declare function createGscdumpV1Protocol(): {
3385
3385
  readonly body: z.ZodObject<{
3386
3386
  siteUrl: z.ZodString;
3387
3387
  gscPropertyUrl: z.ZodOptional<z.ZodString>;
3388
+ catalogSiteId: z.ZodOptional<z.ZodNumber>;
3388
3389
  externalSiteId: z.ZodOptional<z.ZodString>;
3389
3390
  requestedUrl: z.ZodOptional<z.ZodString>;
3390
3391
  externalSiteUrl: z.ZodOptional<z.ZodString>;
@@ -3405,7 +3406,6 @@ declare function createGscdumpV1Protocol(): {
3405
3406
  discover: "discover";
3406
3407
  googleNews: "googleNews";
3407
3408
  }>>>;
3408
- catalogSiteId: z.ZodOptional<z.ZodNumber>;
3409
3409
  }, z.core.$strict>;
3410
3410
  };
3411
3411
  readonly responses: {
@@ -3729,12 +3729,12 @@ declare function createGscdumpV1Protocol(): {
3729
3729
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
3730
3730
  readonly error: z.ZodObject<{
3731
3731
  code: z.ZodEnum<{
3732
+ rate_limited: "rate_limited";
3732
3733
  internal_error: "internal_error";
3733
3734
  invalid_request: "invalid_request";
3734
3735
  unauthorized: "unauthorized";
3735
3736
  forbidden: "forbidden";
3736
3737
  user_not_found: "user_not_found";
3737
- rate_limited: "rate_limited";
3738
3738
  contract_violation: "contract_violation";
3739
3739
  }>;
3740
3740
  message: z.ZodString;
@@ -3745,12 +3745,12 @@ declare function createGscdumpV1Protocol(): {
3745
3745
  }, z.core.$strip>, z.ZodObject<{
3746
3746
  readonly error: z.ZodObject<{
3747
3747
  code: z.ZodEnum<{
3748
+ rate_limited: "rate_limited";
3748
3749
  internal_error: "internal_error";
3749
3750
  invalid_request: "invalid_request";
3750
3751
  unauthorized: "unauthorized";
3751
3752
  forbidden: "forbidden";
3752
3753
  user_not_found: "user_not_found";
3753
- rate_limited: "rate_limited";
3754
3754
  contract_violation: "contract_violation";
3755
3755
  }>;
3756
3756
  message: z.ZodString;
@@ -3871,12 +3871,12 @@ declare function createGscdumpV1Protocol(): {
3871
3871
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
3872
3872
  readonly error: z.ZodObject<{
3873
3873
  code: z.ZodEnum<{
3874
+ rate_limited: "rate_limited";
3874
3875
  internal_error: "internal_error";
3875
3876
  invalid_request: "invalid_request";
3876
3877
  unauthorized: "unauthorized";
3877
3878
  forbidden: "forbidden";
3878
3879
  user_not_found: "user_not_found";
3879
- rate_limited: "rate_limited";
3880
3880
  contract_violation: "contract_violation";
3881
3881
  }>;
3882
3882
  message: z.ZodString;
@@ -3887,12 +3887,12 @@ declare function createGscdumpV1Protocol(): {
3887
3887
  }, z.core.$strip>, z.ZodObject<{
3888
3888
  readonly error: z.ZodObject<{
3889
3889
  code: z.ZodEnum<{
3890
+ rate_limited: "rate_limited";
3890
3891
  internal_error: "internal_error";
3891
3892
  invalid_request: "invalid_request";
3892
3893
  unauthorized: "unauthorized";
3893
3894
  forbidden: "forbidden";
3894
3895
  user_not_found: "user_not_found";
3895
- rate_limited: "rate_limited";
3896
3896
  contract_violation: "contract_violation";
3897
3897
  }>;
3898
3898
  message: z.ZodString;
@@ -4043,12 +4043,12 @@ declare function createGscdumpV1Protocol(): {
4043
4043
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
4044
4044
  readonly error: z.ZodObject<{
4045
4045
  code: z.ZodEnum<{
4046
+ rate_limited: "rate_limited";
4046
4047
  internal_error: "internal_error";
4047
4048
  invalid_request: "invalid_request";
4048
4049
  unauthorized: "unauthorized";
4049
4050
  forbidden: "forbidden";
4050
4051
  user_not_found: "user_not_found";
4051
- rate_limited: "rate_limited";
4052
4052
  contract_violation: "contract_violation";
4053
4053
  }>;
4054
4054
  message: z.ZodString;
@@ -4059,12 +4059,12 @@ declare function createGscdumpV1Protocol(): {
4059
4059
  }, z.core.$strip>, z.ZodObject<{
4060
4060
  readonly error: z.ZodObject<{
4061
4061
  code: z.ZodEnum<{
4062
+ rate_limited: "rate_limited";
4062
4063
  internal_error: "internal_error";
4063
4064
  invalid_request: "invalid_request";
4064
4065
  unauthorized: "unauthorized";
4065
4066
  forbidden: "forbidden";
4066
4067
  user_not_found: "user_not_found";
4067
- rate_limited: "rate_limited";
4068
4068
  contract_violation: "contract_violation";
4069
4069
  }>;
4070
4070
  message: z.ZodString;
@@ -4305,12 +4305,12 @@ declare function createGscdumpV1Protocol(): {
4305
4305
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
4306
4306
  readonly error: z.ZodObject<{
4307
4307
  code: z.ZodEnum<{
4308
+ rate_limited: "rate_limited";
4308
4309
  internal_error: "internal_error";
4309
4310
  invalid_request: "invalid_request";
4310
4311
  unauthorized: "unauthorized";
4311
4312
  forbidden: "forbidden";
4312
4313
  site_not_found: "site_not_found";
4313
- rate_limited: "rate_limited";
4314
4314
  contract_violation: "contract_violation";
4315
4315
  }>;
4316
4316
  message: z.ZodString;
@@ -4321,12 +4321,12 @@ declare function createGscdumpV1Protocol(): {
4321
4321
  }, z.core.$strip>, z.ZodObject<{
4322
4322
  readonly error: z.ZodObject<{
4323
4323
  code: z.ZodEnum<{
4324
+ rate_limited: "rate_limited";
4324
4325
  internal_error: "internal_error";
4325
4326
  invalid_request: "invalid_request";
4326
4327
  unauthorized: "unauthorized";
4327
4328
  forbidden: "forbidden";
4328
4329
  site_not_found: "site_not_found";
4329
- rate_limited: "rate_limited";
4330
4330
  contract_violation: "contract_violation";
4331
4331
  }>;
4332
4332
  message: z.ZodString;
@@ -4433,8 +4433,8 @@ declare function createGscdumpV1Protocol(): {
4433
4433
  limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
4434
4434
  offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
4435
4435
  status: z.ZodOptional<z.ZodEnum<{
4436
- pending: "pending";
4437
4436
  indexed: "indexed";
4437
+ pending: "pending";
4438
4438
  not_indexed: "not_indexed";
4439
4439
  }>>;
4440
4440
  issue: z.ZodOptional<z.ZodString>;
@@ -4539,12 +4539,12 @@ declare function createGscdumpV1Protocol(): {
4539
4539
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
4540
4540
  readonly error: z.ZodObject<{
4541
4541
  code: z.ZodEnum<{
4542
+ rate_limited: "rate_limited";
4542
4543
  internal_error: "internal_error";
4543
4544
  invalid_request: "invalid_request";
4544
4545
  unauthorized: "unauthorized";
4545
4546
  forbidden: "forbidden";
4546
4547
  site_not_found: "site_not_found";
4547
- rate_limited: "rate_limited";
4548
4548
  contract_violation: "contract_violation";
4549
4549
  }>;
4550
4550
  message: z.ZodString;
@@ -4555,12 +4555,12 @@ declare function createGscdumpV1Protocol(): {
4555
4555
  }, z.core.$strip>, z.ZodObject<{
4556
4556
  readonly error: z.ZodObject<{
4557
4557
  code: z.ZodEnum<{
4558
+ rate_limited: "rate_limited";
4558
4559
  internal_error: "internal_error";
4559
4560
  invalid_request: "invalid_request";
4560
4561
  unauthorized: "unauthorized";
4561
4562
  forbidden: "forbidden";
4562
4563
  site_not_found: "site_not_found";
4563
- rate_limited: "rate_limited";
4564
4564
  contract_violation: "contract_violation";
4565
4565
  }>;
4566
4566
  message: z.ZodString;
@@ -4758,12 +4758,12 @@ declare function createGscdumpV1Protocol(): {
4758
4758
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
4759
4759
  readonly error: z.ZodObject<{
4760
4760
  code: z.ZodEnum<{
4761
+ rate_limited: "rate_limited";
4761
4762
  internal_error: "internal_error";
4762
4763
  invalid_request: "invalid_request";
4763
4764
  unauthorized: "unauthorized";
4764
4765
  forbidden: "forbidden";
4765
4766
  site_not_found: "site_not_found";
4766
- rate_limited: "rate_limited";
4767
4767
  contract_violation: "contract_violation";
4768
4768
  }>;
4769
4769
  message: z.ZodString;
@@ -4774,12 +4774,12 @@ declare function createGscdumpV1Protocol(): {
4774
4774
  }, z.core.$strip>, z.ZodObject<{
4775
4775
  readonly error: z.ZodObject<{
4776
4776
  code: z.ZodEnum<{
4777
+ rate_limited: "rate_limited";
4777
4778
  internal_error: "internal_error";
4778
4779
  invalid_request: "invalid_request";
4779
4780
  unauthorized: "unauthorized";
4780
4781
  forbidden: "forbidden";
4781
4782
  site_not_found: "site_not_found";
4782
- rate_limited: "rate_limited";
4783
4783
  contract_violation: "contract_violation";
4784
4784
  }>;
4785
4785
  message: z.ZodString;
@@ -4946,12 +4946,12 @@ declare function createGscdumpV1Protocol(): {
4946
4946
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
4947
4947
  readonly error: z.ZodObject<{
4948
4948
  code: z.ZodEnum<{
4949
+ rate_limited: "rate_limited";
4949
4950
  internal_error: "internal_error";
4950
4951
  invalid_request: "invalid_request";
4951
4952
  unauthorized: "unauthorized";
4952
4953
  forbidden: "forbidden";
4953
4954
  site_not_found: "site_not_found";
4954
- rate_limited: "rate_limited";
4955
4955
  contract_violation: "contract_violation";
4956
4956
  }>;
4957
4957
  message: z.ZodString;
@@ -4962,12 +4962,12 @@ declare function createGscdumpV1Protocol(): {
4962
4962
  }, z.core.$strip>, z.ZodObject<{
4963
4963
  readonly error: z.ZodObject<{
4964
4964
  code: z.ZodEnum<{
4965
+ rate_limited: "rate_limited";
4965
4966
  internal_error: "internal_error";
4966
4967
  invalid_request: "invalid_request";
4967
4968
  unauthorized: "unauthorized";
4968
4969
  forbidden: "forbidden";
4969
4970
  site_not_found: "site_not_found";
4970
- rate_limited: "rate_limited";
4971
4971
  contract_violation: "contract_violation";
4972
4972
  }>;
4973
4973
  message: z.ZodString;
@@ -5108,12 +5108,12 @@ declare function createGscdumpV1Protocol(): {
5108
5108
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
5109
5109
  readonly error: z.ZodObject<{
5110
5110
  code: z.ZodEnum<{
5111
+ rate_limited: "rate_limited";
5111
5112
  internal_error: "internal_error";
5112
5113
  invalid_request: "invalid_request";
5113
5114
  unauthorized: "unauthorized";
5114
5115
  forbidden: "forbidden";
5115
5116
  site_not_found: "site_not_found";
5116
- rate_limited: "rate_limited";
5117
5117
  contract_violation: "contract_violation";
5118
5118
  }>;
5119
5119
  message: z.ZodString;
@@ -5124,12 +5124,12 @@ declare function createGscdumpV1Protocol(): {
5124
5124
  }, z.core.$strip>, z.ZodObject<{
5125
5125
  readonly error: z.ZodObject<{
5126
5126
  code: z.ZodEnum<{
5127
+ rate_limited: "rate_limited";
5127
5128
  internal_error: "internal_error";
5128
5129
  invalid_request: "invalid_request";
5129
5130
  unauthorized: "unauthorized";
5130
5131
  forbidden: "forbidden";
5131
5132
  site_not_found: "site_not_found";
5132
- rate_limited: "rate_limited";
5133
5133
  contract_violation: "contract_violation";
5134
5134
  }>;
5135
5135
  message: z.ZodString;
@@ -5317,12 +5317,12 @@ declare function createGscdumpV1Protocol(): {
5317
5317
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
5318
5318
  readonly error: z.ZodObject<{
5319
5319
  code: z.ZodEnum<{
5320
+ rate_limited: "rate_limited";
5320
5321
  internal_error: "internal_error";
5321
5322
  invalid_request: "invalid_request";
5322
5323
  unauthorized: "unauthorized";
5323
5324
  forbidden: "forbidden";
5324
5325
  site_not_found: "site_not_found";
5325
- rate_limited: "rate_limited";
5326
5326
  contract_violation: "contract_violation";
5327
5327
  }>;
5328
5328
  message: z.ZodString;
@@ -5333,12 +5333,12 @@ declare function createGscdumpV1Protocol(): {
5333
5333
  }, z.core.$strip>, z.ZodObject<{
5334
5334
  readonly error: z.ZodObject<{
5335
5335
  code: z.ZodEnum<{
5336
+ rate_limited: "rate_limited";
5336
5337
  internal_error: "internal_error";
5337
5338
  invalid_request: "invalid_request";
5338
5339
  unauthorized: "unauthorized";
5339
5340
  forbidden: "forbidden";
5340
5341
  site_not_found: "site_not_found";
5341
- rate_limited: "rate_limited";
5342
5342
  contract_violation: "contract_violation";
5343
5343
  }>;
5344
5344
  message: z.ZodString;
@@ -5515,12 +5515,12 @@ declare function createGscdumpV1Protocol(): {
5515
5515
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
5516
5516
  readonly error: z.ZodObject<{
5517
5517
  code: z.ZodEnum<{
5518
+ rate_limited: "rate_limited";
5518
5519
  internal_error: "internal_error";
5519
5520
  invalid_request: "invalid_request";
5520
5521
  unauthorized: "unauthorized";
5521
5522
  forbidden: "forbidden";
5522
5523
  site_not_found: "site_not_found";
5523
- rate_limited: "rate_limited";
5524
5524
  contract_violation: "contract_violation";
5525
5525
  }>;
5526
5526
  message: z.ZodString;
@@ -5531,12 +5531,12 @@ declare function createGscdumpV1Protocol(): {
5531
5531
  }, z.core.$strip>, z.ZodObject<{
5532
5532
  readonly error: z.ZodObject<{
5533
5533
  code: z.ZodEnum<{
5534
+ rate_limited: "rate_limited";
5534
5535
  internal_error: "internal_error";
5535
5536
  invalid_request: "invalid_request";
5536
5537
  unauthorized: "unauthorized";
5537
5538
  forbidden: "forbidden";
5538
5539
  site_not_found: "site_not_found";
5539
- rate_limited: "rate_limited";
5540
5540
  contract_violation: "contract_violation";
5541
5541
  }>;
5542
5542
  message: z.ZodString;
@@ -5652,12 +5652,12 @@ declare function createGscdumpV1Protocol(): {
5652
5652
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
5653
5653
  readonly error: z.ZodObject<{
5654
5654
  code: z.ZodEnum<{
5655
+ rate_limited: "rate_limited";
5655
5656
  internal_error: "internal_error";
5656
5657
  invalid_request: "invalid_request";
5657
5658
  unauthorized: "unauthorized";
5658
5659
  forbidden: "forbidden";
5659
5660
  site_not_found: "site_not_found";
5660
- rate_limited: "rate_limited";
5661
5661
  contract_violation: "contract_violation";
5662
5662
  }>;
5663
5663
  message: z.ZodString;
@@ -5668,12 +5668,12 @@ declare function createGscdumpV1Protocol(): {
5668
5668
  }, z.core.$strip>, z.ZodObject<{
5669
5669
  readonly error: z.ZodObject<{
5670
5670
  code: z.ZodEnum<{
5671
+ rate_limited: "rate_limited";
5671
5672
  internal_error: "internal_error";
5672
5673
  invalid_request: "invalid_request";
5673
5674
  unauthorized: "unauthorized";
5674
5675
  forbidden: "forbidden";
5675
5676
  site_not_found: "site_not_found";
5676
- rate_limited: "rate_limited";
5677
5677
  contract_violation: "contract_violation";
5678
5678
  }>;
5679
5679
  message: z.ZodString;
@@ -5823,12 +5823,12 @@ declare function createGscdumpV1Protocol(): {
5823
5823
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
5824
5824
  readonly error: z.ZodObject<{
5825
5825
  code: z.ZodEnum<{
5826
+ rate_limited: "rate_limited";
5826
5827
  internal_error: "internal_error";
5827
5828
  invalid_request: "invalid_request";
5828
5829
  unauthorized: "unauthorized";
5829
5830
  forbidden: "forbidden";
5830
5831
  site_not_found: "site_not_found";
5831
- rate_limited: "rate_limited";
5832
5832
  contract_violation: "contract_violation";
5833
5833
  }>;
5834
5834
  message: z.ZodString;
@@ -5839,12 +5839,12 @@ declare function createGscdumpV1Protocol(): {
5839
5839
  }, z.core.$strip>, z.ZodObject<{
5840
5840
  readonly error: z.ZodObject<{
5841
5841
  code: z.ZodEnum<{
5842
+ rate_limited: "rate_limited";
5842
5843
  internal_error: "internal_error";
5843
5844
  invalid_request: "invalid_request";
5844
5845
  unauthorized: "unauthorized";
5845
5846
  forbidden: "forbidden";
5846
5847
  site_not_found: "site_not_found";
5847
- rate_limited: "rate_limited";
5848
5848
  contract_violation: "contract_violation";
5849
5849
  }>;
5850
5850
  message: z.ZodString;
@@ -6039,12 +6039,12 @@ declare function createGscdumpV1Protocol(): {
6039
6039
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
6040
6040
  readonly error: z.ZodObject<{
6041
6041
  code: z.ZodEnum<{
6042
+ rate_limited: "rate_limited";
6042
6043
  internal_error: "internal_error";
6043
6044
  invalid_request: "invalid_request";
6044
6045
  unauthorized: "unauthorized";
6045
6046
  forbidden: "forbidden";
6046
6047
  site_not_found: "site_not_found";
6047
- rate_limited: "rate_limited";
6048
6048
  contract_violation: "contract_violation";
6049
6049
  }>;
6050
6050
  message: z.ZodString;
@@ -6055,12 +6055,12 @@ declare function createGscdumpV1Protocol(): {
6055
6055
  }, z.core.$strip>, z.ZodObject<{
6056
6056
  readonly error: z.ZodObject<{
6057
6057
  code: z.ZodEnum<{
6058
+ rate_limited: "rate_limited";
6058
6059
  internal_error: "internal_error";
6059
6060
  invalid_request: "invalid_request";
6060
6061
  unauthorized: "unauthorized";
6061
6062
  forbidden: "forbidden";
6062
6063
  site_not_found: "site_not_found";
6063
- rate_limited: "rate_limited";
6064
6064
  contract_violation: "contract_violation";
6065
6065
  }>;
6066
6066
  message: z.ZodString;
@@ -6180,12 +6180,12 @@ declare function createGscdumpV1Protocol(): {
6180
6180
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
6181
6181
  readonly error: z.ZodObject<{
6182
6182
  code: z.ZodEnum<{
6183
+ rate_limited: "rate_limited";
6183
6184
  internal_error: "internal_error";
6184
6185
  invalid_request: "invalid_request";
6185
6186
  unauthorized: "unauthorized";
6186
6187
  forbidden: "forbidden";
6187
6188
  site_not_found: "site_not_found";
6188
- rate_limited: "rate_limited";
6189
6189
  contract_violation: "contract_violation";
6190
6190
  }>;
6191
6191
  message: z.ZodString;
@@ -6196,12 +6196,12 @@ declare function createGscdumpV1Protocol(): {
6196
6196
  }, z.core.$strip>, z.ZodObject<{
6197
6197
  readonly error: z.ZodObject<{
6198
6198
  code: z.ZodEnum<{
6199
+ rate_limited: "rate_limited";
6199
6200
  internal_error: "internal_error";
6200
6201
  invalid_request: "invalid_request";
6201
6202
  unauthorized: "unauthorized";
6202
6203
  forbidden: "forbidden";
6203
6204
  site_not_found: "site_not_found";
6204
- rate_limited: "rate_limited";
6205
6205
  contract_violation: "contract_violation";
6206
6206
  }>;
6207
6207
  message: z.ZodString;
@@ -6322,12 +6322,12 @@ declare function createGscdumpV1Protocol(): {
6322
6322
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
6323
6323
  readonly error: z.ZodObject<{
6324
6324
  code: z.ZodEnum<{
6325
+ rate_limited: "rate_limited";
6325
6326
  internal_error: "internal_error";
6326
6327
  invalid_request: "invalid_request";
6327
6328
  unauthorized: "unauthorized";
6328
6329
  forbidden: "forbidden";
6329
6330
  site_not_found: "site_not_found";
6330
- rate_limited: "rate_limited";
6331
6331
  contract_violation: "contract_violation";
6332
6332
  }>;
6333
6333
  message: z.ZodString;
@@ -6338,12 +6338,12 @@ declare function createGscdumpV1Protocol(): {
6338
6338
  }, z.core.$strip>, z.ZodObject<{
6339
6339
  readonly error: z.ZodObject<{
6340
6340
  code: z.ZodEnum<{
6341
+ rate_limited: "rate_limited";
6341
6342
  internal_error: "internal_error";
6342
6343
  invalid_request: "invalid_request";
6343
6344
  unauthorized: "unauthorized";
6344
6345
  forbidden: "forbidden";
6345
6346
  site_not_found: "site_not_found";
6346
- rate_limited: "rate_limited";
6347
6347
  contract_violation: "contract_violation";
6348
6348
  }>;
6349
6349
  message: z.ZodString;
@@ -6481,12 +6481,12 @@ declare function createGscdumpV1Protocol(): {
6481
6481
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
6482
6482
  readonly error: z.ZodObject<{
6483
6483
  code: z.ZodEnum<{
6484
+ rate_limited: "rate_limited";
6484
6485
  internal_error: "internal_error";
6485
6486
  invalid_request: "invalid_request";
6486
6487
  unauthorized: "unauthorized";
6487
6488
  forbidden: "forbidden";
6488
6489
  site_not_found: "site_not_found";
6489
- rate_limited: "rate_limited";
6490
6490
  contract_violation: "contract_violation";
6491
6491
  }>;
6492
6492
  message: z.ZodString;
@@ -6497,12 +6497,12 @@ declare function createGscdumpV1Protocol(): {
6497
6497
  }, z.core.$strip>, z.ZodObject<{
6498
6498
  readonly error: z.ZodObject<{
6499
6499
  code: z.ZodEnum<{
6500
+ rate_limited: "rate_limited";
6500
6501
  internal_error: "internal_error";
6501
6502
  invalid_request: "invalid_request";
6502
6503
  unauthorized: "unauthorized";
6503
6504
  forbidden: "forbidden";
6504
6505
  site_not_found: "site_not_found";
6505
- rate_limited: "rate_limited";
6506
6506
  contract_violation: "contract_violation";
6507
6507
  }>;
6508
6508
  message: z.ZodString;
@@ -6642,12 +6642,12 @@ declare function createGscdumpV1Protocol(): {
6642
6642
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
6643
6643
  readonly error: z.ZodObject<{
6644
6644
  code: z.ZodEnum<{
6645
+ rate_limited: "rate_limited";
6645
6646
  internal_error: "internal_error";
6646
6647
  invalid_request: "invalid_request";
6647
6648
  unauthorized: "unauthorized";
6648
6649
  forbidden: "forbidden";
6649
6650
  site_not_found: "site_not_found";
6650
- rate_limited: "rate_limited";
6651
6651
  contract_violation: "contract_violation";
6652
6652
  }>;
6653
6653
  message: z.ZodString;
@@ -6658,12 +6658,12 @@ declare function createGscdumpV1Protocol(): {
6658
6658
  }, z.core.$strip>, z.ZodObject<{
6659
6659
  readonly error: z.ZodObject<{
6660
6660
  code: z.ZodEnum<{
6661
+ rate_limited: "rate_limited";
6661
6662
  internal_error: "internal_error";
6662
6663
  invalid_request: "invalid_request";
6663
6664
  unauthorized: "unauthorized";
6664
6665
  forbidden: "forbidden";
6665
6666
  site_not_found: "site_not_found";
6666
- rate_limited: "rate_limited";
6667
6667
  contract_violation: "contract_violation";
6668
6668
  }>;
6669
6669
  message: z.ZodString;
@@ -6714,12 +6714,10 @@ declare function createGscdumpV1Protocol(): {
6714
6714
  };
6715
6715
  };
6716
6716
  };
6717
- }>;
6718
- analytics: HttpV1Surface<{
6719
- readonly queryRows: {
6720
- readonly id: "analytics.rows.query";
6721
- readonly method: "POST";
6722
- readonly path: "/sites/{siteId}/rows";
6717
+ readonly getContentVelocity: {
6718
+ readonly id: "partner.sites.content.velocity.get";
6719
+ readonly method: "GET";
6720
+ readonly path: "/sites/{siteId}/content-velocity";
6723
6721
  readonly visibility: "public";
6724
6722
  readonly semantics: {
6725
6723
  readonly kind: "query";
@@ -6730,7 +6728,7 @@ declare function createGscdumpV1Protocol(): {
6730
6728
  };
6731
6729
  readonly auth: {
6732
6730
  readonly credentials: readonly ["user_key", "partner_key"];
6733
- readonly scopes: readonly ["analytics:execute"];
6731
+ readonly scopes: readonly ["analytics:read"];
6734
6732
  readonly ownership: readonly [{
6735
6733
  readonly credential: "user_key";
6736
6734
  readonly rule: "authorized_site";
@@ -6743,92 +6741,1540 @@ declare function createGscdumpV1Protocol(): {
6743
6741
  readonly params: z.ZodObject<{
6744
6742
  siteId: z.ZodString;
6745
6743
  }, z.core.$strict>;
6746
- readonly query: null;
6744
+ readonly query: z.ZodObject<{
6745
+ days: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6746
+ }, z.core.$strict>;
6747
6747
  readonly headers: z.ZodObject<{
6748
6748
  'x-request-id': z.ZodOptional<z.ZodString>;
6749
6749
  }, z.core.$strict>;
6750
- readonly body: z.ZodObject<{
6751
- dimensions: z.ZodArray<z.ZodEnum<{
6752
- date: "date";
6753
- page: "page";
6754
- query: "query";
6755
- queryCanonical: "queryCanonical";
6756
- country: "country";
6757
- device: "device";
6758
- searchAppearance: "searchAppearance";
6759
- hour: "hour";
6760
- }>>;
6761
- metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6762
- clicks: "clicks";
6763
- impressions: "impressions";
6764
- ctr: "ctr";
6765
- position: "position";
6766
- }>>>;
6767
- filter: z.ZodOptional<z.ZodType<NormalizedFilterV1, unknown, z.core.$ZodTypeInternals<NormalizedFilterV1, unknown>>>;
6768
- prefilter: z.ZodOptional<z.ZodType<NormalizedFilterV1, unknown, z.core.$ZodTypeInternals<NormalizedFilterV1, unknown>>>;
6769
- orderBy: z.ZodOptional<z.ZodObject<{
6770
- column: z.ZodEnum<{
6771
- date: "date";
6772
- clicks: "clicks";
6773
- impressions: "impressions";
6774
- ctr: "ctr";
6775
- position: "position";
6776
- }>;
6777
- dir: z.ZodEnum<{
6778
- asc: "asc";
6779
- desc: "desc";
6780
- }>;
6781
- }, z.core.$strict>>;
6782
- rowLimit: z.ZodOptional<z.ZodNumber>;
6783
- startRow: z.ZodOptional<z.ZodNumber>;
6784
- dataState: z.ZodOptional<z.ZodEnum<{
6785
- final: "final";
6786
- all: "all";
6787
- hourly_all: "hourly_all";
6788
- }>>;
6789
- aggregationType: z.ZodOptional<z.ZodEnum<{
6790
- auto: "auto";
6791
- byPage: "byPage";
6792
- byProperty: "byProperty";
6793
- byNewsShowcasePanel: "byNewsShowcasePanel";
6794
- }>>;
6795
- searchType: z.ZodOptional<z.ZodEnum<{
6796
- web: "web";
6797
- image: "image";
6798
- video: "video";
6799
- news: "news";
6800
- discover: "discover";
6801
- googleNews: "googleNews";
6802
- }>>;
6803
- }, z.core.$strict>;
6750
+ readonly body: null;
6804
6751
  };
6805
6752
  readonly responses: {
6806
6753
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
6807
6754
  data: z.ZodObject<{
6808
- readonly rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6755
+ readonly weekly: z.ZodArray<z.ZodObject<{
6756
+ week: z.ZodString;
6757
+ newKeywords: z.ZodNumber;
6758
+ totalKeywords: z.ZodNumber;
6759
+ }, z.core.$strict>>;
6760
+ readonly summary: z.ZodObject<{
6761
+ totalNewKeywords: z.ZodNumber;
6762
+ avgPerWeek: z.ZodNumber;
6763
+ trend: z.ZodEnum<{
6764
+ stable: "stable";
6765
+ accelerating: "accelerating";
6766
+ decelerating: "decelerating";
6767
+ }>;
6768
+ }, z.core.$strict>;
6769
+ readonly meta: z.ZodObject<{
6770
+ siteUrl: z.ZodNullable<z.ZodString>;
6771
+ syncStatus: z.ZodNullable<z.ZodString>;
6772
+ }, z.core.$strip>;
6809
6773
  }, z.core.$strip>;
6810
6774
  meta: z.ZodObject<{
6811
6775
  readonly requestId: z.ZodString;
6812
- readonly surface: z.ZodLiteral<"analytics">;
6776
+ readonly surface: z.ZodLiteral<"partner">;
6813
6777
  readonly version: z.ZodLiteral<"1.0">;
6814
- readonly sourceName: z.ZodString;
6815
- readonly sourceKind: z.ZodEnum<{
6816
- row: "row";
6817
- sql: "sql";
6818
- }>;
6819
- readonly queryMs: z.ZodNumber;
6820
6778
  }, z.core.$strip>;
6821
6779
  }, z.core.$strip>, z.ZodObject<{
6822
6780
  data: z.ZodObject<{
6823
- readonly rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6781
+ readonly weekly: z.ZodArray<z.ZodObject<{
6782
+ week: z.ZodString;
6783
+ newKeywords: z.ZodNumber;
6784
+ totalKeywords: z.ZodNumber;
6785
+ }, z.core.$strict>>;
6786
+ readonly summary: z.ZodObject<{
6787
+ totalNewKeywords: z.ZodNumber;
6788
+ avgPerWeek: z.ZodNumber;
6789
+ trend: z.ZodEnum<{
6790
+ stable: "stable";
6791
+ accelerating: "accelerating";
6792
+ decelerating: "decelerating";
6793
+ }>;
6794
+ }, z.core.$strict>;
6795
+ readonly meta: z.ZodObject<{
6796
+ siteUrl: z.ZodNullable<z.ZodString>;
6797
+ syncStatus: z.ZodNullable<z.ZodString>;
6798
+ }, z.core.$strip>;
6824
6799
  }, z.core.$strip>;
6825
6800
  meta: z.ZodObject<{
6826
6801
  readonly requestId: z.ZodString;
6827
- readonly surface: z.ZodLiteral<"analytics">;
6802
+ readonly surface: z.ZodLiteral<"partner">;
6828
6803
  readonly version: z.ZodLiteral<"1.0">;
6829
- readonly sourceName: z.ZodString;
6830
- readonly sourceKind: z.ZodEnum<{
6831
- row: "row";
6804
+ }, z.core.$strip>;
6805
+ }, z.core.$strip>>;
6806
+ };
6807
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
6808
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
6809
+ readonly error: z.ZodObject<{
6810
+ code: z.ZodEnum<{
6811
+ rate_limited: "rate_limited";
6812
+ internal_error: "internal_error";
6813
+ invalid_request: "invalid_request";
6814
+ unauthorized: "unauthorized";
6815
+ forbidden: "forbidden";
6816
+ site_not_found: "site_not_found";
6817
+ contract_violation: "contract_violation";
6818
+ }>;
6819
+ message: z.ZodString;
6820
+ requestId: z.ZodString;
6821
+ retryable: z.ZodBoolean;
6822
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
6823
+ }, z.core.$strict>;
6824
+ }, z.core.$strip>, z.ZodObject<{
6825
+ readonly error: z.ZodObject<{
6826
+ code: z.ZodEnum<{
6827
+ rate_limited: "rate_limited";
6828
+ internal_error: "internal_error";
6829
+ invalid_request: "invalid_request";
6830
+ unauthorized: "unauthorized";
6831
+ forbidden: "forbidden";
6832
+ site_not_found: "site_not_found";
6833
+ contract_violation: "contract_violation";
6834
+ }>;
6835
+ message: z.ZodString;
6836
+ requestId: z.ZodString;
6837
+ retryable: z.ZodBoolean;
6838
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
6839
+ }, z.core.$loose>;
6840
+ }, z.core.$strip>>;
6841
+ readonly resources: {
6842
+ readonly reads: readonly [{
6843
+ readonly type: "site.analytics";
6844
+ readonly idFrom: "params.siteId";
6845
+ }];
6846
+ readonly changes: readonly [];
6847
+ };
6848
+ readonly lifecycle: {
6849
+ readonly introduced: "1.2.0";
6850
+ };
6851
+ readonly docs: {
6852
+ readonly summary: "Get content velocity";
6853
+ readonly description: "Returns the weekly new-keyword series over the requested window with a summary trend.";
6854
+ readonly tags: readonly ["Analytics"];
6855
+ readonly examples: {
6856
+ readonly request: {
6857
+ readonly params: {
6858
+ readonly siteId: "s_01";
6859
+ };
6860
+ readonly query: {
6861
+ readonly days: 90;
6862
+ };
6863
+ };
6864
+ readonly response: {
6865
+ readonly data: {
6866
+ readonly weekly: readonly [];
6867
+ readonly summary: {
6868
+ readonly totalNewKeywords: 0;
6869
+ readonly avgPerWeek: 0;
6870
+ readonly trend: "stable";
6871
+ };
6872
+ readonly meta: {
6873
+ readonly siteUrl: "sc-domain:example.com";
6874
+ readonly syncStatus: "synced";
6875
+ };
6876
+ };
6877
+ readonly meta: {
6878
+ readonly requestId: "req_01";
6879
+ readonly surface: "partner";
6880
+ readonly version: "1.0";
6881
+ };
6882
+ };
6883
+ };
6884
+ };
6885
+ };
6886
+ readonly getCtrCurve: {
6887
+ readonly id: "partner.sites.ctr.curve.get";
6888
+ readonly method: "GET";
6889
+ readonly path: "/sites/{siteId}/ctr-curve";
6890
+ readonly visibility: "public";
6891
+ readonly semantics: {
6892
+ readonly kind: "query";
6893
+ readonly sideEffects: "none";
6894
+ readonly idempotent: true;
6895
+ readonly retry: "idempotent";
6896
+ readonly readConsistency: "primary";
6897
+ };
6898
+ readonly auth: {
6899
+ readonly credentials: readonly ["user_key", "partner_key"];
6900
+ readonly scopes: readonly ["analytics:read"];
6901
+ readonly ownership: readonly [{
6902
+ readonly credential: "user_key";
6903
+ readonly rule: "authorized_site";
6904
+ }, {
6905
+ readonly credential: "partner_key";
6906
+ readonly rule: "authorized_site";
6907
+ }];
6908
+ };
6909
+ readonly request: {
6910
+ readonly params: z.ZodObject<{
6911
+ siteId: z.ZodString;
6912
+ }, z.core.$strict>;
6913
+ readonly query: z.ZodObject<{
6914
+ startDate: z.ZodString;
6915
+ endDate: z.ZodString;
6916
+ }, z.core.$strict>;
6917
+ readonly headers: z.ZodObject<{
6918
+ 'x-request-id': z.ZodOptional<z.ZodString>;
6919
+ }, z.core.$strict>;
6920
+ readonly body: null;
6921
+ };
6922
+ readonly responses: {
6923
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
6924
+ data: z.ZodObject<{
6925
+ readonly curve: z.ZodArray<z.ZodObject<{
6926
+ bucket: z.ZodString;
6927
+ avgCtr: z.ZodNumber;
6928
+ medianPosition: z.ZodNumber;
6929
+ keywordCount: z.ZodNumber;
6930
+ totalClicks: z.ZodNumber;
6931
+ totalImpressions: z.ZodNumber;
6932
+ }, z.core.$strict>>;
6933
+ readonly overperforming: z.ZodArray<z.ZodObject<{
6934
+ query: z.ZodString;
6935
+ clicks: z.ZodNumber;
6936
+ impressions: z.ZodNumber;
6937
+ ctr: z.ZodNumber;
6938
+ position: z.ZodNumber;
6939
+ expectedCtr: z.ZodNumber;
6940
+ ctrDiff: z.ZodNumber;
6941
+ }, z.core.$strict>>;
6942
+ readonly underperforming: z.ZodArray<z.ZodObject<{
6943
+ query: z.ZodString;
6944
+ clicks: z.ZodNumber;
6945
+ impressions: z.ZodNumber;
6946
+ ctr: z.ZodNumber;
6947
+ position: z.ZodNumber;
6948
+ expectedCtr: z.ZodNumber;
6949
+ ctrDiff: z.ZodNumber;
6950
+ }, z.core.$strict>>;
6951
+ readonly meta: z.ZodObject<{
6952
+ siteUrl: z.ZodNullable<z.ZodString>;
6953
+ syncStatus: z.ZodNullable<z.ZodString>;
6954
+ }, z.core.$strip>;
6955
+ }, z.core.$strip>;
6956
+ meta: z.ZodObject<{
6957
+ readonly requestId: z.ZodString;
6958
+ readonly surface: z.ZodLiteral<"partner">;
6959
+ readonly version: z.ZodLiteral<"1.0">;
6960
+ }, z.core.$strip>;
6961
+ }, z.core.$strip>, z.ZodObject<{
6962
+ data: z.ZodObject<{
6963
+ readonly curve: z.ZodArray<z.ZodObject<{
6964
+ bucket: z.ZodString;
6965
+ avgCtr: z.ZodNumber;
6966
+ medianPosition: z.ZodNumber;
6967
+ keywordCount: z.ZodNumber;
6968
+ totalClicks: z.ZodNumber;
6969
+ totalImpressions: z.ZodNumber;
6970
+ }, z.core.$strict>>;
6971
+ readonly overperforming: z.ZodArray<z.ZodObject<{
6972
+ query: z.ZodString;
6973
+ clicks: z.ZodNumber;
6974
+ impressions: z.ZodNumber;
6975
+ ctr: z.ZodNumber;
6976
+ position: z.ZodNumber;
6977
+ expectedCtr: z.ZodNumber;
6978
+ ctrDiff: z.ZodNumber;
6979
+ }, z.core.$strict>>;
6980
+ readonly underperforming: z.ZodArray<z.ZodObject<{
6981
+ query: z.ZodString;
6982
+ clicks: z.ZodNumber;
6983
+ impressions: z.ZodNumber;
6984
+ ctr: z.ZodNumber;
6985
+ position: z.ZodNumber;
6986
+ expectedCtr: z.ZodNumber;
6987
+ ctrDiff: z.ZodNumber;
6988
+ }, z.core.$strict>>;
6989
+ readonly meta: z.ZodObject<{
6990
+ siteUrl: z.ZodNullable<z.ZodString>;
6991
+ syncStatus: z.ZodNullable<z.ZodString>;
6992
+ }, z.core.$strip>;
6993
+ }, z.core.$strip>;
6994
+ meta: z.ZodObject<{
6995
+ readonly requestId: z.ZodString;
6996
+ readonly surface: z.ZodLiteral<"partner">;
6997
+ readonly version: z.ZodLiteral<"1.0">;
6998
+ }, z.core.$strip>;
6999
+ }, z.core.$strip>>;
7000
+ };
7001
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
7002
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7003
+ readonly error: z.ZodObject<{
7004
+ code: z.ZodEnum<{
7005
+ rate_limited: "rate_limited";
7006
+ internal_error: "internal_error";
7007
+ invalid_request: "invalid_request";
7008
+ unauthorized: "unauthorized";
7009
+ forbidden: "forbidden";
7010
+ site_not_found: "site_not_found";
7011
+ contract_violation: "contract_violation";
7012
+ }>;
7013
+ message: z.ZodString;
7014
+ requestId: z.ZodString;
7015
+ retryable: z.ZodBoolean;
7016
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7017
+ }, z.core.$strict>;
7018
+ }, z.core.$strip>, z.ZodObject<{
7019
+ readonly error: z.ZodObject<{
7020
+ code: z.ZodEnum<{
7021
+ rate_limited: "rate_limited";
7022
+ internal_error: "internal_error";
7023
+ invalid_request: "invalid_request";
7024
+ unauthorized: "unauthorized";
7025
+ forbidden: "forbidden";
7026
+ site_not_found: "site_not_found";
7027
+ contract_violation: "contract_violation";
7028
+ }>;
7029
+ message: z.ZodString;
7030
+ requestId: z.ZodString;
7031
+ retryable: z.ZodBoolean;
7032
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7033
+ }, z.core.$loose>;
7034
+ }, z.core.$strip>>;
7035
+ readonly resources: {
7036
+ readonly reads: readonly [{
7037
+ readonly type: "site.analytics";
7038
+ readonly idFrom: "params.siteId";
7039
+ }];
7040
+ readonly changes: readonly [];
7041
+ };
7042
+ readonly lifecycle: {
7043
+ readonly introduced: "1.2.0";
7044
+ };
7045
+ readonly docs: {
7046
+ readonly summary: "Get CTR curve and outliers";
7047
+ readonly description: "Returns the position-bucketed CTR curve plus over/under-performing query outliers for the window.";
7048
+ readonly tags: readonly ["Analytics"];
7049
+ readonly examples: {
7050
+ readonly request: {
7051
+ readonly params: {
7052
+ readonly siteId: "s_01";
7053
+ };
7054
+ readonly query: {
7055
+ readonly startDate: "2026-06-01";
7056
+ readonly endDate: "2026-06-28";
7057
+ };
7058
+ };
7059
+ readonly response: {
7060
+ readonly data: {
7061
+ readonly curve: readonly [];
7062
+ readonly overperforming: readonly [];
7063
+ readonly underperforming: readonly [];
7064
+ readonly meta: {
7065
+ readonly siteUrl: "sc-domain:example.com";
7066
+ readonly syncStatus: "synced";
7067
+ };
7068
+ };
7069
+ readonly meta: {
7070
+ readonly requestId: "req_01";
7071
+ readonly surface: "partner";
7072
+ readonly version: "1.0";
7073
+ };
7074
+ };
7075
+ };
7076
+ };
7077
+ };
7078
+ readonly getDarkTraffic: {
7079
+ readonly id: "partner.sites.dark.traffic.get";
7080
+ readonly method: "GET";
7081
+ readonly path: "/sites/{siteId}/dark-traffic";
7082
+ readonly visibility: "public";
7083
+ readonly semantics: {
7084
+ readonly kind: "query";
7085
+ readonly sideEffects: "none";
7086
+ readonly idempotent: true;
7087
+ readonly retry: "idempotent";
7088
+ readonly readConsistency: "primary";
7089
+ };
7090
+ readonly auth: {
7091
+ readonly credentials: readonly ["user_key", "partner_key"];
7092
+ readonly scopes: readonly ["analytics:read"];
7093
+ readonly ownership: readonly [{
7094
+ readonly credential: "user_key";
7095
+ readonly rule: "authorized_site";
7096
+ }, {
7097
+ readonly credential: "partner_key";
7098
+ readonly rule: "authorized_site";
7099
+ }];
7100
+ };
7101
+ readonly request: {
7102
+ readonly params: z.ZodObject<{
7103
+ siteId: z.ZodString;
7104
+ }, z.core.$strict>;
7105
+ readonly query: z.ZodObject<{
7106
+ startDate: z.ZodString;
7107
+ endDate: z.ZodString;
7108
+ }, z.core.$strict>;
7109
+ readonly headers: z.ZodObject<{
7110
+ 'x-request-id': z.ZodOptional<z.ZodString>;
7111
+ }, z.core.$strict>;
7112
+ readonly body: null;
7113
+ };
7114
+ readonly responses: {
7115
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
7116
+ data: z.ZodObject<{
7117
+ readonly summary: z.ZodObject<{
7118
+ totalClicks: z.ZodNumber;
7119
+ attributedClicks: z.ZodNumber;
7120
+ darkClicks: z.ZodNumber;
7121
+ darkPercent: z.ZodNumber;
7122
+ totalImpressions: z.ZodNumber;
7123
+ attributedImpressions: z.ZodNumber;
7124
+ }, z.core.$strict>;
7125
+ readonly pages: z.ZodArray<z.ZodObject<{
7126
+ url: z.ZodString;
7127
+ totalClicks: z.ZodNumber;
7128
+ attributedClicks: z.ZodNumber;
7129
+ darkClicks: z.ZodNumber;
7130
+ darkPercent: z.ZodNumber;
7131
+ keywordCount: z.ZodNumber;
7132
+ }, z.core.$strict>>;
7133
+ readonly meta: z.ZodObject<{
7134
+ siteUrl: z.ZodNullable<z.ZodString>;
7135
+ syncStatus: z.ZodNullable<z.ZodString>;
7136
+ }, z.core.$strip>;
7137
+ }, z.core.$strip>;
7138
+ meta: z.ZodObject<{
7139
+ readonly requestId: z.ZodString;
7140
+ readonly surface: z.ZodLiteral<"partner">;
7141
+ readonly version: z.ZodLiteral<"1.0">;
7142
+ }, z.core.$strip>;
7143
+ }, z.core.$strip>, z.ZodObject<{
7144
+ data: z.ZodObject<{
7145
+ readonly summary: z.ZodObject<{
7146
+ totalClicks: z.ZodNumber;
7147
+ attributedClicks: z.ZodNumber;
7148
+ darkClicks: z.ZodNumber;
7149
+ darkPercent: z.ZodNumber;
7150
+ totalImpressions: z.ZodNumber;
7151
+ attributedImpressions: z.ZodNumber;
7152
+ }, z.core.$strict>;
7153
+ readonly pages: z.ZodArray<z.ZodObject<{
7154
+ url: z.ZodString;
7155
+ totalClicks: z.ZodNumber;
7156
+ attributedClicks: z.ZodNumber;
7157
+ darkClicks: z.ZodNumber;
7158
+ darkPercent: z.ZodNumber;
7159
+ keywordCount: z.ZodNumber;
7160
+ }, z.core.$strict>>;
7161
+ readonly meta: z.ZodObject<{
7162
+ siteUrl: z.ZodNullable<z.ZodString>;
7163
+ syncStatus: z.ZodNullable<z.ZodString>;
7164
+ }, z.core.$strip>;
7165
+ }, z.core.$strip>;
7166
+ meta: z.ZodObject<{
7167
+ readonly requestId: z.ZodString;
7168
+ readonly surface: z.ZodLiteral<"partner">;
7169
+ readonly version: z.ZodLiteral<"1.0">;
7170
+ }, z.core.$strip>;
7171
+ }, z.core.$strip>>;
7172
+ };
7173
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
7174
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7175
+ readonly error: z.ZodObject<{
7176
+ code: z.ZodEnum<{
7177
+ rate_limited: "rate_limited";
7178
+ internal_error: "internal_error";
7179
+ invalid_request: "invalid_request";
7180
+ unauthorized: "unauthorized";
7181
+ forbidden: "forbidden";
7182
+ site_not_found: "site_not_found";
7183
+ contract_violation: "contract_violation";
7184
+ }>;
7185
+ message: z.ZodString;
7186
+ requestId: z.ZodString;
7187
+ retryable: z.ZodBoolean;
7188
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7189
+ }, z.core.$strict>;
7190
+ }, z.core.$strip>, z.ZodObject<{
7191
+ readonly error: z.ZodObject<{
7192
+ code: z.ZodEnum<{
7193
+ rate_limited: "rate_limited";
7194
+ internal_error: "internal_error";
7195
+ invalid_request: "invalid_request";
7196
+ unauthorized: "unauthorized";
7197
+ forbidden: "forbidden";
7198
+ site_not_found: "site_not_found";
7199
+ contract_violation: "contract_violation";
7200
+ }>;
7201
+ message: z.ZodString;
7202
+ requestId: z.ZodString;
7203
+ retryable: z.ZodBoolean;
7204
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7205
+ }, z.core.$loose>;
7206
+ }, z.core.$strip>>;
7207
+ readonly resources: {
7208
+ readonly reads: readonly [{
7209
+ readonly type: "site.analytics";
7210
+ readonly idFrom: "params.siteId";
7211
+ }];
7212
+ readonly changes: readonly [];
7213
+ };
7214
+ readonly lifecycle: {
7215
+ readonly introduced: "1.2.0";
7216
+ };
7217
+ readonly docs: {
7218
+ readonly summary: "Get dark traffic breakdown";
7219
+ readonly description: "Returns clicks not attributable to any tracked keyword, in total and per page, for the window.";
7220
+ readonly tags: readonly ["Analytics"];
7221
+ readonly examples: {
7222
+ readonly request: {
7223
+ readonly params: {
7224
+ readonly siteId: "s_01";
7225
+ };
7226
+ readonly query: {
7227
+ readonly startDate: "2026-06-01";
7228
+ readonly endDate: "2026-06-28";
7229
+ };
7230
+ };
7231
+ readonly response: {
7232
+ readonly data: {
7233
+ readonly summary: {
7234
+ readonly totalClicks: 0;
7235
+ readonly attributedClicks: 0;
7236
+ readonly darkClicks: 0;
7237
+ readonly darkPercent: 0;
7238
+ readonly totalImpressions: 0;
7239
+ readonly attributedImpressions: 0;
7240
+ };
7241
+ readonly pages: readonly [];
7242
+ readonly meta: {
7243
+ readonly siteUrl: "sc-domain:example.com";
7244
+ readonly syncStatus: "synced";
7245
+ };
7246
+ };
7247
+ readonly meta: {
7248
+ readonly requestId: "req_01";
7249
+ readonly surface: "partner";
7250
+ readonly version: "1.0";
7251
+ };
7252
+ };
7253
+ };
7254
+ };
7255
+ };
7256
+ readonly getDeviceGap: {
7257
+ readonly id: "partner.sites.device.gap.get";
7258
+ readonly method: "GET";
7259
+ readonly path: "/sites/{siteId}/device-gap";
7260
+ readonly visibility: "public";
7261
+ readonly semantics: {
7262
+ readonly kind: "query";
7263
+ readonly sideEffects: "none";
7264
+ readonly idempotent: true;
7265
+ readonly retry: "idempotent";
7266
+ readonly readConsistency: "primary";
7267
+ };
7268
+ readonly auth: {
7269
+ readonly credentials: readonly ["user_key", "partner_key"];
7270
+ readonly scopes: readonly ["analytics:read"];
7271
+ readonly ownership: readonly [{
7272
+ readonly credential: "user_key";
7273
+ readonly rule: "authorized_site";
7274
+ }, {
7275
+ readonly credential: "partner_key";
7276
+ readonly rule: "authorized_site";
7277
+ }];
7278
+ };
7279
+ readonly request: {
7280
+ readonly params: z.ZodObject<{
7281
+ siteId: z.ZodString;
7282
+ }, z.core.$strict>;
7283
+ readonly query: z.ZodObject<{
7284
+ startDate: z.ZodString;
7285
+ endDate: z.ZodString;
7286
+ }, z.core.$strict>;
7287
+ readonly headers: z.ZodObject<{
7288
+ 'x-request-id': z.ZodOptional<z.ZodString>;
7289
+ }, z.core.$strict>;
7290
+ readonly body: null;
7291
+ };
7292
+ readonly responses: {
7293
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
7294
+ data: z.ZodObject<{
7295
+ readonly daily: z.ZodArray<z.ZodObject<{
7296
+ date: z.ZodString;
7297
+ desktop: z.ZodObject<{
7298
+ clicks: z.ZodNumber;
7299
+ impressions: z.ZodNumber;
7300
+ ctr: z.ZodNumber;
7301
+ position: z.ZodNumber;
7302
+ }, z.core.$strict>;
7303
+ mobile: z.ZodObject<{
7304
+ clicks: z.ZodNumber;
7305
+ impressions: z.ZodNumber;
7306
+ ctr: z.ZodNumber;
7307
+ position: z.ZodNumber;
7308
+ }, z.core.$strict>;
7309
+ gaps: z.ZodObject<{
7310
+ ctrGap: z.ZodNumber;
7311
+ positionGap: z.ZodNumber;
7312
+ }, z.core.$strict>;
7313
+ }, z.core.$strict>>;
7314
+ readonly summary: z.ZodNullable<z.ZodObject<{
7315
+ avgCtrGap: z.ZodNumber;
7316
+ avgPositionGap: z.ZodNumber;
7317
+ ctrGapTrend: z.ZodEnum<{
7318
+ improving: "improving";
7319
+ stable: "stable";
7320
+ worsening: "worsening";
7321
+ }>;
7322
+ positionGapTrend: z.ZodEnum<{
7323
+ improving: "improving";
7324
+ stable: "stable";
7325
+ worsening: "worsening";
7326
+ }>;
7327
+ }, z.core.$strict>>;
7328
+ readonly meta: z.ZodObject<{
7329
+ siteUrl: z.ZodNullable<z.ZodString>;
7330
+ syncStatus: z.ZodNullable<z.ZodString>;
7331
+ }, z.core.$strip>;
7332
+ }, z.core.$strip>;
7333
+ meta: z.ZodObject<{
7334
+ readonly requestId: z.ZodString;
7335
+ readonly surface: z.ZodLiteral<"partner">;
7336
+ readonly version: z.ZodLiteral<"1.0">;
7337
+ }, z.core.$strip>;
7338
+ }, z.core.$strip>, z.ZodObject<{
7339
+ data: z.ZodObject<{
7340
+ readonly daily: z.ZodArray<z.ZodObject<{
7341
+ date: z.ZodString;
7342
+ desktop: z.ZodObject<{
7343
+ clicks: z.ZodNumber;
7344
+ impressions: z.ZodNumber;
7345
+ ctr: z.ZodNumber;
7346
+ position: z.ZodNumber;
7347
+ }, z.core.$strict>;
7348
+ mobile: z.ZodObject<{
7349
+ clicks: z.ZodNumber;
7350
+ impressions: z.ZodNumber;
7351
+ ctr: z.ZodNumber;
7352
+ position: z.ZodNumber;
7353
+ }, z.core.$strict>;
7354
+ gaps: z.ZodObject<{
7355
+ ctrGap: z.ZodNumber;
7356
+ positionGap: z.ZodNumber;
7357
+ }, z.core.$strict>;
7358
+ }, z.core.$strict>>;
7359
+ readonly summary: z.ZodNullable<z.ZodObject<{
7360
+ avgCtrGap: z.ZodNumber;
7361
+ avgPositionGap: z.ZodNumber;
7362
+ ctrGapTrend: z.ZodEnum<{
7363
+ improving: "improving";
7364
+ stable: "stable";
7365
+ worsening: "worsening";
7366
+ }>;
7367
+ positionGapTrend: z.ZodEnum<{
7368
+ improving: "improving";
7369
+ stable: "stable";
7370
+ worsening: "worsening";
7371
+ }>;
7372
+ }, z.core.$strict>>;
7373
+ readonly meta: z.ZodObject<{
7374
+ siteUrl: z.ZodNullable<z.ZodString>;
7375
+ syncStatus: z.ZodNullable<z.ZodString>;
7376
+ }, z.core.$strip>;
7377
+ }, z.core.$strip>;
7378
+ meta: z.ZodObject<{
7379
+ readonly requestId: z.ZodString;
7380
+ readonly surface: z.ZodLiteral<"partner">;
7381
+ readonly version: z.ZodLiteral<"1.0">;
7382
+ }, z.core.$strip>;
7383
+ }, z.core.$strip>>;
7384
+ };
7385
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
7386
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7387
+ readonly error: z.ZodObject<{
7388
+ code: z.ZodEnum<{
7389
+ rate_limited: "rate_limited";
7390
+ internal_error: "internal_error";
7391
+ invalid_request: "invalid_request";
7392
+ unauthorized: "unauthorized";
7393
+ forbidden: "forbidden";
7394
+ site_not_found: "site_not_found";
7395
+ contract_violation: "contract_violation";
7396
+ }>;
7397
+ message: z.ZodString;
7398
+ requestId: z.ZodString;
7399
+ retryable: z.ZodBoolean;
7400
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7401
+ }, z.core.$strict>;
7402
+ }, z.core.$strip>, z.ZodObject<{
7403
+ readonly error: z.ZodObject<{
7404
+ code: z.ZodEnum<{
7405
+ rate_limited: "rate_limited";
7406
+ internal_error: "internal_error";
7407
+ invalid_request: "invalid_request";
7408
+ unauthorized: "unauthorized";
7409
+ forbidden: "forbidden";
7410
+ site_not_found: "site_not_found";
7411
+ contract_violation: "contract_violation";
7412
+ }>;
7413
+ message: z.ZodString;
7414
+ requestId: z.ZodString;
7415
+ retryable: z.ZodBoolean;
7416
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7417
+ }, z.core.$loose>;
7418
+ }, z.core.$strip>>;
7419
+ readonly resources: {
7420
+ readonly reads: readonly [{
7421
+ readonly type: "site.analytics";
7422
+ readonly idFrom: "params.siteId";
7423
+ }];
7424
+ readonly changes: readonly [];
7425
+ };
7426
+ readonly lifecycle: {
7427
+ readonly introduced: "1.2.0";
7428
+ };
7429
+ readonly docs: {
7430
+ readonly summary: "Get desktop/mobile gap";
7431
+ readonly description: "Returns per-day desktop vs mobile CTR/position metrics with gap trends for the window.";
7432
+ readonly tags: readonly ["Analytics"];
7433
+ readonly examples: {
7434
+ readonly request: {
7435
+ readonly params: {
7436
+ readonly siteId: "s_01";
7437
+ };
7438
+ readonly query: {
7439
+ readonly startDate: "2026-06-01";
7440
+ readonly endDate: "2026-06-28";
7441
+ };
7442
+ };
7443
+ readonly response: {
7444
+ readonly data: {
7445
+ readonly daily: readonly [];
7446
+ readonly summary: null;
7447
+ readonly meta: {
7448
+ readonly siteUrl: "sc-domain:example.com";
7449
+ readonly syncStatus: "synced";
7450
+ };
7451
+ };
7452
+ readonly meta: {
7453
+ readonly requestId: "req_01";
7454
+ readonly surface: "partner";
7455
+ readonly version: "1.0";
7456
+ };
7457
+ };
7458
+ };
7459
+ };
7460
+ };
7461
+ readonly getKeywordBreadth: {
7462
+ readonly id: "partner.sites.keyword.breadth.get";
7463
+ readonly method: "GET";
7464
+ readonly path: "/sites/{siteId}/keyword-breadth";
7465
+ readonly visibility: "public";
7466
+ readonly semantics: {
7467
+ readonly kind: "query";
7468
+ readonly sideEffects: "none";
7469
+ readonly idempotent: true;
7470
+ readonly retry: "idempotent";
7471
+ readonly readConsistency: "primary";
7472
+ };
7473
+ readonly auth: {
7474
+ readonly credentials: readonly ["user_key", "partner_key"];
7475
+ readonly scopes: readonly ["analytics:read"];
7476
+ readonly ownership: readonly [{
7477
+ readonly credential: "user_key";
7478
+ readonly rule: "authorized_site";
7479
+ }, {
7480
+ readonly credential: "partner_key";
7481
+ readonly rule: "authorized_site";
7482
+ }];
7483
+ };
7484
+ readonly request: {
7485
+ readonly params: z.ZodObject<{
7486
+ siteId: z.ZodString;
7487
+ }, z.core.$strict>;
7488
+ readonly query: z.ZodObject<{
7489
+ startDate: z.ZodString;
7490
+ endDate: z.ZodString;
7491
+ }, z.core.$strict>;
7492
+ readonly headers: z.ZodObject<{
7493
+ 'x-request-id': z.ZodOptional<z.ZodString>;
7494
+ }, z.core.$strict>;
7495
+ readonly body: null;
7496
+ };
7497
+ readonly responses: {
7498
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
7499
+ data: z.ZodObject<{
7500
+ readonly distribution: z.ZodArray<z.ZodObject<{
7501
+ bucket: z.ZodString;
7502
+ pageCount: z.ZodNumber;
7503
+ }, z.core.$strict>>;
7504
+ readonly fragilePages: z.ZodArray<z.ZodObject<{
7505
+ url: z.ZodString;
7506
+ keywordCount: z.ZodNumber;
7507
+ clicks: z.ZodNumber;
7508
+ impressions: z.ZodNumber;
7509
+ }, z.core.$strict>>;
7510
+ readonly authorityPages: z.ZodArray<z.ZodObject<{
7511
+ url: z.ZodString;
7512
+ keywordCount: z.ZodNumber;
7513
+ clicks: z.ZodNumber;
7514
+ impressions: z.ZodNumber;
7515
+ }, z.core.$strict>>;
7516
+ readonly summary: z.ZodObject<{
7517
+ totalPages: z.ZodNumber;
7518
+ avgKeywordsPerPage: z.ZodNumber;
7519
+ fragileCount: z.ZodNumber;
7520
+ authorityCount: z.ZodNumber;
7521
+ }, z.core.$strict>;
7522
+ readonly meta: z.ZodObject<{
7523
+ siteUrl: z.ZodNullable<z.ZodString>;
7524
+ syncStatus: z.ZodNullable<z.ZodString>;
7525
+ }, z.core.$strip>;
7526
+ }, z.core.$strip>;
7527
+ meta: z.ZodObject<{
7528
+ readonly requestId: z.ZodString;
7529
+ readonly surface: z.ZodLiteral<"partner">;
7530
+ readonly version: z.ZodLiteral<"1.0">;
7531
+ }, z.core.$strip>;
7532
+ }, z.core.$strip>, z.ZodObject<{
7533
+ data: z.ZodObject<{
7534
+ readonly distribution: z.ZodArray<z.ZodObject<{
7535
+ bucket: z.ZodString;
7536
+ pageCount: z.ZodNumber;
7537
+ }, z.core.$strict>>;
7538
+ readonly fragilePages: z.ZodArray<z.ZodObject<{
7539
+ url: z.ZodString;
7540
+ keywordCount: z.ZodNumber;
7541
+ clicks: z.ZodNumber;
7542
+ impressions: z.ZodNumber;
7543
+ }, z.core.$strict>>;
7544
+ readonly authorityPages: z.ZodArray<z.ZodObject<{
7545
+ url: z.ZodString;
7546
+ keywordCount: z.ZodNumber;
7547
+ clicks: z.ZodNumber;
7548
+ impressions: z.ZodNumber;
7549
+ }, z.core.$strict>>;
7550
+ readonly summary: z.ZodObject<{
7551
+ totalPages: z.ZodNumber;
7552
+ avgKeywordsPerPage: z.ZodNumber;
7553
+ fragileCount: z.ZodNumber;
7554
+ authorityCount: z.ZodNumber;
7555
+ }, z.core.$strict>;
7556
+ readonly meta: z.ZodObject<{
7557
+ siteUrl: z.ZodNullable<z.ZodString>;
7558
+ syncStatus: z.ZodNullable<z.ZodString>;
7559
+ }, z.core.$strip>;
7560
+ }, z.core.$strip>;
7561
+ meta: z.ZodObject<{
7562
+ readonly requestId: z.ZodString;
7563
+ readonly surface: z.ZodLiteral<"partner">;
7564
+ readonly version: z.ZodLiteral<"1.0">;
7565
+ }, z.core.$strip>;
7566
+ }, z.core.$strip>>;
7567
+ };
7568
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
7569
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7570
+ readonly error: z.ZodObject<{
7571
+ code: z.ZodEnum<{
7572
+ rate_limited: "rate_limited";
7573
+ internal_error: "internal_error";
7574
+ invalid_request: "invalid_request";
7575
+ unauthorized: "unauthorized";
7576
+ forbidden: "forbidden";
7577
+ site_not_found: "site_not_found";
7578
+ contract_violation: "contract_violation";
7579
+ }>;
7580
+ message: z.ZodString;
7581
+ requestId: z.ZodString;
7582
+ retryable: z.ZodBoolean;
7583
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7584
+ }, z.core.$strict>;
7585
+ }, z.core.$strip>, z.ZodObject<{
7586
+ readonly error: z.ZodObject<{
7587
+ code: z.ZodEnum<{
7588
+ rate_limited: "rate_limited";
7589
+ internal_error: "internal_error";
7590
+ invalid_request: "invalid_request";
7591
+ unauthorized: "unauthorized";
7592
+ forbidden: "forbidden";
7593
+ site_not_found: "site_not_found";
7594
+ contract_violation: "contract_violation";
7595
+ }>;
7596
+ message: z.ZodString;
7597
+ requestId: z.ZodString;
7598
+ retryable: z.ZodBoolean;
7599
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7600
+ }, z.core.$loose>;
7601
+ }, z.core.$strip>>;
7602
+ readonly resources: {
7603
+ readonly reads: readonly [{
7604
+ readonly type: "site.analytics";
7605
+ readonly idFrom: "params.siteId";
7606
+ }];
7607
+ readonly changes: readonly [];
7608
+ };
7609
+ readonly lifecycle: {
7610
+ readonly introduced: "1.2.0";
7611
+ };
7612
+ readonly docs: {
7613
+ readonly summary: "Get keyword breadth";
7614
+ readonly description: "Returns the pages-per-keyword-count distribution with fragile and authority page lists for the window.";
7615
+ readonly tags: readonly ["Analytics"];
7616
+ readonly examples: {
7617
+ readonly request: {
7618
+ readonly params: {
7619
+ readonly siteId: "s_01";
7620
+ };
7621
+ readonly query: {
7622
+ readonly startDate: "2026-06-01";
7623
+ readonly endDate: "2026-06-28";
7624
+ };
7625
+ };
7626
+ readonly response: {
7627
+ readonly data: {
7628
+ readonly distribution: readonly [];
7629
+ readonly fragilePages: readonly [];
7630
+ readonly authorityPages: readonly [];
7631
+ readonly summary: {
7632
+ readonly totalPages: 0;
7633
+ readonly avgKeywordsPerPage: 0;
7634
+ readonly fragileCount: 0;
7635
+ readonly authorityCount: 0;
7636
+ };
7637
+ readonly meta: {
7638
+ readonly siteUrl: "sc-domain:example.com";
7639
+ readonly syncStatus: "synced";
7640
+ };
7641
+ };
7642
+ readonly meta: {
7643
+ readonly requestId: "req_01";
7644
+ readonly surface: "partner";
7645
+ readonly version: "1.0";
7646
+ };
7647
+ };
7648
+ };
7649
+ };
7650
+ };
7651
+ readonly getPositionDistribution: {
7652
+ readonly id: "partner.sites.position.distribution.get";
7653
+ readonly method: "GET";
7654
+ readonly path: "/sites/{siteId}/position-distribution";
7655
+ readonly visibility: "public";
7656
+ readonly semantics: {
7657
+ readonly kind: "query";
7658
+ readonly sideEffects: "none";
7659
+ readonly idempotent: true;
7660
+ readonly retry: "idempotent";
7661
+ readonly readConsistency: "primary";
7662
+ };
7663
+ readonly auth: {
7664
+ readonly credentials: readonly ["user_key", "partner_key"];
7665
+ readonly scopes: readonly ["analytics:read"];
7666
+ readonly ownership: readonly [{
7667
+ readonly credential: "user_key";
7668
+ readonly rule: "authorized_site";
7669
+ }, {
7670
+ readonly credential: "partner_key";
7671
+ readonly rule: "authorized_site";
7672
+ }];
7673
+ };
7674
+ readonly request: {
7675
+ readonly params: z.ZodObject<{
7676
+ siteId: z.ZodString;
7677
+ }, z.core.$strict>;
7678
+ readonly query: z.ZodObject<{
7679
+ startDate: z.ZodString;
7680
+ endDate: z.ZodString;
7681
+ }, z.core.$strict>;
7682
+ readonly headers: z.ZodObject<{
7683
+ 'x-request-id': z.ZodOptional<z.ZodString>;
7684
+ }, z.core.$strict>;
7685
+ readonly body: null;
7686
+ };
7687
+ readonly responses: {
7688
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
7689
+ data: z.ZodObject<{
7690
+ readonly distribution: z.ZodArray<z.ZodObject<{
7691
+ date: z.ZodString;
7692
+ pos_1_3: z.ZodNumber;
7693
+ pos_4_10: z.ZodNumber;
7694
+ pos_11_20: z.ZodNumber;
7695
+ pos_20_plus: z.ZodNumber;
7696
+ total: z.ZodNumber;
7697
+ }, z.core.$strict>>;
7698
+ readonly meta: z.ZodObject<{
7699
+ siteUrl: z.ZodNullable<z.ZodString>;
7700
+ syncStatus: z.ZodNullable<z.ZodString>;
7701
+ }, z.core.$strip>;
7702
+ }, z.core.$strip>;
7703
+ meta: z.ZodObject<{
7704
+ readonly requestId: z.ZodString;
7705
+ readonly surface: z.ZodLiteral<"partner">;
7706
+ readonly version: z.ZodLiteral<"1.0">;
7707
+ }, z.core.$strip>;
7708
+ }, z.core.$strip>, z.ZodObject<{
7709
+ data: z.ZodObject<{
7710
+ readonly distribution: z.ZodArray<z.ZodObject<{
7711
+ date: z.ZodString;
7712
+ pos_1_3: z.ZodNumber;
7713
+ pos_4_10: z.ZodNumber;
7714
+ pos_11_20: z.ZodNumber;
7715
+ pos_20_plus: z.ZodNumber;
7716
+ total: z.ZodNumber;
7717
+ }, z.core.$strict>>;
7718
+ readonly meta: z.ZodObject<{
7719
+ siteUrl: z.ZodNullable<z.ZodString>;
7720
+ syncStatus: z.ZodNullable<z.ZodString>;
7721
+ }, z.core.$strip>;
7722
+ }, z.core.$strip>;
7723
+ meta: z.ZodObject<{
7724
+ readonly requestId: z.ZodString;
7725
+ readonly surface: z.ZodLiteral<"partner">;
7726
+ readonly version: z.ZodLiteral<"1.0">;
7727
+ }, z.core.$strip>;
7728
+ }, z.core.$strip>>;
7729
+ };
7730
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
7731
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7732
+ readonly error: z.ZodObject<{
7733
+ code: z.ZodEnum<{
7734
+ rate_limited: "rate_limited";
7735
+ internal_error: "internal_error";
7736
+ invalid_request: "invalid_request";
7737
+ unauthorized: "unauthorized";
7738
+ forbidden: "forbidden";
7739
+ site_not_found: "site_not_found";
7740
+ contract_violation: "contract_violation";
7741
+ }>;
7742
+ message: z.ZodString;
7743
+ requestId: z.ZodString;
7744
+ retryable: z.ZodBoolean;
7745
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7746
+ }, z.core.$strict>;
7747
+ }, z.core.$strip>, z.ZodObject<{
7748
+ readonly error: z.ZodObject<{
7749
+ code: z.ZodEnum<{
7750
+ rate_limited: "rate_limited";
7751
+ internal_error: "internal_error";
7752
+ invalid_request: "invalid_request";
7753
+ unauthorized: "unauthorized";
7754
+ forbidden: "forbidden";
7755
+ site_not_found: "site_not_found";
7756
+ contract_violation: "contract_violation";
7757
+ }>;
7758
+ message: z.ZodString;
7759
+ requestId: z.ZodString;
7760
+ retryable: z.ZodBoolean;
7761
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7762
+ }, z.core.$loose>;
7763
+ }, z.core.$strip>>;
7764
+ readonly resources: {
7765
+ readonly reads: readonly [{
7766
+ readonly type: "site.analytics";
7767
+ readonly idFrom: "params.siteId";
7768
+ }];
7769
+ readonly changes: readonly [];
7770
+ };
7771
+ readonly lifecycle: {
7772
+ readonly introduced: "1.2.0";
7773
+ };
7774
+ readonly docs: {
7775
+ readonly summary: "Get position distribution";
7776
+ readonly description: "Returns the per-day keyword counts bucketed by average position for the window.";
7777
+ readonly tags: readonly ["Analytics"];
7778
+ readonly examples: {
7779
+ readonly request: {
7780
+ readonly params: {
7781
+ readonly siteId: "s_01";
7782
+ };
7783
+ readonly query: {
7784
+ readonly startDate: "2026-06-01";
7785
+ readonly endDate: "2026-06-28";
7786
+ };
7787
+ };
7788
+ readonly response: {
7789
+ readonly data: {
7790
+ readonly distribution: readonly [];
7791
+ readonly meta: {
7792
+ readonly siteUrl: "sc-domain:example.com";
7793
+ readonly syncStatus: "synced";
7794
+ };
7795
+ };
7796
+ readonly meta: {
7797
+ readonly requestId: "req_01";
7798
+ readonly surface: "partner";
7799
+ readonly version: "1.0";
7800
+ };
7801
+ };
7802
+ };
7803
+ };
7804
+ };
7805
+ readonly getTopAssociation: {
7806
+ readonly id: "partner.sites.top.association.get";
7807
+ readonly method: "GET";
7808
+ readonly path: "/sites/{siteId}/top-association";
7809
+ readonly visibility: "public";
7810
+ readonly semantics: {
7811
+ readonly kind: "query";
7812
+ readonly sideEffects: "none";
7813
+ readonly idempotent: true;
7814
+ readonly retry: "idempotent";
7815
+ readonly readConsistency: "primary";
7816
+ };
7817
+ readonly auth: {
7818
+ readonly credentials: readonly ["user_key", "partner_key"];
7819
+ readonly scopes: readonly ["analytics:read"];
7820
+ readonly ownership: readonly [{
7821
+ readonly credential: "user_key";
7822
+ readonly rule: "authorized_site";
7823
+ }, {
7824
+ readonly credential: "partner_key";
7825
+ readonly rule: "authorized_site";
7826
+ }];
7827
+ };
7828
+ readonly request: {
7829
+ readonly params: z.ZodObject<{
7830
+ siteId: z.ZodString;
7831
+ }, z.core.$strict>;
7832
+ readonly query: z.ZodObject<{
7833
+ type: z.ZodEnum<{
7834
+ topPage: "topPage";
7835
+ topKeyword: "topKeyword";
7836
+ }>;
7837
+ identifier: z.ZodString;
7838
+ startDate: z.ZodString;
7839
+ endDate: z.ZodString;
7840
+ }, z.core.$strict>;
7841
+ readonly headers: z.ZodObject<{
7842
+ 'x-request-id': z.ZodOptional<z.ZodString>;
7843
+ }, z.core.$strict>;
7844
+ readonly body: null;
7845
+ };
7846
+ readonly responses: {
7847
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
7848
+ data: z.ZodObject<{
7849
+ value: z.ZodNullable<z.ZodString>;
7850
+ }, z.core.$strip>;
7851
+ meta: z.ZodObject<{
7852
+ readonly requestId: z.ZodString;
7853
+ readonly surface: z.ZodLiteral<"partner">;
7854
+ readonly version: z.ZodLiteral<"1.0">;
7855
+ }, z.core.$strip>;
7856
+ }, z.core.$strip>, z.ZodObject<{
7857
+ data: z.ZodObject<{
7858
+ value: z.ZodNullable<z.ZodString>;
7859
+ }, z.core.$strip>;
7860
+ meta: z.ZodObject<{
7861
+ readonly requestId: z.ZodString;
7862
+ readonly surface: z.ZodLiteral<"partner">;
7863
+ readonly version: z.ZodLiteral<"1.0">;
7864
+ }, z.core.$strip>;
7865
+ }, z.core.$strip>>;
7866
+ };
7867
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
7868
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7869
+ readonly error: z.ZodObject<{
7870
+ code: z.ZodEnum<{
7871
+ rate_limited: "rate_limited";
7872
+ internal_error: "internal_error";
7873
+ invalid_request: "invalid_request";
7874
+ unauthorized: "unauthorized";
7875
+ forbidden: "forbidden";
7876
+ site_not_found: "site_not_found";
7877
+ contract_violation: "contract_violation";
7878
+ }>;
7879
+ message: z.ZodString;
7880
+ requestId: z.ZodString;
7881
+ retryable: z.ZodBoolean;
7882
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7883
+ }, z.core.$strict>;
7884
+ }, z.core.$strip>, z.ZodObject<{
7885
+ readonly error: z.ZodObject<{
7886
+ code: z.ZodEnum<{
7887
+ rate_limited: "rate_limited";
7888
+ internal_error: "internal_error";
7889
+ invalid_request: "invalid_request";
7890
+ unauthorized: "unauthorized";
7891
+ forbidden: "forbidden";
7892
+ site_not_found: "site_not_found";
7893
+ contract_violation: "contract_violation";
7894
+ }>;
7895
+ message: z.ZodString;
7896
+ requestId: z.ZodString;
7897
+ retryable: z.ZodBoolean;
7898
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7899
+ }, z.core.$loose>;
7900
+ }, z.core.$strip>>;
7901
+ readonly resources: {
7902
+ readonly reads: readonly [{
7903
+ readonly type: "site.analytics";
7904
+ readonly idFrom: "params.siteId";
7905
+ }];
7906
+ readonly changes: readonly [];
7907
+ };
7908
+ readonly lifecycle: {
7909
+ readonly introduced: "1.2.0";
7910
+ };
7911
+ readonly docs: {
7912
+ readonly summary: "Get top association";
7913
+ readonly description: "Returns the single best-performing page for a keyword, or keyword for a page, over the window.";
7914
+ readonly tags: readonly ["Analytics"];
7915
+ readonly examples: {
7916
+ readonly request: {
7917
+ readonly params: {
7918
+ readonly siteId: "s_01";
7919
+ };
7920
+ readonly query: {
7921
+ readonly type: "topKeyword";
7922
+ readonly identifier: "/docs";
7923
+ readonly startDate: "2026-06-01";
7924
+ readonly endDate: "2026-06-28";
7925
+ };
7926
+ };
7927
+ readonly response: {
7928
+ readonly data: {
7929
+ readonly value: null;
7930
+ };
7931
+ readonly meta: {
7932
+ readonly requestId: "req_01";
7933
+ readonly surface: "partner";
7934
+ readonly version: "1.0";
7935
+ };
7936
+ };
7937
+ };
7938
+ };
7939
+ };
7940
+ readonly getIndexPercent: {
7941
+ readonly id: "partner.sites.index.percent.get";
7942
+ readonly method: "GET";
7943
+ readonly path: "/sites/{siteId}/index-percent";
7944
+ readonly visibility: "public";
7945
+ readonly semantics: {
7946
+ readonly kind: "query";
7947
+ readonly sideEffects: "none";
7948
+ readonly idempotent: true;
7949
+ readonly retry: "idempotent";
7950
+ readonly readConsistency: "primary";
7951
+ };
7952
+ readonly auth: {
7953
+ readonly credentials: readonly ["user_key", "partner_key"];
7954
+ readonly scopes: readonly ["indexing:read"];
7955
+ readonly ownership: readonly [{
7956
+ readonly credential: "user_key";
7957
+ readonly rule: "authorized_site";
7958
+ }, {
7959
+ readonly credential: "partner_key";
7960
+ readonly rule: "authorized_site";
7961
+ }];
7962
+ };
7963
+ readonly request: {
7964
+ readonly params: z.ZodObject<{
7965
+ siteId: z.ZodString;
7966
+ }, z.core.$strict>;
7967
+ readonly query: z.ZodObject<{
7968
+ invisibleLimit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7969
+ invisibleOffset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7970
+ orphanLimit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7971
+ }, z.core.$strict>;
7972
+ readonly headers: z.ZodObject<{
7973
+ 'x-request-id': z.ZodOptional<z.ZodString>;
7974
+ }, z.core.$strict>;
7975
+ readonly body: null;
7976
+ };
7977
+ readonly responses: {
7978
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
7979
+ data: z.ZodObject<{
7980
+ trend: z.ZodArray<z.ZodObject<{
7981
+ date: z.ZodString;
7982
+ percent: z.ZodNumber;
7983
+ total: z.ZodNumber;
7984
+ visible: z.ZodNumber;
7985
+ added: z.ZodNullable<z.ZodNumber>;
7986
+ removed: z.ZodNullable<z.ZodNumber>;
7987
+ }, z.core.$loose>>;
7988
+ invisibleUrls: z.ZodArray<z.ZodObject<{
7989
+ url: z.ZodString;
7990
+ firstSeen: z.ZodOptional<z.ZodString>;
7991
+ lastmod: z.ZodNullable<z.ZodString>;
7992
+ }, z.core.$loose>>;
7993
+ invisibleCount: z.ZodNumber;
7994
+ orphanPages: z.ZodArray<z.ZodObject<{
7995
+ url: z.ZodString;
7996
+ impressions: z.ZodNullable<z.ZodNumber>;
7997
+ clicks: z.ZodNullable<z.ZodNumber>;
7998
+ }, z.core.$loose>>;
7999
+ orphanCount: z.ZodNumber;
8000
+ sitemaps: z.ZodArray<z.ZodObject<{
8001
+ path: z.ZodString;
8002
+ urlCount: z.ZodNumber;
8003
+ isIndex: z.ZodBoolean;
8004
+ }, z.core.$loose>>;
8005
+ summary: z.ZodObject<{
8006
+ currentPercent: z.ZodNumber;
8007
+ totalSitemapUrls: z.ZodNumber;
8008
+ visibleUrls: z.ZodNumber;
8009
+ change7d: z.ZodNullable<z.ZodNumber>;
8010
+ change28d: z.ZodNullable<z.ZodNumber>;
8011
+ dataDate: z.ZodString;
8012
+ }, z.core.$loose>;
8013
+ meta: z.ZodObject<{
8014
+ siteUrl: z.ZodString;
8015
+ syncStatus: z.ZodNullable<z.ZodString>;
8016
+ newestDateSynced: z.ZodNullable<z.ZodString>;
8017
+ }, z.core.$loose>;
8018
+ }, z.core.$strip>;
8019
+ meta: z.ZodObject<{
8020
+ readonly requestId: z.ZodString;
8021
+ readonly surface: z.ZodLiteral<"partner">;
8022
+ readonly version: z.ZodLiteral<"1.0">;
8023
+ }, z.core.$strip>;
8024
+ }, z.core.$strip>, z.ZodObject<{
8025
+ data: z.ZodObject<{
8026
+ trend: z.ZodArray<z.ZodObject<{
8027
+ date: z.ZodString;
8028
+ percent: z.ZodNumber;
8029
+ total: z.ZodNumber;
8030
+ visible: z.ZodNumber;
8031
+ added: z.ZodNullable<z.ZodNumber>;
8032
+ removed: z.ZodNullable<z.ZodNumber>;
8033
+ }, z.core.$loose>>;
8034
+ invisibleUrls: z.ZodArray<z.ZodObject<{
8035
+ url: z.ZodString;
8036
+ firstSeen: z.ZodOptional<z.ZodString>;
8037
+ lastmod: z.ZodNullable<z.ZodString>;
8038
+ }, z.core.$loose>>;
8039
+ invisibleCount: z.ZodNumber;
8040
+ orphanPages: z.ZodArray<z.ZodObject<{
8041
+ url: z.ZodString;
8042
+ impressions: z.ZodNullable<z.ZodNumber>;
8043
+ clicks: z.ZodNullable<z.ZodNumber>;
8044
+ }, z.core.$loose>>;
8045
+ orphanCount: z.ZodNumber;
8046
+ sitemaps: z.ZodArray<z.ZodObject<{
8047
+ path: z.ZodString;
8048
+ urlCount: z.ZodNumber;
8049
+ isIndex: z.ZodBoolean;
8050
+ }, z.core.$loose>>;
8051
+ summary: z.ZodObject<{
8052
+ currentPercent: z.ZodNumber;
8053
+ totalSitemapUrls: z.ZodNumber;
8054
+ visibleUrls: z.ZodNumber;
8055
+ change7d: z.ZodNullable<z.ZodNumber>;
8056
+ change28d: z.ZodNullable<z.ZodNumber>;
8057
+ dataDate: z.ZodString;
8058
+ }, z.core.$loose>;
8059
+ meta: z.ZodObject<{
8060
+ siteUrl: z.ZodString;
8061
+ syncStatus: z.ZodNullable<z.ZodString>;
8062
+ newestDateSynced: z.ZodNullable<z.ZodString>;
8063
+ }, z.core.$loose>;
8064
+ }, z.core.$strip>;
8065
+ meta: z.ZodObject<{
8066
+ readonly requestId: z.ZodString;
8067
+ readonly surface: z.ZodLiteral<"partner">;
8068
+ readonly version: z.ZodLiteral<"1.0">;
8069
+ }, z.core.$strip>;
8070
+ }, z.core.$strip>>;
8071
+ };
8072
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
8073
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
8074
+ readonly error: z.ZodObject<{
8075
+ code: z.ZodEnum<{
8076
+ rate_limited: "rate_limited";
8077
+ internal_error: "internal_error";
8078
+ invalid_request: "invalid_request";
8079
+ unauthorized: "unauthorized";
8080
+ forbidden: "forbidden";
8081
+ site_not_found: "site_not_found";
8082
+ contract_violation: "contract_violation";
8083
+ }>;
8084
+ message: z.ZodString;
8085
+ requestId: z.ZodString;
8086
+ retryable: z.ZodBoolean;
8087
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
8088
+ }, z.core.$strict>;
8089
+ }, z.core.$strip>, z.ZodObject<{
8090
+ readonly error: z.ZodObject<{
8091
+ code: z.ZodEnum<{
8092
+ rate_limited: "rate_limited";
8093
+ internal_error: "internal_error";
8094
+ invalid_request: "invalid_request";
8095
+ unauthorized: "unauthorized";
8096
+ forbidden: "forbidden";
8097
+ site_not_found: "site_not_found";
8098
+ contract_violation: "contract_violation";
8099
+ }>;
8100
+ message: z.ZodString;
8101
+ requestId: z.ZodString;
8102
+ retryable: z.ZodBoolean;
8103
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
8104
+ }, z.core.$loose>;
8105
+ }, z.core.$strip>>;
8106
+ readonly resources: {
8107
+ readonly reads: readonly [{
8108
+ readonly type: "site.indexing";
8109
+ readonly idFrom: "params.siteId";
8110
+ }, {
8111
+ readonly type: "site.sitemaps";
8112
+ readonly idFrom: "params.siteId";
8113
+ }];
8114
+ readonly changes: readonly [];
8115
+ };
8116
+ readonly lifecycle: {
8117
+ readonly introduced: "1.2.0";
8118
+ };
8119
+ readonly docs: {
8120
+ readonly summary: "Get sitemap index-percent";
8121
+ readonly description: "Returns the sitemap visibility trend, invisible URLs, orphan pages, and per-sitemap counts.";
8122
+ readonly tags: readonly ["Indexing"];
8123
+ readonly examples: {
8124
+ readonly request: {
8125
+ readonly params: {
8126
+ readonly siteId: "s_01";
8127
+ };
8128
+ readonly query: {
8129
+ readonly invisibleLimit: 100;
8130
+ };
8131
+ };
8132
+ readonly response: {
8133
+ readonly data: {
8134
+ readonly trend: readonly [];
8135
+ readonly invisibleUrls: readonly [];
8136
+ readonly invisibleCount: 0;
8137
+ readonly orphanPages: readonly [];
8138
+ readonly orphanCount: 0;
8139
+ readonly sitemaps: readonly [];
8140
+ readonly summary: {
8141
+ readonly currentPercent: 0;
8142
+ readonly totalSitemapUrls: 0;
8143
+ readonly visibleUrls: 0;
8144
+ readonly change7d: null;
8145
+ readonly change28d: null;
8146
+ readonly dataDate: "2026-06-28";
8147
+ };
8148
+ readonly meta: {
8149
+ readonly siteUrl: "sc-domain:example.com";
8150
+ readonly syncStatus: "synced";
8151
+ readonly newestDateSynced: null;
8152
+ };
8153
+ };
8154
+ readonly meta: {
8155
+ readonly requestId: "req_01";
8156
+ readonly surface: "partner";
8157
+ readonly version: "1.0";
8158
+ };
8159
+ };
8160
+ };
8161
+ };
8162
+ };
8163
+ }>;
8164
+ analytics: HttpV1Surface<{
8165
+ readonly queryRows: {
8166
+ readonly id: "analytics.rows.query";
8167
+ readonly method: "POST";
8168
+ readonly path: "/sites/{siteId}/rows";
8169
+ readonly visibility: "public";
8170
+ readonly semantics: {
8171
+ readonly kind: "query";
8172
+ readonly sideEffects: "none";
8173
+ readonly idempotent: true;
8174
+ readonly retry: "idempotent";
8175
+ readonly readConsistency: "primary";
8176
+ };
8177
+ readonly auth: {
8178
+ readonly credentials: readonly ["user_key", "partner_key"];
8179
+ readonly scopes: readonly ["analytics:execute"];
8180
+ readonly ownership: readonly [{
8181
+ readonly credential: "user_key";
8182
+ readonly rule: "authorized_site";
8183
+ }, {
8184
+ readonly credential: "partner_key";
8185
+ readonly rule: "authorized_site";
8186
+ }];
8187
+ };
8188
+ readonly request: {
8189
+ readonly params: z.ZodObject<{
8190
+ siteId: z.ZodString;
8191
+ }, z.core.$strict>;
8192
+ readonly query: null;
8193
+ readonly headers: z.ZodObject<{
8194
+ 'x-request-id': z.ZodOptional<z.ZodString>;
8195
+ }, z.core.$strict>;
8196
+ readonly body: z.ZodObject<{
8197
+ dimensions: z.ZodArray<z.ZodEnum<{
8198
+ country: "country";
8199
+ date: "date";
8200
+ searchAppearance: "searchAppearance";
8201
+ query: "query";
8202
+ page: "page";
8203
+ queryCanonical: "queryCanonical";
8204
+ device: "device";
8205
+ hour: "hour";
8206
+ }>>;
8207
+ metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8208
+ clicks: "clicks";
8209
+ impressions: "impressions";
8210
+ ctr: "ctr";
8211
+ position: "position";
8212
+ }>>>;
8213
+ filter: z.ZodOptional<z.ZodType<NormalizedFilterV1, unknown, z.core.$ZodTypeInternals<NormalizedFilterV1, unknown>>>;
8214
+ prefilter: z.ZodOptional<z.ZodType<NormalizedFilterV1, unknown, z.core.$ZodTypeInternals<NormalizedFilterV1, unknown>>>;
8215
+ orderBy: z.ZodOptional<z.ZodObject<{
8216
+ column: z.ZodEnum<{
8217
+ clicks: "clicks";
8218
+ impressions: "impressions";
8219
+ date: "date";
8220
+ ctr: "ctr";
8221
+ position: "position";
8222
+ }>;
8223
+ dir: z.ZodEnum<{
8224
+ asc: "asc";
8225
+ desc: "desc";
8226
+ }>;
8227
+ }, z.core.$strict>>;
8228
+ rowLimit: z.ZodOptional<z.ZodNumber>;
8229
+ startRow: z.ZodOptional<z.ZodNumber>;
8230
+ dataState: z.ZodOptional<z.ZodEnum<{
8231
+ final: "final";
8232
+ all: "all";
8233
+ hourly_all: "hourly_all";
8234
+ }>>;
8235
+ aggregationType: z.ZodOptional<z.ZodEnum<{
8236
+ auto: "auto";
8237
+ byPage: "byPage";
8238
+ byProperty: "byProperty";
8239
+ byNewsShowcasePanel: "byNewsShowcasePanel";
8240
+ }>>;
8241
+ searchType: z.ZodOptional<z.ZodEnum<{
8242
+ web: "web";
8243
+ image: "image";
8244
+ video: "video";
8245
+ news: "news";
8246
+ discover: "discover";
8247
+ googleNews: "googleNews";
8248
+ }>>;
8249
+ }, z.core.$strict>;
8250
+ };
8251
+ readonly responses: {
8252
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
8253
+ data: z.ZodObject<{
8254
+ readonly rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
8255
+ }, z.core.$strip>;
8256
+ meta: z.ZodObject<{
8257
+ readonly requestId: z.ZodString;
8258
+ readonly surface: z.ZodLiteral<"analytics">;
8259
+ readonly version: z.ZodLiteral<"1.0">;
8260
+ readonly sourceName: z.ZodString;
8261
+ readonly sourceKind: z.ZodEnum<{
8262
+ row: "row";
8263
+ sql: "sql";
8264
+ }>;
8265
+ readonly queryMs: z.ZodNumber;
8266
+ }, z.core.$strip>;
8267
+ }, z.core.$strip>, z.ZodObject<{
8268
+ data: z.ZodObject<{
8269
+ readonly rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
8270
+ }, z.core.$strip>;
8271
+ meta: z.ZodObject<{
8272
+ readonly requestId: z.ZodString;
8273
+ readonly surface: z.ZodLiteral<"analytics">;
8274
+ readonly version: z.ZodLiteral<"1.0">;
8275
+ readonly sourceName: z.ZodString;
8276
+ readonly sourceKind: z.ZodEnum<{
8277
+ row: "row";
6832
8278
  sql: "sql";
6833
8279
  }>;
6834
8280
  readonly queryMs: z.ZodNumber;
@@ -6839,12 +8285,12 @@ declare function createGscdumpV1Protocol(): {
6839
8285
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
6840
8286
  readonly error: z.ZodObject<{
6841
8287
  code: z.ZodEnum<{
8288
+ rate_limited: "rate_limited";
6842
8289
  internal_error: "internal_error";
6843
8290
  invalid_request: "invalid_request";
6844
8291
  unauthorized: "unauthorized";
6845
8292
  forbidden: "forbidden";
6846
8293
  site_not_found: "site_not_found";
6847
- rate_limited: "rate_limited";
6848
8294
  contract_violation: "contract_violation";
6849
8295
  }>;
6850
8296
  message: z.ZodString;
@@ -6855,12 +8301,12 @@ declare function createGscdumpV1Protocol(): {
6855
8301
  }, z.core.$strip>, z.ZodObject<{
6856
8302
  readonly error: z.ZodObject<{
6857
8303
  code: z.ZodEnum<{
8304
+ rate_limited: "rate_limited";
6858
8305
  internal_error: "internal_error";
6859
8306
  invalid_request: "invalid_request";
6860
8307
  unauthorized: "unauthorized";
6861
8308
  forbidden: "forbidden";
6862
8309
  site_not_found: "site_not_found";
6863
- rate_limited: "rate_limited";
6864
8310
  contract_violation: "contract_violation";
6865
8311
  }>;
6866
8312
  message: z.ZodString;
@@ -6952,13 +8398,13 @@ declare function createGscdumpV1Protocol(): {
6952
8398
  googleNews: "googleNews";
6953
8399
  }>>;
6954
8400
  dimensions: z.ZodArray<z.ZodEnum<{
8401
+ country: "country";
6955
8402
  date: "date";
6956
- page: "page";
8403
+ searchAppearance: "searchAppearance";
6957
8404
  query: "query";
8405
+ page: "page";
6958
8406
  queryCanonical: "queryCanonical";
6959
- country: "country";
6960
8407
  device: "device";
6961
- searchAppearance: "searchAppearance";
6962
8408
  hour: "hour";
6963
8409
  }>>;
6964
8410
  }, z.core.$loose>;
@@ -6972,13 +8418,13 @@ declare function createGscdumpV1Protocol(): {
6972
8418
  googleNews: "googleNews";
6973
8419
  }>>;
6974
8420
  dimensions: z.ZodArray<z.ZodEnum<{
8421
+ country: "country";
6975
8422
  date: "date";
6976
- page: "page";
8423
+ searchAppearance: "searchAppearance";
6977
8424
  query: "query";
8425
+ page: "page";
6978
8426
  queryCanonical: "queryCanonical";
6979
- country: "country";
6980
8427
  device: "device";
6981
- searchAppearance: "searchAppearance";
6982
8428
  hour: "hour";
6983
8429
  }>>;
6984
8430
  }, z.core.$loose>>;
@@ -7085,12 +8531,12 @@ declare function createGscdumpV1Protocol(): {
7085
8531
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7086
8532
  readonly error: z.ZodObject<{
7087
8533
  code: z.ZodEnum<{
8534
+ rate_limited: "rate_limited";
7088
8535
  internal_error: "internal_error";
7089
8536
  invalid_request: "invalid_request";
7090
8537
  unauthorized: "unauthorized";
7091
8538
  forbidden: "forbidden";
7092
8539
  site_not_found: "site_not_found";
7093
- rate_limited: "rate_limited";
7094
8540
  contract_violation: "contract_violation";
7095
8541
  }>;
7096
8542
  message: z.ZodString;
@@ -7101,12 +8547,12 @@ declare function createGscdumpV1Protocol(): {
7101
8547
  }, z.core.$strip>, z.ZodObject<{
7102
8548
  readonly error: z.ZodObject<{
7103
8549
  code: z.ZodEnum<{
8550
+ rate_limited: "rate_limited";
7104
8551
  internal_error: "internal_error";
7105
8552
  invalid_request: "invalid_request";
7106
8553
  unauthorized: "unauthorized";
7107
8554
  forbidden: "forbidden";
7108
8555
  site_not_found: "site_not_found";
7109
- rate_limited: "rate_limited";
7110
8556
  contract_violation: "contract_violation";
7111
8557
  }>;
7112
8558
  message: z.ZodString;
@@ -7213,13 +8659,13 @@ declare function createGscdumpV1Protocol(): {
7213
8659
  googleNews: "googleNews";
7214
8660
  }>>;
7215
8661
  dimensions: z.ZodArray<z.ZodEnum<{
8662
+ country: "country";
7216
8663
  date: "date";
7217
- page: "page";
8664
+ searchAppearance: "searchAppearance";
7218
8665
  query: "query";
8666
+ page: "page";
7219
8667
  queryCanonical: "queryCanonical";
7220
- country: "country";
7221
8668
  device: "device";
7222
- searchAppearance: "searchAppearance";
7223
8669
  hour: "hour";
7224
8670
  }>>;
7225
8671
  }, z.core.$loose>;
@@ -7233,13 +8679,13 @@ declare function createGscdumpV1Protocol(): {
7233
8679
  googleNews: "googleNews";
7234
8680
  }>>;
7235
8681
  dimensions: z.ZodArray<z.ZodEnum<{
8682
+ country: "country";
7236
8683
  date: "date";
7237
- page: "page";
8684
+ searchAppearance: "searchAppearance";
7238
8685
  query: "query";
8686
+ page: "page";
7239
8687
  queryCanonical: "queryCanonical";
7240
- country: "country";
7241
8688
  device: "device";
7242
- searchAppearance: "searchAppearance";
7243
8689
  hour: "hour";
7244
8690
  }>>;
7245
8691
  }, z.core.$loose>>;
@@ -7366,12 +8812,12 @@ declare function createGscdumpV1Protocol(): {
7366
8812
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7367
8813
  readonly error: z.ZodObject<{
7368
8814
  code: z.ZodEnum<{
8815
+ rate_limited: "rate_limited";
7369
8816
  internal_error: "internal_error";
7370
8817
  invalid_request: "invalid_request";
7371
8818
  unauthorized: "unauthorized";
7372
8819
  forbidden: "forbidden";
7373
8820
  site_not_found: "site_not_found";
7374
- rate_limited: "rate_limited";
7375
8821
  contract_violation: "contract_violation";
7376
8822
  }>;
7377
8823
  message: z.ZodString;
@@ -7382,12 +8828,12 @@ declare function createGscdumpV1Protocol(): {
7382
8828
  }, z.core.$strip>, z.ZodObject<{
7383
8829
  readonly error: z.ZodObject<{
7384
8830
  code: z.ZodEnum<{
8831
+ rate_limited: "rate_limited";
7385
8832
  internal_error: "internal_error";
7386
8833
  invalid_request: "invalid_request";
7387
8834
  unauthorized: "unauthorized";
7388
8835
  forbidden: "forbidden";
7389
8836
  site_not_found: "site_not_found";
7390
- rate_limited: "rate_limited";
7391
8837
  contract_violation: "contract_violation";
7392
8838
  }>;
7393
8839
  message: z.ZodString;
@@ -7515,11 +8961,11 @@ declare function createGscdumpV1Protocol(): {
7515
8961
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7516
8962
  readonly error: z.ZodObject<{
7517
8963
  code: z.ZodEnum<{
8964
+ rate_limited: "rate_limited";
7518
8965
  internal_error: "internal_error";
7519
8966
  invalid_request: "invalid_request";
7520
8967
  unauthorized: "unauthorized";
7521
8968
  forbidden: "forbidden";
7522
- rate_limited: "rate_limited";
7523
8969
  realtime_unavailable: "realtime_unavailable";
7524
8970
  contract_violation: "contract_violation";
7525
8971
  }>;
@@ -7531,11 +8977,11 @@ declare function createGscdumpV1Protocol(): {
7531
8977
  }, z.core.$strip>, z.ZodObject<{
7532
8978
  readonly error: z.ZodObject<{
7533
8979
  code: z.ZodEnum<{
8980
+ rate_limited: "rate_limited";
7534
8981
  internal_error: "internal_error";
7535
8982
  invalid_request: "invalid_request";
7536
8983
  unauthorized: "unauthorized";
7537
8984
  forbidden: "forbidden";
7538
- rate_limited: "rate_limited";
7539
8985
  realtime_unavailable: "realtime_unavailable";
7540
8986
  contract_violation: "contract_violation";
7541
8987
  }>;
@@ -7650,11 +9096,11 @@ declare function createGscdumpV1Protocol(): {
7650
9096
  readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
7651
9097
  readonly error: z.ZodObject<{
7652
9098
  code: z.ZodEnum<{
9099
+ rate_limited: "rate_limited";
7653
9100
  internal_error: "internal_error";
7654
9101
  invalid_request: "invalid_request";
7655
9102
  unauthorized: "unauthorized";
7656
9103
  forbidden: "forbidden";
7657
- rate_limited: "rate_limited";
7658
9104
  realtime_unavailable: "realtime_unavailable";
7659
9105
  contract_violation: "contract_violation";
7660
9106
  }>;
@@ -7666,11 +9112,11 @@ declare function createGscdumpV1Protocol(): {
7666
9112
  }, z.core.$strip>, z.ZodObject<{
7667
9113
  readonly error: z.ZodObject<{
7668
9114
  code: z.ZodEnum<{
9115
+ rate_limited: "rate_limited";
7669
9116
  internal_error: "internal_error";
7670
9117
  invalid_request: "invalid_request";
7671
9118
  unauthorized: "unauthorized";
7672
9119
  forbidden: "forbidden";
7673
- rate_limited: "rate_limited";
7674
9120
  realtime_unavailable: "realtime_unavailable";
7675
9121
  contract_violation: "contract_violation";
7676
9122
  }>;
@@ -7900,9 +9346,9 @@ declare function createRealtimeV1Schemas(): {
7900
9346
  type: z.ZodString;
7901
9347
  id: z.ZodString;
7902
9348
  kind: z.ZodEnum<{
7903
- created: "created";
7904
- updated: "updated";
7905
9349
  deleted: "deleted";
9350
+ updated: "updated";
9351
+ created: "created";
7906
9352
  }>;
7907
9353
  }, z.core.$strict>;
7908
9354
  subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -7927,9 +9373,9 @@ declare function createRealtimeV1Schemas(): {
7927
9373
  type: z.ZodString;
7928
9374
  id: z.ZodString;
7929
9375
  kind: z.ZodEnum<{
7930
- created: "created";
7931
- updated: "updated";
7932
9376
  deleted: "deleted";
9377
+ updated: "updated";
9378
+ created: "created";
7933
9379
  }>;
7934
9380
  }, z.core.$strict>>;
7935
9381
  delivery: z.ZodLiteral<"durable">;
@@ -7961,9 +9407,9 @@ declare function createRealtimeV1Schemas(): {
7961
9407
  type: z.ZodString;
7962
9408
  id: z.ZodString;
7963
9409
  kind: z.ZodEnum<{
7964
- created: "created";
7965
- updated: "updated";
7966
9410
  deleted: "deleted";
9411
+ updated: "updated";
9412
+ created: "created";
7967
9413
  }>;
7968
9414
  }, z.core.$strict>>;
7969
9415
  delivery: z.ZodLiteral<"ephemeral">;
@@ -7998,9 +9444,9 @@ declare function createRealtimeV1Schemas(): {
7998
9444
  type: z.ZodString;
7999
9445
  id: z.ZodString;
8000
9446
  kind: z.ZodEnum<{
8001
- created: "created";
8002
- updated: "updated";
8003
9447
  deleted: "deleted";
9448
+ updated: "updated";
9449
+ created: "created";
8004
9450
  }>;
8005
9451
  }, z.core.$strict>>;
8006
9452
  delivery: z.ZodLiteral<"durable">;
@@ -8031,9 +9477,9 @@ declare function createRealtimeV1Schemas(): {
8031
9477
  type: z.ZodString;
8032
9478
  id: z.ZodString;
8033
9479
  kind: z.ZodEnum<{
8034
- created: "created";
8035
- updated: "updated";
8036
9480
  deleted: "deleted";
9481
+ updated: "updated";
9482
+ created: "created";
8037
9483
  }>;
8038
9484
  }, z.core.$strict>>;
8039
9485
  delivery: z.ZodLiteral<"ephemeral">;
@@ -8127,9 +9573,9 @@ declare function createRealtimeV1Schemas(): {
8127
9573
  type: z.ZodString;
8128
9574
  id: z.ZodString;
8129
9575
  kind: z.ZodEnum<{
8130
- created: "created";
8131
- updated: "updated";
8132
9576
  deleted: "deleted";
9577
+ updated: "updated";
9578
+ created: "created";
8133
9579
  }>;
8134
9580
  }, z.core.$strict>>;
8135
9581
  delivery: z.ZodLiteral<"durable">;
@@ -8250,9 +9696,9 @@ declare function createRealtimeV1Schemas(): {
8250
9696
  type: z.ZodString;
8251
9697
  id: z.ZodString;
8252
9698
  kind: z.ZodEnum<{
8253
- created: "created";
8254
- updated: "updated";
8255
9699
  deleted: "deleted";
9700
+ updated: "updated";
9701
+ created: "created";
8256
9702
  }>;
8257
9703
  }, z.core.$strict>>;
8258
9704
  delivery: z.ZodLiteral<"durable">;
@@ -8283,9 +9729,9 @@ declare function createRealtimeV1Schemas(): {
8283
9729
  type: z.ZodString;
8284
9730
  id: z.ZodString;
8285
9731
  kind: z.ZodEnum<{
8286
- created: "created";
8287
- updated: "updated";
8288
9732
  deleted: "deleted";
9733
+ updated: "updated";
9734
+ created: "created";
8289
9735
  }>;
8290
9736
  }, z.core.$strict>>;
8291
9737
  delivery: z.ZodLiteral<"ephemeral">;
@@ -8321,9 +9767,9 @@ declare function createRealtimeV1Schemas(): {
8321
9767
  type: z.ZodString;
8322
9768
  id: z.ZodString;
8323
9769
  kind: z.ZodEnum<{
8324
- created: "created";
8325
- updated: "updated";
8326
9770
  deleted: "deleted";
9771
+ updated: "updated";
9772
+ created: "created";
8327
9773
  }>;
8328
9774
  }, z.core.$strict>>;
8329
9775
  delivery: z.ZodLiteral<"durable">;