/* tslint:disable */ /* eslint-disable */ /** * configuration/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 { CustomFieldConfiguration } from './custom-field-configuration'; /** * Represents the custom field set configuration. */ export interface CustomFieldSetConfiguration { /** * The entity associated with the custom field set. */ availableFor: CustomFieldSetConfigurationAvailableForEnum; /** * The list of custom field definitions associated with the custom field set. */ customFields?: Array; /** * The user-provided description of the custom field set. */ description?: string; /** * The user-defined ID, which is globally unique. */ id: string; /** * The user-provided name of the custom field set, unique for each custom field set type. */ name: string; /** * Defines how the custom field set will be used in the UI and how the custom field values will be stored. For the `SINGLE` custom field set type, the custom field set is displayed in the UI and can be used only once on one entity. For the `GROUPED` custom field set type, the custom field set is allowed multiple times for the same entity. */ type: CustomFieldSetConfigurationTypeEnum; } export const CustomFieldSetConfigurationAvailableForEnum = { 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 CustomFieldSetConfigurationAvailableForEnum = (typeof CustomFieldSetConfigurationAvailableForEnum)[keyof typeof CustomFieldSetConfigurationAvailableForEnum]; export const CustomFieldSetConfigurationTypeEnum = { Single: 'SINGLE', Grouped: 'GROUPED', } as const; export type CustomFieldSetConfigurationTypeEnum = (typeof CustomFieldSetConfigurationTypeEnum)[keyof typeof CustomFieldSetConfigurationTypeEnum];