@corsair-dev/googlesheets 0.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.
@@ -0,0 +1,588 @@
1
+ import { z } from 'zod';
2
+ import type { BatchUpdateSpreadsheetResponse, BatchUpdateValuesResponse, ClearValuesResponse, Spreadsheet, ValueRange } from '../types';
3
+ export declare const GoogleSheetsEndpointInputSchemas: {
4
+ readonly spreadsheetsCreate: z.ZodObject<{
5
+ properties: z.ZodOptional<z.ZodObject<{
6
+ title: z.ZodOptional<z.ZodString>;
7
+ locale: z.ZodOptional<z.ZodString>;
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
+ }>;
31
+ readonly spreadsheetsDelete: z.ZodObject<{
32
+ spreadsheetId: z.ZodString;
33
+ }, "strip", z.ZodTypeAny, {
34
+ spreadsheetId: string;
35
+ }, {
36
+ spreadsheetId: string;
37
+ }>;
38
+ readonly sheetsAppendRow: z.ZodObject<{
39
+ spreadsheetId: z.ZodString;
40
+ sheetName: z.ZodOptional<z.ZodString>;
41
+ range: z.ZodOptional<z.ZodString>;
42
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
43
+ valueInputOption: z.ZodOptional<z.ZodEnum<["RAW", "USER_ENTERED"]>>;
44
+ insertDataOption: z.ZodOptional<z.ZodEnum<["OVERWRITE", "INSERT_ROWS"]>>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ spreadsheetId: string;
47
+ range?: string | undefined;
48
+ values?: (string | number | boolean | null)[] | undefined;
49
+ sheetName?: string | undefined;
50
+ valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
51
+ insertDataOption?: "OVERWRITE" | "INSERT_ROWS" | undefined;
52
+ }, {
53
+ spreadsheetId: string;
54
+ range?: string | undefined;
55
+ values?: (string | number | boolean | null)[] | undefined;
56
+ sheetName?: string | undefined;
57
+ valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
58
+ insertDataOption?: "OVERWRITE" | "INSERT_ROWS" | undefined;
59
+ }>;
60
+ readonly sheetsAppendOrUpdateRow: z.ZodObject<{
61
+ spreadsheetId: z.ZodString;
62
+ sheetName: z.ZodOptional<z.ZodString>;
63
+ keyColumn: z.ZodOptional<z.ZodString>;
64
+ keyValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
65
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
66
+ valueInputOption: z.ZodOptional<z.ZodEnum<["RAW", "USER_ENTERED"]>>;
67
+ insertDataOption: z.ZodOptional<z.ZodEnum<["OVERWRITE", "INSERT_ROWS"]>>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ spreadsheetId: string;
70
+ values?: (string | number | boolean | null)[] | undefined;
71
+ sheetName?: string | undefined;
72
+ valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
73
+ insertDataOption?: "OVERWRITE" | "INSERT_ROWS" | undefined;
74
+ keyColumn?: string | undefined;
75
+ keyValue?: string | number | undefined;
76
+ }, {
77
+ spreadsheetId: string;
78
+ values?: (string | number | boolean | null)[] | undefined;
79
+ sheetName?: string | undefined;
80
+ valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
81
+ insertDataOption?: "OVERWRITE" | "INSERT_ROWS" | undefined;
82
+ keyColumn?: string | undefined;
83
+ keyValue?: string | number | undefined;
84
+ }>;
85
+ readonly sheetsGetRows: z.ZodObject<{
86
+ spreadsheetId: z.ZodString;
87
+ sheetName: z.ZodOptional<z.ZodString>;
88
+ range: z.ZodOptional<z.ZodString>;
89
+ valueRenderOption: z.ZodOptional<z.ZodEnum<["FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA"]>>;
90
+ dateTimeRenderOption: z.ZodOptional<z.ZodEnum<["SERIAL_NUMBER", "FORMATTED_STRING"]>>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ spreadsheetId: string;
93
+ range?: string | undefined;
94
+ sheetName?: string | undefined;
95
+ valueRenderOption?: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA" | undefined;
96
+ dateTimeRenderOption?: "SERIAL_NUMBER" | "FORMATTED_STRING" | undefined;
97
+ }, {
98
+ spreadsheetId: string;
99
+ range?: string | undefined;
100
+ sheetName?: string | undefined;
101
+ valueRenderOption?: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA" | undefined;
102
+ dateTimeRenderOption?: "SERIAL_NUMBER" | "FORMATTED_STRING" | undefined;
103
+ }>;
104
+ readonly sheetsUpdateRow: z.ZodObject<{
105
+ spreadsheetId: z.ZodString;
106
+ sheetName: z.ZodOptional<z.ZodString>;
107
+ range: z.ZodOptional<z.ZodString>;
108
+ rowIndex: z.ZodOptional<z.ZodNumber>;
109
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
110
+ valueInputOption: z.ZodOptional<z.ZodEnum<["RAW", "USER_ENTERED"]>>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ spreadsheetId: string;
113
+ range?: string | undefined;
114
+ values?: (string | number | boolean | null)[] | undefined;
115
+ sheetName?: string | undefined;
116
+ valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
117
+ rowIndex?: number | undefined;
118
+ }, {
119
+ spreadsheetId: string;
120
+ range?: string | undefined;
121
+ values?: (string | number | boolean | null)[] | undefined;
122
+ sheetName?: string | undefined;
123
+ valueInputOption?: "RAW" | "USER_ENTERED" | undefined;
124
+ rowIndex?: number | undefined;
125
+ }>;
126
+ readonly sheetsClearSheet: z.ZodObject<{
127
+ spreadsheetId: z.ZodString;
128
+ sheetName: z.ZodOptional<z.ZodString>;
129
+ range: z.ZodOptional<z.ZodString>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ spreadsheetId: string;
132
+ range?: string | undefined;
133
+ sheetName?: string | undefined;
134
+ }, {
135
+ spreadsheetId: string;
136
+ range?: string | undefined;
137
+ sheetName?: string | undefined;
138
+ }>;
139
+ readonly sheetsCreateSheet: z.ZodObject<{
140
+ spreadsheetId: z.ZodString;
141
+ title: z.ZodOptional<z.ZodString>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ spreadsheetId: string;
144
+ title?: string | undefined;
145
+ }, {
146
+ spreadsheetId: string;
147
+ title?: string | undefined;
148
+ }>;
149
+ readonly sheetsDeleteSheet: z.ZodObject<{
150
+ spreadsheetId: z.ZodString;
151
+ sheetId: z.ZodNumber;
152
+ }, "strip", z.ZodTypeAny, {
153
+ spreadsheetId: string;
154
+ sheetId: number;
155
+ }, {
156
+ spreadsheetId: string;
157
+ sheetId: number;
158
+ }>;
159
+ readonly sheetsDeleteRowsOrColumns: z.ZodObject<{
160
+ spreadsheetId: z.ZodString;
161
+ sheetId: z.ZodNumber;
162
+ dimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS"]>>;
163
+ startIndex: z.ZodOptional<z.ZodNumber>;
164
+ endIndex: z.ZodOptional<z.ZodNumber>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ spreadsheetId: string;
167
+ sheetId: number;
168
+ dimension?: "ROWS" | "COLUMNS" | undefined;
169
+ startIndex?: number | undefined;
170
+ endIndex?: number | undefined;
171
+ }, {
172
+ spreadsheetId: string;
173
+ sheetId: number;
174
+ dimension?: "ROWS" | "COLUMNS" | undefined;
175
+ startIndex?: number | undefined;
176
+ endIndex?: number | undefined;
177
+ }>;
178
+ };
179
+ export type GoogleSheetsEndpointInputs = {
180
+ [K in keyof typeof GoogleSheetsEndpointInputSchemas]: z.infer<(typeof GoogleSheetsEndpointInputSchemas)[K]>;
181
+ };
182
+ export declare const GoogleSheetsEndpointOutputSchemas: {
183
+ readonly spreadsheetsCreate: z.ZodObject<{
184
+ spreadsheetId: z.ZodOptional<z.ZodString>;
185
+ properties: z.ZodOptional<z.ZodObject<{
186
+ title: z.ZodOptional<z.ZodString>;
187
+ locale: z.ZodOptional<z.ZodString>;
188
+ autoRecalc: z.ZodOptional<z.ZodEnum<["ON_CHANGE", "ON_UPDATE", "HOUR", "MINUTE"]>>;
189
+ timeZone: z.ZodOptional<z.ZodString>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ title?: string | undefined;
192
+ locale?: string | undefined;
193
+ timeZone?: string | undefined;
194
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
195
+ }, {
196
+ title?: string | undefined;
197
+ locale?: string | undefined;
198
+ timeZone?: string | undefined;
199
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
200
+ }>>;
201
+ spreadsheetUrl: z.ZodOptional<z.ZodString>;
202
+ }, "strip", z.ZodTypeAny, {
203
+ properties?: {
204
+ title?: string | undefined;
205
+ locale?: string | undefined;
206
+ timeZone?: string | undefined;
207
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
208
+ } | undefined;
209
+ spreadsheetId?: string | undefined;
210
+ spreadsheetUrl?: string | undefined;
211
+ }, {
212
+ properties?: {
213
+ title?: string | undefined;
214
+ locale?: string | undefined;
215
+ timeZone?: string | undefined;
216
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
217
+ } | undefined;
218
+ spreadsheetId?: string | undefined;
219
+ spreadsheetUrl?: string | undefined;
220
+ }>;
221
+ readonly spreadsheetsDelete: z.ZodVoid;
222
+ readonly sheetsAppendRow: z.ZodObject<{
223
+ spreadsheetId: z.ZodOptional<z.ZodString>;
224
+ totalUpdatedRows: z.ZodOptional<z.ZodNumber>;
225
+ totalUpdatedColumns: z.ZodOptional<z.ZodNumber>;
226
+ totalUpdatedCells: z.ZodOptional<z.ZodNumber>;
227
+ totalUpdatedSheets: z.ZodOptional<z.ZodNumber>;
228
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
229
+ range: z.ZodOptional<z.ZodString>;
230
+ majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS", "DIMENSION_UNSPECIFIED"]>>;
231
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">>;
232
+ }, "strip", z.ZodTypeAny, {
233
+ range?: string | undefined;
234
+ values?: (string | number | boolean | null)[][] | undefined;
235
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
236
+ }, {
237
+ range?: string | undefined;
238
+ values?: (string | number | boolean | null)[][] | undefined;
239
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
240
+ }>, "many">>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ spreadsheetId?: string | undefined;
243
+ totalUpdatedRows?: number | undefined;
244
+ totalUpdatedColumns?: number | undefined;
245
+ totalUpdatedCells?: number | undefined;
246
+ totalUpdatedSheets?: number | undefined;
247
+ responses?: {
248
+ range?: string | undefined;
249
+ values?: (string | number | boolean | null)[][] | undefined;
250
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
251
+ }[] | undefined;
252
+ }, {
253
+ spreadsheetId?: string | undefined;
254
+ totalUpdatedRows?: number | undefined;
255
+ totalUpdatedColumns?: number | undefined;
256
+ totalUpdatedCells?: number | undefined;
257
+ totalUpdatedSheets?: number | undefined;
258
+ responses?: {
259
+ range?: string | undefined;
260
+ values?: (string | number | boolean | null)[][] | undefined;
261
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
262
+ }[] | undefined;
263
+ }>;
264
+ readonly sheetsAppendOrUpdateRow: z.ZodObject<{
265
+ spreadsheetId: z.ZodOptional<z.ZodString>;
266
+ totalUpdatedRows: z.ZodOptional<z.ZodNumber>;
267
+ totalUpdatedColumns: z.ZodOptional<z.ZodNumber>;
268
+ totalUpdatedCells: z.ZodOptional<z.ZodNumber>;
269
+ totalUpdatedSheets: z.ZodOptional<z.ZodNumber>;
270
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
271
+ range: z.ZodOptional<z.ZodString>;
272
+ majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS", "DIMENSION_UNSPECIFIED"]>>;
273
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">>;
274
+ }, "strip", z.ZodTypeAny, {
275
+ range?: string | undefined;
276
+ values?: (string | number | boolean | null)[][] | undefined;
277
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
278
+ }, {
279
+ range?: string | undefined;
280
+ values?: (string | number | boolean | null)[][] | undefined;
281
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
282
+ }>, "many">>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ spreadsheetId?: string | undefined;
285
+ totalUpdatedRows?: number | undefined;
286
+ totalUpdatedColumns?: number | undefined;
287
+ totalUpdatedCells?: number | undefined;
288
+ totalUpdatedSheets?: number | undefined;
289
+ responses?: {
290
+ range?: string | undefined;
291
+ values?: (string | number | boolean | null)[][] | undefined;
292
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
293
+ }[] | undefined;
294
+ }, {
295
+ spreadsheetId?: string | undefined;
296
+ totalUpdatedRows?: number | undefined;
297
+ totalUpdatedColumns?: number | undefined;
298
+ totalUpdatedCells?: number | undefined;
299
+ totalUpdatedSheets?: number | undefined;
300
+ responses?: {
301
+ range?: string | undefined;
302
+ values?: (string | number | boolean | null)[][] | undefined;
303
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
304
+ }[] | undefined;
305
+ }>;
306
+ readonly sheetsGetRows: z.ZodObject<{
307
+ range: z.ZodOptional<z.ZodString>;
308
+ majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS", "DIMENSION_UNSPECIFIED"]>>;
309
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ range?: string | undefined;
312
+ values?: (string | number | boolean | null)[][] | undefined;
313
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
314
+ }, {
315
+ range?: string | undefined;
316
+ values?: (string | number | boolean | null)[][] | undefined;
317
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
318
+ }>;
319
+ readonly sheetsUpdateRow: z.ZodObject<{
320
+ spreadsheetId: z.ZodOptional<z.ZodString>;
321
+ totalUpdatedRows: z.ZodOptional<z.ZodNumber>;
322
+ totalUpdatedColumns: z.ZodOptional<z.ZodNumber>;
323
+ totalUpdatedCells: z.ZodOptional<z.ZodNumber>;
324
+ totalUpdatedSheets: z.ZodOptional<z.ZodNumber>;
325
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
326
+ range: z.ZodOptional<z.ZodString>;
327
+ majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS", "DIMENSION_UNSPECIFIED"]>>;
328
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">>;
329
+ }, "strip", z.ZodTypeAny, {
330
+ range?: string | undefined;
331
+ values?: (string | number | boolean | null)[][] | undefined;
332
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
333
+ }, {
334
+ range?: string | undefined;
335
+ values?: (string | number | boolean | null)[][] | undefined;
336
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
337
+ }>, "many">>;
338
+ }, "strip", z.ZodTypeAny, {
339
+ spreadsheetId?: string | undefined;
340
+ totalUpdatedRows?: number | undefined;
341
+ totalUpdatedColumns?: number | undefined;
342
+ totalUpdatedCells?: number | undefined;
343
+ totalUpdatedSheets?: number | undefined;
344
+ responses?: {
345
+ range?: string | undefined;
346
+ values?: (string | number | boolean | null)[][] | undefined;
347
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
348
+ }[] | undefined;
349
+ }, {
350
+ spreadsheetId?: string | undefined;
351
+ totalUpdatedRows?: number | undefined;
352
+ totalUpdatedColumns?: number | undefined;
353
+ totalUpdatedCells?: number | undefined;
354
+ totalUpdatedSheets?: number | undefined;
355
+ responses?: {
356
+ range?: string | undefined;
357
+ values?: (string | number | boolean | null)[][] | undefined;
358
+ majorDimension?: "DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS" | undefined;
359
+ }[] | undefined;
360
+ }>;
361
+ readonly sheetsClearSheet: z.ZodObject<{
362
+ spreadsheetId: z.ZodOptional<z.ZodString>;
363
+ clearedRange: z.ZodOptional<z.ZodString>;
364
+ }, "strip", z.ZodTypeAny, {
365
+ spreadsheetId?: string | undefined;
366
+ clearedRange?: string | undefined;
367
+ }, {
368
+ spreadsheetId?: string | undefined;
369
+ clearedRange?: string | undefined;
370
+ }>;
371
+ readonly sheetsCreateSheet: z.ZodObject<{
372
+ spreadsheetId: z.ZodOptional<z.ZodString>;
373
+ replies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
374
+ updatedSpreadsheet: z.ZodOptional<z.ZodObject<{
375
+ spreadsheetId: z.ZodOptional<z.ZodString>;
376
+ properties: z.ZodOptional<z.ZodObject<{
377
+ title: z.ZodOptional<z.ZodString>;
378
+ locale: z.ZodOptional<z.ZodString>;
379
+ autoRecalc: z.ZodOptional<z.ZodEnum<["ON_CHANGE", "ON_UPDATE", "HOUR", "MINUTE"]>>;
380
+ timeZone: z.ZodOptional<z.ZodString>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ title?: string | undefined;
383
+ locale?: string | undefined;
384
+ timeZone?: string | undefined;
385
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
386
+ }, {
387
+ title?: string | undefined;
388
+ locale?: string | undefined;
389
+ timeZone?: string | undefined;
390
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
391
+ }>>;
392
+ spreadsheetUrl: z.ZodOptional<z.ZodString>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ properties?: {
395
+ title?: string | undefined;
396
+ locale?: string | undefined;
397
+ timeZone?: string | undefined;
398
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
399
+ } | undefined;
400
+ spreadsheetId?: string | undefined;
401
+ spreadsheetUrl?: string | undefined;
402
+ }, {
403
+ properties?: {
404
+ title?: string | undefined;
405
+ locale?: string | undefined;
406
+ timeZone?: string | undefined;
407
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
408
+ } | undefined;
409
+ spreadsheetId?: string | undefined;
410
+ spreadsheetUrl?: string | undefined;
411
+ }>>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ spreadsheetId?: string | undefined;
414
+ replies?: any[] | undefined;
415
+ updatedSpreadsheet?: {
416
+ properties?: {
417
+ title?: string | undefined;
418
+ locale?: string | undefined;
419
+ timeZone?: string | undefined;
420
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
421
+ } | undefined;
422
+ spreadsheetId?: string | undefined;
423
+ spreadsheetUrl?: string | undefined;
424
+ } | undefined;
425
+ }, {
426
+ spreadsheetId?: string | undefined;
427
+ replies?: any[] | undefined;
428
+ updatedSpreadsheet?: {
429
+ properties?: {
430
+ title?: string | undefined;
431
+ locale?: string | undefined;
432
+ timeZone?: string | undefined;
433
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
434
+ } | undefined;
435
+ spreadsheetId?: string | undefined;
436
+ spreadsheetUrl?: string | undefined;
437
+ } | undefined;
438
+ }>;
439
+ readonly sheetsDeleteSheet: z.ZodObject<{
440
+ spreadsheetId: z.ZodOptional<z.ZodString>;
441
+ replies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
442
+ updatedSpreadsheet: z.ZodOptional<z.ZodObject<{
443
+ spreadsheetId: z.ZodOptional<z.ZodString>;
444
+ properties: z.ZodOptional<z.ZodObject<{
445
+ title: z.ZodOptional<z.ZodString>;
446
+ locale: z.ZodOptional<z.ZodString>;
447
+ autoRecalc: z.ZodOptional<z.ZodEnum<["ON_CHANGE", "ON_UPDATE", "HOUR", "MINUTE"]>>;
448
+ timeZone: z.ZodOptional<z.ZodString>;
449
+ }, "strip", z.ZodTypeAny, {
450
+ title?: string | undefined;
451
+ locale?: string | undefined;
452
+ timeZone?: string | undefined;
453
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
454
+ }, {
455
+ title?: string | undefined;
456
+ locale?: string | undefined;
457
+ timeZone?: string | undefined;
458
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
459
+ }>>;
460
+ spreadsheetUrl: z.ZodOptional<z.ZodString>;
461
+ }, "strip", z.ZodTypeAny, {
462
+ properties?: {
463
+ title?: string | undefined;
464
+ locale?: string | undefined;
465
+ timeZone?: string | undefined;
466
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
467
+ } | undefined;
468
+ spreadsheetId?: string | undefined;
469
+ spreadsheetUrl?: string | undefined;
470
+ }, {
471
+ properties?: {
472
+ title?: string | undefined;
473
+ locale?: string | undefined;
474
+ timeZone?: string | undefined;
475
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
476
+ } | undefined;
477
+ spreadsheetId?: string | undefined;
478
+ spreadsheetUrl?: string | undefined;
479
+ }>>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ spreadsheetId?: string | undefined;
482
+ replies?: any[] | undefined;
483
+ updatedSpreadsheet?: {
484
+ properties?: {
485
+ title?: string | undefined;
486
+ locale?: string | undefined;
487
+ timeZone?: string | undefined;
488
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
489
+ } | undefined;
490
+ spreadsheetId?: string | undefined;
491
+ spreadsheetUrl?: string | undefined;
492
+ } | undefined;
493
+ }, {
494
+ spreadsheetId?: string | undefined;
495
+ replies?: any[] | undefined;
496
+ updatedSpreadsheet?: {
497
+ properties?: {
498
+ title?: string | undefined;
499
+ locale?: string | undefined;
500
+ timeZone?: string | undefined;
501
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
502
+ } | undefined;
503
+ spreadsheetId?: string | undefined;
504
+ spreadsheetUrl?: string | undefined;
505
+ } | undefined;
506
+ }>;
507
+ readonly sheetsDeleteRowsOrColumns: z.ZodObject<{
508
+ spreadsheetId: z.ZodOptional<z.ZodString>;
509
+ replies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
510
+ updatedSpreadsheet: z.ZodOptional<z.ZodObject<{
511
+ spreadsheetId: z.ZodOptional<z.ZodString>;
512
+ properties: z.ZodOptional<z.ZodObject<{
513
+ title: z.ZodOptional<z.ZodString>;
514
+ locale: z.ZodOptional<z.ZodString>;
515
+ autoRecalc: z.ZodOptional<z.ZodEnum<["ON_CHANGE", "ON_UPDATE", "HOUR", "MINUTE"]>>;
516
+ timeZone: z.ZodOptional<z.ZodString>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ title?: string | undefined;
519
+ locale?: string | undefined;
520
+ timeZone?: string | undefined;
521
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
522
+ }, {
523
+ title?: string | undefined;
524
+ locale?: string | undefined;
525
+ timeZone?: string | undefined;
526
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
527
+ }>>;
528
+ spreadsheetUrl: z.ZodOptional<z.ZodString>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ properties?: {
531
+ title?: string | undefined;
532
+ locale?: string | undefined;
533
+ timeZone?: string | undefined;
534
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
535
+ } | undefined;
536
+ spreadsheetId?: string | undefined;
537
+ spreadsheetUrl?: string | undefined;
538
+ }, {
539
+ properties?: {
540
+ title?: string | undefined;
541
+ locale?: string | undefined;
542
+ timeZone?: string | undefined;
543
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
544
+ } | undefined;
545
+ spreadsheetId?: string | undefined;
546
+ spreadsheetUrl?: string | undefined;
547
+ }>>;
548
+ }, "strip", z.ZodTypeAny, {
549
+ spreadsheetId?: string | undefined;
550
+ replies?: any[] | undefined;
551
+ updatedSpreadsheet?: {
552
+ properties?: {
553
+ title?: string | undefined;
554
+ locale?: string | undefined;
555
+ timeZone?: string | undefined;
556
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
557
+ } | undefined;
558
+ spreadsheetId?: string | undefined;
559
+ spreadsheetUrl?: string | undefined;
560
+ } | undefined;
561
+ }, {
562
+ spreadsheetId?: string | undefined;
563
+ replies?: any[] | undefined;
564
+ updatedSpreadsheet?: {
565
+ properties?: {
566
+ title?: string | undefined;
567
+ locale?: string | undefined;
568
+ timeZone?: string | undefined;
569
+ autoRecalc?: "ON_CHANGE" | "ON_UPDATE" | "HOUR" | "MINUTE" | undefined;
570
+ } | undefined;
571
+ spreadsheetId?: string | undefined;
572
+ spreadsheetUrl?: string | undefined;
573
+ } | undefined;
574
+ }>;
575
+ };
576
+ export type GoogleSheetsEndpointOutputs = {
577
+ spreadsheetsCreate: Spreadsheet;
578
+ spreadsheetsDelete: void;
579
+ sheetsAppendRow: BatchUpdateValuesResponse;
580
+ sheetsAppendOrUpdateRow: BatchUpdateValuesResponse;
581
+ sheetsGetRows: ValueRange;
582
+ sheetsUpdateRow: BatchUpdateValuesResponse;
583
+ sheetsClearSheet: ClearValuesResponse;
584
+ sheetsCreateSheet: BatchUpdateSpreadsheetResponse;
585
+ sheetsDeleteSheet: BatchUpdateSpreadsheetResponse;
586
+ sheetsDeleteRowsOrColumns: BatchUpdateSpreadsheetResponse;
587
+ };
588
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../endpoints/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACX,8BAA8B,EAC9B,yBAAyB,EACzB,mBAAmB,EACnB,WAAW,EACX,UAAU,EACV,MAAM,UAAU,CAAC;AAsFlB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWnC,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG;KACvC,CAAC,IAAI,MAAM,OAAO,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAC5D,CAAC,OAAO,gCAAgC,CAAC,CAAC,CAAC,CAAC,CAC5C;CACD,CAAC;AAyDF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWpC,CAAC;AAEX,MAAM,MAAM,2BAA2B,GAAG;IACzC,kBAAkB,EAAE,WAAW,CAAC;IAChC,kBAAkB,EAAE,IAAI,CAAC;IACzB,eAAe,EAAE,yBAAyB,CAAC;IAC3C,uBAAuB,EAAE,yBAAyB,CAAC;IACnD,aAAa,EAAE,UAAU,CAAC;IAC1B,eAAe,EAAE,yBAAyB,CAAC;IAC3C,gBAAgB,EAAE,mBAAmB,CAAC;IACtC,iBAAiB,EAAE,8BAA8B,CAAC;IAClD,iBAAiB,EAAE,8BAA8B,CAAC;IAClD,yBAAyB,EAAE,8BAA8B,CAAC;CAC1D,CAAC"}