| Name | Type | Description | Notes |
|---|---|---|---|
| url | string | Public URL | [optional] |
| paper_size | string | PDF page size | [optional] [default to 'a4'] |
| orientation | string | [optional] [default to 'portrait'] | |
| output | string | Output | [optional] [default to 'base64'] |
| filename | string | Document name | [optional] |
| wait_for_css | string | CSS selector of an element to wait for before the page is printed; see `wait_for_css_state` | [optional] |
| wait_for_css_state | string | How `wait_for_css` matches. `present` waits until the element exists, even if it is empty or hidden (e.g. a `<div id="report-ready"></div>` marker); `visible` waits until it is also visible with a non-empty size (e.g. a chart that appears when data has loaded). | [optional] [default to 'present'] |
| wait_for_js | string | JavaScript expression evaluated in the page every 100ms; the page is printed once it is truthy. Promises are awaited, and an expression that throws counts as not ready yet. | [optional] |
| wait_timeout | int | Seconds to wait for `wait_for_css` / `wait_for_js` before applying `on_wait_timeout` | [optional] [default to 30] |
| on_wait_timeout | string | What to do when the wait signal is not met within `wait_timeout`. `error` returns a 422 response; `print` prints the page as it is. | [optional] [default to 'error'] |