Skip to content

Commit 8348bfe

Browse files
authored
Merge pull request #10 from Doczilla-APP/improvements
Improvements
2 parents 161b072 + 0e76188 commit 8348bfe

32 files changed

+140
-201
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2023 Doczilla. (https://www.doczilla.app)
1+
Copyright (C) 2023 Doczilla. (https://doczilla.app)
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ yarn add @doczilla/node
1313
## Usage
1414

1515
The package needs to be configured with your account's API key, which is
16-
available your [Doczilla's organisation settings page](https://www.doczilla.app/login).
16+
available your [Doczilla's organisation settings page](https://doczilla.app/login).
1717

1818
```ts
1919
import Doczilla from '@doczilla/node';
2020

2121
const doczilla = new Doczilla('doczilla-...')
2222

2323
const pdfBuffer = await doczilla.pdf.direct({
24-
url: 'https://www.doczilla.app'
24+
url: 'https://doczilla.app'
2525
})
2626
```
2727

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"author": {
2424
"name": "Doczilla",
2525
"email": "[email protected]",
26-
"url": "https://www.doczilla.app"
26+
"url": "https://doczilla.app"
2727
},
2828
"main": "./dist/index.js",
2929
"module": "./dist/esm/index.js",
@@ -34,21 +34,21 @@
3434
"test": "jest"
3535
},
3636
"dependencies": {
37-
"axios": "^1.6.2"
37+
"axios": "^1.6.7"
3838
},
3939
"devDependencies": {
4040
"@jest/globals": "^29.7.0",
4141
"@types/jest": "^29.5.11",
42-
"@types/node": "^20.10.4",
43-
"@typescript-eslint/eslint-plugin": "^6.15.0",
44-
"@typescript-eslint/parser": "^6.15.0",
42+
"@types/node": "^20.11.10",
43+
"@typescript-eslint/eslint-plugin": "^6.20.0",
44+
"@typescript-eslint/parser": "^6.20.0",
4545
"axios-mock-adapter": "^1.22.0",
4646
"eslint": "8.56.0",
4747
"eslint-plugin-import": "2.29.1",
4848
"eslint-plugin-simple-import-sort": "^10.0.0",
4949
"jest": "^29.7.0",
50-
"openapi-typescript-codegen": "^0.25.0",
51-
"ts-jest": "^29.1.1",
50+
"openapi-typescript-codegen": "^0.27.0",
51+
"ts-jest": "^29.1.2",
5252
"typescript": "^5.3"
5353
},
5454
"packageManager": "[email protected]",

src/generated/models/AsyncJob.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
65
export type AsyncJob = {
76
/**
87
* Id of the queued job.
@@ -13,9 +12,7 @@ export type AsyncJob = {
1312
*/
1413
status: AsyncJob.status;
1514
};
16-
1715
export namespace AsyncJob {
18-
1916
/**
2017
* Status of the job.
2118
*/
@@ -25,7 +22,5 @@ export namespace AsyncJob {
2522
FAILED = 'FAILED',
2623
COMPLETED = 'COMPLETED',
2724
}
28-
29-
3025
}
3126

src/generated/models/AsyncPdf.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
65
import type { PageOptions } from './PageOptions';
76
import type { PdfOptions } from './PdfOptions';
87
import type { StorageOptions } from './StorageOptions';
98
import type { WebhookOptions } from './WebhookOptions';
10-
119
export type AsyncPdf = {
1210
/**
1311
* Page options, either provide the `url`, `html` or `htmlTemplate` option.

src/generated/models/AsyncScreenshot.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
65
import type { PageOptions } from './PageOptions';
76
import type { ScreenshotOptions } from './ScreenshotOptions';
87
import type { StorageOptions } from './StorageOptions';
98
import type { WebhookOptions } from './WebhookOptions';
10-
119
export type AsyncScreenshot = {
1210
/**
1311
* Page options, either provide the `url`, `html` or `htmlTemplate` option.

src/generated/models/BadRequestResponse.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
65
export type BadRequestResponse = {
76
message: string;
87
code: string;

src/generated/models/CreatePdf.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
65
import type { PageOptions } from './PageOptions';
76
import type { PdfOptions } from './PdfOptions';
8-
97
export type CreatePdf = {
108
/**
119
* Page options, either provide the `url`, `html` or `htmlTemplate` option.

src/generated/models/CreateScreenshot.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
65
import type { PageOptions } from './PageOptions';
76
import type { ScreenshotOptions } from './ScreenshotOptions';
8-
97
export type CreateScreenshot = {
108
/**
119
* Page options, either provide the `url`, `html` or `htmlTemplate` option.

src/generated/models/ForbiddenResponse.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
65
export type ForbiddenResponse = {
76
message: string;
87
};

0 commit comments

Comments
 (0)