@promptlayer/mcp-server 1.13.0 → 1.15.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/README.md +56 -3
- package/build/client.d.ts +39 -22
- package/build/client.d.ts.map +1 -1
- package/build/client.js +46 -24
- package/build/client.js.map +1 -1
- package/build/handlers.d.ts.map +1 -1
- package/build/handlers.js +62 -24
- package/build/handlers.js.map +1 -1
- package/build/index.js +10 -5
- package/build/index.js.map +1 -1
- package/build/types.d.ts +1984 -837
- package/build/types.d.ts.map +1 -1
- package/build/types.js +561 -269
- package/build/types.js.map +1 -1
- package/build/utils.d.ts.map +1 -1
- package/build/utils.js +10 -1
- package/build/utils.js.map +1 -1
- package/gcp/src/index.ts +95 -38
- package/package.json +1 -1
- package/src/client.ts +46 -25
- package/src/handlers.ts +136 -52
- package/src/index.ts +10 -5
- package/src/types.ts +615 -318
- package/src/utils.ts +8 -1
package/build/types.d.ts
CHANGED
|
@@ -315,385 +315,6 @@ export declare const CreateSpansBulkArgsSchema: z.ZodObject<{
|
|
|
315
315
|
spans: Record<string, unknown>[];
|
|
316
316
|
api_key?: string | undefined;
|
|
317
317
|
}>;
|
|
318
|
-
export declare const ListDatasetsArgsSchema: z.ZodObject<{
|
|
319
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
320
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
321
|
-
name: z.ZodOptional<z.ZodString>;
|
|
322
|
-
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
323
|
-
dataset_group_id: z.ZodOptional<z.ZodNumber>;
|
|
324
|
-
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
325
|
-
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
326
|
-
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
327
|
-
report_id: z.ZodOptional<z.ZodNumber>;
|
|
328
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
329
|
-
}, "strip", z.ZodTypeAny, {
|
|
330
|
-
status?: "active" | "deleted" | "all" | undefined;
|
|
331
|
-
api_key?: string | undefined;
|
|
332
|
-
page?: number | undefined;
|
|
333
|
-
per_page?: number | undefined;
|
|
334
|
-
name?: string | undefined;
|
|
335
|
-
prompt_id?: number | undefined;
|
|
336
|
-
prompt_version_id?: number | undefined;
|
|
337
|
-
prompt_label_id?: number | undefined;
|
|
338
|
-
dataset_group_id?: number | undefined;
|
|
339
|
-
report_id?: number | undefined;
|
|
340
|
-
}, {
|
|
341
|
-
status?: "active" | "deleted" | "all" | undefined;
|
|
342
|
-
api_key?: string | undefined;
|
|
343
|
-
page?: number | undefined;
|
|
344
|
-
per_page?: number | undefined;
|
|
345
|
-
name?: string | undefined;
|
|
346
|
-
prompt_id?: number | undefined;
|
|
347
|
-
prompt_version_id?: number | undefined;
|
|
348
|
-
prompt_label_id?: number | undefined;
|
|
349
|
-
dataset_group_id?: number | undefined;
|
|
350
|
-
report_id?: number | undefined;
|
|
351
|
-
}>;
|
|
352
|
-
export declare const CreateDatasetGroupArgsSchema: z.ZodObject<{
|
|
353
|
-
name: z.ZodOptional<z.ZodString>;
|
|
354
|
-
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
355
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
356
|
-
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
api_key?: string | undefined;
|
|
358
|
-
name?: string | undefined;
|
|
359
|
-
folder_id?: number | undefined;
|
|
360
|
-
}, {
|
|
361
|
-
api_key?: string | undefined;
|
|
362
|
-
name?: string | undefined;
|
|
363
|
-
folder_id?: number | undefined;
|
|
364
|
-
}>;
|
|
365
|
-
export declare const CreateDatasetVersionFromFileArgsSchema: z.ZodObject<{
|
|
366
|
-
dataset_group_id: z.ZodNumber;
|
|
367
|
-
file_name: z.ZodString;
|
|
368
|
-
file_content_base64: z.ZodString;
|
|
369
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
370
|
-
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
dataset_group_id: number;
|
|
372
|
-
file_name: string;
|
|
373
|
-
file_content_base64: string;
|
|
374
|
-
api_key?: string | undefined;
|
|
375
|
-
}, {
|
|
376
|
-
dataset_group_id: number;
|
|
377
|
-
file_name: string;
|
|
378
|
-
file_content_base64: string;
|
|
379
|
-
api_key?: string | undefined;
|
|
380
|
-
}>;
|
|
381
|
-
export declare const CreateDatasetVersionFromFilterParamsArgsSchema: z.ZodObject<{
|
|
382
|
-
dataset_group_id: z.ZodNumber;
|
|
383
|
-
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
384
|
-
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
385
|
-
q: z.ZodOptional<z.ZodString>;
|
|
386
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
387
|
-
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
388
|
-
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
389
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
390
|
-
}, "strip", z.ZodTypeAny, {
|
|
391
|
-
dataset_group_id: number;
|
|
392
|
-
api_key?: string | undefined;
|
|
393
|
-
request_log_ids?: number[] | undefined;
|
|
394
|
-
filter_group?: any;
|
|
395
|
-
q?: string | undefined;
|
|
396
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
397
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
398
|
-
variables_to_parse?: string[] | undefined;
|
|
399
|
-
}, {
|
|
400
|
-
dataset_group_id: number;
|
|
401
|
-
api_key?: string | undefined;
|
|
402
|
-
request_log_ids?: number[] | undefined;
|
|
403
|
-
filter_group?: any;
|
|
404
|
-
q?: string | undefined;
|
|
405
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
406
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
407
|
-
variables_to_parse?: string[] | undefined;
|
|
408
|
-
}>;
|
|
409
|
-
export declare const GetDatasetRowsArgsSchema: z.ZodObject<{
|
|
410
|
-
dataset_id: z.ZodNumber;
|
|
411
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
412
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
413
|
-
q: z.ZodOptional<z.ZodString>;
|
|
414
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
415
|
-
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
dataset_id: number;
|
|
417
|
-
api_key?: string | undefined;
|
|
418
|
-
page?: number | undefined;
|
|
419
|
-
per_page?: number | undefined;
|
|
420
|
-
q?: string | undefined;
|
|
421
|
-
}, {
|
|
422
|
-
dataset_id: number;
|
|
423
|
-
api_key?: string | undefined;
|
|
424
|
-
page?: number | undefined;
|
|
425
|
-
per_page?: number | undefined;
|
|
426
|
-
q?: string | undefined;
|
|
427
|
-
}>;
|
|
428
|
-
export declare const CreateDraftDatasetVersionArgsSchema: z.ZodObject<{
|
|
429
|
-
dataset_group_id: z.ZodNumber;
|
|
430
|
-
source_dataset_id: z.ZodOptional<z.ZodNumber>;
|
|
431
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
432
|
-
}, "strip", z.ZodTypeAny, {
|
|
433
|
-
dataset_group_id: number;
|
|
434
|
-
api_key?: string | undefined;
|
|
435
|
-
source_dataset_id?: number | undefined;
|
|
436
|
-
}, {
|
|
437
|
-
dataset_group_id: number;
|
|
438
|
-
api_key?: string | undefined;
|
|
439
|
-
source_dataset_id?: number | undefined;
|
|
440
|
-
}>;
|
|
441
|
-
export declare const AddRequestLogToDatasetVersionArgsSchema: z.ZodObject<{
|
|
442
|
-
dataset_group_id: z.ZodNumber;
|
|
443
|
-
request_log_id: z.ZodNumber;
|
|
444
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
445
|
-
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
dataset_group_id: number;
|
|
447
|
-
request_log_id: number;
|
|
448
|
-
api_key?: string | undefined;
|
|
449
|
-
}, {
|
|
450
|
-
dataset_group_id: number;
|
|
451
|
-
request_log_id: number;
|
|
452
|
-
api_key?: string | undefined;
|
|
453
|
-
}>;
|
|
454
|
-
export declare const SaveDraftDatasetVersionArgsSchema: z.ZodObject<{
|
|
455
|
-
dataset_group_id: z.ZodNumber;
|
|
456
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
457
|
-
}, "strip", z.ZodTypeAny, {
|
|
458
|
-
dataset_group_id: number;
|
|
459
|
-
api_key?: string | undefined;
|
|
460
|
-
}, {
|
|
461
|
-
dataset_group_id: number;
|
|
462
|
-
api_key?: string | undefined;
|
|
463
|
-
}>;
|
|
464
|
-
export declare const AddTraceToDatasetVersionArgsSchema: z.ZodObject<{
|
|
465
|
-
dataset_group_id: z.ZodNumber;
|
|
466
|
-
trace_id: z.ZodString;
|
|
467
|
-
span_id: z.ZodOptional<z.ZodString>;
|
|
468
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
469
|
-
}, "strip", z.ZodTypeAny, {
|
|
470
|
-
dataset_group_id: number;
|
|
471
|
-
trace_id: string;
|
|
472
|
-
api_key?: string | undefined;
|
|
473
|
-
span_id?: string | undefined;
|
|
474
|
-
}, {
|
|
475
|
-
dataset_group_id: number;
|
|
476
|
-
trace_id: string;
|
|
477
|
-
api_key?: string | undefined;
|
|
478
|
-
span_id?: string | undefined;
|
|
479
|
-
}>;
|
|
480
|
-
export declare const ListEvaluationsArgsSchema: z.ZodObject<{
|
|
481
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
482
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
483
|
-
name: z.ZodOptional<z.ZodString>;
|
|
484
|
-
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
485
|
-
include_runs: z.ZodOptional<z.ZodBoolean>;
|
|
486
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
487
|
-
}, "strip", z.ZodTypeAny, {
|
|
488
|
-
status?: "active" | "deleted" | "all" | undefined;
|
|
489
|
-
api_key?: string | undefined;
|
|
490
|
-
page?: number | undefined;
|
|
491
|
-
per_page?: number | undefined;
|
|
492
|
-
name?: string | undefined;
|
|
493
|
-
include_runs?: boolean | undefined;
|
|
494
|
-
}, {
|
|
495
|
-
status?: "active" | "deleted" | "all" | undefined;
|
|
496
|
-
api_key?: string | undefined;
|
|
497
|
-
page?: number | undefined;
|
|
498
|
-
per_page?: number | undefined;
|
|
499
|
-
name?: string | undefined;
|
|
500
|
-
include_runs?: boolean | undefined;
|
|
501
|
-
}>;
|
|
502
|
-
export declare const GetEvaluationRowsArgsSchema: z.ZodObject<{
|
|
503
|
-
evaluation_id: z.ZodNumber;
|
|
504
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
505
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
506
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
507
|
-
}, "strip", z.ZodTypeAny, {
|
|
508
|
-
evaluation_id: number;
|
|
509
|
-
api_key?: string | undefined;
|
|
510
|
-
page?: number | undefined;
|
|
511
|
-
per_page?: number | undefined;
|
|
512
|
-
}, {
|
|
513
|
-
evaluation_id: number;
|
|
514
|
-
api_key?: string | undefined;
|
|
515
|
-
page?: number | undefined;
|
|
516
|
-
per_page?: number | undefined;
|
|
517
|
-
}>;
|
|
518
|
-
export declare const CreateReportArgsSchema: z.ZodObject<{
|
|
519
|
-
dataset_group_id: z.ZodNumber;
|
|
520
|
-
name: z.ZodOptional<z.ZodString>;
|
|
521
|
-
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
522
|
-
dataset_version_number: z.ZodOptional<z.ZodNumber>;
|
|
523
|
-
columns: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
524
|
-
score_configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
525
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
526
|
-
}, "strip", z.ZodTypeAny, {
|
|
527
|
-
dataset_group_id: number;
|
|
528
|
-
api_key?: string | undefined;
|
|
529
|
-
name?: string | undefined;
|
|
530
|
-
folder_id?: number | undefined;
|
|
531
|
-
dataset_version_number?: number | undefined;
|
|
532
|
-
columns?: Record<string, unknown>[] | undefined;
|
|
533
|
-
score_configuration?: Record<string, unknown> | undefined;
|
|
534
|
-
}, {
|
|
535
|
-
dataset_group_id: number;
|
|
536
|
-
api_key?: string | undefined;
|
|
537
|
-
name?: string | undefined;
|
|
538
|
-
folder_id?: number | undefined;
|
|
539
|
-
dataset_version_number?: number | undefined;
|
|
540
|
-
columns?: Record<string, unknown>[] | undefined;
|
|
541
|
-
score_configuration?: Record<string, unknown> | undefined;
|
|
542
|
-
}>;
|
|
543
|
-
export declare const RunReportArgsSchema: z.ZodObject<{
|
|
544
|
-
report_id: z.ZodNumber;
|
|
545
|
-
name: z.ZodString;
|
|
546
|
-
dataset_id: z.ZodOptional<z.ZodNumber>;
|
|
547
|
-
refresh_dataset: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
549
|
-
}, "strip", z.ZodTypeAny, {
|
|
550
|
-
name: string;
|
|
551
|
-
report_id: number;
|
|
552
|
-
api_key?: string | undefined;
|
|
553
|
-
dataset_id?: number | undefined;
|
|
554
|
-
refresh_dataset?: boolean | undefined;
|
|
555
|
-
}, {
|
|
556
|
-
name: string;
|
|
557
|
-
report_id: number;
|
|
558
|
-
api_key?: string | undefined;
|
|
559
|
-
dataset_id?: number | undefined;
|
|
560
|
-
refresh_dataset?: boolean | undefined;
|
|
561
|
-
}>;
|
|
562
|
-
export declare const GetReportArgsSchema: z.ZodObject<{
|
|
563
|
-
report_id: z.ZodNumber;
|
|
564
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
565
|
-
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
report_id: number;
|
|
567
|
-
api_key?: string | undefined;
|
|
568
|
-
}, {
|
|
569
|
-
report_id: number;
|
|
570
|
-
api_key?: string | undefined;
|
|
571
|
-
}>;
|
|
572
|
-
export declare const GetReportScoreArgsSchema: z.ZodObject<{
|
|
573
|
-
report_id: z.ZodNumber;
|
|
574
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
575
|
-
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
report_id: number;
|
|
577
|
-
api_key?: string | undefined;
|
|
578
|
-
}, {
|
|
579
|
-
report_id: number;
|
|
580
|
-
api_key?: string | undefined;
|
|
581
|
-
}>;
|
|
582
|
-
export declare const UpdateReportScoreCardArgsSchema: z.ZodObject<{
|
|
583
|
-
report_id: z.ZodNumber;
|
|
584
|
-
column_names: z.ZodArray<z.ZodString, "many">;
|
|
585
|
-
code: z.ZodOptional<z.ZodString>;
|
|
586
|
-
code_language: z.ZodOptional<z.ZodEnum<["PYTHON", "JAVASCRIPT"]>>;
|
|
587
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
588
|
-
}, "strip", z.ZodTypeAny, {
|
|
589
|
-
report_id: number;
|
|
590
|
-
column_names: string[];
|
|
591
|
-
code?: string | undefined;
|
|
592
|
-
api_key?: string | undefined;
|
|
593
|
-
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
594
|
-
}, {
|
|
595
|
-
report_id: number;
|
|
596
|
-
column_names: string[];
|
|
597
|
-
code?: string | undefined;
|
|
598
|
-
api_key?: string | undefined;
|
|
599
|
-
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
600
|
-
}>;
|
|
601
|
-
export declare const DeleteReportsByNameArgsSchema: z.ZodObject<{
|
|
602
|
-
report_name: z.ZodString;
|
|
603
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
604
|
-
}, "strip", z.ZodTypeAny, {
|
|
605
|
-
report_name: string;
|
|
606
|
-
api_key?: string | undefined;
|
|
607
|
-
}, {
|
|
608
|
-
report_name: string;
|
|
609
|
-
api_key?: string | undefined;
|
|
610
|
-
}>;
|
|
611
|
-
export declare const DeleteReportArgsSchema: z.ZodObject<{
|
|
612
|
-
report_id: z.ZodNumber;
|
|
613
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
614
|
-
}, "strip", z.ZodTypeAny, {
|
|
615
|
-
report_id: number;
|
|
616
|
-
api_key?: string | undefined;
|
|
617
|
-
}, {
|
|
618
|
-
report_id: number;
|
|
619
|
-
api_key?: string | undefined;
|
|
620
|
-
}>;
|
|
621
|
-
export declare const RenameReportArgsSchema: z.ZodObject<{
|
|
622
|
-
report_id: z.ZodNumber;
|
|
623
|
-
name: z.ZodOptional<z.ZodString>;
|
|
624
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
625
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
626
|
-
}, "strip", z.ZodTypeAny, {
|
|
627
|
-
report_id: number;
|
|
628
|
-
api_key?: string | undefined;
|
|
629
|
-
name?: string | undefined;
|
|
630
|
-
tags?: string[] | undefined;
|
|
631
|
-
}, {
|
|
632
|
-
report_id: number;
|
|
633
|
-
api_key?: string | undefined;
|
|
634
|
-
name?: string | undefined;
|
|
635
|
-
tags?: string[] | undefined;
|
|
636
|
-
}>;
|
|
637
|
-
export declare const AddReportColumnArgsSchema: z.ZodObject<{
|
|
638
|
-
report_id: z.ZodNumber;
|
|
639
|
-
column_type: z.ZodString;
|
|
640
|
-
name: z.ZodString;
|
|
641
|
-
configuration: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
642
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
643
|
-
is_part_of_score: z.ZodOptional<z.ZodBoolean>;
|
|
644
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
645
|
-
}, "strip", z.ZodTypeAny, {
|
|
646
|
-
name: string;
|
|
647
|
-
report_id: number;
|
|
648
|
-
column_type: string;
|
|
649
|
-
configuration: Record<string, unknown>;
|
|
650
|
-
api_key?: string | undefined;
|
|
651
|
-
position?: number | undefined;
|
|
652
|
-
is_part_of_score?: boolean | undefined;
|
|
653
|
-
}, {
|
|
654
|
-
name: string;
|
|
655
|
-
report_id: number;
|
|
656
|
-
column_type: string;
|
|
657
|
-
configuration: Record<string, unknown>;
|
|
658
|
-
api_key?: string | undefined;
|
|
659
|
-
position?: number | undefined;
|
|
660
|
-
is_part_of_score?: boolean | undefined;
|
|
661
|
-
}>;
|
|
662
|
-
export declare const EditReportColumnArgsSchema: z.ZodObject<{
|
|
663
|
-
report_column_id: z.ZodNumber;
|
|
664
|
-
report_id: z.ZodNumber;
|
|
665
|
-
column_type: z.ZodString;
|
|
666
|
-
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
667
|
-
name: z.ZodOptional<z.ZodString>;
|
|
668
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
669
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
670
|
-
}, "strip", z.ZodTypeAny, {
|
|
671
|
-
report_id: number;
|
|
672
|
-
column_type: string;
|
|
673
|
-
report_column_id: number;
|
|
674
|
-
api_key?: string | undefined;
|
|
675
|
-
name?: string | undefined;
|
|
676
|
-
configuration?: Record<string, unknown> | undefined;
|
|
677
|
-
position?: number | undefined;
|
|
678
|
-
}, {
|
|
679
|
-
report_id: number;
|
|
680
|
-
column_type: string;
|
|
681
|
-
report_column_id: number;
|
|
682
|
-
api_key?: string | undefined;
|
|
683
|
-
name?: string | undefined;
|
|
684
|
-
configuration?: Record<string, unknown> | undefined;
|
|
685
|
-
position?: number | undefined;
|
|
686
|
-
}>;
|
|
687
|
-
export declare const DeleteReportColumnArgsSchema: z.ZodObject<{
|
|
688
|
-
report_column_id: z.ZodNumber;
|
|
689
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
690
|
-
}, "strip", z.ZodTypeAny, {
|
|
691
|
-
report_column_id: number;
|
|
692
|
-
api_key?: string | undefined;
|
|
693
|
-
}, {
|
|
694
|
-
report_column_id: number;
|
|
695
|
-
api_key?: string | undefined;
|
|
696
|
-
}>;
|
|
697
318
|
export declare const ListWorkflowsArgsSchema: z.ZodObject<{
|
|
698
319
|
page: z.ZodOptional<z.ZodNumber>;
|
|
699
320
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1007,36 +628,76 @@ export declare const TestExecuteToolRegistryArgsSchema: z.ZodObject<{
|
|
|
1007
628
|
} | undefined;
|
|
1008
629
|
inputs?: Record<string, unknown> | undefined;
|
|
1009
630
|
}>;
|
|
1010
|
-
export declare const
|
|
1011
|
-
name: z.ZodString;
|
|
1012
|
-
parent_id: z.ZodOptional<z.ZodNumber>;
|
|
631
|
+
export declare const ListWorkspaceEnvVarsArgsSchema: z.ZodObject<{
|
|
1013
632
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1014
633
|
}, "strip", z.ZodTypeAny, {
|
|
1015
|
-
name: string;
|
|
1016
634
|
api_key?: string | undefined;
|
|
1017
|
-
parent_id?: number | undefined;
|
|
1018
635
|
}, {
|
|
1019
|
-
name: string;
|
|
1020
636
|
api_key?: string | undefined;
|
|
1021
|
-
parent_id?: number | undefined;
|
|
1022
637
|
}>;
|
|
1023
|
-
export declare const
|
|
1024
|
-
|
|
1025
|
-
name: z.ZodString;
|
|
638
|
+
export declare const CreateWorkspaceEnvVarArgsSchema: z.ZodObject<{
|
|
639
|
+
key: z.ZodString;
|
|
1026
640
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1027
641
|
}, "strip", z.ZodTypeAny, {
|
|
1028
|
-
|
|
1029
|
-
folder_id: number;
|
|
642
|
+
key: string;
|
|
1030
643
|
api_key?: string | undefined;
|
|
1031
644
|
}, {
|
|
1032
|
-
|
|
1033
|
-
folder_id: number;
|
|
645
|
+
key: string;
|
|
1034
646
|
api_key?: string | undefined;
|
|
1035
647
|
}>;
|
|
1036
|
-
export declare const
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
648
|
+
export declare const ListToolEnvVarsArgsSchema: z.ZodObject<{
|
|
649
|
+
identifier: z.ZodString;
|
|
650
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
651
|
+
}, "strip", z.ZodTypeAny, {
|
|
652
|
+
identifier: string;
|
|
653
|
+
api_key?: string | undefined;
|
|
654
|
+
}, {
|
|
655
|
+
identifier: string;
|
|
656
|
+
api_key?: string | undefined;
|
|
657
|
+
}>;
|
|
658
|
+
export declare const CreateToolEnvVarArgsSchema: z.ZodObject<{
|
|
659
|
+
identifier: z.ZodString;
|
|
660
|
+
key: z.ZodString;
|
|
661
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
662
|
+
}, "strip", z.ZodTypeAny, {
|
|
663
|
+
identifier: string;
|
|
664
|
+
key: string;
|
|
665
|
+
api_key?: string | undefined;
|
|
666
|
+
}, {
|
|
667
|
+
identifier: string;
|
|
668
|
+
key: string;
|
|
669
|
+
api_key?: string | undefined;
|
|
670
|
+
}>;
|
|
671
|
+
export declare const CreateFolderArgsSchema: z.ZodObject<{
|
|
672
|
+
name: z.ZodString;
|
|
673
|
+
parent_id: z.ZodOptional<z.ZodNumber>;
|
|
674
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
675
|
+
}, "strip", z.ZodTypeAny, {
|
|
676
|
+
name: string;
|
|
677
|
+
api_key?: string | undefined;
|
|
678
|
+
parent_id?: number | undefined;
|
|
679
|
+
}, {
|
|
680
|
+
name: string;
|
|
681
|
+
api_key?: string | undefined;
|
|
682
|
+
parent_id?: number | undefined;
|
|
683
|
+
}>;
|
|
684
|
+
export declare const EditFolderArgsSchema: z.ZodObject<{
|
|
685
|
+
folder_id: z.ZodNumber;
|
|
686
|
+
name: z.ZodString;
|
|
687
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
|
689
|
+
name: string;
|
|
690
|
+
folder_id: number;
|
|
691
|
+
api_key?: string | undefined;
|
|
692
|
+
}, {
|
|
693
|
+
name: string;
|
|
694
|
+
folder_id: number;
|
|
695
|
+
api_key?: string | undefined;
|
|
696
|
+
}>;
|
|
697
|
+
export declare const GetFolderEntitiesArgsSchema: z.ZodObject<{
|
|
698
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
699
|
+
filter_type: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["FOLDER", "PROMPT", "SNIPPET", "WORKFLOW", "DATASET", "REPORT", "AB_TEST", "INPUT_VARIABLE_SET"]>, z.ZodArray<z.ZodEnum<["FOLDER", "PROMPT", "SNIPPET", "WORKFLOW", "DATASET", "REPORT", "AB_TEST", "INPUT_VARIABLE_SET"]>, "many">]>>;
|
|
700
|
+
search_query: z.ZodOptional<z.ZodString>;
|
|
1040
701
|
semantic_search: z.ZodOptional<z.ZodBoolean>;
|
|
1041
702
|
semantic_search_top_k: z.ZodOptional<z.ZodNumber>;
|
|
1042
703
|
semantic_search_threshold: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1169,238 +830,1091 @@ export declare const CreateSkillCollectionArgsSchema: z.ZodObject<{
|
|
|
1169
830
|
content?: string | undefined;
|
|
1170
831
|
}[] | undefined;
|
|
1171
832
|
}, {
|
|
1172
|
-
name: string;
|
|
1173
|
-
provider?: string | undefined;
|
|
833
|
+
name: string;
|
|
834
|
+
provider?: string | undefined;
|
|
835
|
+
api_key?: string | undefined;
|
|
836
|
+
folder_id?: number | undefined;
|
|
837
|
+
commit_message?: string | undefined;
|
|
838
|
+
description?: string | undefined;
|
|
839
|
+
files?: {
|
|
840
|
+
path: string;
|
|
841
|
+
content?: string | undefined;
|
|
842
|
+
}[] | undefined;
|
|
843
|
+
}>;
|
|
844
|
+
export declare const GetSkillCollectionArgsSchema: z.ZodObject<{
|
|
845
|
+
identifier: z.ZodString;
|
|
846
|
+
label: z.ZodOptional<z.ZodString>;
|
|
847
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
848
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
849
|
+
}, "strip", z.ZodTypeAny, {
|
|
850
|
+
identifier: string;
|
|
851
|
+
version?: number | undefined;
|
|
852
|
+
label?: string | undefined;
|
|
853
|
+
api_key?: string | undefined;
|
|
854
|
+
}, {
|
|
855
|
+
identifier: string;
|
|
856
|
+
version?: number | undefined;
|
|
857
|
+
label?: string | undefined;
|
|
858
|
+
api_key?: string | undefined;
|
|
859
|
+
}>;
|
|
860
|
+
export declare const UpdateSkillCollectionArgsSchema: z.ZodObject<{
|
|
861
|
+
identifier: z.ZodString;
|
|
862
|
+
name: z.ZodOptional<z.ZodString>;
|
|
863
|
+
description: z.ZodOptional<z.ZodString>;
|
|
864
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
865
|
+
}, "strip", z.ZodTypeAny, {
|
|
866
|
+
identifier: string;
|
|
867
|
+
api_key?: string | undefined;
|
|
868
|
+
name?: string | undefined;
|
|
869
|
+
description?: string | undefined;
|
|
870
|
+
}, {
|
|
871
|
+
identifier: string;
|
|
872
|
+
api_key?: string | undefined;
|
|
873
|
+
name?: string | undefined;
|
|
874
|
+
description?: string | undefined;
|
|
875
|
+
}>;
|
|
876
|
+
export declare const SaveSkillCollectionVersionArgsSchema: z.ZodObject<{
|
|
877
|
+
identifier: z.ZodString;
|
|
878
|
+
file_updates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
879
|
+
path: z.ZodString;
|
|
880
|
+
content: z.ZodOptional<z.ZodString>;
|
|
881
|
+
}, "strip", z.ZodTypeAny, {
|
|
882
|
+
path: string;
|
|
883
|
+
content?: string | undefined;
|
|
884
|
+
}, {
|
|
885
|
+
path: string;
|
|
886
|
+
content?: string | undefined;
|
|
887
|
+
}>, "many">>;
|
|
888
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
889
|
+
old_path: z.ZodString;
|
|
890
|
+
new_path: z.ZodString;
|
|
891
|
+
}, "strip", z.ZodTypeAny, {
|
|
892
|
+
old_path: string;
|
|
893
|
+
new_path: string;
|
|
894
|
+
}, {
|
|
895
|
+
old_path: string;
|
|
896
|
+
new_path: string;
|
|
897
|
+
}>, "many">>;
|
|
898
|
+
deletes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
899
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
900
|
+
release_label: z.ZodOptional<z.ZodString>;
|
|
901
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
902
|
+
}, "strip", z.ZodTypeAny, {
|
|
903
|
+
identifier: string;
|
|
904
|
+
api_key?: string | undefined;
|
|
905
|
+
commit_message?: string | undefined;
|
|
906
|
+
file_updates?: {
|
|
907
|
+
path: string;
|
|
908
|
+
content?: string | undefined;
|
|
909
|
+
}[] | undefined;
|
|
910
|
+
moves?: {
|
|
911
|
+
old_path: string;
|
|
912
|
+
new_path: string;
|
|
913
|
+
}[] | undefined;
|
|
914
|
+
deletes?: string[] | undefined;
|
|
915
|
+
release_label?: string | undefined;
|
|
916
|
+
}, {
|
|
917
|
+
identifier: string;
|
|
918
|
+
api_key?: string | undefined;
|
|
919
|
+
commit_message?: string | undefined;
|
|
920
|
+
file_updates?: {
|
|
921
|
+
path: string;
|
|
922
|
+
content?: string | undefined;
|
|
923
|
+
}[] | undefined;
|
|
924
|
+
moves?: {
|
|
925
|
+
old_path: string;
|
|
926
|
+
new_path: string;
|
|
927
|
+
}[] | undefined;
|
|
928
|
+
deletes?: string[] | undefined;
|
|
929
|
+
release_label?: string | undefined;
|
|
930
|
+
}>;
|
|
931
|
+
export declare const PatchPromptTemplateVersionArgsSchema: z.ZodObject<{
|
|
932
|
+
identifier: z.ZodString;
|
|
933
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
934
|
+
label: z.ZodOptional<z.ZodString>;
|
|
935
|
+
messages: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
936
|
+
tools: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
937
|
+
functions: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
938
|
+
function_call: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
939
|
+
tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
940
|
+
content: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
941
|
+
model_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
942
|
+
response_format: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
943
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
944
|
+
release_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
945
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
946
|
+
}, "strip", z.ZodTypeAny, {
|
|
947
|
+
identifier: string;
|
|
948
|
+
version?: number | undefined;
|
|
949
|
+
label?: string | undefined;
|
|
950
|
+
api_key?: string | undefined;
|
|
951
|
+
commit_message?: string | undefined;
|
|
952
|
+
release_labels?: string[] | undefined;
|
|
953
|
+
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
954
|
+
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
955
|
+
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
956
|
+
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
957
|
+
function_call?: string | Record<string, unknown> | null | undefined;
|
|
958
|
+
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
959
|
+
model_parameters?: Record<string, unknown> | undefined;
|
|
960
|
+
response_format?: Record<string, unknown> | null | undefined;
|
|
961
|
+
}, {
|
|
962
|
+
identifier: string;
|
|
963
|
+
version?: number | undefined;
|
|
964
|
+
label?: string | undefined;
|
|
965
|
+
api_key?: string | undefined;
|
|
966
|
+
commit_message?: string | undefined;
|
|
967
|
+
release_labels?: string[] | undefined;
|
|
968
|
+
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
969
|
+
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
970
|
+
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
971
|
+
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
972
|
+
function_call?: string | Record<string, unknown> | null | undefined;
|
|
973
|
+
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
974
|
+
model_parameters?: Record<string, unknown> | undefined;
|
|
975
|
+
response_format?: Record<string, unknown> | null | undefined;
|
|
976
|
+
}>;
|
|
977
|
+
export declare const SearchRequestLogsArgsSchema: z.ZodObject<{
|
|
978
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
979
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
980
|
+
include_prompt_name: z.ZodOptional<z.ZodBoolean>;
|
|
981
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
982
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
983
|
+
q: z.ZodOptional<z.ZodString>;
|
|
984
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
985
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
986
|
+
}, "strip", z.ZodTypeAny, {
|
|
987
|
+
api_key?: string | undefined;
|
|
988
|
+
page?: number | undefined;
|
|
989
|
+
per_page?: number | undefined;
|
|
990
|
+
include_prompt_name?: boolean | undefined;
|
|
991
|
+
filter_group?: any;
|
|
992
|
+
q?: string | undefined;
|
|
993
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
994
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
995
|
+
}, {
|
|
996
|
+
api_key?: string | undefined;
|
|
997
|
+
page?: number | undefined;
|
|
998
|
+
per_page?: number | undefined;
|
|
999
|
+
include_prompt_name?: boolean | undefined;
|
|
1000
|
+
filter_group?: any;
|
|
1001
|
+
q?: string | undefined;
|
|
1002
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1003
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1004
|
+
}>;
|
|
1005
|
+
export declare const GetRequestAnalyticsArgsSchema: z.ZodObject<{
|
|
1006
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1007
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1008
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1010
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1011
|
+
}, "strip", z.ZodTypeAny, {
|
|
1012
|
+
api_key?: string | undefined;
|
|
1013
|
+
filter_group?: any;
|
|
1014
|
+
q?: string | undefined;
|
|
1015
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1016
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1017
|
+
}, {
|
|
1018
|
+
api_key?: string | undefined;
|
|
1019
|
+
filter_group?: any;
|
|
1020
|
+
q?: string | undefined;
|
|
1021
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1022
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1023
|
+
}>;
|
|
1024
|
+
export declare const GetRequestArgsSchema: z.ZodObject<{
|
|
1025
|
+
request_id: z.ZodNumber;
|
|
1026
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1027
|
+
}, "strip", z.ZodTypeAny, {
|
|
1028
|
+
request_id: number;
|
|
1029
|
+
api_key?: string | undefined;
|
|
1030
|
+
}, {
|
|
1031
|
+
request_id: number;
|
|
1032
|
+
api_key?: string | undefined;
|
|
1033
|
+
}>;
|
|
1034
|
+
export declare const GetTraceArgsSchema: z.ZodObject<{
|
|
1035
|
+
trace_id: z.ZodString;
|
|
1036
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
}, "strip", z.ZodTypeAny, {
|
|
1038
|
+
trace_id: string;
|
|
1039
|
+
api_key?: string | undefined;
|
|
1040
|
+
}, {
|
|
1041
|
+
trace_id: string;
|
|
1042
|
+
api_key?: string | undefined;
|
|
1043
|
+
}>;
|
|
1044
|
+
export declare const GetRequestSearchSuggestionsArgsSchema: z.ZodObject<{
|
|
1045
|
+
field: z.ZodEnum<["engine", "provider_type", "prompt_id", "prompt", "tags", "metadata_keys", "status", "tool_names", "output_keys", "input_variable_keys", "metadata_values", "output_values", "input_variable_values"]>;
|
|
1046
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
metadata_key: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1049
|
+
filter_group: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
}, "strip", z.ZodTypeAny, {
|
|
1052
|
+
field: "status" | "tags" | "prompt_id" | "engine" | "provider_type" | "metadata_keys" | "tool_names" | "output_keys" | "input_variable_keys" | "prompt" | "metadata_values" | "output_values" | "input_variable_values";
|
|
1053
|
+
api_key?: string | undefined;
|
|
1054
|
+
prompt_id?: number | undefined;
|
|
1055
|
+
filter_group?: string | undefined;
|
|
1056
|
+
prefix?: string | undefined;
|
|
1057
|
+
metadata_key?: string | undefined;
|
|
1058
|
+
}, {
|
|
1059
|
+
field: "status" | "tags" | "prompt_id" | "engine" | "provider_type" | "metadata_keys" | "tool_names" | "output_keys" | "input_variable_keys" | "prompt" | "metadata_values" | "output_values" | "input_variable_values";
|
|
1060
|
+
api_key?: string | undefined;
|
|
1061
|
+
prompt_id?: number | undefined;
|
|
1062
|
+
filter_group?: string | undefined;
|
|
1063
|
+
prefix?: string | undefined;
|
|
1064
|
+
metadata_key?: string | undefined;
|
|
1065
|
+
}>;
|
|
1066
|
+
export declare const ListSmartTablesArgsSchema: z.ZodObject<{
|
|
1067
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1069
|
+
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
1070
|
+
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
1071
|
+
sort: z.ZodOptional<z.ZodEnum<["created_at"]>>;
|
|
1072
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1073
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1075
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1076
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
}, "strip", z.ZodTypeAny, {
|
|
1078
|
+
sort?: "created_at" | undefined;
|
|
1079
|
+
api_key?: string | undefined;
|
|
1080
|
+
name?: string | undefined;
|
|
1081
|
+
folder_id?: number | undefined;
|
|
1082
|
+
prompt_id?: number | undefined;
|
|
1083
|
+
prompt_version_id?: number | undefined;
|
|
1084
|
+
prompt_label_id?: number | undefined;
|
|
1085
|
+
limit?: number | undefined;
|
|
1086
|
+
order?: "asc" | "desc" | undefined;
|
|
1087
|
+
cursor?: string | undefined;
|
|
1088
|
+
}, {
|
|
1089
|
+
sort?: "created_at" | undefined;
|
|
1090
|
+
api_key?: string | undefined;
|
|
1091
|
+
name?: string | undefined;
|
|
1092
|
+
folder_id?: number | undefined;
|
|
1093
|
+
prompt_id?: number | undefined;
|
|
1094
|
+
prompt_version_id?: number | undefined;
|
|
1095
|
+
prompt_label_id?: number | undefined;
|
|
1096
|
+
limit?: number | undefined;
|
|
1097
|
+
order?: "asc" | "desc" | undefined;
|
|
1098
|
+
cursor?: string | undefined;
|
|
1099
|
+
}>;
|
|
1100
|
+
export declare const CreateSmartTableArgsSchema: z.ZodObject<{
|
|
1101
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1103
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
}, "strip", z.ZodTypeAny, {
|
|
1105
|
+
api_key?: string | undefined;
|
|
1106
|
+
folder_id?: number | undefined;
|
|
1107
|
+
title?: string | undefined;
|
|
1108
|
+
}, {
|
|
1109
|
+
api_key?: string | undefined;
|
|
1110
|
+
folder_id?: number | undefined;
|
|
1111
|
+
title?: string | undefined;
|
|
1112
|
+
}>;
|
|
1113
|
+
export declare const GetSmartTableArgsSchema: z.ZodObject<{
|
|
1114
|
+
table_id: z.ZodString;
|
|
1115
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
}, "strip", z.ZodTypeAny, {
|
|
1117
|
+
table_id: string;
|
|
1118
|
+
api_key?: string | undefined;
|
|
1119
|
+
}, {
|
|
1120
|
+
table_id: string;
|
|
1121
|
+
api_key?: string | undefined;
|
|
1122
|
+
}>;
|
|
1123
|
+
export declare const UpdateSmartTableArgsSchema: z.ZodObject<{
|
|
1124
|
+
table_id: z.ZodString;
|
|
1125
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1127
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
}, "strip", z.ZodTypeAny, {
|
|
1129
|
+
table_id: string;
|
|
1130
|
+
api_key?: string | undefined;
|
|
1131
|
+
folder_id?: number | undefined;
|
|
1132
|
+
title?: string | undefined;
|
|
1133
|
+
}, {
|
|
1134
|
+
table_id: string;
|
|
1135
|
+
api_key?: string | undefined;
|
|
1136
|
+
folder_id?: number | undefined;
|
|
1137
|
+
title?: string | undefined;
|
|
1138
|
+
}>;
|
|
1139
|
+
export declare const ListSmartTableSheetsArgsSchema: z.ZodObject<{
|
|
1140
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1141
|
+
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1142
|
+
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
1143
|
+
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
1144
|
+
sort: z.ZodOptional<z.ZodEnum<["index"]>>;
|
|
1145
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1146
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1148
|
+
table_id: z.ZodString;
|
|
1149
|
+
}, "strip", z.ZodTypeAny, {
|
|
1150
|
+
table_id: string;
|
|
1151
|
+
sort?: "index" | undefined;
|
|
1152
|
+
api_key?: string | undefined;
|
|
1153
|
+
prompt_id?: number | undefined;
|
|
1154
|
+
prompt_version_id?: number | undefined;
|
|
1155
|
+
prompt_label_id?: number | undefined;
|
|
1156
|
+
limit?: number | undefined;
|
|
1157
|
+
order?: "asc" | "desc" | undefined;
|
|
1158
|
+
cursor?: string | undefined;
|
|
1159
|
+
}, {
|
|
1160
|
+
table_id: string;
|
|
1161
|
+
sort?: "index" | undefined;
|
|
1162
|
+
api_key?: string | undefined;
|
|
1163
|
+
prompt_id?: number | undefined;
|
|
1164
|
+
prompt_version_id?: number | undefined;
|
|
1165
|
+
prompt_label_id?: number | undefined;
|
|
1166
|
+
limit?: number | undefined;
|
|
1167
|
+
order?: "asc" | "desc" | undefined;
|
|
1168
|
+
cursor?: string | undefined;
|
|
1169
|
+
}>;
|
|
1170
|
+
export declare const CreateSmartTableSheetArgsSchema: z.ZodObject<{
|
|
1171
|
+
table_id: z.ZodString;
|
|
1172
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
1174
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1176
|
+
type: z.ZodLiteral<"file">;
|
|
1177
|
+
file_name: z.ZodString;
|
|
1178
|
+
file_content_base64: z.ZodString;
|
|
1179
|
+
}, "strip", z.ZodTypeAny, {
|
|
1180
|
+
type: "file";
|
|
1181
|
+
file_name: string;
|
|
1182
|
+
file_content_base64: string;
|
|
1183
|
+
}, {
|
|
1184
|
+
type: "file";
|
|
1185
|
+
file_name: string;
|
|
1186
|
+
file_content_base64: string;
|
|
1187
|
+
}>, z.ZodObject<{
|
|
1188
|
+
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1189
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1190
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
sort_by: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1193
|
+
metadata_cost_breakdown_key: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1195
|
+
include_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1196
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1197
|
+
type: z.ZodLiteral<"request_logs">;
|
|
1198
|
+
}, "strip", z.ZodTypeAny, {
|
|
1199
|
+
type: "request_logs";
|
|
1200
|
+
filter_group?: any;
|
|
1201
|
+
q?: string | undefined;
|
|
1202
|
+
sort_by?: string | undefined;
|
|
1203
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1204
|
+
request_log_ids?: number[] | undefined;
|
|
1205
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1206
|
+
variables_to_parse?: string[] | undefined;
|
|
1207
|
+
include_fields?: string[] | undefined;
|
|
1208
|
+
limit?: number | undefined;
|
|
1209
|
+
}, {
|
|
1210
|
+
type: "request_logs";
|
|
1211
|
+
filter_group?: any;
|
|
1212
|
+
q?: string | undefined;
|
|
1213
|
+
sort_by?: string | undefined;
|
|
1214
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1215
|
+
request_log_ids?: number[] | undefined;
|
|
1216
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1217
|
+
variables_to_parse?: string[] | undefined;
|
|
1218
|
+
include_fields?: string[] | undefined;
|
|
1219
|
+
limit?: number | undefined;
|
|
1220
|
+
}>]>;
|
|
1221
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
}, "strip", z.ZodTypeAny, {
|
|
1223
|
+
table_id: string;
|
|
1224
|
+
source: {
|
|
1225
|
+
type: "file";
|
|
1226
|
+
file_name: string;
|
|
1227
|
+
file_content_base64: string;
|
|
1228
|
+
} | {
|
|
1229
|
+
type: "request_logs";
|
|
1230
|
+
filter_group?: any;
|
|
1231
|
+
q?: string | undefined;
|
|
1232
|
+
sort_by?: string | undefined;
|
|
1233
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1234
|
+
request_log_ids?: number[] | undefined;
|
|
1235
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1236
|
+
variables_to_parse?: string[] | undefined;
|
|
1237
|
+
include_fields?: string[] | undefined;
|
|
1238
|
+
limit?: number | undefined;
|
|
1239
|
+
};
|
|
1240
|
+
api_key?: string | undefined;
|
|
1241
|
+
title?: string | undefined;
|
|
1242
|
+
index?: number | undefined;
|
|
1243
|
+
operation_id?: string | undefined;
|
|
1244
|
+
}, {
|
|
1245
|
+
table_id: string;
|
|
1246
|
+
source: {
|
|
1247
|
+
type: "file";
|
|
1248
|
+
file_name: string;
|
|
1249
|
+
file_content_base64: string;
|
|
1250
|
+
} | {
|
|
1251
|
+
type: "request_logs";
|
|
1252
|
+
filter_group?: any;
|
|
1253
|
+
q?: string | undefined;
|
|
1254
|
+
sort_by?: string | undefined;
|
|
1255
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1256
|
+
request_log_ids?: number[] | undefined;
|
|
1257
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1258
|
+
variables_to_parse?: string[] | undefined;
|
|
1259
|
+
include_fields?: string[] | undefined;
|
|
1260
|
+
limit?: number | undefined;
|
|
1261
|
+
};
|
|
1262
|
+
api_key?: string | undefined;
|
|
1263
|
+
title?: string | undefined;
|
|
1264
|
+
index?: number | undefined;
|
|
1265
|
+
operation_id?: string | undefined;
|
|
1266
|
+
}>;
|
|
1267
|
+
export declare const GetSmartTableSheetArgsSchema: z.ZodObject<{
|
|
1268
|
+
table_id: z.ZodString;
|
|
1269
|
+
sheet_id: z.ZodString;
|
|
1270
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
}, "strip", z.ZodTypeAny, {
|
|
1272
|
+
table_id: string;
|
|
1273
|
+
sheet_id: string;
|
|
1274
|
+
api_key?: string | undefined;
|
|
1275
|
+
}, {
|
|
1276
|
+
table_id: string;
|
|
1277
|
+
sheet_id: string;
|
|
1278
|
+
api_key?: string | undefined;
|
|
1279
|
+
}>;
|
|
1280
|
+
export declare const UpdateSmartTableSheetArgsSchema: z.ZodObject<{
|
|
1281
|
+
table_id: z.ZodString;
|
|
1282
|
+
sheet_id: z.ZodString;
|
|
1283
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
1285
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1286
|
+
}, "strip", z.ZodTypeAny, {
|
|
1287
|
+
table_id: string;
|
|
1288
|
+
sheet_id: string;
|
|
1289
|
+
api_key?: string | undefined;
|
|
1290
|
+
title?: string | undefined;
|
|
1291
|
+
index?: number | undefined;
|
|
1292
|
+
}, {
|
|
1293
|
+
table_id: string;
|
|
1294
|
+
sheet_id: string;
|
|
1295
|
+
api_key?: string | undefined;
|
|
1296
|
+
title?: string | undefined;
|
|
1297
|
+
index?: number | undefined;
|
|
1298
|
+
}>;
|
|
1299
|
+
export declare const GetSmartTableSheetImportOperationArgsSchema: z.ZodObject<{
|
|
1300
|
+
table_id: z.ZodString;
|
|
1301
|
+
operation_id: z.ZodString;
|
|
1302
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1303
|
+
}, "strip", z.ZodTypeAny, {
|
|
1304
|
+
table_id: string;
|
|
1305
|
+
operation_id: string;
|
|
1306
|
+
api_key?: string | undefined;
|
|
1307
|
+
}, {
|
|
1308
|
+
table_id: string;
|
|
1309
|
+
operation_id: string;
|
|
1310
|
+
api_key?: string | undefined;
|
|
1311
|
+
}>;
|
|
1312
|
+
export declare const ImportSmartTableSheetFileArgsSchema: z.ZodObject<{
|
|
1313
|
+
table_id: z.ZodString;
|
|
1314
|
+
sheet_id: z.ZodString;
|
|
1315
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
file_name: z.ZodString;
|
|
1317
|
+
file_content_base64: z.ZodString;
|
|
1318
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
}, "strip", z.ZodTypeAny, {
|
|
1320
|
+
file_name: string;
|
|
1321
|
+
file_content_base64: string;
|
|
1322
|
+
table_id: string;
|
|
1323
|
+
sheet_id: string;
|
|
1324
|
+
api_key?: string | undefined;
|
|
1325
|
+
operation_id?: string | undefined;
|
|
1326
|
+
}, {
|
|
1327
|
+
file_name: string;
|
|
1328
|
+
file_content_base64: string;
|
|
1329
|
+
table_id: string;
|
|
1330
|
+
sheet_id: string;
|
|
1331
|
+
api_key?: string | undefined;
|
|
1332
|
+
operation_id?: string | undefined;
|
|
1333
|
+
}>;
|
|
1334
|
+
export declare const ImportSmartTableSheetRequestLogsArgsSchema: z.ZodObject<{
|
|
1335
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1337
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1338
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
sort_by: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1341
|
+
metadata_cost_breakdown_key: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1343
|
+
include_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1344
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1345
|
+
table_id: z.ZodString;
|
|
1346
|
+
sheet_id: z.ZodString;
|
|
1347
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
}, "strip", z.ZodTypeAny, {
|
|
1349
|
+
table_id: string;
|
|
1350
|
+
sheet_id: string;
|
|
1351
|
+
api_key?: string | undefined;
|
|
1352
|
+
filter_group?: any;
|
|
1353
|
+
q?: string | undefined;
|
|
1354
|
+
sort_by?: string | undefined;
|
|
1355
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1356
|
+
request_log_ids?: number[] | undefined;
|
|
1357
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1358
|
+
variables_to_parse?: string[] | undefined;
|
|
1359
|
+
include_fields?: string[] | undefined;
|
|
1360
|
+
limit?: number | undefined;
|
|
1361
|
+
operation_id?: string | undefined;
|
|
1362
|
+
}, {
|
|
1363
|
+
table_id: string;
|
|
1364
|
+
sheet_id: string;
|
|
1365
|
+
api_key?: string | undefined;
|
|
1366
|
+
filter_group?: any;
|
|
1367
|
+
q?: string | undefined;
|
|
1368
|
+
sort_by?: string | undefined;
|
|
1369
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1370
|
+
request_log_ids?: number[] | undefined;
|
|
1371
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1372
|
+
variables_to_parse?: string[] | undefined;
|
|
1373
|
+
include_fields?: string[] | undefined;
|
|
1374
|
+
limit?: number | undefined;
|
|
1375
|
+
operation_id?: string | undefined;
|
|
1376
|
+
}>;
|
|
1377
|
+
export declare const ListSmartTableColumnsArgsSchema: z.ZodObject<{
|
|
1378
|
+
sort: z.ZodOptional<z.ZodEnum<["position_rank"]>>;
|
|
1379
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1380
|
+
include_system_columns: z.ZodOptional<z.ZodBoolean>;
|
|
1381
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1384
|
+
table_id: z.ZodString;
|
|
1385
|
+
sheet_id: z.ZodString;
|
|
1386
|
+
}, "strip", z.ZodTypeAny, {
|
|
1387
|
+
table_id: string;
|
|
1388
|
+
sheet_id: string;
|
|
1389
|
+
sort?: "position_rank" | undefined;
|
|
1390
|
+
api_key?: string | undefined;
|
|
1391
|
+
limit?: number | undefined;
|
|
1392
|
+
order?: "asc" | "desc" | undefined;
|
|
1393
|
+
cursor?: string | undefined;
|
|
1394
|
+
include_system_columns?: boolean | undefined;
|
|
1395
|
+
}, {
|
|
1396
|
+
table_id: string;
|
|
1397
|
+
sheet_id: string;
|
|
1398
|
+
sort?: "position_rank" | undefined;
|
|
1399
|
+
api_key?: string | undefined;
|
|
1400
|
+
limit?: number | undefined;
|
|
1401
|
+
order?: "asc" | "desc" | undefined;
|
|
1402
|
+
cursor?: string | undefined;
|
|
1403
|
+
include_system_columns?: boolean | undefined;
|
|
1404
|
+
}>;
|
|
1405
|
+
export declare const CreateSmartTableColumnArgsSchema: z.ZodObject<{
|
|
1406
|
+
table_id: z.ZodString;
|
|
1407
|
+
sheet_id: z.ZodString;
|
|
1408
|
+
title: z.ZodString;
|
|
1409
|
+
type: z.ZodEnum<["TEXT", "ABSOLUTE_NUMERIC_DISTANCE", "AI_DATA_EXTRACTION", "APPLY_DIFF", "ASSERT_VALID", "COALESCE", "CONDITION", "CODE_EXECUTION", "COMBINE_COLUMNS", "COMPARE", "COMPOSITION", "CONTAINS", "CONVERSATION_SIMULATOR", "COSINE_SIMILARITY", "COUNT", "DATASET", "ENDPOINT", "FOR_LOOP", "HUMAN", "JSON_PATH", "LLM_ASSERTION", "MATH_OPERATOR", "MCP", "MIN_MAX", "PARSE_VALUE", "PROMPT_TEMPLATE", "REGEX", "REGEX_EXTRACTION", "VARIABLE", "WHILE_LOOP", "WORKFLOW", "XML_PATH"]>;
|
|
1410
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1411
|
+
dependencies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1412
|
+
column_id: z.ZodString;
|
|
1413
|
+
reference_type: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
config_key: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
config_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1416
|
+
}, "strip", z.ZodTypeAny, {
|
|
1417
|
+
column_id: string;
|
|
1418
|
+
reference_type?: string | undefined;
|
|
1419
|
+
config_key?: string | undefined;
|
|
1420
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1421
|
+
}, {
|
|
1422
|
+
column_id: string;
|
|
1423
|
+
reference_type?: string | undefined;
|
|
1424
|
+
config_key?: string | undefined;
|
|
1425
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1426
|
+
}>, "many">>>;
|
|
1427
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1428
|
+
}, "strip", z.ZodTypeAny, {
|
|
1429
|
+
type: "WORKFLOW" | "DATASET" | "TEXT" | "ABSOLUTE_NUMERIC_DISTANCE" | "AI_DATA_EXTRACTION" | "APPLY_DIFF" | "ASSERT_VALID" | "COALESCE" | "CONDITION" | "CODE_EXECUTION" | "COMBINE_COLUMNS" | "COMPARE" | "COMPOSITION" | "CONTAINS" | "CONVERSATION_SIMULATOR" | "COSINE_SIMILARITY" | "COUNT" | "ENDPOINT" | "FOR_LOOP" | "HUMAN" | "JSON_PATH" | "LLM_ASSERTION" | "MATH_OPERATOR" | "MCP" | "MIN_MAX" | "PARSE_VALUE" | "PROMPT_TEMPLATE" | "REGEX" | "REGEX_EXTRACTION" | "VARIABLE" | "WHILE_LOOP" | "XML_PATH";
|
|
1430
|
+
title: string;
|
|
1431
|
+
table_id: string;
|
|
1432
|
+
sheet_id: string;
|
|
1433
|
+
api_key?: string | undefined;
|
|
1434
|
+
config?: Record<string, unknown> | null | undefined;
|
|
1435
|
+
dependencies?: {
|
|
1436
|
+
column_id: string;
|
|
1437
|
+
reference_type?: string | undefined;
|
|
1438
|
+
config_key?: string | undefined;
|
|
1439
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1440
|
+
}[] | null | undefined;
|
|
1441
|
+
}, {
|
|
1442
|
+
type: "WORKFLOW" | "DATASET" | "TEXT" | "ABSOLUTE_NUMERIC_DISTANCE" | "AI_DATA_EXTRACTION" | "APPLY_DIFF" | "ASSERT_VALID" | "COALESCE" | "CONDITION" | "CODE_EXECUTION" | "COMBINE_COLUMNS" | "COMPARE" | "COMPOSITION" | "CONTAINS" | "CONVERSATION_SIMULATOR" | "COSINE_SIMILARITY" | "COUNT" | "ENDPOINT" | "FOR_LOOP" | "HUMAN" | "JSON_PATH" | "LLM_ASSERTION" | "MATH_OPERATOR" | "MCP" | "MIN_MAX" | "PARSE_VALUE" | "PROMPT_TEMPLATE" | "REGEX" | "REGEX_EXTRACTION" | "VARIABLE" | "WHILE_LOOP" | "XML_PATH";
|
|
1443
|
+
title: string;
|
|
1444
|
+
table_id: string;
|
|
1445
|
+
sheet_id: string;
|
|
1446
|
+
api_key?: string | undefined;
|
|
1447
|
+
config?: Record<string, unknown> | null | undefined;
|
|
1448
|
+
dependencies?: {
|
|
1449
|
+
column_id: string;
|
|
1450
|
+
reference_type?: string | undefined;
|
|
1451
|
+
config_key?: string | undefined;
|
|
1452
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1453
|
+
}[] | null | undefined;
|
|
1454
|
+
}>;
|
|
1455
|
+
export declare const UpdateSmartTableColumnArgsSchema: z.ZodObject<{
|
|
1456
|
+
table_id: z.ZodString;
|
|
1457
|
+
sheet_id: z.ZodString;
|
|
1458
|
+
column_id: z.ZodString;
|
|
1459
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1461
|
+
dependencies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1462
|
+
column_id: z.ZodString;
|
|
1463
|
+
reference_type: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
config_key: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
config_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1466
|
+
}, "strip", z.ZodTypeAny, {
|
|
1467
|
+
column_id: string;
|
|
1468
|
+
reference_type?: string | undefined;
|
|
1469
|
+
config_key?: string | undefined;
|
|
1470
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1471
|
+
}, {
|
|
1472
|
+
column_id: string;
|
|
1473
|
+
reference_type?: string | undefined;
|
|
1474
|
+
config_key?: string | undefined;
|
|
1475
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1476
|
+
}>, "many">>>;
|
|
1477
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
}, "strip", z.ZodTypeAny, {
|
|
1479
|
+
column_id: string;
|
|
1480
|
+
table_id: string;
|
|
1481
|
+
sheet_id: string;
|
|
1482
|
+
api_key?: string | undefined;
|
|
1483
|
+
title?: string | undefined;
|
|
1484
|
+
config?: Record<string, unknown> | null | undefined;
|
|
1485
|
+
dependencies?: {
|
|
1486
|
+
column_id: string;
|
|
1487
|
+
reference_type?: string | undefined;
|
|
1488
|
+
config_key?: string | undefined;
|
|
1489
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1490
|
+
}[] | null | undefined;
|
|
1491
|
+
}, {
|
|
1492
|
+
column_id: string;
|
|
1493
|
+
table_id: string;
|
|
1494
|
+
sheet_id: string;
|
|
1495
|
+
api_key?: string | undefined;
|
|
1496
|
+
title?: string | undefined;
|
|
1497
|
+
config?: Record<string, unknown> | null | undefined;
|
|
1498
|
+
dependencies?: {
|
|
1499
|
+
column_id: string;
|
|
1500
|
+
reference_type?: string | undefined;
|
|
1501
|
+
config_key?: string | undefined;
|
|
1502
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1503
|
+
}[] | null | undefined;
|
|
1504
|
+
}>;
|
|
1505
|
+
export declare const ListSmartTableRowsArgsSchema: z.ZodObject<{
|
|
1506
|
+
sort: z.ZodOptional<z.ZodEnum<["row_index"]>>;
|
|
1507
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1508
|
+
include_columns: z.ZodOptional<z.ZodBoolean>;
|
|
1509
|
+
include_row_count: z.ZodOptional<z.ZodBoolean>;
|
|
1510
|
+
include_system_columns: z.ZodOptional<z.ZodBoolean>;
|
|
1511
|
+
include_execution_metadata_aggregates: z.ZodOptional<z.ZodBoolean>;
|
|
1512
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1515
|
+
table_id: z.ZodString;
|
|
1516
|
+
sheet_id: z.ZodString;
|
|
1517
|
+
}, "strip", z.ZodTypeAny, {
|
|
1518
|
+
table_id: string;
|
|
1519
|
+
sheet_id: string;
|
|
1520
|
+
sort?: "row_index" | undefined;
|
|
1521
|
+
api_key?: string | undefined;
|
|
1522
|
+
limit?: number | undefined;
|
|
1523
|
+
order?: "asc" | "desc" | undefined;
|
|
1524
|
+
cursor?: string | undefined;
|
|
1525
|
+
include_system_columns?: boolean | undefined;
|
|
1526
|
+
include_columns?: boolean | undefined;
|
|
1527
|
+
include_row_count?: boolean | undefined;
|
|
1528
|
+
include_execution_metadata_aggregates?: boolean | undefined;
|
|
1529
|
+
}, {
|
|
1530
|
+
table_id: string;
|
|
1531
|
+
sheet_id: string;
|
|
1532
|
+
sort?: "row_index" | undefined;
|
|
1533
|
+
api_key?: string | undefined;
|
|
1534
|
+
limit?: number | undefined;
|
|
1535
|
+
order?: "asc" | "desc" | undefined;
|
|
1536
|
+
cursor?: string | undefined;
|
|
1537
|
+
include_system_columns?: boolean | undefined;
|
|
1538
|
+
include_columns?: boolean | undefined;
|
|
1539
|
+
include_row_count?: boolean | undefined;
|
|
1540
|
+
include_execution_metadata_aggregates?: boolean | undefined;
|
|
1541
|
+
}>;
|
|
1542
|
+
export declare const AddSmartTableRowsArgsSchema: z.ZodObject<{
|
|
1543
|
+
table_id: z.ZodString;
|
|
1544
|
+
sheet_id: z.ZodString;
|
|
1545
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
1546
|
+
values: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1547
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1548
|
+
}, "strip", z.ZodTypeAny, {
|
|
1549
|
+
table_id: string;
|
|
1550
|
+
sheet_id: string;
|
|
1551
|
+
values?: Record<string, unknown>[] | undefined;
|
|
1552
|
+
api_key?: string | undefined;
|
|
1553
|
+
count?: number | undefined;
|
|
1554
|
+
}, {
|
|
1555
|
+
table_id: string;
|
|
1556
|
+
sheet_id: string;
|
|
1557
|
+
values?: Record<string, unknown>[] | undefined;
|
|
1558
|
+
api_key?: string | undefined;
|
|
1559
|
+
count?: number | undefined;
|
|
1560
|
+
}>;
|
|
1561
|
+
export declare const GetSmartTableCellArgsSchema: z.ZodObject<{
|
|
1562
|
+
table_id: z.ZodString;
|
|
1563
|
+
sheet_id: z.ZodString;
|
|
1564
|
+
cell_id: z.ZodString;
|
|
1565
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
}, "strip", z.ZodTypeAny, {
|
|
1567
|
+
table_id: string;
|
|
1568
|
+
sheet_id: string;
|
|
1569
|
+
cell_id: string;
|
|
1570
|
+
api_key?: string | undefined;
|
|
1571
|
+
}, {
|
|
1572
|
+
table_id: string;
|
|
1573
|
+
sheet_id: string;
|
|
1574
|
+
cell_id: string;
|
|
1575
|
+
api_key?: string | undefined;
|
|
1576
|
+
}>;
|
|
1577
|
+
export declare const UpdateSmartTableCellArgsSchema: z.ZodObject<{
|
|
1578
|
+
table_id: z.ZodString;
|
|
1579
|
+
sheet_id: z.ZodString;
|
|
1580
|
+
cell_id: z.ZodString;
|
|
1581
|
+
display_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1582
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1583
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
}, "strip", z.ZodTypeAny, {
|
|
1585
|
+
table_id: string;
|
|
1586
|
+
sheet_id: string;
|
|
1587
|
+
cell_id: string;
|
|
1588
|
+
value?: unknown;
|
|
1589
|
+
api_key?: string | undefined;
|
|
1590
|
+
display_value?: string | null | undefined;
|
|
1591
|
+
}, {
|
|
1592
|
+
table_id: string;
|
|
1593
|
+
sheet_id: string;
|
|
1594
|
+
cell_id: string;
|
|
1595
|
+
value?: unknown;
|
|
1596
|
+
api_key?: string | undefined;
|
|
1597
|
+
display_value?: string | null | undefined;
|
|
1598
|
+
}>;
|
|
1599
|
+
export declare const RecalculateSmartTableCellArgsSchema: z.ZodObject<{
|
|
1600
|
+
table_id: z.ZodString;
|
|
1601
|
+
sheet_id: z.ZodString;
|
|
1602
|
+
cell_id: z.ZodString;
|
|
1603
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
}, "strip", z.ZodTypeAny, {
|
|
1605
|
+
table_id: string;
|
|
1606
|
+
sheet_id: string;
|
|
1607
|
+
cell_id: string;
|
|
1608
|
+
api_key?: string | undefined;
|
|
1609
|
+
}, {
|
|
1610
|
+
table_id: string;
|
|
1611
|
+
sheet_id: string;
|
|
1612
|
+
cell_id: string;
|
|
1613
|
+
api_key?: string | undefined;
|
|
1614
|
+
}>;
|
|
1615
|
+
export declare const RecalculateSmartTableCellsArgsSchema: z.ZodObject<{
|
|
1616
|
+
table_id: z.ZodString;
|
|
1617
|
+
sheet_id: z.ZodString;
|
|
1618
|
+
cell_ids: z.ZodArray<z.ZodString, "many">;
|
|
1619
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
}, "strip", z.ZodTypeAny, {
|
|
1621
|
+
table_id: string;
|
|
1622
|
+
sheet_id: string;
|
|
1623
|
+
cell_ids: string[];
|
|
1624
|
+
api_key?: string | undefined;
|
|
1625
|
+
}, {
|
|
1626
|
+
table_id: string;
|
|
1627
|
+
sheet_id: string;
|
|
1628
|
+
cell_ids: string[];
|
|
1629
|
+
api_key?: string | undefined;
|
|
1630
|
+
}>;
|
|
1631
|
+
export declare const ListSmartTableOperationsArgsSchema: z.ZodObject<{
|
|
1632
|
+
table_id: z.ZodString;
|
|
1633
|
+
sheet_id: z.ZodString;
|
|
1634
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1635
|
+
}, "strip", z.ZodTypeAny, {
|
|
1636
|
+
table_id: string;
|
|
1637
|
+
sheet_id: string;
|
|
1638
|
+
api_key?: string | undefined;
|
|
1639
|
+
}, {
|
|
1640
|
+
table_id: string;
|
|
1641
|
+
sheet_id: string;
|
|
1642
|
+
api_key?: string | undefined;
|
|
1643
|
+
}>;
|
|
1644
|
+
export declare const CreateSmartTableOperationArgsSchema: z.ZodObject<{
|
|
1645
|
+
table_id: z.ZodString;
|
|
1646
|
+
sheet_id: z.ZodString;
|
|
1647
|
+
operation: z.ZodOptional<z.ZodEnum<["recalculate"]>>;
|
|
1648
|
+
column_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1649
|
+
row_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1650
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["STALE", "QUEUED", "DISPATCHED", "RUNNING", "COMPLETED", "FAILED"]>, "many">>;
|
|
1651
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
}, "strip", z.ZodTypeAny, {
|
|
1653
|
+
table_id: string;
|
|
1654
|
+
sheet_id: string;
|
|
1655
|
+
api_key?: string | undefined;
|
|
1656
|
+
operation?: "recalculate" | undefined;
|
|
1657
|
+
column_ids?: string[] | undefined;
|
|
1658
|
+
row_ids?: number[] | undefined;
|
|
1659
|
+
statuses?: ("STALE" | "QUEUED" | "DISPATCHED" | "RUNNING" | "COMPLETED" | "FAILED")[] | undefined;
|
|
1660
|
+
}, {
|
|
1661
|
+
table_id: string;
|
|
1662
|
+
sheet_id: string;
|
|
1663
|
+
api_key?: string | undefined;
|
|
1664
|
+
operation?: "recalculate" | undefined;
|
|
1665
|
+
column_ids?: string[] | undefined;
|
|
1666
|
+
row_ids?: number[] | undefined;
|
|
1667
|
+
statuses?: ("STALE" | "QUEUED" | "DISPATCHED" | "RUNNING" | "COMPLETED" | "FAILED")[] | undefined;
|
|
1668
|
+
}>;
|
|
1669
|
+
export declare const GetSmartTableOperationArgsSchema: z.ZodObject<{
|
|
1670
|
+
table_id: z.ZodString;
|
|
1671
|
+
sheet_id: z.ZodString;
|
|
1672
|
+
operation_id: z.ZodString;
|
|
1673
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1674
|
+
}, "strip", z.ZodTypeAny, {
|
|
1675
|
+
table_id: string;
|
|
1676
|
+
operation_id: string;
|
|
1677
|
+
sheet_id: string;
|
|
1678
|
+
api_key?: string | undefined;
|
|
1679
|
+
}, {
|
|
1680
|
+
table_id: string;
|
|
1681
|
+
operation_id: string;
|
|
1682
|
+
sheet_id: string;
|
|
1683
|
+
api_key?: string | undefined;
|
|
1684
|
+
}>;
|
|
1685
|
+
export declare const CancelSmartTableOperationArgsSchema: z.ZodObject<{
|
|
1686
|
+
table_id: z.ZodString;
|
|
1687
|
+
sheet_id: z.ZodString;
|
|
1688
|
+
operation_id: z.ZodString;
|
|
1689
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1690
|
+
}, "strip", z.ZodTypeAny, {
|
|
1691
|
+
table_id: string;
|
|
1692
|
+
operation_id: string;
|
|
1693
|
+
sheet_id: string;
|
|
1694
|
+
api_key?: string | undefined;
|
|
1695
|
+
}, {
|
|
1696
|
+
table_id: string;
|
|
1697
|
+
operation_id: string;
|
|
1698
|
+
sheet_id: string;
|
|
1699
|
+
api_key?: string | undefined;
|
|
1700
|
+
}>;
|
|
1701
|
+
export declare const GetSmartTableScoreArgsSchema: z.ZodObject<{
|
|
1702
|
+
table_id: z.ZodString;
|
|
1703
|
+
sheet_id: z.ZodString;
|
|
1704
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1705
|
+
}, "strip", z.ZodTypeAny, {
|
|
1706
|
+
table_id: string;
|
|
1707
|
+
sheet_id: string;
|
|
1708
|
+
api_key?: string | undefined;
|
|
1709
|
+
}, {
|
|
1710
|
+
table_id: string;
|
|
1711
|
+
sheet_id: string;
|
|
1712
|
+
api_key?: string | undefined;
|
|
1713
|
+
}>;
|
|
1714
|
+
export declare const ConfigureSmartTableScoreArgsSchema: z.ZodObject<{
|
|
1715
|
+
table_id: z.ZodString;
|
|
1716
|
+
sheet_id: z.ZodString;
|
|
1717
|
+
score_type: z.ZodOptional<z.ZodEnum<["auto", "boolean", "numeric", "custom"]>>;
|
|
1718
|
+
score_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1719
|
+
column_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1720
|
+
column_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1721
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
code_language: z.ZodOptional<z.ZodEnum<["PYTHON", "JAVASCRIPT"]>>;
|
|
1723
|
+
true_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1724
|
+
false_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1725
|
+
assertion_aggregation: z.ZodOptional<z.ZodEnum<["all", "any", "mean"]>>;
|
|
1726
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
}, "strip", z.ZodTypeAny, {
|
|
1728
|
+
table_id: string;
|
|
1729
|
+
sheet_id: string;
|
|
1730
|
+
code?: string | undefined;
|
|
1731
|
+
api_key?: string | undefined;
|
|
1732
|
+
column_ids?: string[] | undefined;
|
|
1733
|
+
score_type?: "boolean" | "custom" | "auto" | "numeric" | undefined;
|
|
1734
|
+
score_config?: Record<string, unknown> | undefined;
|
|
1735
|
+
column_names?: string[] | undefined;
|
|
1736
|
+
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
1737
|
+
true_values?: string[] | undefined;
|
|
1738
|
+
false_values?: string[] | undefined;
|
|
1739
|
+
assertion_aggregation?: "all" | "any" | "mean" | undefined;
|
|
1740
|
+
}, {
|
|
1741
|
+
table_id: string;
|
|
1742
|
+
sheet_id: string;
|
|
1743
|
+
code?: string | undefined;
|
|
1174
1744
|
api_key?: string | undefined;
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1745
|
+
column_ids?: string[] | undefined;
|
|
1746
|
+
score_type?: "boolean" | "custom" | "auto" | "numeric" | undefined;
|
|
1747
|
+
score_config?: Record<string, unknown> | undefined;
|
|
1748
|
+
column_names?: string[] | undefined;
|
|
1749
|
+
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
1750
|
+
true_values?: string[] | undefined;
|
|
1751
|
+
false_values?: string[] | undefined;
|
|
1752
|
+
assertion_aggregation?: "all" | "any" | "mean" | undefined;
|
|
1182
1753
|
}>;
|
|
1183
|
-
export declare const
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
version: z.ZodOptional<z.ZodNumber>;
|
|
1754
|
+
export declare const RecalculateSmartTableScoreArgsSchema: z.ZodObject<{
|
|
1755
|
+
table_id: z.ZodString;
|
|
1756
|
+
sheet_id: z.ZodString;
|
|
1187
1757
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1188
1758
|
}, "strip", z.ZodTypeAny, {
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
label?: string | undefined;
|
|
1759
|
+
table_id: string;
|
|
1760
|
+
sheet_id: string;
|
|
1192
1761
|
api_key?: string | undefined;
|
|
1193
1762
|
}, {
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
label?: string | undefined;
|
|
1763
|
+
table_id: string;
|
|
1764
|
+
sheet_id: string;
|
|
1197
1765
|
api_key?: string | undefined;
|
|
1198
1766
|
}>;
|
|
1199
|
-
export declare const
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1767
|
+
export declare const ListSmartTableVersionsArgsSchema: z.ZodObject<{
|
|
1768
|
+
sort: z.ZodOptional<z.ZodEnum<["version_number"]>>;
|
|
1769
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1203
1770
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1771
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1772
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1773
|
+
table_id: z.ZodString;
|
|
1774
|
+
sheet_id: z.ZodString;
|
|
1204
1775
|
}, "strip", z.ZodTypeAny, {
|
|
1205
|
-
|
|
1776
|
+
table_id: string;
|
|
1777
|
+
sheet_id: string;
|
|
1778
|
+
sort?: "version_number" | undefined;
|
|
1206
1779
|
api_key?: string | undefined;
|
|
1207
|
-
|
|
1208
|
-
|
|
1780
|
+
limit?: number | undefined;
|
|
1781
|
+
order?: "asc" | "desc" | undefined;
|
|
1782
|
+
cursor?: string | undefined;
|
|
1209
1783
|
}, {
|
|
1210
|
-
|
|
1784
|
+
table_id: string;
|
|
1785
|
+
sheet_id: string;
|
|
1786
|
+
sort?: "version_number" | undefined;
|
|
1211
1787
|
api_key?: string | undefined;
|
|
1212
|
-
|
|
1213
|
-
|
|
1788
|
+
limit?: number | undefined;
|
|
1789
|
+
order?: "asc" | "desc" | undefined;
|
|
1790
|
+
cursor?: string | undefined;
|
|
1214
1791
|
}>;
|
|
1215
|
-
export declare const
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
content: z.ZodOptional<z.ZodString>;
|
|
1220
|
-
}, "strip", z.ZodTypeAny, {
|
|
1221
|
-
path: string;
|
|
1222
|
-
content?: string | undefined;
|
|
1223
|
-
}, {
|
|
1224
|
-
path: string;
|
|
1225
|
-
content?: string | undefined;
|
|
1226
|
-
}>, "many">>;
|
|
1227
|
-
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1228
|
-
old_path: z.ZodString;
|
|
1229
|
-
new_path: z.ZodString;
|
|
1230
|
-
}, "strip", z.ZodTypeAny, {
|
|
1231
|
-
old_path: string;
|
|
1232
|
-
new_path: string;
|
|
1233
|
-
}, {
|
|
1234
|
-
old_path: string;
|
|
1235
|
-
new_path: string;
|
|
1236
|
-
}>, "many">>;
|
|
1237
|
-
deletes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1238
|
-
commit_message: z.ZodOptional<z.ZodString>;
|
|
1239
|
-
release_label: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
export declare const GetSmartTableVersionArgsSchema: z.ZodObject<{
|
|
1793
|
+
table_id: z.ZodString;
|
|
1794
|
+
sheet_id: z.ZodString;
|
|
1795
|
+
version_id: z.ZodString;
|
|
1240
1796
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1241
1797
|
}, "strip", z.ZodTypeAny, {
|
|
1242
|
-
|
|
1798
|
+
table_id: string;
|
|
1799
|
+
sheet_id: string;
|
|
1800
|
+
version_id: string;
|
|
1243
1801
|
api_key?: string | undefined;
|
|
1244
|
-
commit_message?: string | undefined;
|
|
1245
|
-
file_updates?: {
|
|
1246
|
-
path: string;
|
|
1247
|
-
content?: string | undefined;
|
|
1248
|
-
}[] | undefined;
|
|
1249
|
-
moves?: {
|
|
1250
|
-
old_path: string;
|
|
1251
|
-
new_path: string;
|
|
1252
|
-
}[] | undefined;
|
|
1253
|
-
deletes?: string[] | undefined;
|
|
1254
|
-
release_label?: string | undefined;
|
|
1255
1802
|
}, {
|
|
1256
|
-
|
|
1803
|
+
table_id: string;
|
|
1804
|
+
sheet_id: string;
|
|
1805
|
+
version_id: string;
|
|
1257
1806
|
api_key?: string | undefined;
|
|
1258
|
-
commit_message?: string | undefined;
|
|
1259
|
-
file_updates?: {
|
|
1260
|
-
path: string;
|
|
1261
|
-
content?: string | undefined;
|
|
1262
|
-
}[] | undefined;
|
|
1263
|
-
moves?: {
|
|
1264
|
-
old_path: string;
|
|
1265
|
-
new_path: string;
|
|
1266
|
-
}[] | undefined;
|
|
1267
|
-
deletes?: string[] | undefined;
|
|
1268
|
-
release_label?: string | undefined;
|
|
1269
1807
|
}>;
|
|
1270
|
-
export declare const
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
tools: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
1276
|
-
functions: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
1277
|
-
function_call: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1278
|
-
tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1279
|
-
content: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
1280
|
-
model_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1281
|
-
response_format: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1282
|
-
commit_message: z.ZodOptional<z.ZodString>;
|
|
1283
|
-
release_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1808
|
+
export declare const CreateSmartTableVersionArgsSchema: z.ZodObject<{
|
|
1809
|
+
table_id: z.ZodString;
|
|
1810
|
+
sheet_id: z.ZodString;
|
|
1811
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1812
|
+
source_version_id: z.ZodOptional<z.ZodString>;
|
|
1284
1813
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1285
1814
|
}, "strip", z.ZodTypeAny, {
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
label?: string | undefined;
|
|
1815
|
+
table_id: string;
|
|
1816
|
+
sheet_id: string;
|
|
1289
1817
|
api_key?: string | undefined;
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1293
|
-
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1294
|
-
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1295
|
-
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1296
|
-
function_call?: string | Record<string, unknown> | null | undefined;
|
|
1297
|
-
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
1298
|
-
model_parameters?: Record<string, unknown> | undefined;
|
|
1299
|
-
response_format?: Record<string, unknown> | null | undefined;
|
|
1818
|
+
name?: string | undefined;
|
|
1819
|
+
source_version_id?: string | undefined;
|
|
1300
1820
|
}, {
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
label?: string | undefined;
|
|
1821
|
+
table_id: string;
|
|
1822
|
+
sheet_id: string;
|
|
1304
1823
|
api_key?: string | undefined;
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1308
|
-
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1309
|
-
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1310
|
-
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1311
|
-
function_call?: string | Record<string, unknown> | null | undefined;
|
|
1312
|
-
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
1313
|
-
model_parameters?: Record<string, unknown> | undefined;
|
|
1314
|
-
response_format?: Record<string, unknown> | null | undefined;
|
|
1824
|
+
name?: string | undefined;
|
|
1825
|
+
source_version_id?: string | undefined;
|
|
1315
1826
|
}>;
|
|
1316
|
-
export declare const
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1827
|
+
export declare const GetSmartTableScoreHistoryArgsSchema: z.ZodObject<{
|
|
1828
|
+
table_id: z.ZodString;
|
|
1829
|
+
sheet_id: z.ZodString;
|
|
1830
|
+
max_points: z.ZodOptional<z.ZodNumber>;
|
|
1831
|
+
range: z.ZodOptional<z.ZodString>;
|
|
1832
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
1320
1833
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1321
|
-
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1322
|
-
q: z.ZodOptional<z.ZodString>;
|
|
1323
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1324
|
-
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1325
1834
|
}, "strip", z.ZodTypeAny, {
|
|
1835
|
+
table_id: string;
|
|
1836
|
+
sheet_id: string;
|
|
1326
1837
|
api_key?: string | undefined;
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
q?: string | undefined;
|
|
1331
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1332
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1333
|
-
include_prompt_name?: boolean | undefined;
|
|
1838
|
+
max_points?: number | undefined;
|
|
1839
|
+
range?: string | undefined;
|
|
1840
|
+
resolution?: string | undefined;
|
|
1334
1841
|
}, {
|
|
1842
|
+
table_id: string;
|
|
1843
|
+
sheet_id: string;
|
|
1335
1844
|
api_key?: string | undefined;
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
q?: string | undefined;
|
|
1340
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1341
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1342
|
-
include_prompt_name?: boolean | undefined;
|
|
1845
|
+
max_points?: number | undefined;
|
|
1846
|
+
range?: string | undefined;
|
|
1847
|
+
resolution?: string | undefined;
|
|
1343
1848
|
}>;
|
|
1344
|
-
export declare const
|
|
1849
|
+
export declare const ListLegacySmartTableMigrationsArgsSchema: z.ZodObject<{
|
|
1850
|
+
source_type: z.ZodOptional<z.ZodEnum<["dataset_group", "dataset", "report"]>>;
|
|
1851
|
+
source_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
1345
1852
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1346
|
-
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1347
|
-
q: z.ZodOptional<z.ZodString>;
|
|
1348
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1349
|
-
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1350
1853
|
}, "strip", z.ZodTypeAny, {
|
|
1351
1854
|
api_key?: string | undefined;
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1355
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1855
|
+
source_type?: "dataset_group" | "dataset" | "report" | undefined;
|
|
1856
|
+
source_id?: number | number[] | undefined;
|
|
1356
1857
|
}, {
|
|
1357
1858
|
api_key?: string | undefined;
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1361
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1859
|
+
source_type?: "dataset_group" | "dataset" | "report" | undefined;
|
|
1860
|
+
source_id?: number | number[] | undefined;
|
|
1362
1861
|
}>;
|
|
1363
|
-
export declare const
|
|
1364
|
-
|
|
1862
|
+
export declare const PreviewLegacySmartTableMigrationArgsSchema: z.ZodObject<{
|
|
1863
|
+
source_type: z.ZodEnum<["dataset_group", "dataset", "report"]>;
|
|
1864
|
+
source_id: z.ZodNumber;
|
|
1365
1865
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1366
1866
|
}, "strip", z.ZodTypeAny, {
|
|
1367
|
-
|
|
1867
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
1868
|
+
source_id: number;
|
|
1368
1869
|
api_key?: string | undefined;
|
|
1369
1870
|
}, {
|
|
1370
|
-
|
|
1871
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
1872
|
+
source_id: number;
|
|
1371
1873
|
api_key?: string | undefined;
|
|
1372
1874
|
}>;
|
|
1373
|
-
export declare const
|
|
1374
|
-
|
|
1875
|
+
export declare const MigrateLegacyToSmartTableArgsSchema: z.ZodObject<{
|
|
1876
|
+
source_type: z.ZodEnum<["dataset_group", "dataset", "report"]>;
|
|
1877
|
+
source_id: z.ZodNumber;
|
|
1878
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
1879
|
+
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
1880
|
+
resume: z.ZodOptional<z.ZodBoolean>;
|
|
1881
|
+
continue_on_error: z.ZodOptional<z.ZodBoolean>;
|
|
1882
|
+
include_reports_with_missing_datasets: z.ZodOptional<z.ZodBoolean>;
|
|
1883
|
+
max_version_snapshot_cells: z.ZodOptional<z.ZodNumber>;
|
|
1884
|
+
report_preview_row_limit: z.ZodOptional<z.ZodNumber>;
|
|
1375
1885
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1376
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1377
|
-
|
|
1887
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
1888
|
+
source_id: number;
|
|
1378
1889
|
api_key?: string | undefined;
|
|
1890
|
+
force?: boolean | undefined;
|
|
1891
|
+
dry_run?: boolean | undefined;
|
|
1892
|
+
resume?: boolean | undefined;
|
|
1893
|
+
continue_on_error?: boolean | undefined;
|
|
1894
|
+
include_reports_with_missing_datasets?: boolean | undefined;
|
|
1895
|
+
max_version_snapshot_cells?: number | undefined;
|
|
1896
|
+
report_preview_row_limit?: number | undefined;
|
|
1379
1897
|
}, {
|
|
1380
|
-
|
|
1898
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
1899
|
+
source_id: number;
|
|
1381
1900
|
api_key?: string | undefined;
|
|
1901
|
+
force?: boolean | undefined;
|
|
1902
|
+
dry_run?: boolean | undefined;
|
|
1903
|
+
resume?: boolean | undefined;
|
|
1904
|
+
continue_on_error?: boolean | undefined;
|
|
1905
|
+
include_reports_with_missing_datasets?: boolean | undefined;
|
|
1906
|
+
max_version_snapshot_cells?: number | undefined;
|
|
1907
|
+
report_preview_row_limit?: number | undefined;
|
|
1382
1908
|
}>;
|
|
1383
|
-
export declare const
|
|
1384
|
-
|
|
1385
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
1386
|
-
metadata_key: z.ZodOptional<z.ZodString>;
|
|
1387
|
-
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1388
|
-
filter_group: z.ZodOptional<z.ZodString>;
|
|
1909
|
+
export declare const GetLegacySmartTableMigrationJobArgsSchema: z.ZodObject<{
|
|
1910
|
+
job_id: z.ZodString;
|
|
1389
1911
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1390
1912
|
}, "strip", z.ZodTypeAny, {
|
|
1391
|
-
|
|
1913
|
+
job_id: string;
|
|
1392
1914
|
api_key?: string | undefined;
|
|
1393
|
-
prompt_id?: number | undefined;
|
|
1394
|
-
filter_group?: string | undefined;
|
|
1395
|
-
prefix?: string | undefined;
|
|
1396
|
-
metadata_key?: string | undefined;
|
|
1397
1915
|
}, {
|
|
1398
|
-
|
|
1916
|
+
job_id: string;
|
|
1399
1917
|
api_key?: string | undefined;
|
|
1400
|
-
prompt_id?: number | undefined;
|
|
1401
|
-
filter_group?: string | undefined;
|
|
1402
|
-
prefix?: string | undefined;
|
|
1403
|
-
metadata_key?: string | undefined;
|
|
1404
1918
|
}>;
|
|
1405
1919
|
export type GetPromptTemplateParams = Omit<z.infer<typeof GetPromptTemplateArgsSchema>, "prompt_name" | "api_key">;
|
|
1406
1920
|
export type ListPromptTemplatesParams = Omit<z.infer<typeof ListPromptTemplatesArgsSchema>, "api_key">;
|
|
@@ -1709,20 +2223,20 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1709
2223
|
api_key?: string | undefined;
|
|
1710
2224
|
page?: number | undefined;
|
|
1711
2225
|
per_page?: number | undefined;
|
|
2226
|
+
include_prompt_name?: boolean | undefined;
|
|
1712
2227
|
filter_group?: any;
|
|
1713
2228
|
q?: string | undefined;
|
|
1714
2229
|
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1715
2230
|
sort_order?: "asc" | "desc" | undefined;
|
|
1716
|
-
include_prompt_name?: boolean | undefined;
|
|
1717
2231
|
}, {
|
|
1718
2232
|
api_key?: string | undefined;
|
|
1719
2233
|
page?: number | undefined;
|
|
1720
2234
|
per_page?: number | undefined;
|
|
2235
|
+
include_prompt_name?: boolean | undefined;
|
|
1721
2236
|
filter_group?: any;
|
|
1722
2237
|
q?: string | undefined;
|
|
1723
2238
|
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1724
2239
|
sort_order?: "asc" | "desc" | undefined;
|
|
1725
|
-
include_prompt_name?: boolean | undefined;
|
|
1726
2240
|
}>;
|
|
1727
2241
|
readonly annotations: {
|
|
1728
2242
|
readonly readOnlyHint: true;
|
|
@@ -1884,546 +2398,1111 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1884
2398
|
spans: Record<string, unknown>[];
|
|
1885
2399
|
api_key?: string | undefined;
|
|
1886
2400
|
}, {
|
|
1887
|
-
spans: Record<string, unknown>[];
|
|
2401
|
+
spans: Record<string, unknown>[];
|
|
2402
|
+
api_key?: string | undefined;
|
|
2403
|
+
}>;
|
|
2404
|
+
readonly annotations: {
|
|
2405
|
+
readonly readOnlyHint: false;
|
|
2406
|
+
};
|
|
2407
|
+
};
|
|
2408
|
+
readonly "list-smart-tables": {
|
|
2409
|
+
readonly name: "list-smart-tables";
|
|
2410
|
+
readonly description: string;
|
|
2411
|
+
readonly inputSchema: z.ZodObject<{
|
|
2412
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2413
|
+
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
2414
|
+
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
2415
|
+
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
2416
|
+
sort: z.ZodOptional<z.ZodEnum<["created_at"]>>;
|
|
2417
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2418
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2419
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2420
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
2421
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2422
|
+
}, "strip", z.ZodTypeAny, {
|
|
2423
|
+
sort?: "created_at" | undefined;
|
|
2424
|
+
api_key?: string | undefined;
|
|
2425
|
+
name?: string | undefined;
|
|
2426
|
+
folder_id?: number | undefined;
|
|
2427
|
+
prompt_id?: number | undefined;
|
|
2428
|
+
prompt_version_id?: number | undefined;
|
|
2429
|
+
prompt_label_id?: number | undefined;
|
|
2430
|
+
limit?: number | undefined;
|
|
2431
|
+
order?: "asc" | "desc" | undefined;
|
|
2432
|
+
cursor?: string | undefined;
|
|
2433
|
+
}, {
|
|
2434
|
+
sort?: "created_at" | undefined;
|
|
2435
|
+
api_key?: string | undefined;
|
|
2436
|
+
name?: string | undefined;
|
|
2437
|
+
folder_id?: number | undefined;
|
|
2438
|
+
prompt_id?: number | undefined;
|
|
2439
|
+
prompt_version_id?: number | undefined;
|
|
2440
|
+
prompt_label_id?: number | undefined;
|
|
2441
|
+
limit?: number | undefined;
|
|
2442
|
+
order?: "asc" | "desc" | undefined;
|
|
2443
|
+
cursor?: string | undefined;
|
|
2444
|
+
}>;
|
|
2445
|
+
readonly annotations: {
|
|
2446
|
+
readonly readOnlyHint: true;
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
readonly "create-smart-table": {
|
|
2450
|
+
readonly name: "create-smart-table";
|
|
2451
|
+
readonly description: string;
|
|
2452
|
+
readonly inputSchema: z.ZodObject<{
|
|
2453
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2454
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
2455
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2456
|
+
}, "strip", z.ZodTypeAny, {
|
|
2457
|
+
api_key?: string | undefined;
|
|
2458
|
+
folder_id?: number | undefined;
|
|
2459
|
+
title?: string | undefined;
|
|
2460
|
+
}, {
|
|
2461
|
+
api_key?: string | undefined;
|
|
2462
|
+
folder_id?: number | undefined;
|
|
2463
|
+
title?: string | undefined;
|
|
2464
|
+
}>;
|
|
2465
|
+
readonly annotations: {
|
|
2466
|
+
readonly readOnlyHint: false;
|
|
2467
|
+
};
|
|
2468
|
+
};
|
|
2469
|
+
readonly "get-smart-table": {
|
|
2470
|
+
readonly name: "get-smart-table";
|
|
2471
|
+
readonly description: "Get a Smart Table by UUID, including sheet counts and row counts.";
|
|
2472
|
+
readonly inputSchema: z.ZodObject<{
|
|
2473
|
+
table_id: z.ZodString;
|
|
2474
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2475
|
+
}, "strip", z.ZodTypeAny, {
|
|
2476
|
+
table_id: string;
|
|
2477
|
+
api_key?: string | undefined;
|
|
2478
|
+
}, {
|
|
2479
|
+
table_id: string;
|
|
2480
|
+
api_key?: string | undefined;
|
|
2481
|
+
}>;
|
|
2482
|
+
readonly annotations: {
|
|
2483
|
+
readonly readOnlyHint: true;
|
|
2484
|
+
};
|
|
2485
|
+
};
|
|
2486
|
+
readonly "update-smart-table": {
|
|
2487
|
+
readonly name: "update-smart-table";
|
|
2488
|
+
readonly description: "Update a Smart Table title or folder.";
|
|
2489
|
+
readonly inputSchema: z.ZodObject<{
|
|
2490
|
+
table_id: z.ZodString;
|
|
2491
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2492
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
2493
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2494
|
+
}, "strip", z.ZodTypeAny, {
|
|
2495
|
+
table_id: string;
|
|
2496
|
+
api_key?: string | undefined;
|
|
2497
|
+
folder_id?: number | undefined;
|
|
2498
|
+
title?: string | undefined;
|
|
2499
|
+
}, {
|
|
2500
|
+
table_id: string;
|
|
1888
2501
|
api_key?: string | undefined;
|
|
2502
|
+
folder_id?: number | undefined;
|
|
2503
|
+
title?: string | undefined;
|
|
1889
2504
|
}>;
|
|
1890
2505
|
readonly annotations: {
|
|
1891
2506
|
readonly readOnlyHint: false;
|
|
1892
2507
|
};
|
|
1893
2508
|
};
|
|
1894
|
-
readonly "list-
|
|
1895
|
-
readonly name: "list-
|
|
1896
|
-
readonly description: "List
|
|
2509
|
+
readonly "list-smart-table-sheets": {
|
|
2510
|
+
readonly name: "list-smart-table-sheets";
|
|
2511
|
+
readonly description: "List sheets in a Smart Table with cursor pagination.";
|
|
1897
2512
|
readonly inputSchema: z.ZodObject<{
|
|
1898
|
-
|
|
1899
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
1900
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1901
|
-
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
1902
|
-
dataset_group_id: z.ZodOptional<z.ZodNumber>;
|
|
2513
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1903
2514
|
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1904
2515
|
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
1905
2516
|
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
1906
|
-
|
|
1907
|
-
|
|
2517
|
+
sort: z.ZodOptional<z.ZodEnum<["index"]>>;
|
|
2518
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2519
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2520
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2521
|
+
table_id: z.ZodString;
|
|
1908
2522
|
}, "strip", z.ZodTypeAny, {
|
|
1909
|
-
|
|
2523
|
+
table_id: string;
|
|
2524
|
+
sort?: "index" | undefined;
|
|
1910
2525
|
api_key?: string | undefined;
|
|
1911
|
-
page?: number | undefined;
|
|
1912
|
-
per_page?: number | undefined;
|
|
1913
|
-
name?: string | undefined;
|
|
1914
2526
|
prompt_id?: number | undefined;
|
|
1915
2527
|
prompt_version_id?: number | undefined;
|
|
1916
2528
|
prompt_label_id?: number | undefined;
|
|
1917
|
-
|
|
1918
|
-
|
|
2529
|
+
limit?: number | undefined;
|
|
2530
|
+
order?: "asc" | "desc" | undefined;
|
|
2531
|
+
cursor?: string | undefined;
|
|
1919
2532
|
}, {
|
|
1920
|
-
|
|
2533
|
+
table_id: string;
|
|
2534
|
+
sort?: "index" | undefined;
|
|
1921
2535
|
api_key?: string | undefined;
|
|
1922
|
-
page?: number | undefined;
|
|
1923
|
-
per_page?: number | undefined;
|
|
1924
|
-
name?: string | undefined;
|
|
1925
2536
|
prompt_id?: number | undefined;
|
|
1926
2537
|
prompt_version_id?: number | undefined;
|
|
1927
2538
|
prompt_label_id?: number | undefined;
|
|
1928
|
-
|
|
1929
|
-
|
|
2539
|
+
limit?: number | undefined;
|
|
2540
|
+
order?: "asc" | "desc" | undefined;
|
|
2541
|
+
cursor?: string | undefined;
|
|
1930
2542
|
}>;
|
|
1931
2543
|
readonly annotations: {
|
|
1932
2544
|
readonly readOnlyHint: true;
|
|
1933
2545
|
};
|
|
1934
2546
|
};
|
|
1935
|
-
readonly "create-
|
|
1936
|
-
readonly name: "create-
|
|
1937
|
-
readonly description:
|
|
2547
|
+
readonly "create-smart-table-sheet": {
|
|
2548
|
+
readonly name: "create-smart-table-sheet";
|
|
2549
|
+
readonly description: string;
|
|
1938
2550
|
readonly inputSchema: z.ZodObject<{
|
|
1939
|
-
|
|
1940
|
-
|
|
2551
|
+
table_id: z.ZodString;
|
|
2552
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2553
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
2554
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
2555
|
+
source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2556
|
+
type: z.ZodLiteral<"file">;
|
|
2557
|
+
file_name: z.ZodString;
|
|
2558
|
+
file_content_base64: z.ZodString;
|
|
2559
|
+
}, "strip", z.ZodTypeAny, {
|
|
2560
|
+
type: "file";
|
|
2561
|
+
file_name: string;
|
|
2562
|
+
file_content_base64: string;
|
|
2563
|
+
}, {
|
|
2564
|
+
type: "file";
|
|
2565
|
+
file_name: string;
|
|
2566
|
+
file_content_base64: string;
|
|
2567
|
+
}>, z.ZodObject<{
|
|
2568
|
+
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2569
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
2570
|
+
q: z.ZodOptional<z.ZodString>;
|
|
2571
|
+
sort_by: z.ZodOptional<z.ZodString>;
|
|
2572
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2573
|
+
metadata_cost_breakdown_key: z.ZodOptional<z.ZodString>;
|
|
2574
|
+
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2575
|
+
include_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2576
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2577
|
+
type: z.ZodLiteral<"request_logs">;
|
|
2578
|
+
}, "strip", z.ZodTypeAny, {
|
|
2579
|
+
type: "request_logs";
|
|
2580
|
+
filter_group?: any;
|
|
2581
|
+
q?: string | undefined;
|
|
2582
|
+
sort_by?: string | undefined;
|
|
2583
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2584
|
+
request_log_ids?: number[] | undefined;
|
|
2585
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
2586
|
+
variables_to_parse?: string[] | undefined;
|
|
2587
|
+
include_fields?: string[] | undefined;
|
|
2588
|
+
limit?: number | undefined;
|
|
2589
|
+
}, {
|
|
2590
|
+
type: "request_logs";
|
|
2591
|
+
filter_group?: any;
|
|
2592
|
+
q?: string | undefined;
|
|
2593
|
+
sort_by?: string | undefined;
|
|
2594
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2595
|
+
request_log_ids?: number[] | undefined;
|
|
2596
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
2597
|
+
variables_to_parse?: string[] | undefined;
|
|
2598
|
+
include_fields?: string[] | undefined;
|
|
2599
|
+
limit?: number | undefined;
|
|
2600
|
+
}>]>;
|
|
1941
2601
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1942
2602
|
}, "strip", z.ZodTypeAny, {
|
|
2603
|
+
table_id: string;
|
|
2604
|
+
source: {
|
|
2605
|
+
type: "file";
|
|
2606
|
+
file_name: string;
|
|
2607
|
+
file_content_base64: string;
|
|
2608
|
+
} | {
|
|
2609
|
+
type: "request_logs";
|
|
2610
|
+
filter_group?: any;
|
|
2611
|
+
q?: string | undefined;
|
|
2612
|
+
sort_by?: string | undefined;
|
|
2613
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2614
|
+
request_log_ids?: number[] | undefined;
|
|
2615
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
2616
|
+
variables_to_parse?: string[] | undefined;
|
|
2617
|
+
include_fields?: string[] | undefined;
|
|
2618
|
+
limit?: number | undefined;
|
|
2619
|
+
};
|
|
1943
2620
|
api_key?: string | undefined;
|
|
1944
|
-
|
|
1945
|
-
|
|
2621
|
+
title?: string | undefined;
|
|
2622
|
+
index?: number | undefined;
|
|
2623
|
+
operation_id?: string | undefined;
|
|
1946
2624
|
}, {
|
|
2625
|
+
table_id: string;
|
|
2626
|
+
source: {
|
|
2627
|
+
type: "file";
|
|
2628
|
+
file_name: string;
|
|
2629
|
+
file_content_base64: string;
|
|
2630
|
+
} | {
|
|
2631
|
+
type: "request_logs";
|
|
2632
|
+
filter_group?: any;
|
|
2633
|
+
q?: string | undefined;
|
|
2634
|
+
sort_by?: string | undefined;
|
|
2635
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2636
|
+
request_log_ids?: number[] | undefined;
|
|
2637
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
2638
|
+
variables_to_parse?: string[] | undefined;
|
|
2639
|
+
include_fields?: string[] | undefined;
|
|
2640
|
+
limit?: number | undefined;
|
|
2641
|
+
};
|
|
1947
2642
|
api_key?: string | undefined;
|
|
1948
|
-
|
|
1949
|
-
|
|
2643
|
+
title?: string | undefined;
|
|
2644
|
+
index?: number | undefined;
|
|
2645
|
+
operation_id?: string | undefined;
|
|
2646
|
+
}>;
|
|
2647
|
+
readonly annotations: {
|
|
2648
|
+
readonly readOnlyHint: false;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
readonly "get-smart-table-sheet": {
|
|
2652
|
+
readonly name: "get-smart-table-sheet";
|
|
2653
|
+
readonly description: "Get a single Smart Table sheet.";
|
|
2654
|
+
readonly inputSchema: z.ZodObject<{
|
|
2655
|
+
table_id: z.ZodString;
|
|
2656
|
+
sheet_id: z.ZodString;
|
|
2657
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2658
|
+
}, "strip", z.ZodTypeAny, {
|
|
2659
|
+
table_id: string;
|
|
2660
|
+
sheet_id: string;
|
|
2661
|
+
api_key?: string | undefined;
|
|
2662
|
+
}, {
|
|
2663
|
+
table_id: string;
|
|
2664
|
+
sheet_id: string;
|
|
2665
|
+
api_key?: string | undefined;
|
|
2666
|
+
}>;
|
|
2667
|
+
readonly annotations: {
|
|
2668
|
+
readonly readOnlyHint: true;
|
|
2669
|
+
};
|
|
2670
|
+
};
|
|
2671
|
+
readonly "update-smart-table-sheet": {
|
|
2672
|
+
readonly name: "update-smart-table-sheet";
|
|
2673
|
+
readonly description: "Update a Smart Table sheet title or index.";
|
|
2674
|
+
readonly inputSchema: z.ZodObject<{
|
|
2675
|
+
table_id: z.ZodString;
|
|
2676
|
+
sheet_id: z.ZodString;
|
|
2677
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2678
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
2679
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2680
|
+
}, "strip", z.ZodTypeAny, {
|
|
2681
|
+
table_id: string;
|
|
2682
|
+
sheet_id: string;
|
|
2683
|
+
api_key?: string | undefined;
|
|
2684
|
+
title?: string | undefined;
|
|
2685
|
+
index?: number | undefined;
|
|
2686
|
+
}, {
|
|
2687
|
+
table_id: string;
|
|
2688
|
+
sheet_id: string;
|
|
2689
|
+
api_key?: string | undefined;
|
|
2690
|
+
title?: string | undefined;
|
|
2691
|
+
index?: number | undefined;
|
|
1950
2692
|
}>;
|
|
1951
2693
|
readonly annotations: {
|
|
1952
2694
|
readonly readOnlyHint: false;
|
|
1953
2695
|
};
|
|
1954
2696
|
};
|
|
1955
|
-
readonly "
|
|
1956
|
-
readonly name: "
|
|
1957
|
-
readonly description: "
|
|
2697
|
+
readonly "get-smart-table-sheet-import-operation": {
|
|
2698
|
+
readonly name: "get-smart-table-sheet-import-operation";
|
|
2699
|
+
readonly description: "Get status for a Smart Table sheet import operation.";
|
|
2700
|
+
readonly inputSchema: z.ZodObject<{
|
|
2701
|
+
table_id: z.ZodString;
|
|
2702
|
+
operation_id: z.ZodString;
|
|
2703
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2704
|
+
}, "strip", z.ZodTypeAny, {
|
|
2705
|
+
table_id: string;
|
|
2706
|
+
operation_id: string;
|
|
2707
|
+
api_key?: string | undefined;
|
|
2708
|
+
}, {
|
|
2709
|
+
table_id: string;
|
|
2710
|
+
operation_id: string;
|
|
2711
|
+
api_key?: string | undefined;
|
|
2712
|
+
}>;
|
|
2713
|
+
readonly annotations: {
|
|
2714
|
+
readonly readOnlyHint: true;
|
|
2715
|
+
};
|
|
2716
|
+
};
|
|
2717
|
+
readonly "import-smart-table-sheet-file": {
|
|
2718
|
+
readonly name: "import-smart-table-sheet-file";
|
|
2719
|
+
readonly description: "Import base64 CSV content into an existing Smart Table sheet.";
|
|
1958
2720
|
readonly inputSchema: z.ZodObject<{
|
|
1959
|
-
|
|
2721
|
+
table_id: z.ZodString;
|
|
2722
|
+
sheet_id: z.ZodString;
|
|
2723
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1960
2724
|
file_name: z.ZodString;
|
|
1961
2725
|
file_content_base64: z.ZodString;
|
|
1962
2726
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1963
2727
|
}, "strip", z.ZodTypeAny, {
|
|
1964
|
-
dataset_group_id: number;
|
|
1965
2728
|
file_name: string;
|
|
1966
2729
|
file_content_base64: string;
|
|
2730
|
+
table_id: string;
|
|
2731
|
+
sheet_id: string;
|
|
1967
2732
|
api_key?: string | undefined;
|
|
2733
|
+
operation_id?: string | undefined;
|
|
1968
2734
|
}, {
|
|
1969
|
-
dataset_group_id: number;
|
|
1970
2735
|
file_name: string;
|
|
1971
2736
|
file_content_base64: string;
|
|
2737
|
+
table_id: string;
|
|
2738
|
+
sheet_id: string;
|
|
1972
2739
|
api_key?: string | undefined;
|
|
2740
|
+
operation_id?: string | undefined;
|
|
1973
2741
|
}>;
|
|
1974
2742
|
readonly annotations: {
|
|
1975
2743
|
readonly readOnlyHint: false;
|
|
1976
2744
|
};
|
|
1977
2745
|
};
|
|
1978
|
-
readonly "
|
|
1979
|
-
readonly name: "
|
|
2746
|
+
readonly "import-smart-table-sheet-request-logs": {
|
|
2747
|
+
readonly name: "import-smart-table-sheet-request-logs";
|
|
1980
2748
|
readonly description: string;
|
|
1981
2749
|
readonly inputSchema: z.ZodObject<{
|
|
1982
|
-
|
|
2750
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1983
2751
|
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1984
2752
|
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1985
2753
|
q: z.ZodOptional<z.ZodString>;
|
|
1986
|
-
sort_by: z.ZodOptional<z.
|
|
2754
|
+
sort_by: z.ZodOptional<z.ZodString>;
|
|
1987
2755
|
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2756
|
+
metadata_cost_breakdown_key: z.ZodOptional<z.ZodString>;
|
|
1988
2757
|
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1989
|
-
|
|
2758
|
+
include_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2759
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2760
|
+
table_id: z.ZodString;
|
|
2761
|
+
sheet_id: z.ZodString;
|
|
2762
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1990
2763
|
}, "strip", z.ZodTypeAny, {
|
|
1991
|
-
|
|
2764
|
+
table_id: string;
|
|
2765
|
+
sheet_id: string;
|
|
1992
2766
|
api_key?: string | undefined;
|
|
1993
|
-
request_log_ids?: number[] | undefined;
|
|
1994
2767
|
filter_group?: any;
|
|
1995
2768
|
q?: string | undefined;
|
|
1996
|
-
sort_by?:
|
|
2769
|
+
sort_by?: string | undefined;
|
|
1997
2770
|
sort_order?: "asc" | "desc" | undefined;
|
|
2771
|
+
request_log_ids?: number[] | undefined;
|
|
2772
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1998
2773
|
variables_to_parse?: string[] | undefined;
|
|
2774
|
+
include_fields?: string[] | undefined;
|
|
2775
|
+
limit?: number | undefined;
|
|
2776
|
+
operation_id?: string | undefined;
|
|
1999
2777
|
}, {
|
|
2000
|
-
|
|
2778
|
+
table_id: string;
|
|
2779
|
+
sheet_id: string;
|
|
2001
2780
|
api_key?: string | undefined;
|
|
2002
|
-
request_log_ids?: number[] | undefined;
|
|
2003
2781
|
filter_group?: any;
|
|
2004
2782
|
q?: string | undefined;
|
|
2005
|
-
sort_by?:
|
|
2783
|
+
sort_by?: string | undefined;
|
|
2006
2784
|
sort_order?: "asc" | "desc" | undefined;
|
|
2785
|
+
request_log_ids?: number[] | undefined;
|
|
2786
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
2007
2787
|
variables_to_parse?: string[] | undefined;
|
|
2788
|
+
include_fields?: string[] | undefined;
|
|
2789
|
+
limit?: number | undefined;
|
|
2790
|
+
operation_id?: string | undefined;
|
|
2008
2791
|
}>;
|
|
2009
2792
|
readonly annotations: {
|
|
2010
2793
|
readonly readOnlyHint: false;
|
|
2011
2794
|
};
|
|
2012
2795
|
};
|
|
2013
|
-
readonly "
|
|
2014
|
-
readonly name: "
|
|
2015
|
-
readonly description: "
|
|
2796
|
+
readonly "list-smart-table-columns": {
|
|
2797
|
+
readonly name: "list-smart-table-columns";
|
|
2798
|
+
readonly description: "List columns in a Smart Table sheet.";
|
|
2016
2799
|
readonly inputSchema: z.ZodObject<{
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
q: z.ZodOptional<z.ZodString>;
|
|
2800
|
+
sort: z.ZodOptional<z.ZodEnum<["position_rank"]>>;
|
|
2801
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2802
|
+
include_system_columns: z.ZodOptional<z.ZodBoolean>;
|
|
2021
2803
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2805
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2806
|
+
table_id: z.ZodString;
|
|
2807
|
+
sheet_id: z.ZodString;
|
|
2022
2808
|
}, "strip", z.ZodTypeAny, {
|
|
2023
|
-
|
|
2809
|
+
table_id: string;
|
|
2810
|
+
sheet_id: string;
|
|
2811
|
+
sort?: "position_rank" | undefined;
|
|
2024
2812
|
api_key?: string | undefined;
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2813
|
+
limit?: number | undefined;
|
|
2814
|
+
order?: "asc" | "desc" | undefined;
|
|
2815
|
+
cursor?: string | undefined;
|
|
2816
|
+
include_system_columns?: boolean | undefined;
|
|
2028
2817
|
}, {
|
|
2029
|
-
|
|
2818
|
+
table_id: string;
|
|
2819
|
+
sheet_id: string;
|
|
2820
|
+
sort?: "position_rank" | undefined;
|
|
2030
2821
|
api_key?: string | undefined;
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2822
|
+
limit?: number | undefined;
|
|
2823
|
+
order?: "asc" | "desc" | undefined;
|
|
2824
|
+
cursor?: string | undefined;
|
|
2825
|
+
include_system_columns?: boolean | undefined;
|
|
2034
2826
|
}>;
|
|
2035
2827
|
readonly annotations: {
|
|
2036
2828
|
readonly readOnlyHint: true;
|
|
2037
2829
|
};
|
|
2038
2830
|
};
|
|
2039
|
-
readonly "create-
|
|
2040
|
-
readonly name: "create-
|
|
2041
|
-
readonly description:
|
|
2831
|
+
readonly "create-smart-table-column": {
|
|
2832
|
+
readonly name: "create-smart-table-column";
|
|
2833
|
+
readonly description: string;
|
|
2042
2834
|
readonly inputSchema: z.ZodObject<{
|
|
2043
|
-
|
|
2044
|
-
|
|
2835
|
+
table_id: z.ZodString;
|
|
2836
|
+
sheet_id: z.ZodString;
|
|
2837
|
+
title: z.ZodString;
|
|
2838
|
+
type: z.ZodEnum<["TEXT", "ABSOLUTE_NUMERIC_DISTANCE", "AI_DATA_EXTRACTION", "APPLY_DIFF", "ASSERT_VALID", "COALESCE", "CONDITION", "CODE_EXECUTION", "COMBINE_COLUMNS", "COMPARE", "COMPOSITION", "CONTAINS", "CONVERSATION_SIMULATOR", "COSINE_SIMILARITY", "COUNT", "DATASET", "ENDPOINT", "FOR_LOOP", "HUMAN", "JSON_PATH", "LLM_ASSERTION", "MATH_OPERATOR", "MCP", "MIN_MAX", "PARSE_VALUE", "PROMPT_TEMPLATE", "REGEX", "REGEX_EXTRACTION", "VARIABLE", "WHILE_LOOP", "WORKFLOW", "XML_PATH"]>;
|
|
2839
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2840
|
+
dependencies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2841
|
+
column_id: z.ZodString;
|
|
2842
|
+
reference_type: z.ZodOptional<z.ZodString>;
|
|
2843
|
+
config_key: z.ZodOptional<z.ZodString>;
|
|
2844
|
+
config_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2845
|
+
}, "strip", z.ZodTypeAny, {
|
|
2846
|
+
column_id: string;
|
|
2847
|
+
reference_type?: string | undefined;
|
|
2848
|
+
config_key?: string | undefined;
|
|
2849
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2850
|
+
}, {
|
|
2851
|
+
column_id: string;
|
|
2852
|
+
reference_type?: string | undefined;
|
|
2853
|
+
config_key?: string | undefined;
|
|
2854
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2855
|
+
}>, "many">>>;
|
|
2045
2856
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2046
2857
|
}, "strip", z.ZodTypeAny, {
|
|
2047
|
-
|
|
2858
|
+
type: "WORKFLOW" | "DATASET" | "TEXT" | "ABSOLUTE_NUMERIC_DISTANCE" | "AI_DATA_EXTRACTION" | "APPLY_DIFF" | "ASSERT_VALID" | "COALESCE" | "CONDITION" | "CODE_EXECUTION" | "COMBINE_COLUMNS" | "COMPARE" | "COMPOSITION" | "CONTAINS" | "CONVERSATION_SIMULATOR" | "COSINE_SIMILARITY" | "COUNT" | "ENDPOINT" | "FOR_LOOP" | "HUMAN" | "JSON_PATH" | "LLM_ASSERTION" | "MATH_OPERATOR" | "MCP" | "MIN_MAX" | "PARSE_VALUE" | "PROMPT_TEMPLATE" | "REGEX" | "REGEX_EXTRACTION" | "VARIABLE" | "WHILE_LOOP" | "XML_PATH";
|
|
2859
|
+
title: string;
|
|
2860
|
+
table_id: string;
|
|
2861
|
+
sheet_id: string;
|
|
2048
2862
|
api_key?: string | undefined;
|
|
2049
|
-
|
|
2863
|
+
config?: Record<string, unknown> | null | undefined;
|
|
2864
|
+
dependencies?: {
|
|
2865
|
+
column_id: string;
|
|
2866
|
+
reference_type?: string | undefined;
|
|
2867
|
+
config_key?: string | undefined;
|
|
2868
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2869
|
+
}[] | null | undefined;
|
|
2050
2870
|
}, {
|
|
2051
|
-
|
|
2871
|
+
type: "WORKFLOW" | "DATASET" | "TEXT" | "ABSOLUTE_NUMERIC_DISTANCE" | "AI_DATA_EXTRACTION" | "APPLY_DIFF" | "ASSERT_VALID" | "COALESCE" | "CONDITION" | "CODE_EXECUTION" | "COMBINE_COLUMNS" | "COMPARE" | "COMPOSITION" | "CONTAINS" | "CONVERSATION_SIMULATOR" | "COSINE_SIMILARITY" | "COUNT" | "ENDPOINT" | "FOR_LOOP" | "HUMAN" | "JSON_PATH" | "LLM_ASSERTION" | "MATH_OPERATOR" | "MCP" | "MIN_MAX" | "PARSE_VALUE" | "PROMPT_TEMPLATE" | "REGEX" | "REGEX_EXTRACTION" | "VARIABLE" | "WHILE_LOOP" | "XML_PATH";
|
|
2872
|
+
title: string;
|
|
2873
|
+
table_id: string;
|
|
2874
|
+
sheet_id: string;
|
|
2052
2875
|
api_key?: string | undefined;
|
|
2053
|
-
|
|
2876
|
+
config?: Record<string, unknown> | null | undefined;
|
|
2877
|
+
dependencies?: {
|
|
2878
|
+
column_id: string;
|
|
2879
|
+
reference_type?: string | undefined;
|
|
2880
|
+
config_key?: string | undefined;
|
|
2881
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2882
|
+
}[] | null | undefined;
|
|
2054
2883
|
}>;
|
|
2055
2884
|
readonly annotations: {
|
|
2056
2885
|
readonly readOnlyHint: false;
|
|
2057
2886
|
};
|
|
2058
2887
|
};
|
|
2059
|
-
readonly "
|
|
2060
|
-
readonly name: "
|
|
2061
|
-
readonly description: "
|
|
2888
|
+
readonly "update-smart-table-column": {
|
|
2889
|
+
readonly name: "update-smart-table-column";
|
|
2890
|
+
readonly description: "Update a Smart Table column title, config, or dependencies. Column type and position are not changed by this tool.";
|
|
2062
2891
|
readonly inputSchema: z.ZodObject<{
|
|
2063
|
-
|
|
2064
|
-
|
|
2892
|
+
table_id: z.ZodString;
|
|
2893
|
+
sheet_id: z.ZodString;
|
|
2894
|
+
column_id: z.ZodString;
|
|
2895
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2896
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2897
|
+
dependencies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2898
|
+
column_id: z.ZodString;
|
|
2899
|
+
reference_type: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
config_key: z.ZodOptional<z.ZodString>;
|
|
2901
|
+
config_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2902
|
+
}, "strip", z.ZodTypeAny, {
|
|
2903
|
+
column_id: string;
|
|
2904
|
+
reference_type?: string | undefined;
|
|
2905
|
+
config_key?: string | undefined;
|
|
2906
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2907
|
+
}, {
|
|
2908
|
+
column_id: string;
|
|
2909
|
+
reference_type?: string | undefined;
|
|
2910
|
+
config_key?: string | undefined;
|
|
2911
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2912
|
+
}>, "many">>>;
|
|
2065
2913
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2066
2914
|
}, "strip", z.ZodTypeAny, {
|
|
2067
|
-
|
|
2068
|
-
|
|
2915
|
+
column_id: string;
|
|
2916
|
+
table_id: string;
|
|
2917
|
+
sheet_id: string;
|
|
2069
2918
|
api_key?: string | undefined;
|
|
2919
|
+
title?: string | undefined;
|
|
2920
|
+
config?: Record<string, unknown> | null | undefined;
|
|
2921
|
+
dependencies?: {
|
|
2922
|
+
column_id: string;
|
|
2923
|
+
reference_type?: string | undefined;
|
|
2924
|
+
config_key?: string | undefined;
|
|
2925
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2926
|
+
}[] | null | undefined;
|
|
2070
2927
|
}, {
|
|
2071
|
-
|
|
2072
|
-
|
|
2928
|
+
column_id: string;
|
|
2929
|
+
table_id: string;
|
|
2930
|
+
sheet_id: string;
|
|
2073
2931
|
api_key?: string | undefined;
|
|
2932
|
+
title?: string | undefined;
|
|
2933
|
+
config?: Record<string, unknown> | null | undefined;
|
|
2934
|
+
dependencies?: {
|
|
2935
|
+
column_id: string;
|
|
2936
|
+
reference_type?: string | undefined;
|
|
2937
|
+
config_key?: string | undefined;
|
|
2938
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2939
|
+
}[] | null | undefined;
|
|
2074
2940
|
}>;
|
|
2075
2941
|
readonly annotations: {
|
|
2076
2942
|
readonly readOnlyHint: false;
|
|
2077
2943
|
};
|
|
2078
2944
|
};
|
|
2079
|
-
readonly "
|
|
2080
|
-
readonly name: "
|
|
2081
|
-
readonly description: "
|
|
2945
|
+
readonly "list-smart-table-rows": {
|
|
2946
|
+
readonly name: "list-smart-table-rows";
|
|
2947
|
+
readonly description: "List rows in a Smart Table sheet with optional column metadata and row counts.";
|
|
2082
2948
|
readonly inputSchema: z.ZodObject<{
|
|
2083
|
-
|
|
2949
|
+
sort: z.ZodOptional<z.ZodEnum<["row_index"]>>;
|
|
2950
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2951
|
+
include_columns: z.ZodOptional<z.ZodBoolean>;
|
|
2952
|
+
include_row_count: z.ZodOptional<z.ZodBoolean>;
|
|
2953
|
+
include_system_columns: z.ZodOptional<z.ZodBoolean>;
|
|
2954
|
+
include_execution_metadata_aggregates: z.ZodOptional<z.ZodBoolean>;
|
|
2084
2955
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2956
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2957
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2958
|
+
table_id: z.ZodString;
|
|
2959
|
+
sheet_id: z.ZodString;
|
|
2085
2960
|
}, "strip", z.ZodTypeAny, {
|
|
2086
|
-
|
|
2961
|
+
table_id: string;
|
|
2962
|
+
sheet_id: string;
|
|
2963
|
+
sort?: "row_index" | undefined;
|
|
2087
2964
|
api_key?: string | undefined;
|
|
2965
|
+
limit?: number | undefined;
|
|
2966
|
+
order?: "asc" | "desc" | undefined;
|
|
2967
|
+
cursor?: string | undefined;
|
|
2968
|
+
include_system_columns?: boolean | undefined;
|
|
2969
|
+
include_columns?: boolean | undefined;
|
|
2970
|
+
include_row_count?: boolean | undefined;
|
|
2971
|
+
include_execution_metadata_aggregates?: boolean | undefined;
|
|
2088
2972
|
}, {
|
|
2089
|
-
|
|
2973
|
+
table_id: string;
|
|
2974
|
+
sheet_id: string;
|
|
2975
|
+
sort?: "row_index" | undefined;
|
|
2090
2976
|
api_key?: string | undefined;
|
|
2977
|
+
limit?: number | undefined;
|
|
2978
|
+
order?: "asc" | "desc" | undefined;
|
|
2979
|
+
cursor?: string | undefined;
|
|
2980
|
+
include_system_columns?: boolean | undefined;
|
|
2981
|
+
include_columns?: boolean | undefined;
|
|
2982
|
+
include_row_count?: boolean | undefined;
|
|
2983
|
+
include_execution_metadata_aggregates?: boolean | undefined;
|
|
2091
2984
|
}>;
|
|
2092
2985
|
readonly annotations: {
|
|
2093
|
-
readonly readOnlyHint:
|
|
2986
|
+
readonly readOnlyHint: true;
|
|
2094
2987
|
};
|
|
2095
2988
|
};
|
|
2096
|
-
readonly "add-
|
|
2097
|
-
readonly name: "add-
|
|
2098
|
-
readonly description: "Add
|
|
2989
|
+
readonly "add-smart-table-rows": {
|
|
2990
|
+
readonly name: "add-smart-table-rows";
|
|
2991
|
+
readonly description: "Add up to 100 rows to a Smart Table sheet, optionally with values keyed by column UUID.";
|
|
2099
2992
|
readonly inputSchema: z.ZodObject<{
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2993
|
+
table_id: z.ZodString;
|
|
2994
|
+
sheet_id: z.ZodString;
|
|
2995
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2996
|
+
values: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
2103
2997
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2104
2998
|
}, "strip", z.ZodTypeAny, {
|
|
2105
|
-
|
|
2106
|
-
|
|
2999
|
+
table_id: string;
|
|
3000
|
+
sheet_id: string;
|
|
3001
|
+
values?: Record<string, unknown>[] | undefined;
|
|
2107
3002
|
api_key?: string | undefined;
|
|
2108
|
-
|
|
3003
|
+
count?: number | undefined;
|
|
2109
3004
|
}, {
|
|
2110
|
-
|
|
2111
|
-
|
|
3005
|
+
table_id: string;
|
|
3006
|
+
sheet_id: string;
|
|
3007
|
+
values?: Record<string, unknown>[] | undefined;
|
|
2112
3008
|
api_key?: string | undefined;
|
|
2113
|
-
|
|
3009
|
+
count?: number | undefined;
|
|
2114
3010
|
}>;
|
|
2115
3011
|
readonly annotations: {
|
|
2116
3012
|
readonly readOnlyHint: false;
|
|
2117
3013
|
};
|
|
2118
3014
|
};
|
|
2119
|
-
readonly "
|
|
2120
|
-
readonly name: "
|
|
2121
|
-
readonly description: "
|
|
3015
|
+
readonly "get-smart-table-cell": {
|
|
3016
|
+
readonly name: "get-smart-table-cell";
|
|
3017
|
+
readonly description: "Get a Smart Table cell by UUID.";
|
|
2122
3018
|
readonly inputSchema: z.ZodObject<{
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
2127
|
-
include_runs: z.ZodOptional<z.ZodBoolean>;
|
|
3019
|
+
table_id: z.ZodString;
|
|
3020
|
+
sheet_id: z.ZodString;
|
|
3021
|
+
cell_id: z.ZodString;
|
|
2128
3022
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2129
3023
|
}, "strip", z.ZodTypeAny, {
|
|
2130
|
-
|
|
3024
|
+
table_id: string;
|
|
3025
|
+
sheet_id: string;
|
|
3026
|
+
cell_id: string;
|
|
2131
3027
|
api_key?: string | undefined;
|
|
2132
|
-
page?: number | undefined;
|
|
2133
|
-
per_page?: number | undefined;
|
|
2134
|
-
name?: string | undefined;
|
|
2135
|
-
include_runs?: boolean | undefined;
|
|
2136
3028
|
}, {
|
|
2137
|
-
|
|
3029
|
+
table_id: string;
|
|
3030
|
+
sheet_id: string;
|
|
3031
|
+
cell_id: string;
|
|
2138
3032
|
api_key?: string | undefined;
|
|
2139
|
-
page?: number | undefined;
|
|
2140
|
-
per_page?: number | undefined;
|
|
2141
|
-
name?: string | undefined;
|
|
2142
|
-
include_runs?: boolean | undefined;
|
|
2143
3033
|
}>;
|
|
2144
3034
|
readonly annotations: {
|
|
2145
3035
|
readonly readOnlyHint: true;
|
|
2146
3036
|
};
|
|
2147
3037
|
};
|
|
2148
|
-
readonly "
|
|
2149
|
-
readonly name: "
|
|
2150
|
-
readonly description: "
|
|
3038
|
+
readonly "update-smart-table-cell": {
|
|
3039
|
+
readonly name: "update-smart-table-cell";
|
|
3040
|
+
readonly description: "Update a Smart Table text cell. Computed cells should be recalculated instead.";
|
|
2151
3041
|
readonly inputSchema: z.ZodObject<{
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
3042
|
+
table_id: z.ZodString;
|
|
3043
|
+
sheet_id: z.ZodString;
|
|
3044
|
+
cell_id: z.ZodString;
|
|
3045
|
+
display_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3046
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2155
3047
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2156
3048
|
}, "strip", z.ZodTypeAny, {
|
|
2157
|
-
|
|
3049
|
+
table_id: string;
|
|
3050
|
+
sheet_id: string;
|
|
3051
|
+
cell_id: string;
|
|
3052
|
+
value?: unknown;
|
|
2158
3053
|
api_key?: string | undefined;
|
|
2159
|
-
|
|
2160
|
-
per_page?: number | undefined;
|
|
3054
|
+
display_value?: string | null | undefined;
|
|
2161
3055
|
}, {
|
|
2162
|
-
|
|
3056
|
+
table_id: string;
|
|
3057
|
+
sheet_id: string;
|
|
3058
|
+
cell_id: string;
|
|
3059
|
+
value?: unknown;
|
|
2163
3060
|
api_key?: string | undefined;
|
|
2164
|
-
|
|
2165
|
-
per_page?: number | undefined;
|
|
3061
|
+
display_value?: string | null | undefined;
|
|
2166
3062
|
}>;
|
|
2167
3063
|
readonly annotations: {
|
|
2168
|
-
readonly readOnlyHint:
|
|
3064
|
+
readonly readOnlyHint: false;
|
|
2169
3065
|
};
|
|
2170
3066
|
};
|
|
2171
|
-
readonly "
|
|
2172
|
-
readonly name: "
|
|
2173
|
-
readonly description: "
|
|
3067
|
+
readonly "recalculate-smart-table-cell": {
|
|
3068
|
+
readonly name: "recalculate-smart-table-cell";
|
|
3069
|
+
readonly description: "Queue recalculation for one Smart Table computed cell.";
|
|
2174
3070
|
readonly inputSchema: z.ZodObject<{
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
dataset_version_number: z.ZodOptional<z.ZodNumber>;
|
|
2179
|
-
columns: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
2180
|
-
score_configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3071
|
+
table_id: z.ZodString;
|
|
3072
|
+
sheet_id: z.ZodString;
|
|
3073
|
+
cell_id: z.ZodString;
|
|
2181
3074
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2182
3075
|
}, "strip", z.ZodTypeAny, {
|
|
2183
|
-
|
|
3076
|
+
table_id: string;
|
|
3077
|
+
sheet_id: string;
|
|
3078
|
+
cell_id: string;
|
|
2184
3079
|
api_key?: string | undefined;
|
|
2185
|
-
name?: string | undefined;
|
|
2186
|
-
folder_id?: number | undefined;
|
|
2187
|
-
dataset_version_number?: number | undefined;
|
|
2188
|
-
columns?: Record<string, unknown>[] | undefined;
|
|
2189
|
-
score_configuration?: Record<string, unknown> | undefined;
|
|
2190
3080
|
}, {
|
|
2191
|
-
|
|
3081
|
+
table_id: string;
|
|
3082
|
+
sheet_id: string;
|
|
3083
|
+
cell_id: string;
|
|
2192
3084
|
api_key?: string | undefined;
|
|
2193
|
-
name?: string | undefined;
|
|
2194
|
-
folder_id?: number | undefined;
|
|
2195
|
-
dataset_version_number?: number | undefined;
|
|
2196
|
-
columns?: Record<string, unknown>[] | undefined;
|
|
2197
|
-
score_configuration?: Record<string, unknown> | undefined;
|
|
2198
3085
|
}>;
|
|
2199
3086
|
readonly annotations: {
|
|
2200
3087
|
readonly readOnlyHint: false;
|
|
2201
3088
|
};
|
|
2202
3089
|
};
|
|
2203
|
-
readonly "
|
|
2204
|
-
readonly name: "
|
|
2205
|
-
readonly description: "
|
|
3090
|
+
readonly "recalculate-smart-table-cells": {
|
|
3091
|
+
readonly name: "recalculate-smart-table-cells";
|
|
3092
|
+
readonly description: "Queue recalculation for multiple Smart Table computed cells.";
|
|
2206
3093
|
readonly inputSchema: z.ZodObject<{
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
refresh_dataset: z.ZodOptional<z.ZodBoolean>;
|
|
3094
|
+
table_id: z.ZodString;
|
|
3095
|
+
sheet_id: z.ZodString;
|
|
3096
|
+
cell_ids: z.ZodArray<z.ZodString, "many">;
|
|
2211
3097
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2212
3098
|
}, "strip", z.ZodTypeAny, {
|
|
2213
|
-
|
|
2214
|
-
|
|
3099
|
+
table_id: string;
|
|
3100
|
+
sheet_id: string;
|
|
3101
|
+
cell_ids: string[];
|
|
2215
3102
|
api_key?: string | undefined;
|
|
2216
|
-
dataset_id?: number | undefined;
|
|
2217
|
-
refresh_dataset?: boolean | undefined;
|
|
2218
3103
|
}, {
|
|
2219
|
-
|
|
2220
|
-
|
|
3104
|
+
table_id: string;
|
|
3105
|
+
sheet_id: string;
|
|
3106
|
+
cell_ids: string[];
|
|
3107
|
+
api_key?: string | undefined;
|
|
3108
|
+
}>;
|
|
3109
|
+
readonly annotations: {
|
|
3110
|
+
readonly readOnlyHint: false;
|
|
3111
|
+
};
|
|
3112
|
+
};
|
|
3113
|
+
readonly "list-smart-table-operations": {
|
|
3114
|
+
readonly name: "list-smart-table-operations";
|
|
3115
|
+
readonly description: "List active Smart Table sheet operations and cell status counts.";
|
|
3116
|
+
readonly inputSchema: z.ZodObject<{
|
|
3117
|
+
table_id: z.ZodString;
|
|
3118
|
+
sheet_id: z.ZodString;
|
|
3119
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
}, "strip", z.ZodTypeAny, {
|
|
3121
|
+
table_id: string;
|
|
3122
|
+
sheet_id: string;
|
|
2221
3123
|
api_key?: string | undefined;
|
|
2222
|
-
|
|
2223
|
-
|
|
3124
|
+
}, {
|
|
3125
|
+
table_id: string;
|
|
3126
|
+
sheet_id: string;
|
|
3127
|
+
api_key?: string | undefined;
|
|
3128
|
+
}>;
|
|
3129
|
+
readonly annotations: {
|
|
3130
|
+
readonly readOnlyHint: true;
|
|
3131
|
+
};
|
|
3132
|
+
};
|
|
3133
|
+
readonly "create-smart-table-operation": {
|
|
3134
|
+
readonly name: "create-smart-table-operation";
|
|
3135
|
+
readonly description: string;
|
|
3136
|
+
readonly inputSchema: z.ZodObject<{
|
|
3137
|
+
table_id: z.ZodString;
|
|
3138
|
+
sheet_id: z.ZodString;
|
|
3139
|
+
operation: z.ZodOptional<z.ZodEnum<["recalculate"]>>;
|
|
3140
|
+
column_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3141
|
+
row_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3142
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["STALE", "QUEUED", "DISPATCHED", "RUNNING", "COMPLETED", "FAILED"]>, "many">>;
|
|
3143
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
}, "strip", z.ZodTypeAny, {
|
|
3145
|
+
table_id: string;
|
|
3146
|
+
sheet_id: string;
|
|
3147
|
+
api_key?: string | undefined;
|
|
3148
|
+
operation?: "recalculate" | undefined;
|
|
3149
|
+
column_ids?: string[] | undefined;
|
|
3150
|
+
row_ids?: number[] | undefined;
|
|
3151
|
+
statuses?: ("STALE" | "QUEUED" | "DISPATCHED" | "RUNNING" | "COMPLETED" | "FAILED")[] | undefined;
|
|
3152
|
+
}, {
|
|
3153
|
+
table_id: string;
|
|
3154
|
+
sheet_id: string;
|
|
3155
|
+
api_key?: string | undefined;
|
|
3156
|
+
operation?: "recalculate" | undefined;
|
|
3157
|
+
column_ids?: string[] | undefined;
|
|
3158
|
+
row_ids?: number[] | undefined;
|
|
3159
|
+
statuses?: ("STALE" | "QUEUED" | "DISPATCHED" | "RUNNING" | "COMPLETED" | "FAILED")[] | undefined;
|
|
2224
3160
|
}>;
|
|
2225
3161
|
readonly annotations: {
|
|
2226
3162
|
readonly readOnlyHint: false;
|
|
2227
3163
|
};
|
|
2228
3164
|
};
|
|
2229
|
-
readonly "get-
|
|
2230
|
-
readonly name: "get-
|
|
2231
|
-
readonly description: "Get
|
|
3165
|
+
readonly "get-smart-table-operation": {
|
|
3166
|
+
readonly name: "get-smart-table-operation";
|
|
3167
|
+
readonly description: "Get status for a Smart Table sheet operation.";
|
|
2232
3168
|
readonly inputSchema: z.ZodObject<{
|
|
2233
|
-
|
|
3169
|
+
table_id: z.ZodString;
|
|
3170
|
+
sheet_id: z.ZodString;
|
|
3171
|
+
operation_id: z.ZodString;
|
|
2234
3172
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2235
3173
|
}, "strip", z.ZodTypeAny, {
|
|
2236
|
-
|
|
3174
|
+
table_id: string;
|
|
3175
|
+
operation_id: string;
|
|
3176
|
+
sheet_id: string;
|
|
2237
3177
|
api_key?: string | undefined;
|
|
2238
3178
|
}, {
|
|
2239
|
-
|
|
3179
|
+
table_id: string;
|
|
3180
|
+
operation_id: string;
|
|
3181
|
+
sheet_id: string;
|
|
2240
3182
|
api_key?: string | undefined;
|
|
2241
3183
|
}>;
|
|
2242
3184
|
readonly annotations: {
|
|
2243
3185
|
readonly readOnlyHint: true;
|
|
2244
3186
|
};
|
|
2245
3187
|
};
|
|
2246
|
-
readonly "
|
|
2247
|
-
readonly name: "
|
|
2248
|
-
readonly description: "
|
|
3188
|
+
readonly "cancel-smart-table-operation": {
|
|
3189
|
+
readonly name: "cancel-smart-table-operation";
|
|
3190
|
+
readonly description: "Cancel an active Smart Table sheet operation.";
|
|
3191
|
+
readonly inputSchema: z.ZodObject<{
|
|
3192
|
+
table_id: z.ZodString;
|
|
3193
|
+
sheet_id: z.ZodString;
|
|
3194
|
+
operation_id: z.ZodString;
|
|
3195
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3196
|
+
}, "strip", z.ZodTypeAny, {
|
|
3197
|
+
table_id: string;
|
|
3198
|
+
operation_id: string;
|
|
3199
|
+
sheet_id: string;
|
|
3200
|
+
api_key?: string | undefined;
|
|
3201
|
+
}, {
|
|
3202
|
+
table_id: string;
|
|
3203
|
+
operation_id: string;
|
|
3204
|
+
sheet_id: string;
|
|
3205
|
+
api_key?: string | undefined;
|
|
3206
|
+
}>;
|
|
3207
|
+
readonly annotations: {
|
|
3208
|
+
readonly readOnlyHint: false;
|
|
3209
|
+
};
|
|
3210
|
+
};
|
|
3211
|
+
readonly "get-smart-table-score": {
|
|
3212
|
+
readonly name: "get-smart-table-score";
|
|
3213
|
+
readonly description: string;
|
|
2249
3214
|
readonly inputSchema: z.ZodObject<{
|
|
2250
|
-
|
|
3215
|
+
table_id: z.ZodString;
|
|
3216
|
+
sheet_id: z.ZodString;
|
|
2251
3217
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2252
3218
|
}, "strip", z.ZodTypeAny, {
|
|
2253
|
-
|
|
3219
|
+
table_id: string;
|
|
3220
|
+
sheet_id: string;
|
|
2254
3221
|
api_key?: string | undefined;
|
|
2255
3222
|
}, {
|
|
2256
|
-
|
|
3223
|
+
table_id: string;
|
|
3224
|
+
sheet_id: string;
|
|
2257
3225
|
api_key?: string | undefined;
|
|
2258
3226
|
}>;
|
|
2259
3227
|
readonly annotations: {
|
|
2260
3228
|
readonly readOnlyHint: true;
|
|
2261
3229
|
};
|
|
2262
3230
|
};
|
|
2263
|
-
readonly "
|
|
2264
|
-
readonly name: "
|
|
2265
|
-
readonly description:
|
|
3231
|
+
readonly "configure-smart-table-score": {
|
|
3232
|
+
readonly name: "configure-smart-table-score";
|
|
3233
|
+
readonly description: string;
|
|
2266
3234
|
readonly inputSchema: z.ZodObject<{
|
|
2267
|
-
|
|
2268
|
-
|
|
3235
|
+
table_id: z.ZodString;
|
|
3236
|
+
sheet_id: z.ZodString;
|
|
3237
|
+
score_type: z.ZodOptional<z.ZodEnum<["auto", "boolean", "numeric", "custom"]>>;
|
|
3238
|
+
score_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3239
|
+
column_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3240
|
+
column_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2269
3241
|
code: z.ZodOptional<z.ZodString>;
|
|
2270
3242
|
code_language: z.ZodOptional<z.ZodEnum<["PYTHON", "JAVASCRIPT"]>>;
|
|
3243
|
+
true_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3244
|
+
false_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3245
|
+
assertion_aggregation: z.ZodOptional<z.ZodEnum<["all", "any", "mean"]>>;
|
|
2271
3246
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2272
3247
|
}, "strip", z.ZodTypeAny, {
|
|
2273
|
-
|
|
2274
|
-
|
|
3248
|
+
table_id: string;
|
|
3249
|
+
sheet_id: string;
|
|
2275
3250
|
code?: string | undefined;
|
|
2276
3251
|
api_key?: string | undefined;
|
|
3252
|
+
column_ids?: string[] | undefined;
|
|
3253
|
+
score_type?: "boolean" | "custom" | "auto" | "numeric" | undefined;
|
|
3254
|
+
score_config?: Record<string, unknown> | undefined;
|
|
3255
|
+
column_names?: string[] | undefined;
|
|
2277
3256
|
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
3257
|
+
true_values?: string[] | undefined;
|
|
3258
|
+
false_values?: string[] | undefined;
|
|
3259
|
+
assertion_aggregation?: "all" | "any" | "mean" | undefined;
|
|
2278
3260
|
}, {
|
|
2279
|
-
|
|
2280
|
-
|
|
3261
|
+
table_id: string;
|
|
3262
|
+
sheet_id: string;
|
|
2281
3263
|
code?: string | undefined;
|
|
2282
3264
|
api_key?: string | undefined;
|
|
3265
|
+
column_ids?: string[] | undefined;
|
|
3266
|
+
score_type?: "boolean" | "custom" | "auto" | "numeric" | undefined;
|
|
3267
|
+
score_config?: Record<string, unknown> | undefined;
|
|
3268
|
+
column_names?: string[] | undefined;
|
|
2283
3269
|
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
3270
|
+
true_values?: string[] | undefined;
|
|
3271
|
+
false_values?: string[] | undefined;
|
|
3272
|
+
assertion_aggregation?: "all" | "any" | "mean" | undefined;
|
|
2284
3273
|
}>;
|
|
2285
3274
|
readonly annotations: {
|
|
2286
3275
|
readonly readOnlyHint: false;
|
|
2287
3276
|
};
|
|
2288
3277
|
};
|
|
2289
|
-
readonly "
|
|
2290
|
-
readonly name: "
|
|
2291
|
-
readonly description: "
|
|
3278
|
+
readonly "recalculate-smart-table-score": {
|
|
3279
|
+
readonly name: "recalculate-smart-table-score";
|
|
3280
|
+
readonly description: "Recompute the aggregate score for a Smart Table sheet.";
|
|
2292
3281
|
readonly inputSchema: z.ZodObject<{
|
|
2293
|
-
|
|
3282
|
+
table_id: z.ZodString;
|
|
3283
|
+
sheet_id: z.ZodString;
|
|
2294
3284
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2295
3285
|
}, "strip", z.ZodTypeAny, {
|
|
2296
|
-
|
|
3286
|
+
table_id: string;
|
|
3287
|
+
sheet_id: string;
|
|
2297
3288
|
api_key?: string | undefined;
|
|
2298
3289
|
}, {
|
|
2299
|
-
|
|
3290
|
+
table_id: string;
|
|
3291
|
+
sheet_id: string;
|
|
2300
3292
|
api_key?: string | undefined;
|
|
2301
3293
|
}>;
|
|
2302
3294
|
readonly annotations: {
|
|
2303
3295
|
readonly readOnlyHint: false;
|
|
2304
3296
|
};
|
|
2305
3297
|
};
|
|
2306
|
-
readonly "
|
|
2307
|
-
readonly name: "
|
|
2308
|
-
readonly description:
|
|
3298
|
+
readonly "list-smart-table-versions": {
|
|
3299
|
+
readonly name: "list-smart-table-versions";
|
|
3300
|
+
readonly description: string;
|
|
2309
3301
|
readonly inputSchema: z.ZodObject<{
|
|
2310
|
-
|
|
3302
|
+
sort: z.ZodOptional<z.ZodEnum<["version_number"]>>;
|
|
3303
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2311
3304
|
api_key: z.ZodOptional<z.ZodString>;
|
|
3305
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
3306
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3307
|
+
table_id: z.ZodString;
|
|
3308
|
+
sheet_id: z.ZodString;
|
|
2312
3309
|
}, "strip", z.ZodTypeAny, {
|
|
2313
|
-
|
|
3310
|
+
table_id: string;
|
|
3311
|
+
sheet_id: string;
|
|
3312
|
+
sort?: "version_number" | undefined;
|
|
2314
3313
|
api_key?: string | undefined;
|
|
3314
|
+
limit?: number | undefined;
|
|
3315
|
+
order?: "asc" | "desc" | undefined;
|
|
3316
|
+
cursor?: string | undefined;
|
|
2315
3317
|
}, {
|
|
2316
|
-
|
|
3318
|
+
table_id: string;
|
|
3319
|
+
sheet_id: string;
|
|
3320
|
+
sort?: "version_number" | undefined;
|
|
2317
3321
|
api_key?: string | undefined;
|
|
3322
|
+
limit?: number | undefined;
|
|
3323
|
+
order?: "asc" | "desc" | undefined;
|
|
3324
|
+
cursor?: string | undefined;
|
|
2318
3325
|
}>;
|
|
2319
3326
|
readonly annotations: {
|
|
2320
|
-
readonly readOnlyHint:
|
|
3327
|
+
readonly readOnlyHint: true;
|
|
3328
|
+
};
|
|
3329
|
+
};
|
|
3330
|
+
readonly "get-smart-table-version": {
|
|
3331
|
+
readonly name: "get-smart-table-version";
|
|
3332
|
+
readonly description: "Get a saved Smart Table sheet version, including its full snapshot of cell values.";
|
|
3333
|
+
readonly inputSchema: z.ZodObject<{
|
|
3334
|
+
table_id: z.ZodString;
|
|
3335
|
+
sheet_id: z.ZodString;
|
|
3336
|
+
version_id: z.ZodString;
|
|
3337
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3338
|
+
}, "strip", z.ZodTypeAny, {
|
|
3339
|
+
table_id: string;
|
|
3340
|
+
sheet_id: string;
|
|
3341
|
+
version_id: string;
|
|
3342
|
+
api_key?: string | undefined;
|
|
3343
|
+
}, {
|
|
3344
|
+
table_id: string;
|
|
3345
|
+
sheet_id: string;
|
|
3346
|
+
version_id: string;
|
|
3347
|
+
api_key?: string | undefined;
|
|
3348
|
+
}>;
|
|
3349
|
+
readonly annotations: {
|
|
3350
|
+
readonly readOnlyHint: true;
|
|
2321
3351
|
};
|
|
2322
3352
|
};
|
|
2323
|
-
readonly "
|
|
2324
|
-
readonly name: "
|
|
2325
|
-
readonly description:
|
|
3353
|
+
readonly "create-smart-table-version": {
|
|
3354
|
+
readonly name: "create-smart-table-version";
|
|
3355
|
+
readonly description: string;
|
|
2326
3356
|
readonly inputSchema: z.ZodObject<{
|
|
2327
|
-
|
|
3357
|
+
table_id: z.ZodString;
|
|
3358
|
+
sheet_id: z.ZodString;
|
|
2328
3359
|
name: z.ZodOptional<z.ZodString>;
|
|
2329
|
-
|
|
3360
|
+
source_version_id: z.ZodOptional<z.ZodString>;
|
|
2330
3361
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2331
3362
|
}, "strip", z.ZodTypeAny, {
|
|
2332
|
-
|
|
3363
|
+
table_id: string;
|
|
3364
|
+
sheet_id: string;
|
|
2333
3365
|
api_key?: string | undefined;
|
|
2334
3366
|
name?: string | undefined;
|
|
2335
|
-
|
|
3367
|
+
source_version_id?: string | undefined;
|
|
2336
3368
|
}, {
|
|
2337
|
-
|
|
3369
|
+
table_id: string;
|
|
3370
|
+
sheet_id: string;
|
|
2338
3371
|
api_key?: string | undefined;
|
|
2339
3372
|
name?: string | undefined;
|
|
2340
|
-
|
|
3373
|
+
source_version_id?: string | undefined;
|
|
2341
3374
|
}>;
|
|
2342
3375
|
readonly annotations: {
|
|
2343
3376
|
readonly readOnlyHint: false;
|
|
2344
3377
|
};
|
|
2345
3378
|
};
|
|
2346
|
-
readonly "
|
|
2347
|
-
readonly name: "
|
|
2348
|
-
readonly description:
|
|
3379
|
+
readonly "get-smart-table-score-history": {
|
|
3380
|
+
readonly name: "get-smart-table-score-history";
|
|
3381
|
+
readonly description: string;
|
|
2349
3382
|
readonly inputSchema: z.ZodObject<{
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
is_part_of_score: z.ZodOptional<z.ZodBoolean>;
|
|
3383
|
+
table_id: z.ZodString;
|
|
3384
|
+
sheet_id: z.ZodString;
|
|
3385
|
+
max_points: z.ZodOptional<z.ZodNumber>;
|
|
3386
|
+
range: z.ZodOptional<z.ZodString>;
|
|
3387
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
2356
3388
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2357
3389
|
}, "strip", z.ZodTypeAny, {
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
column_type: string;
|
|
2361
|
-
configuration: Record<string, unknown>;
|
|
3390
|
+
table_id: string;
|
|
3391
|
+
sheet_id: string;
|
|
2362
3392
|
api_key?: string | undefined;
|
|
2363
|
-
|
|
2364
|
-
|
|
3393
|
+
max_points?: number | undefined;
|
|
3394
|
+
range?: string | undefined;
|
|
3395
|
+
resolution?: string | undefined;
|
|
2365
3396
|
}, {
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
column_type: string;
|
|
2369
|
-
configuration: Record<string, unknown>;
|
|
3397
|
+
table_id: string;
|
|
3398
|
+
sheet_id: string;
|
|
2370
3399
|
api_key?: string | undefined;
|
|
2371
|
-
|
|
2372
|
-
|
|
3400
|
+
max_points?: number | undefined;
|
|
3401
|
+
range?: string | undefined;
|
|
3402
|
+
resolution?: string | undefined;
|
|
2373
3403
|
}>;
|
|
2374
3404
|
readonly annotations: {
|
|
2375
|
-
readonly readOnlyHint:
|
|
3405
|
+
readonly readOnlyHint: true;
|
|
2376
3406
|
};
|
|
2377
3407
|
};
|
|
2378
|
-
readonly "
|
|
2379
|
-
readonly name: "
|
|
2380
|
-
readonly description: "
|
|
3408
|
+
readonly "list-legacy-smart-table-migrations": {
|
|
3409
|
+
readonly name: "list-legacy-smart-table-migrations";
|
|
3410
|
+
readonly description: "List successful legacy dataset/evaluation to Smart Table migration mappings.";
|
|
2381
3411
|
readonly inputSchema: z.ZodObject<{
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
column_type: z.ZodString;
|
|
2385
|
-
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2386
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2387
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
3412
|
+
source_type: z.ZodOptional<z.ZodEnum<["dataset_group", "dataset", "report"]>>;
|
|
3413
|
+
source_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
2388
3414
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2389
3415
|
}, "strip", z.ZodTypeAny, {
|
|
2390
|
-
report_id: number;
|
|
2391
|
-
column_type: string;
|
|
2392
|
-
report_column_id: number;
|
|
2393
3416
|
api_key?: string | undefined;
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
position?: number | undefined;
|
|
3417
|
+
source_type?: "dataset_group" | "dataset" | "report" | undefined;
|
|
3418
|
+
source_id?: number | number[] | undefined;
|
|
2397
3419
|
}, {
|
|
2398
|
-
report_id: number;
|
|
2399
|
-
column_type: string;
|
|
2400
|
-
report_column_id: number;
|
|
2401
3420
|
api_key?: string | undefined;
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
position?: number | undefined;
|
|
3421
|
+
source_type?: "dataset_group" | "dataset" | "report" | undefined;
|
|
3422
|
+
source_id?: number | number[] | undefined;
|
|
2405
3423
|
}>;
|
|
2406
3424
|
readonly annotations: {
|
|
2407
|
-
readonly readOnlyHint:
|
|
3425
|
+
readonly readOnlyHint: true;
|
|
3426
|
+
};
|
|
3427
|
+
};
|
|
3428
|
+
readonly "preview-legacy-smart-table-migration": {
|
|
3429
|
+
readonly name: "preview-legacy-smart-table-migration";
|
|
3430
|
+
readonly description: "Preview conversion of a legacy dataset group, dataset, or report into a Smart Table.";
|
|
3431
|
+
readonly inputSchema: z.ZodObject<{
|
|
3432
|
+
source_type: z.ZodEnum<["dataset_group", "dataset", "report"]>;
|
|
3433
|
+
source_id: z.ZodNumber;
|
|
3434
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3435
|
+
}, "strip", z.ZodTypeAny, {
|
|
3436
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
3437
|
+
source_id: number;
|
|
3438
|
+
api_key?: string | undefined;
|
|
3439
|
+
}, {
|
|
3440
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
3441
|
+
source_id: number;
|
|
3442
|
+
api_key?: string | undefined;
|
|
3443
|
+
}>;
|
|
3444
|
+
readonly annotations: {
|
|
3445
|
+
readonly readOnlyHint: true;
|
|
2408
3446
|
};
|
|
2409
3447
|
};
|
|
2410
|
-
readonly "
|
|
2411
|
-
readonly name: "
|
|
2412
|
-
readonly description: "
|
|
3448
|
+
readonly "migrate-legacy-to-smart-table": {
|
|
3449
|
+
readonly name: "migrate-legacy-to-smart-table";
|
|
3450
|
+
readonly description: "Start or dry-run conversion of a legacy dataset group, dataset, or report into a Smart Table.";
|
|
2413
3451
|
readonly inputSchema: z.ZodObject<{
|
|
2414
|
-
|
|
3452
|
+
source_type: z.ZodEnum<["dataset_group", "dataset", "report"]>;
|
|
3453
|
+
source_id: z.ZodNumber;
|
|
3454
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
3455
|
+
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
3456
|
+
resume: z.ZodOptional<z.ZodBoolean>;
|
|
3457
|
+
continue_on_error: z.ZodOptional<z.ZodBoolean>;
|
|
3458
|
+
include_reports_with_missing_datasets: z.ZodOptional<z.ZodBoolean>;
|
|
3459
|
+
max_version_snapshot_cells: z.ZodOptional<z.ZodNumber>;
|
|
3460
|
+
report_preview_row_limit: z.ZodOptional<z.ZodNumber>;
|
|
2415
3461
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2416
3462
|
}, "strip", z.ZodTypeAny, {
|
|
2417
|
-
|
|
3463
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
3464
|
+
source_id: number;
|
|
2418
3465
|
api_key?: string | undefined;
|
|
3466
|
+
force?: boolean | undefined;
|
|
3467
|
+
dry_run?: boolean | undefined;
|
|
3468
|
+
resume?: boolean | undefined;
|
|
3469
|
+
continue_on_error?: boolean | undefined;
|
|
3470
|
+
include_reports_with_missing_datasets?: boolean | undefined;
|
|
3471
|
+
max_version_snapshot_cells?: number | undefined;
|
|
3472
|
+
report_preview_row_limit?: number | undefined;
|
|
2419
3473
|
}, {
|
|
2420
|
-
|
|
3474
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
3475
|
+
source_id: number;
|
|
2421
3476
|
api_key?: string | undefined;
|
|
3477
|
+
force?: boolean | undefined;
|
|
3478
|
+
dry_run?: boolean | undefined;
|
|
3479
|
+
resume?: boolean | undefined;
|
|
3480
|
+
continue_on_error?: boolean | undefined;
|
|
3481
|
+
include_reports_with_missing_datasets?: boolean | undefined;
|
|
3482
|
+
max_version_snapshot_cells?: number | undefined;
|
|
3483
|
+
report_preview_row_limit?: number | undefined;
|
|
2422
3484
|
}>;
|
|
2423
3485
|
readonly annotations: {
|
|
2424
3486
|
readonly readOnlyHint: false;
|
|
2425
3487
|
};
|
|
2426
3488
|
};
|
|
3489
|
+
readonly "get-legacy-smart-table-migration-job": {
|
|
3490
|
+
readonly name: "get-legacy-smart-table-migration-job";
|
|
3491
|
+
readonly description: "Get status and result details for a legacy Smart Table migration job.";
|
|
3492
|
+
readonly inputSchema: z.ZodObject<{
|
|
3493
|
+
job_id: z.ZodString;
|
|
3494
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3495
|
+
}, "strip", z.ZodTypeAny, {
|
|
3496
|
+
job_id: string;
|
|
3497
|
+
api_key?: string | undefined;
|
|
3498
|
+
}, {
|
|
3499
|
+
job_id: string;
|
|
3500
|
+
api_key?: string | undefined;
|
|
3501
|
+
}>;
|
|
3502
|
+
readonly annotations: {
|
|
3503
|
+
readonly readOnlyHint: true;
|
|
3504
|
+
};
|
|
3505
|
+
};
|
|
2427
3506
|
readonly "list-workflows": {
|
|
2428
3507
|
readonly name: "list-workflows";
|
|
2429
3508
|
readonly description: "List all agents (called 'workflows' in the API) in the workspace with pagination.";
|
|
@@ -2808,6 +3887,74 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2808
3887
|
readonly readOnlyHint: false;
|
|
2809
3888
|
};
|
|
2810
3889
|
};
|
|
3890
|
+
readonly "list-workspace-env-vars": {
|
|
3891
|
+
readonly name: "list-workspace-env-vars";
|
|
3892
|
+
readonly description: "List workspace-scoped environment variables. Returned values are masked (only `value_suffix` — last 4 chars). Workspace vars auto-inject into every auto-executing tool in this workspace; tool-scoped vars override them on the same key.";
|
|
3893
|
+
readonly inputSchema: z.ZodObject<{
|
|
3894
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3895
|
+
}, "strip", z.ZodTypeAny, {
|
|
3896
|
+
api_key?: string | undefined;
|
|
3897
|
+
}, {
|
|
3898
|
+
api_key?: string | undefined;
|
|
3899
|
+
}>;
|
|
3900
|
+
readonly annotations: {
|
|
3901
|
+
readonly readOnlyHint: true;
|
|
3902
|
+
};
|
|
3903
|
+
};
|
|
3904
|
+
readonly "create-workspace-env-var": {
|
|
3905
|
+
readonly name: "create-workspace-env-var";
|
|
3906
|
+
readonly description: "Scaffold a workspace-scoped environment variable placeholder. Auto-injected into every auto-executing tool in this workspace. The value is always created empty; the user fills in the real value via Settings, Environment Variables. Key must match ^[A-Za-z_][A-Za-z0-9_]*$ and not collide with reserved runtime names.";
|
|
3907
|
+
readonly inputSchema: z.ZodObject<{
|
|
3908
|
+
key: z.ZodString;
|
|
3909
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3910
|
+
}, "strip", z.ZodTypeAny, {
|
|
3911
|
+
key: string;
|
|
3912
|
+
api_key?: string | undefined;
|
|
3913
|
+
}, {
|
|
3914
|
+
key: string;
|
|
3915
|
+
api_key?: string | undefined;
|
|
3916
|
+
}>;
|
|
3917
|
+
readonly annotations: {
|
|
3918
|
+
readonly readOnlyHint: false;
|
|
3919
|
+
};
|
|
3920
|
+
};
|
|
3921
|
+
readonly "list-tool-env-vars": {
|
|
3922
|
+
readonly name: "list-tool-env-vars";
|
|
3923
|
+
readonly description: "List tool-scoped environment variables for a specific tool (by ID or name). Returned values are masked (only `value_suffix`). Tool-scoped vars override workspace-scoped vars on the same key during sandbox execution.";
|
|
3924
|
+
readonly inputSchema: z.ZodObject<{
|
|
3925
|
+
identifier: z.ZodString;
|
|
3926
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3927
|
+
}, "strip", z.ZodTypeAny, {
|
|
3928
|
+
identifier: string;
|
|
3929
|
+
api_key?: string | undefined;
|
|
3930
|
+
}, {
|
|
3931
|
+
identifier: string;
|
|
3932
|
+
api_key?: string | undefined;
|
|
3933
|
+
}>;
|
|
3934
|
+
readonly annotations: {
|
|
3935
|
+
readonly readOnlyHint: true;
|
|
3936
|
+
};
|
|
3937
|
+
};
|
|
3938
|
+
readonly "create-tool-env-var": {
|
|
3939
|
+
readonly name: "create-tool-env-var";
|
|
3940
|
+
readonly description: "Scaffold a tool-scoped environment variable placeholder on a specific tool. Auto-injected only into THIS tool's sandbox execution and overrides any workspace-scoped var with the same key. The value is always created empty; the user fills in the real value via Settings.";
|
|
3941
|
+
readonly inputSchema: z.ZodObject<{
|
|
3942
|
+
identifier: z.ZodString;
|
|
3943
|
+
key: z.ZodString;
|
|
3944
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
}, "strip", z.ZodTypeAny, {
|
|
3946
|
+
identifier: string;
|
|
3947
|
+
key: string;
|
|
3948
|
+
api_key?: string | undefined;
|
|
3949
|
+
}, {
|
|
3950
|
+
identifier: string;
|
|
3951
|
+
key: string;
|
|
3952
|
+
api_key?: string | undefined;
|
|
3953
|
+
}>;
|
|
3954
|
+
readonly annotations: {
|
|
3955
|
+
readonly readOnlyHint: false;
|
|
3956
|
+
};
|
|
3957
|
+
};
|
|
2811
3958
|
readonly "create-folder": {
|
|
2812
3959
|
readonly name: "create-folder";
|
|
2813
3960
|
readonly description: "Create a folder for organizing resources. Nest with parent_id. Names unique within parent.";
|