/** * 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 { CheckboxValidationSettings } from './checkboxValidationSettings'; import { EditableDateFieldSettings } from './editableDateFieldSettings'; import { GroupOption } from './groupOption'; import { ImageInfo } from './imageInfo'; export class CustomFormField { 'fieldType': CustomFormField.FieldTypeEnum; 'width'?: number; 'height'?: number; 'isRequired'?: boolean; 'isReadOnly'?: boolean; 'value'?: string | null; 'fontSize'?: number = 13; 'font'?: CustomFormField.FontEnum; 'groupOptions'?: Array | null; 'checkboxValidationSettings'?: CheckboxValidationSettings; 'fontHexColor'?: string | null; 'isBoldFont'?: boolean; 'isItalicFont'?: boolean; 'isUnderLineFont'?: boolean; 'lineHeight'?: number = 15; 'characterLimit'?: number = 0; 'placeHolder'?: string | null; 'validationType'?: CustomFormField.ValidationTypeEnum; 'validationCustomRegex'?: string | null; 'validationCustomRegexMessage'?: string | null; 'dateFormat'?: string | null; 'timeFormat'?: string | null; 'imageInfo'?: ImageInfo; 'attachmentInfo'?: AttachmentInfo; 'editableDateFieldSettings'?: EditableDateFieldSettings; 'hyperlinkText'?: string | null; 'dataSyncTag'?: string | null; 'dropdownOptions'?: Array | null; 'textAlign'?: CustomFormField.TextAlignEnum; 'textDirection'?: CustomFormField.TextDirectionEnum; 'characterSpacing'?: number; 'idPrefix'?: string | null; 'restrictIdPrefixChange'?: boolean = false; 'backgroundHexColor'?: string | null; 'resizeOption'?: CustomFormField.ResizeOptionEnum; 'isMasked'?: boolean | null = false; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fieldType", "baseName": "fieldType", "type": "CustomFormField.FieldTypeEnum" }, { "name": "width", "baseName": "width", "type": "number" }, { "name": "height", "baseName": "height", "type": "number" }, { "name": "isRequired", "baseName": "isRequired", "type": "boolean" }, { "name": "isReadOnly", "baseName": "isReadOnly", "type": "boolean" }, { "name": "value", "baseName": "value", "type": "string" }, { "name": "fontSize", "baseName": "fontSize", "type": "number" }, { "name": "font", "baseName": "font", "type": "CustomFormField.FontEnum" }, { "name": "groupOptions", "baseName": "groupOptions", "type": "Array" }, { "name": "checkboxValidationSettings", "baseName": "checkboxValidationSettings", "type": "CheckboxValidationSettings" }, { "name": "fontHexColor", "baseName": "fontHexColor", "type": "string" }, { "name": "isBoldFont", "baseName": "isBoldFont", "type": "boolean" }, { "name": "isItalicFont", "baseName": "isItalicFont", "type": "boolean" }, { "name": "isUnderLineFont", "baseName": "isUnderLineFont", "type": "boolean" }, { "name": "lineHeight", "baseName": "lineHeight", "type": "number" }, { "name": "characterLimit", "baseName": "characterLimit", "type": "number" }, { "name": "placeHolder", "baseName": "placeHolder", "type": "string" }, { "name": "validationType", "baseName": "validationType", "type": "CustomFormField.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": "hyperlinkText", "baseName": "hyperlinkText", "type": "string" }, { "name": "dataSyncTag", "baseName": "dataSyncTag", "type": "string" }, { "name": "dropdownOptions", "baseName": "dropdownOptions", "type": "Array" }, { "name": "textAlign", "baseName": "textAlign", "type": "CustomFormField.TextAlignEnum" }, { "name": "textDirection", "baseName": "textDirection", "type": "CustomFormField.TextDirectionEnum" }, { "name": "characterSpacing", "baseName": "characterSpacing", "type": "number" }, { "name": "idPrefix", "baseName": "idPrefix", "type": "string" }, { "name": "restrictIdPrefixChange", "baseName": "restrictIdPrefixChange", "type": "boolean" }, { "name": "backgroundHexColor", "baseName": "backgroundHexColor", "type": "string" }, { "name": "resizeOption", "baseName": "resizeOption", "type": "CustomFormField.ResizeOptionEnum" }, { "name": "isMasked", "baseName": "isMasked", "type": "boolean" } ]; static getAttributeTypeMap() { return CustomFormField.attributeTypeMap; } } export namespace CustomFormField { export enum FieldTypeEnum { Signature = 'Signature', Initial = 'Initial', CheckBox = 'CheckBox', TextBox = 'TextBox', Label = 'Label', DateSigned = 'DateSigned', RadioButton = 'RadioButton', Image = 'Image', Attachment = 'Attachment', EditableDate = 'EditableDate', Hyperlink = 'Hyperlink', Dropdown = 'Dropdown', Title = 'Title', Company = 'Company', Formula = 'Formula', Drawing = 'Drawing' } export enum FontEnum { Helvetica = 'Helvetica', Courier = 'Courier', TimesRoman = 'TimesRoman', NotoSans = 'NotoSans', Carlito = 'Carlito' } export enum ValidationTypeEnum { None = 'None', NumbersOnly = 'NumbersOnly', EmailAddress = 'EmailAddress', Currency = 'Currency', CustomRegex = 'CustomRegex' } export enum TextAlignEnum { Left = 'Left', Center = 'Center', Right = 'Right' } export enum TextDirectionEnum { Ltr = 'LTR', Rtl = 'RTL' } export enum ResizeOptionEnum { GrowVertically = 'GrowVertically', GrowHorizontally = 'GrowHorizontally', GrowBoth = 'GrowBoth', Fixed = 'Fixed', AutoResizeFont = 'AutoResizeFont' } }