Skip to content

Commit fa51d47

Browse files
committed
chore: Updated models
1 parent 77919ff commit fa51d47

15 files changed

+96
-3
lines changed

src/generated/models/AsyncPdf.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ export type AsyncPdf = {
1313
* Page options, either provide the `url` or `html` option.
1414
*/
1515
page: PageOptions;
16+
/**
17+
* Template data, only used in combination with `page.htmlTemplate`.
18+
*/
19+
templateData?: Record<string, any> | null;
1620
pdf?: PdfOptions | null;
1721
storage?: StorageOptions | null;
1822
/**

src/generated/models/AsyncScreenshot.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ export type AsyncScreenshot = {
1313
* Page options, either provide the `url` or `html` option.
1414
*/
1515
page: PageOptions;
16+
/**
17+
* Template data, only used in combination with `page.htmlTemplate`.
18+
*/
19+
templateData?: Record<string, any> | null;
1620
screenshot?: ScreenshotOptions | null;
1721
storage?: StorageOptions | null;
1822
/**
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* generated using openapi-typescript-codegen -- do no edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
6+
export type BadRequestResponse = {
7+
message: string;
8+
code: string;
9+
fields: Record<string, string>;
10+
};
11+

src/generated/models/CreatePdf.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ export type CreatePdf = {
1111
* Page options, either provide the `url` or `html` option.
1212
*/
1313
page: PageOptions;
14+
/**
15+
* Template data, only used in combination with `page.htmlTemplate`.
16+
*/
17+
templateData?: Record<string, any> | null;
1418
pdf?: PdfOptions | null;
1519
};
1620

src/generated/models/CreateScreenshot.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ export type CreateScreenshot = {
1111
* Page options, either provide the `url` or `html` option.
1212
*/
1313
page: PageOptions;
14+
/**
15+
* Template data, only used in combination with `page.htmlTemplate`.
16+
*/
17+
templateData?: Record<string, any> | null;
1418
screenshot?: ScreenshotOptions | null;
1519
};
1620

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* generated using openapi-typescript-codegen -- do no edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
6+
export type ForbiddenResponse = {
7+
message: string;
8+
};
9+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* generated using openapi-typescript-codegen -- do no edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
6+
export type InternalServerErrorResponse = {
7+
message: string;
8+
};
9+

src/generated/models/PageOptions.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ export type PageOptions = {
1515
* HTML to render. Needs to be base64 encoded!
1616
*/
1717
html?: string | null;
18+
/**
19+
* HTML template to render. Needs to be base64 encoded!
20+
*/
21+
htmlTemplate?: string | null;
1822
/**
1923
* When to consider waiting succeeds.
2024
* - `auto` our smart waiting option that can handle 90% of the cases.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* generated using openapi-typescript-codegen -- do no edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
6+
export type PayloadTooLargeResponse = {
7+
message: string;
8+
};
9+

src/generated/models/PdfOptions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export type PdfOptions = {
2222
* - `pageNumber` current page number
2323
* - `totalPages` total pages in the document
2424
*/
25-
headerTemplate?: string | null;
25+
headerHtml?: string | null;
2626
/**
27-
* HTML template for the print footer. Has the same constraints and support for special classes as `headerTemplate`.
27+
* HTML template for the print footer. Has the same constraints and support for special classes as `headerHtml`.
2828
*/
29-
footerTemplate?: string | null;
29+
footerHtml?: string | null;
3030
/**
3131
* Set to `true` to print background graphics.
3232
*/

0 commit comments

Comments
 (0)