@frogbotai/piece-google-sheets 0.22.0 → 0.23.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/index.d.ts CHANGED
@@ -1,60 +1,1010 @@
1
- import { type PieceFactoryConfig } from 'frogbot/pieces';
2
- export declare const googleSheetsActions: readonly ["insert_row", "insert-row-at-top", "google-sheets-insert-multiple-rows", "update_row", "update-multiple-rows", "delete_row", "delete-multiple-rows", "find_rows", "find-or-create-row", "create-spreadsheet", "create-worksheet", "find-or-create-worksheet", "clear_sheet", "clear-rows", "delete-worksheet", "rename-worksheet", "format-row", "find_row_by_num", "get_next_rows", "get-many-rows"];
3
- export declare const googleSheetsScopes: readonly ["https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/drive"];
4
- export declare function createGoogleSheets(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
5
- /** Add Row: Add a new row of data to a specific spreadsheet. */
6
- insertRow: import("node_modules/frogbot/dist/tools/types").AnyTool;
7
- /** Add Row at Top: Inserts a new row at the top of a worksheet, just below the header row. */
8
- insertRowAtTop: import("node_modules/frogbot/dist/tools/types").AnyTool;
9
- /** Add Multiple Rows: Add multiple rows of data at once to a specific spreadsheet. */
10
- googleSheetsInsertMultipleRows: import("node_modules/frogbot/dist/tools/types").AnyTool;
11
- /** Update Row: Update the data in an existing row. */
12
- updateRow: import("node_modules/frogbot/dist/tools/types").AnyTool;
13
- /** Update Multiple Rows: Updates multiple rows in a specific spreadsheet. */
14
- updateMultipleRows: import("node_modules/frogbot/dist/tools/types").AnyTool;
15
- /** Delete Row: Delete a specific row from the selected sheet. */
16
- deleteRow: import("node_modules/frogbot/dist/tools/types").AnyTool;
17
- /** Delete Multiple Rows: Deletes a contiguous range of rows, or a list of specific row numbers. Row numbers are 1-based. */
18
- deleteMultipleRows: import("node_modules/frogbot/dist/tools/types").AnyTool;
19
- /** Find Rows: Look up rows in a worksheet based on a column value. */
20
- findRows: import("node_modules/frogbot/dist/tools/types").AnyTool;
21
- /** Find or Create Row: Look up a row by column value; if no match is found, create a new row with the provided values. */
22
- findOrCreateRow: import("node_modules/frogbot/dist/tools/types").AnyTool;
23
- /** Create Spreadsheet: Creates a blank spreadsheet. */
24
- createSpreadsheet: import("node_modules/frogbot/dist/tools/types").AnyTool;
25
- /** Create Worksheet: Create a new blank worksheet with a title. */
26
- createWorksheet: import("node_modules/frogbot/dist/tools/types").AnyTool;
27
- /** Find or Create Worksheet: Look up a worksheet by title in a spreadsheet; if not found, create it with optional headers. */
28
- findOrCreateWorksheet: import("node_modules/frogbot/dist/tools/types").AnyTool;
29
- /** Clear Sheet: Clears all rows on an existing sheet. */
30
- clearSheet: import("node_modules/frogbot/dist/tools/types").AnyTool;
31
- /** Clear Row(s): Clears the contents of one or more rows without removing the rows themselves. Useful when you want to keep formatting and references stable. */
32
- clearRows: import("node_modules/frogbot/dist/tools/types").AnyTool;
33
- /** Delete Worksheet: Permanently delete a specific worksheet. */
34
- deleteWorksheet: import("node_modules/frogbot/dist/tools/types").AnyTool;
35
- /** Rename Worksheet: Rename specific worksheet. */
36
- renameWorksheet: import("node_modules/frogbot/dist/tools/types").AnyTool;
37
- /** Format Row(s): Format one or multiple rows in specific spreadsheet. */
38
- formatRow: import("node_modules/frogbot/dist/tools/types").AnyTool;
39
- /** Get Single Row by ID: Retrieve a specific row using its unique ID. */
40
- findRowByNum: import("node_modules/frogbot/dist/tools/types").AnyTool;
41
- /** Get next row(s): Get next group of rows from a specifiec workheet */
42
- getNextRows: import("node_modules/frogbot/dist/tools/types").AnyTool;
43
- /** Get All Rows: Get all the rows from a specific sheet. */
44
- getManyRows: import("node_modules/frogbot/dist/tools/types").AnyTool;
45
- /** Read Data Range: Read cells from a range using A1 notation (e.g. A1:D10). Returns rows and the resolved range. */
46
- readDataRange: import("node_modules/frogbot/dist/tools/types").AnyTool;
47
- /** Find Spreadsheet(s): Find spreadsheet(s) by name. */
48
- findSpreadsheets: import("node_modules/frogbot/dist/tools/types").AnyTool;
49
- /** Find Worksheet(s): Finds a worksheet(s) by title. */
50
- findWorksheet: import("node_modules/frogbot/dist/tools/types").AnyTool;
51
- /** Copy Worksheet: Creates a new worksheet by copying an existing one. */
52
- copyWorksheet: import("node_modules/frogbot/dist/tools/types").AnyTool;
53
- /** Create Spreadsheet Column: Creates a new column in a specific spreadsheet. */
54
- createColumn: import("node_modules/frogbot/dist/tools/types").AnyTool;
55
- /** Export Worksheet: Download a worksheet as a CSV or TSV file. */
56
- exportSheet: import("node_modules/frogbot/dist/tools/types").AnyTool;
57
- /** Custom API Call: Make a custom API call to a specific endpoint */
58
- customApiCall: import("node_modules/frogbot/dist/tools/types").AnyTool;
59
- };
1
+ import { createGoogleSheetsClient } from './client.js';
2
+ import { googleSheetsScopes } from './config.js';
3
+ export { googleSheetsScopes };
4
+ export declare const googleSheetsActions: readonly ["appendRow", "insertRow", "appendRows", "updateRow", "updateRows", "deleteRow", "deleteRows", "findRows", "findOrCreateRow", "createSpreadsheet", "createWorksheet", "findOrCreateWorksheet", "clearWorksheet", "clearRows", "deleteWorksheet", "renameWorksheet", "formatRows", "getRow", "getNextRows", "getRows", "readRange", "findSpreadsheets", "findWorksheets", "copyWorksheet", "createColumn", "exportWorksheet", "customApiCall"];
5
+ export declare const createGoogleSheets: import("frogbot").PieceFactory<{
6
+ readonly slug: "google-sheets";
7
+ readonly label: "Google Sheets";
8
+ readonly admin: {
9
+ readonly description: "Read, edit, and manage spreadsheets and worksheets";
10
+ readonly group: "Productivity";
11
+ };
12
+ readonly auth: import("zod").ZodObject<{
13
+ accessToken: import("zod").ZodString;
14
+ refreshToken: import("zod").ZodOptional<import("zod").ZodString>;
15
+ }, import("zod/v4/core").$strip>;
16
+ readonly client: typeof createGoogleSheetsClient;
17
+ readonly oauth: {
18
+ readonly scopes: [...string[], "https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/drive"];
19
+ readonly toAuth: ({ tokens }: {
20
+ tokens: import("frogbot").OAuthTokens;
21
+ }) => {
22
+ accessToken: string;
23
+ refreshToken: string | undefined;
24
+ };
25
+ readonly authorizationUrl: string;
26
+ readonly tokenUrl: string;
27
+ readonly params: {
28
+ access_type: string;
29
+ prompt: string;
30
+ };
31
+ readonly account: ({ tokens, req }: {
32
+ tokens: import("frogbot").OAuthTokens;
33
+ client: unknown;
34
+ req: import("frogbot").FrogbotRequest;
35
+ }) => Promise<{
36
+ id: string;
37
+ label: string;
38
+ email: string;
39
+ }>;
40
+ };
41
+ readonly actions: readonly [{
42
+ slug: "appendRow";
43
+ description: string;
44
+ input: import("zod").ZodObject<{
45
+ spreadsheetId: import("zod").ZodString;
46
+ sheetId: import("zod").ZodNumber;
47
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
48
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
49
+ RAW: "RAW";
50
+ USER_ENTERED: "USER_ENTERED";
51
+ }>>;
52
+ }, import("zod/v4/core").$strip>;
53
+ output: import("zod").ZodObject<{
54
+ row: import("zod").ZodNumber;
55
+ updates: import("zod").ZodObject<{
56
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
57
+ updatedRange: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
58
+ updatedRows: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
59
+ updatedColumns: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
60
+ updatedCells: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
61
+ }, import("zod/v4/core").$loose>;
62
+ }, import("zod/v4/core").$strip>;
63
+ idempotent: boolean;
64
+ run: (args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
65
+ spreadsheetId: import("zod").ZodString;
66
+ sheetId: import("zod").ZodNumber;
67
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
68
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
69
+ RAW: "RAW";
70
+ USER_ENTERED: "USER_ENTERED";
71
+ }>>;
72
+ }, import("zod/v4/core").$strip>>>) => Promise<{
73
+ row: number;
74
+ updates: import("googleapis").sheets_v4.Schema$UpdateValuesResponse;
75
+ }>;
76
+ }, {
77
+ slug: "insertRow";
78
+ description: string;
79
+ input: import("zod").ZodObject<{
80
+ spreadsheetId: import("zod").ZodString;
81
+ sheetId: import("zod").ZodNumber;
82
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
83
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
84
+ RAW: "RAW";
85
+ USER_ENTERED: "USER_ENTERED";
86
+ }>>;
87
+ afterRow: import("zod").ZodDefault<import("zod").ZodNumber>;
88
+ }, import("zod/v4/core").$strip>;
89
+ output: import("zod").ZodObject<{
90
+ row: import("zod").ZodNumber;
91
+ updates: import("zod").ZodObject<{
92
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
93
+ updatedRange: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
94
+ updatedRows: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
95
+ updatedColumns: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
96
+ updatedCells: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
97
+ }, import("zod/v4/core").$loose>;
98
+ }, import("zod/v4/core").$strip>;
99
+ idempotent: boolean;
100
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
101
+ spreadsheetId: import("zod").ZodString;
102
+ sheetId: import("zod").ZodNumber;
103
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
104
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
105
+ RAW: "RAW";
106
+ USER_ENTERED: "USER_ENTERED";
107
+ }>>;
108
+ afterRow: import("zod").ZodDefault<import("zod").ZodNumber>;
109
+ }, import("zod/v4/core").$strip>>>): Promise<{
110
+ row: number;
111
+ updates: import("googleapis").sheets_v4.Schema$UpdateValuesResponse;
112
+ }>;
113
+ }, {
114
+ slug: "appendRows";
115
+ description: string;
116
+ input: import("zod").ZodObject<{
117
+ spreadsheetId: import("zod").ZodString;
118
+ sheetId: import("zod").ZodNumber;
119
+ data: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
120
+ format: import("zod").ZodLiteral<"columns">;
121
+ rows: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>>;
122
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
123
+ format: import("zod").ZodLiteral<"json">;
124
+ rows: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>>;
125
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
126
+ format: import("zod").ZodLiteral<"csv">;
127
+ text: import("zod").ZodString;
128
+ }, import("zod/v4/core").$strip>], "format">;
129
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
130
+ overwrite: import("zod").ZodDefault<import("zod").ZodBoolean>;
131
+ duplicateColumn: import("zod").ZodOptional<import("zod").ZodString>;
132
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
133
+ RAW: "RAW";
134
+ USER_ENTERED: "USER_ENTERED";
135
+ }>>;
136
+ }, import("zod/v4/core").$strip>;
137
+ output: import("zod").ZodObject<{
138
+ insertedRows: import("zod").ZodNumber;
139
+ updates: import("zod").ZodUnion<[import("zod").ZodObject<{
140
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
141
+ updatedRange: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
142
+ updatedRows: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
143
+ updatedColumns: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
144
+ updatedCells: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
145
+ }, import("zod/v4/core").$loose>, import("zod").ZodObject<{
146
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
147
+ totalUpdatedRows: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
148
+ totalUpdatedCells: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
149
+ responses: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
150
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
151
+ updatedRange: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
152
+ updatedRows: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
153
+ updatedColumns: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
154
+ updatedCells: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
155
+ }, import("zod/v4/core").$loose>>>>;
156
+ }, import("zod/v4/core").$loose>]>;
157
+ clearedRanges: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
158
+ }, import("zod/v4/core").$strip>;
159
+ idempotent: boolean;
160
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
161
+ spreadsheetId: import("zod").ZodString;
162
+ sheetId: import("zod").ZodNumber;
163
+ data: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
164
+ format: import("zod").ZodLiteral<"columns">;
165
+ rows: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>>;
166
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
167
+ format: import("zod").ZodLiteral<"json">;
168
+ rows: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>>;
169
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
170
+ format: import("zod").ZodLiteral<"csv">;
171
+ text: import("zod").ZodString;
172
+ }, import("zod/v4/core").$strip>], "format">;
173
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
174
+ overwrite: import("zod").ZodDefault<import("zod").ZodBoolean>;
175
+ duplicateColumn: import("zod").ZodOptional<import("zod").ZodString>;
176
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
177
+ RAW: "RAW";
178
+ USER_ENTERED: "USER_ENTERED";
179
+ }>>;
180
+ }, import("zod/v4/core").$strip>>>): Promise<{
181
+ insertedRows: number;
182
+ updates: import("googleapis").sheets_v4.Schema$BatchUpdateValuesResponse;
183
+ clearedRanges: string[];
184
+ } | {
185
+ insertedRows: number;
186
+ updates: import("googleapis").sheets_v4.Schema$UpdateValuesResponse;
187
+ clearedRanges?: undefined;
188
+ }>;
189
+ }, {
190
+ slug: "updateRow";
191
+ description: string;
192
+ input: import("zod").ZodObject<{
193
+ spreadsheetId: import("zod").ZodString;
194
+ sheetId: import("zod").ZodNumber;
195
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
196
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
197
+ RAW: "RAW";
198
+ USER_ENTERED: "USER_ENTERED";
199
+ }>>;
200
+ row: import("zod").ZodNumber;
201
+ }, import("zod/v4/core").$strip>;
202
+ output: import("zod").ZodObject<{
203
+ row: import("zod").ZodNumber;
204
+ updates: import("zod").ZodObject<{
205
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
206
+ updatedRange: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
207
+ updatedRows: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
208
+ updatedColumns: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
209
+ updatedCells: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
210
+ }, import("zod/v4/core").$loose>;
211
+ }, import("zod/v4/core").$strip>;
212
+ idempotent: boolean;
213
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
214
+ spreadsheetId: import("zod").ZodString;
215
+ sheetId: import("zod").ZodNumber;
216
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
217
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
218
+ RAW: "RAW";
219
+ USER_ENTERED: "USER_ENTERED";
220
+ }>>;
221
+ row: import("zod").ZodNumber;
222
+ }, import("zod/v4/core").$strip>>>): Promise<{
223
+ row: number;
224
+ updates: import("googleapis").sheets_v4.Schema$UpdateValuesResponse;
225
+ }>;
226
+ }, {
227
+ slug: "updateRows";
228
+ description: string;
229
+ input: import("zod").ZodObject<{
230
+ spreadsheetId: import("zod").ZodString;
231
+ sheetId: import("zod").ZodNumber;
232
+ rows: import("zod").ZodArray<import("zod").ZodObject<{
233
+ row: import("zod").ZodOptional<import("zod").ZodNumber>;
234
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
235
+ }, import("zod/v4/core").$strip>>;
236
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
237
+ RAW: "RAW";
238
+ USER_ENTERED: "USER_ENTERED";
239
+ }>>;
240
+ }, import("zod/v4/core").$strip>;
241
+ output: import("zod").ZodObject<{
242
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
243
+ totalUpdatedRows: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
244
+ totalUpdatedCells: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
245
+ responses: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
246
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
247
+ updatedRange: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
248
+ updatedRows: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
249
+ updatedColumns: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
250
+ updatedCells: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
251
+ }, import("zod/v4/core").$loose>>>>;
252
+ }, import("zod/v4/core").$loose>;
253
+ idempotent: boolean;
254
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
255
+ spreadsheetId: import("zod").ZodString;
256
+ sheetId: import("zod").ZodNumber;
257
+ rows: import("zod").ZodArray<import("zod").ZodObject<{
258
+ row: import("zod").ZodOptional<import("zod").ZodNumber>;
259
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
260
+ }, import("zod/v4/core").$strip>>;
261
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
262
+ RAW: "RAW";
263
+ USER_ENTERED: "USER_ENTERED";
264
+ }>>;
265
+ }, import("zod/v4/core").$strip>>>): Promise<import("googleapis").sheets_v4.Schema$BatchUpdateValuesResponse>;
266
+ }, {
267
+ slug: "deleteRow";
268
+ description: string;
269
+ input: import("zod").ZodObject<{
270
+ spreadsheetId: import("zod").ZodString;
271
+ sheetId: import("zod").ZodNumber;
272
+ row: import("zod").ZodNumber;
273
+ }, import("zod/v4/core").$strip>;
274
+ output: import("zod").ZodObject<{
275
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
276
+ replies: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodJSONSchema>>>;
277
+ }, import("zod/v4/core").$loose>;
278
+ idempotent: boolean;
279
+ run: (args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
280
+ spreadsheetId: import("zod").ZodString;
281
+ sheetId: import("zod").ZodNumber;
282
+ row: import("zod").ZodNumber;
283
+ }, import("zod/v4/core").$strip>>>) => Promise<import("googleapis").sheets_v4.Schema$BatchUpdateSpreadsheetResponse>;
284
+ }, {
285
+ slug: "deleteRows";
286
+ description: string;
287
+ input: import("zod").ZodObject<{
288
+ spreadsheetId: import("zod").ZodString;
289
+ sheetId: import("zod").ZodNumber;
290
+ selection: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
291
+ mode: import("zod").ZodLiteral<"range">;
292
+ startRow: import("zod").ZodNumber;
293
+ endRow: import("zod").ZodOptional<import("zod").ZodNumber>;
294
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
295
+ mode: import("zod").ZodLiteral<"list">;
296
+ rows: import("zod").ZodArray<import("zod").ZodNumber>;
297
+ }, import("zod/v4/core").$strip>], "mode">;
298
+ }, import("zod/v4/core").$strip>;
299
+ output: import("zod").ZodObject<{
300
+ deletedRanges: import("zod").ZodArray<import("zod").ZodObject<{
301
+ startRow: import("zod").ZodNumber;
302
+ endRow: import("zod").ZodNumber;
303
+ }, import("zod/v4/core").$strip>>;
304
+ result: import("zod").ZodObject<{
305
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
306
+ replies: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodJSONSchema>>>;
307
+ }, import("zod/v4/core").$loose>;
308
+ }, import("zod/v4/core").$strip>;
309
+ idempotent: boolean;
310
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
311
+ spreadsheetId: import("zod").ZodString;
312
+ sheetId: import("zod").ZodNumber;
313
+ selection: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
314
+ mode: import("zod").ZodLiteral<"range">;
315
+ startRow: import("zod").ZodNumber;
316
+ endRow: import("zod").ZodOptional<import("zod").ZodNumber>;
317
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
318
+ mode: import("zod").ZodLiteral<"list">;
319
+ rows: import("zod").ZodArray<import("zod").ZodNumber>;
320
+ }, import("zod/v4/core").$strip>], "mode">;
321
+ }, import("zod/v4/core").$strip>>>): Promise<{
322
+ deletedRanges: {
323
+ startRow: number;
324
+ endRow: number;
325
+ }[];
326
+ result: import("googleapis").sheets_v4.Schema$BatchUpdateSpreadsheetResponse;
327
+ }>;
328
+ }, {
329
+ slug: "findRows";
330
+ description: string;
331
+ input: import("zod").ZodObject<{
332
+ spreadsheetId: import("zod").ZodString;
333
+ sheetId: import("zod").ZodNumber;
334
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
335
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
336
+ column: import("zod").ZodDefault<import("zod").ZodString>;
337
+ searchValue: import("zod").ZodDefault<import("zod").ZodString>;
338
+ exactMatch: import("zod").ZodDefault<import("zod").ZodBoolean>;
339
+ startRow: import("zod").ZodDefault<import("zod").ZodNumber>;
340
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
341
+ }, import("zod/v4/core").$strip>;
342
+ output: import("zod").ZodArray<import("zod").ZodObject<{
343
+ row: import("zod").ZodNumber;
344
+ values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
345
+ }, import("zod/v4/core").$strip>>;
346
+ idempotent: boolean;
347
+ run: (args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
348
+ spreadsheetId: import("zod").ZodString;
349
+ sheetId: import("zod").ZodNumber;
350
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
351
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
352
+ column: import("zod").ZodDefault<import("zod").ZodString>;
353
+ searchValue: import("zod").ZodDefault<import("zod").ZodString>;
354
+ exactMatch: import("zod").ZodDefault<import("zod").ZodBoolean>;
355
+ startRow: import("zod").ZodDefault<import("zod").ZodNumber>;
356
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
357
+ }, import("zod/v4/core").$strip>>>) => Promise<{
358
+ row: number;
359
+ values: {
360
+ [k: string]: string;
361
+ };
362
+ }[]>;
363
+ }, {
364
+ slug: "findOrCreateRow";
365
+ description: string;
366
+ input: import("zod").ZodObject<{
367
+ spreadsheetId: import("zod").ZodString;
368
+ sheetId: import("zod").ZodNumber;
369
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
370
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
371
+ column: import("zod").ZodDefault<import("zod").ZodString>;
372
+ searchValue: import("zod").ZodDefault<import("zod").ZodString>;
373
+ exactMatch: import("zod").ZodDefault<import("zod").ZodBoolean>;
374
+ startRow: import("zod").ZodDefault<import("zod").ZodNumber>;
375
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
376
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
377
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
378
+ RAW: "RAW";
379
+ USER_ENTERED: "USER_ENTERED";
380
+ }>>;
381
+ }, import("zod/v4/core").$strip>;
382
+ output: import("zod").ZodObject<{
383
+ row: import("zod").ZodNumber;
384
+ values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
385
+ found: import("zod").ZodBoolean;
386
+ created: import("zod").ZodBoolean;
387
+ }, import("zod/v4/core").$strip>;
388
+ idempotent: boolean;
389
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
390
+ spreadsheetId: import("zod").ZodString;
391
+ sheetId: import("zod").ZodNumber;
392
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
393
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
394
+ column: import("zod").ZodDefault<import("zod").ZodString>;
395
+ searchValue: import("zod").ZodDefault<import("zod").ZodString>;
396
+ exactMatch: import("zod").ZodDefault<import("zod").ZodBoolean>;
397
+ startRow: import("zod").ZodDefault<import("zod").ZodNumber>;
398
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
399
+ values: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodJSONSchema>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>]>;
400
+ valueInputOption: import("zod").ZodDefault<import("zod").ZodEnum<{
401
+ RAW: "RAW";
402
+ USER_ENTERED: "USER_ENTERED";
403
+ }>>;
404
+ }, import("zod/v4/core").$strip>>>): Promise<{
405
+ found: boolean;
406
+ created: boolean;
407
+ row: number;
408
+ values: {
409
+ [k: string]: string;
410
+ };
411
+ }>;
412
+ }, {
413
+ slug: "createSpreadsheet";
414
+ description: string;
415
+ input: import("zod").ZodObject<{
416
+ title: import("zod").ZodString;
417
+ folderId: import("zod").ZodOptional<import("zod").ZodString>;
418
+ }, import("zod/v4/core").$strip>;
419
+ output: import("zod").ZodObject<{
420
+ id: import("zod").ZodString;
421
+ name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
422
+ webViewLink: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
423
+ createdTime: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
424
+ modifiedTime: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
425
+ }, import("zod/v4/core").$loose>;
426
+ idempotent: boolean;
427
+ run({ client, req, input }: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
428
+ title: import("zod").ZodString;
429
+ folderId: import("zod").ZodOptional<import("zod").ZodString>;
430
+ }, import("zod/v4/core").$strip>>>): Promise<import("googleapis").drive_v3.Schema$File>;
431
+ }, {
432
+ slug: "createWorksheet";
433
+ description: string;
434
+ input: import("zod").ZodObject<{
435
+ spreadsheetId: import("zod").ZodString;
436
+ title: import("zod").ZodString;
437
+ headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
438
+ }, import("zod/v4/core").$strip>;
439
+ output: import("zod").ZodObject<{
440
+ sheetId: import("zod").ZodNumber;
441
+ title: import("zod").ZodString;
442
+ index: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
443
+ gridProperties: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
444
+ rowCount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
445
+ columnCount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
446
+ }, import("zod/v4/core").$loose>>>;
447
+ }, import("zod/v4/core").$loose>;
448
+ idempotent: boolean;
449
+ run: (args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
450
+ spreadsheetId: import("zod").ZodString;
451
+ title: import("zod").ZodString;
452
+ headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
453
+ }, import("zod/v4/core").$strip>>>) => Promise<{
454
+ [x: string]: unknown;
455
+ sheetId: number;
456
+ title: string;
457
+ index?: number | null | undefined;
458
+ gridProperties?: {
459
+ [x: string]: unknown;
460
+ rowCount?: number | null | undefined;
461
+ columnCount?: number | null | undefined;
462
+ } | null | undefined;
463
+ }>;
464
+ }, {
465
+ slug: "findOrCreateWorksheet";
466
+ description: string;
467
+ input: import("zod").ZodObject<{
468
+ spreadsheetId: import("zod").ZodString;
469
+ title: import("zod").ZodString;
470
+ headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
471
+ }, import("zod/v4/core").$strip>;
472
+ output: import("zod").ZodObject<{
473
+ found: import("zod").ZodBoolean;
474
+ created: import("zod").ZodBoolean;
475
+ worksheet: import("zod").ZodObject<{
476
+ sheetId: import("zod").ZodNumber;
477
+ title: import("zod").ZodString;
478
+ index: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
479
+ gridProperties: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
480
+ rowCount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
481
+ columnCount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
482
+ }, import("zod/v4/core").$loose>>>;
483
+ }, import("zod/v4/core").$loose>;
484
+ }, import("zod/v4/core").$strip>;
485
+ idempotent: boolean;
486
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
487
+ spreadsheetId: import("zod").ZodString;
488
+ title: import("zod").ZodString;
489
+ headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
490
+ }, import("zod/v4/core").$strip>>>): Promise<{
491
+ found: boolean;
492
+ created: boolean;
493
+ worksheet: {
494
+ [x: string]: unknown;
495
+ sheetId: number;
496
+ title: string;
497
+ index?: number | null | undefined;
498
+ gridProperties?: {
499
+ [x: string]: unknown;
500
+ rowCount?: number | null | undefined;
501
+ columnCount?: number | null | undefined;
502
+ } | null | undefined;
503
+ };
504
+ }>;
505
+ }, {
506
+ slug: "clearWorksheet";
507
+ description: string;
508
+ input: import("zod").ZodObject<{
509
+ spreadsheetId: import("zod").ZodString;
510
+ sheetId: import("zod").ZodNumber;
511
+ preserveHeaders: import("zod").ZodDefault<import("zod").ZodBoolean>;
512
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
513
+ }, import("zod/v4/core").$strip>;
514
+ output: import("zod").ZodObject<{
515
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
516
+ clearedRange: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
517
+ }, import("zod/v4/core").$strip>;
518
+ idempotent: boolean;
519
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
520
+ spreadsheetId: import("zod").ZodString;
521
+ sheetId: import("zod").ZodNumber;
522
+ preserveHeaders: import("zod").ZodDefault<import("zod").ZodBoolean>;
523
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
524
+ }, import("zod/v4/core").$strip>>>): Promise<import("googleapis").sheets_v4.Schema$ClearValuesResponse>;
525
+ }, {
526
+ slug: "clearRows";
527
+ description: string;
528
+ input: import("zod").ZodObject<{
529
+ spreadsheetId: import("zod").ZodString;
530
+ sheetId: import("zod").ZodNumber;
531
+ startRow: import("zod").ZodNumber;
532
+ endRow: import("zod").ZodOptional<import("zod").ZodNumber>;
533
+ }, import("zod/v4/core").$strip>;
534
+ output: import("zod").ZodObject<{
535
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
536
+ clearedRange: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
537
+ }, import("zod/v4/core").$strip>;
538
+ idempotent: boolean;
539
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
540
+ spreadsheetId: import("zod").ZodString;
541
+ sheetId: import("zod").ZodNumber;
542
+ startRow: import("zod").ZodNumber;
543
+ endRow: import("zod").ZodOptional<import("zod").ZodNumber>;
544
+ }, import("zod/v4/core").$strip>>>): Promise<import("googleapis").sheets_v4.Schema$ClearValuesResponse>;
545
+ }, {
546
+ slug: "deleteWorksheet";
547
+ description: string;
548
+ input: import("zod").ZodObject<{
549
+ spreadsheetId: import("zod").ZodString;
550
+ sheetId: import("zod").ZodNumber;
551
+ }, import("zod/v4/core").$strip>;
552
+ output: import("zod").ZodObject<{
553
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
554
+ replies: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodJSONSchema>>>;
555
+ }, import("zod/v4/core").$loose>;
556
+ idempotent: boolean;
557
+ run: (args: import("./shared.js").SheetsArgs<import("zod").infer<typeof import("./shared.js").sheetInput>>) => Promise<import("googleapis").sheets_v4.Schema$BatchUpdateSpreadsheetResponse>;
558
+ }, {
559
+ slug: "renameWorksheet";
560
+ description: string;
561
+ input: import("zod").ZodObject<{
562
+ spreadsheetId: import("zod").ZodString;
563
+ sheetId: import("zod").ZodNumber;
564
+ title: import("zod").ZodString;
565
+ }, import("zod/v4/core").$strip>;
566
+ output: import("zod").ZodObject<{
567
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
568
+ replies: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodJSONSchema>>>;
569
+ }, import("zod/v4/core").$loose>;
570
+ idempotent: boolean;
571
+ run: (args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
572
+ spreadsheetId: import("zod").ZodString;
573
+ sheetId: import("zod").ZodNumber;
574
+ title: import("zod").ZodString;
575
+ }, import("zod/v4/core").$strip>>>) => Promise<import("googleapis").sheets_v4.Schema$BatchUpdateSpreadsheetResponse>;
576
+ }, {
577
+ slug: "formatRows";
578
+ description: string;
579
+ input: import("zod").ZodObject<{
580
+ spreadsheetId: import("zod").ZodString;
581
+ sheetId: import("zod").ZodNumber;
582
+ startRow: import("zod").ZodNumber;
583
+ endRow: import("zod").ZodOptional<import("zod").ZodNumber>;
584
+ backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
585
+ textColor: import("zod").ZodOptional<import("zod").ZodString>;
586
+ bold: import("zod").ZodOptional<import("zod").ZodBoolean>;
587
+ italic: import("zod").ZodOptional<import("zod").ZodBoolean>;
588
+ strikethrough: import("zod").ZodOptional<import("zod").ZodBoolean>;
589
+ }, import("zod/v4/core").$strip>;
590
+ output: import("zod").ZodObject<{
591
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
592
+ replies: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodJSONSchema>>>;
593
+ }, import("zod/v4/core").$loose>;
594
+ idempotent: boolean;
595
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
596
+ spreadsheetId: import("zod").ZodString;
597
+ sheetId: import("zod").ZodNumber;
598
+ startRow: import("zod").ZodNumber;
599
+ endRow: import("zod").ZodOptional<import("zod").ZodNumber>;
600
+ backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
601
+ textColor: import("zod").ZodOptional<import("zod").ZodString>;
602
+ bold: import("zod").ZodOptional<import("zod").ZodBoolean>;
603
+ italic: import("zod").ZodOptional<import("zod").ZodBoolean>;
604
+ strikethrough: import("zod").ZodOptional<import("zod").ZodBoolean>;
605
+ }, import("zod/v4/core").$strip>>>): Promise<import("googleapis").sheets_v4.Schema$BatchUpdateSpreadsheetResponse>;
606
+ }, {
607
+ slug: "getRow";
608
+ description: string;
609
+ input: import("zod").ZodObject<{
610
+ spreadsheetId: import("zod").ZodString;
611
+ sheetId: import("zod").ZodNumber;
612
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
613
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
614
+ row: import("zod").ZodNumber;
615
+ }, import("zod/v4/core").$strip>;
616
+ output: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
617
+ row: import("zod").ZodNumber;
618
+ values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
619
+ found: import("zod").ZodLiteral<true>;
620
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
621
+ found: import("zod").ZodLiteral<false>;
622
+ row: import("zod").ZodNull;
623
+ }, import("zod/v4/core").$strip>]>;
624
+ idempotent: boolean;
625
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
626
+ spreadsheetId: import("zod").ZodString;
627
+ sheetId: import("zod").ZodNumber;
628
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
629
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
630
+ row: import("zod").ZodNumber;
631
+ }, import("zod/v4/core").$strip>>>): Promise<{
632
+ row: number;
633
+ values: {
634
+ [k: string]: string;
635
+ };
636
+ found: true;
637
+ } | {
638
+ found: false;
639
+ row: null;
640
+ }>;
641
+ }, {
642
+ slug: "getNextRows";
643
+ description: string;
644
+ input: import("zod").ZodObject<{
645
+ spreadsheetId: import("zod").ZodString;
646
+ sheetId: import("zod").ZodNumber;
647
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
648
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
649
+ startRow: import("zod").ZodDefault<import("zod").ZodNumber>;
650
+ batchSize: import("zod").ZodDefault<import("zod").ZodNumber>;
651
+ memoryKey: import("zod").ZodDefault<import("zod").ZodString>;
652
+ }, import("zod/v4/core").$strip>;
653
+ output: import("zod").ZodArray<import("zod").ZodObject<{
654
+ row: import("zod").ZodNumber;
655
+ values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
656
+ }, import("zod/v4/core").$strip>>;
657
+ idempotent: boolean;
658
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
659
+ spreadsheetId: import("zod").ZodString;
660
+ sheetId: import("zod").ZodNumber;
661
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
662
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
663
+ startRow: import("zod").ZodDefault<import("zod").ZodNumber>;
664
+ batchSize: import("zod").ZodDefault<import("zod").ZodNumber>;
665
+ memoryKey: import("zod").ZodDefault<import("zod").ZodString>;
666
+ }, import("zod/v4/core").$strip>>>): Promise<{
667
+ row: number;
668
+ values: {
669
+ [k: string]: string;
670
+ };
671
+ }[]>;
672
+ }, {
673
+ slug: "getRows";
674
+ description: string;
675
+ input: import("zod").ZodObject<{
676
+ spreadsheetId: import("zod").ZodString;
677
+ sheetId: import("zod").ZodNumber;
678
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
679
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
680
+ skipHeaders: import("zod").ZodDefault<import("zod").ZodBoolean>;
681
+ }, import("zod/v4/core").$strip>;
682
+ output: import("zod").ZodArray<import("zod").ZodObject<{
683
+ row: import("zod").ZodNumber;
684
+ values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
685
+ }, import("zod/v4/core").$strip>>;
686
+ idempotent: boolean;
687
+ run: (args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
688
+ spreadsheetId: import("zod").ZodString;
689
+ sheetId: import("zod").ZodNumber;
690
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
691
+ useHeaderNames: import("zod").ZodDefault<import("zod").ZodBoolean>;
692
+ skipHeaders: import("zod").ZodDefault<import("zod").ZodBoolean>;
693
+ }, import("zod/v4/core").$strip>>>) => Promise<{
694
+ row: number;
695
+ values: {
696
+ [k: string]: string;
697
+ };
698
+ }[]>;
699
+ }, {
700
+ slug: "readRange";
701
+ description: string;
702
+ input: import("zod").ZodObject<{
703
+ spreadsheetId: import("zod").ZodString;
704
+ sheetId: import("zod").ZodNumber;
705
+ range: import("zod").ZodOptional<import("zod").ZodString>;
706
+ majorDimension: import("zod").ZodDefault<import("zod").ZodEnum<{
707
+ ROWS: "ROWS";
708
+ COLUMNS: "COLUMNS";
709
+ }>>;
710
+ valueRenderOption: import("zod").ZodDefault<import("zod").ZodEnum<{
711
+ FORMATTED_VALUE: "FORMATTED_VALUE";
712
+ UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
713
+ FORMULA: "FORMULA";
714
+ }>>;
715
+ }, import("zod/v4/core").$strip>;
716
+ output: import("zod").ZodObject<{
717
+ range: import("zod").ZodString;
718
+ majorDimension: import("zod").ZodEnum<{
719
+ ROWS: "ROWS";
720
+ COLUMNS: "COLUMNS";
721
+ }>;
722
+ values: import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
723
+ }, import("zod/v4/core").$strip>;
724
+ idempotent: boolean;
725
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
726
+ spreadsheetId: import("zod").ZodString;
727
+ sheetId: import("zod").ZodNumber;
728
+ range: import("zod").ZodOptional<import("zod").ZodString>;
729
+ majorDimension: import("zod").ZodDefault<import("zod").ZodEnum<{
730
+ ROWS: "ROWS";
731
+ COLUMNS: "COLUMNS";
732
+ }>>;
733
+ valueRenderOption: import("zod").ZodDefault<import("zod").ZodEnum<{
734
+ FORMATTED_VALUE: "FORMATTED_VALUE";
735
+ UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
736
+ FORMULA: "FORMULA";
737
+ }>>;
738
+ }, import("zod/v4/core").$strip>>>): Promise<{
739
+ range: string;
740
+ majorDimension: "ROWS" | "COLUMNS";
741
+ values: any[][];
742
+ }>;
743
+ }, {
744
+ slug: "findSpreadsheets";
745
+ description: string;
746
+ input: import("zod").ZodObject<{
747
+ name: import("zod").ZodString;
748
+ exactMatch: import("zod").ZodDefault<import("zod").ZodBoolean>;
749
+ includeSharedDrives: import("zod").ZodDefault<import("zod").ZodBoolean>;
750
+ }, import("zod/v4/core").$strip>;
751
+ output: import("zod").ZodObject<{
752
+ found: import("zod").ZodBoolean;
753
+ spreadsheets: import("zod").ZodArray<import("zod").ZodObject<{
754
+ id: import("zod").ZodString;
755
+ name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
756
+ webViewLink: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
757
+ createdTime: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
758
+ modifiedTime: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
759
+ }, import("zod/v4/core").$loose>>;
760
+ }, import("zod/v4/core").$strip>;
761
+ idempotent: boolean;
762
+ run({ client, input, req }: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
763
+ name: import("zod").ZodString;
764
+ exactMatch: import("zod").ZodDefault<import("zod").ZodBoolean>;
765
+ includeSharedDrives: import("zod").ZodDefault<import("zod").ZodBoolean>;
766
+ }, import("zod/v4/core").$strip>>>): Promise<{
767
+ found: boolean;
768
+ spreadsheets: import("googleapis").drive_v3.Schema$File[];
769
+ }>;
770
+ }, {
771
+ slug: "findWorksheets";
772
+ description: string;
773
+ input: import("zod").ZodObject<{
774
+ spreadsheetId: import("zod").ZodString;
775
+ title: import("zod").ZodString;
776
+ exactMatch: import("zod").ZodDefault<import("zod").ZodBoolean>;
777
+ }, import("zod/v4/core").$strip>;
778
+ output: import("zod").ZodObject<{
779
+ found: import("zod").ZodBoolean;
780
+ worksheets: import("zod").ZodArray<import("zod").ZodObject<{
781
+ sheetId: import("zod").ZodNumber;
782
+ title: import("zod").ZodString;
783
+ index: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
784
+ gridProperties: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
785
+ rowCount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
786
+ columnCount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
787
+ }, import("zod/v4/core").$loose>>>;
788
+ }, import("zod/v4/core").$loose>>;
789
+ }, import("zod/v4/core").$strip>;
790
+ idempotent: boolean;
791
+ run({ client, req, input }: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
792
+ spreadsheetId: import("zod").ZodString;
793
+ title: import("zod").ZodString;
794
+ exactMatch: import("zod").ZodDefault<import("zod").ZodBoolean>;
795
+ }, import("zod/v4/core").$strip>>>): Promise<{
796
+ found: boolean;
797
+ worksheets: import("googleapis").sheets_v4.Schema$SheetProperties[];
798
+ }>;
799
+ }, {
800
+ slug: "copyWorksheet";
801
+ description: string;
802
+ input: import("zod").ZodObject<{
803
+ spreadsheetId: import("zod").ZodString;
804
+ sheetId: import("zod").ZodNumber;
805
+ destinationSpreadsheetId: import("zod").ZodString;
806
+ }, import("zod/v4/core").$strip>;
807
+ output: import("zod").ZodObject<{
808
+ sheetId: import("zod").ZodNumber;
809
+ title: import("zod").ZodString;
810
+ index: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
811
+ gridProperties: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
812
+ rowCount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
813
+ columnCount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
814
+ }, import("zod/v4/core").$loose>>>;
815
+ }, import("zod/v4/core").$loose>;
816
+ idempotent: boolean;
817
+ run({ client, req, input }: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
818
+ spreadsheetId: import("zod").ZodString;
819
+ sheetId: import("zod").ZodNumber;
820
+ destinationSpreadsheetId: import("zod").ZodString;
821
+ }, import("zod/v4/core").$strip>>>): Promise<import("googleapis").sheets_v4.Schema$SheetProperties>;
822
+ }, {
823
+ slug: "createColumn";
824
+ description: string;
825
+ input: import("zod").ZodObject<{
826
+ spreadsheetId: import("zod").ZodString;
827
+ sheetId: import("zod").ZodNumber;
828
+ name: import("zod").ZodString;
829
+ index: import("zod").ZodOptional<import("zod").ZodNumber>;
830
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
831
+ }, import("zod/v4/core").$strip>;
832
+ output: import("zod").ZodObject<{
833
+ column: import("zod").ZodString;
834
+ index: import("zod").ZodNumber;
835
+ updates: import("zod").ZodObject<{
836
+ spreadsheetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
837
+ updatedRange: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
838
+ updatedRows: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
839
+ updatedColumns: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
840
+ updatedCells: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
841
+ }, import("zod/v4/core").$loose>;
842
+ }, import("zod/v4/core").$strip>;
843
+ idempotent: boolean;
844
+ run(args: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
845
+ spreadsheetId: import("zod").ZodString;
846
+ sheetId: import("zod").ZodNumber;
847
+ name: import("zod").ZodString;
848
+ index: import("zod").ZodOptional<import("zod").ZodNumber>;
849
+ headerRow: import("zod").ZodDefault<import("zod").ZodNumber>;
850
+ }, import("zod/v4/core").$strip>>>): Promise<{
851
+ column: string;
852
+ index: number;
853
+ updates: import("googleapis").sheets_v4.Schema$UpdateValuesResponse;
854
+ }>;
855
+ }, {
856
+ slug: "exportWorksheet";
857
+ description: string;
858
+ input: import("zod").ZodObject<{
859
+ spreadsheetId: import("zod").ZodString;
860
+ sheetId: import("zod").ZodNumber;
861
+ format: import("zod").ZodDefault<import("zod").ZodEnum<{
862
+ csv: "csv";
863
+ tsv: "tsv";
864
+ }>>;
865
+ returnAsText: import("zod").ZodDefault<import("zod").ZodBoolean>;
866
+ }, import("zod/v4/core").$strip>;
867
+ output: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
868
+ text: import("zod").ZodString;
869
+ format: import("zod").ZodEnum<{
870
+ csv: "csv";
871
+ tsv: "tsv";
872
+ }>;
873
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
874
+ file: import("zod").ZodObject<{
875
+ id: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>;
876
+ filename: import("zod").ZodString;
877
+ url: import("zod").ZodOptional<import("zod").ZodString>;
878
+ }, import("zod/v4/core").$strip>;
879
+ format: import("zod").ZodEnum<{
880
+ csv: "csv";
881
+ tsv: "tsv";
882
+ }>;
883
+ }, import("zod/v4/core").$strip>]>;
884
+ idempotent: boolean;
885
+ run({ client, req, input }: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
886
+ spreadsheetId: import("zod").ZodString;
887
+ sheetId: import("zod").ZodNumber;
888
+ format: import("zod").ZodDefault<import("zod").ZodEnum<{
889
+ csv: "csv";
890
+ tsv: "tsv";
891
+ }>>;
892
+ returnAsText: import("zod").ZodDefault<import("zod").ZodBoolean>;
893
+ }, import("zod/v4/core").$strip>>>): Promise<{
894
+ text: string;
895
+ format: "csv" | "tsv";
896
+ file?: undefined;
897
+ } | {
898
+ file: {
899
+ url?: string | undefined;
900
+ id: string | number;
901
+ filename: string;
902
+ };
903
+ format: "csv" | "tsv";
904
+ text?: undefined;
905
+ }>;
906
+ }, {
907
+ slug: "customApiCall";
908
+ description: string;
909
+ input: import("zod").ZodObject<{
910
+ method: import("zod").ZodDefault<import("zod").ZodEnum<{
911
+ GET: "GET";
912
+ POST: "POST";
913
+ PUT: "PUT";
914
+ PATCH: "PATCH";
915
+ DELETE: "DELETE";
916
+ HEAD: "HEAD";
917
+ }>>;
918
+ path: import("zod").ZodString;
919
+ query: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>>;
920
+ headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
921
+ body: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
922
+ type: import("zod").ZodLiteral<"json">;
923
+ value: import("zod").ZodJSONSchema;
924
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
925
+ type: import("zod").ZodLiteral<"raw">;
926
+ value: import("zod").ZodString;
927
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
928
+ type: import("zod").ZodLiteral<"form">;
929
+ fields: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
930
+ name: import("zod").ZodString;
931
+ value: import("zod").ZodString;
932
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
933
+ name: import("zod").ZodString;
934
+ file: import("zod").ZodObject<{
935
+ fileId: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>;
936
+ name: import("zod").ZodOptional<import("zod").ZodString>;
937
+ }, import("zod/v4/core").$strip>;
938
+ }, import("zod/v4/core").$strip>]>>;
939
+ }, import("zod/v4/core").$strip>]>>;
940
+ binary: import("zod").ZodDefault<import("zod").ZodBoolean>;
941
+ filename: import("zod").ZodDefault<import("zod").ZodString>;
942
+ failOnError: import("zod").ZodDefault<import("zod").ZodBoolean>;
943
+ timeoutMs: import("zod").ZodDefault<import("zod").ZodNumber>;
944
+ }, import("zod/v4/core").$strip>;
945
+ output: import("zod").ZodObject<{
946
+ status: import("zod").ZodNumber;
947
+ headers: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
948
+ body: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
949
+ file: import("zod").ZodOptional<import("zod").ZodObject<{
950
+ id: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>;
951
+ filename: import("zod").ZodString;
952
+ url: import("zod").ZodOptional<import("zod").ZodString>;
953
+ }, import("zod/v4/core").$strip>>;
954
+ }, import("zod/v4/core").$strip>;
955
+ idempotent: boolean;
956
+ run({ client, req, input }: import("./shared.js").SheetsArgs<import("zod").infer<import("zod").ZodObject<{
957
+ method: import("zod").ZodDefault<import("zod").ZodEnum<{
958
+ GET: "GET";
959
+ POST: "POST";
960
+ PUT: "PUT";
961
+ PATCH: "PATCH";
962
+ DELETE: "DELETE";
963
+ HEAD: "HEAD";
964
+ }>>;
965
+ path: import("zod").ZodString;
966
+ query: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>>;
967
+ headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
968
+ body: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
969
+ type: import("zod").ZodLiteral<"json">;
970
+ value: import("zod").ZodJSONSchema;
971
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
972
+ type: import("zod").ZodLiteral<"raw">;
973
+ value: import("zod").ZodString;
974
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
975
+ type: import("zod").ZodLiteral<"form">;
976
+ fields: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
977
+ name: import("zod").ZodString;
978
+ value: import("zod").ZodString;
979
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
980
+ name: import("zod").ZodString;
981
+ file: import("zod").ZodObject<{
982
+ fileId: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>;
983
+ name: import("zod").ZodOptional<import("zod").ZodString>;
984
+ }, import("zod/v4/core").$strip>;
985
+ }, import("zod/v4/core").$strip>]>>;
986
+ }, import("zod/v4/core").$strip>]>>;
987
+ binary: import("zod").ZodDefault<import("zod").ZodBoolean>;
988
+ filename: import("zod").ZodDefault<import("zod").ZodString>;
989
+ failOnError: import("zod").ZodDefault<import("zod").ZodBoolean>;
990
+ timeoutMs: import("zod").ZodDefault<import("zod").ZodNumber>;
991
+ }, import("zod/v4/core").$strip>>>): Promise<{
992
+ file: {
993
+ url?: string | undefined;
994
+ id: string | number;
995
+ filename: string;
996
+ };
997
+ status: number;
998
+ headers: {
999
+ [k: string]: string;
1000
+ };
1001
+ } | {
1002
+ body: import("zod").JSONType;
1003
+ status: number;
1004
+ headers: {
1005
+ [k: string]: string;
1006
+ };
1007
+ }>;
1008
+ }];
1009
+ }>;
60
1010
  //# sourceMappingURL=index.d.ts.map