@@ -229,6 +229,11 @@ export class AnnotationInfo {
229229 baseName : "backgroundColor" ,
230230 type : "number" ,
231231 } ,
232+ {
233+ name : "squigglyColor" ,
234+ baseName : "squigglyColor" ,
235+ type : "number" ,
236+ } ,
232237 {
233238 name : "fontFamily" ,
234239 baseName : "fontFamily" ,
@@ -263,6 +268,11 @@ export class AnnotationInfo {
263268 name : "imagePath" ,
264269 baseName : "imagePath" ,
265270 type : "string" ,
271+ } ,
272+ {
273+ name : "autoScale" ,
274+ baseName : "autoScale" ,
275+ type : "boolean" ,
266276 } ] ;
267277
268278 /**
@@ -377,6 +387,11 @@ export class AnnotationInfo {
377387 */
378388 public backgroundColor : number ;
379389
390+ /**
391+ * Gets or sets annotation color
392+ */
393+ public squigglyColor : number ;
394+
380395 /**
381396 * Gets or sets the annotation's font family
382397 */
@@ -412,6 +427,11 @@ export class AnnotationInfo {
412427 */
413428 public imagePath : string ;
414429
430+ /**
431+ * Sets auto scale for watermark annotation
432+ */
433+ public autoScale : boolean ;
434+
415435 public constructor ( init ?: Partial < AnnotationInfo > ) {
416436
417437 Object . assign ( this , init ) ;
@@ -451,6 +471,7 @@ export namespace AnnotationInfo {
451471 TextUnderline = 'TextUnderline' as any ,
452472 Watermark = 'Watermark' as any ,
453473 Image = 'Image' as any ,
474+ TextSquiggly = 'TextSquiggly' as any ,
454475 }
455476 export enum PenStyleEnum {
456477 Solid = 'Solid' as any ,
@@ -555,6 +576,49 @@ export class AnnotationReplyInfo {
555576 }
556577}
557578
579+ /**
580+ * Metered license consumption information
581+ */
582+ export class ConsumptionResult {
583+
584+ /**
585+ * Attribute type map
586+ */
587+ public static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
588+ {
589+ name : "credit" ,
590+ baseName : "credit" ,
591+ type : "number" ,
592+ } ,
593+ {
594+ name : "quantity" ,
595+ baseName : "quantity" ,
596+ type : "number" ,
597+ } ] ;
598+
599+ /**
600+ * Returns attribute type map
601+ */
602+ public static getAttributeTypeMap ( ) {
603+ return ConsumptionResult . attributeTypeMap ;
604+ }
605+
606+ /**
607+ * Amount of used credits
608+ */
609+ public credit : number ;
610+
611+ /**
612+ * Amount of MBs processed
613+ */
614+ public quantity : number ;
615+
616+ public constructor ( init ?: Partial < ConsumptionResult > ) {
617+
618+ Object . assign ( this , init ) ;
619+ }
620+ }
621+
558622/**
559623 * Class for disc space information.
560624 */
@@ -1780,6 +1844,7 @@ const typeMap = {
17801844 AnnotateOptions,
17811845 AnnotationInfo,
17821846 AnnotationReplyInfo,
1847+ ConsumptionResult,
17831848 DiscUsage,
17841849 DocumentInfo,
17851850 ErrorDetails,
0 commit comments