@gscdump/contracts 3.0.0 → 3.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/analytics.d.mts +3 -3
- package/dist/archetypes.d.mts +2 -1
- package/dist/endpoints.d.mts +66 -66
- package/dist/file-resolution.d.mts +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +2 -1
- package/dist/partner.d.mts +3 -3
- package/dist/schemas.d.mts +260 -265
- package/dist/schemas.mjs +2 -8
- package/dist/search-types.d.mts +10 -0
- package/dist/search-types.mjs +9 -0
- package/dist/types.d.mts +2 -2
- package/dist/v1/browser.d.mts +6 -6
- package/dist/v1/browser.mjs +2 -8
- package/dist/v1/http-core.d.mts +30 -1
- package/dist/v1/http-core.mjs +36 -1
- package/dist/v1/http.d.mts +2 -2
- package/dist/v1/http.mjs +2 -2
- package/dist/v1/index.d.mts +2 -2
- package/dist/v1/index.mjs +2 -2
- package/dist/v1/operations.d.mts +114 -114
- package/package.json +6 -1
package/dist/v1/operations.d.mts
CHANGED
|
@@ -728,12 +728,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
728
728
|
analyticsReportDetailRequest: z.ZodObject<{
|
|
729
729
|
state: z.ZodObject<{
|
|
730
730
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
731
|
+
readonly WEB: "web";
|
|
732
|
+
readonly IMAGE: "image";
|
|
733
|
+
readonly VIDEO: "video";
|
|
734
|
+
readonly NEWS: "news";
|
|
735
|
+
readonly DISCOVER: "discover";
|
|
736
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
737
737
|
}>>;
|
|
738
738
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
739
739
|
page: "page";
|
|
@@ -748,12 +748,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
748
748
|
}, z.core.$loose>;
|
|
749
749
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
750
750
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
751
|
+
readonly WEB: "web";
|
|
752
|
+
readonly IMAGE: "image";
|
|
753
|
+
readonly VIDEO: "video";
|
|
754
|
+
readonly NEWS: "news";
|
|
755
|
+
readonly DISCOVER: "discover";
|
|
756
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
757
757
|
}>>;
|
|
758
758
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
759
759
|
page: "page";
|
|
@@ -885,12 +885,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
885
885
|
analyticsReportRequest: z.ZodObject<{
|
|
886
886
|
state: z.ZodObject<{
|
|
887
887
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
888
|
+
readonly WEB: "web";
|
|
889
|
+
readonly IMAGE: "image";
|
|
890
|
+
readonly VIDEO: "video";
|
|
891
|
+
readonly NEWS: "news";
|
|
892
|
+
readonly DISCOVER: "discover";
|
|
893
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
894
894
|
}>>;
|
|
895
895
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
896
896
|
page: "page";
|
|
@@ -905,12 +905,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
905
905
|
}, z.core.$loose>;
|
|
906
906
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
907
907
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
908
|
+
readonly WEB: "web";
|
|
909
|
+
readonly IMAGE: "image";
|
|
910
|
+
readonly VIDEO: "video";
|
|
911
|
+
readonly NEWS: "news";
|
|
912
|
+
readonly DISCOVER: "discover";
|
|
913
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
914
914
|
}>>;
|
|
915
915
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
916
916
|
page: "page";
|
|
@@ -1065,12 +1065,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1065
1065
|
byNewsShowcasePanel: "byNewsShowcasePanel";
|
|
1066
1066
|
}>>;
|
|
1067
1067
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1068
|
+
readonly WEB: "web";
|
|
1069
|
+
readonly IMAGE: "image";
|
|
1070
|
+
readonly VIDEO: "video";
|
|
1071
|
+
readonly NEWS: "news";
|
|
1072
|
+
readonly DISCOVER: "discover";
|
|
1073
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1074
1074
|
}>>;
|
|
1075
1075
|
}, z.core.$strict>;
|
|
1076
1076
|
analyticsRowsResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
@@ -1128,12 +1128,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1128
1128
|
maxPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1129
1129
|
maxCtr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1130
1130
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1131
|
+
readonly WEB: "web";
|
|
1132
|
+
readonly IMAGE: "image";
|
|
1133
|
+
readonly VIDEO: "video";
|
|
1134
|
+
readonly NEWS: "news";
|
|
1135
|
+
readonly DISCOVER: "discover";
|
|
1136
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1137
1137
|
}>>;
|
|
1138
1138
|
}, z.core.$strict>;
|
|
1139
1139
|
analysisBundleResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
@@ -1211,12 +1211,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1211
1211
|
maxPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1212
1212
|
maxCtr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1213
1213
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1214
|
+
readonly WEB: "web";
|
|
1215
|
+
readonly IMAGE: "image";
|
|
1216
|
+
readonly VIDEO: "video";
|
|
1217
|
+
readonly NEWS: "news";
|
|
1218
|
+
readonly DISCOVER: "discover";
|
|
1219
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
1220
1220
|
}>>;
|
|
1221
1221
|
}, z.core.$strict>;
|
|
1222
1222
|
analysisResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
@@ -2289,12 +2289,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2289
2289
|
"job.failed": "job.failed";
|
|
2290
2290
|
}>>>;
|
|
2291
2291
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2292
|
+
readonly WEB: "web";
|
|
2293
|
+
readonly IMAGE: "image";
|
|
2294
|
+
readonly VIDEO: "video";
|
|
2295
|
+
readonly NEWS: "news";
|
|
2296
|
+
readonly DISCOVER: "discover";
|
|
2297
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
2298
2298
|
}>>>;
|
|
2299
2299
|
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
2300
2300
|
}, z.core.$strict>;
|
|
@@ -3708,12 +3708,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3708
3708
|
"job.failed": "job.failed";
|
|
3709
3709
|
}>>>;
|
|
3710
3710
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3711
|
+
readonly WEB: "web";
|
|
3712
|
+
readonly IMAGE: "image";
|
|
3713
|
+
readonly VIDEO: "video";
|
|
3714
|
+
readonly NEWS: "news";
|
|
3715
|
+
readonly DISCOVER: "discover";
|
|
3716
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
3717
3717
|
}>>>;
|
|
3718
3718
|
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
3719
3719
|
}, z.core.$strict>;
|
|
@@ -6183,12 +6183,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6183
6183
|
maxPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6184
6184
|
maxCtr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6185
6185
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6186
|
+
readonly WEB: "web";
|
|
6187
|
+
readonly IMAGE: "image";
|
|
6188
|
+
readonly VIDEO: "video";
|
|
6189
|
+
readonly NEWS: "news";
|
|
6190
|
+
readonly DISCOVER: "discover";
|
|
6191
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
6192
6192
|
}>>;
|
|
6193
6193
|
}, z.core.$strict>;
|
|
6194
6194
|
readonly headers: z.ZodObject<{
|
|
@@ -6395,12 +6395,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
6395
6395
|
maxPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6396
6396
|
maxCtr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6397
6397
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6398
|
+
readonly WEB: "web";
|
|
6399
|
+
readonly IMAGE: "image";
|
|
6400
|
+
readonly VIDEO: "video";
|
|
6401
|
+
readonly NEWS: "news";
|
|
6402
|
+
readonly DISCOVER: "discover";
|
|
6403
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
6404
6404
|
}>>;
|
|
6405
6405
|
}, z.core.$strict>;
|
|
6406
6406
|
readonly headers: z.ZodObject<{
|
|
@@ -7246,12 +7246,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7246
7246
|
startDate: z.ZodString;
|
|
7247
7247
|
endDate: z.ZodString;
|
|
7248
7248
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7249
|
+
readonly WEB: "web";
|
|
7250
|
+
readonly IMAGE: "image";
|
|
7251
|
+
readonly VIDEO: "video";
|
|
7252
|
+
readonly NEWS: "news";
|
|
7253
|
+
readonly DISCOVER: "discover";
|
|
7254
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
7255
7255
|
}>>;
|
|
7256
7256
|
}, z.core.$strict>;
|
|
7257
7257
|
};
|
|
@@ -7381,12 +7381,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7381
7381
|
startDate: z.ZodString;
|
|
7382
7382
|
endDate: z.ZodString;
|
|
7383
7383
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7384
|
+
readonly WEB: "web";
|
|
7385
|
+
readonly IMAGE: "image";
|
|
7386
|
+
readonly VIDEO: "video";
|
|
7387
|
+
readonly NEWS: "news";
|
|
7388
|
+
readonly DISCOVER: "discover";
|
|
7389
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
7390
7390
|
}>>;
|
|
7391
7391
|
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
7392
7392
|
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
@@ -7542,12 +7542,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
7542
7542
|
startDate: z.ZodString;
|
|
7543
7543
|
endDate: z.ZodString;
|
|
7544
7544
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7545
|
+
readonly WEB: "web";
|
|
7546
|
+
readonly IMAGE: "image";
|
|
7547
|
+
readonly VIDEO: "video";
|
|
7548
|
+
readonly NEWS: "news";
|
|
7549
|
+
readonly DISCOVER: "discover";
|
|
7550
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
7551
7551
|
}>>;
|
|
7552
7552
|
prevStartDate: z.ZodOptional<z.ZodString>;
|
|
7553
7553
|
prevEndDate: z.ZodOptional<z.ZodString>;
|
|
@@ -11978,12 +11978,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
11978
11978
|
byNewsShowcasePanel: "byNewsShowcasePanel";
|
|
11979
11979
|
}>>;
|
|
11980
11980
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
11981
|
-
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11981
|
+
readonly WEB: "web";
|
|
11982
|
+
readonly IMAGE: "image";
|
|
11983
|
+
readonly VIDEO: "video";
|
|
11984
|
+
readonly NEWS: "news";
|
|
11985
|
+
readonly DISCOVER: "discover";
|
|
11986
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
11987
11987
|
}>>;
|
|
11988
11988
|
}, z.core.$strict>;
|
|
11989
11989
|
};
|
|
@@ -12129,12 +12129,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
12129
12129
|
readonly body: z.ZodObject<{
|
|
12130
12130
|
state: z.ZodObject<{
|
|
12131
12131
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
12132
|
-
|
|
12133
|
-
|
|
12134
|
-
|
|
12135
|
-
|
|
12136
|
-
|
|
12137
|
-
|
|
12132
|
+
readonly WEB: "web";
|
|
12133
|
+
readonly IMAGE: "image";
|
|
12134
|
+
readonly VIDEO: "video";
|
|
12135
|
+
readonly NEWS: "news";
|
|
12136
|
+
readonly DISCOVER: "discover";
|
|
12137
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
12138
12138
|
}>>;
|
|
12139
12139
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
12140
12140
|
page: "page";
|
|
@@ -12149,12 +12149,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
12149
12149
|
}, z.core.$loose>;
|
|
12150
12150
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
12151
12151
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
12152
|
-
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12152
|
+
readonly WEB: "web";
|
|
12153
|
+
readonly IMAGE: "image";
|
|
12154
|
+
readonly VIDEO: "video";
|
|
12155
|
+
readonly NEWS: "news";
|
|
12156
|
+
readonly DISCOVER: "discover";
|
|
12157
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
12158
12158
|
}>>;
|
|
12159
12159
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
12160
12160
|
page: "page";
|
|
@@ -12390,12 +12390,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
12390
12390
|
readonly body: z.ZodObject<{
|
|
12391
12391
|
state: z.ZodObject<{
|
|
12392
12392
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12393
|
+
readonly WEB: "web";
|
|
12394
|
+
readonly IMAGE: "image";
|
|
12395
|
+
readonly VIDEO: "video";
|
|
12396
|
+
readonly NEWS: "news";
|
|
12397
|
+
readonly DISCOVER: "discover";
|
|
12398
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
12399
12399
|
}>>;
|
|
12400
12400
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
12401
12401
|
page: "page";
|
|
@@ -12410,12 +12410,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
12410
12410
|
}, z.core.$loose>;
|
|
12411
12411
|
comparison: z.ZodOptional<z.ZodObject<{
|
|
12412
12412
|
searchType: z.ZodOptional<z.ZodEnum<{
|
|
12413
|
-
|
|
12414
|
-
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
|
|
12413
|
+
readonly WEB: "web";
|
|
12414
|
+
readonly IMAGE: "image";
|
|
12415
|
+
readonly VIDEO: "video";
|
|
12416
|
+
readonly NEWS: "news";
|
|
12417
|
+
readonly DISCOVER: "discover";
|
|
12418
|
+
readonly GOOGLE_NEWS: "googleNews";
|
|
12419
12419
|
}>>;
|
|
12420
12420
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
12421
12421
|
page: "page";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/contracts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"description": "Shared gscdump.com API, webhook, realtime, and lifecycle contracts.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -41,6 +41,11 @@
|
|
|
41
41
|
"import": "./dist/partner.mjs",
|
|
42
42
|
"default": "./dist/partner.mjs"
|
|
43
43
|
},
|
|
44
|
+
"./search-types": {
|
|
45
|
+
"types": "./dist/search-types.d.mts",
|
|
46
|
+
"import": "./dist/search-types.mjs",
|
|
47
|
+
"default": "./dist/search-types.mjs"
|
|
48
|
+
},
|
|
44
49
|
"./v1": {
|
|
45
50
|
"types": "./dist/v1/index.d.mts",
|
|
46
51
|
"import": "./dist/v1/index.mjs",
|