/* tslint:disable */ /* eslint-disable */ /** * users * 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 { RoleIdentifier } from './role-identifier'; // May contain unused imports in some cases // @ts-ignore import type { UserAccess } from './user-access'; /** * Allows the creation of a user */ export interface UserRequest { access: UserAccess; /** * The encoded key of the branch this user is assigned to. */ assignedBranchKey?: string; /** * The user email address. Used by Mambu for sending automated notifications or for getting passwords. */ email?: string; /** * The encoded key of the entity, generated, globally unique */ encodedKey?: string; /** * The first name of the user. */ firstName: string; /** * The user\'s home phone number, which can also contain characters. */ homePhone?: string; /** * The Mambu display language for the user. The Mambu UI will be displayed in the selected language. Please note: for portuguese, you must use the incorrect spelling `PORTUGESE`. */ language?: UserRequestLanguageEnum; /** * The last name of the user. */ lastName?: string; /** * The user\'s mobile phone number, which can also contain characters. */ mobilePhone?: string; /** * The additional information for the user. */ notes?: string; /** * Password used by the user */ password: string; role?: RoleIdentifier; /** * The user title. */ title?: string; /** * The user transaction limits. */ transactionLimits?: { [key: string]: number }; /** * `TRUE` if the user has two-factor authentication setup, `FALSE` otherwise. If two-factor authentication is enabled, a user will be sent an SMS to their registered mobile number, which they will need to enter in the Mambu login screen, in addition to their password. */ twoFactorAuthentication?: boolean; /** * The Mambu login user name. */ username: string; } export const UserRequestLanguageEnum = { English: 'ENGLISH', Portugese: 'PORTUGESE', Spanish: 'SPANISH', Russian: 'RUSSIAN', French: 'FRENCH', Georgian: 'GEORGIAN', Chinese: 'CHINESE', Indonesian: 'INDONESIAN', Romanian: 'ROMANIAN', Burmese: 'BURMESE', German: 'GERMAN', PortugueseBrazil: 'PORTUGUESE_BRAZIL', Vietnamese: 'VIETNAMESE', Italian: 'ITALIAN', Thai: 'THAI', Norwegian: 'NORWEGIAN', Phrase: 'PHRASE', } as const; export type UserRequestLanguageEnum = (typeof UserRequestLanguageEnum)[keyof typeof UserRequestLanguageEnum];