@corsair-dev/googlesheets 0.1.3 → 0.1.5

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.
@@ -6,195 +6,96 @@ export declare const GoogleSheetsEndpointInputSchemas: {
6
6
  title: z.ZodOptional<z.ZodString>;
7
7
  locale: z.ZodOptional<z.ZodString>;
8
8
  timeZone: z.ZodOptional<z.ZodString>;
9
- }, "strip", z.ZodTypeAny, {
10
- title?: string | undefined;
11
- locale?: string | undefined;
12
- timeZone?: string | undefined;
13
- }, {
14
- title?: string | undefined;
15
- locale?: string | undefined;
16
- timeZone?: string | undefined;
17
- }>>;
18
- }, "strip", z.ZodTypeAny, {
19
- properties?: {
20
- title?: string | undefined;
21
- locale?: string | undefined;
22
- timeZone?: string | undefined;
23
- } | undefined;
24
- }, {
25
- properties?: {
26
- title?: string | undefined;
27
- locale?: string | undefined;
28
- timeZone?: string | undefined;
29
- } | undefined;
30
- }>;
9
+ }, z.core.$strip>>;
10
+ }, z.core.$strip>;
31
11
  readonly spreadsheetsDelete: z.ZodObject<{
32
12
  spreadsheetId: z.ZodString;
33
- }, "strip", z.ZodTypeAny, {
34
- spreadsheetId: string;
35
- }, {
36
- spreadsheetId: string;
37
- }>;
13
+ }, z.core.$strip>;
38
14
  readonly spreadsheetsList: z.ZodObject<{
39
15
  pageSize: z.ZodOptional<z.ZodNumber>;
40
16
  pageToken: z.ZodOptional<z.ZodString>;
41
17
  query: z.ZodOptional<z.ZodString>;
42
- }, "strip", z.ZodTypeAny, {
43
- query?: string | undefined;
44
- pageSize?: number | undefined;
45
- pageToken?: string | undefined;
46
- }, {
47
- query?: string | undefined;
48
- pageSize?: number | undefined;
49
- pageToken?: string | undefined;
50
- }>;
18
+ }, z.core.$strip>;
51
19
  readonly sheetsAppendRow: z.ZodObject<{
52
20
  spreadsheetId: z.ZodString;
53
21
  sheetName: z.ZodOptional<z.ZodString>;
54
22
  range: z.ZodOptional<z.ZodString>;
55
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
56
- valueInputOption: z.ZodOptional<z.ZodEnum<["RAW", "USER_ENTERED"]>>;
57
- insertDataOption: z.ZodOptional<z.ZodEnum<["OVERWRITE", "INSERT_ROWS"]>>;
58
- }, "strip", z.ZodTypeAny, {
59
- spreadsheetId: string;
60
- range?: string | undefined;
61
- values?: (string | number | boolean | null)[] | undefined;
62
- sheetName?: string | undefined;
63
- valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
64
- insertDataOption?: "OVERWRITE" | "INSERT_ROWS" | undefined;
65
- }, {
66
- spreadsheetId: string;
67
- range?: string | undefined;
68
- values?: (string | number | boolean | null)[] | undefined;
69
- sheetName?: string | undefined;
70
- valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
71
- insertDataOption?: "OVERWRITE" | "INSERT_ROWS" | undefined;
72
- }>;
23
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
24
+ valueInputOption: z.ZodOptional<z.ZodEnum<{
25
+ RAW: "RAW";
26
+ USER_ENTERED: "USER_ENTERED";
27
+ }>>;
28
+ insertDataOption: z.ZodOptional<z.ZodEnum<{
29
+ OVERWRITE: "OVERWRITE";
30
+ INSERT_ROWS: "INSERT_ROWS";
31
+ }>>;
32
+ }, z.core.$strip>;
73
33
  readonly sheetsAppendOrUpdateRow: z.ZodObject<{
74
34
  spreadsheetId: z.ZodString;
75
35
  sheetName: z.ZodOptional<z.ZodString>;
76
36
  keyColumn: z.ZodOptional<z.ZodString>;
77
- keyValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
78
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
79
- valueInputOption: z.ZodOptional<z.ZodEnum<["RAW", "USER_ENTERED"]>>;
80
- insertDataOption: z.ZodOptional<z.ZodEnum<["OVERWRITE", "INSERT_ROWS"]>>;
81
- }, "strip", z.ZodTypeAny, {
82
- spreadsheetId: string;
83
- values?: (string | number | boolean | null)[] | undefined;
84
- sheetName?: string | undefined;
85
- valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
86
- insertDataOption?: "OVERWRITE" | "INSERT_ROWS" | undefined;
87
- keyColumn?: string | undefined;
88
- keyValue?: string | number | undefined;
89
- }, {
90
- spreadsheetId: string;
91
- values?: (string | number | boolean | null)[] | undefined;
92
- sheetName?: string | undefined;
93
- valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
94
- insertDataOption?: "OVERWRITE" | "INSERT_ROWS" | undefined;
95
- keyColumn?: string | undefined;
96
- keyValue?: string | number | undefined;
97
- }>;
37
+ keyValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
38
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
39
+ valueInputOption: z.ZodOptional<z.ZodEnum<{
40
+ RAW: "RAW";
41
+ USER_ENTERED: "USER_ENTERED";
42
+ }>>;
43
+ insertDataOption: z.ZodOptional<z.ZodEnum<{
44
+ OVERWRITE: "OVERWRITE";
45
+ INSERT_ROWS: "INSERT_ROWS";
46
+ }>>;
47
+ }, z.core.$strip>;
98
48
  readonly sheetsGetRows: z.ZodObject<{
99
49
  spreadsheetId: z.ZodString;
100
50
  sheetName: z.ZodOptional<z.ZodString>;
101
51
  range: z.ZodOptional<z.ZodString>;
102
- valueRenderOption: z.ZodOptional<z.ZodEnum<["FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA"]>>;
103
- dateTimeRenderOption: z.ZodOptional<z.ZodEnum<["SERIAL_NUMBER", "FORMATTED_STRING"]>>;
104
- }, "strip", z.ZodTypeAny, {
105
- spreadsheetId: string;
106
- range?: string | undefined;
107
- sheetName?: string | undefined;
108
- valueRenderOption?: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA" | undefined;
109
- dateTimeRenderOption?: "SERIAL_NUMBER" | "FORMATTED_STRING" | undefined;
110
- }, {
111
- spreadsheetId: string;
112
- range?: string | undefined;
113
- sheetName?: string | undefined;
114
- valueRenderOption?: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA" | undefined;
115
- dateTimeRenderOption?: "SERIAL_NUMBER" | "FORMATTED_STRING" | undefined;
116
- }>;
52
+ valueRenderOption: z.ZodOptional<z.ZodEnum<{
53
+ FORMATTED_VALUE: "FORMATTED_VALUE";
54
+ UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
55
+ FORMULA: "FORMULA";
56
+ }>>;
57
+ dateTimeRenderOption: z.ZodOptional<z.ZodEnum<{
58
+ SERIAL_NUMBER: "SERIAL_NUMBER";
59
+ FORMATTED_STRING: "FORMATTED_STRING";
60
+ }>>;
61
+ }, z.core.$strip>;
117
62
  readonly sheetsUpdateRow: z.ZodObject<{
118
63
  spreadsheetId: z.ZodString;
119
64
  sheetName: z.ZodOptional<z.ZodString>;
120
65
  range: z.ZodOptional<z.ZodString>;
121
66
  rowIndex: z.ZodOptional<z.ZodNumber>;
122
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
123
- valueInputOption: z.ZodOptional<z.ZodEnum<["RAW", "USER_ENTERED"]>>;
124
- }, "strip", z.ZodTypeAny, {
125
- spreadsheetId: string;
126
- range?: string | undefined;
127
- values?: (string | number | boolean | null)[] | undefined;
128
- sheetName?: string | undefined;
129
- valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
130
- rowIndex?: number | undefined;
131
- }, {
132
- spreadsheetId: string;
133
- range?: string | undefined;
134
- values?: (string | number | boolean | null)[] | undefined;
135
- sheetName?: string | undefined;
136
- valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
137
- rowIndex?: number | undefined;
138
- }>;
67
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
68
+ valueInputOption: z.ZodOptional<z.ZodEnum<{
69
+ RAW: "RAW";
70
+ USER_ENTERED: "USER_ENTERED";
71
+ }>>;
72
+ }, z.core.$strip>;
139
73
  readonly sheetsClearSheet: z.ZodObject<{
140
74
  spreadsheetId: z.ZodString;
141
75
  sheetName: z.ZodOptional<z.ZodString>;
142
76
  range: z.ZodOptional<z.ZodString>;
143
- }, "strip", z.ZodTypeAny, {
144
- spreadsheetId: string;
145
- range?: string | undefined;
146
- sheetName?: string | undefined;
147
- }, {
148
- spreadsheetId: string;
149
- range?: string | undefined;
150
- sheetName?: string | undefined;
151
- }>;
77
+ }, z.core.$strip>;
152
78
  readonly sheetsCreateSheet: z.ZodObject<{
153
79
  spreadsheetId: z.ZodString;
154
80
  title: z.ZodOptional<z.ZodString>;
155
- }, "strip", z.ZodTypeAny, {
156
- spreadsheetId: string;
157
- title?: string | undefined;
158
- }, {
159
- spreadsheetId: string;
160
- title?: string | undefined;
161
- }>;
81
+ }, z.core.$strip>;
162
82
  readonly sheetsDeleteSheet: z.ZodObject<{
163
83
  spreadsheetId: z.ZodString;
164
84
  sheetId: z.ZodNumber;
165
- }, "strip", z.ZodTypeAny, {
166
- spreadsheetId: string;
167
- sheetId: number;
168
- }, {
169
- spreadsheetId: string;
170
- sheetId: number;
171
- }>;
85
+ }, z.core.$strip>;
172
86
  readonly sheetsDeleteRowsOrColumns: z.ZodObject<{
173
87
  spreadsheetId: z.ZodString;
174
88
  sheetId: z.ZodNumber;
175
- dimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS"]>>;
89
+ dimension: z.ZodOptional<z.ZodEnum<{
90
+ ROWS: "ROWS";
91
+ COLUMNS: "COLUMNS";
92
+ }>>;
176
93
  startIndex: z.ZodOptional<z.ZodNumber>;
177
94
  endIndex: z.ZodOptional<z.ZodNumber>;
178
- }, "strip", z.ZodTypeAny, {
179
- spreadsheetId: string;
180
- sheetId: number;
181
- dimension?: "ROWS" | "COLUMNS" | undefined;
182
- startIndex?: number | undefined;
183
- endIndex?: number | undefined;
184
- }, {
185
- spreadsheetId: string;
186
- sheetId: number;
187
- dimension?: "ROWS" | "COLUMNS" | undefined;
188
- startIndex?: number | undefined;
189
- endIndex?: number | undefined;
190
- }>;
95
+ }, z.core.$strip>;
191
96
  readonly sheetsListSheetsInSpreadsheet: z.ZodObject<{
192
97
  spreadsheetId: z.ZodString;
193
- }, "strip", z.ZodTypeAny, {
194
- spreadsheetId: string;
195
- }, {
196
- spreadsheetId: string;
197
- }>;
98
+ }, z.core.$strip>;
198
99
  };
199
100
  export type GoogleSheetsEndpointInputs = {
200
101
  [K in keyof typeof GoogleSheetsEndpointInputSchemas]: z.infer<(typeof GoogleSheetsEndpointInputSchemas)[K]>;
@@ -205,39 +106,16 @@ export declare const GoogleSheetsEndpointOutputSchemas: {
205
106
  properties: z.ZodOptional<z.ZodObject<{
206
107
  title: z.ZodOptional<z.ZodString>;
207
108
  locale: z.ZodOptional<z.ZodString>;
208
- autoRecalc: z.ZodOptional<z.ZodEnum<["ON_CHANGE", "ON_UPDATE", "HOUR", "MINUTE"]>>;
109
+ autoRecalc: z.ZodOptional<z.ZodEnum<{
110
+ ON_CHANGE: "ON_CHANGE";
111
+ ON_UPDATE: "ON_UPDATE";
112
+ HOUR: "HOUR";
113
+ MINUTE: "MINUTE";
114
+ }>>;
209
115
  timeZone: z.ZodOptional<z.ZodString>;
210
- }, "strip", z.ZodTypeAny, {
211
- title?: string | undefined;
212
- locale?: string | undefined;
213
- timeZone?: string | undefined;
214
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
215
- }, {
216
- title?: string | undefined;
217
- locale?: string | undefined;
218
- timeZone?: string | undefined;
219
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
220
- }>>;
116
+ }, z.core.$strip>>;
221
117
  spreadsheetUrl: z.ZodOptional<z.ZodString>;
222
- }, "strip", z.ZodTypeAny, {
223
- properties?: {
224
- title?: string | undefined;
225
- locale?: string | undefined;
226
- timeZone?: string | undefined;
227
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
228
- } | undefined;
229
- spreadsheetId?: string | undefined;
230
- spreadsheetUrl?: string | undefined;
231
- }, {
232
- properties?: {
233
- title?: string | undefined;
234
- locale?: string | undefined;
235
- timeZone?: string | undefined;
236
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
237
- } | undefined;
238
- spreadsheetId?: string | undefined;
239
- spreadsheetUrl?: string | undefined;
240
- }>;
118
+ }, z.core.$strip>;
241
119
  readonly spreadsheetsDelete: z.ZodVoid;
242
120
  readonly spreadsheetsList: z.ZodObject<{
243
121
  files: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -246,39 +124,9 @@ export declare const GoogleSheetsEndpointOutputSchemas: {
246
124
  createdTime: z.ZodOptional<z.ZodString>;
247
125
  modifiedTime: z.ZodOptional<z.ZodString>;
248
126
  webViewLink: z.ZodOptional<z.ZodString>;
249
- }, "strip", z.ZodTypeAny, {
250
- id?: string | undefined;
251
- name?: string | undefined;
252
- createdTime?: string | undefined;
253
- modifiedTime?: string | undefined;
254
- webViewLink?: string | undefined;
255
- }, {
256
- id?: string | undefined;
257
- name?: string | undefined;
258
- createdTime?: string | undefined;
259
- modifiedTime?: string | undefined;
260
- webViewLink?: string | undefined;
261
- }>, "many">>;
127
+ }, z.core.$strip>>>;
262
128
  nextPageToken: z.ZodOptional<z.ZodString>;
263
- }, "strip", z.ZodTypeAny, {
264
- files?: {
265
- id?: string | undefined;
266
- name?: string | undefined;
267
- createdTime?: string | undefined;
268
- modifiedTime?: string | undefined;
269
- webViewLink?: string | undefined;
270
- }[] | undefined;
271
- nextPageToken?: string | undefined;
272
- }, {
273
- files?: {
274
- id?: string | undefined;
275
- name?: string | undefined;
276
- createdTime?: string | undefined;
277
- modifiedTime?: string | undefined;
278
- webViewLink?: string | undefined;
279
- }[] | undefined;
280
- nextPageToken?: string | undefined;
281
- }>;
129
+ }, z.core.$strip>;
282
130
  readonly sheetsAppendRow: z.ZodObject<{
283
131
  spreadsheetId: z.ZodOptional<z.ZodString>;
284
132
  totalUpdatedRows: z.ZodOptional<z.ZodNumber>;
@@ -287,40 +135,14 @@ export declare const GoogleSheetsEndpointOutputSchemas: {
287
135
  totalUpdatedSheets: z.ZodOptional<z.ZodNumber>;
288
136
  responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
137
  range: z.ZodOptional<z.ZodString>;
290
- majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS", "DIMENSION_UNSPECIFIED"]>>;
291
- values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">>;
292
- }, "strip", z.ZodTypeAny, {
293
- range?: string | undefined;
294
- values?: (string | number | boolean | null)[][] | undefined;
295
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
296
- }, {
297
- range?: string | undefined;
298
- values?: (string | number | boolean | null)[][] | undefined;
299
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
300
- }>, "many">>;
301
- }, "strip", z.ZodTypeAny, {
302
- spreadsheetId?: string | undefined;
303
- totalUpdatedRows?: number | undefined;
304
- totalUpdatedColumns?: number | undefined;
305
- totalUpdatedCells?: number | undefined;
306
- totalUpdatedSheets?: number | undefined;
307
- responses?: {
308
- range?: string | undefined;
309
- values?: (string | number | boolean | null)[][] | undefined;
310
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
311
- }[] | undefined;
312
- }, {
313
- spreadsheetId?: string | undefined;
314
- totalUpdatedRows?: number | undefined;
315
- totalUpdatedColumns?: number | undefined;
316
- totalUpdatedCells?: number | undefined;
317
- totalUpdatedSheets?: number | undefined;
318
- responses?: {
319
- range?: string | undefined;
320
- values?: (string | number | boolean | null)[][] | undefined;
321
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
322
- }[] | undefined;
323
- }>;
138
+ majorDimension: z.ZodOptional<z.ZodEnum<{
139
+ DIMENSION_UNSPECIFIED: "DIMENSION_UNSPECIFIED";
140
+ ROWS: "ROWS";
141
+ COLUMNS: "COLUMNS";
142
+ }>>;
143
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
144
+ }, z.core.$strip>>>;
145
+ }, z.core.$strip>;
324
146
  readonly sheetsAppendOrUpdateRow: z.ZodObject<{
325
147
  spreadsheetId: z.ZodOptional<z.ZodString>;
326
148
  totalUpdatedRows: z.ZodOptional<z.ZodNumber>;
@@ -329,53 +151,23 @@ export declare const GoogleSheetsEndpointOutputSchemas: {
329
151
  totalUpdatedSheets: z.ZodOptional<z.ZodNumber>;
330
152
  responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
331
153
  range: z.ZodOptional<z.ZodString>;
332
- majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS", "DIMENSION_UNSPECIFIED"]>>;
333
- values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">>;
334
- }, "strip", z.ZodTypeAny, {
335
- range?: string | undefined;
336
- values?: (string | number | boolean | null)[][] | undefined;
337
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
338
- }, {
339
- range?: string | undefined;
340
- values?: (string | number | boolean | null)[][] | undefined;
341
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
342
- }>, "many">>;
343
- }, "strip", z.ZodTypeAny, {
344
- spreadsheetId?: string | undefined;
345
- totalUpdatedRows?: number | undefined;
346
- totalUpdatedColumns?: number | undefined;
347
- totalUpdatedCells?: number | undefined;
348
- totalUpdatedSheets?: number | undefined;
349
- responses?: {
350
- range?: string | undefined;
351
- values?: (string | number | boolean | null)[][] | undefined;
352
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
353
- }[] | undefined;
354
- }, {
355
- spreadsheetId?: string | undefined;
356
- totalUpdatedRows?: number | undefined;
357
- totalUpdatedColumns?: number | undefined;
358
- totalUpdatedCells?: number | undefined;
359
- totalUpdatedSheets?: number | undefined;
360
- responses?: {
361
- range?: string | undefined;
362
- values?: (string | number | boolean | null)[][] | undefined;
363
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
364
- }[] | undefined;
365
- }>;
154
+ majorDimension: z.ZodOptional<z.ZodEnum<{
155
+ DIMENSION_UNSPECIFIED: "DIMENSION_UNSPECIFIED";
156
+ ROWS: "ROWS";
157
+ COLUMNS: "COLUMNS";
158
+ }>>;
159
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
160
+ }, z.core.$strip>>>;
161
+ }, z.core.$strip>;
366
162
  readonly sheetsGetRows: z.ZodObject<{
367
163
  range: z.ZodOptional<z.ZodString>;
368
- majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS", "DIMENSION_UNSPECIFIED"]>>;
369
- values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">>;
370
- }, "strip", z.ZodTypeAny, {
371
- range?: string | undefined;
372
- values?: (string | number | boolean | null)[][] | undefined;
373
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
374
- }, {
375
- range?: string | undefined;
376
- values?: (string | number | boolean | null)[][] | undefined;
377
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
378
- }>;
164
+ majorDimension: z.ZodOptional<z.ZodEnum<{
165
+ DIMENSION_UNSPECIFIED: "DIMENSION_UNSPECIFIED";
166
+ ROWS: "ROWS";
167
+ COLUMNS: "COLUMNS";
168
+ }>>;
169
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
170
+ }, z.core.$strip>;
379
171
  readonly sheetsUpdateRow: z.ZodObject<{
380
172
  spreadsheetId: z.ZodOptional<z.ZodString>;
381
173
  totalUpdatedRows: z.ZodOptional<z.ZodNumber>;
@@ -384,294 +176,89 @@ export declare const GoogleSheetsEndpointOutputSchemas: {
384
176
  totalUpdatedSheets: z.ZodOptional<z.ZodNumber>;
385
177
  responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
386
178
  range: z.ZodOptional<z.ZodString>;
387
- majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS", "DIMENSION_UNSPECIFIED"]>>;
388
- values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">>;
389
- }, "strip", z.ZodTypeAny, {
390
- range?: string | undefined;
391
- values?: (string | number | boolean | null)[][] | undefined;
392
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
393
- }, {
394
- range?: string | undefined;
395
- values?: (string | number | boolean | null)[][] | undefined;
396
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
397
- }>, "many">>;
398
- }, "strip", z.ZodTypeAny, {
399
- spreadsheetId?: string | undefined;
400
- totalUpdatedRows?: number | undefined;
401
- totalUpdatedColumns?: number | undefined;
402
- totalUpdatedCells?: number | undefined;
403
- totalUpdatedSheets?: number | undefined;
404
- responses?: {
405
- range?: string | undefined;
406
- values?: (string | number | boolean | null)[][] | undefined;
407
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
408
- }[] | undefined;
409
- }, {
410
- spreadsheetId?: string | undefined;
411
- totalUpdatedRows?: number | undefined;
412
- totalUpdatedColumns?: number | undefined;
413
- totalUpdatedCells?: number | undefined;
414
- totalUpdatedSheets?: number | undefined;
415
- responses?: {
416
- range?: string | undefined;
417
- values?: (string | number | boolean | null)[][] | undefined;
418
- majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
419
- }[] | undefined;
420
- }>;
179
+ majorDimension: z.ZodOptional<z.ZodEnum<{
180
+ DIMENSION_UNSPECIFIED: "DIMENSION_UNSPECIFIED";
181
+ ROWS: "ROWS";
182
+ COLUMNS: "COLUMNS";
183
+ }>>;
184
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
185
+ }, z.core.$strip>>>;
186
+ }, z.core.$strip>;
421
187
  readonly sheetsClearSheet: z.ZodObject<{
422
188
  spreadsheetId: z.ZodOptional<z.ZodString>;
423
189
  clearedRange: z.ZodOptional<z.ZodString>;
424
- }, "strip", z.ZodTypeAny, {
425
- spreadsheetId?: string | undefined;
426
- clearedRange?: string | undefined;
427
- }, {
428
- spreadsheetId?: string | undefined;
429
- clearedRange?: string | undefined;
430
- }>;
190
+ }, z.core.$strip>;
431
191
  readonly sheetsCreateSheet: z.ZodObject<{
432
192
  spreadsheetId: z.ZodOptional<z.ZodString>;
433
- replies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
193
+ replies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
434
194
  updatedSpreadsheet: z.ZodOptional<z.ZodObject<{
435
195
  spreadsheetId: z.ZodOptional<z.ZodString>;
436
196
  properties: z.ZodOptional<z.ZodObject<{
437
197
  title: z.ZodOptional<z.ZodString>;
438
198
  locale: z.ZodOptional<z.ZodString>;
439
- autoRecalc: z.ZodOptional<z.ZodEnum<["ON_CHANGE", "ON_UPDATE", "HOUR", "MINUTE"]>>;
199
+ autoRecalc: z.ZodOptional<z.ZodEnum<{
200
+ ON_CHANGE: "ON_CHANGE";
201
+ ON_UPDATE: "ON_UPDATE";
202
+ HOUR: "HOUR";
203
+ MINUTE: "MINUTE";
204
+ }>>;
440
205
  timeZone: z.ZodOptional<z.ZodString>;
441
- }, "strip", z.ZodTypeAny, {
442
- title?: string | undefined;
443
- locale?: string | undefined;
444
- timeZone?: string | undefined;
445
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
446
- }, {
447
- title?: string | undefined;
448
- locale?: string | undefined;
449
- timeZone?: string | undefined;
450
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
451
- }>>;
206
+ }, z.core.$strip>>;
452
207
  spreadsheetUrl: z.ZodOptional<z.ZodString>;
453
- }, "strip", z.ZodTypeAny, {
454
- properties?: {
455
- title?: string | undefined;
456
- locale?: string | undefined;
457
- timeZone?: string | undefined;
458
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
459
- } | undefined;
460
- spreadsheetId?: string | undefined;
461
- spreadsheetUrl?: string | undefined;
462
- }, {
463
- properties?: {
464
- title?: string | undefined;
465
- locale?: string | undefined;
466
- timeZone?: string | undefined;
467
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
468
- } | undefined;
469
- spreadsheetId?: string | undefined;
470
- spreadsheetUrl?: string | undefined;
471
- }>>;
472
- }, "strip", z.ZodTypeAny, {
473
- spreadsheetId?: string | undefined;
474
- replies?: any[] | undefined;
475
- updatedSpreadsheet?: {
476
- properties?: {
477
- title?: string | undefined;
478
- locale?: string | undefined;
479
- timeZone?: string | undefined;
480
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
481
- } | undefined;
482
- spreadsheetId?: string | undefined;
483
- spreadsheetUrl?: string | undefined;
484
- } | undefined;
485
- }, {
486
- spreadsheetId?: string | undefined;
487
- replies?: any[] | undefined;
488
- updatedSpreadsheet?: {
489
- properties?: {
490
- title?: string | undefined;
491
- locale?: string | undefined;
492
- timeZone?: string | undefined;
493
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
494
- } | undefined;
495
- spreadsheetId?: string | undefined;
496
- spreadsheetUrl?: string | undefined;
497
- } | undefined;
498
- }>;
208
+ }, z.core.$strip>>;
209
+ }, z.core.$strip>;
499
210
  readonly sheetsDeleteSheet: z.ZodObject<{
500
211
  spreadsheetId: z.ZodOptional<z.ZodString>;
501
- replies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
212
+ replies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
502
213
  updatedSpreadsheet: z.ZodOptional<z.ZodObject<{
503
214
  spreadsheetId: z.ZodOptional<z.ZodString>;
504
215
  properties: z.ZodOptional<z.ZodObject<{
505
216
  title: z.ZodOptional<z.ZodString>;
506
217
  locale: z.ZodOptional<z.ZodString>;
507
- autoRecalc: z.ZodOptional<z.ZodEnum<["ON_CHANGE", "ON_UPDATE", "HOUR", "MINUTE"]>>;
218
+ autoRecalc: z.ZodOptional<z.ZodEnum<{
219
+ ON_CHANGE: "ON_CHANGE";
220
+ ON_UPDATE: "ON_UPDATE";
221
+ HOUR: "HOUR";
222
+ MINUTE: "MINUTE";
223
+ }>>;
508
224
  timeZone: z.ZodOptional<z.ZodString>;
509
- }, "strip", z.ZodTypeAny, {
510
- title?: string | undefined;
511
- locale?: string | undefined;
512
- timeZone?: string | undefined;
513
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
514
- }, {
515
- title?: string | undefined;
516
- locale?: string | undefined;
517
- timeZone?: string | undefined;
518
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
519
- }>>;
225
+ }, z.core.$strip>>;
520
226
  spreadsheetUrl: z.ZodOptional<z.ZodString>;
521
- }, "strip", z.ZodTypeAny, {
522
- properties?: {
523
- title?: string | undefined;
524
- locale?: string | undefined;
525
- timeZone?: string | undefined;
526
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
527
- } | undefined;
528
- spreadsheetId?: string | undefined;
529
- spreadsheetUrl?: string | undefined;
530
- }, {
531
- properties?: {
532
- title?: string | undefined;
533
- locale?: string | undefined;
534
- timeZone?: string | undefined;
535
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
536
- } | undefined;
537
- spreadsheetId?: string | undefined;
538
- spreadsheetUrl?: string | undefined;
539
- }>>;
540
- }, "strip", z.ZodTypeAny, {
541
- spreadsheetId?: string | undefined;
542
- replies?: any[] | undefined;
543
- updatedSpreadsheet?: {
544
- properties?: {
545
- title?: string | undefined;
546
- locale?: string | undefined;
547
- timeZone?: string | undefined;
548
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
549
- } | undefined;
550
- spreadsheetId?: string | undefined;
551
- spreadsheetUrl?: string | undefined;
552
- } | undefined;
553
- }, {
554
- spreadsheetId?: string | undefined;
555
- replies?: any[] | undefined;
556
- updatedSpreadsheet?: {
557
- properties?: {
558
- title?: string | undefined;
559
- locale?: string | undefined;
560
- timeZone?: string | undefined;
561
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
562
- } | undefined;
563
- spreadsheetId?: string | undefined;
564
- spreadsheetUrl?: string | undefined;
565
- } | undefined;
566
- }>;
227
+ }, z.core.$strip>>;
228
+ }, z.core.$strip>;
567
229
  readonly sheetsDeleteRowsOrColumns: z.ZodObject<{
568
230
  spreadsheetId: z.ZodOptional<z.ZodString>;
569
- replies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
231
+ replies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
570
232
  updatedSpreadsheet: z.ZodOptional<z.ZodObject<{
571
233
  spreadsheetId: z.ZodOptional<z.ZodString>;
572
234
  properties: z.ZodOptional<z.ZodObject<{
573
235
  title: z.ZodOptional<z.ZodString>;
574
236
  locale: z.ZodOptional<z.ZodString>;
575
- autoRecalc: z.ZodOptional<z.ZodEnum<["ON_CHANGE", "ON_UPDATE", "HOUR", "MINUTE"]>>;
237
+ autoRecalc: z.ZodOptional<z.ZodEnum<{
238
+ ON_CHANGE: "ON_CHANGE";
239
+ ON_UPDATE: "ON_UPDATE";
240
+ HOUR: "HOUR";
241
+ MINUTE: "MINUTE";
242
+ }>>;
576
243
  timeZone: z.ZodOptional<z.ZodString>;
577
- }, "strip", z.ZodTypeAny, {
578
- title?: string | undefined;
579
- locale?: string | undefined;
580
- timeZone?: string | undefined;
581
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
582
- }, {
583
- title?: string | undefined;
584
- locale?: string | undefined;
585
- timeZone?: string | undefined;
586
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
587
- }>>;
244
+ }, z.core.$strip>>;
588
245
  spreadsheetUrl: z.ZodOptional<z.ZodString>;
589
- }, "strip", z.ZodTypeAny, {
590
- properties?: {
591
- title?: string | undefined;
592
- locale?: string | undefined;
593
- timeZone?: string | undefined;
594
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
595
- } | undefined;
596
- spreadsheetId?: string | undefined;
597
- spreadsheetUrl?: string | undefined;
598
- }, {
599
- properties?: {
600
- title?: string | undefined;
601
- locale?: string | undefined;
602
- timeZone?: string | undefined;
603
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
604
- } | undefined;
605
- spreadsheetId?: string | undefined;
606
- spreadsheetUrl?: string | undefined;
607
- }>>;
608
- }, "strip", z.ZodTypeAny, {
609
- spreadsheetId?: string | undefined;
610
- replies?: any[] | undefined;
611
- updatedSpreadsheet?: {
612
- properties?: {
613
- title?: string | undefined;
614
- locale?: string | undefined;
615
- timeZone?: string | undefined;
616
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
617
- } | undefined;
618
- spreadsheetId?: string | undefined;
619
- spreadsheetUrl?: string | undefined;
620
- } | undefined;
621
- }, {
622
- spreadsheetId?: string | undefined;
623
- replies?: any[] | undefined;
624
- updatedSpreadsheet?: {
625
- properties?: {
626
- title?: string | undefined;
627
- locale?: string | undefined;
628
- timeZone?: string | undefined;
629
- autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
630
- } | undefined;
631
- spreadsheetId?: string | undefined;
632
- spreadsheetUrl?: string | undefined;
633
- } | undefined;
634
- }>;
246
+ }, z.core.$strip>>;
247
+ }, z.core.$strip>;
635
248
  readonly sheetsListSheetsInSpreadsheet: z.ZodObject<{
636
249
  spreadsheetId: z.ZodOptional<z.ZodString>;
637
250
  sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
638
251
  sheetId: z.ZodOptional<z.ZodNumber>;
639
252
  title: z.ZodOptional<z.ZodString>;
640
253
  index: z.ZodOptional<z.ZodNumber>;
641
- sheetType: z.ZodOptional<z.ZodEnum<["GRID", "OBJECT", "DATA_SOURCE"]>>;
254
+ sheetType: z.ZodOptional<z.ZodEnum<{
255
+ GRID: "GRID";
256
+ OBJECT: "OBJECT";
257
+ DATA_SOURCE: "DATA_SOURCE";
258
+ }>>;
642
259
  hidden: z.ZodOptional<z.ZodBoolean>;
643
- }, "strip", z.ZodTypeAny, {
644
- title?: string | undefined;
645
- sheetId?: number | undefined;
646
- index?: number | undefined;
647
- sheetType?: "GRID" | "OBJECT" | "DATA_SOURCE" | undefined;
648
- hidden?: boolean | undefined;
649
- }, {
650
- title?: string | undefined;
651
- sheetId?: number | undefined;
652
- index?: number | undefined;
653
- sheetType?: "GRID" | "OBJECT" | "DATA_SOURCE" | undefined;
654
- hidden?: boolean | undefined;
655
- }>, "many">>;
656
- }, "strip", z.ZodTypeAny, {
657
- spreadsheetId?: string | undefined;
658
- sheets?: {
659
- title?: string | undefined;
660
- sheetId?: number | undefined;
661
- index?: number | undefined;
662
- sheetType?: "GRID" | "OBJECT" | "DATA_SOURCE" | undefined;
663
- hidden?: boolean | undefined;
664
- }[] | undefined;
665
- }, {
666
- spreadsheetId?: string | undefined;
667
- sheets?: {
668
- title?: string | undefined;
669
- sheetId?: number | undefined;
670
- index?: number | undefined;
671
- sheetType?: "GRID" | "OBJECT" | "DATA_SOURCE" | undefined;
672
- hidden?: boolean | undefined;
673
- }[] | undefined;
674
- }>;
260
+ }, z.core.$strip>>>;
261
+ }, z.core.$strip>;
675
262
  };
676
263
  export type ListSheetsResponse = {
677
264
  spreadsheetId?: string;