@gscdump/contracts 1.1.0 → 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.
- package/dist/_chunks/endpoints.d.mts +1 -1
- package/dist/_chunks/schemas.d.mts +12 -12
- package/dist/v1/index.d.mts +1632 -186
- package/dist/v1/index.mjs +728 -1
- package/package.json +1 -1
package/dist/v1/index.d.mts
CHANGED
|
@@ -264,8 +264,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
264
264
|
type: z.ZodString;
|
|
265
265
|
id: z.ZodString;
|
|
266
266
|
kind: z.ZodEnum<{
|
|
267
|
-
updated: "updated";
|
|
268
267
|
deleted: "deleted";
|
|
268
|
+
updated: "updated";
|
|
269
269
|
created: "created";
|
|
270
270
|
}>;
|
|
271
271
|
}, z.core.$strict>;
|
|
@@ -291,8 +291,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
291
291
|
type: z.ZodString;
|
|
292
292
|
id: z.ZodString;
|
|
293
293
|
kind: z.ZodEnum<{
|
|
294
|
-
updated: "updated";
|
|
295
294
|
deleted: "deleted";
|
|
295
|
+
updated: "updated";
|
|
296
296
|
created: "created";
|
|
297
297
|
}>;
|
|
298
298
|
}, z.core.$strict>>;
|
|
@@ -325,8 +325,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
325
325
|
type: z.ZodString;
|
|
326
326
|
id: z.ZodString;
|
|
327
327
|
kind: z.ZodEnum<{
|
|
328
|
-
updated: "updated";
|
|
329
328
|
deleted: "deleted";
|
|
329
|
+
updated: "updated";
|
|
330
330
|
created: "created";
|
|
331
331
|
}>;
|
|
332
332
|
}, z.core.$strict>>;
|
|
@@ -362,8 +362,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
362
362
|
type: z.ZodString;
|
|
363
363
|
id: z.ZodString;
|
|
364
364
|
kind: z.ZodEnum<{
|
|
365
|
-
updated: "updated";
|
|
366
365
|
deleted: "deleted";
|
|
366
|
+
updated: "updated";
|
|
367
367
|
created: "created";
|
|
368
368
|
}>;
|
|
369
369
|
}, z.core.$strict>>;
|
|
@@ -395,8 +395,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
395
395
|
type: z.ZodString;
|
|
396
396
|
id: z.ZodString;
|
|
397
397
|
kind: z.ZodEnum<{
|
|
398
|
-
updated: "updated";
|
|
399
398
|
deleted: "deleted";
|
|
399
|
+
updated: "updated";
|
|
400
400
|
created: "created";
|
|
401
401
|
}>;
|
|
402
402
|
}, z.core.$strict>>;
|
|
@@ -491,8 +491,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
491
491
|
type: z.ZodString;
|
|
492
492
|
id: z.ZodString;
|
|
493
493
|
kind: z.ZodEnum<{
|
|
494
|
-
updated: "updated";
|
|
495
494
|
deleted: "deleted";
|
|
495
|
+
updated: "updated";
|
|
496
496
|
created: "created";
|
|
497
497
|
}>;
|
|
498
498
|
}, z.core.$strict>>;
|
|
@@ -541,11 +541,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
541
541
|
type: z.ZodLiteral<"error">;
|
|
542
542
|
error: z.ZodObject<{
|
|
543
543
|
code: z.ZodEnum<{
|
|
544
|
-
internal_error: "internal_error";
|
|
545
544
|
invalid_frame: "invalid_frame";
|
|
546
545
|
protocol_mismatch: "protocol_mismatch";
|
|
547
546
|
policy_violation: "policy_violation";
|
|
548
547
|
overloaded: "overloaded";
|
|
548
|
+
internal_error: "internal_error";
|
|
549
549
|
}>;
|
|
550
550
|
message: z.ZodString;
|
|
551
551
|
retryable: z.ZodBoolean;
|
|
@@ -614,8 +614,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
614
614
|
type: z.ZodString;
|
|
615
615
|
id: z.ZodString;
|
|
616
616
|
kind: z.ZodEnum<{
|
|
617
|
-
updated: "updated";
|
|
618
617
|
deleted: "deleted";
|
|
618
|
+
updated: "updated";
|
|
619
619
|
created: "created";
|
|
620
620
|
}>;
|
|
621
621
|
}, z.core.$strict>>;
|
|
@@ -647,8 +647,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
647
647
|
type: z.ZodString;
|
|
648
648
|
id: z.ZodString;
|
|
649
649
|
kind: z.ZodEnum<{
|
|
650
|
-
updated: "updated";
|
|
651
650
|
deleted: "deleted";
|
|
651
|
+
updated: "updated";
|
|
652
652
|
created: "created";
|
|
653
653
|
}>;
|
|
654
654
|
}, z.core.$strict>>;
|
|
@@ -685,8 +685,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
685
685
|
type: z.ZodString;
|
|
686
686
|
id: z.ZodString;
|
|
687
687
|
kind: z.ZodEnum<{
|
|
688
|
-
updated: "updated";
|
|
689
688
|
deleted: "deleted";
|
|
689
|
+
updated: "updated";
|
|
690
690
|
created: "created";
|
|
691
691
|
}>;
|
|
692
692
|
}, z.core.$strict>>;
|
|
@@ -733,11 +733,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
733
733
|
type: z.ZodLiteral<"error">;
|
|
734
734
|
error: z.ZodObject<{
|
|
735
735
|
code: z.ZodEnum<{
|
|
736
|
-
internal_error: "internal_error";
|
|
737
736
|
invalid_frame: "invalid_frame";
|
|
738
737
|
protocol_mismatch: "protocol_mismatch";
|
|
739
738
|
policy_violation: "policy_violation";
|
|
740
739
|
overloaded: "overloaded";
|
|
740
|
+
internal_error: "internal_error";
|
|
741
741
|
}>;
|
|
742
742
|
message: z.ZodString;
|
|
743
743
|
retryable: z.ZodBoolean;
|
|
@@ -777,13 +777,13 @@ declare function createGscdumpV1Protocol(): {
|
|
|
777
777
|
readonly error: z.ZodObject<{
|
|
778
778
|
code: z.ZodEnum<{
|
|
779
779
|
rate_limited: "rate_limited";
|
|
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
786
|
realtime_unavailable: "realtime_unavailable";
|
|
786
|
-
internal_error: "internal_error";
|
|
787
787
|
contract_violation: "contract_violation";
|
|
788
788
|
}>;
|
|
789
789
|
message: z.ZodString;
|
|
@@ -795,13 +795,13 @@ declare function createGscdumpV1Protocol(): {
|
|
|
795
795
|
readonly error: z.ZodObject<{
|
|
796
796
|
code: z.ZodEnum<{
|
|
797
797
|
rate_limited: "rate_limited";
|
|
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
804
|
realtime_unavailable: "realtime_unavailable";
|
|
804
|
-
internal_error: "internal_error";
|
|
805
805
|
contract_violation: "contract_violation";
|
|
806
806
|
}>;
|
|
807
807
|
message: z.ZodString;
|
|
@@ -821,8 +821,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
821
821
|
googleNews: "googleNews";
|
|
822
822
|
}>>;
|
|
823
823
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
824
|
-
date: "date";
|
|
825
824
|
country: "country";
|
|
825
|
+
date: "date";
|
|
826
826
|
searchAppearance: "searchAppearance";
|
|
827
827
|
query: "query";
|
|
828
828
|
page: "page";
|
|
@@ -841,8 +841,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
841
841
|
googleNews: "googleNews";
|
|
842
842
|
}>>;
|
|
843
843
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
844
|
-
date: "date";
|
|
845
844
|
country: "country";
|
|
845
|
+
date: "date";
|
|
846
846
|
searchAppearance: "searchAppearance";
|
|
847
847
|
query: "query";
|
|
848
848
|
page: "page";
|
|
@@ -978,8 +978,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
978
978
|
googleNews: "googleNews";
|
|
979
979
|
}>>;
|
|
980
980
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
981
|
-
date: "date";
|
|
982
981
|
country: "country";
|
|
982
|
+
date: "date";
|
|
983
983
|
searchAppearance: "searchAppearance";
|
|
984
984
|
query: "query";
|
|
985
985
|
page: "page";
|
|
@@ -998,8 +998,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
998
998
|
googleNews: "googleNews";
|
|
999
999
|
}>>;
|
|
1000
1000
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1001
|
-
date: "date";
|
|
1002
1001
|
country: "country";
|
|
1002
|
+
date: "date";
|
|
1003
1003
|
searchAppearance: "searchAppearance";
|
|
1004
1004
|
query: "query";
|
|
1005
1005
|
page: "page";
|
|
@@ -1106,8 +1106,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1106
1106
|
}, z.core.$strip>>;
|
|
1107
1107
|
analyticsRowsRequest: z.ZodObject<{
|
|
1108
1108
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1109
|
-
date: "date";
|
|
1110
1109
|
country: "country";
|
|
1110
|
+
date: "date";
|
|
1111
1111
|
searchAppearance: "searchAppearance";
|
|
1112
1112
|
query: "query";
|
|
1113
1113
|
page: "page";
|
|
@@ -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
|
}>;
|
|
@@ -1596,9 +1596,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1596
1596
|
siteUrl: z.ZodString;
|
|
1597
1597
|
syncStatus: z.ZodNullable<z.ZodString>;
|
|
1598
1598
|
indexingStatus: z.ZodEnum<{
|
|
1599
|
-
complete: "complete";
|
|
1600
1599
|
pending: "pending";
|
|
1601
1600
|
partial: "partial";
|
|
1601
|
+
complete: "complete";
|
|
1602
1602
|
}>;
|
|
1603
1603
|
indexingProgress: z.ZodNumber;
|
|
1604
1604
|
sitemapTotal: z.ZodNumber;
|
|
@@ -1670,9 +1670,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1670
1670
|
siteUrl: z.ZodString;
|
|
1671
1671
|
syncStatus: z.ZodNullable<z.ZodString>;
|
|
1672
1672
|
indexingStatus: z.ZodEnum<{
|
|
1673
|
-
complete: "complete";
|
|
1674
1673
|
pending: "pending";
|
|
1675
1674
|
partial: "partial";
|
|
1675
|
+
complete: "complete";
|
|
1676
1676
|
}>;
|
|
1677
1677
|
indexingProgress: z.ZodNumber;
|
|
1678
1678
|
sitemapTotal: z.ZodNumber;
|
|
@@ -3108,11 +3108,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3108
3108
|
readonly error: z.ZodObject<{
|
|
3109
3109
|
code: z.ZodEnum<{
|
|
3110
3110
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
3116
3116
|
contract_violation: "contract_violation";
|
|
3117
3117
|
}>;
|
|
3118
3118
|
message: z.ZodString;
|
|
@@ -3124,11 +3124,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3124
3124
|
readonly error: z.ZodObject<{
|
|
3125
3125
|
code: z.ZodEnum<{
|
|
3126
3126
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
3132
3132
|
contract_violation: "contract_violation";
|
|
3133
3133
|
}>;
|
|
3134
3134
|
message: z.ZodString;
|
|
@@ -3285,11 +3285,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3285
3285
|
readonly error: z.ZodObject<{
|
|
3286
3286
|
code: z.ZodEnum<{
|
|
3287
3287
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
3293
3293
|
contract_violation: "contract_violation";
|
|
3294
3294
|
}>;
|
|
3295
3295
|
message: z.ZodString;
|
|
@@ -3301,11 +3301,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3301
3301
|
readonly error: z.ZodObject<{
|
|
3302
3302
|
code: z.ZodEnum<{
|
|
3303
3303
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
3309
3309
|
contract_violation: "contract_violation";
|
|
3310
3310
|
}>;
|
|
3311
3311
|
message: z.ZodString;
|
|
@@ -3730,11 +3730,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3730
3730
|
readonly error: z.ZodObject<{
|
|
3731
3731
|
code: z.ZodEnum<{
|
|
3732
3732
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
3738
3738
|
contract_violation: "contract_violation";
|
|
3739
3739
|
}>;
|
|
3740
3740
|
message: z.ZodString;
|
|
@@ -3746,11 +3746,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3746
3746
|
readonly error: z.ZodObject<{
|
|
3747
3747
|
code: z.ZodEnum<{
|
|
3748
3748
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
3754
3754
|
contract_violation: "contract_violation";
|
|
3755
3755
|
}>;
|
|
3756
3756
|
message: z.ZodString;
|
|
@@ -3872,11 +3872,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3872
3872
|
readonly error: z.ZodObject<{
|
|
3873
3873
|
code: z.ZodEnum<{
|
|
3874
3874
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
3880
3880
|
contract_violation: "contract_violation";
|
|
3881
3881
|
}>;
|
|
3882
3882
|
message: z.ZodString;
|
|
@@ -3888,11 +3888,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3888
3888
|
readonly error: z.ZodObject<{
|
|
3889
3889
|
code: z.ZodEnum<{
|
|
3890
3890
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
3896
3896
|
contract_violation: "contract_violation";
|
|
3897
3897
|
}>;
|
|
3898
3898
|
message: z.ZodString;
|
|
@@ -4044,11 +4044,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4044
4044
|
readonly error: z.ZodObject<{
|
|
4045
4045
|
code: z.ZodEnum<{
|
|
4046
4046
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4052
4052
|
contract_violation: "contract_violation";
|
|
4053
4053
|
}>;
|
|
4054
4054
|
message: z.ZodString;
|
|
@@ -4060,11 +4060,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4060
4060
|
readonly error: z.ZodObject<{
|
|
4061
4061
|
code: z.ZodEnum<{
|
|
4062
4062
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4068
4068
|
contract_violation: "contract_violation";
|
|
4069
4069
|
}>;
|
|
4070
4070
|
message: z.ZodString;
|
|
@@ -4208,9 +4208,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4208
4208
|
siteUrl: z.ZodString;
|
|
4209
4209
|
syncStatus: z.ZodNullable<z.ZodString>;
|
|
4210
4210
|
indexingStatus: z.ZodEnum<{
|
|
4211
|
-
complete: "complete";
|
|
4212
4211
|
pending: "pending";
|
|
4213
4212
|
partial: "partial";
|
|
4213
|
+
complete: "complete";
|
|
4214
4214
|
}>;
|
|
4215
4215
|
indexingProgress: z.ZodNumber;
|
|
4216
4216
|
sitemapTotal: z.ZodNumber;
|
|
@@ -4282,9 +4282,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4282
4282
|
siteUrl: z.ZodString;
|
|
4283
4283
|
syncStatus: z.ZodNullable<z.ZodString>;
|
|
4284
4284
|
indexingStatus: z.ZodEnum<{
|
|
4285
|
-
complete: "complete";
|
|
4286
4285
|
pending: "pending";
|
|
4287
4286
|
partial: "partial";
|
|
4287
|
+
complete: "complete";
|
|
4288
4288
|
}>;
|
|
4289
4289
|
indexingProgress: z.ZodNumber;
|
|
4290
4290
|
sitemapTotal: z.ZodNumber;
|
|
@@ -4306,11 +4306,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4306
4306
|
readonly error: z.ZodObject<{
|
|
4307
4307
|
code: z.ZodEnum<{
|
|
4308
4308
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4314
4314
|
contract_violation: "contract_violation";
|
|
4315
4315
|
}>;
|
|
4316
4316
|
message: z.ZodString;
|
|
@@ -4322,11 +4322,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4322
4322
|
readonly error: z.ZodObject<{
|
|
4323
4323
|
code: z.ZodEnum<{
|
|
4324
4324
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4330
4330
|
contract_violation: "contract_violation";
|
|
4331
4331
|
}>;
|
|
4332
4332
|
message: z.ZodString;
|
|
@@ -4540,11 +4540,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4540
4540
|
readonly error: z.ZodObject<{
|
|
4541
4541
|
code: z.ZodEnum<{
|
|
4542
4542
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4548
4548
|
contract_violation: "contract_violation";
|
|
4549
4549
|
}>;
|
|
4550
4550
|
message: z.ZodString;
|
|
@@ -4556,11 +4556,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4556
4556
|
readonly error: z.ZodObject<{
|
|
4557
4557
|
code: z.ZodEnum<{
|
|
4558
4558
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4564
4564
|
contract_violation: "contract_violation";
|
|
4565
4565
|
}>;
|
|
4566
4566
|
message: z.ZodString;
|
|
@@ -4759,11 +4759,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4759
4759
|
readonly error: z.ZodObject<{
|
|
4760
4760
|
code: z.ZodEnum<{
|
|
4761
4761
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4767
4767
|
contract_violation: "contract_violation";
|
|
4768
4768
|
}>;
|
|
4769
4769
|
message: z.ZodString;
|
|
@@ -4775,11 +4775,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4775
4775
|
readonly error: z.ZodObject<{
|
|
4776
4776
|
code: z.ZodEnum<{
|
|
4777
4777
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4783
4783
|
contract_violation: "contract_violation";
|
|
4784
4784
|
}>;
|
|
4785
4785
|
message: z.ZodString;
|
|
@@ -4947,11 +4947,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4947
4947
|
readonly error: z.ZodObject<{
|
|
4948
4948
|
code: z.ZodEnum<{
|
|
4949
4949
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4955
4955
|
contract_violation: "contract_violation";
|
|
4956
4956
|
}>;
|
|
4957
4957
|
message: z.ZodString;
|
|
@@ -4963,11 +4963,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4963
4963
|
readonly error: z.ZodObject<{
|
|
4964
4964
|
code: z.ZodEnum<{
|
|
4965
4965
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
4971
4971
|
contract_violation: "contract_violation";
|
|
4972
4972
|
}>;
|
|
4973
4973
|
message: z.ZodString;
|
|
@@ -5109,11 +5109,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5109
5109
|
readonly error: z.ZodObject<{
|
|
5110
5110
|
code: z.ZodEnum<{
|
|
5111
5111
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5117
5117
|
contract_violation: "contract_violation";
|
|
5118
5118
|
}>;
|
|
5119
5119
|
message: z.ZodString;
|
|
@@ -5125,11 +5125,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5125
5125
|
readonly error: z.ZodObject<{
|
|
5126
5126
|
code: z.ZodEnum<{
|
|
5127
5127
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5133
5133
|
contract_violation: "contract_violation";
|
|
5134
5134
|
}>;
|
|
5135
5135
|
message: z.ZodString;
|
|
@@ -5318,11 +5318,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5318
5318
|
readonly error: z.ZodObject<{
|
|
5319
5319
|
code: z.ZodEnum<{
|
|
5320
5320
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5326
5326
|
contract_violation: "contract_violation";
|
|
5327
5327
|
}>;
|
|
5328
5328
|
message: z.ZodString;
|
|
@@ -5334,11 +5334,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5334
5334
|
readonly error: z.ZodObject<{
|
|
5335
5335
|
code: z.ZodEnum<{
|
|
5336
5336
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5342
5342
|
contract_violation: "contract_violation";
|
|
5343
5343
|
}>;
|
|
5344
5344
|
message: z.ZodString;
|
|
@@ -5516,11 +5516,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5516
5516
|
readonly error: z.ZodObject<{
|
|
5517
5517
|
code: z.ZodEnum<{
|
|
5518
5518
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5524
5524
|
contract_violation: "contract_violation";
|
|
5525
5525
|
}>;
|
|
5526
5526
|
message: z.ZodString;
|
|
@@ -5532,11 +5532,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5532
5532
|
readonly error: z.ZodObject<{
|
|
5533
5533
|
code: z.ZodEnum<{
|
|
5534
5534
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5540
5540
|
contract_violation: "contract_violation";
|
|
5541
5541
|
}>;
|
|
5542
5542
|
message: z.ZodString;
|
|
@@ -5653,11 +5653,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5653
5653
|
readonly error: z.ZodObject<{
|
|
5654
5654
|
code: z.ZodEnum<{
|
|
5655
5655
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5661
5661
|
contract_violation: "contract_violation";
|
|
5662
5662
|
}>;
|
|
5663
5663
|
message: z.ZodString;
|
|
@@ -5669,11 +5669,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5669
5669
|
readonly error: z.ZodObject<{
|
|
5670
5670
|
code: z.ZodEnum<{
|
|
5671
5671
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5677
5677
|
contract_violation: "contract_violation";
|
|
5678
5678
|
}>;
|
|
5679
5679
|
message: z.ZodString;
|
|
@@ -5824,11 +5824,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5824
5824
|
readonly error: z.ZodObject<{
|
|
5825
5825
|
code: z.ZodEnum<{
|
|
5826
5826
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5832
5832
|
contract_violation: "contract_violation";
|
|
5833
5833
|
}>;
|
|
5834
5834
|
message: z.ZodString;
|
|
@@ -5840,11 +5840,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5840
5840
|
readonly error: z.ZodObject<{
|
|
5841
5841
|
code: z.ZodEnum<{
|
|
5842
5842
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
5848
5848
|
contract_violation: "contract_violation";
|
|
5849
5849
|
}>;
|
|
5850
5850
|
message: z.ZodString;
|
|
@@ -6040,11 +6040,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6040
6040
|
readonly error: z.ZodObject<{
|
|
6041
6041
|
code: z.ZodEnum<{
|
|
6042
6042
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
6048
6048
|
contract_violation: "contract_violation";
|
|
6049
6049
|
}>;
|
|
6050
6050
|
message: z.ZodString;
|
|
@@ -6056,11 +6056,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6056
6056
|
readonly error: z.ZodObject<{
|
|
6057
6057
|
code: z.ZodEnum<{
|
|
6058
6058
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
6064
6064
|
contract_violation: "contract_violation";
|
|
6065
6065
|
}>;
|
|
6066
6066
|
message: z.ZodString;
|
|
@@ -6181,11 +6181,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6181
6181
|
readonly error: z.ZodObject<{
|
|
6182
6182
|
code: z.ZodEnum<{
|
|
6183
6183
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
6189
6189
|
contract_violation: "contract_violation";
|
|
6190
6190
|
}>;
|
|
6191
6191
|
message: z.ZodString;
|
|
@@ -6197,11 +6197,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6197
6197
|
readonly error: z.ZodObject<{
|
|
6198
6198
|
code: z.ZodEnum<{
|
|
6199
6199
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
6205
6205
|
contract_violation: "contract_violation";
|
|
6206
6206
|
}>;
|
|
6207
6207
|
message: z.ZodString;
|
|
@@ -6323,11 +6323,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6323
6323
|
readonly error: z.ZodObject<{
|
|
6324
6324
|
code: z.ZodEnum<{
|
|
6325
6325
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
6331
6331
|
contract_violation: "contract_violation";
|
|
6332
6332
|
}>;
|
|
6333
6333
|
message: z.ZodString;
|
|
@@ -6339,11 +6339,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6339
6339
|
readonly error: z.ZodObject<{
|
|
6340
6340
|
code: z.ZodEnum<{
|
|
6341
6341
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
6347
6347
|
contract_violation: "contract_violation";
|
|
6348
6348
|
}>;
|
|
6349
6349
|
message: z.ZodString;
|
|
@@ -6482,11 +6482,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6482
6482
|
readonly error: z.ZodObject<{
|
|
6483
6483
|
code: z.ZodEnum<{
|
|
6484
6484
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
6490
6490
|
contract_violation: "contract_violation";
|
|
6491
6491
|
}>;
|
|
6492
6492
|
message: z.ZodString;
|
|
@@ -6498,11 +6498,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6498
6498
|
readonly error: z.ZodObject<{
|
|
6499
6499
|
code: z.ZodEnum<{
|
|
6500
6500
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
6506
6506
|
contract_violation: "contract_violation";
|
|
6507
6507
|
}>;
|
|
6508
6508
|
message: z.ZodString;
|
|
@@ -6643,11 +6643,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6643
6643
|
readonly error: z.ZodObject<{
|
|
6644
6644
|
code: z.ZodEnum<{
|
|
6645
6645
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
6651
6651
|
contract_violation: "contract_violation";
|
|
6652
6652
|
}>;
|
|
6653
6653
|
message: z.ZodString;
|
|
@@ -6659,11 +6659,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6659
6659
|
readonly error: z.ZodObject<{
|
|
6660
6660
|
code: z.ZodEnum<{
|
|
6661
6661
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
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
|
-
|
|
6719
|
-
|
|
6720
|
-
readonly
|
|
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:
|
|
6731
|
+
readonly scopes: readonly ["analytics:read"];
|
|
6734
6732
|
readonly ownership: readonly [{
|
|
6735
6733
|
readonly credential: "user_key";
|
|
6736
6734
|
readonly rule: "authorized_site";
|
|
@@ -6743,95 +6741,66 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6743
6741
|
readonly params: z.ZodObject<{
|
|
6744
6742
|
siteId: z.ZodString;
|
|
6745
6743
|
}, z.core.$strict>;
|
|
6746
|
-
readonly query:
|
|
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:
|
|
6751
|
-
dimensions: z.ZodArray<z.ZodEnum<{
|
|
6752
|
-
date: "date";
|
|
6753
|
-
country: "country";
|
|
6754
|
-
searchAppearance: "searchAppearance";
|
|
6755
|
-
query: "query";
|
|
6756
|
-
page: "page";
|
|
6757
|
-
queryCanonical: "queryCanonical";
|
|
6758
|
-
device: "device";
|
|
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
|
|
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<"
|
|
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
|
|
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<"
|
|
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";
|
|
6832
|
-
sql: "sql";
|
|
6833
|
-
}>;
|
|
6834
|
-
readonly queryMs: z.ZodNumber;
|
|
6835
6804
|
}, z.core.$strip>;
|
|
6836
6805
|
}, z.core.$strip>>;
|
|
6837
6806
|
};
|
|
@@ -6840,11 +6809,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6840
6809
|
readonly error: z.ZodObject<{
|
|
6841
6810
|
code: z.ZodEnum<{
|
|
6842
6811
|
rate_limited: "rate_limited";
|
|
6812
|
+
internal_error: "internal_error";
|
|
6843
6813
|
invalid_request: "invalid_request";
|
|
6844
6814
|
unauthorized: "unauthorized";
|
|
6845
6815
|
forbidden: "forbidden";
|
|
6846
6816
|
site_not_found: "site_not_found";
|
|
6847
|
-
internal_error: "internal_error";
|
|
6848
6817
|
contract_violation: "contract_violation";
|
|
6849
6818
|
}>;
|
|
6850
6819
|
message: z.ZodString;
|
|
@@ -6856,11 +6825,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6856
6825
|
readonly error: z.ZodObject<{
|
|
6857
6826
|
code: z.ZodEnum<{
|
|
6858
6827
|
rate_limited: "rate_limited";
|
|
6828
|
+
internal_error: "internal_error";
|
|
6859
6829
|
invalid_request: "invalid_request";
|
|
6860
6830
|
unauthorized: "unauthorized";
|
|
6861
6831
|
forbidden: "forbidden";
|
|
6862
6832
|
site_not_found: "site_not_found";
|
|
6863
|
-
internal_error: "internal_error";
|
|
6864
6833
|
contract_violation: "contract_violation";
|
|
6865
6834
|
}>;
|
|
6866
6835
|
message: z.ZodString;
|
|
@@ -6877,43 +6846,47 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6877
6846
|
readonly changes: readonly [];
|
|
6878
6847
|
};
|
|
6879
6848
|
readonly lifecycle: {
|
|
6880
|
-
readonly introduced: "1.
|
|
6849
|
+
readonly introduced: "1.2.0";
|
|
6881
6850
|
};
|
|
6882
6851
|
readonly docs: {
|
|
6883
|
-
readonly summary: "
|
|
6884
|
-
readonly description: "
|
|
6885
|
-
readonly tags: readonly ["Analytics
|
|
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"];
|
|
6886
6855
|
readonly examples: {
|
|
6887
6856
|
readonly request: {
|
|
6888
6857
|
readonly params: {
|
|
6889
6858
|
readonly siteId: "s_01";
|
|
6890
6859
|
};
|
|
6891
|
-
readonly
|
|
6892
|
-
readonly
|
|
6893
|
-
readonly metrics: readonly ["clicks", "impressions"];
|
|
6894
|
-
readonly rowLimit: 100;
|
|
6860
|
+
readonly query: {
|
|
6861
|
+
readonly days: 90;
|
|
6895
6862
|
};
|
|
6896
6863
|
};
|
|
6897
6864
|
readonly response: {
|
|
6898
6865
|
readonly data: {
|
|
6899
|
-
readonly
|
|
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
|
+
};
|
|
6900
6876
|
};
|
|
6901
6877
|
readonly meta: {
|
|
6902
6878
|
readonly requestId: "req_01";
|
|
6903
|
-
readonly surface: "
|
|
6879
|
+
readonly surface: "partner";
|
|
6904
6880
|
readonly version: "1.0";
|
|
6905
|
-
readonly sourceName: "primary";
|
|
6906
|
-
readonly sourceKind: "sql";
|
|
6907
|
-
readonly queryMs: 12;
|
|
6908
6881
|
};
|
|
6909
6882
|
};
|
|
6910
6883
|
};
|
|
6911
6884
|
};
|
|
6912
6885
|
};
|
|
6913
|
-
readonly
|
|
6914
|
-
readonly id: "
|
|
6915
|
-
readonly method: "
|
|
6916
|
-
readonly path: "/sites/{siteId}/
|
|
6886
|
+
readonly getCtrCurve: {
|
|
6887
|
+
readonly id: "partner.sites.ctr.curve.get";
|
|
6888
|
+
readonly method: "GET";
|
|
6889
|
+
readonly path: "/sites/{siteId}/ctr-curve";
|
|
6917
6890
|
readonly visibility: "public";
|
|
6918
6891
|
readonly semantics: {
|
|
6919
6892
|
readonly kind: "query";
|
|
@@ -6924,7 +6897,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6924
6897
|
};
|
|
6925
6898
|
readonly auth: {
|
|
6926
6899
|
readonly credentials: readonly ["user_key", "partner_key"];
|
|
6927
|
-
readonly scopes: readonly ["analytics:
|
|
6900
|
+
readonly scopes: readonly ["analytics:read"];
|
|
6928
6901
|
readonly ownership: readonly [{
|
|
6929
6902
|
readonly credential: "user_key";
|
|
6930
6903
|
readonly rule: "authorized_site";
|
|
@@ -6937,10 +6910,1483 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6937
6910
|
readonly params: z.ZodObject<{
|
|
6938
6911
|
siteId: z.ZodString;
|
|
6939
6912
|
}, z.core.$strict>;
|
|
6940
|
-
readonly query:
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
}, 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";
|
|
8278
|
+
sql: "sql";
|
|
8279
|
+
}>;
|
|
8280
|
+
readonly queryMs: z.ZodNumber;
|
|
8281
|
+
}, z.core.$strip>;
|
|
8282
|
+
}, z.core.$strip>>;
|
|
8283
|
+
};
|
|
8284
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
8285
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
8286
|
+
readonly error: z.ZodObject<{
|
|
8287
|
+
code: z.ZodEnum<{
|
|
8288
|
+
rate_limited: "rate_limited";
|
|
8289
|
+
internal_error: "internal_error";
|
|
8290
|
+
invalid_request: "invalid_request";
|
|
8291
|
+
unauthorized: "unauthorized";
|
|
8292
|
+
forbidden: "forbidden";
|
|
8293
|
+
site_not_found: "site_not_found";
|
|
8294
|
+
contract_violation: "contract_violation";
|
|
8295
|
+
}>;
|
|
8296
|
+
message: z.ZodString;
|
|
8297
|
+
requestId: z.ZodString;
|
|
8298
|
+
retryable: z.ZodBoolean;
|
|
8299
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
8300
|
+
}, z.core.$strict>;
|
|
8301
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8302
|
+
readonly error: z.ZodObject<{
|
|
8303
|
+
code: z.ZodEnum<{
|
|
8304
|
+
rate_limited: "rate_limited";
|
|
8305
|
+
internal_error: "internal_error";
|
|
8306
|
+
invalid_request: "invalid_request";
|
|
8307
|
+
unauthorized: "unauthorized";
|
|
8308
|
+
forbidden: "forbidden";
|
|
8309
|
+
site_not_found: "site_not_found";
|
|
8310
|
+
contract_violation: "contract_violation";
|
|
8311
|
+
}>;
|
|
8312
|
+
message: z.ZodString;
|
|
8313
|
+
requestId: z.ZodString;
|
|
8314
|
+
retryable: z.ZodBoolean;
|
|
8315
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
8316
|
+
}, z.core.$loose>;
|
|
8317
|
+
}, z.core.$strip>>;
|
|
8318
|
+
readonly resources: {
|
|
8319
|
+
readonly reads: readonly [{
|
|
8320
|
+
readonly type: "site.analytics";
|
|
8321
|
+
readonly idFrom: "params.siteId";
|
|
8322
|
+
}];
|
|
8323
|
+
readonly changes: readonly [];
|
|
8324
|
+
};
|
|
8325
|
+
readonly lifecycle: {
|
|
8326
|
+
readonly introduced: "1.0.0";
|
|
8327
|
+
};
|
|
8328
|
+
readonly docs: {
|
|
8329
|
+
readonly summary: "Query analytics rows";
|
|
8330
|
+
readonly description: "Executes an idempotent primary-consistent analytics row query.";
|
|
8331
|
+
readonly tags: readonly ["Analytics rows"];
|
|
8332
|
+
readonly examples: {
|
|
8333
|
+
readonly request: {
|
|
8334
|
+
readonly params: {
|
|
8335
|
+
readonly siteId: "s_01";
|
|
8336
|
+
};
|
|
8337
|
+
readonly body: {
|
|
8338
|
+
readonly dimensions: readonly ["query"];
|
|
8339
|
+
readonly metrics: readonly ["clicks", "impressions"];
|
|
8340
|
+
readonly rowLimit: 100;
|
|
8341
|
+
};
|
|
8342
|
+
};
|
|
8343
|
+
readonly response: {
|
|
8344
|
+
readonly data: {
|
|
8345
|
+
readonly rows: readonly [];
|
|
8346
|
+
};
|
|
8347
|
+
readonly meta: {
|
|
8348
|
+
readonly requestId: "req_01";
|
|
8349
|
+
readonly surface: "analytics";
|
|
8350
|
+
readonly version: "1.0";
|
|
8351
|
+
readonly sourceName: "primary";
|
|
8352
|
+
readonly sourceKind: "sql";
|
|
8353
|
+
readonly queryMs: 12;
|
|
8354
|
+
};
|
|
8355
|
+
};
|
|
8356
|
+
};
|
|
8357
|
+
};
|
|
8358
|
+
};
|
|
8359
|
+
readonly queryReport: {
|
|
8360
|
+
readonly id: "analytics.reports.query";
|
|
8361
|
+
readonly method: "POST";
|
|
8362
|
+
readonly path: "/sites/{siteId}/reports";
|
|
8363
|
+
readonly visibility: "public";
|
|
8364
|
+
readonly semantics: {
|
|
8365
|
+
readonly kind: "query";
|
|
8366
|
+
readonly sideEffects: "none";
|
|
8367
|
+
readonly idempotent: true;
|
|
8368
|
+
readonly retry: "idempotent";
|
|
8369
|
+
readonly readConsistency: "primary";
|
|
8370
|
+
};
|
|
8371
|
+
readonly auth: {
|
|
8372
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
8373
|
+
readonly scopes: readonly ["analytics:execute"];
|
|
8374
|
+
readonly ownership: readonly [{
|
|
8375
|
+
readonly credential: "user_key";
|
|
8376
|
+
readonly rule: "authorized_site";
|
|
8377
|
+
}, {
|
|
8378
|
+
readonly credential: "partner_key";
|
|
8379
|
+
readonly rule: "authorized_site";
|
|
8380
|
+
}];
|
|
8381
|
+
};
|
|
8382
|
+
readonly request: {
|
|
8383
|
+
readonly params: z.ZodObject<{
|
|
8384
|
+
siteId: z.ZodString;
|
|
8385
|
+
}, z.core.$strict>;
|
|
8386
|
+
readonly query: null;
|
|
8387
|
+
readonly headers: z.ZodObject<{
|
|
8388
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
8389
|
+
}, z.core.$strict>;
|
|
6944
8390
|
readonly body: z.ZodObject<{
|
|
6945
8391
|
state: z.ZodObject<{
|
|
6946
8392
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6952,8 +8398,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6952
8398
|
googleNews: "googleNews";
|
|
6953
8399
|
}>>;
|
|
6954
8400
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
6955
|
-
date: "date";
|
|
6956
8401
|
country: "country";
|
|
8402
|
+
date: "date";
|
|
6957
8403
|
searchAppearance: "searchAppearance";
|
|
6958
8404
|
query: "query";
|
|
6959
8405
|
page: "page";
|
|
@@ -6972,8 +8418,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6972
8418
|
googleNews: "googleNews";
|
|
6973
8419
|
}>>;
|
|
6974
8420
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
6975
|
-
date: "date";
|
|
6976
8421
|
country: "country";
|
|
8422
|
+
date: "date";
|
|
6977
8423
|
searchAppearance: "searchAppearance";
|
|
6978
8424
|
query: "query";
|
|
6979
8425
|
page: "page";
|
|
@@ -7086,11 +8532,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7086
8532
|
readonly error: z.ZodObject<{
|
|
7087
8533
|
code: z.ZodEnum<{
|
|
7088
8534
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
7094
8540
|
contract_violation: "contract_violation";
|
|
7095
8541
|
}>;
|
|
7096
8542
|
message: z.ZodString;
|
|
@@ -7102,11 +8548,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7102
8548
|
readonly error: z.ZodObject<{
|
|
7103
8549
|
code: z.ZodEnum<{
|
|
7104
8550
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
7110
8556
|
contract_violation: "contract_violation";
|
|
7111
8557
|
}>;
|
|
7112
8558
|
message: z.ZodString;
|
|
@@ -7213,8 +8659,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7213
8659
|
googleNews: "googleNews";
|
|
7214
8660
|
}>>;
|
|
7215
8661
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
7216
|
-
date: "date";
|
|
7217
8662
|
country: "country";
|
|
8663
|
+
date: "date";
|
|
7218
8664
|
searchAppearance: "searchAppearance";
|
|
7219
8665
|
query: "query";
|
|
7220
8666
|
page: "page";
|
|
@@ -7233,8 +8679,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7233
8679
|
googleNews: "googleNews";
|
|
7234
8680
|
}>>;
|
|
7235
8681
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
7236
|
-
date: "date";
|
|
7237
8682
|
country: "country";
|
|
8683
|
+
date: "date";
|
|
7238
8684
|
searchAppearance: "searchAppearance";
|
|
7239
8685
|
query: "query";
|
|
7240
8686
|
page: "page";
|
|
@@ -7367,11 +8813,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7367
8813
|
readonly error: z.ZodObject<{
|
|
7368
8814
|
code: z.ZodEnum<{
|
|
7369
8815
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
7375
8821
|
contract_violation: "contract_violation";
|
|
7376
8822
|
}>;
|
|
7377
8823
|
message: z.ZodString;
|
|
@@ -7383,11 +8829,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7383
8829
|
readonly error: z.ZodObject<{
|
|
7384
8830
|
code: z.ZodEnum<{
|
|
7385
8831
|
rate_limited: "rate_limited";
|
|
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
|
-
internal_error: "internal_error";
|
|
7391
8837
|
contract_violation: "contract_violation";
|
|
7392
8838
|
}>;
|
|
7393
8839
|
message: z.ZodString;
|
|
@@ -7516,11 +8962,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7516
8962
|
readonly error: z.ZodObject<{
|
|
7517
8963
|
code: z.ZodEnum<{
|
|
7518
8964
|
rate_limited: "rate_limited";
|
|
8965
|
+
internal_error: "internal_error";
|
|
7519
8966
|
invalid_request: "invalid_request";
|
|
7520
8967
|
unauthorized: "unauthorized";
|
|
7521
8968
|
forbidden: "forbidden";
|
|
7522
8969
|
realtime_unavailable: "realtime_unavailable";
|
|
7523
|
-
internal_error: "internal_error";
|
|
7524
8970
|
contract_violation: "contract_violation";
|
|
7525
8971
|
}>;
|
|
7526
8972
|
message: z.ZodString;
|
|
@@ -7532,11 +8978,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7532
8978
|
readonly error: z.ZodObject<{
|
|
7533
8979
|
code: z.ZodEnum<{
|
|
7534
8980
|
rate_limited: "rate_limited";
|
|
8981
|
+
internal_error: "internal_error";
|
|
7535
8982
|
invalid_request: "invalid_request";
|
|
7536
8983
|
unauthorized: "unauthorized";
|
|
7537
8984
|
forbidden: "forbidden";
|
|
7538
8985
|
realtime_unavailable: "realtime_unavailable";
|
|
7539
|
-
internal_error: "internal_error";
|
|
7540
8986
|
contract_violation: "contract_violation";
|
|
7541
8987
|
}>;
|
|
7542
8988
|
message: z.ZodString;
|
|
@@ -7651,11 +9097,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7651
9097
|
readonly error: z.ZodObject<{
|
|
7652
9098
|
code: z.ZodEnum<{
|
|
7653
9099
|
rate_limited: "rate_limited";
|
|
9100
|
+
internal_error: "internal_error";
|
|
7654
9101
|
invalid_request: "invalid_request";
|
|
7655
9102
|
unauthorized: "unauthorized";
|
|
7656
9103
|
forbidden: "forbidden";
|
|
7657
9104
|
realtime_unavailable: "realtime_unavailable";
|
|
7658
|
-
internal_error: "internal_error";
|
|
7659
9105
|
contract_violation: "contract_violation";
|
|
7660
9106
|
}>;
|
|
7661
9107
|
message: z.ZodString;
|
|
@@ -7667,11 +9113,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7667
9113
|
readonly error: z.ZodObject<{
|
|
7668
9114
|
code: z.ZodEnum<{
|
|
7669
9115
|
rate_limited: "rate_limited";
|
|
9116
|
+
internal_error: "internal_error";
|
|
7670
9117
|
invalid_request: "invalid_request";
|
|
7671
9118
|
unauthorized: "unauthorized";
|
|
7672
9119
|
forbidden: "forbidden";
|
|
7673
9120
|
realtime_unavailable: "realtime_unavailable";
|
|
7674
|
-
internal_error: "internal_error";
|
|
7675
9121
|
contract_violation: "contract_violation";
|
|
7676
9122
|
}>;
|
|
7677
9123
|
message: z.ZodString;
|
|
@@ -7900,8 +9346,8 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7900
9346
|
type: z.ZodString;
|
|
7901
9347
|
id: z.ZodString;
|
|
7902
9348
|
kind: z.ZodEnum<{
|
|
7903
|
-
updated: "updated";
|
|
7904
9349
|
deleted: "deleted";
|
|
9350
|
+
updated: "updated";
|
|
7905
9351
|
created: "created";
|
|
7906
9352
|
}>;
|
|
7907
9353
|
}, z.core.$strict>;
|
|
@@ -7927,8 +9373,8 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7927
9373
|
type: z.ZodString;
|
|
7928
9374
|
id: z.ZodString;
|
|
7929
9375
|
kind: z.ZodEnum<{
|
|
7930
|
-
updated: "updated";
|
|
7931
9376
|
deleted: "deleted";
|
|
9377
|
+
updated: "updated";
|
|
7932
9378
|
created: "created";
|
|
7933
9379
|
}>;
|
|
7934
9380
|
}, z.core.$strict>>;
|
|
@@ -7961,8 +9407,8 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7961
9407
|
type: z.ZodString;
|
|
7962
9408
|
id: z.ZodString;
|
|
7963
9409
|
kind: z.ZodEnum<{
|
|
7964
|
-
updated: "updated";
|
|
7965
9410
|
deleted: "deleted";
|
|
9411
|
+
updated: "updated";
|
|
7966
9412
|
created: "created";
|
|
7967
9413
|
}>;
|
|
7968
9414
|
}, z.core.$strict>>;
|
|
@@ -7998,8 +9444,8 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7998
9444
|
type: z.ZodString;
|
|
7999
9445
|
id: z.ZodString;
|
|
8000
9446
|
kind: z.ZodEnum<{
|
|
8001
|
-
updated: "updated";
|
|
8002
9447
|
deleted: "deleted";
|
|
9448
|
+
updated: "updated";
|
|
8003
9449
|
created: "created";
|
|
8004
9450
|
}>;
|
|
8005
9451
|
}, z.core.$strict>>;
|
|
@@ -8031,8 +9477,8 @@ declare function createRealtimeV1Schemas(): {
|
|
|
8031
9477
|
type: z.ZodString;
|
|
8032
9478
|
id: z.ZodString;
|
|
8033
9479
|
kind: z.ZodEnum<{
|
|
8034
|
-
updated: "updated";
|
|
8035
9480
|
deleted: "deleted";
|
|
9481
|
+
updated: "updated";
|
|
8036
9482
|
created: "created";
|
|
8037
9483
|
}>;
|
|
8038
9484
|
}, z.core.$strict>>;
|
|
@@ -8127,8 +9573,8 @@ declare function createRealtimeV1Schemas(): {
|
|
|
8127
9573
|
type: z.ZodString;
|
|
8128
9574
|
id: z.ZodString;
|
|
8129
9575
|
kind: z.ZodEnum<{
|
|
8130
|
-
updated: "updated";
|
|
8131
9576
|
deleted: "deleted";
|
|
9577
|
+
updated: "updated";
|
|
8132
9578
|
created: "created";
|
|
8133
9579
|
}>;
|
|
8134
9580
|
}, z.core.$strict>>;
|
|
@@ -8177,11 +9623,11 @@ declare function createRealtimeV1Schemas(): {
|
|
|
8177
9623
|
type: z.ZodLiteral<"error">;
|
|
8178
9624
|
error: z.ZodObject<{
|
|
8179
9625
|
code: z.ZodEnum<{
|
|
8180
|
-
internal_error: "internal_error";
|
|
8181
9626
|
invalid_frame: "invalid_frame";
|
|
8182
9627
|
protocol_mismatch: "protocol_mismatch";
|
|
8183
9628
|
policy_violation: "policy_violation";
|
|
8184
9629
|
overloaded: "overloaded";
|
|
9630
|
+
internal_error: "internal_error";
|
|
8185
9631
|
}>;
|
|
8186
9632
|
message: z.ZodString;
|
|
8187
9633
|
retryable: z.ZodBoolean;
|
|
@@ -8250,8 +9696,8 @@ declare function createRealtimeV1Schemas(): {
|
|
|
8250
9696
|
type: z.ZodString;
|
|
8251
9697
|
id: z.ZodString;
|
|
8252
9698
|
kind: z.ZodEnum<{
|
|
8253
|
-
updated: "updated";
|
|
8254
9699
|
deleted: "deleted";
|
|
9700
|
+
updated: "updated";
|
|
8255
9701
|
created: "created";
|
|
8256
9702
|
}>;
|
|
8257
9703
|
}, z.core.$strict>>;
|
|
@@ -8283,8 +9729,8 @@ declare function createRealtimeV1Schemas(): {
|
|
|
8283
9729
|
type: z.ZodString;
|
|
8284
9730
|
id: z.ZodString;
|
|
8285
9731
|
kind: z.ZodEnum<{
|
|
8286
|
-
updated: "updated";
|
|
8287
9732
|
deleted: "deleted";
|
|
9733
|
+
updated: "updated";
|
|
8288
9734
|
created: "created";
|
|
8289
9735
|
}>;
|
|
8290
9736
|
}, z.core.$strict>>;
|
|
@@ -8321,8 +9767,8 @@ declare function createRealtimeV1Schemas(): {
|
|
|
8321
9767
|
type: z.ZodString;
|
|
8322
9768
|
id: z.ZodString;
|
|
8323
9769
|
kind: z.ZodEnum<{
|
|
8324
|
-
updated: "updated";
|
|
8325
9770
|
deleted: "deleted";
|
|
9771
|
+
updated: "updated";
|
|
8326
9772
|
created: "created";
|
|
8327
9773
|
}>;
|
|
8328
9774
|
}, z.core.$strict>>;
|
|
@@ -8369,11 +9815,11 @@ declare function createRealtimeV1Schemas(): {
|
|
|
8369
9815
|
type: z.ZodLiteral<"error">;
|
|
8370
9816
|
error: z.ZodObject<{
|
|
8371
9817
|
code: z.ZodEnum<{
|
|
8372
|
-
internal_error: "internal_error";
|
|
8373
9818
|
invalid_frame: "invalid_frame";
|
|
8374
9819
|
protocol_mismatch: "protocol_mismatch";
|
|
8375
9820
|
policy_violation: "policy_violation";
|
|
8376
9821
|
overloaded: "overloaded";
|
|
9822
|
+
internal_error: "internal_error";
|
|
8377
9823
|
}>;
|
|
8378
9824
|
message: z.ZodString;
|
|
8379
9825
|
retryable: z.ZodBoolean;
|