@doczilla/node
Version:
Doczilla API wrapper
17 lines (16 loc) • 521 B
TypeScript
import type { PageOptions } from './PageOptions';
import type { PdfOptions } from './PdfOptions';
import type { StorageOptions } from './StorageOptions';
import type { WebhookOptions } from './WebhookOptions';
export type AsyncPdf = {
/**
* Page options, either provide the `url`, `html` or `htmlTemplate` option.
*/
page: PageOptions;
pdf?: PdfOptions | null;
storage?: StorageOptions | null;
/**
* Webhook to call when screenshot is generated.
*/
webhook: WebhookOptions;
};