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 { EditOpOneOfTwofourtwoAt } from './editOpOneOfTwofourtwoAt';
import type { EditOpOneOfTwofourtwoCell } from './editOpOneOfTwofourtwoCell';
import type { EditOpOneOfTwofourtwoDisplay } from './editOpOneOfTwofourtwoDisplay';
import type { EditOpOneOfTwofourtwoOp } from './editOpOneOfTwofourtwoOp';
import type { EditOpOneOfTwofourtwoShape } from './editOpOneOfTwofourtwoShape';
/**
* Inserts an equation (PowerPoint's Insert ▸ Equation) written in the
LaTeX-style linear format: into a shape's text at `at`, or, without
`shape`, in a new text box centered on the slide (its id is reported
in the result). In text an equation counts as one character (U+FFFC
in the outline's paragraph text, listed in the paragraph's
`equations`): delete it with `deleteText`, change it with
`setEquation`. Supported: `\frac{a}{b}`, `^`, `_`, `\sqrt[n]{x}`,
`\sum_{i=1}^{n}`, `\prod`, `\int_{a}^{b}`, `\oint`, `\lim_{x\to 0}`,
`\sin` and other functions, `\left( \right)` (brackets such as
`(…)` pair and grow by themselves), `\begin{matrix}` / `pmatrix` /
`bmatrix` / `vmatrix` / `cases` / `aligned`, `\binom{n}{k}`, accents
(`\hat \bar \vec \dot \ddot \tilde`), `\overline`, `\underline`,
`\overbrace{x}^{a}`, `\underbrace{x}_{a}`, `\boxed`, Greek letters,
symbols (`\infty \pm \times \cdot \le \ge \ne \approx \to
\Rightarrow \partial \nabla`...), `\mathrm{}`, `\mathbf{}`,
`\mathbb{}`, `\mathcal{}`, `\text{}`, and spaces (`\, \; \quad`).
*/
export type EditOpOneOfTwofourtwo = {
at?: EditOpOneOfTwofourtwoAt;
cell?: EditOpOneOfTwofourtwoCell;
/** `true`: a display equation on a line (paragraph) of its own,
centered, with large operators and fractions at full size (what
PowerPoint inserts); `false`: inline, flowing with the text
around it. Omit (or null) for display in an empty paragraph or a
new text box, inline otherwise. */
display?: EditOpOneOfTwofourtwoDisplay;
/** The equation, e.g. `x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}`. */
latex: string;
op: EditOpOneOfTwofourtwoOp;
/**
* Shape whose text gets the equation; omit (or null) to add a new
text box holding only the equation.
* @minimum 0
*/
shape?: EditOpOneOfTwofourtwoShape;
/**
* Slide id.
* @minimum 0
*/
slide: number;
};