Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions LLM_DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ Gets account information for the current API key.

```typescript
const accountInfo = await client.getAccountInfo();
console.log(accountInfo.organization);

// Access subscription information
console.log(accountInfo.subscriptionType);
Expand All @@ -72,8 +71,7 @@ Creates a new authentication token.

```typescript
const token = await client.createToken({
name: 'My API Token',
expiresIn: '30d'
expirationTime: 3600
});
console.log(token.id);

Expand Down
4 changes: 1 addition & 3 deletions METHODS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Gets account information for the current API key.

```typescript
const accountInfo = await client.getAccountInfo();
console.log(accountInfo.organization);

// Access subscription information
console.log(accountInfo.subscriptionType);
Expand All @@ -44,8 +43,7 @@ Creates a new authentication token.

```typescript
const token = await client.createToken({
name: 'My API Token',
expiresIn: '30d'
expirationTime: 3600
});
console.log(token.id);

Expand Down
21 changes: 11 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"CONTRIBUTING.md",
"WORKFLOW.md",
"METHODS.md",
"README.md",
"LLM_DOC.md",
"LICENSE"
],
Expand All @@ -90,7 +89,7 @@
},
"dependencies": {
"axios": "^1.10.0",
"form-data": "^4.0.3"
"form-data": "^4.0.4"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Widget C | 60 | 70 | 80 | 90`;
*/
static generateXfdf(
annotations: Array<{
type: 'highlight' | 'text' | 'ink' | 'square' | 'circle';
type: 'highlight' | 'text' | 'square' | 'circle';
page: number;
rect: number[];
content?: string;
Expand Down
3 changes: 1 addition & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ export class NutrientClient {
* @example
* ```typescript
* const token = await client.createToken({
* name: 'My API Token',
* expiresIn: '30d'
* expirationTime: 3600
* });
* console.log(token.id);
* ```
Expand Down
2 changes: 1 addition & 1 deletion src/types/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export interface WorkflowWithPartsStage extends WorkflowInitialStage {
options?: Omit<components['schemas']['PDFAOutput'], 'type'>,
): WorkflowWithOutputStage<'pdfa'>;
outputPdfUA(
options?: Omit<components['schemas']['PDFAOutput'], 'type'>,
options?: Omit<components['schemas']['PDFUAOutput'], 'type'>,
): WorkflowWithOutputStage<'pdfua'>;
outputImage<T extends 'png' | 'jpeg' | 'jpg' | 'webp'>(
format: T,
Expand Down
Loading