File tree Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ Gets account information for the current API key.
5656
5757``` typescript
5858const accountInfo = await client .getAccountInfo ();
59- console .log (accountInfo .organization );
6059
6160// Access subscription information
6261console .log (accountInfo .subscriptionType );
@@ -72,8 +71,7 @@ Creates a new authentication token.
7271
7372``` typescript
7473const token = await client .createToken ({
75- name: ' My API Token' ,
76- expiresIn: ' 30d'
74+ expirationTime: 3600
7775});
7876console .log (token .id );
7977
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ Gets account information for the current API key.
5050
5151``` typescript
5252const accountInfo = await client .getAccountInfo ();
53- console .log (accountInfo .organization );
5453
5554// Access subscription information
5655console .log (accountInfo .subscriptionType );
@@ -66,8 +65,7 @@ Creates a new authentication token.
6665
6766``` typescript
6867const token = await client .createToken ({
69- name: ' My API Token' ,
70- expiresIn: ' 30d'
68+ expirationTime: 3600
7169});
7270console .log (token .id );
7371
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 * ```
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments