/* tslint:disable */ /* eslint-disable */ /** * customfields * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { CustomFieldDisplaySettings } from './custom-field-display-settings'; // May contain unused imports in some cases // @ts-ignore import type { CustomFieldEditRights } from './custom-field-edit-rights'; // May contain unused imports in some cases // @ts-ignore import type { CustomFieldSelectionOption } from './custom-field-selection-option'; // May contain unused imports in some cases // @ts-ignore import type { CustomFieldUsage } from './custom-field-usage'; // May contain unused imports in some cases // @ts-ignore import type { CustomFieldValueValidationSettings } from './custom-field-value-validation-settings'; // May contain unused imports in some cases // @ts-ignore import type { CustomFieldViewRights } from './custom-field-view-rights'; /** * Represents a custom field definition. */ export interface CustomFieldMeta { /** * The entity type the custom field definition is associated with. */ availableFor?: CustomFieldMetaAvailableForEnum; /** * The date the custom field definition was created. */ creationDate?: string; /** * Can be defined only for selection custom field definitions. Indicates the parent custom field definition on which the dependency is based upon. */ dependentFieldKey?: string; displaySettings?: CustomFieldDisplaySettings; editRights?: CustomFieldEditRights; /** * The encoded key of the entity, generated, globally unique */ encodedKey?: string; /** * The user-defined ID, which is globally unique. */ id?: string; /** * The date the latest update was performed for this custom field definition. */ lastModifiedDate?: string; /** * Can be defined only for selection custom field definitions. Indicates that the field has predefined selections and only those can be used to populate it. */ selectionOptions?: Array; /** * Indicates whether the custom field definition is active or inactive. */ state?: CustomFieldMetaStateEnum; /** * The type of custom field definition. */ type?: CustomFieldMetaTypeEnum; /** * Represents the usage settings of a custom field definition. */ usage?: Array; valueValidationSettings?: CustomFieldValueValidationSettings; viewRights?: CustomFieldViewRights; } export const CustomFieldMetaAvailableForEnum = { Client: 'CLIENT', Group: 'GROUP', CreditArrangement: 'CREDIT_ARRANGEMENT', LoanAccount: 'LOAN_ACCOUNT', Guarantor: 'GUARANTOR', Asset: 'ASSET', DepositAccount: 'DEPOSIT_ACCOUNT', DepositProduct: 'DEPOSIT_PRODUCT', TransactionChannel: 'TRANSACTION_CHANNEL', TransactionType: 'TRANSACTION_TYPE', Branch: 'BRANCH', Centre: 'CENTRE', User: 'USER', } as const; export type CustomFieldMetaAvailableForEnum = (typeof CustomFieldMetaAvailableForEnum)[keyof typeof CustomFieldMetaAvailableForEnum]; export const CustomFieldMetaStateEnum = { Active: 'ACTIVE', Inactive: 'INACTIVE', } as const; export type CustomFieldMetaStateEnum = (typeof CustomFieldMetaStateEnum)[keyof typeof CustomFieldMetaStateEnum]; export const CustomFieldMetaTypeEnum = { FreeText: 'FREE_TEXT', Selection: 'SELECTION', Number: 'NUMBER', Checkbox: 'CHECKBOX', Date: 'DATE', DateTime: 'DATE_TIME', ClientLink: 'CLIENT_LINK', GroupLink: 'GROUP_LINK', UserLink: 'USER_LINK', } as const; export type CustomFieldMetaTypeEnum = (typeof CustomFieldMetaTypeEnum)[keyof typeof CustomFieldMetaTypeEnum];