@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.
@@ -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
- web: "web";
732
- image: "image";
733
- video: "video";
734
- news: "news";
735
- discover: "discover";
736
- googleNews: "googleNews";
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
- web: "web";
752
- image: "image";
753
- video: "video";
754
- news: "news";
755
- discover: "discover";
756
- googleNews: "googleNews";
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
- web: "web";
889
- image: "image";
890
- video: "video";
891
- news: "news";
892
- discover: "discover";
893
- googleNews: "googleNews";
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
- web: "web";
909
- image: "image";
910
- video: "video";
911
- news: "news";
912
- discover: "discover";
913
- googleNews: "googleNews";
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
- web: "web";
1069
- image: "image";
1070
- video: "video";
1071
- news: "news";
1072
- discover: "discover";
1073
- googleNews: "googleNews";
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
- web: "web";
1132
- image: "image";
1133
- video: "video";
1134
- news: "news";
1135
- discover: "discover";
1136
- googleNews: "googleNews";
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
- web: "web";
1215
- image: "image";
1216
- video: "video";
1217
- news: "news";
1218
- discover: "discover";
1219
- googleNews: "googleNews";
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
- web: "web";
2293
- image: "image";
2294
- video: "video";
2295
- news: "news";
2296
- discover: "discover";
2297
- googleNews: "googleNews";
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
- web: "web";
3712
- image: "image";
3713
- video: "video";
3714
- news: "news";
3715
- discover: "discover";
3716
- googleNews: "googleNews";
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
- web: "web";
6187
- image: "image";
6188
- video: "video";
6189
- news: "news";
6190
- discover: "discover";
6191
- googleNews: "googleNews";
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
- web: "web";
6399
- image: "image";
6400
- video: "video";
6401
- news: "news";
6402
- discover: "discover";
6403
- googleNews: "googleNews";
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
- web: "web";
7250
- image: "image";
7251
- video: "video";
7252
- news: "news";
7253
- discover: "discover";
7254
- googleNews: "googleNews";
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
- web: "web";
7385
- image: "image";
7386
- video: "video";
7387
- news: "news";
7388
- discover: "discover";
7389
- googleNews: "googleNews";
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
- web: "web";
7546
- image: "image";
7547
- video: "video";
7548
- news: "news";
7549
- discover: "discover";
7550
- googleNews: "googleNews";
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
- web: "web";
11982
- image: "image";
11983
- video: "video";
11984
- news: "news";
11985
- discover: "discover";
11986
- googleNews: "googleNews";
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
- web: "web";
12133
- image: "image";
12134
- video: "video";
12135
- news: "news";
12136
- discover: "discover";
12137
- googleNews: "googleNews";
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
- web: "web";
12153
- image: "image";
12154
- video: "video";
12155
- news: "news";
12156
- discover: "discover";
12157
- googleNews: "googleNews";
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
- web: "web";
12394
- image: "image";
12395
- video: "video";
12396
- news: "news";
12397
- discover: "discover";
12398
- googleNews: "googleNews";
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
- web: "web";
12414
- image: "image";
12415
- video: "video";
12416
- news: "news";
12417
- discover: "discover";
12418
- googleNews: "googleNews";
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.0.0",
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",