/** * 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 { ConditionalRule } from './conditionalRule'; import { EditableDateFieldSettings } from './editableDateFieldSettings'; import { FormulaFieldSettings } from './formulaFieldSettings'; import { ImageInfo } from './imageInfo'; import { Rectangle } from './rectangle'; export class EditFormField { 'editAction': EditFormField.EditActionEnum; 'id'?: string | null; 'name'?: string | null; 'fieldType'?: EditFormField.FieldTypeEnum; 'pageNumber'?: number | null; 'bounds'?: Rectangle; 'isRequired'?: boolean | null; 'value'?: string | null; 'fontSize'?: number | null; 'font'?: EditFormField.FontEnum; 'fontHexColor'?: string | null; 'isBoldFont'?: boolean | null; 'isItalicFont'?: boolean | null; 'isUnderLineFont'?: boolean | null; 'lineHeight'?: number | null; 'characterLimit'?: number | null; 'groupName'?: string | null; 'label'?: string | null; 'placeHolder'?: string | null; 'validationType'?: EditFormField.ValidationTypeEnum; 'validationCustomRegex'?: string | null; 'validationCustomRegexMessage'?: string | null; 'dateFormat'?: string | null; 'timeFormat'?: string | null; 'imageInfo'?: ImageInfo; 'attachmentInfo'?: AttachmentInfo; 'editableDateFieldSettings'?: EditableDateFieldSettings; 'conditionalRules'?: Array | null; 'hyperlinkText'?: string | null; 'dropdownOptions'?: Array | null; 'isReadOnly'?: boolean | null; 'dataSyncTag'?: string | null; 'textAlign'?: EditFormField.TextAlignEnum; 'textDirection'?: EditFormField.TextDirectionEnum; 'characterSpacing'?: number | null; 'backgroundHexColor'?: string | null; 'tabIndex'?: number | null; 'formulaFieldSettings'?: FormulaFieldSettings; 'resizeOption'?: EditFormField.ResizeOptionEnum; 'allowEditFormField'?: boolean | null; 'allowDeleteFormField'?: boolean | null; 'isMasked'?: boolean | null = false; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "editAction", "baseName": "editAction", "type": "EditFormField.EditActionEnum" }, { "name": "id", "baseName": "id", "type": "string" }, { "name": "name", "baseName": "name", "type": "string" }, { "name": "fieldType", "baseName": "fieldType", "type": "EditFormField.FieldTypeEnum" }, { "name": "pageNumber", "baseName": "pageNumber", "type": "number" }, { "name": "bounds", "baseName": "bounds", "type": "Rectangle" }, { "name": "isRequired", "baseName": "isRequired", "type": "boolean" }, { "name": "value", "baseName": "value", "type": "string" }, { "name": "fontSize", "baseName": "fontSize", "type": "number" }, { "name": "font", "baseName": "font", "type": "EditFormField.FontEnum" }, { "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": "groupName", "baseName": "groupName", "type": "string" }, { "name": "label", "baseName": "label", "type": "string" }, { "name": "placeHolder", "baseName": "placeHolder", "type": "string" }, { "name": "validationType", "baseName": "validationType", "type": "EditFormField.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": "conditionalRules", "baseName": "conditionalRules", "type": "Array" }, { "name": "hyperlinkText", "baseName": "hyperlinkText", "type": "string" }, { "name": "dropdownOptions", "baseName": "dropdownOptions", "type": "Array" }, { "name": "isReadOnly", "baseName": "isReadOnly", "type": "boolean" }, { "name": "dataSyncTag", "baseName": "dataSyncTag", "type": "string" }, { "name": "textAlign", "baseName": "textAlign", "type": "EditFormField.TextAlignEnum" }, { "name": "textDirection", "baseName": "textDirection", "type": "EditFormField.TextDirectionEnum" }, { "name": "characterSpacing", "baseName": "characterSpacing", "type": "number" }, { "name": "backgroundHexColor", "baseName": "backgroundHexColor", "type": "string" }, { "name": "tabIndex", "baseName": "tabIndex", "type": "number" }, { "name": "formulaFieldSettings", "baseName": "formulaFieldSettings", "type": "FormulaFieldSettings" }, { "name": "resizeOption", "baseName": "resizeOption", "type": "EditFormField.ResizeOptionEnum" }, { "name": "allowEditFormField", "baseName": "allowEditFormField", "type": "boolean" }, { "name": "allowDeleteFormField", "baseName": "allowDeleteFormField", "type": "boolean" }, { "name": "isMasked", "baseName": "isMasked", "type": "boolean" } ]; static getAttributeTypeMap() { return EditFormField.attributeTypeMap; } } export namespace EditFormField { export enum EditActionEnum { Add = 'Add', Update = 'Update', Remove = 'Remove' } 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' } }