/* tslint:disable */ /* eslint-disable */ /** * loanproducts * 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. */ /** * The new account settings, defines the settings and constraints used by new loan account created based on this product. */ export interface NewAccountSettings { /** * All the generic account states applicable to loans. */ accountInitialState: NewAccountSettingsAccountInitialStateEnum; /** * The type of generator used for IDs creation. */ idGeneratorType: NewAccountSettingsIdGeneratorTypeEnum; /** * The pattern that will be used for ID validation (as referred to as an input mask). */ idPattern: string; } export const NewAccountSettingsAccountInitialStateEnum = { PartialApplication: 'PARTIAL_APPLICATION', PendingApproval: 'PENDING_APPROVAL', Approved: 'APPROVED', Active: 'ACTIVE', ActiveInArrears: 'ACTIVE_IN_ARREARS', Closed: 'CLOSED', ClosedWrittenOff: 'CLOSED_WRITTEN_OFF', ClosedRejected: 'CLOSED_REJECTED', } as const; export type NewAccountSettingsAccountInitialStateEnum = (typeof NewAccountSettingsAccountInitialStateEnum)[keyof typeof NewAccountSettingsAccountInitialStateEnum]; export const NewAccountSettingsIdGeneratorTypeEnum = { IncrementalNumber: 'INCREMENTAL_NUMBER', RandomPattern: 'RANDOM_PATTERN', } as const; export type NewAccountSettingsIdGeneratorTypeEnum = (typeof NewAccountSettingsIdGeneratorTypeEnum)[keyof typeof NewAccountSettingsIdGeneratorTypeEnum];