@bubblelab/bubble-core 0.1.25 → 0.1.27
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/bubble-bundle.d.ts +84 -68
- package/dist/bubbles/service-bubble/ai-agent.d.ts +18 -18
- package/dist/bubbles/service-bubble/airtable.d.ts +132 -132
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +8 -8
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +102 -102
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/firecrawl.d.ts +288 -288
- package/dist/bubbles/service-bubble/followupboss.d.ts +264 -264
- package/dist/bubbles/service-bubble/github.d.ts +64 -64
- package/dist/bubbles/service-bubble/gmail.d.ts +108 -108
- package/dist/bubbles/service-bubble/google-calendar.d.ts +16 -16
- package/dist/bubbles/service-bubble/google-drive.d.ts +20 -20
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +33 -33
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +79 -79
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js +15 -19
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/hello-world.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
- package/dist/bubbles/service-bubble/notion/notion.d.ts +601 -601
- package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
- package/dist/bubbles/service-bubble/resend.d.ts +8 -8
- package/dist/bubbles/service-bubble/slack/slack.d.ts +168 -168
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/telegram.d.ts +602 -602
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +82 -82
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +132 -132
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +104 -104
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/people-search-tool.js +55 -10
- package/dist/bubbles/tool-bubble/people-search-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.js +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +36 -36
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +48 -48
- package/dist/bubbles.json +52057 -9
- package/dist/types/available-tools.d.ts +1 -1
- package/dist/types/available-tools.d.ts.map +1 -1
- package/dist/types/available-tools.js +1 -0
- package/dist/types/available-tools.js.map +1 -1
- package/package.json +3 -3
|
@@ -5,12 +5,12 @@ export declare const ValueRangeSchema: z.ZodObject<{
|
|
|
5
5
|
majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS"]>>;
|
|
6
6
|
values: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">, "many">;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
values: (string | number | boolean)[][];
|
|
9
8
|
range: string;
|
|
9
|
+
values: (string | number | boolean)[][];
|
|
10
10
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
11
11
|
}, {
|
|
12
|
-
values: (string | number | boolean)[][];
|
|
13
12
|
range: string;
|
|
13
|
+
values: (string | number | boolean)[][];
|
|
14
14
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export declare const SpreadsheetInfoSchema: z.ZodObject<{
|
|
@@ -142,21 +142,21 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
142
142
|
date_time_render_option: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SERIAL_NUMBER", "FORMATTED_STRING"]>>>;
|
|
143
143
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
operation: "read_values";
|
|
146
145
|
range: string;
|
|
146
|
+
operation: "read_values";
|
|
147
147
|
spreadsheet_id: string;
|
|
148
148
|
major_dimension: "ROWS" | "COLUMNS";
|
|
149
149
|
value_render_option: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA";
|
|
150
150
|
date_time_render_option: "SERIAL_NUMBER" | "FORMATTED_STRING";
|
|
151
151
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
152
152
|
}, {
|
|
153
|
-
operation: "read_values";
|
|
154
153
|
range: string;
|
|
154
|
+
operation: "read_values";
|
|
155
155
|
spreadsheet_id: string;
|
|
156
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
157
156
|
major_dimension?: "ROWS" | "COLUMNS" | undefined;
|
|
158
157
|
value_render_option?: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA" | undefined;
|
|
159
158
|
date_time_render_option?: "SERIAL_NUMBER" | "FORMATTED_STRING" | undefined;
|
|
159
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
160
160
|
}>, z.ZodObject<{
|
|
161
161
|
operation: z.ZodLiteral<"write_values">;
|
|
162
162
|
spreadsheet_id: z.ZodString;
|
|
@@ -167,21 +167,21 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
167
167
|
include_values_in_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
168
168
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
+
range: string;
|
|
170
171
|
values: (string | number | boolean)[][];
|
|
171
172
|
operation: "write_values";
|
|
172
|
-
range: string;
|
|
173
173
|
spreadsheet_id: string;
|
|
174
174
|
major_dimension: "ROWS" | "COLUMNS";
|
|
175
175
|
value_input_option: "RAW" | "USER_ENTERED";
|
|
176
176
|
include_values_in_response: boolean;
|
|
177
177
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
178
178
|
}, {
|
|
179
|
+
range: string;
|
|
179
180
|
values: unknown[][];
|
|
180
181
|
operation: "write_values";
|
|
181
|
-
range: string;
|
|
182
182
|
spreadsheet_id: string;
|
|
183
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
184
183
|
major_dimension?: "ROWS" | "COLUMNS" | undefined;
|
|
184
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
185
185
|
value_input_option?: "RAW" | "USER_ENTERED" | undefined;
|
|
186
186
|
include_values_in_response?: boolean | undefined;
|
|
187
187
|
}>, z.ZodObject<{
|
|
@@ -194,21 +194,21 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
194
194
|
include_values_in_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
195
195
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
range: string;
|
|
197
198
|
values: (string | number | boolean)[][];
|
|
198
199
|
operation: "update_values";
|
|
199
|
-
range: string;
|
|
200
200
|
spreadsheet_id: string;
|
|
201
201
|
major_dimension: "ROWS" | "COLUMNS";
|
|
202
202
|
value_input_option: "RAW" | "USER_ENTERED";
|
|
203
203
|
include_values_in_response: boolean;
|
|
204
204
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
205
205
|
}, {
|
|
206
|
+
range: string;
|
|
206
207
|
values: unknown[][];
|
|
207
208
|
operation: "update_values";
|
|
208
|
-
range: string;
|
|
209
209
|
spreadsheet_id: string;
|
|
210
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
211
210
|
major_dimension?: "ROWS" | "COLUMNS" | undefined;
|
|
211
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
212
212
|
value_input_option?: "RAW" | "USER_ENTERED" | undefined;
|
|
213
213
|
include_values_in_response?: boolean | undefined;
|
|
214
214
|
}>, z.ZodObject<{
|
|
@@ -222,9 +222,9 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
222
222
|
include_values_in_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
223
223
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
224
224
|
}, "strip", z.ZodTypeAny, {
|
|
225
|
+
range: string;
|
|
225
226
|
values: (string | number | boolean)[][];
|
|
226
227
|
operation: "append_values";
|
|
227
|
-
range: string;
|
|
228
228
|
spreadsheet_id: string;
|
|
229
229
|
major_dimension: "ROWS" | "COLUMNS";
|
|
230
230
|
value_input_option: "RAW" | "USER_ENTERED";
|
|
@@ -232,12 +232,12 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
232
232
|
insert_data_option: "OVERWRITE" | "INSERT_ROWS";
|
|
233
233
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
234
234
|
}, {
|
|
235
|
+
range: string;
|
|
235
236
|
values: unknown[][];
|
|
236
237
|
operation: "append_values";
|
|
237
|
-
range: string;
|
|
238
238
|
spreadsheet_id: string;
|
|
239
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
240
239
|
major_dimension?: "ROWS" | "COLUMNS" | undefined;
|
|
240
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
241
241
|
value_input_option?: "RAW" | "USER_ENTERED" | undefined;
|
|
242
242
|
include_values_in_response?: boolean | undefined;
|
|
243
243
|
insert_data_option?: "OVERWRITE" | "INSERT_ROWS" | undefined;
|
|
@@ -247,13 +247,13 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
247
247
|
range: z.ZodEffects<z.ZodString, string, string>;
|
|
248
248
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
249
249
|
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
operation: "clear_values";
|
|
251
250
|
range: string;
|
|
251
|
+
operation: "clear_values";
|
|
252
252
|
spreadsheet_id: string;
|
|
253
253
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
254
254
|
}, {
|
|
255
|
-
operation: "clear_values";
|
|
256
255
|
range: string;
|
|
256
|
+
operation: "clear_values";
|
|
257
257
|
spreadsheet_id: string;
|
|
258
258
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
259
259
|
}>, z.ZodObject<{
|
|
@@ -276,10 +276,10 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
276
276
|
operation: "batch_read_values";
|
|
277
277
|
spreadsheet_id: string;
|
|
278
278
|
ranges: string[];
|
|
279
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
280
279
|
major_dimension?: "ROWS" | "COLUMNS" | undefined;
|
|
281
280
|
value_render_option?: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA" | undefined;
|
|
282
281
|
date_time_render_option?: "SERIAL_NUMBER" | "FORMATTED_STRING" | undefined;
|
|
282
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
283
283
|
}>, z.ZodObject<{
|
|
284
284
|
operation: z.ZodLiteral<"batch_update_values">;
|
|
285
285
|
spreadsheet_id: z.ZodString;
|
|
@@ -288,12 +288,12 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
288
288
|
values: z.ZodEffects<z.ZodArray<z.ZodArray<z.ZodUnknown, "many">, "many">, (string | number | boolean)[][], unknown[][]>;
|
|
289
289
|
major_dimension: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS"]>>>;
|
|
290
290
|
}, "strip", z.ZodTypeAny, {
|
|
291
|
-
values: (string | number | boolean)[][];
|
|
292
291
|
range: string;
|
|
292
|
+
values: (string | number | boolean)[][];
|
|
293
293
|
major_dimension: "ROWS" | "COLUMNS";
|
|
294
294
|
}, {
|
|
295
|
-
values: unknown[][];
|
|
296
295
|
range: string;
|
|
296
|
+
values: unknown[][];
|
|
297
297
|
major_dimension?: "ROWS" | "COLUMNS" | undefined;
|
|
298
298
|
}>, "many">;
|
|
299
299
|
value_input_option: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "USER_ENTERED"]>>>;
|
|
@@ -305,8 +305,8 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
305
305
|
value_input_option: "RAW" | "USER_ENTERED";
|
|
306
306
|
include_values_in_response: boolean;
|
|
307
307
|
value_ranges: {
|
|
308
|
-
values: (string | number | boolean)[][];
|
|
309
308
|
range: string;
|
|
309
|
+
values: (string | number | boolean)[][];
|
|
310
310
|
major_dimension: "ROWS" | "COLUMNS";
|
|
311
311
|
}[];
|
|
312
312
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -314,8 +314,8 @@ export declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
314
314
|
operation: "batch_update_values";
|
|
315
315
|
spreadsheet_id: string;
|
|
316
316
|
value_ranges: {
|
|
317
|
-
values: unknown[][];
|
|
318
317
|
range: string;
|
|
318
|
+
values: unknown[][];
|
|
319
319
|
major_dimension?: "ROWS" | "COLUMNS" | undefined;
|
|
320
320
|
}[];
|
|
321
321
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -396,18 +396,18 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
396
396
|
major_dimension: z.ZodOptional<z.ZodString>;
|
|
397
397
|
error: z.ZodString;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
error: string;
|
|
400
|
-
success: boolean;
|
|
401
399
|
operation: "read_values";
|
|
402
|
-
|
|
400
|
+
success: boolean;
|
|
401
|
+
error: string;
|
|
403
402
|
range?: string | undefined;
|
|
403
|
+
values?: (string | number | boolean)[][] | undefined;
|
|
404
404
|
major_dimension?: string | undefined;
|
|
405
405
|
}, {
|
|
406
|
-
error: string;
|
|
407
|
-
success: boolean;
|
|
408
406
|
operation: "read_values";
|
|
409
|
-
|
|
407
|
+
success: boolean;
|
|
408
|
+
error: string;
|
|
410
409
|
range?: string | undefined;
|
|
410
|
+
values?: (string | number | boolean)[][] | undefined;
|
|
411
411
|
major_dimension?: string | undefined;
|
|
412
412
|
}>, z.ZodObject<{
|
|
413
413
|
operation: z.ZodLiteral<"write_values">;
|
|
@@ -421,39 +421,39 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
421
421
|
majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS"]>>;
|
|
422
422
|
values: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">, "many">;
|
|
423
423
|
}, "strip", z.ZodTypeAny, {
|
|
424
|
-
values: (string | number | boolean)[][];
|
|
425
424
|
range: string;
|
|
425
|
+
values: (string | number | boolean)[][];
|
|
426
426
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
427
427
|
}, {
|
|
428
|
-
values: (string | number | boolean)[][];
|
|
429
428
|
range: string;
|
|
429
|
+
values: (string | number | boolean)[][];
|
|
430
430
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
431
431
|
}>>;
|
|
432
432
|
error: z.ZodString;
|
|
433
433
|
}, "strip", z.ZodTypeAny, {
|
|
434
|
-
error: string;
|
|
435
|
-
success: boolean;
|
|
436
434
|
operation: "write_values";
|
|
435
|
+
success: boolean;
|
|
436
|
+
error: string;
|
|
437
437
|
updated_range?: string | undefined;
|
|
438
438
|
updated_rows?: number | undefined;
|
|
439
439
|
updated_columns?: number | undefined;
|
|
440
440
|
updated_cells?: number | undefined;
|
|
441
441
|
updated_data?: {
|
|
442
|
-
values: (string | number | boolean)[][];
|
|
443
442
|
range: string;
|
|
443
|
+
values: (string | number | boolean)[][];
|
|
444
444
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
445
445
|
} | undefined;
|
|
446
446
|
}, {
|
|
447
|
-
error: string;
|
|
448
|
-
success: boolean;
|
|
449
447
|
operation: "write_values";
|
|
448
|
+
success: boolean;
|
|
449
|
+
error: string;
|
|
450
450
|
updated_range?: string | undefined;
|
|
451
451
|
updated_rows?: number | undefined;
|
|
452
452
|
updated_columns?: number | undefined;
|
|
453
453
|
updated_cells?: number | undefined;
|
|
454
454
|
updated_data?: {
|
|
455
|
-
values: (string | number | boolean)[][];
|
|
456
455
|
range: string;
|
|
456
|
+
values: (string | number | boolean)[][];
|
|
457
457
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
458
458
|
} | undefined;
|
|
459
459
|
}>, z.ZodObject<{
|
|
@@ -468,39 +468,39 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
468
468
|
majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS"]>>;
|
|
469
469
|
values: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">, "many">;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
|
-
values: (string | number | boolean)[][];
|
|
472
471
|
range: string;
|
|
472
|
+
values: (string | number | boolean)[][];
|
|
473
473
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
474
474
|
}, {
|
|
475
|
-
values: (string | number | boolean)[][];
|
|
476
475
|
range: string;
|
|
476
|
+
values: (string | number | boolean)[][];
|
|
477
477
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
478
478
|
}>>;
|
|
479
479
|
error: z.ZodString;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
|
-
error: string;
|
|
482
|
-
success: boolean;
|
|
483
481
|
operation: "update_values";
|
|
482
|
+
success: boolean;
|
|
483
|
+
error: string;
|
|
484
484
|
updated_range?: string | undefined;
|
|
485
485
|
updated_rows?: number | undefined;
|
|
486
486
|
updated_columns?: number | undefined;
|
|
487
487
|
updated_cells?: number | undefined;
|
|
488
488
|
updated_data?: {
|
|
489
|
-
values: (string | number | boolean)[][];
|
|
490
489
|
range: string;
|
|
490
|
+
values: (string | number | boolean)[][];
|
|
491
491
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
492
492
|
} | undefined;
|
|
493
493
|
}, {
|
|
494
|
-
error: string;
|
|
495
|
-
success: boolean;
|
|
496
494
|
operation: "update_values";
|
|
495
|
+
success: boolean;
|
|
496
|
+
error: string;
|
|
497
497
|
updated_range?: string | undefined;
|
|
498
498
|
updated_rows?: number | undefined;
|
|
499
499
|
updated_columns?: number | undefined;
|
|
500
500
|
updated_cells?: number | undefined;
|
|
501
501
|
updated_data?: {
|
|
502
|
-
values: (string | number | boolean)[][];
|
|
503
502
|
range: string;
|
|
503
|
+
values: (string | number | boolean)[][];
|
|
504
504
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
505
505
|
} | undefined;
|
|
506
506
|
}>, z.ZodObject<{
|
|
@@ -513,18 +513,18 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
513
513
|
updated_cells: z.ZodOptional<z.ZodNumber>;
|
|
514
514
|
error: z.ZodString;
|
|
515
515
|
}, "strip", z.ZodTypeAny, {
|
|
516
|
-
error: string;
|
|
517
|
-
success: boolean;
|
|
518
516
|
operation: "append_values";
|
|
517
|
+
success: boolean;
|
|
518
|
+
error: string;
|
|
519
519
|
updated_range?: string | undefined;
|
|
520
520
|
updated_rows?: number | undefined;
|
|
521
521
|
updated_columns?: number | undefined;
|
|
522
522
|
updated_cells?: number | undefined;
|
|
523
523
|
table_range?: string | undefined;
|
|
524
524
|
}, {
|
|
525
|
-
error: string;
|
|
526
|
-
success: boolean;
|
|
527
525
|
operation: "append_values";
|
|
526
|
+
success: boolean;
|
|
527
|
+
error: string;
|
|
528
528
|
updated_range?: string | undefined;
|
|
529
529
|
updated_rows?: number | undefined;
|
|
530
530
|
updated_columns?: number | undefined;
|
|
@@ -536,14 +536,14 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
536
536
|
cleared_range: z.ZodOptional<z.ZodString>;
|
|
537
537
|
error: z.ZodString;
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
|
-
error: string;
|
|
540
|
-
success: boolean;
|
|
541
539
|
operation: "clear_values";
|
|
540
|
+
success: boolean;
|
|
541
|
+
error: string;
|
|
542
542
|
cleared_range?: string | undefined;
|
|
543
543
|
}, {
|
|
544
|
-
error: string;
|
|
545
|
-
success: boolean;
|
|
546
544
|
operation: "clear_values";
|
|
545
|
+
success: boolean;
|
|
546
|
+
error: string;
|
|
547
547
|
cleared_range?: string | undefined;
|
|
548
548
|
}>, z.ZodObject<{
|
|
549
549
|
operation: z.ZodLiteral<"batch_read_values">;
|
|
@@ -553,31 +553,31 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
553
553
|
majorDimension: z.ZodOptional<z.ZodEnum<["ROWS", "COLUMNS"]>>;
|
|
554
554
|
values: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">, "many">;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
|
-
values: (string | number | boolean)[][];
|
|
557
556
|
range: string;
|
|
557
|
+
values: (string | number | boolean)[][];
|
|
558
558
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
559
559
|
}, {
|
|
560
|
-
values: (string | number | boolean)[][];
|
|
561
560
|
range: string;
|
|
561
|
+
values: (string | number | boolean)[][];
|
|
562
562
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
563
563
|
}>, "many">>;
|
|
564
564
|
error: z.ZodString;
|
|
565
565
|
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
error: string;
|
|
567
|
-
success: boolean;
|
|
568
566
|
operation: "batch_read_values";
|
|
567
|
+
success: boolean;
|
|
568
|
+
error: string;
|
|
569
569
|
value_ranges?: {
|
|
570
|
-
values: (string | number | boolean)[][];
|
|
571
570
|
range: string;
|
|
571
|
+
values: (string | number | boolean)[][];
|
|
572
572
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
573
573
|
}[] | undefined;
|
|
574
574
|
}, {
|
|
575
|
-
error: string;
|
|
576
|
-
success: boolean;
|
|
577
575
|
operation: "batch_read_values";
|
|
576
|
+
success: boolean;
|
|
577
|
+
error: string;
|
|
578
578
|
value_ranges?: {
|
|
579
|
-
values: (string | number | boolean)[][];
|
|
580
579
|
range: string;
|
|
580
|
+
values: (string | number | boolean)[][];
|
|
581
581
|
majorDimension?: "ROWS" | "COLUMNS" | undefined;
|
|
582
582
|
}[] | undefined;
|
|
583
583
|
}>, z.ZodObject<{
|
|
@@ -605,9 +605,9 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
605
605
|
}>, "many">>;
|
|
606
606
|
error: z.ZodString;
|
|
607
607
|
}, "strip", z.ZodTypeAny, {
|
|
608
|
-
error: string;
|
|
609
|
-
success: boolean;
|
|
610
608
|
operation: "batch_update_values";
|
|
609
|
+
success: boolean;
|
|
610
|
+
error: string;
|
|
611
611
|
total_updated_rows?: number | undefined;
|
|
612
612
|
total_updated_columns?: number | undefined;
|
|
613
613
|
total_updated_cells?: number | undefined;
|
|
@@ -619,9 +619,9 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
619
619
|
updated_cells?: number | undefined;
|
|
620
620
|
}[] | undefined;
|
|
621
621
|
}, {
|
|
622
|
-
error: string;
|
|
623
|
-
success: boolean;
|
|
624
622
|
operation: "batch_update_values";
|
|
623
|
+
success: boolean;
|
|
624
|
+
error: string;
|
|
625
625
|
total_updated_rows?: number | undefined;
|
|
626
626
|
total_updated_columns?: number | undefined;
|
|
627
627
|
total_updated_cells?: number | undefined;
|
|
@@ -757,9 +757,9 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
757
757
|
}>>;
|
|
758
758
|
error: z.ZodString;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
|
-
error: string;
|
|
761
|
-
success: boolean;
|
|
762
760
|
operation: "get_spreadsheet_info";
|
|
761
|
+
success: boolean;
|
|
762
|
+
error: string;
|
|
763
763
|
spreadsheet?: {
|
|
764
764
|
spreadsheetId: string;
|
|
765
765
|
properties?: {
|
|
@@ -783,9 +783,9 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
783
783
|
spreadsheetUrl?: string | undefined;
|
|
784
784
|
} | undefined;
|
|
785
785
|
}, {
|
|
786
|
-
error: string;
|
|
787
|
-
success: boolean;
|
|
788
786
|
operation: "get_spreadsheet_info";
|
|
787
|
+
success: boolean;
|
|
788
|
+
error: string;
|
|
789
789
|
spreadsheet?: {
|
|
790
790
|
spreadsheetId: string;
|
|
791
791
|
properties?: {
|
|
@@ -933,9 +933,9 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
933
933
|
}>>;
|
|
934
934
|
error: z.ZodString;
|
|
935
935
|
}, "strip", z.ZodTypeAny, {
|
|
936
|
-
error: string;
|
|
937
|
-
success: boolean;
|
|
938
936
|
operation: "create_spreadsheet";
|
|
937
|
+
success: boolean;
|
|
938
|
+
error: string;
|
|
939
939
|
spreadsheet?: {
|
|
940
940
|
spreadsheetId: string;
|
|
941
941
|
properties?: {
|
|
@@ -959,9 +959,9 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
959
959
|
spreadsheetUrl?: string | undefined;
|
|
960
960
|
} | undefined;
|
|
961
961
|
}, {
|
|
962
|
-
error: string;
|
|
963
|
-
success: boolean;
|
|
964
962
|
operation: "create_spreadsheet";
|
|
963
|
+
success: boolean;
|
|
964
|
+
error: string;
|
|
965
965
|
spreadsheet?: {
|
|
966
966
|
spreadsheetId: string;
|
|
967
967
|
properties?: {
|
|
@@ -991,15 +991,15 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
991
991
|
sheet_title: z.ZodOptional<z.ZodString>;
|
|
992
992
|
error: z.ZodString;
|
|
993
993
|
}, "strip", z.ZodTypeAny, {
|
|
994
|
-
error: string;
|
|
995
|
-
success: boolean;
|
|
996
994
|
operation: "add_sheet";
|
|
995
|
+
success: boolean;
|
|
996
|
+
error: string;
|
|
997
997
|
sheet_title?: string | undefined;
|
|
998
998
|
sheet_id?: number | undefined;
|
|
999
999
|
}, {
|
|
1000
|
-
error: string;
|
|
1001
|
-
success: boolean;
|
|
1002
1000
|
operation: "add_sheet";
|
|
1001
|
+
success: boolean;
|
|
1002
|
+
error: string;
|
|
1003
1003
|
sheet_title?: string | undefined;
|
|
1004
1004
|
sheet_id?: number | undefined;
|
|
1005
1005
|
}>, z.ZodObject<{
|
|
@@ -1008,14 +1008,14 @@ export declare const GoogleSheetsResultSchema: z.ZodDiscriminatedUnion<"operatio
|
|
|
1008
1008
|
deleted_sheet_id: z.ZodOptional<z.ZodNumber>;
|
|
1009
1009
|
error: z.ZodString;
|
|
1010
1010
|
}, "strip", z.ZodTypeAny, {
|
|
1011
|
-
error: string;
|
|
1012
|
-
success: boolean;
|
|
1013
1011
|
operation: "delete_sheet";
|
|
1012
|
+
success: boolean;
|
|
1013
|
+
error: string;
|
|
1014
1014
|
deleted_sheet_id?: number | undefined;
|
|
1015
1015
|
}, {
|
|
1016
|
-
error: string;
|
|
1017
|
-
success: boolean;
|
|
1018
1016
|
operation: "delete_sheet";
|
|
1017
|
+
success: boolean;
|
|
1018
|
+
error: string;
|
|
1019
1019
|
deleted_sheet_id?: number | undefined;
|
|
1020
1020
|
}>]>;
|
|
1021
1021
|
export type GoogleSheetsResult = z.output<typeof GoogleSheetsResultSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-sheets.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/google-sheets/google-sheets.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAWkB,CAAC;AAGhD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CkB,CAAC;AAgCrD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"google-sheets.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/google-sheets/google-sheets.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAWkB,CAAC;AAGhD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CkB,CAAC;AAgCrD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiWnC,CAAC;AAGH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+KnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAG3E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAG3E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -90,7 +90,7 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
90
90
|
.string()
|
|
91
91
|
.min(1, 'Spreadsheet ID is required')
|
|
92
92
|
.describe('Google Sheets spreadsheet ID'),
|
|
93
|
-
range: createRangeField('A1 notation range (e.g., "Sheet1!A1:B10" or "
|
|
93
|
+
range: createRangeField('A1 notation range (e.g., "Sheet1!A1:B10" or "Tab Name!A:G" - tab names with spaces are automatically quoted)'),
|
|
94
94
|
major_dimension: z
|
|
95
95
|
.enum(['ROWS', 'COLUMNS'])
|
|
96
96
|
.optional()
|
|
@@ -118,7 +118,7 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
118
118
|
.string()
|
|
119
119
|
.min(1, 'Spreadsheet ID is required')
|
|
120
120
|
.describe('Google Sheets spreadsheet ID'),
|
|
121
|
-
range: createRangeField('A1 notation range (e.g., "Sheet1!A1:B10" or "
|
|
121
|
+
range: createRangeField('A1 notation range (e.g., "Sheet1!A1:B10" or "Tab Name!A:G" - tab names with spaces are automatically quoted)'),
|
|
122
122
|
values: createValuesField('Data to write as array of arrays (null/undefined automatically converted to empty strings)'),
|
|
123
123
|
major_dimension: z
|
|
124
124
|
.enum(['ROWS', 'COLUMNS'])
|
|
@@ -149,7 +149,7 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
149
149
|
.string()
|
|
150
150
|
.min(1, 'Spreadsheet ID is required')
|
|
151
151
|
.describe('Google Sheets spreadsheet ID'),
|
|
152
|
-
range: createRangeField('A1 notation range (e.g., "Sheet1!A1:B10" or "
|
|
152
|
+
range: createRangeField('A1 notation range (e.g., "Sheet1!A1:B10" or "Tab Name!A:G" - tab names with spaces are automatically quoted)'),
|
|
153
153
|
values: createValuesField('Data to update as array of arrays (null/undefined automatically converted to empty strings)'),
|
|
154
154
|
major_dimension: z
|
|
155
155
|
.enum(['ROWS', 'COLUMNS'])
|
|
@@ -180,7 +180,7 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
180
180
|
.string()
|
|
181
181
|
.min(1, 'Spreadsheet ID is required')
|
|
182
182
|
.describe('Google Sheets spreadsheet ID'),
|
|
183
|
-
range: createRangeField('A1 notation range to search for table (e.g., "Sheet1!A:A" or "
|
|
183
|
+
range: createRangeField('A1 notation range to search for table (e.g., "Sheet1!A:A" or "Tab Name!A:G" - tab names with spaces are automatically quoted)'),
|
|
184
184
|
values: createValuesField('Data to append as array of arrays (null/undefined automatically converted to empty strings)'),
|
|
185
185
|
major_dimension: z
|
|
186
186
|
.enum(['ROWS', 'COLUMNS'])
|
|
@@ -214,7 +214,7 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
214
214
|
.string()
|
|
215
215
|
.min(1, 'Spreadsheet ID is required')
|
|
216
216
|
.describe('Google Sheets spreadsheet ID'),
|
|
217
|
-
range: createRangeField('A1 notation range (e.g., "Sheet1!A1:B10" or "
|
|
217
|
+
range: createRangeField('A1 notation range (e.g., "Sheet1!A1:B10" or "Tab Name!A:G" - tab names with spaces are automatically quoted)'),
|
|
218
218
|
credentials: z
|
|
219
219
|
.record(z.nativeEnum(CredentialType), z.string())
|
|
220
220
|
.optional()
|
|
@@ -229,7 +229,7 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
229
229
|
.string()
|
|
230
230
|
.min(1, 'Spreadsheet ID is required')
|
|
231
231
|
.describe('Google Sheets spreadsheet ID'),
|
|
232
|
-
ranges: createRangesField('Array of A1 notation ranges (
|
|
232
|
+
ranges: createRangesField('Array of A1 notation ranges (tab names with spaces are automatically quoted)'),
|
|
233
233
|
major_dimension: z
|
|
234
234
|
.enum(['ROWS', 'COLUMNS'])
|
|
235
235
|
.optional()
|
|
@@ -264,7 +264,7 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
264
264
|
range: z
|
|
265
265
|
.string()
|
|
266
266
|
.transform((val) => normalizeRange(val))
|
|
267
|
-
.describe('A1 notation range (
|
|
267
|
+
.describe('A1 notation range (tab names with spaces are automatically quoted)'),
|
|
268
268
|
values: z
|
|
269
269
|
.array(z.array(z.unknown()))
|
|
270
270
|
.transform((val) => sanitizeValues(val))
|
|
@@ -323,7 +323,7 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
323
323
|
.array(z.string())
|
|
324
324
|
.optional()
|
|
325
325
|
.default(['Sheet1'])
|
|
326
|
-
.describe('
|
|
326
|
+
.describe('Tab names for the initial tabs (these are the tabs at the bottom of a spreadsheet, not the spreadsheet name)'),
|
|
327
327
|
credentials: z
|
|
328
328
|
.record(z.nativeEnum(CredentialType), z.string())
|
|
329
329
|
.optional()
|
|
@@ -331,17 +331,15 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
331
331
|
}),
|
|
332
332
|
// Add sheet operation
|
|
333
333
|
z.object({
|
|
334
|
-
operation: z
|
|
335
|
-
.literal('add_sheet')
|
|
336
|
-
.describe('Add a new sheet to spreadsheet'),
|
|
334
|
+
operation: z.literal('add_sheet').describe('Add a new tab to spreadsheet'),
|
|
337
335
|
spreadsheet_id: z
|
|
338
336
|
.string()
|
|
339
337
|
.min(1, 'Spreadsheet ID is required')
|
|
340
338
|
.describe('Google Sheets spreadsheet ID'),
|
|
341
339
|
sheet_title: z
|
|
342
340
|
.string()
|
|
343
|
-
.min(1, '
|
|
344
|
-
.describe('
|
|
341
|
+
.min(1, 'Tab name is required')
|
|
342
|
+
.describe('Tab name for the new tab (this is the tab at the bottom of a spreadsheet, not the spreadsheet name)'),
|
|
345
343
|
row_count: z
|
|
346
344
|
.number()
|
|
347
345
|
.min(1)
|
|
@@ -363,7 +361,7 @@ export const GoogleSheetsParamsSchema = z.discriminatedUnion('operation', [
|
|
|
363
361
|
z.object({
|
|
364
362
|
operation: z
|
|
365
363
|
.literal('delete_sheet')
|
|
366
|
-
.describe('Delete a
|
|
364
|
+
.describe('Delete a tab from spreadsheet'),
|
|
367
365
|
spreadsheet_id: z
|
|
368
366
|
.string()
|
|
369
367
|
.min(1, 'Spreadsheet ID is required')
|
|
@@ -520,18 +518,16 @@ export const GoogleSheetsResultSchema = z.discriminatedUnion('operation', [
|
|
|
520
518
|
error: z.string().describe('Error message if operation failed'),
|
|
521
519
|
}),
|
|
522
520
|
z.object({
|
|
523
|
-
operation: z
|
|
524
|
-
.literal('add_sheet')
|
|
525
|
-
.describe('Add a new sheet to spreadsheet'),
|
|
521
|
+
operation: z.literal('add_sheet').describe('Add a new tab to spreadsheet'),
|
|
526
522
|
success: z.boolean().describe('Whether the operation was successful'),
|
|
527
523
|
sheet_id: z.number().optional().describe('ID of the added sheet'),
|
|
528
|
-
sheet_title: z.string().optional().describe('
|
|
524
|
+
sheet_title: z.string().optional().describe('Tab name of the added tab'),
|
|
529
525
|
error: z.string().describe('Error message if operation failed'),
|
|
530
526
|
}),
|
|
531
527
|
z.object({
|
|
532
528
|
operation: z
|
|
533
529
|
.literal('delete_sheet')
|
|
534
|
-
.describe('Delete a
|
|
530
|
+
.describe('Delete a tab from spreadsheet'),
|
|
535
531
|
success: z.boolean().describe('Whether the operation was successful'),
|
|
536
532
|
deleted_sheet_id: z.number().optional().describe('ID of the deleted sheet'),
|
|
537
533
|
error: z.string().describe('Error message if operation failed'),
|