Skip to content

Commit 7074cac

Browse files
committed
Merge remote-tracking branch 'origin/main'
# Conflicts: # package.json
2 parents eb41d32 + 626f7fe commit 7074cac

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

LLM_DOC.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Gets account information for the current API key.
5656

5757
```typescript
5858
const accountInfo = await client.getAccountInfo();
59-
console.log(accountInfo.organization);
6059

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

7372
```typescript
7473
const token = await client.createToken({
75-
name: 'My API Token',
76-
expiresIn: '30d'
74+
expirationTime: 3600
7775
});
7876
console.log(token.id);
7977

docs/METHODS.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Gets account information for the current API key.
5050

5151
```typescript
5252
const accountInfo = await client.getAccountInfo();
53-
console.log(accountInfo.organization);
5453

5554
// Access subscription information
5655
console.log(accountInfo.subscriptionType);
@@ -66,8 +65,7 @@ Creates a new authentication token.
6665

6766
```typescript
6867
const token = await client.createToken({
69-
name: 'My API Token',
70-
expiresIn: '30d'
68+
expirationTime: 3600
7169
});
7270
console.log(token.id);
7371

src/__tests__/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Widget C | 60 | 70 | 80 | 90`;
220220
*/
221221
static generateXfdf(
222222
annotations: Array<{
223-
type: 'highlight' | 'text' | 'ink' | 'square' | 'circle';
223+
type: 'highlight' | 'text' | 'square' | 'circle';
224224
page: number;
225225
rect: number[];
226226
content?: string;

src/client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ export class NutrientClient {
153153
* @example
154154
* ```typescript
155155
* const token = await client.createToken({
156-
* name: 'My API Token',
157-
* expiresIn: '30d'
156+
* expirationTime: 3600
158157
* });
159158
* console.log(token.id);
160159
* ```

src/types/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export interface WorkflowWithPartsStage extends WorkflowInitialStage {
7878
options?: Omit<components['schemas']['PDFAOutput'], 'type'>,
7979
): WorkflowWithOutputStage<'pdfa'>;
8080
outputPdfUA(
81-
options?: Omit<components['schemas']['PDFAOutput'], 'type'>,
81+
options?: Omit<components['schemas']['PDFUAOutput'], 'type'>,
8282
): WorkflowWithOutputStage<'pdfua'>;
8383
outputImage<T extends 'png' | 'jpeg' | 'jpg' | 'webp'>(
8484
format: T,

0 commit comments

Comments
 (0)