UNPKG

boldsign

Version:

NodeJS client for boldsign

305 lines (298 loc) 8.79 kB
/** * BoldSign API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; import { AttachmentInfo } from './attachmentInfo'; import { CollaborationSettings } from './collaborationSettings'; import { ConditionalRule } from './conditionalRule'; import { EditableDateFieldSettings } from './editableDateFieldSettings'; import { FormulaFieldSettings } from './formulaFieldSettings'; import { ImageInfo } from './imageInfo'; import { Rectangle } from './rectangle'; export class TemplateFormFields { 'id'?: string | null; 'fieldType'?: string | null; 'type'?: string | null; 'value'?: string | null; 'font'?: string | null; 'isRequired'?: boolean; 'isReadOnly'?: boolean; 'lineHeight'?: number; 'fontSize'?: number; 'fontHexColor'?: string | null; 'isUnderLineFont'?: boolean; 'isItalicFont'?: boolean; 'isBoldFont'?: boolean; 'groupName'?: string | null; 'label'?: string | null; 'placeholder'?: string | null; 'validationtype'?: TemplateFormFields.ValidationtypeEnum; 'validationCustomRegex'?: string | null; 'validationCustomRegexMessage'?: string | null; 'dateFormat'?: string | null; 'timeFormat'?: string | null; 'imageInfo'?: ImageInfo; 'attachmentInfo'?: AttachmentInfo; 'editableDateFieldSettings'?: EditableDateFieldSettings; 'dropdownOptions'?: Array<string> | null; 'bounds'?: Rectangle; 'pageNumber'?: number; 'conditionalRules'?: Array<ConditionalRule> | null; 'dataSyncTag'?: string | null; 'textAlign'?: TemplateFormFields.TextAlignEnum; 'textDirection'?: TemplateFormFields.TextDirectionEnum; 'characterSpacing'?: number; 'characterLimit'?: number; 'hyperlinkText'?: string | null; 'backgroundHexColor'?: string | null; 'tabIndex'?: number; 'formulaFieldSettings'?: FormulaFieldSettings; 'resizeOption'?: TemplateFormFields.ResizeOptionEnum; 'allowEditFormField'?: boolean; 'allowDeleteFormField'?: boolean; 'collaborationSettings'?: CollaborationSettings; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "fieldType", "baseName": "fieldType", "type": "string" }, { "name": "type", "baseName": "type", "type": "string" }, { "name": "value", "baseName": "value", "type": "string" }, { "name": "font", "baseName": "font", "type": "string" }, { "name": "isRequired", "baseName": "isRequired", "type": "boolean" }, { "name": "isReadOnly", "baseName": "isReadOnly", "type": "boolean" }, { "name": "lineHeight", "baseName": "lineHeight", "type": "number" }, { "name": "fontSize", "baseName": "fontSize", "type": "number" }, { "name": "fontHexColor", "baseName": "fontHexColor", "type": "string" }, { "name": "isUnderLineFont", "baseName": "isUnderLineFont", "type": "boolean" }, { "name": "isItalicFont", "baseName": "isItalicFont", "type": "boolean" }, { "name": "isBoldFont", "baseName": "isBoldFont", "type": "boolean" }, { "name": "groupName", "baseName": "groupName", "type": "string" }, { "name": "label", "baseName": "label", "type": "string" }, { "name": "placeholder", "baseName": "placeholder", "type": "string" }, { "name": "validationtype", "baseName": "validationtype", "type": "TemplateFormFields.ValidationtypeEnum" }, { "name": "validationCustomRegex", "baseName": "validationCustomRegex", "type": "string" }, { "name": "validationCustomRegexMessage", "baseName": "validationCustomRegexMessage", "type": "string" }, { "name": "dateFormat", "baseName": "dateFormat", "type": "string" }, { "name": "timeFormat", "baseName": "timeFormat", "type": "string" }, { "name": "imageInfo", "baseName": "imageInfo", "type": "ImageInfo" }, { "name": "attachmentInfo", "baseName": "attachmentInfo", "type": "AttachmentInfo" }, { "name": "editableDateFieldSettings", "baseName": "editableDateFieldSettings", "type": "EditableDateFieldSettings" }, { "name": "dropdownOptions", "baseName": "dropdownOptions", "type": "Array<string>" }, { "name": "bounds", "baseName": "bounds", "type": "Rectangle" }, { "name": "pageNumber", "baseName": "pageNumber", "type": "number" }, { "name": "conditionalRules", "baseName": "conditionalRules", "type": "Array<ConditionalRule>" }, { "name": "dataSyncTag", "baseName": "dataSyncTag", "type": "string" }, { "name": "textAlign", "baseName": "textAlign", "type": "TemplateFormFields.TextAlignEnum" }, { "name": "textDirection", "baseName": "textDirection", "type": "TemplateFormFields.TextDirectionEnum" }, { "name": "characterSpacing", "baseName": "characterSpacing", "type": "number" }, { "name": "characterLimit", "baseName": "characterLimit", "type": "number" }, { "name": "hyperlinkText", "baseName": "hyperlinkText", "type": "string" }, { "name": "backgroundHexColor", "baseName": "backgroundHexColor", "type": "string" }, { "name": "tabIndex", "baseName": "tabIndex", "type": "number" }, { "name": "formulaFieldSettings", "baseName": "formulaFieldSettings", "type": "FormulaFieldSettings" }, { "name": "resizeOption", "baseName": "resizeOption", "type": "TemplateFormFields.ResizeOptionEnum" }, { "name": "allowEditFormField", "baseName": "allowEditFormField", "type": "boolean" }, { "name": "allowDeleteFormField", "baseName": "allowDeleteFormField", "type": "boolean" }, { "name": "collaborationSettings", "baseName": "collaborationSettings", "type": "CollaborationSettings" } ]; static getAttributeTypeMap() { return TemplateFormFields.attributeTypeMap; } } export namespace TemplateFormFields { export enum ValidationtypeEnum { None = <any> 'None', NumbersOnly = <any> 'NumbersOnly', EmailAddress = <any> 'EmailAddress', Currency = <any> 'Currency', CustomRegex = <any> 'CustomRegex' } export enum TextAlignEnum { Left = <any> 'Left', Center = <any> 'Center', Right = <any> 'Right' } export enum TextDirectionEnum { Ltr = <any> 'LTR', Rtl = <any> 'RTL' } export enum ResizeOptionEnum { GrowVertically = <any> 'GrowVertically', GrowHorizontally = <any> 'GrowHorizontally', GrowBoth = <any> 'GrowBoth', Fixed = <any> 'Fixed', AutoResizeFont = <any> 'AutoResizeFont', Null = <any> 'null' } }