@gscdump/contracts 1.0.3 → 1.1.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 +3 -3
- package/dist/_chunks/schemas.d.mts +18 -18
- package/dist/v1/index.d.mts +1194 -203
- package/dist/v1/index.mjs +486 -1
- package/package.json +1 -1
package/dist/v1/index.d.mts
CHANGED
|
@@ -264,9 +264,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
264
264
|
type: z.ZodString;
|
|
265
265
|
id: z.ZodString;
|
|
266
266
|
kind: z.ZodEnum<{
|
|
267
|
-
created: "created";
|
|
268
267
|
updated: "updated";
|
|
269
268
|
deleted: "deleted";
|
|
269
|
+
created: "created";
|
|
270
270
|
}>;
|
|
271
271
|
}, z.core.$strict>;
|
|
272
272
|
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -291,9 +291,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
291
291
|
type: z.ZodString;
|
|
292
292
|
id: z.ZodString;
|
|
293
293
|
kind: z.ZodEnum<{
|
|
294
|
-
created: "created";
|
|
295
294
|
updated: "updated";
|
|
296
295
|
deleted: "deleted";
|
|
296
|
+
created: "created";
|
|
297
297
|
}>;
|
|
298
298
|
}, z.core.$strict>>;
|
|
299
299
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -325,9 +325,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
325
325
|
type: z.ZodString;
|
|
326
326
|
id: z.ZodString;
|
|
327
327
|
kind: z.ZodEnum<{
|
|
328
|
-
created: "created";
|
|
329
328
|
updated: "updated";
|
|
330
329
|
deleted: "deleted";
|
|
330
|
+
created: "created";
|
|
331
331
|
}>;
|
|
332
332
|
}, z.core.$strict>>;
|
|
333
333
|
delivery: z.ZodLiteral<"ephemeral">;
|
|
@@ -362,9 +362,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
362
362
|
type: z.ZodString;
|
|
363
363
|
id: z.ZodString;
|
|
364
364
|
kind: z.ZodEnum<{
|
|
365
|
-
created: "created";
|
|
366
365
|
updated: "updated";
|
|
367
366
|
deleted: "deleted";
|
|
367
|
+
created: "created";
|
|
368
368
|
}>;
|
|
369
369
|
}, z.core.$strict>>;
|
|
370
370
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -395,9 +395,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
395
395
|
type: z.ZodString;
|
|
396
396
|
id: z.ZodString;
|
|
397
397
|
kind: z.ZodEnum<{
|
|
398
|
-
created: "created";
|
|
399
398
|
updated: "updated";
|
|
400
399
|
deleted: "deleted";
|
|
400
|
+
created: "created";
|
|
401
401
|
}>;
|
|
402
402
|
}, z.core.$strict>>;
|
|
403
403
|
delivery: z.ZodLiteral<"ephemeral">;
|
|
@@ -491,9 +491,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
491
491
|
type: z.ZodString;
|
|
492
492
|
id: z.ZodString;
|
|
493
493
|
kind: z.ZodEnum<{
|
|
494
|
-
created: "created";
|
|
495
494
|
updated: "updated";
|
|
496
495
|
deleted: "deleted";
|
|
496
|
+
created: "created";
|
|
497
497
|
}>;
|
|
498
498
|
}, z.core.$strict>>;
|
|
499
499
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -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";
|
|
544
545
|
invalid_frame: "invalid_frame";
|
|
545
546
|
protocol_mismatch: "protocol_mismatch";
|
|
546
547
|
policy_violation: "policy_violation";
|
|
547
548
|
overloaded: "overloaded";
|
|
548
|
-
internal_error: "internal_error";
|
|
549
549
|
}>;
|
|
550
550
|
message: z.ZodString;
|
|
551
551
|
retryable: z.ZodBoolean;
|
|
@@ -614,9 +614,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
614
614
|
type: z.ZodString;
|
|
615
615
|
id: z.ZodString;
|
|
616
616
|
kind: z.ZodEnum<{
|
|
617
|
-
created: "created";
|
|
618
617
|
updated: "updated";
|
|
619
618
|
deleted: "deleted";
|
|
619
|
+
created: "created";
|
|
620
620
|
}>;
|
|
621
621
|
}, z.core.$strict>>;
|
|
622
622
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -647,9 +647,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
647
647
|
type: z.ZodString;
|
|
648
648
|
id: z.ZodString;
|
|
649
649
|
kind: z.ZodEnum<{
|
|
650
|
-
created: "created";
|
|
651
650
|
updated: "updated";
|
|
652
651
|
deleted: "deleted";
|
|
652
|
+
created: "created";
|
|
653
653
|
}>;
|
|
654
654
|
}, z.core.$strict>>;
|
|
655
655
|
delivery: z.ZodLiteral<"ephemeral">;
|
|
@@ -685,9 +685,9 @@ declare function createGscdumpV1Protocol(): {
|
|
|
685
685
|
type: z.ZodString;
|
|
686
686
|
id: z.ZodString;
|
|
687
687
|
kind: z.ZodEnum<{
|
|
688
|
-
created: "created";
|
|
689
688
|
updated: "updated";
|
|
690
689
|
deleted: "deleted";
|
|
690
|
+
created: "created";
|
|
691
691
|
}>;
|
|
692
692
|
}, z.core.$strict>>;
|
|
693
693
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -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";
|
|
736
737
|
invalid_frame: "invalid_frame";
|
|
737
738
|
protocol_mismatch: "protocol_mismatch";
|
|
738
739
|
policy_violation: "policy_violation";
|
|
739
740
|
overloaded: "overloaded";
|
|
740
|
-
internal_error: "internal_error";
|
|
741
741
|
}>;
|
|
742
742
|
message: z.ZodString;
|
|
743
743
|
retryable: z.ZodBoolean;
|
|
@@ -747,8 +747,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
747
747
|
requestMetadata: z.ZodObject<{
|
|
748
748
|
requestId: z.ZodString;
|
|
749
749
|
surface: z.ZodEnum<{
|
|
750
|
-
partner: "partner";
|
|
751
750
|
analytics: "analytics";
|
|
751
|
+
partner: "partner";
|
|
752
752
|
realtime: "realtime";
|
|
753
753
|
}>;
|
|
754
754
|
version: z.ZodLiteral<"1.0">;
|
|
@@ -759,16 +759,16 @@ declare function createGscdumpV1Protocol(): {
|
|
|
759
759
|
responseMeta: CompatibleResponseSchema<z.ZodObject<{
|
|
760
760
|
readonly requestId: z.ZodString;
|
|
761
761
|
readonly surface: z.ZodEnum<{
|
|
762
|
-
partner: "partner";
|
|
763
762
|
analytics: "analytics";
|
|
763
|
+
partner: "partner";
|
|
764
764
|
realtime: "realtime";
|
|
765
765
|
}>;
|
|
766
766
|
readonly version: z.ZodLiteral<"1.0">;
|
|
767
767
|
}, z.core.$strip>, z.ZodObject<{
|
|
768
768
|
readonly requestId: z.ZodString;
|
|
769
769
|
readonly surface: z.ZodEnum<{
|
|
770
|
-
partner: "partner";
|
|
771
770
|
analytics: "analytics";
|
|
771
|
+
partner: "partner";
|
|
772
772
|
realtime: "realtime";
|
|
773
773
|
}>;
|
|
774
774
|
readonly version: z.ZodLiteral<"1.0">;
|
|
@@ -776,14 +776,14 @@ declare function createGscdumpV1Protocol(): {
|
|
|
776
776
|
errorEnvelope: CompatibleResponseSchema<z.ZodObject<{
|
|
777
777
|
readonly error: z.ZodObject<{
|
|
778
778
|
code: z.ZodEnum<{
|
|
779
|
-
|
|
779
|
+
rate_limited: "rate_limited";
|
|
780
780
|
invalid_request: "invalid_request";
|
|
781
781
|
unauthorized: "unauthorized";
|
|
782
782
|
forbidden: "forbidden";
|
|
783
783
|
user_not_found: "user_not_found";
|
|
784
784
|
site_not_found: "site_not_found";
|
|
785
|
-
rate_limited: "rate_limited";
|
|
786
785
|
realtime_unavailable: "realtime_unavailable";
|
|
786
|
+
internal_error: "internal_error";
|
|
787
787
|
contract_violation: "contract_violation";
|
|
788
788
|
}>;
|
|
789
789
|
message: z.ZodString;
|
|
@@ -794,14 +794,14 @@ declare function createGscdumpV1Protocol(): {
|
|
|
794
794
|
}, z.core.$strip>, z.ZodObject<{
|
|
795
795
|
readonly error: z.ZodObject<{
|
|
796
796
|
code: z.ZodEnum<{
|
|
797
|
-
|
|
797
|
+
rate_limited: "rate_limited";
|
|
798
798
|
invalid_request: "invalid_request";
|
|
799
799
|
unauthorized: "unauthorized";
|
|
800
800
|
forbidden: "forbidden";
|
|
801
801
|
user_not_found: "user_not_found";
|
|
802
802
|
site_not_found: "site_not_found";
|
|
803
|
-
rate_limited: "rate_limited";
|
|
804
803
|
realtime_unavailable: "realtime_unavailable";
|
|
804
|
+
internal_error: "internal_error";
|
|
805
805
|
contract_violation: "contract_violation";
|
|
806
806
|
}>;
|
|
807
807
|
message: z.ZodString;
|
|
@@ -822,12 +822,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
822
822
|
}>>;
|
|
823
823
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
824
824
|
date: "date";
|
|
825
|
-
|
|
825
|
+
country: "country";
|
|
826
|
+
searchAppearance: "searchAppearance";
|
|
826
827
|
query: "query";
|
|
828
|
+
page: "page";
|
|
827
829
|
queryCanonical: "queryCanonical";
|
|
828
|
-
country: "country";
|
|
829
830
|
device: "device";
|
|
830
|
-
searchAppearance: "searchAppearance";
|
|
831
831
|
hour: "hour";
|
|
832
832
|
}>>;
|
|
833
833
|
}, z.core.$loose>;
|
|
@@ -842,12 +842,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
842
842
|
}>>;
|
|
843
843
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
844
844
|
date: "date";
|
|
845
|
-
|
|
845
|
+
country: "country";
|
|
846
|
+
searchAppearance: "searchAppearance";
|
|
846
847
|
query: "query";
|
|
848
|
+
page: "page";
|
|
847
849
|
queryCanonical: "queryCanonical";
|
|
848
|
-
country: "country";
|
|
849
850
|
device: "device";
|
|
850
|
-
searchAppearance: "searchAppearance";
|
|
851
851
|
hour: "hour";
|
|
852
852
|
}>>;
|
|
853
853
|
}, z.core.$loose>>;
|
|
@@ -979,12 +979,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
979
979
|
}>>;
|
|
980
980
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
981
981
|
date: "date";
|
|
982
|
-
|
|
982
|
+
country: "country";
|
|
983
|
+
searchAppearance: "searchAppearance";
|
|
983
984
|
query: "query";
|
|
985
|
+
page: "page";
|
|
984
986
|
queryCanonical: "queryCanonical";
|
|
985
|
-
country: "country";
|
|
986
987
|
device: "device";
|
|
987
|
-
searchAppearance: "searchAppearance";
|
|
988
988
|
hour: "hour";
|
|
989
989
|
}>>;
|
|
990
990
|
}, z.core.$loose>;
|
|
@@ -999,12 +999,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
999
999
|
}>>;
|
|
1000
1000
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1001
1001
|
date: "date";
|
|
1002
|
-
|
|
1002
|
+
country: "country";
|
|
1003
|
+
searchAppearance: "searchAppearance";
|
|
1003
1004
|
query: "query";
|
|
1005
|
+
page: "page";
|
|
1004
1006
|
queryCanonical: "queryCanonical";
|
|
1005
|
-
country: "country";
|
|
1006
1007
|
device: "device";
|
|
1007
|
-
searchAppearance: "searchAppearance";
|
|
1008
1008
|
hour: "hour";
|
|
1009
1009
|
}>>;
|
|
1010
1010
|
}, z.core.$loose>>;
|
|
@@ -1107,12 +1107,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1107
1107
|
analyticsRowsRequest: z.ZodObject<{
|
|
1108
1108
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1109
1109
|
date: "date";
|
|
1110
|
-
|
|
1110
|
+
country: "country";
|
|
1111
|
+
searchAppearance: "searchAppearance";
|
|
1111
1112
|
query: "query";
|
|
1113
|
+
page: "page";
|
|
1112
1114
|
queryCanonical: "queryCanonical";
|
|
1113
|
-
country: "country";
|
|
1114
1115
|
device: "device";
|
|
1115
|
-
searchAppearance: "searchAppearance";
|
|
1116
1116
|
hour: "hour";
|
|
1117
1117
|
}>>;
|
|
1118
1118
|
metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -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";
|
|
1599
1600
|
pending: "pending";
|
|
1600
1601
|
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";
|
|
1673
1674
|
pending: "pending";
|
|
1674
1675
|
partial: "partial";
|
|
1675
|
-
complete: "complete";
|
|
1676
1676
|
}>;
|
|
1677
1677
|
indexingProgress: z.ZodNumber;
|
|
1678
1678
|
sitemapTotal: z.ZodNumber;
|
|
@@ -1692,8 +1692,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1692
1692
|
limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
1693
1693
|
offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
1694
1694
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1695
|
-
pending: "pending";
|
|
1696
1695
|
indexed: "indexed";
|
|
1696
|
+
pending: "pending";
|
|
1697
1697
|
not_indexed: "not_indexed";
|
|
1698
1698
|
}>>;
|
|
1699
1699
|
issue: z.ZodOptional<z.ZodString>;
|
|
@@ -2103,6 +2103,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2103
2103
|
registerSiteRequest: z.ZodObject<{
|
|
2104
2104
|
siteUrl: z.ZodString;
|
|
2105
2105
|
gscPropertyUrl: z.ZodOptional<z.ZodString>;
|
|
2106
|
+
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
2106
2107
|
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
2107
2108
|
requestedUrl: z.ZodOptional<z.ZodString>;
|
|
2108
2109
|
externalSiteUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2123,7 +2124,6 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2123
2124
|
discover: "discover";
|
|
2124
2125
|
googleNews: "googleNews";
|
|
2125
2126
|
}>>>;
|
|
2126
|
-
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
2127
2127
|
}, z.core.$strict>;
|
|
2128
2128
|
sitemapChangesQuery: z.ZodObject<{
|
|
2129
2129
|
days: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
@@ -3107,12 +3107,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3107
3107
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
3108
3108
|
readonly error: z.ZodObject<{
|
|
3109
3109
|
code: z.ZodEnum<{
|
|
3110
|
-
|
|
3110
|
+
rate_limited: "rate_limited";
|
|
3111
3111
|
invalid_request: "invalid_request";
|
|
3112
3112
|
unauthorized: "unauthorized";
|
|
3113
3113
|
forbidden: "forbidden";
|
|
3114
3114
|
user_not_found: "user_not_found";
|
|
3115
|
-
|
|
3115
|
+
internal_error: "internal_error";
|
|
3116
3116
|
contract_violation: "contract_violation";
|
|
3117
3117
|
}>;
|
|
3118
3118
|
message: z.ZodString;
|
|
@@ -3123,12 +3123,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3123
3123
|
}, z.core.$strip>, z.ZodObject<{
|
|
3124
3124
|
readonly error: z.ZodObject<{
|
|
3125
3125
|
code: z.ZodEnum<{
|
|
3126
|
-
|
|
3126
|
+
rate_limited: "rate_limited";
|
|
3127
3127
|
invalid_request: "invalid_request";
|
|
3128
3128
|
unauthorized: "unauthorized";
|
|
3129
3129
|
forbidden: "forbidden";
|
|
3130
3130
|
user_not_found: "user_not_found";
|
|
3131
|
-
|
|
3131
|
+
internal_error: "internal_error";
|
|
3132
3132
|
contract_violation: "contract_violation";
|
|
3133
3133
|
}>;
|
|
3134
3134
|
message: z.ZodString;
|
|
@@ -3284,12 +3284,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3284
3284
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
3285
3285
|
readonly error: z.ZodObject<{
|
|
3286
3286
|
code: z.ZodEnum<{
|
|
3287
|
-
|
|
3287
|
+
rate_limited: "rate_limited";
|
|
3288
3288
|
invalid_request: "invalid_request";
|
|
3289
3289
|
unauthorized: "unauthorized";
|
|
3290
3290
|
forbidden: "forbidden";
|
|
3291
3291
|
user_not_found: "user_not_found";
|
|
3292
|
-
|
|
3292
|
+
internal_error: "internal_error";
|
|
3293
3293
|
contract_violation: "contract_violation";
|
|
3294
3294
|
}>;
|
|
3295
3295
|
message: z.ZodString;
|
|
@@ -3300,12 +3300,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3300
3300
|
}, z.core.$strip>, z.ZodObject<{
|
|
3301
3301
|
readonly error: z.ZodObject<{
|
|
3302
3302
|
code: z.ZodEnum<{
|
|
3303
|
-
|
|
3303
|
+
rate_limited: "rate_limited";
|
|
3304
3304
|
invalid_request: "invalid_request";
|
|
3305
3305
|
unauthorized: "unauthorized";
|
|
3306
3306
|
forbidden: "forbidden";
|
|
3307
3307
|
user_not_found: "user_not_found";
|
|
3308
|
-
|
|
3308
|
+
internal_error: "internal_error";
|
|
3309
3309
|
contract_violation: "contract_violation";
|
|
3310
3310
|
}>;
|
|
3311
3311
|
message: z.ZodString;
|
|
@@ -3385,6 +3385,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3385
3385
|
readonly body: z.ZodObject<{
|
|
3386
3386
|
siteUrl: z.ZodString;
|
|
3387
3387
|
gscPropertyUrl: z.ZodOptional<z.ZodString>;
|
|
3388
|
+
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
3388
3389
|
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
3389
3390
|
requestedUrl: z.ZodOptional<z.ZodString>;
|
|
3390
3391
|
externalSiteUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -3405,7 +3406,6 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3405
3406
|
discover: "discover";
|
|
3406
3407
|
googleNews: "googleNews";
|
|
3407
3408
|
}>>>;
|
|
3408
|
-
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
3409
3409
|
}, z.core.$strict>;
|
|
3410
3410
|
};
|
|
3411
3411
|
readonly responses: {
|
|
@@ -3729,12 +3729,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3729
3729
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
3730
3730
|
readonly error: z.ZodObject<{
|
|
3731
3731
|
code: z.ZodEnum<{
|
|
3732
|
-
|
|
3732
|
+
rate_limited: "rate_limited";
|
|
3733
3733
|
invalid_request: "invalid_request";
|
|
3734
3734
|
unauthorized: "unauthorized";
|
|
3735
3735
|
forbidden: "forbidden";
|
|
3736
3736
|
user_not_found: "user_not_found";
|
|
3737
|
-
|
|
3737
|
+
internal_error: "internal_error";
|
|
3738
3738
|
contract_violation: "contract_violation";
|
|
3739
3739
|
}>;
|
|
3740
3740
|
message: z.ZodString;
|
|
@@ -3745,12 +3745,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3745
3745
|
}, z.core.$strip>, z.ZodObject<{
|
|
3746
3746
|
readonly error: z.ZodObject<{
|
|
3747
3747
|
code: z.ZodEnum<{
|
|
3748
|
-
|
|
3748
|
+
rate_limited: "rate_limited";
|
|
3749
3749
|
invalid_request: "invalid_request";
|
|
3750
3750
|
unauthorized: "unauthorized";
|
|
3751
3751
|
forbidden: "forbidden";
|
|
3752
3752
|
user_not_found: "user_not_found";
|
|
3753
|
-
|
|
3753
|
+
internal_error: "internal_error";
|
|
3754
3754
|
contract_violation: "contract_violation";
|
|
3755
3755
|
}>;
|
|
3756
3756
|
message: z.ZodString;
|
|
@@ -3871,12 +3871,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3871
3871
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
3872
3872
|
readonly error: z.ZodObject<{
|
|
3873
3873
|
code: z.ZodEnum<{
|
|
3874
|
-
|
|
3874
|
+
rate_limited: "rate_limited";
|
|
3875
3875
|
invalid_request: "invalid_request";
|
|
3876
3876
|
unauthorized: "unauthorized";
|
|
3877
3877
|
forbidden: "forbidden";
|
|
3878
3878
|
user_not_found: "user_not_found";
|
|
3879
|
-
|
|
3879
|
+
internal_error: "internal_error";
|
|
3880
3880
|
contract_violation: "contract_violation";
|
|
3881
3881
|
}>;
|
|
3882
3882
|
message: z.ZodString;
|
|
@@ -3887,12 +3887,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3887
3887
|
}, z.core.$strip>, z.ZodObject<{
|
|
3888
3888
|
readonly error: z.ZodObject<{
|
|
3889
3889
|
code: z.ZodEnum<{
|
|
3890
|
-
|
|
3890
|
+
rate_limited: "rate_limited";
|
|
3891
3891
|
invalid_request: "invalid_request";
|
|
3892
3892
|
unauthorized: "unauthorized";
|
|
3893
3893
|
forbidden: "forbidden";
|
|
3894
3894
|
user_not_found: "user_not_found";
|
|
3895
|
-
|
|
3895
|
+
internal_error: "internal_error";
|
|
3896
3896
|
contract_violation: "contract_violation";
|
|
3897
3897
|
}>;
|
|
3898
3898
|
message: z.ZodString;
|
|
@@ -4043,12 +4043,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4043
4043
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
4044
4044
|
readonly error: z.ZodObject<{
|
|
4045
4045
|
code: z.ZodEnum<{
|
|
4046
|
-
|
|
4046
|
+
rate_limited: "rate_limited";
|
|
4047
4047
|
invalid_request: "invalid_request";
|
|
4048
4048
|
unauthorized: "unauthorized";
|
|
4049
4049
|
forbidden: "forbidden";
|
|
4050
4050
|
user_not_found: "user_not_found";
|
|
4051
|
-
|
|
4051
|
+
internal_error: "internal_error";
|
|
4052
4052
|
contract_violation: "contract_violation";
|
|
4053
4053
|
}>;
|
|
4054
4054
|
message: z.ZodString;
|
|
@@ -4059,12 +4059,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4059
4059
|
}, z.core.$strip>, z.ZodObject<{
|
|
4060
4060
|
readonly error: z.ZodObject<{
|
|
4061
4061
|
code: z.ZodEnum<{
|
|
4062
|
-
|
|
4062
|
+
rate_limited: "rate_limited";
|
|
4063
4063
|
invalid_request: "invalid_request";
|
|
4064
4064
|
unauthorized: "unauthorized";
|
|
4065
4065
|
forbidden: "forbidden";
|
|
4066
4066
|
user_not_found: "user_not_found";
|
|
4067
|
-
|
|
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";
|
|
4211
4212
|
pending: "pending";
|
|
4212
4213
|
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";
|
|
4285
4286
|
pending: "pending";
|
|
4286
4287
|
partial: "partial";
|
|
4287
|
-
complete: "complete";
|
|
4288
4288
|
}>;
|
|
4289
4289
|
indexingProgress: z.ZodNumber;
|
|
4290
4290
|
sitemapTotal: z.ZodNumber;
|
|
@@ -4305,12 +4305,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4305
4305
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
4306
4306
|
readonly error: z.ZodObject<{
|
|
4307
4307
|
code: z.ZodEnum<{
|
|
4308
|
-
|
|
4308
|
+
rate_limited: "rate_limited";
|
|
4309
4309
|
invalid_request: "invalid_request";
|
|
4310
4310
|
unauthorized: "unauthorized";
|
|
4311
4311
|
forbidden: "forbidden";
|
|
4312
4312
|
site_not_found: "site_not_found";
|
|
4313
|
-
|
|
4313
|
+
internal_error: "internal_error";
|
|
4314
4314
|
contract_violation: "contract_violation";
|
|
4315
4315
|
}>;
|
|
4316
4316
|
message: z.ZodString;
|
|
@@ -4321,12 +4321,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4321
4321
|
}, z.core.$strip>, z.ZodObject<{
|
|
4322
4322
|
readonly error: z.ZodObject<{
|
|
4323
4323
|
code: z.ZodEnum<{
|
|
4324
|
-
|
|
4324
|
+
rate_limited: "rate_limited";
|
|
4325
4325
|
invalid_request: "invalid_request";
|
|
4326
4326
|
unauthorized: "unauthorized";
|
|
4327
4327
|
forbidden: "forbidden";
|
|
4328
4328
|
site_not_found: "site_not_found";
|
|
4329
|
-
|
|
4329
|
+
internal_error: "internal_error";
|
|
4330
4330
|
contract_violation: "contract_violation";
|
|
4331
4331
|
}>;
|
|
4332
4332
|
message: z.ZodString;
|
|
@@ -4433,8 +4433,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4433
4433
|
limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
4434
4434
|
offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
4435
4435
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4436
|
-
pending: "pending";
|
|
4437
4436
|
indexed: "indexed";
|
|
4437
|
+
pending: "pending";
|
|
4438
4438
|
not_indexed: "not_indexed";
|
|
4439
4439
|
}>>;
|
|
4440
4440
|
issue: z.ZodOptional<z.ZodString>;
|
|
@@ -4539,12 +4539,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4539
4539
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
4540
4540
|
readonly error: z.ZodObject<{
|
|
4541
4541
|
code: z.ZodEnum<{
|
|
4542
|
-
|
|
4542
|
+
rate_limited: "rate_limited";
|
|
4543
4543
|
invalid_request: "invalid_request";
|
|
4544
4544
|
unauthorized: "unauthorized";
|
|
4545
4545
|
forbidden: "forbidden";
|
|
4546
4546
|
site_not_found: "site_not_found";
|
|
4547
|
-
|
|
4547
|
+
internal_error: "internal_error";
|
|
4548
4548
|
contract_violation: "contract_violation";
|
|
4549
4549
|
}>;
|
|
4550
4550
|
message: z.ZodString;
|
|
@@ -4555,12 +4555,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4555
4555
|
}, z.core.$strip>, z.ZodObject<{
|
|
4556
4556
|
readonly error: z.ZodObject<{
|
|
4557
4557
|
code: z.ZodEnum<{
|
|
4558
|
-
|
|
4558
|
+
rate_limited: "rate_limited";
|
|
4559
4559
|
invalid_request: "invalid_request";
|
|
4560
4560
|
unauthorized: "unauthorized";
|
|
4561
4561
|
forbidden: "forbidden";
|
|
4562
4562
|
site_not_found: "site_not_found";
|
|
4563
|
-
|
|
4563
|
+
internal_error: "internal_error";
|
|
4564
4564
|
contract_violation: "contract_violation";
|
|
4565
4565
|
}>;
|
|
4566
4566
|
message: z.ZodString;
|
|
@@ -4758,12 +4758,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4758
4758
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
4759
4759
|
readonly error: z.ZodObject<{
|
|
4760
4760
|
code: z.ZodEnum<{
|
|
4761
|
-
|
|
4761
|
+
rate_limited: "rate_limited";
|
|
4762
4762
|
invalid_request: "invalid_request";
|
|
4763
4763
|
unauthorized: "unauthorized";
|
|
4764
4764
|
forbidden: "forbidden";
|
|
4765
4765
|
site_not_found: "site_not_found";
|
|
4766
|
-
|
|
4766
|
+
internal_error: "internal_error";
|
|
4767
4767
|
contract_violation: "contract_violation";
|
|
4768
4768
|
}>;
|
|
4769
4769
|
message: z.ZodString;
|
|
@@ -4774,12 +4774,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4774
4774
|
}, z.core.$strip>, z.ZodObject<{
|
|
4775
4775
|
readonly error: z.ZodObject<{
|
|
4776
4776
|
code: z.ZodEnum<{
|
|
4777
|
-
|
|
4777
|
+
rate_limited: "rate_limited";
|
|
4778
4778
|
invalid_request: "invalid_request";
|
|
4779
4779
|
unauthorized: "unauthorized";
|
|
4780
4780
|
forbidden: "forbidden";
|
|
4781
4781
|
site_not_found: "site_not_found";
|
|
4782
|
-
|
|
4782
|
+
internal_error: "internal_error";
|
|
4783
4783
|
contract_violation: "contract_violation";
|
|
4784
4784
|
}>;
|
|
4785
4785
|
message: z.ZodString;
|
|
@@ -4946,12 +4946,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4946
4946
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
4947
4947
|
readonly error: z.ZodObject<{
|
|
4948
4948
|
code: z.ZodEnum<{
|
|
4949
|
-
|
|
4949
|
+
rate_limited: "rate_limited";
|
|
4950
4950
|
invalid_request: "invalid_request";
|
|
4951
4951
|
unauthorized: "unauthorized";
|
|
4952
4952
|
forbidden: "forbidden";
|
|
4953
4953
|
site_not_found: "site_not_found";
|
|
4954
|
-
|
|
4954
|
+
internal_error: "internal_error";
|
|
4955
4955
|
contract_violation: "contract_violation";
|
|
4956
4956
|
}>;
|
|
4957
4957
|
message: z.ZodString;
|
|
@@ -4962,12 +4962,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
4962
4962
|
}, z.core.$strip>, z.ZodObject<{
|
|
4963
4963
|
readonly error: z.ZodObject<{
|
|
4964
4964
|
code: z.ZodEnum<{
|
|
4965
|
-
|
|
4965
|
+
rate_limited: "rate_limited";
|
|
4966
4966
|
invalid_request: "invalid_request";
|
|
4967
4967
|
unauthorized: "unauthorized";
|
|
4968
4968
|
forbidden: "forbidden";
|
|
4969
4969
|
site_not_found: "site_not_found";
|
|
4970
|
-
|
|
4970
|
+
internal_error: "internal_error";
|
|
4971
4971
|
contract_violation: "contract_violation";
|
|
4972
4972
|
}>;
|
|
4973
4973
|
message: z.ZodString;
|
|
@@ -5108,12 +5108,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5108
5108
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
5109
5109
|
readonly error: z.ZodObject<{
|
|
5110
5110
|
code: z.ZodEnum<{
|
|
5111
|
-
|
|
5111
|
+
rate_limited: "rate_limited";
|
|
5112
5112
|
invalid_request: "invalid_request";
|
|
5113
5113
|
unauthorized: "unauthorized";
|
|
5114
5114
|
forbidden: "forbidden";
|
|
5115
5115
|
site_not_found: "site_not_found";
|
|
5116
|
-
|
|
5116
|
+
internal_error: "internal_error";
|
|
5117
5117
|
contract_violation: "contract_violation";
|
|
5118
5118
|
}>;
|
|
5119
5119
|
message: z.ZodString;
|
|
@@ -5124,12 +5124,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5124
5124
|
}, z.core.$strip>, z.ZodObject<{
|
|
5125
5125
|
readonly error: z.ZodObject<{
|
|
5126
5126
|
code: z.ZodEnum<{
|
|
5127
|
-
|
|
5127
|
+
rate_limited: "rate_limited";
|
|
5128
5128
|
invalid_request: "invalid_request";
|
|
5129
5129
|
unauthorized: "unauthorized";
|
|
5130
5130
|
forbidden: "forbidden";
|
|
5131
5131
|
site_not_found: "site_not_found";
|
|
5132
|
-
|
|
5132
|
+
internal_error: "internal_error";
|
|
5133
5133
|
contract_violation: "contract_violation";
|
|
5134
5134
|
}>;
|
|
5135
5135
|
message: z.ZodString;
|
|
@@ -5317,12 +5317,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5317
5317
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
5318
5318
|
readonly error: z.ZodObject<{
|
|
5319
5319
|
code: z.ZodEnum<{
|
|
5320
|
-
|
|
5320
|
+
rate_limited: "rate_limited";
|
|
5321
5321
|
invalid_request: "invalid_request";
|
|
5322
5322
|
unauthorized: "unauthorized";
|
|
5323
5323
|
forbidden: "forbidden";
|
|
5324
5324
|
site_not_found: "site_not_found";
|
|
5325
|
-
|
|
5325
|
+
internal_error: "internal_error";
|
|
5326
5326
|
contract_violation: "contract_violation";
|
|
5327
5327
|
}>;
|
|
5328
5328
|
message: z.ZodString;
|
|
@@ -5333,12 +5333,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5333
5333
|
}, z.core.$strip>, z.ZodObject<{
|
|
5334
5334
|
readonly error: z.ZodObject<{
|
|
5335
5335
|
code: z.ZodEnum<{
|
|
5336
|
-
|
|
5336
|
+
rate_limited: "rate_limited";
|
|
5337
5337
|
invalid_request: "invalid_request";
|
|
5338
5338
|
unauthorized: "unauthorized";
|
|
5339
5339
|
forbidden: "forbidden";
|
|
5340
5340
|
site_not_found: "site_not_found";
|
|
5341
|
-
|
|
5341
|
+
internal_error: "internal_error";
|
|
5342
5342
|
contract_violation: "contract_violation";
|
|
5343
5343
|
}>;
|
|
5344
5344
|
message: z.ZodString;
|
|
@@ -5515,12 +5515,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5515
5515
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
5516
5516
|
readonly error: z.ZodObject<{
|
|
5517
5517
|
code: z.ZodEnum<{
|
|
5518
|
-
|
|
5518
|
+
rate_limited: "rate_limited";
|
|
5519
5519
|
invalid_request: "invalid_request";
|
|
5520
5520
|
unauthorized: "unauthorized";
|
|
5521
5521
|
forbidden: "forbidden";
|
|
5522
5522
|
site_not_found: "site_not_found";
|
|
5523
|
-
|
|
5523
|
+
internal_error: "internal_error";
|
|
5524
5524
|
contract_violation: "contract_violation";
|
|
5525
5525
|
}>;
|
|
5526
5526
|
message: z.ZodString;
|
|
@@ -5531,12 +5531,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5531
5531
|
}, z.core.$strip>, z.ZodObject<{
|
|
5532
5532
|
readonly error: z.ZodObject<{
|
|
5533
5533
|
code: z.ZodEnum<{
|
|
5534
|
-
|
|
5534
|
+
rate_limited: "rate_limited";
|
|
5535
5535
|
invalid_request: "invalid_request";
|
|
5536
5536
|
unauthorized: "unauthorized";
|
|
5537
5537
|
forbidden: "forbidden";
|
|
5538
5538
|
site_not_found: "site_not_found";
|
|
5539
|
-
|
|
5539
|
+
internal_error: "internal_error";
|
|
5540
5540
|
contract_violation: "contract_violation";
|
|
5541
5541
|
}>;
|
|
5542
5542
|
message: z.ZodString;
|
|
@@ -5652,12 +5652,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5652
5652
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
5653
5653
|
readonly error: z.ZodObject<{
|
|
5654
5654
|
code: z.ZodEnum<{
|
|
5655
|
-
|
|
5655
|
+
rate_limited: "rate_limited";
|
|
5656
5656
|
invalid_request: "invalid_request";
|
|
5657
5657
|
unauthorized: "unauthorized";
|
|
5658
5658
|
forbidden: "forbidden";
|
|
5659
5659
|
site_not_found: "site_not_found";
|
|
5660
|
-
|
|
5660
|
+
internal_error: "internal_error";
|
|
5661
5661
|
contract_violation: "contract_violation";
|
|
5662
5662
|
}>;
|
|
5663
5663
|
message: z.ZodString;
|
|
@@ -5668,12 +5668,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5668
5668
|
}, z.core.$strip>, z.ZodObject<{
|
|
5669
5669
|
readonly error: z.ZodObject<{
|
|
5670
5670
|
code: z.ZodEnum<{
|
|
5671
|
-
|
|
5671
|
+
rate_limited: "rate_limited";
|
|
5672
5672
|
invalid_request: "invalid_request";
|
|
5673
5673
|
unauthorized: "unauthorized";
|
|
5674
5674
|
forbidden: "forbidden";
|
|
5675
5675
|
site_not_found: "site_not_found";
|
|
5676
|
-
|
|
5676
|
+
internal_error: "internal_error";
|
|
5677
5677
|
contract_violation: "contract_violation";
|
|
5678
5678
|
}>;
|
|
5679
5679
|
message: z.ZodString;
|
|
@@ -5723,12 +5723,10 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5723
5723
|
};
|
|
5724
5724
|
};
|
|
5725
5725
|
};
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
readonly
|
|
5730
|
-
readonly method: "POST";
|
|
5731
|
-
readonly path: "/sites/{siteId}/rows";
|
|
5726
|
+
readonly getCanonicalMismatches: {
|
|
5727
|
+
readonly id: "partner.sites.canonical.mismatches.get";
|
|
5728
|
+
readonly method: "GET";
|
|
5729
|
+
readonly path: "/sites/{siteId}/canonical-mismatches";
|
|
5732
5730
|
readonly visibility: "public";
|
|
5733
5731
|
readonly semantics: {
|
|
5734
5732
|
readonly kind: "query";
|
|
@@ -5739,7 +5737,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5739
5737
|
};
|
|
5740
5738
|
readonly auth: {
|
|
5741
5739
|
readonly credentials: readonly ["user_key", "partner_key"];
|
|
5742
|
-
readonly scopes: readonly ["
|
|
5740
|
+
readonly scopes: readonly ["indexing:read"];
|
|
5743
5741
|
readonly ownership: readonly [{
|
|
5744
5742
|
readonly credential: "user_key";
|
|
5745
5743
|
readonly rule: "authorized_site";
|
|
@@ -5756,70 +5754,1063 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5756
5754
|
readonly headers: z.ZodObject<{
|
|
5757
5755
|
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
5758
5756
|
}, z.core.$strict>;
|
|
5759
|
-
readonly body:
|
|
5760
|
-
dimensions: z.ZodArray<z.ZodEnum<{
|
|
5761
|
-
date: "date";
|
|
5762
|
-
page: "page";
|
|
5763
|
-
query: "query";
|
|
5764
|
-
queryCanonical: "queryCanonical";
|
|
5765
|
-
country: "country";
|
|
5766
|
-
device: "device";
|
|
5767
|
-
searchAppearance: "searchAppearance";
|
|
5768
|
-
hour: "hour";
|
|
5769
|
-
}>>;
|
|
5770
|
-
metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5771
|
-
clicks: "clicks";
|
|
5772
|
-
impressions: "impressions";
|
|
5773
|
-
ctr: "ctr";
|
|
5774
|
-
position: "position";
|
|
5775
|
-
}>>>;
|
|
5776
|
-
filter: z.ZodOptional<z.ZodType<NormalizedFilterV1, unknown, z.core.$ZodTypeInternals<NormalizedFilterV1, unknown>>>;
|
|
5777
|
-
prefilter: z.ZodOptional<z.ZodType<NormalizedFilterV1, unknown, z.core.$ZodTypeInternals<NormalizedFilterV1, unknown>>>;
|
|
5778
|
-
orderBy: z.ZodOptional<z.ZodObject<{
|
|
5779
|
-
column: z.ZodEnum<{
|
|
5780
|
-
date: "date";
|
|
5781
|
-
clicks: "clicks";
|
|
5782
|
-
impressions: "impressions";
|
|
5783
|
-
ctr: "ctr";
|
|
5784
|
-
position: "position";
|
|
5785
|
-
}>;
|
|
5786
|
-
dir: z.ZodEnum<{
|
|
5787
|
-
asc: "asc";
|
|
5788
|
-
desc: "desc";
|
|
5789
|
-
}>;
|
|
5790
|
-
}, z.core.$strict>>;
|
|
5791
|
-
rowLimit: z.ZodOptional<z.ZodNumber>;
|
|
5792
|
-
startRow: z.ZodOptional<z.ZodNumber>;
|
|
5793
|
-
dataState: z.ZodOptional<z.ZodEnum<{
|
|
5794
|
-
final: "final";
|
|
5795
|
-
all: "all";
|
|
5796
|
-
hourly_all: "hourly_all";
|
|
5797
|
-
}>>;
|
|
5798
|
-
aggregationType: z.ZodOptional<z.ZodEnum<{
|
|
5799
|
-
auto: "auto";
|
|
5800
|
-
byPage: "byPage";
|
|
5801
|
-
byProperty: "byProperty";
|
|
5802
|
-
byNewsShowcasePanel: "byNewsShowcasePanel";
|
|
5803
|
-
}>>;
|
|
5804
|
-
searchType: z.ZodOptional<z.ZodEnum<{
|
|
5805
|
-
web: "web";
|
|
5806
|
-
image: "image";
|
|
5807
|
-
video: "video";
|
|
5808
|
-
news: "news";
|
|
5809
|
-
discover: "discover";
|
|
5810
|
-
googleNews: "googleNews";
|
|
5811
|
-
}>>;
|
|
5812
|
-
}, z.core.$strict>;
|
|
5757
|
+
readonly body: null;
|
|
5813
5758
|
};
|
|
5814
5759
|
readonly responses: {
|
|
5815
5760
|
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
5816
5761
|
data: z.ZodObject<{
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5762
|
+
mismatches: z.ZodArray<z.ZodObject<{
|
|
5763
|
+
url: z.ZodString;
|
|
5764
|
+
userCanonical: z.ZodString;
|
|
5765
|
+
googleCanonical: z.ZodString;
|
|
5766
|
+
verdict: z.ZodNullable<z.ZodString>;
|
|
5767
|
+
coverageState: z.ZodNullable<z.ZodString>;
|
|
5768
|
+
lastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
5769
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
5770
|
+
}, z.core.$loose>>;
|
|
5771
|
+
totalCount: z.ZodNumber;
|
|
5772
|
+
consolidationTargets: z.ZodArray<z.ZodObject<{
|
|
5773
|
+
google_canonical: z.ZodString;
|
|
5774
|
+
count: z.ZodNumber;
|
|
5775
|
+
}, z.core.$loose>>;
|
|
5776
|
+
trend: z.ZodArray<z.ZodObject<{
|
|
5777
|
+
date: z.ZodString;
|
|
5778
|
+
count: z.ZodNumber;
|
|
5779
|
+
}, z.core.$loose>>;
|
|
5780
|
+
meta: z.ZodObject<{
|
|
5781
|
+
siteUrl: z.ZodString;
|
|
5782
|
+
syncStatus: z.ZodNullable<z.ZodString>;
|
|
5783
|
+
}, z.core.$loose>;
|
|
5784
|
+
}, z.core.$strip>;
|
|
5785
|
+
meta: z.ZodObject<{
|
|
5786
|
+
readonly requestId: z.ZodString;
|
|
5787
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
5788
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
5789
|
+
}, z.core.$strip>;
|
|
5790
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5791
|
+
data: z.ZodObject<{
|
|
5792
|
+
mismatches: z.ZodArray<z.ZodObject<{
|
|
5793
|
+
url: z.ZodString;
|
|
5794
|
+
userCanonical: z.ZodString;
|
|
5795
|
+
googleCanonical: z.ZodString;
|
|
5796
|
+
verdict: z.ZodNullable<z.ZodString>;
|
|
5797
|
+
coverageState: z.ZodNullable<z.ZodString>;
|
|
5798
|
+
lastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
5799
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
5800
|
+
}, z.core.$loose>>;
|
|
5801
|
+
totalCount: z.ZodNumber;
|
|
5802
|
+
consolidationTargets: z.ZodArray<z.ZodObject<{
|
|
5803
|
+
google_canonical: z.ZodString;
|
|
5804
|
+
count: z.ZodNumber;
|
|
5805
|
+
}, z.core.$loose>>;
|
|
5806
|
+
trend: z.ZodArray<z.ZodObject<{
|
|
5807
|
+
date: z.ZodString;
|
|
5808
|
+
count: z.ZodNumber;
|
|
5809
|
+
}, z.core.$loose>>;
|
|
5810
|
+
meta: z.ZodObject<{
|
|
5811
|
+
siteUrl: z.ZodString;
|
|
5812
|
+
syncStatus: z.ZodNullable<z.ZodString>;
|
|
5813
|
+
}, z.core.$loose>;
|
|
5814
|
+
}, z.core.$strip>;
|
|
5815
|
+
meta: z.ZodObject<{
|
|
5816
|
+
readonly requestId: z.ZodString;
|
|
5817
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
5818
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
5819
|
+
}, z.core.$strip>;
|
|
5820
|
+
}, z.core.$strip>>;
|
|
5821
|
+
};
|
|
5822
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
5823
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
5824
|
+
readonly error: z.ZodObject<{
|
|
5825
|
+
code: z.ZodEnum<{
|
|
5826
|
+
rate_limited: "rate_limited";
|
|
5827
|
+
invalid_request: "invalid_request";
|
|
5828
|
+
unauthorized: "unauthorized";
|
|
5829
|
+
forbidden: "forbidden";
|
|
5830
|
+
site_not_found: "site_not_found";
|
|
5831
|
+
internal_error: "internal_error";
|
|
5832
|
+
contract_violation: "contract_violation";
|
|
5833
|
+
}>;
|
|
5834
|
+
message: z.ZodString;
|
|
5835
|
+
requestId: z.ZodString;
|
|
5836
|
+
retryable: z.ZodBoolean;
|
|
5837
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
5838
|
+
}, z.core.$strict>;
|
|
5839
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5840
|
+
readonly error: z.ZodObject<{
|
|
5841
|
+
code: z.ZodEnum<{
|
|
5842
|
+
rate_limited: "rate_limited";
|
|
5843
|
+
invalid_request: "invalid_request";
|
|
5844
|
+
unauthorized: "unauthorized";
|
|
5845
|
+
forbidden: "forbidden";
|
|
5846
|
+
site_not_found: "site_not_found";
|
|
5847
|
+
internal_error: "internal_error";
|
|
5848
|
+
contract_violation: "contract_violation";
|
|
5849
|
+
}>;
|
|
5850
|
+
message: z.ZodString;
|
|
5851
|
+
requestId: z.ZodString;
|
|
5852
|
+
retryable: z.ZodBoolean;
|
|
5853
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
5854
|
+
}, z.core.$loose>;
|
|
5855
|
+
}, z.core.$strip>>;
|
|
5856
|
+
readonly resources: {
|
|
5857
|
+
readonly reads: readonly [{
|
|
5858
|
+
readonly type: "site.indexing";
|
|
5859
|
+
readonly idFrom: "params.siteId";
|
|
5860
|
+
}];
|
|
5861
|
+
readonly changes: readonly [];
|
|
5862
|
+
};
|
|
5863
|
+
readonly lifecycle: {
|
|
5864
|
+
readonly introduced: "1.1.0";
|
|
5865
|
+
};
|
|
5866
|
+
readonly docs: {
|
|
5867
|
+
readonly summary: "List canonical mismatches";
|
|
5868
|
+
readonly description: "Returns sitemap-scoped URLs whose Google-chosen canonical diverges from the declared canonical, with consolidation targets and trend.";
|
|
5869
|
+
readonly tags: readonly ["Indexing"];
|
|
5870
|
+
readonly examples: {
|
|
5871
|
+
readonly request: {
|
|
5872
|
+
readonly params: {
|
|
5873
|
+
readonly siteId: "s_01";
|
|
5874
|
+
};
|
|
5875
|
+
};
|
|
5876
|
+
readonly response: {
|
|
5877
|
+
readonly data: {
|
|
5878
|
+
readonly mismatches: readonly [];
|
|
5879
|
+
readonly totalCount: 0;
|
|
5880
|
+
readonly consolidationTargets: readonly [];
|
|
5881
|
+
readonly trend: readonly [];
|
|
5882
|
+
readonly meta: {
|
|
5883
|
+
readonly siteUrl: "sc-domain:example.com";
|
|
5884
|
+
readonly syncStatus: "synced";
|
|
5885
|
+
};
|
|
5886
|
+
};
|
|
5887
|
+
readonly meta: {
|
|
5888
|
+
readonly requestId: "req_01";
|
|
5889
|
+
readonly surface: "partner";
|
|
5890
|
+
readonly version: "1.0";
|
|
5891
|
+
};
|
|
5892
|
+
};
|
|
5893
|
+
};
|
|
5894
|
+
};
|
|
5895
|
+
};
|
|
5896
|
+
readonly inspectSiteUrls: {
|
|
5897
|
+
readonly id: "partner.sites.indexing.inspect.create";
|
|
5898
|
+
readonly method: "POST";
|
|
5899
|
+
readonly path: "/sites/{siteId}/indexing/inspect";
|
|
5900
|
+
readonly visibility: "public";
|
|
5901
|
+
readonly semantics: {
|
|
5902
|
+
readonly kind: "mutation";
|
|
5903
|
+
readonly sideEffects: "state";
|
|
5904
|
+
readonly idempotent: false;
|
|
5905
|
+
readonly retry: "never";
|
|
5906
|
+
readonly readConsistency: null;
|
|
5907
|
+
};
|
|
5908
|
+
readonly auth: {
|
|
5909
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
5910
|
+
readonly scopes: readonly ["indexing:write"];
|
|
5911
|
+
readonly ownership: readonly [{
|
|
5912
|
+
readonly credential: "user_key";
|
|
5913
|
+
readonly rule: "authorized_site";
|
|
5914
|
+
}, {
|
|
5915
|
+
readonly credential: "partner_key";
|
|
5916
|
+
readonly rule: "authorized_site";
|
|
5917
|
+
}];
|
|
5918
|
+
};
|
|
5919
|
+
readonly request: {
|
|
5920
|
+
readonly params: z.ZodObject<{
|
|
5921
|
+
siteId: z.ZodString;
|
|
5922
|
+
}, z.core.$strict>;
|
|
5923
|
+
readonly query: null;
|
|
5924
|
+
readonly headers: z.ZodObject<{
|
|
5925
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
5926
|
+
}, z.core.$strict>;
|
|
5927
|
+
readonly body: z.ZodObject<{
|
|
5928
|
+
urls: z.ZodArray<z.ZodString>;
|
|
5929
|
+
}, z.core.$strict>;
|
|
5930
|
+
};
|
|
5931
|
+
readonly responses: {
|
|
5932
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
5933
|
+
data: z.ZodObject<{
|
|
5934
|
+
readonly siteId: z.ZodString;
|
|
5935
|
+
readonly rateLimit: z.ZodObject<{
|
|
5936
|
+
reserved: z.ZodNumber;
|
|
5937
|
+
remaining: z.ZodNumber;
|
|
5938
|
+
limit: z.ZodNumber;
|
|
5939
|
+
}, z.core.$strict>;
|
|
5940
|
+
readonly results: z.ZodArray<z.ZodObject<{
|
|
5941
|
+
url: z.ZodString;
|
|
5942
|
+
verdict: z.ZodNullable<z.ZodString>;
|
|
5943
|
+
coverageState: z.ZodNullable<z.ZodString>;
|
|
5944
|
+
indexingState: z.ZodNullable<z.ZodString>;
|
|
5945
|
+
robotsTxtState: z.ZodNullable<z.ZodString>;
|
|
5946
|
+
pageFetchState: z.ZodNullable<z.ZodString>;
|
|
5947
|
+
lastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
5948
|
+
crawlingUserAgent: z.ZodNullable<z.ZodString>;
|
|
5949
|
+
userCanonical: z.ZodNullable<z.ZodString>;
|
|
5950
|
+
googleCanonical: z.ZodNullable<z.ZodString>;
|
|
5951
|
+
sitemaps: z.ZodNullable<z.ZodString>;
|
|
5952
|
+
referringUrls: z.ZodNullable<z.ZodString>;
|
|
5953
|
+
mobileVerdict: z.ZodNullable<z.ZodString>;
|
|
5954
|
+
mobileIssues: z.ZodNullable<z.ZodString>;
|
|
5955
|
+
richResultsVerdict: z.ZodNullable<z.ZodString>;
|
|
5956
|
+
richResultsItems: z.ZodNullable<z.ZodString>;
|
|
5957
|
+
ampVerdict: z.ZodNullable<z.ZodString>;
|
|
5958
|
+
ampUrl: z.ZodNullable<z.ZodString>;
|
|
5959
|
+
ampIndexingState: z.ZodNullable<z.ZodString>;
|
|
5960
|
+
ampIndexStatusVerdict: z.ZodNullable<z.ZodString>;
|
|
5961
|
+
ampRobotsTxtState: z.ZodNullable<z.ZodString>;
|
|
5962
|
+
ampPageFetchState: z.ZodNullable<z.ZodString>;
|
|
5963
|
+
ampLastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
5964
|
+
ampIssues: z.ZodNullable<z.ZodString>;
|
|
5965
|
+
inspectionResultLink: z.ZodNullable<z.ZodString>;
|
|
5966
|
+
}, z.core.$strip>>;
|
|
5967
|
+
readonly errors: z.ZodArray<z.ZodObject<{
|
|
5968
|
+
url: z.ZodString;
|
|
5969
|
+
error: z.ZodString;
|
|
5970
|
+
}, z.core.$strict>>;
|
|
5971
|
+
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
5972
|
+
url: z.ZodString;
|
|
5973
|
+
reason: z.ZodEnum<{
|
|
5974
|
+
rate_limited: "rate_limited";
|
|
5975
|
+
domain_mismatch: "domain_mismatch";
|
|
5976
|
+
}>;
|
|
5977
|
+
}, z.core.$strict>>;
|
|
5978
|
+
}, z.core.$strip>;
|
|
5979
|
+
meta: z.ZodObject<{
|
|
5980
|
+
readonly requestId: z.ZodString;
|
|
5981
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
5982
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
5983
|
+
}, z.core.$strip>;
|
|
5984
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5985
|
+
data: z.ZodObject<{
|
|
5986
|
+
readonly siteId: z.ZodString;
|
|
5987
|
+
readonly rateLimit: z.ZodObject<{
|
|
5988
|
+
reserved: z.ZodNumber;
|
|
5989
|
+
remaining: z.ZodNumber;
|
|
5990
|
+
limit: z.ZodNumber;
|
|
5991
|
+
}, z.core.$strict>;
|
|
5992
|
+
readonly results: z.ZodArray<z.ZodObject<{
|
|
5993
|
+
url: z.ZodString;
|
|
5994
|
+
verdict: z.ZodNullable<z.ZodString>;
|
|
5995
|
+
coverageState: z.ZodNullable<z.ZodString>;
|
|
5996
|
+
indexingState: z.ZodNullable<z.ZodString>;
|
|
5997
|
+
robotsTxtState: z.ZodNullable<z.ZodString>;
|
|
5998
|
+
pageFetchState: z.ZodNullable<z.ZodString>;
|
|
5999
|
+
lastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
6000
|
+
crawlingUserAgent: z.ZodNullable<z.ZodString>;
|
|
6001
|
+
userCanonical: z.ZodNullable<z.ZodString>;
|
|
6002
|
+
googleCanonical: z.ZodNullable<z.ZodString>;
|
|
6003
|
+
sitemaps: z.ZodNullable<z.ZodString>;
|
|
6004
|
+
referringUrls: z.ZodNullable<z.ZodString>;
|
|
6005
|
+
mobileVerdict: z.ZodNullable<z.ZodString>;
|
|
6006
|
+
mobileIssues: z.ZodNullable<z.ZodString>;
|
|
6007
|
+
richResultsVerdict: z.ZodNullable<z.ZodString>;
|
|
6008
|
+
richResultsItems: z.ZodNullable<z.ZodString>;
|
|
6009
|
+
ampVerdict: z.ZodNullable<z.ZodString>;
|
|
6010
|
+
ampUrl: z.ZodNullable<z.ZodString>;
|
|
6011
|
+
ampIndexingState: z.ZodNullable<z.ZodString>;
|
|
6012
|
+
ampIndexStatusVerdict: z.ZodNullable<z.ZodString>;
|
|
6013
|
+
ampRobotsTxtState: z.ZodNullable<z.ZodString>;
|
|
6014
|
+
ampPageFetchState: z.ZodNullable<z.ZodString>;
|
|
6015
|
+
ampLastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
6016
|
+
ampIssues: z.ZodNullable<z.ZodString>;
|
|
6017
|
+
inspectionResultLink: z.ZodNullable<z.ZodString>;
|
|
6018
|
+
}, z.core.$strip>>;
|
|
6019
|
+
readonly errors: z.ZodArray<z.ZodObject<{
|
|
6020
|
+
url: z.ZodString;
|
|
6021
|
+
error: z.ZodString;
|
|
6022
|
+
}, z.core.$strict>>;
|
|
6023
|
+
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
6024
|
+
url: z.ZodString;
|
|
6025
|
+
reason: z.ZodEnum<{
|
|
6026
|
+
rate_limited: "rate_limited";
|
|
6027
|
+
domain_mismatch: "domain_mismatch";
|
|
6028
|
+
}>;
|
|
6029
|
+
}, z.core.$strict>>;
|
|
6030
|
+
}, z.core.$strip>;
|
|
6031
|
+
meta: z.ZodObject<{
|
|
6032
|
+
readonly requestId: z.ZodString;
|
|
6033
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6034
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6035
|
+
}, z.core.$strip>;
|
|
6036
|
+
}, z.core.$strip>>;
|
|
6037
|
+
};
|
|
6038
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
6039
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6040
|
+
readonly error: z.ZodObject<{
|
|
6041
|
+
code: z.ZodEnum<{
|
|
6042
|
+
rate_limited: "rate_limited";
|
|
6043
|
+
invalid_request: "invalid_request";
|
|
6044
|
+
unauthorized: "unauthorized";
|
|
6045
|
+
forbidden: "forbidden";
|
|
6046
|
+
site_not_found: "site_not_found";
|
|
6047
|
+
internal_error: "internal_error";
|
|
6048
|
+
contract_violation: "contract_violation";
|
|
6049
|
+
}>;
|
|
6050
|
+
message: z.ZodString;
|
|
6051
|
+
requestId: z.ZodString;
|
|
6052
|
+
retryable: z.ZodBoolean;
|
|
6053
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6054
|
+
}, z.core.$strict>;
|
|
6055
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6056
|
+
readonly error: z.ZodObject<{
|
|
6057
|
+
code: z.ZodEnum<{
|
|
6058
|
+
rate_limited: "rate_limited";
|
|
6059
|
+
invalid_request: "invalid_request";
|
|
6060
|
+
unauthorized: "unauthorized";
|
|
6061
|
+
forbidden: "forbidden";
|
|
6062
|
+
site_not_found: "site_not_found";
|
|
6063
|
+
internal_error: "internal_error";
|
|
6064
|
+
contract_violation: "contract_violation";
|
|
6065
|
+
}>;
|
|
6066
|
+
message: z.ZodString;
|
|
6067
|
+
requestId: z.ZodString;
|
|
6068
|
+
retryable: z.ZodBoolean;
|
|
6069
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6070
|
+
}, z.core.$loose>;
|
|
6071
|
+
}, z.core.$strip>>;
|
|
6072
|
+
readonly resources: {
|
|
6073
|
+
readonly reads: readonly [{
|
|
6074
|
+
readonly type: "site.indexing";
|
|
6075
|
+
readonly idFrom: "params.siteId";
|
|
6076
|
+
}];
|
|
6077
|
+
readonly changes: readonly [{
|
|
6078
|
+
readonly type: "site.indexing";
|
|
6079
|
+
readonly idFrom: "params.siteId";
|
|
6080
|
+
}];
|
|
6081
|
+
};
|
|
6082
|
+
readonly lifecycle: {
|
|
6083
|
+
readonly introduced: "1.1.0";
|
|
6084
|
+
};
|
|
6085
|
+
readonly docs: {
|
|
6086
|
+
readonly summary: "Inspect URLs on demand";
|
|
6087
|
+
readonly description: "Runs live URL inspections against the daily per-site quota; URLs outside the site domain and over-quota URLs are reported as skipped. Exhausted quota fails with rate_limited.";
|
|
6088
|
+
readonly tags: readonly ["Indexing"];
|
|
6089
|
+
readonly examples: {
|
|
6090
|
+
readonly request: {
|
|
6091
|
+
readonly params: {
|
|
6092
|
+
readonly siteId: "s_01";
|
|
6093
|
+
};
|
|
6094
|
+
readonly body: {
|
|
6095
|
+
readonly urls: readonly ["https://example.com/"];
|
|
6096
|
+
};
|
|
6097
|
+
};
|
|
6098
|
+
readonly response: {
|
|
6099
|
+
readonly data: {
|
|
6100
|
+
readonly siteId: "s_01";
|
|
6101
|
+
readonly rateLimit: {
|
|
6102
|
+
readonly reserved: 1;
|
|
6103
|
+
readonly remaining: 199;
|
|
6104
|
+
readonly limit: 200;
|
|
6105
|
+
};
|
|
6106
|
+
readonly results: readonly [];
|
|
6107
|
+
readonly errors: readonly [];
|
|
6108
|
+
readonly skipped: readonly [];
|
|
6109
|
+
};
|
|
6110
|
+
readonly meta: {
|
|
6111
|
+
readonly requestId: "req_01";
|
|
6112
|
+
readonly surface: "partner";
|
|
6113
|
+
readonly version: "1.0";
|
|
6114
|
+
};
|
|
6115
|
+
};
|
|
6116
|
+
};
|
|
6117
|
+
};
|
|
6118
|
+
};
|
|
6119
|
+
readonly recoverSitePermission: {
|
|
6120
|
+
readonly id: "partner.sites.permission.recover";
|
|
6121
|
+
readonly method: "POST";
|
|
6122
|
+
readonly path: "/sites/{siteId}/permission/recover";
|
|
6123
|
+
readonly visibility: "public";
|
|
6124
|
+
readonly semantics: {
|
|
6125
|
+
readonly kind: "mutation";
|
|
6126
|
+
readonly sideEffects: "state";
|
|
6127
|
+
readonly idempotent: true;
|
|
6128
|
+
readonly retry: "idempotent";
|
|
6129
|
+
readonly readConsistency: null;
|
|
6130
|
+
};
|
|
6131
|
+
readonly auth: {
|
|
6132
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
6133
|
+
readonly scopes: readonly ["sites:write"];
|
|
6134
|
+
readonly ownership: readonly [{
|
|
6135
|
+
readonly credential: "user_key";
|
|
6136
|
+
readonly rule: "authorized_site";
|
|
6137
|
+
}, {
|
|
6138
|
+
readonly credential: "partner_key";
|
|
6139
|
+
readonly rule: "authorized_site";
|
|
6140
|
+
}];
|
|
6141
|
+
};
|
|
6142
|
+
readonly request: {
|
|
6143
|
+
readonly params: z.ZodObject<{
|
|
6144
|
+
siteId: z.ZodString;
|
|
6145
|
+
}, z.core.$strict>;
|
|
6146
|
+
readonly query: null;
|
|
6147
|
+
readonly headers: z.ZodObject<{
|
|
6148
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
6149
|
+
}, z.core.$strict>;
|
|
6150
|
+
readonly body: null;
|
|
6151
|
+
};
|
|
6152
|
+
readonly responses: {
|
|
6153
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
6154
|
+
data: z.ZodObject<{
|
|
6155
|
+
readonly success: z.ZodBoolean;
|
|
6156
|
+
readonly permissionLevel: z.ZodNullable<z.ZodString>;
|
|
6157
|
+
readonly jobsQueued: z.ZodNumber;
|
|
6158
|
+
readonly message: z.ZodString;
|
|
6159
|
+
}, z.core.$strip>;
|
|
6160
|
+
meta: z.ZodObject<{
|
|
6161
|
+
readonly requestId: z.ZodString;
|
|
6162
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6163
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6164
|
+
}, z.core.$strip>;
|
|
6165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6166
|
+
data: z.ZodObject<{
|
|
6167
|
+
readonly success: z.ZodBoolean;
|
|
6168
|
+
readonly permissionLevel: z.ZodNullable<z.ZodString>;
|
|
6169
|
+
readonly jobsQueued: z.ZodNumber;
|
|
6170
|
+
readonly message: z.ZodString;
|
|
6171
|
+
}, z.core.$strip>;
|
|
6172
|
+
meta: z.ZodObject<{
|
|
6173
|
+
readonly requestId: z.ZodString;
|
|
6174
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6175
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6176
|
+
}, z.core.$strip>;
|
|
6177
|
+
}, z.core.$strip>>;
|
|
6178
|
+
};
|
|
6179
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
6180
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6181
|
+
readonly error: z.ZodObject<{
|
|
6182
|
+
code: z.ZodEnum<{
|
|
6183
|
+
rate_limited: "rate_limited";
|
|
6184
|
+
invalid_request: "invalid_request";
|
|
6185
|
+
unauthorized: "unauthorized";
|
|
6186
|
+
forbidden: "forbidden";
|
|
6187
|
+
site_not_found: "site_not_found";
|
|
6188
|
+
internal_error: "internal_error";
|
|
6189
|
+
contract_violation: "contract_violation";
|
|
6190
|
+
}>;
|
|
6191
|
+
message: z.ZodString;
|
|
6192
|
+
requestId: z.ZodString;
|
|
6193
|
+
retryable: z.ZodBoolean;
|
|
6194
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6195
|
+
}, z.core.$strict>;
|
|
6196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6197
|
+
readonly error: z.ZodObject<{
|
|
6198
|
+
code: z.ZodEnum<{
|
|
6199
|
+
rate_limited: "rate_limited";
|
|
6200
|
+
invalid_request: "invalid_request";
|
|
6201
|
+
unauthorized: "unauthorized";
|
|
6202
|
+
forbidden: "forbidden";
|
|
6203
|
+
site_not_found: "site_not_found";
|
|
6204
|
+
internal_error: "internal_error";
|
|
6205
|
+
contract_violation: "contract_violation";
|
|
6206
|
+
}>;
|
|
6207
|
+
message: z.ZodString;
|
|
6208
|
+
requestId: z.ZodString;
|
|
6209
|
+
retryable: z.ZodBoolean;
|
|
6210
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6211
|
+
}, z.core.$loose>;
|
|
6212
|
+
}, z.core.$strip>>;
|
|
6213
|
+
readonly resources: {
|
|
6214
|
+
readonly reads: readonly [{
|
|
6215
|
+
readonly type: "site.auth";
|
|
6216
|
+
readonly idFrom: "params.siteId";
|
|
6217
|
+
}];
|
|
6218
|
+
readonly changes: readonly [{
|
|
6219
|
+
readonly type: "site.auth";
|
|
6220
|
+
readonly idFrom: "params.siteId";
|
|
6221
|
+
}, {
|
|
6222
|
+
readonly type: "site.lifecycle";
|
|
6223
|
+
readonly idFrom: "params.siteId";
|
|
6224
|
+
}];
|
|
6225
|
+
};
|
|
6226
|
+
readonly lifecycle: {
|
|
6227
|
+
readonly introduced: "1.1.0";
|
|
6228
|
+
};
|
|
6229
|
+
readonly docs: {
|
|
6230
|
+
readonly summary: "Re-check and recover site permission";
|
|
6231
|
+
readonly description: "Force-rechecks Google Search Console access for a permission-lost site; on recovery resets sync state and queues fresh sync jobs.";
|
|
6232
|
+
readonly tags: readonly ["Sites"];
|
|
6233
|
+
readonly examples: {
|
|
6234
|
+
readonly request: {
|
|
6235
|
+
readonly params: {
|
|
6236
|
+
readonly siteId: "s_01";
|
|
6237
|
+
};
|
|
6238
|
+
};
|
|
6239
|
+
readonly response: {
|
|
6240
|
+
readonly data: {
|
|
6241
|
+
readonly success: true;
|
|
6242
|
+
readonly permissionLevel: "siteFullUser";
|
|
6243
|
+
readonly jobsQueued: 3;
|
|
6244
|
+
readonly message: "Permission restored (siteFullUser). Queued 3 sync jobs.";
|
|
6245
|
+
};
|
|
6246
|
+
readonly meta: {
|
|
6247
|
+
readonly requestId: "req_01";
|
|
6248
|
+
readonly surface: "partner";
|
|
6249
|
+
readonly version: "1.0";
|
|
6250
|
+
};
|
|
6251
|
+
};
|
|
6252
|
+
};
|
|
6253
|
+
};
|
|
6254
|
+
};
|
|
6255
|
+
readonly queryKeywordSparklines: {
|
|
6256
|
+
readonly id: "partner.sites.keyword.sparklines.query";
|
|
6257
|
+
readonly method: "POST";
|
|
6258
|
+
readonly path: "/sites/{siteId}/keyword-sparklines";
|
|
6259
|
+
readonly visibility: "public";
|
|
6260
|
+
readonly semantics: {
|
|
6261
|
+
readonly kind: "query";
|
|
6262
|
+
readonly sideEffects: "none";
|
|
6263
|
+
readonly idempotent: true;
|
|
6264
|
+
readonly retry: "idempotent";
|
|
6265
|
+
readonly readConsistency: "primary";
|
|
6266
|
+
};
|
|
6267
|
+
readonly auth: {
|
|
6268
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
6269
|
+
readonly scopes: readonly ["analytics:read"];
|
|
6270
|
+
readonly ownership: readonly [{
|
|
6271
|
+
readonly credential: "user_key";
|
|
6272
|
+
readonly rule: "authorized_site";
|
|
6273
|
+
}, {
|
|
6274
|
+
readonly credential: "partner_key";
|
|
6275
|
+
readonly rule: "authorized_site";
|
|
6276
|
+
}];
|
|
6277
|
+
};
|
|
6278
|
+
readonly request: {
|
|
6279
|
+
readonly params: z.ZodObject<{
|
|
6280
|
+
siteId: z.ZodString;
|
|
6281
|
+
}, z.core.$strict>;
|
|
6282
|
+
readonly query: null;
|
|
6283
|
+
readonly headers: z.ZodObject<{
|
|
6284
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
6285
|
+
}, z.core.$strict>;
|
|
6286
|
+
readonly body: z.ZodObject<{
|
|
6287
|
+
keywords: z.ZodArray<z.ZodString>;
|
|
6288
|
+
startDate: z.ZodString;
|
|
6289
|
+
endDate: z.ZodString;
|
|
6290
|
+
searchType: z.ZodOptional<z.ZodEnum<{
|
|
6291
|
+
web: "web";
|
|
6292
|
+
image: "image";
|
|
6293
|
+
video: "video";
|
|
6294
|
+
news: "news";
|
|
6295
|
+
discover: "discover";
|
|
6296
|
+
googleNews: "googleNews";
|
|
6297
|
+
}>>;
|
|
6298
|
+
}, z.core.$strict>;
|
|
6299
|
+
};
|
|
6300
|
+
readonly responses: {
|
|
6301
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
6302
|
+
data: z.ZodObject<{
|
|
6303
|
+
sparklines: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>;
|
|
6304
|
+
}, z.core.$strip>;
|
|
6305
|
+
meta: z.ZodObject<{
|
|
6306
|
+
readonly requestId: z.ZodString;
|
|
6307
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6308
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6309
|
+
}, z.core.$strip>;
|
|
6310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6311
|
+
data: z.ZodObject<{
|
|
6312
|
+
sparklines: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>;
|
|
6313
|
+
}, z.core.$strip>;
|
|
6314
|
+
meta: z.ZodObject<{
|
|
6315
|
+
readonly requestId: z.ZodString;
|
|
6316
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6317
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6318
|
+
}, z.core.$strip>;
|
|
6319
|
+
}, z.core.$strip>>;
|
|
6320
|
+
};
|
|
6321
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
6322
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6323
|
+
readonly error: z.ZodObject<{
|
|
6324
|
+
code: z.ZodEnum<{
|
|
6325
|
+
rate_limited: "rate_limited";
|
|
6326
|
+
invalid_request: "invalid_request";
|
|
6327
|
+
unauthorized: "unauthorized";
|
|
6328
|
+
forbidden: "forbidden";
|
|
6329
|
+
site_not_found: "site_not_found";
|
|
6330
|
+
internal_error: "internal_error";
|
|
6331
|
+
contract_violation: "contract_violation";
|
|
6332
|
+
}>;
|
|
6333
|
+
message: z.ZodString;
|
|
6334
|
+
requestId: z.ZodString;
|
|
6335
|
+
retryable: z.ZodBoolean;
|
|
6336
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6337
|
+
}, z.core.$strict>;
|
|
6338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6339
|
+
readonly error: z.ZodObject<{
|
|
6340
|
+
code: z.ZodEnum<{
|
|
6341
|
+
rate_limited: "rate_limited";
|
|
6342
|
+
invalid_request: "invalid_request";
|
|
6343
|
+
unauthorized: "unauthorized";
|
|
6344
|
+
forbidden: "forbidden";
|
|
6345
|
+
site_not_found: "site_not_found";
|
|
6346
|
+
internal_error: "internal_error";
|
|
6347
|
+
contract_violation: "contract_violation";
|
|
6348
|
+
}>;
|
|
6349
|
+
message: z.ZodString;
|
|
6350
|
+
requestId: z.ZodString;
|
|
6351
|
+
retryable: z.ZodBoolean;
|
|
6352
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6353
|
+
}, z.core.$loose>;
|
|
6354
|
+
}, z.core.$strip>>;
|
|
6355
|
+
readonly resources: {
|
|
6356
|
+
readonly reads: readonly [{
|
|
6357
|
+
readonly type: "site.analytics";
|
|
6358
|
+
readonly idFrom: "params.siteId";
|
|
6359
|
+
}];
|
|
6360
|
+
readonly changes: readonly [];
|
|
6361
|
+
};
|
|
6362
|
+
readonly lifecycle: {
|
|
6363
|
+
readonly introduced: "1.1.0";
|
|
6364
|
+
};
|
|
6365
|
+
readonly docs: {
|
|
6366
|
+
readonly summary: "Query keyword sparklines";
|
|
6367
|
+
readonly description: "Returns per-keyword daily click series for up to 20 keywords over the requested window.";
|
|
6368
|
+
readonly tags: readonly ["Analytics"];
|
|
6369
|
+
readonly examples: {
|
|
6370
|
+
readonly request: {
|
|
6371
|
+
readonly params: {
|
|
6372
|
+
readonly siteId: "s_01";
|
|
6373
|
+
};
|
|
6374
|
+
readonly body: {
|
|
6375
|
+
readonly keywords: readonly ["nuxt seo"];
|
|
6376
|
+
readonly startDate: "2026-06-01";
|
|
6377
|
+
readonly endDate: "2026-06-28";
|
|
6378
|
+
};
|
|
6379
|
+
};
|
|
6380
|
+
readonly response: {
|
|
6381
|
+
readonly data: {
|
|
6382
|
+
readonly sparklines: {
|
|
6383
|
+
readonly 'nuxt seo': readonly [0, 1, 2];
|
|
6384
|
+
};
|
|
6385
|
+
};
|
|
6386
|
+
readonly meta: {
|
|
6387
|
+
readonly requestId: "req_01";
|
|
6388
|
+
readonly surface: "partner";
|
|
6389
|
+
readonly version: "1.0";
|
|
6390
|
+
};
|
|
6391
|
+
};
|
|
6392
|
+
};
|
|
6393
|
+
};
|
|
6394
|
+
};
|
|
6395
|
+
readonly getQueryTrend: {
|
|
6396
|
+
readonly id: "partner.sites.query.trend.get";
|
|
6397
|
+
readonly method: "GET";
|
|
6398
|
+
readonly path: "/sites/{siteId}/query-trend";
|
|
6399
|
+
readonly visibility: "public";
|
|
6400
|
+
readonly semantics: {
|
|
6401
|
+
readonly kind: "query";
|
|
6402
|
+
readonly sideEffects: "none";
|
|
6403
|
+
readonly idempotent: true;
|
|
6404
|
+
readonly retry: "idempotent";
|
|
6405
|
+
readonly readConsistency: "primary";
|
|
6406
|
+
};
|
|
6407
|
+
readonly auth: {
|
|
6408
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
6409
|
+
readonly scopes: readonly ["analytics:read"];
|
|
6410
|
+
readonly ownership: readonly [{
|
|
6411
|
+
readonly credential: "user_key";
|
|
6412
|
+
readonly rule: "authorized_site";
|
|
6413
|
+
}, {
|
|
6414
|
+
readonly credential: "partner_key";
|
|
6415
|
+
readonly rule: "authorized_site";
|
|
6416
|
+
}];
|
|
6417
|
+
};
|
|
6418
|
+
readonly request: {
|
|
6419
|
+
readonly params: z.ZodObject<{
|
|
6420
|
+
siteId: z.ZodString;
|
|
6421
|
+
}, z.core.$strict>;
|
|
6422
|
+
readonly query: z.ZodObject<{
|
|
6423
|
+
startDate: z.ZodString;
|
|
6424
|
+
endDate: z.ZodString;
|
|
6425
|
+
searchType: z.ZodOptional<z.ZodEnum<{
|
|
6426
|
+
web: "web";
|
|
6427
|
+
image: "image";
|
|
6428
|
+
video: "video";
|
|
6429
|
+
news: "news";
|
|
6430
|
+
discover: "discover";
|
|
6431
|
+
googleNews: "googleNews";
|
|
6432
|
+
}>>;
|
|
6433
|
+
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
6434
|
+
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
6435
|
+
}, z.core.$strict>;
|
|
6436
|
+
readonly headers: z.ZodObject<{
|
|
6437
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
6438
|
+
}, z.core.$strict>;
|
|
6439
|
+
readonly body: null;
|
|
6440
|
+
};
|
|
6441
|
+
readonly responses: {
|
|
6442
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
6443
|
+
data: z.ZodObject<{
|
|
6444
|
+
daily: z.ZodArray<z.ZodObject<{
|
|
6445
|
+
date: z.ZodString;
|
|
6446
|
+
queryCount: z.ZodNumber;
|
|
6447
|
+
}, z.core.$loose>>;
|
|
6448
|
+
total: z.ZodNumber;
|
|
6449
|
+
previousTotal: z.ZodOptional<z.ZodNumber>;
|
|
6450
|
+
meta: z.ZodObject<{
|
|
6451
|
+
siteUrl: z.ZodString;
|
|
6452
|
+
syncStatus: z.ZodNullable<z.ZodString>;
|
|
6453
|
+
}, z.core.$loose>;
|
|
6454
|
+
}, z.core.$strip>;
|
|
6455
|
+
meta: z.ZodObject<{
|
|
6456
|
+
readonly requestId: z.ZodString;
|
|
6457
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6458
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6459
|
+
}, z.core.$strip>;
|
|
6460
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6461
|
+
data: z.ZodObject<{
|
|
6462
|
+
daily: z.ZodArray<z.ZodObject<{
|
|
6463
|
+
date: z.ZodString;
|
|
6464
|
+
queryCount: z.ZodNumber;
|
|
6465
|
+
}, z.core.$loose>>;
|
|
6466
|
+
total: z.ZodNumber;
|
|
6467
|
+
previousTotal: z.ZodOptional<z.ZodNumber>;
|
|
6468
|
+
meta: z.ZodObject<{
|
|
6469
|
+
siteUrl: z.ZodString;
|
|
6470
|
+
syncStatus: z.ZodNullable<z.ZodString>;
|
|
6471
|
+
}, z.core.$loose>;
|
|
6472
|
+
}, z.core.$strip>;
|
|
6473
|
+
meta: z.ZodObject<{
|
|
6474
|
+
readonly requestId: z.ZodString;
|
|
6475
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6476
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6477
|
+
}, z.core.$strip>;
|
|
6478
|
+
}, z.core.$strip>>;
|
|
6479
|
+
};
|
|
6480
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
6481
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6482
|
+
readonly error: z.ZodObject<{
|
|
6483
|
+
code: z.ZodEnum<{
|
|
6484
|
+
rate_limited: "rate_limited";
|
|
6485
|
+
invalid_request: "invalid_request";
|
|
6486
|
+
unauthorized: "unauthorized";
|
|
6487
|
+
forbidden: "forbidden";
|
|
6488
|
+
site_not_found: "site_not_found";
|
|
6489
|
+
internal_error: "internal_error";
|
|
6490
|
+
contract_violation: "contract_violation";
|
|
6491
|
+
}>;
|
|
6492
|
+
message: z.ZodString;
|
|
6493
|
+
requestId: z.ZodString;
|
|
6494
|
+
retryable: z.ZodBoolean;
|
|
6495
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6496
|
+
}, z.core.$strict>;
|
|
6497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6498
|
+
readonly error: z.ZodObject<{
|
|
6499
|
+
code: z.ZodEnum<{
|
|
6500
|
+
rate_limited: "rate_limited";
|
|
6501
|
+
invalid_request: "invalid_request";
|
|
6502
|
+
unauthorized: "unauthorized";
|
|
6503
|
+
forbidden: "forbidden";
|
|
6504
|
+
site_not_found: "site_not_found";
|
|
6505
|
+
internal_error: "internal_error";
|
|
6506
|
+
contract_violation: "contract_violation";
|
|
6507
|
+
}>;
|
|
6508
|
+
message: z.ZodString;
|
|
6509
|
+
requestId: z.ZodString;
|
|
6510
|
+
retryable: z.ZodBoolean;
|
|
6511
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6512
|
+
}, z.core.$loose>;
|
|
6513
|
+
}, z.core.$strip>>;
|
|
6514
|
+
readonly resources: {
|
|
6515
|
+
readonly reads: readonly [{
|
|
6516
|
+
readonly type: "site.analytics";
|
|
6517
|
+
readonly idFrom: "params.siteId";
|
|
6518
|
+
}];
|
|
6519
|
+
readonly changes: readonly [];
|
|
6520
|
+
};
|
|
6521
|
+
readonly lifecycle: {
|
|
6522
|
+
readonly introduced: "1.1.0";
|
|
6523
|
+
};
|
|
6524
|
+
readonly docs: {
|
|
6525
|
+
readonly summary: "Get unique-query trend";
|
|
6526
|
+
readonly description: "Returns the daily unique-query count series for a window, with an optional previous-period total for comparison.";
|
|
6527
|
+
readonly tags: readonly ["Analytics"];
|
|
6528
|
+
readonly examples: {
|
|
6529
|
+
readonly request: {
|
|
6530
|
+
readonly params: {
|
|
6531
|
+
readonly siteId: "s_01";
|
|
6532
|
+
};
|
|
6533
|
+
readonly query: {
|
|
6534
|
+
readonly startDate: "2026-06-01";
|
|
6535
|
+
readonly endDate: "2026-06-28";
|
|
6536
|
+
};
|
|
6537
|
+
};
|
|
6538
|
+
readonly response: {
|
|
6539
|
+
readonly data: {
|
|
6540
|
+
readonly daily: readonly [];
|
|
6541
|
+
readonly total: 0;
|
|
6542
|
+
readonly meta: {
|
|
6543
|
+
readonly siteUrl: "sc-domain:example.com";
|
|
6544
|
+
readonly syncStatus: "synced";
|
|
6545
|
+
};
|
|
6546
|
+
};
|
|
6547
|
+
readonly meta: {
|
|
6548
|
+
readonly requestId: "req_01";
|
|
6549
|
+
readonly surface: "partner";
|
|
6550
|
+
readonly version: "1.0";
|
|
6551
|
+
};
|
|
6552
|
+
};
|
|
6553
|
+
};
|
|
6554
|
+
};
|
|
6555
|
+
};
|
|
6556
|
+
readonly getPageTrend: {
|
|
6557
|
+
readonly id: "partner.sites.page.trend.get";
|
|
6558
|
+
readonly method: "GET";
|
|
6559
|
+
readonly path: "/sites/{siteId}/page-trend";
|
|
6560
|
+
readonly visibility: "public";
|
|
6561
|
+
readonly semantics: {
|
|
6562
|
+
readonly kind: "query";
|
|
6563
|
+
readonly sideEffects: "none";
|
|
6564
|
+
readonly idempotent: true;
|
|
6565
|
+
readonly retry: "idempotent";
|
|
6566
|
+
readonly readConsistency: "primary";
|
|
6567
|
+
};
|
|
6568
|
+
readonly auth: {
|
|
6569
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
6570
|
+
readonly scopes: readonly ["analytics:read"];
|
|
6571
|
+
readonly ownership: readonly [{
|
|
6572
|
+
readonly credential: "user_key";
|
|
6573
|
+
readonly rule: "authorized_site";
|
|
6574
|
+
}, {
|
|
6575
|
+
readonly credential: "partner_key";
|
|
6576
|
+
readonly rule: "authorized_site";
|
|
6577
|
+
}];
|
|
6578
|
+
};
|
|
6579
|
+
readonly request: {
|
|
6580
|
+
readonly params: z.ZodObject<{
|
|
6581
|
+
siteId: z.ZodString;
|
|
6582
|
+
}, z.core.$strict>;
|
|
6583
|
+
readonly query: z.ZodObject<{
|
|
6584
|
+
startDate: z.ZodString;
|
|
6585
|
+
endDate: z.ZodString;
|
|
6586
|
+
searchType: z.ZodOptional<z.ZodEnum<{
|
|
6587
|
+
web: "web";
|
|
6588
|
+
image: "image";
|
|
6589
|
+
video: "video";
|
|
6590
|
+
news: "news";
|
|
6591
|
+
discover: "discover";
|
|
6592
|
+
googleNews: "googleNews";
|
|
6593
|
+
}>>;
|
|
6594
|
+
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
6595
|
+
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
6596
|
+
}, z.core.$strict>;
|
|
6597
|
+
readonly headers: z.ZodObject<{
|
|
6598
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
6599
|
+
}, z.core.$strict>;
|
|
6600
|
+
readonly body: null;
|
|
6601
|
+
};
|
|
6602
|
+
readonly responses: {
|
|
6603
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
6604
|
+
data: z.ZodObject<{
|
|
6605
|
+
daily: z.ZodArray<z.ZodObject<{
|
|
6606
|
+
date: z.ZodString;
|
|
6607
|
+
pageCount: z.ZodNumber;
|
|
6608
|
+
}, z.core.$loose>>;
|
|
6609
|
+
total: z.ZodNumber;
|
|
6610
|
+
previousTotal: z.ZodOptional<z.ZodNumber>;
|
|
6611
|
+
meta: z.ZodObject<{
|
|
6612
|
+
siteUrl: z.ZodString;
|
|
6613
|
+
syncStatus: z.ZodNullable<z.ZodString>;
|
|
6614
|
+
}, z.core.$loose>;
|
|
6615
|
+
}, z.core.$strip>;
|
|
6616
|
+
meta: z.ZodObject<{
|
|
6617
|
+
readonly requestId: z.ZodString;
|
|
6618
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6619
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6620
|
+
}, z.core.$strip>;
|
|
6621
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6622
|
+
data: z.ZodObject<{
|
|
6623
|
+
daily: z.ZodArray<z.ZodObject<{
|
|
6624
|
+
date: z.ZodString;
|
|
6625
|
+
pageCount: z.ZodNumber;
|
|
6626
|
+
}, z.core.$loose>>;
|
|
6627
|
+
total: z.ZodNumber;
|
|
6628
|
+
previousTotal: z.ZodOptional<z.ZodNumber>;
|
|
6629
|
+
meta: z.ZodObject<{
|
|
6630
|
+
siteUrl: z.ZodString;
|
|
6631
|
+
syncStatus: z.ZodNullable<z.ZodString>;
|
|
6632
|
+
}, z.core.$loose>;
|
|
6633
|
+
}, z.core.$strip>;
|
|
6634
|
+
meta: z.ZodObject<{
|
|
6635
|
+
readonly requestId: z.ZodString;
|
|
6636
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
6637
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
6638
|
+
}, z.core.$strip>;
|
|
6639
|
+
}, z.core.$strip>>;
|
|
6640
|
+
};
|
|
6641
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
6642
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6643
|
+
readonly error: z.ZodObject<{
|
|
6644
|
+
code: z.ZodEnum<{
|
|
6645
|
+
rate_limited: "rate_limited";
|
|
6646
|
+
invalid_request: "invalid_request";
|
|
6647
|
+
unauthorized: "unauthorized";
|
|
6648
|
+
forbidden: "forbidden";
|
|
6649
|
+
site_not_found: "site_not_found";
|
|
6650
|
+
internal_error: "internal_error";
|
|
6651
|
+
contract_violation: "contract_violation";
|
|
6652
|
+
}>;
|
|
6653
|
+
message: z.ZodString;
|
|
6654
|
+
requestId: z.ZodString;
|
|
6655
|
+
retryable: z.ZodBoolean;
|
|
6656
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6657
|
+
}, z.core.$strict>;
|
|
6658
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6659
|
+
readonly error: z.ZodObject<{
|
|
6660
|
+
code: z.ZodEnum<{
|
|
6661
|
+
rate_limited: "rate_limited";
|
|
6662
|
+
invalid_request: "invalid_request";
|
|
6663
|
+
unauthorized: "unauthorized";
|
|
6664
|
+
forbidden: "forbidden";
|
|
6665
|
+
site_not_found: "site_not_found";
|
|
6666
|
+
internal_error: "internal_error";
|
|
6667
|
+
contract_violation: "contract_violation";
|
|
6668
|
+
}>;
|
|
6669
|
+
message: z.ZodString;
|
|
6670
|
+
requestId: z.ZodString;
|
|
6671
|
+
retryable: z.ZodBoolean;
|
|
6672
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6673
|
+
}, z.core.$loose>;
|
|
6674
|
+
}, z.core.$strip>>;
|
|
6675
|
+
readonly resources: {
|
|
6676
|
+
readonly reads: readonly [{
|
|
6677
|
+
readonly type: "site.analytics";
|
|
6678
|
+
readonly idFrom: "params.siteId";
|
|
6679
|
+
}];
|
|
6680
|
+
readonly changes: readonly [];
|
|
6681
|
+
};
|
|
6682
|
+
readonly lifecycle: {
|
|
6683
|
+
readonly introduced: "1.1.0";
|
|
6684
|
+
};
|
|
6685
|
+
readonly docs: {
|
|
6686
|
+
readonly summary: "Get unique-page trend";
|
|
6687
|
+
readonly description: "Returns the daily unique-page count series for a window, with an optional previous-period total for comparison.";
|
|
6688
|
+
readonly tags: readonly ["Analytics"];
|
|
6689
|
+
readonly examples: {
|
|
6690
|
+
readonly request: {
|
|
6691
|
+
readonly params: {
|
|
6692
|
+
readonly siteId: "s_01";
|
|
6693
|
+
};
|
|
6694
|
+
readonly query: {
|
|
6695
|
+
readonly startDate: "2026-06-01";
|
|
6696
|
+
readonly endDate: "2026-06-28";
|
|
6697
|
+
};
|
|
6698
|
+
};
|
|
6699
|
+
readonly response: {
|
|
6700
|
+
readonly data: {
|
|
6701
|
+
readonly daily: readonly [];
|
|
6702
|
+
readonly total: 0;
|
|
6703
|
+
readonly meta: {
|
|
6704
|
+
readonly siteUrl: "sc-domain:example.com";
|
|
6705
|
+
readonly syncStatus: "synced";
|
|
6706
|
+
};
|
|
6707
|
+
};
|
|
6708
|
+
readonly meta: {
|
|
6709
|
+
readonly requestId: "req_01";
|
|
6710
|
+
readonly surface: "partner";
|
|
6711
|
+
readonly version: "1.0";
|
|
6712
|
+
};
|
|
6713
|
+
};
|
|
6714
|
+
};
|
|
6715
|
+
};
|
|
6716
|
+
};
|
|
6717
|
+
}>;
|
|
6718
|
+
analytics: HttpV1Surface<{
|
|
6719
|
+
readonly queryRows: {
|
|
6720
|
+
readonly id: "analytics.rows.query";
|
|
6721
|
+
readonly method: "POST";
|
|
6722
|
+
readonly path: "/sites/{siteId}/rows";
|
|
6723
|
+
readonly visibility: "public";
|
|
6724
|
+
readonly semantics: {
|
|
6725
|
+
readonly kind: "query";
|
|
6726
|
+
readonly sideEffects: "none";
|
|
6727
|
+
readonly idempotent: true;
|
|
6728
|
+
readonly retry: "idempotent";
|
|
6729
|
+
readonly readConsistency: "primary";
|
|
6730
|
+
};
|
|
6731
|
+
readonly auth: {
|
|
6732
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
6733
|
+
readonly scopes: readonly ["analytics:execute"];
|
|
6734
|
+
readonly ownership: readonly [{
|
|
6735
|
+
readonly credential: "user_key";
|
|
6736
|
+
readonly rule: "authorized_site";
|
|
6737
|
+
}, {
|
|
6738
|
+
readonly credential: "partner_key";
|
|
6739
|
+
readonly rule: "authorized_site";
|
|
6740
|
+
}];
|
|
6741
|
+
};
|
|
6742
|
+
readonly request: {
|
|
6743
|
+
readonly params: z.ZodObject<{
|
|
6744
|
+
siteId: z.ZodString;
|
|
6745
|
+
}, z.core.$strict>;
|
|
6746
|
+
readonly query: null;
|
|
6747
|
+
readonly headers: z.ZodObject<{
|
|
6748
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
6749
|
+
}, z.core.$strict>;
|
|
6750
|
+
readonly body: z.ZodObject<{
|
|
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>;
|
|
6804
|
+
};
|
|
6805
|
+
readonly responses: {
|
|
6806
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
6807
|
+
data: z.ZodObject<{
|
|
6808
|
+
readonly rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
6809
|
+
}, z.core.$strip>;
|
|
6810
|
+
meta: z.ZodObject<{
|
|
6811
|
+
readonly requestId: z.ZodString;
|
|
6812
|
+
readonly surface: z.ZodLiteral<"analytics">;
|
|
6813
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
5823
6814
|
readonly sourceName: z.ZodString;
|
|
5824
6815
|
readonly sourceKind: z.ZodEnum<{
|
|
5825
6816
|
row: "row";
|
|
@@ -5848,12 +6839,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5848
6839
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
5849
6840
|
readonly error: z.ZodObject<{
|
|
5850
6841
|
code: z.ZodEnum<{
|
|
5851
|
-
|
|
6842
|
+
rate_limited: "rate_limited";
|
|
5852
6843
|
invalid_request: "invalid_request";
|
|
5853
6844
|
unauthorized: "unauthorized";
|
|
5854
6845
|
forbidden: "forbidden";
|
|
5855
6846
|
site_not_found: "site_not_found";
|
|
5856
|
-
|
|
6847
|
+
internal_error: "internal_error";
|
|
5857
6848
|
contract_violation: "contract_violation";
|
|
5858
6849
|
}>;
|
|
5859
6850
|
message: z.ZodString;
|
|
@@ -5864,12 +6855,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5864
6855
|
}, z.core.$strip>, z.ZodObject<{
|
|
5865
6856
|
readonly error: z.ZodObject<{
|
|
5866
6857
|
code: z.ZodEnum<{
|
|
5867
|
-
|
|
6858
|
+
rate_limited: "rate_limited";
|
|
5868
6859
|
invalid_request: "invalid_request";
|
|
5869
6860
|
unauthorized: "unauthorized";
|
|
5870
6861
|
forbidden: "forbidden";
|
|
5871
6862
|
site_not_found: "site_not_found";
|
|
5872
|
-
|
|
6863
|
+
internal_error: "internal_error";
|
|
5873
6864
|
contract_violation: "contract_violation";
|
|
5874
6865
|
}>;
|
|
5875
6866
|
message: z.ZodString;
|
|
@@ -5962,12 +6953,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5962
6953
|
}>>;
|
|
5963
6954
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
5964
6955
|
date: "date";
|
|
5965
|
-
|
|
6956
|
+
country: "country";
|
|
6957
|
+
searchAppearance: "searchAppearance";
|
|
5966
6958
|
query: "query";
|
|
6959
|
+
page: "page";
|
|
5967
6960
|
queryCanonical: "queryCanonical";
|
|
5968
|
-
country: "country";
|
|
5969
6961
|
device: "device";
|
|
5970
|
-
searchAppearance: "searchAppearance";
|
|
5971
6962
|
hour: "hour";
|
|
5972
6963
|
}>>;
|
|
5973
6964
|
}, z.core.$loose>;
|
|
@@ -5982,12 +6973,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5982
6973
|
}>>;
|
|
5983
6974
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
5984
6975
|
date: "date";
|
|
5985
|
-
|
|
6976
|
+
country: "country";
|
|
6977
|
+
searchAppearance: "searchAppearance";
|
|
5986
6978
|
query: "query";
|
|
6979
|
+
page: "page";
|
|
5987
6980
|
queryCanonical: "queryCanonical";
|
|
5988
|
-
country: "country";
|
|
5989
6981
|
device: "device";
|
|
5990
|
-
searchAppearance: "searchAppearance";
|
|
5991
6982
|
hour: "hour";
|
|
5992
6983
|
}>>;
|
|
5993
6984
|
}, z.core.$loose>>;
|
|
@@ -6094,12 +7085,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6094
7085
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6095
7086
|
readonly error: z.ZodObject<{
|
|
6096
7087
|
code: z.ZodEnum<{
|
|
6097
|
-
|
|
7088
|
+
rate_limited: "rate_limited";
|
|
6098
7089
|
invalid_request: "invalid_request";
|
|
6099
7090
|
unauthorized: "unauthorized";
|
|
6100
7091
|
forbidden: "forbidden";
|
|
6101
7092
|
site_not_found: "site_not_found";
|
|
6102
|
-
|
|
7093
|
+
internal_error: "internal_error";
|
|
6103
7094
|
contract_violation: "contract_violation";
|
|
6104
7095
|
}>;
|
|
6105
7096
|
message: z.ZodString;
|
|
@@ -6110,12 +7101,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6110
7101
|
}, z.core.$strip>, z.ZodObject<{
|
|
6111
7102
|
readonly error: z.ZodObject<{
|
|
6112
7103
|
code: z.ZodEnum<{
|
|
6113
|
-
|
|
7104
|
+
rate_limited: "rate_limited";
|
|
6114
7105
|
invalid_request: "invalid_request";
|
|
6115
7106
|
unauthorized: "unauthorized";
|
|
6116
7107
|
forbidden: "forbidden";
|
|
6117
7108
|
site_not_found: "site_not_found";
|
|
6118
|
-
|
|
7109
|
+
internal_error: "internal_error";
|
|
6119
7110
|
contract_violation: "contract_violation";
|
|
6120
7111
|
}>;
|
|
6121
7112
|
message: z.ZodString;
|
|
@@ -6223,12 +7214,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6223
7214
|
}>>;
|
|
6224
7215
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
6225
7216
|
date: "date";
|
|
6226
|
-
|
|
7217
|
+
country: "country";
|
|
7218
|
+
searchAppearance: "searchAppearance";
|
|
6227
7219
|
query: "query";
|
|
7220
|
+
page: "page";
|
|
6228
7221
|
queryCanonical: "queryCanonical";
|
|
6229
|
-
country: "country";
|
|
6230
7222
|
device: "device";
|
|
6231
|
-
searchAppearance: "searchAppearance";
|
|
6232
7223
|
hour: "hour";
|
|
6233
7224
|
}>>;
|
|
6234
7225
|
}, z.core.$loose>;
|
|
@@ -6243,12 +7234,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6243
7234
|
}>>;
|
|
6244
7235
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
6245
7236
|
date: "date";
|
|
6246
|
-
|
|
7237
|
+
country: "country";
|
|
7238
|
+
searchAppearance: "searchAppearance";
|
|
6247
7239
|
query: "query";
|
|
7240
|
+
page: "page";
|
|
6248
7241
|
queryCanonical: "queryCanonical";
|
|
6249
|
-
country: "country";
|
|
6250
7242
|
device: "device";
|
|
6251
|
-
searchAppearance: "searchAppearance";
|
|
6252
7243
|
hour: "hour";
|
|
6253
7244
|
}>>;
|
|
6254
7245
|
}, z.core.$loose>>;
|
|
@@ -6375,12 +7366,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6375
7366
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6376
7367
|
readonly error: z.ZodObject<{
|
|
6377
7368
|
code: z.ZodEnum<{
|
|
6378
|
-
|
|
7369
|
+
rate_limited: "rate_limited";
|
|
6379
7370
|
invalid_request: "invalid_request";
|
|
6380
7371
|
unauthorized: "unauthorized";
|
|
6381
7372
|
forbidden: "forbidden";
|
|
6382
7373
|
site_not_found: "site_not_found";
|
|
6383
|
-
|
|
7374
|
+
internal_error: "internal_error";
|
|
6384
7375
|
contract_violation: "contract_violation";
|
|
6385
7376
|
}>;
|
|
6386
7377
|
message: z.ZodString;
|
|
@@ -6391,12 +7382,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6391
7382
|
}, z.core.$strip>, z.ZodObject<{
|
|
6392
7383
|
readonly error: z.ZodObject<{
|
|
6393
7384
|
code: z.ZodEnum<{
|
|
6394
|
-
|
|
7385
|
+
rate_limited: "rate_limited";
|
|
6395
7386
|
invalid_request: "invalid_request";
|
|
6396
7387
|
unauthorized: "unauthorized";
|
|
6397
7388
|
forbidden: "forbidden";
|
|
6398
7389
|
site_not_found: "site_not_found";
|
|
6399
|
-
|
|
7390
|
+
internal_error: "internal_error";
|
|
6400
7391
|
contract_violation: "contract_violation";
|
|
6401
7392
|
}>;
|
|
6402
7393
|
message: z.ZodString;
|
|
@@ -6524,12 +7515,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6524
7515
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6525
7516
|
readonly error: z.ZodObject<{
|
|
6526
7517
|
code: z.ZodEnum<{
|
|
6527
|
-
|
|
7518
|
+
rate_limited: "rate_limited";
|
|
6528
7519
|
invalid_request: "invalid_request";
|
|
6529
7520
|
unauthorized: "unauthorized";
|
|
6530
7521
|
forbidden: "forbidden";
|
|
6531
|
-
rate_limited: "rate_limited";
|
|
6532
7522
|
realtime_unavailable: "realtime_unavailable";
|
|
7523
|
+
internal_error: "internal_error";
|
|
6533
7524
|
contract_violation: "contract_violation";
|
|
6534
7525
|
}>;
|
|
6535
7526
|
message: z.ZodString;
|
|
@@ -6540,12 +7531,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6540
7531
|
}, z.core.$strip>, z.ZodObject<{
|
|
6541
7532
|
readonly error: z.ZodObject<{
|
|
6542
7533
|
code: z.ZodEnum<{
|
|
6543
|
-
|
|
7534
|
+
rate_limited: "rate_limited";
|
|
6544
7535
|
invalid_request: "invalid_request";
|
|
6545
7536
|
unauthorized: "unauthorized";
|
|
6546
7537
|
forbidden: "forbidden";
|
|
6547
|
-
rate_limited: "rate_limited";
|
|
6548
7538
|
realtime_unavailable: "realtime_unavailable";
|
|
7539
|
+
internal_error: "internal_error";
|
|
6549
7540
|
contract_violation: "contract_violation";
|
|
6550
7541
|
}>;
|
|
6551
7542
|
message: z.ZodString;
|
|
@@ -6659,12 +7650,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6659
7650
|
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
6660
7651
|
readonly error: z.ZodObject<{
|
|
6661
7652
|
code: z.ZodEnum<{
|
|
6662
|
-
|
|
7653
|
+
rate_limited: "rate_limited";
|
|
6663
7654
|
invalid_request: "invalid_request";
|
|
6664
7655
|
unauthorized: "unauthorized";
|
|
6665
7656
|
forbidden: "forbidden";
|
|
6666
|
-
rate_limited: "rate_limited";
|
|
6667
7657
|
realtime_unavailable: "realtime_unavailable";
|
|
7658
|
+
internal_error: "internal_error";
|
|
6668
7659
|
contract_violation: "contract_violation";
|
|
6669
7660
|
}>;
|
|
6670
7661
|
message: z.ZodString;
|
|
@@ -6675,12 +7666,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6675
7666
|
}, z.core.$strip>, z.ZodObject<{
|
|
6676
7667
|
readonly error: z.ZodObject<{
|
|
6677
7668
|
code: z.ZodEnum<{
|
|
6678
|
-
|
|
7669
|
+
rate_limited: "rate_limited";
|
|
6679
7670
|
invalid_request: "invalid_request";
|
|
6680
7671
|
unauthorized: "unauthorized";
|
|
6681
7672
|
forbidden: "forbidden";
|
|
6682
|
-
rate_limited: "rate_limited";
|
|
6683
7673
|
realtime_unavailable: "realtime_unavailable";
|
|
7674
|
+
internal_error: "internal_error";
|
|
6684
7675
|
contract_violation: "contract_violation";
|
|
6685
7676
|
}>;
|
|
6686
7677
|
message: z.ZodString;
|
|
@@ -6909,9 +7900,9 @@ declare function createRealtimeV1Schemas(): {
|
|
|
6909
7900
|
type: z.ZodString;
|
|
6910
7901
|
id: z.ZodString;
|
|
6911
7902
|
kind: z.ZodEnum<{
|
|
6912
|
-
created: "created";
|
|
6913
7903
|
updated: "updated";
|
|
6914
7904
|
deleted: "deleted";
|
|
7905
|
+
created: "created";
|
|
6915
7906
|
}>;
|
|
6916
7907
|
}, z.core.$strict>;
|
|
6917
7908
|
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -6936,9 +7927,9 @@ declare function createRealtimeV1Schemas(): {
|
|
|
6936
7927
|
type: z.ZodString;
|
|
6937
7928
|
id: z.ZodString;
|
|
6938
7929
|
kind: z.ZodEnum<{
|
|
6939
|
-
created: "created";
|
|
6940
7930
|
updated: "updated";
|
|
6941
7931
|
deleted: "deleted";
|
|
7932
|
+
created: "created";
|
|
6942
7933
|
}>;
|
|
6943
7934
|
}, z.core.$strict>>;
|
|
6944
7935
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -6970,9 +7961,9 @@ declare function createRealtimeV1Schemas(): {
|
|
|
6970
7961
|
type: z.ZodString;
|
|
6971
7962
|
id: z.ZodString;
|
|
6972
7963
|
kind: z.ZodEnum<{
|
|
6973
|
-
created: "created";
|
|
6974
7964
|
updated: "updated";
|
|
6975
7965
|
deleted: "deleted";
|
|
7966
|
+
created: "created";
|
|
6976
7967
|
}>;
|
|
6977
7968
|
}, z.core.$strict>>;
|
|
6978
7969
|
delivery: z.ZodLiteral<"ephemeral">;
|
|
@@ -7007,9 +7998,9 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7007
7998
|
type: z.ZodString;
|
|
7008
7999
|
id: z.ZodString;
|
|
7009
8000
|
kind: z.ZodEnum<{
|
|
7010
|
-
created: "created";
|
|
7011
8001
|
updated: "updated";
|
|
7012
8002
|
deleted: "deleted";
|
|
8003
|
+
created: "created";
|
|
7013
8004
|
}>;
|
|
7014
8005
|
}, z.core.$strict>>;
|
|
7015
8006
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -7040,9 +8031,9 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7040
8031
|
type: z.ZodString;
|
|
7041
8032
|
id: z.ZodString;
|
|
7042
8033
|
kind: z.ZodEnum<{
|
|
7043
|
-
created: "created";
|
|
7044
8034
|
updated: "updated";
|
|
7045
8035
|
deleted: "deleted";
|
|
8036
|
+
created: "created";
|
|
7046
8037
|
}>;
|
|
7047
8038
|
}, z.core.$strict>>;
|
|
7048
8039
|
delivery: z.ZodLiteral<"ephemeral">;
|
|
@@ -7136,9 +8127,9 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7136
8127
|
type: z.ZodString;
|
|
7137
8128
|
id: z.ZodString;
|
|
7138
8129
|
kind: z.ZodEnum<{
|
|
7139
|
-
created: "created";
|
|
7140
8130
|
updated: "updated";
|
|
7141
8131
|
deleted: "deleted";
|
|
8132
|
+
created: "created";
|
|
7142
8133
|
}>;
|
|
7143
8134
|
}, z.core.$strict>>;
|
|
7144
8135
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -7186,11 +8177,11 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7186
8177
|
type: z.ZodLiteral<"error">;
|
|
7187
8178
|
error: z.ZodObject<{
|
|
7188
8179
|
code: z.ZodEnum<{
|
|
8180
|
+
internal_error: "internal_error";
|
|
7189
8181
|
invalid_frame: "invalid_frame";
|
|
7190
8182
|
protocol_mismatch: "protocol_mismatch";
|
|
7191
8183
|
policy_violation: "policy_violation";
|
|
7192
8184
|
overloaded: "overloaded";
|
|
7193
|
-
internal_error: "internal_error";
|
|
7194
8185
|
}>;
|
|
7195
8186
|
message: z.ZodString;
|
|
7196
8187
|
retryable: z.ZodBoolean;
|
|
@@ -7259,9 +8250,9 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7259
8250
|
type: z.ZodString;
|
|
7260
8251
|
id: z.ZodString;
|
|
7261
8252
|
kind: z.ZodEnum<{
|
|
7262
|
-
created: "created";
|
|
7263
8253
|
updated: "updated";
|
|
7264
8254
|
deleted: "deleted";
|
|
8255
|
+
created: "created";
|
|
7265
8256
|
}>;
|
|
7266
8257
|
}, z.core.$strict>>;
|
|
7267
8258
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -7292,9 +8283,9 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7292
8283
|
type: z.ZodString;
|
|
7293
8284
|
id: z.ZodString;
|
|
7294
8285
|
kind: z.ZodEnum<{
|
|
7295
|
-
created: "created";
|
|
7296
8286
|
updated: "updated";
|
|
7297
8287
|
deleted: "deleted";
|
|
8288
|
+
created: "created";
|
|
7298
8289
|
}>;
|
|
7299
8290
|
}, z.core.$strict>>;
|
|
7300
8291
|
delivery: z.ZodLiteral<"ephemeral">;
|
|
@@ -7330,9 +8321,9 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7330
8321
|
type: z.ZodString;
|
|
7331
8322
|
id: z.ZodString;
|
|
7332
8323
|
kind: z.ZodEnum<{
|
|
7333
|
-
created: "created";
|
|
7334
8324
|
updated: "updated";
|
|
7335
8325
|
deleted: "deleted";
|
|
8326
|
+
created: "created";
|
|
7336
8327
|
}>;
|
|
7337
8328
|
}, z.core.$strict>>;
|
|
7338
8329
|
delivery: z.ZodLiteral<"durable">;
|
|
@@ -7378,11 +8369,11 @@ declare function createRealtimeV1Schemas(): {
|
|
|
7378
8369
|
type: z.ZodLiteral<"error">;
|
|
7379
8370
|
error: z.ZodObject<{
|
|
7380
8371
|
code: z.ZodEnum<{
|
|
8372
|
+
internal_error: "internal_error";
|
|
7381
8373
|
invalid_frame: "invalid_frame";
|
|
7382
8374
|
protocol_mismatch: "protocol_mismatch";
|
|
7383
8375
|
policy_violation: "policy_violation";
|
|
7384
8376
|
overloaded: "overloaded";
|
|
7385
|
-
internal_error: "internal_error";
|
|
7386
8377
|
}>;
|
|
7387
8378
|
message: z.ZodString;
|
|
7388
8379
|
retryable: z.ZodBoolean;
|