@gscdump/contracts 0.38.1 → 0.39.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.
@@ -107,6 +107,7 @@ declare const analyticsEndpoints: {
107
107
  eligibilityCeiling: import("zod").ZodObject<{
108
108
  maxBytes: import("zod").ZodNumber;
109
109
  maxRows: import("zod").ZodNumber;
110
+ maxFiles: import("zod").ZodNumber;
110
111
  }, import("zod/v4/core").$strip>;
111
112
  }, import("zod/v4/core").$loose>;
112
113
  };
@@ -961,6 +962,7 @@ declare const partnerEndpoints: {
961
962
  eligibilityCeiling: import("zod").ZodObject<{
962
963
  maxBytes: import("zod").ZodNumber;
963
964
  maxRows: import("zod").ZodNumber;
965
+ maxFiles: import("zod").ZodNumber;
964
966
  }, import("zod/v4/core").$strip>;
965
967
  }, import("zod/v4/core").$loose>;
966
968
  };
@@ -1850,6 +1850,7 @@ declare const gscdumpAnalysisSourcesResponseSchema: z.ZodObject<{
1850
1850
  eligibilityCeiling: z.ZodObject<{
1851
1851
  maxBytes: z.ZodNumber;
1852
1852
  maxRows: z.ZodNumber;
1853
+ maxFiles: z.ZodNumber;
1853
1854
  }, z.core.$strip>;
1854
1855
  }, z.core.$loose>;
1855
1856
  declare const gscdumpKeywordSparklinesParamsSchema: z.ZodObject<{
@@ -2601,6 +2602,7 @@ declare const analyticsEndpointSchemas: {
2601
2602
  eligibilityCeiling: z.ZodObject<{
2602
2603
  maxBytes: z.ZodNumber;
2603
2604
  maxRows: z.ZodNumber;
2605
+ maxFiles: z.ZodNumber;
2604
2606
  }, z.core.$strip>;
2605
2607
  }, z.core.$loose>;
2606
2608
  };
@@ -3259,6 +3261,7 @@ declare const partnerControlEndpointSchemas: {
3259
3261
  eligibilityCeiling: z.ZodObject<{
3260
3262
  maxBytes: z.ZodNumber;
3261
3263
  maxRows: z.ZodNumber;
3264
+ maxFiles: z.ZodNumber;
3262
3265
  }, z.core.$strip>;
3263
3266
  }, z.core.$loose>;
3264
3267
  };
@@ -4766,6 +4769,7 @@ declare const partnerEndpointSchemas: {
4766
4769
  eligibilityCeiling: z.ZodObject<{
4767
4770
  maxBytes: z.ZodNumber;
4768
4771
  maxRows: z.ZodNumber;
4772
+ maxFiles: z.ZodNumber;
4769
4773
  }, z.core.$strip>;
4770
4774
  }, z.core.$loose>;
4771
4775
  };
@@ -6035,6 +6039,7 @@ declare const partnerEndpointSchemas: {
6035
6039
  eligibilityCeiling: z.ZodObject<{
6036
6040
  maxBytes: z.ZodNumber;
6037
6041
  maxRows: z.ZodNumber;
6042
+ maxFiles: z.ZodNumber;
6038
6043
  }, z.core.$strip>;
6039
6044
  }, z.core.$loose>;
6040
6045
  };
@@ -1049,7 +1049,8 @@ const gscdumpAnalysisSourcesResponseSchema = z.object({
1049
1049
  }).optional(),
1050
1050
  eligibilityCeiling: z.object({
1051
1051
  maxBytes: z.number(),
1052
- maxRows: z.number()
1052
+ maxRows: z.number(),
1053
+ maxFiles: z.number()
1053
1054
  })
1054
1055
  }).loose();
1055
1056
  const gscdumpKeywordSparklinesParamsSchema = z.object({
@@ -12,6 +12,12 @@ interface FileResolutionRequest {
12
12
  * caller intends determines which tables it needs.
13
13
  */
14
14
  tables?: FileResolutionTable[];
15
+ /** Client-derived browser attachment byte ceiling. */
16
+ maxBytes?: number;
17
+ /** Client-derived browser attachment row ceiling. */
18
+ maxRows?: number;
19
+ /** Client-derived per-table parquet file-count ceiling. */
20
+ maxFiles?: number;
15
21
  /**
16
22
  * The archetype the caller will run. Lets the endpoint route the 2
17
23
  * window-function archetypes straight to the server tail even when the
@@ -120,6 +126,7 @@ interface FileResolutionResponse {
120
126
  eligibilityCeiling: {
121
127
  maxBytes: number;
122
128
  maxRows: number;
129
+ maxFiles: number;
123
130
  };
124
131
  }
125
132
  declare const GSCDUMP_ONBOARDING_CONTRACT_VERSION: "2026-05-11";
@@ -1111,6 +1118,12 @@ interface AnalysisSourcesOptions extends SearchTypeOptions {
1111
1118
  end?: string;
1112
1119
  startDate?: string;
1113
1120
  endDate?: string;
1121
+ /** Client-derived browser attachment byte ceiling. */
1122
+ maxBytes?: number;
1123
+ /** Client-derived browser attachment row ceiling. */
1124
+ maxRows?: number;
1125
+ /** Client-derived per-table parquet file-count ceiling. */
1126
+ maxFiles?: number;
1114
1127
  }
1115
1128
  interface DataQueryOptions {
1116
1129
  comparison?: BuilderState;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/contracts",
3
3
  "type": "module",
4
- "version": "0.38.1",
4
+ "version": "0.39.0",
5
5
  "description": "Shared gscdump.com API, webhook, realtime, and lifecycle contracts.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",