Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* document_storage_service
* OpenAPI spec version: 0.1.0
*/
import type { AnimationClass } from './animationClass';
import type { AnimationSpecDelayMs } from './animationSpecDelayMs';
import type { AnimationSpecDirection } from './animationSpecDirection';
import type { AnimationSpecDurationMs } from './animationSpecDurationMs';
import type { AnimationSpecParagraph } from './animationSpecParagraph';
import type { AnimationSpecPath } from './animationSpecPath';
import type { AnimationSpecRepeat } from './animationSpecRepeat';
import type { AnimationSpecStart } from './animationSpecStart';
/**
* One animation of a slide, for [`EditOp::SetAnimations`] and
[`EditOp::AddAnimation`]. Omitted (or null) fields take the effect's
defaults, or keep the values of the existing animation it matches.
*/
export interface AnimationSpec {
/** Effect group: `entrance`, `emphasis`, `exit`, or `path` (`media` and
`other` can only keep animations the slide already has). */
class: AnimationClass;
/**
* Wait in milliseconds after the animation's start (click, previous
animation's start, or its end) before it plays, 0-60000 (default 0).
* @minimum 0
*/
delayMs?: AnimationSpecDelayMs;
/** Effect option (default: the first listed). `flyIn`, `flyOut` (edge it
flies in from or out to): `bottom`, `left`, `right`, `top`,
`bottomLeft`, `bottomRight`, `topLeft`, `topRight`; `wipe` (edge it
starts from): `bottom`, `left`, `right`, `top`; `split` (entrance):
`verticalOut`, `horizontalOut`, `verticalIn`, `horizontalIn` (exit:
the `In` ones first); `shape` (entrance): `circleOut`, `circleIn`,
`boxOut`, `boxIn`, `diamondOut`, `diamondIn`, `plusOut`, `plusIn`
(exit: `circleIn` first); `wheel`: `spokes1`, `spokes2`, `spokes3`,
`spokes4`, `spokes8`; `randomBars`: `horizontal`, `vertical`; `zoom`:
`objectCenter`, `slideCenter`; `floatIn`: `up`, `down`; `floatOut`:
`down`, `up`; `spin`: `clockwise`, `counterclockwise`; `path`: `down`,
`left`, `right`, `up` (a straight line a quarter of the slide long). */
direction?: AnimationSpecDirection;
/**
* Duration of one play in milliseconds, 10-60000 (default: the
effect's, e.g. 500 for fade, flyIn, wipe, and zoom, 1000 for floatIn
and teeter, 2000 for spin, growShrink, shape, wheel, and paths).
`appear` and `disappear` are instant and ignore it.
* @minimum 0
*/
durationMs?: AnimationSpecDurationMs;
/** Effect name. Entrance: `appear`, `fade`, `flyIn`, `floatIn`, `split`,
`wipe`, `shape`, `wheel`, `randomBars`, `growTurn`, `zoom`, `swivel`,
`bounce`. Emphasis: `pulse`, `colorPulse`, `teeter`, `spin`,
`growShrink`, `desaturate`, `darken`, `lighten`, `transparency`,
`boldFlash`, `wave`. Exit: `disappear`, `fadeOut`, `flyOut`,
`floatOut`, `split`, `wipe`, `shape`, `wheel`, `randomBars`,
`shrinkTurn`, `zoom`, `swivel`, `bounce`. Path: `path`. Other names
the slide's outline reports (and `custom`) only keep an existing
animation of that name on the same shape. */
effect: string;
/**
* Animate only this paragraph of the shape's text (0-based); omit to
animate the whole shape. One animation per paragraph builds a list
paragraph by paragraph.
* @minimum 0
*/
paragraph?: AnimationSpecParagraph;
/** `path` class only: a motion path of its own instead of a direction,
in PowerPoint's syntax with coordinates as fractions of the slide's
width and height relative to the shape's position (`M 0 0 L 0.25 0.1 E`;
commands `M`, `L`, `C`, `Z`, and `E` for the end). */
path?: AnimationSpecPath;
repeat?: AnimationSpecRepeat;
/**
* Id of the shape to animate. A group member's id animates only that member.
* @minimum 0
*/
shapeId: number;
start?: AnimationSpecStart;
}