pptx-viewer-mcp 1.1.26 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codec/index.d.mts +5 -0
- package/dist/codec/index.d.ts +5 -0
- package/dist/index.d.mts +378 -2
- package/dist/index.d.ts +378 -2
- package/dist/index.js +968 -0
- package/dist/index.mjs +942 -2
- package/dist/mcp/index.js +1621 -106
- package/dist/mcp/index.mjs +1622 -107
- package/dist/schemas/index.d.mts +280 -1
- package/dist/schemas/index.d.ts +280 -1
- package/dist/schemas/index.js +261 -0
- package/dist/schemas/index.mjs +236 -1
- package/package.json +1 -1
package/dist/schemas/index.d.mts
CHANGED
|
@@ -294,4 +294,283 @@ declare const ManageCommentsSchema: z.ZodObject<{
|
|
|
294
294
|
includeResolved: z.ZodOptional<z.ZodBoolean>;
|
|
295
295
|
}, z.core.$strip>;
|
|
296
296
|
|
|
297
|
-
|
|
297
|
+
declare const GetThemeInfoSchema: z.ZodObject<{
|
|
298
|
+
filePath: z.ZodString;
|
|
299
|
+
}, z.core.$strip>;
|
|
300
|
+
declare const ApplyThemePresetSchema: z.ZodObject<{
|
|
301
|
+
filePath: z.ZodString;
|
|
302
|
+
presetName: z.ZodString;
|
|
303
|
+
}, z.core.$strip>;
|
|
304
|
+
declare const UpdateThemeColorsSchema: z.ZodObject<{
|
|
305
|
+
filePath: z.ZodString;
|
|
306
|
+
dk1: z.ZodOptional<z.ZodString>;
|
|
307
|
+
lt1: z.ZodOptional<z.ZodString>;
|
|
308
|
+
dk2: z.ZodOptional<z.ZodString>;
|
|
309
|
+
lt2: z.ZodOptional<z.ZodString>;
|
|
310
|
+
accent1: z.ZodOptional<z.ZodString>;
|
|
311
|
+
accent2: z.ZodOptional<z.ZodString>;
|
|
312
|
+
accent3: z.ZodOptional<z.ZodString>;
|
|
313
|
+
accent4: z.ZodOptional<z.ZodString>;
|
|
314
|
+
accent5: z.ZodOptional<z.ZodString>;
|
|
315
|
+
accent6: z.ZodOptional<z.ZodString>;
|
|
316
|
+
hlink: z.ZodOptional<z.ZodString>;
|
|
317
|
+
folHlink: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
declare const UpdateThemeFontsSchema: z.ZodObject<{
|
|
320
|
+
filePath: z.ZodString;
|
|
321
|
+
majorFont: z.ZodOptional<z.ZodString>;
|
|
322
|
+
minorFont: z.ZodOptional<z.ZodString>;
|
|
323
|
+
}, z.core.$strip>;
|
|
324
|
+
|
|
325
|
+
declare const UpdateChartSchema: z.ZodObject<{
|
|
326
|
+
filePath: z.ZodString;
|
|
327
|
+
slideIndex: z.ZodNumber;
|
|
328
|
+
elementId: z.ZodString;
|
|
329
|
+
chartType: z.ZodOptional<z.ZodString>;
|
|
330
|
+
title: z.ZodOptional<z.ZodString>;
|
|
331
|
+
grouping: z.ZodOptional<z.ZodEnum<{
|
|
332
|
+
clustered: "clustered";
|
|
333
|
+
stacked: "stacked";
|
|
334
|
+
percentStacked: "percentStacked";
|
|
335
|
+
}>>;
|
|
336
|
+
legend: z.ZodOptional<z.ZodObject<{
|
|
337
|
+
show: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
+
position: z.ZodOptional<z.ZodString>;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
dataLabels: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
show: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
+
showValue: z.ZodOptional<z.ZodBoolean>;
|
|
343
|
+
showCategory: z.ZodOptional<z.ZodBoolean>;
|
|
344
|
+
showSeriesName: z.ZodOptional<z.ZodBoolean>;
|
|
345
|
+
showPercent: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
}, z.core.$strip>>;
|
|
347
|
+
axis: z.ZodOptional<z.ZodObject<{
|
|
348
|
+
type: z.ZodString;
|
|
349
|
+
edit: z.ZodObject<{
|
|
350
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
351
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
352
|
+
majorUnit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
353
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
354
|
+
numberFormat: z.ZodOptional<z.ZodString>;
|
|
355
|
+
majorGridlines: z.ZodOptional<z.ZodBoolean>;
|
|
356
|
+
minorGridlines: z.ZodOptional<z.ZodBoolean>;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
}, z.core.$strip>>;
|
|
359
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
360
|
+
}, z.core.$strip>;
|
|
361
|
+
declare const AddChartSeriesSchema: z.ZodObject<{
|
|
362
|
+
filePath: z.ZodString;
|
|
363
|
+
slideIndex: z.ZodNumber;
|
|
364
|
+
elementId: z.ZodString;
|
|
365
|
+
name: z.ZodString;
|
|
366
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
367
|
+
color: z.ZodOptional<z.ZodString>;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
declare const RemoveChartSeriesSchema: z.ZodObject<{
|
|
370
|
+
filePath: z.ZodString;
|
|
371
|
+
slideIndex: z.ZodNumber;
|
|
372
|
+
elementId: z.ZodString;
|
|
373
|
+
seriesIndex: z.ZodNumber;
|
|
374
|
+
}, z.core.$strip>;
|
|
375
|
+
declare const UpdateChartSeriesDataSchema: z.ZodObject<{
|
|
376
|
+
filePath: z.ZodString;
|
|
377
|
+
slideIndex: z.ZodNumber;
|
|
378
|
+
elementId: z.ZodString;
|
|
379
|
+
seriesIndex: z.ZodNumber;
|
|
380
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
declare const CreateChartSchema: z.ZodObject<{
|
|
383
|
+
filePath: z.ZodString;
|
|
384
|
+
slideIndex: z.ZodNumber;
|
|
385
|
+
chartType: z.ZodString;
|
|
386
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
387
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
389
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
390
|
+
title: z.ZodOptional<z.ZodString>;
|
|
391
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
392
|
+
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
393
|
+
name: z.ZodString;
|
|
394
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
395
|
+
color: z.ZodOptional<z.ZodString>;
|
|
396
|
+
}, z.core.$strip>>>;
|
|
397
|
+
legend: z.ZodOptional<z.ZodObject<{
|
|
398
|
+
show: z.ZodBoolean;
|
|
399
|
+
position: z.ZodOptional<z.ZodString>;
|
|
400
|
+
}, z.core.$strip>>;
|
|
401
|
+
}, z.core.$strip>;
|
|
402
|
+
|
|
403
|
+
declare const ManageSmartArtSchema: z.ZodObject<{
|
|
404
|
+
filePath: z.ZodString;
|
|
405
|
+
slideIndex: z.ZodNumber;
|
|
406
|
+
elementId: z.ZodString;
|
|
407
|
+
action: z.ZodEnum<{
|
|
408
|
+
getNodes: "getNodes";
|
|
409
|
+
addNode: "addNode";
|
|
410
|
+
removeNode: "removeNode";
|
|
411
|
+
updateNodeText: "updateNodeText";
|
|
412
|
+
reorderNode: "reorderNode";
|
|
413
|
+
promoteNode: "promoteNode";
|
|
414
|
+
demoteNode: "demoteNode";
|
|
415
|
+
decompose: "decompose";
|
|
416
|
+
}>;
|
|
417
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
418
|
+
text: z.ZodOptional<z.ZodString>;
|
|
419
|
+
afterNodeId: z.ZodOptional<z.ZodString>;
|
|
420
|
+
direction: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
}, z.core.$strip>;
|
|
422
|
+
|
|
423
|
+
declare const FindPlaceholdersSchema: z.ZodObject<{
|
|
424
|
+
filePath: z.ZodString;
|
|
425
|
+
}, z.core.$strip>;
|
|
426
|
+
declare const ApplyTemplateSchema: z.ZodObject<{
|
|
427
|
+
filePath: z.ZodString;
|
|
428
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
429
|
+
}, z.core.$strip>;
|
|
430
|
+
|
|
431
|
+
declare const GetMetadataSchema: z.ZodObject<{
|
|
432
|
+
filePath: z.ZodString;
|
|
433
|
+
}, z.core.$strip>;
|
|
434
|
+
declare const UpdateMetadataSchema: z.ZodObject<{
|
|
435
|
+
filePath: z.ZodString;
|
|
436
|
+
title: z.ZodOptional<z.ZodString>;
|
|
437
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
438
|
+
creator: z.ZodOptional<z.ZodString>;
|
|
439
|
+
keywords: z.ZodOptional<z.ZodString>;
|
|
440
|
+
description: z.ZodOptional<z.ZodString>;
|
|
441
|
+
lastModifiedBy: z.ZodOptional<z.ZodString>;
|
|
442
|
+
category: z.ZodOptional<z.ZodString>;
|
|
443
|
+
company: z.ZodOptional<z.ZodString>;
|
|
444
|
+
manager: z.ZodOptional<z.ZodString>;
|
|
445
|
+
customProperties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
446
|
+
name: z.ZodString;
|
|
447
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
448
|
+
}, z.core.$strip>>>;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
|
|
451
|
+
declare const ManageSectionsSchema: z.ZodObject<{
|
|
452
|
+
filePath: z.ZodString;
|
|
453
|
+
action: z.ZodEnum<{
|
|
454
|
+
list: "list";
|
|
455
|
+
add: "add";
|
|
456
|
+
remove: "remove";
|
|
457
|
+
reorder: "reorder";
|
|
458
|
+
moveSlides: "moveSlides";
|
|
459
|
+
getForSlide: "getForSlide";
|
|
460
|
+
}>;
|
|
461
|
+
name: z.ZodOptional<z.ZodString>;
|
|
462
|
+
slideIndices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
463
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
464
|
+
sectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
465
|
+
slideIndex: z.ZodOptional<z.ZodNumber>;
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
|
|
468
|
+
declare const ExportToSvgSchema: z.ZodObject<{
|
|
469
|
+
filePath: z.ZodString;
|
|
470
|
+
slideIndices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
471
|
+
includeHidden: z.ZodOptional<z.ZodBoolean>;
|
|
472
|
+
defaultFontFamily: z.ZodOptional<z.ZodString>;
|
|
473
|
+
defaultFontSize: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
}, z.core.$strip>;
|
|
475
|
+
declare const ExportSlideSvgSchema: z.ZodObject<{
|
|
476
|
+
filePath: z.ZodString;
|
|
477
|
+
slideIndex: z.ZodNumber;
|
|
478
|
+
defaultFontFamily: z.ZodOptional<z.ZodString>;
|
|
479
|
+
defaultFontSize: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
}, z.core.$strip>;
|
|
481
|
+
|
|
482
|
+
declare const ManageHyperlinksSchema: z.ZodObject<{
|
|
483
|
+
filePath: z.ZodString;
|
|
484
|
+
slideIndex: z.ZodNumber;
|
|
485
|
+
action: z.ZodEnum<{
|
|
486
|
+
set: "set";
|
|
487
|
+
list: "list";
|
|
488
|
+
remove: "remove";
|
|
489
|
+
}>;
|
|
490
|
+
elementId: z.ZodOptional<z.ZodString>;
|
|
491
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
click: "click";
|
|
493
|
+
hover: "hover";
|
|
494
|
+
}>>;
|
|
495
|
+
url: z.ZodOptional<z.ZodString>;
|
|
496
|
+
tooltip: z.ZodOptional<z.ZodString>;
|
|
497
|
+
targetSlideIndex: z.ZodOptional<z.ZodNumber>;
|
|
498
|
+
actionType: z.ZodOptional<z.ZodEnum<{
|
|
499
|
+
url: "url";
|
|
500
|
+
slide: "slide";
|
|
501
|
+
nextSlide: "nextSlide";
|
|
502
|
+
prevSlide: "prevSlide";
|
|
503
|
+
firstSlide: "firstSlide";
|
|
504
|
+
lastSlide: "lastSlide";
|
|
505
|
+
endShow: "endShow";
|
|
506
|
+
}>>;
|
|
507
|
+
}, z.core.$strip>;
|
|
508
|
+
|
|
509
|
+
declare const ReplaceGeometrySchema: z.ZodObject<{
|
|
510
|
+
filePath: z.ZodString;
|
|
511
|
+
slideIndex: z.ZodNumber;
|
|
512
|
+
elementId: z.ZodString;
|
|
513
|
+
shapeType: z.ZodOptional<z.ZodString>;
|
|
514
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
515
|
+
pathWidth: z.ZodOptional<z.ZodNumber>;
|
|
516
|
+
pathHeight: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
adjustments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
518
|
+
}, z.core.$strip>;
|
|
519
|
+
|
|
520
|
+
declare const SetElementLockSchema: z.ZodObject<{
|
|
521
|
+
filePath: z.ZodString;
|
|
522
|
+
slideIndex: z.ZodNumber;
|
|
523
|
+
elementId: z.ZodString;
|
|
524
|
+
locked: z.ZodBoolean;
|
|
525
|
+
noMove: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
noResize: z.ZodOptional<z.ZodBoolean>;
|
|
527
|
+
noRotation: z.ZodOptional<z.ZodBoolean>;
|
|
528
|
+
noSelect: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
+
noTextEdit: z.ZodOptional<z.ZodBoolean>;
|
|
530
|
+
}, z.core.$strip>;
|
|
531
|
+
|
|
532
|
+
declare const ValidatePresentationSchema: z.ZodObject<{
|
|
533
|
+
filePath: z.ZodString;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
declare const RepairPresentationSchema: z.ZodObject<{
|
|
536
|
+
filePath: z.ZodString;
|
|
537
|
+
}, z.core.$strip>;
|
|
538
|
+
|
|
539
|
+
declare const GetPresentationPropertiesSchema: z.ZodObject<{
|
|
540
|
+
filePath: z.ZodString;
|
|
541
|
+
}, z.core.$strip>;
|
|
542
|
+
declare const UpdatePresentationPropertiesSchema: z.ZodObject<{
|
|
543
|
+
filePath: z.ZodString;
|
|
544
|
+
showType: z.ZodOptional<z.ZodEnum<{
|
|
545
|
+
presented: "presented";
|
|
546
|
+
browsed: "browsed";
|
|
547
|
+
kiosk: "kiosk";
|
|
548
|
+
}>>;
|
|
549
|
+
loopContinuously: z.ZodOptional<z.ZodBoolean>;
|
|
550
|
+
showWithNarration: z.ZodOptional<z.ZodBoolean>;
|
|
551
|
+
showWithAnimation: z.ZodOptional<z.ZodBoolean>;
|
|
552
|
+
advanceMode: z.ZodOptional<z.ZodEnum<{
|
|
553
|
+
manual: "manual";
|
|
554
|
+
useTimings: "useTimings";
|
|
555
|
+
}>>;
|
|
556
|
+
showSlidesMode: z.ZodOptional<z.ZodEnum<{
|
|
557
|
+
all: "all";
|
|
558
|
+
customShow: "customShow";
|
|
559
|
+
range: "range";
|
|
560
|
+
}>>;
|
|
561
|
+
showSlidesFrom: z.ZodOptional<z.ZodNumber>;
|
|
562
|
+
showSlidesTo: z.ZodOptional<z.ZodNumber>;
|
|
563
|
+
penColor: z.ZodOptional<z.ZodString>;
|
|
564
|
+
}, z.core.$strip>;
|
|
565
|
+
|
|
566
|
+
declare const GetLayoutsSchema: z.ZodObject<{
|
|
567
|
+
filePath: z.ZodString;
|
|
568
|
+
}, z.core.$strip>;
|
|
569
|
+
declare const ApplyLayoutSchema: z.ZodObject<{
|
|
570
|
+
filePath: z.ZodString;
|
|
571
|
+
slideIndex: z.ZodNumber;
|
|
572
|
+
layoutName: z.ZodOptional<z.ZodString>;
|
|
573
|
+
layoutType: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>;
|
|
575
|
+
|
|
576
|
+
export { AccessibilityCheckSchema, AddChartSeriesSchema, AddElementSchema, AddSlideSchema, ApplyLayoutSchema, ApplyTemplateSchema, ApplyThemePresetSchema, ArrangeElementsSchema, BatchUpdateElementsSchema, CloneElementSchema, ConvertToMarkdownSchema, CreateChartSchema, DeleteElementsSchema, DeleteSlidesSchema, DuplicateSlideSchema, ExportSlideSvgSchema, ExportToSvgSchema, FindPlaceholdersSchema, FindTextSchema, GetLayoutsSchema, GetMetadataSchema, GetPresentationPropertiesSchema, GetSlideSchema, GetThemeInfoSchema, GroupElementsSchema, ManageCommentsSchema, ManageHyperlinksSchema, ManageSectionsSchema, ManageSmartArtSchema, ManageTableStructureSchema, RemoveChartSeriesSchema, ReorderSlidesSchema, RepairPresentationSchema, ReplaceGeometrySchema, ReplaceTextSchema, SetCanvasSizeSchema, SetElementAnimationSchema, SetElementLockSchema, SetSlideTransitionSchema, UngroupElementsSchema, UpdateChartSchema, UpdateChartSeriesDataSchema, UpdateElementSchema, UpdateElementStyleSchema, UpdateMetadataSchema, UpdatePresentationPropertiesSchema, UpdateSlidePropertiesSchema, UpdateTableCellsSchema, UpdateThemeColorsSchema, UpdateThemeFontsSchema, ValidatePresentationSchema };
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -294,4 +294,283 @@ declare const ManageCommentsSchema: z.ZodObject<{
|
|
|
294
294
|
includeResolved: z.ZodOptional<z.ZodBoolean>;
|
|
295
295
|
}, z.core.$strip>;
|
|
296
296
|
|
|
297
|
-
|
|
297
|
+
declare const GetThemeInfoSchema: z.ZodObject<{
|
|
298
|
+
filePath: z.ZodString;
|
|
299
|
+
}, z.core.$strip>;
|
|
300
|
+
declare const ApplyThemePresetSchema: z.ZodObject<{
|
|
301
|
+
filePath: z.ZodString;
|
|
302
|
+
presetName: z.ZodString;
|
|
303
|
+
}, z.core.$strip>;
|
|
304
|
+
declare const UpdateThemeColorsSchema: z.ZodObject<{
|
|
305
|
+
filePath: z.ZodString;
|
|
306
|
+
dk1: z.ZodOptional<z.ZodString>;
|
|
307
|
+
lt1: z.ZodOptional<z.ZodString>;
|
|
308
|
+
dk2: z.ZodOptional<z.ZodString>;
|
|
309
|
+
lt2: z.ZodOptional<z.ZodString>;
|
|
310
|
+
accent1: z.ZodOptional<z.ZodString>;
|
|
311
|
+
accent2: z.ZodOptional<z.ZodString>;
|
|
312
|
+
accent3: z.ZodOptional<z.ZodString>;
|
|
313
|
+
accent4: z.ZodOptional<z.ZodString>;
|
|
314
|
+
accent5: z.ZodOptional<z.ZodString>;
|
|
315
|
+
accent6: z.ZodOptional<z.ZodString>;
|
|
316
|
+
hlink: z.ZodOptional<z.ZodString>;
|
|
317
|
+
folHlink: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
declare const UpdateThemeFontsSchema: z.ZodObject<{
|
|
320
|
+
filePath: z.ZodString;
|
|
321
|
+
majorFont: z.ZodOptional<z.ZodString>;
|
|
322
|
+
minorFont: z.ZodOptional<z.ZodString>;
|
|
323
|
+
}, z.core.$strip>;
|
|
324
|
+
|
|
325
|
+
declare const UpdateChartSchema: z.ZodObject<{
|
|
326
|
+
filePath: z.ZodString;
|
|
327
|
+
slideIndex: z.ZodNumber;
|
|
328
|
+
elementId: z.ZodString;
|
|
329
|
+
chartType: z.ZodOptional<z.ZodString>;
|
|
330
|
+
title: z.ZodOptional<z.ZodString>;
|
|
331
|
+
grouping: z.ZodOptional<z.ZodEnum<{
|
|
332
|
+
clustered: "clustered";
|
|
333
|
+
stacked: "stacked";
|
|
334
|
+
percentStacked: "percentStacked";
|
|
335
|
+
}>>;
|
|
336
|
+
legend: z.ZodOptional<z.ZodObject<{
|
|
337
|
+
show: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
+
position: z.ZodOptional<z.ZodString>;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
dataLabels: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
show: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
+
showValue: z.ZodOptional<z.ZodBoolean>;
|
|
343
|
+
showCategory: z.ZodOptional<z.ZodBoolean>;
|
|
344
|
+
showSeriesName: z.ZodOptional<z.ZodBoolean>;
|
|
345
|
+
showPercent: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
}, z.core.$strip>>;
|
|
347
|
+
axis: z.ZodOptional<z.ZodObject<{
|
|
348
|
+
type: z.ZodString;
|
|
349
|
+
edit: z.ZodObject<{
|
|
350
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
351
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
352
|
+
majorUnit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
353
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
354
|
+
numberFormat: z.ZodOptional<z.ZodString>;
|
|
355
|
+
majorGridlines: z.ZodOptional<z.ZodBoolean>;
|
|
356
|
+
minorGridlines: z.ZodOptional<z.ZodBoolean>;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
}, z.core.$strip>>;
|
|
359
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
360
|
+
}, z.core.$strip>;
|
|
361
|
+
declare const AddChartSeriesSchema: z.ZodObject<{
|
|
362
|
+
filePath: z.ZodString;
|
|
363
|
+
slideIndex: z.ZodNumber;
|
|
364
|
+
elementId: z.ZodString;
|
|
365
|
+
name: z.ZodString;
|
|
366
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
367
|
+
color: z.ZodOptional<z.ZodString>;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
declare const RemoveChartSeriesSchema: z.ZodObject<{
|
|
370
|
+
filePath: z.ZodString;
|
|
371
|
+
slideIndex: z.ZodNumber;
|
|
372
|
+
elementId: z.ZodString;
|
|
373
|
+
seriesIndex: z.ZodNumber;
|
|
374
|
+
}, z.core.$strip>;
|
|
375
|
+
declare const UpdateChartSeriesDataSchema: z.ZodObject<{
|
|
376
|
+
filePath: z.ZodString;
|
|
377
|
+
slideIndex: z.ZodNumber;
|
|
378
|
+
elementId: z.ZodString;
|
|
379
|
+
seriesIndex: z.ZodNumber;
|
|
380
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
declare const CreateChartSchema: z.ZodObject<{
|
|
383
|
+
filePath: z.ZodString;
|
|
384
|
+
slideIndex: z.ZodNumber;
|
|
385
|
+
chartType: z.ZodString;
|
|
386
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
387
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
389
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
390
|
+
title: z.ZodOptional<z.ZodString>;
|
|
391
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
392
|
+
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
393
|
+
name: z.ZodString;
|
|
394
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
395
|
+
color: z.ZodOptional<z.ZodString>;
|
|
396
|
+
}, z.core.$strip>>>;
|
|
397
|
+
legend: z.ZodOptional<z.ZodObject<{
|
|
398
|
+
show: z.ZodBoolean;
|
|
399
|
+
position: z.ZodOptional<z.ZodString>;
|
|
400
|
+
}, z.core.$strip>>;
|
|
401
|
+
}, z.core.$strip>;
|
|
402
|
+
|
|
403
|
+
declare const ManageSmartArtSchema: z.ZodObject<{
|
|
404
|
+
filePath: z.ZodString;
|
|
405
|
+
slideIndex: z.ZodNumber;
|
|
406
|
+
elementId: z.ZodString;
|
|
407
|
+
action: z.ZodEnum<{
|
|
408
|
+
getNodes: "getNodes";
|
|
409
|
+
addNode: "addNode";
|
|
410
|
+
removeNode: "removeNode";
|
|
411
|
+
updateNodeText: "updateNodeText";
|
|
412
|
+
reorderNode: "reorderNode";
|
|
413
|
+
promoteNode: "promoteNode";
|
|
414
|
+
demoteNode: "demoteNode";
|
|
415
|
+
decompose: "decompose";
|
|
416
|
+
}>;
|
|
417
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
418
|
+
text: z.ZodOptional<z.ZodString>;
|
|
419
|
+
afterNodeId: z.ZodOptional<z.ZodString>;
|
|
420
|
+
direction: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
}, z.core.$strip>;
|
|
422
|
+
|
|
423
|
+
declare const FindPlaceholdersSchema: z.ZodObject<{
|
|
424
|
+
filePath: z.ZodString;
|
|
425
|
+
}, z.core.$strip>;
|
|
426
|
+
declare const ApplyTemplateSchema: z.ZodObject<{
|
|
427
|
+
filePath: z.ZodString;
|
|
428
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
429
|
+
}, z.core.$strip>;
|
|
430
|
+
|
|
431
|
+
declare const GetMetadataSchema: z.ZodObject<{
|
|
432
|
+
filePath: z.ZodString;
|
|
433
|
+
}, z.core.$strip>;
|
|
434
|
+
declare const UpdateMetadataSchema: z.ZodObject<{
|
|
435
|
+
filePath: z.ZodString;
|
|
436
|
+
title: z.ZodOptional<z.ZodString>;
|
|
437
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
438
|
+
creator: z.ZodOptional<z.ZodString>;
|
|
439
|
+
keywords: z.ZodOptional<z.ZodString>;
|
|
440
|
+
description: z.ZodOptional<z.ZodString>;
|
|
441
|
+
lastModifiedBy: z.ZodOptional<z.ZodString>;
|
|
442
|
+
category: z.ZodOptional<z.ZodString>;
|
|
443
|
+
company: z.ZodOptional<z.ZodString>;
|
|
444
|
+
manager: z.ZodOptional<z.ZodString>;
|
|
445
|
+
customProperties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
446
|
+
name: z.ZodString;
|
|
447
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
448
|
+
}, z.core.$strip>>>;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
|
|
451
|
+
declare const ManageSectionsSchema: z.ZodObject<{
|
|
452
|
+
filePath: z.ZodString;
|
|
453
|
+
action: z.ZodEnum<{
|
|
454
|
+
list: "list";
|
|
455
|
+
add: "add";
|
|
456
|
+
remove: "remove";
|
|
457
|
+
reorder: "reorder";
|
|
458
|
+
moveSlides: "moveSlides";
|
|
459
|
+
getForSlide: "getForSlide";
|
|
460
|
+
}>;
|
|
461
|
+
name: z.ZodOptional<z.ZodString>;
|
|
462
|
+
slideIndices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
463
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
464
|
+
sectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
465
|
+
slideIndex: z.ZodOptional<z.ZodNumber>;
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
|
|
468
|
+
declare const ExportToSvgSchema: z.ZodObject<{
|
|
469
|
+
filePath: z.ZodString;
|
|
470
|
+
slideIndices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
471
|
+
includeHidden: z.ZodOptional<z.ZodBoolean>;
|
|
472
|
+
defaultFontFamily: z.ZodOptional<z.ZodString>;
|
|
473
|
+
defaultFontSize: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
}, z.core.$strip>;
|
|
475
|
+
declare const ExportSlideSvgSchema: z.ZodObject<{
|
|
476
|
+
filePath: z.ZodString;
|
|
477
|
+
slideIndex: z.ZodNumber;
|
|
478
|
+
defaultFontFamily: z.ZodOptional<z.ZodString>;
|
|
479
|
+
defaultFontSize: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
}, z.core.$strip>;
|
|
481
|
+
|
|
482
|
+
declare const ManageHyperlinksSchema: z.ZodObject<{
|
|
483
|
+
filePath: z.ZodString;
|
|
484
|
+
slideIndex: z.ZodNumber;
|
|
485
|
+
action: z.ZodEnum<{
|
|
486
|
+
set: "set";
|
|
487
|
+
list: "list";
|
|
488
|
+
remove: "remove";
|
|
489
|
+
}>;
|
|
490
|
+
elementId: z.ZodOptional<z.ZodString>;
|
|
491
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
click: "click";
|
|
493
|
+
hover: "hover";
|
|
494
|
+
}>>;
|
|
495
|
+
url: z.ZodOptional<z.ZodString>;
|
|
496
|
+
tooltip: z.ZodOptional<z.ZodString>;
|
|
497
|
+
targetSlideIndex: z.ZodOptional<z.ZodNumber>;
|
|
498
|
+
actionType: z.ZodOptional<z.ZodEnum<{
|
|
499
|
+
url: "url";
|
|
500
|
+
slide: "slide";
|
|
501
|
+
nextSlide: "nextSlide";
|
|
502
|
+
prevSlide: "prevSlide";
|
|
503
|
+
firstSlide: "firstSlide";
|
|
504
|
+
lastSlide: "lastSlide";
|
|
505
|
+
endShow: "endShow";
|
|
506
|
+
}>>;
|
|
507
|
+
}, z.core.$strip>;
|
|
508
|
+
|
|
509
|
+
declare const ReplaceGeometrySchema: z.ZodObject<{
|
|
510
|
+
filePath: z.ZodString;
|
|
511
|
+
slideIndex: z.ZodNumber;
|
|
512
|
+
elementId: z.ZodString;
|
|
513
|
+
shapeType: z.ZodOptional<z.ZodString>;
|
|
514
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
515
|
+
pathWidth: z.ZodOptional<z.ZodNumber>;
|
|
516
|
+
pathHeight: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
adjustments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
518
|
+
}, z.core.$strip>;
|
|
519
|
+
|
|
520
|
+
declare const SetElementLockSchema: z.ZodObject<{
|
|
521
|
+
filePath: z.ZodString;
|
|
522
|
+
slideIndex: z.ZodNumber;
|
|
523
|
+
elementId: z.ZodString;
|
|
524
|
+
locked: z.ZodBoolean;
|
|
525
|
+
noMove: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
noResize: z.ZodOptional<z.ZodBoolean>;
|
|
527
|
+
noRotation: z.ZodOptional<z.ZodBoolean>;
|
|
528
|
+
noSelect: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
+
noTextEdit: z.ZodOptional<z.ZodBoolean>;
|
|
530
|
+
}, z.core.$strip>;
|
|
531
|
+
|
|
532
|
+
declare const ValidatePresentationSchema: z.ZodObject<{
|
|
533
|
+
filePath: z.ZodString;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
declare const RepairPresentationSchema: z.ZodObject<{
|
|
536
|
+
filePath: z.ZodString;
|
|
537
|
+
}, z.core.$strip>;
|
|
538
|
+
|
|
539
|
+
declare const GetPresentationPropertiesSchema: z.ZodObject<{
|
|
540
|
+
filePath: z.ZodString;
|
|
541
|
+
}, z.core.$strip>;
|
|
542
|
+
declare const UpdatePresentationPropertiesSchema: z.ZodObject<{
|
|
543
|
+
filePath: z.ZodString;
|
|
544
|
+
showType: z.ZodOptional<z.ZodEnum<{
|
|
545
|
+
presented: "presented";
|
|
546
|
+
browsed: "browsed";
|
|
547
|
+
kiosk: "kiosk";
|
|
548
|
+
}>>;
|
|
549
|
+
loopContinuously: z.ZodOptional<z.ZodBoolean>;
|
|
550
|
+
showWithNarration: z.ZodOptional<z.ZodBoolean>;
|
|
551
|
+
showWithAnimation: z.ZodOptional<z.ZodBoolean>;
|
|
552
|
+
advanceMode: z.ZodOptional<z.ZodEnum<{
|
|
553
|
+
manual: "manual";
|
|
554
|
+
useTimings: "useTimings";
|
|
555
|
+
}>>;
|
|
556
|
+
showSlidesMode: z.ZodOptional<z.ZodEnum<{
|
|
557
|
+
all: "all";
|
|
558
|
+
customShow: "customShow";
|
|
559
|
+
range: "range";
|
|
560
|
+
}>>;
|
|
561
|
+
showSlidesFrom: z.ZodOptional<z.ZodNumber>;
|
|
562
|
+
showSlidesTo: z.ZodOptional<z.ZodNumber>;
|
|
563
|
+
penColor: z.ZodOptional<z.ZodString>;
|
|
564
|
+
}, z.core.$strip>;
|
|
565
|
+
|
|
566
|
+
declare const GetLayoutsSchema: z.ZodObject<{
|
|
567
|
+
filePath: z.ZodString;
|
|
568
|
+
}, z.core.$strip>;
|
|
569
|
+
declare const ApplyLayoutSchema: z.ZodObject<{
|
|
570
|
+
filePath: z.ZodString;
|
|
571
|
+
slideIndex: z.ZodNumber;
|
|
572
|
+
layoutName: z.ZodOptional<z.ZodString>;
|
|
573
|
+
layoutType: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>;
|
|
575
|
+
|
|
576
|
+
export { AccessibilityCheckSchema, AddChartSeriesSchema, AddElementSchema, AddSlideSchema, ApplyLayoutSchema, ApplyTemplateSchema, ApplyThemePresetSchema, ArrangeElementsSchema, BatchUpdateElementsSchema, CloneElementSchema, ConvertToMarkdownSchema, CreateChartSchema, DeleteElementsSchema, DeleteSlidesSchema, DuplicateSlideSchema, ExportSlideSvgSchema, ExportToSvgSchema, FindPlaceholdersSchema, FindTextSchema, GetLayoutsSchema, GetMetadataSchema, GetPresentationPropertiesSchema, GetSlideSchema, GetThemeInfoSchema, GroupElementsSchema, ManageCommentsSchema, ManageHyperlinksSchema, ManageSectionsSchema, ManageSmartArtSchema, ManageTableStructureSchema, RemoveChartSeriesSchema, ReorderSlidesSchema, RepairPresentationSchema, ReplaceGeometrySchema, ReplaceTextSchema, SetCanvasSizeSchema, SetElementAnimationSchema, SetElementLockSchema, SetSlideTransitionSchema, UngroupElementsSchema, UpdateChartSchema, UpdateChartSeriesDataSchema, UpdateElementSchema, UpdateElementStyleSchema, UpdateMetadataSchema, UpdatePresentationPropertiesSchema, UpdateSlidePropertiesSchema, UpdateTableCellsSchema, UpdateThemeColorsSchema, UpdateThemeFontsSchema, ValidatePresentationSchema };
|