import { BankAccount } from '././bankAccount'; import { CountryOfResidence } from '././countryOfResidence'; import { EmployeeStatus } from '././employeeStatus'; import { EmploymentType } from '././employmentType'; import { HomeAddress } from '././homeAddress'; import { IncomeType } from '././incomeType'; import { LeaveBalance } from '././leaveBalance'; import { LeaveLine } from '././leaveLine'; import { OpeningBalances } from '././openingBalances'; import { PayTemplate } from '././payTemplate'; import { SuperMembership } from '././superMembership'; import { TaxDeclaration } from '././taxDeclaration'; import { ValidationError } from '././validationError'; export declare class Employee { /** * First name of employee */ 'firstName': string; /** * Last name of employee */ 'lastName': string; /** * Date of birth of the employee (YYYY-MM-DD) */ 'dateOfBirth': string; 'homeAddress'?: HomeAddress; /** * Start date for an employee (YYYY-MM-DD) */ 'startDate'?: string; /** * Title of the employee */ 'title'?: string; /** * Middle name(s) of the employee */ 'middleNames'?: string; /** * The email address for the employee */ 'email'?: string; /** * The employee’s gender. See Employee Gender */ 'gender'?: Employee.GenderEnum; /** * Employee phone number */ 'phone'?: string; /** * Employee mobile number */ 'mobile'?: string; /** * Employee’s twitter name */ 'twitterUserName'?: string; /** * Authorised to approve other employees\' leave requests */ 'isAuthorisedToApproveLeave'?: boolean; /** * Authorised to approve timesheets */ 'isAuthorisedToApproveTimesheets'?: boolean; /** * JobTitle of the employee */ 'jobTitle'?: string; /** * Employees classification */ 'classification'?: string; /** * Xero unique identifier for earnings rate */ 'ordinaryEarningsRateID'?: string; /** * Xero unique identifier for payroll calendar for the employee */ 'payrollCalendarID'?: string; /** * The Employee Group allows you to report on payroll expenses and liabilities for each group of employees */ 'employeeGroupName'?: string; /** * Xero unique identifier for an Employee */ 'employeeID'?: string; /** * Employee Termination Date (YYYY-MM-DD) */ 'terminationDate'?: string; /** * * `V` Voluntary cessation - An employee resignation, retirement, domestic or pressing necessity or abandonment of employment * `I` Ill health - An employee resignation due to medical condition that prevents the continuation of employment, such as for illness, ill-health, medical unfitness or total permanent disability * `D` Deceased - The death of an employee * `R` Redundancy - An employer-initiated termination of employment due to a genuine redundancy or approved early retirement scheme * `F` Dismissal - An employer-initiated termination of employment due to dismissal, inability to perform the required work, misconduct or inefficiency * `C` Contract cessation - The natural conclusion of a limited employment relationship due to contract/engagement duration or task completion, seasonal work completion, or to cease casuals that are no longer required * `T` Transfer - The administrative arrangements performed to transfer employees across payroll systems, move them temporarily to another employer (machinery of government for public servants), transfer of business, move them to outsourcing arrangements or other such technical activities. */ 'terminationReason'?: Employee.TerminationReasonEnum; 'bankAccounts'?: Array; 'payTemplate'?: PayTemplate; 'openingBalances'?: OpeningBalances; 'taxDeclaration'?: TaxDeclaration; 'incomeType'?: IncomeType; 'employmentType'?: EmploymentType; 'countryOfResidence'?: CountryOfResidence; /** * Indicates if the employee has been updated for STP Phase 2 compliance. Doesn\'t indicate that the employee is payable. */ 'isSTP2Qualified'?: boolean; 'leaveBalances'?: Array; 'leaveLines'?: Array; 'superMemberships'?: Array; 'status'?: EmployeeStatus; /** * Last modified timestamp */ 'updatedDateUTC'?: Date; /** * Displays array of validation error messages from the API */ 'validationErrors'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace Employee { enum GenderEnum { N, M, F, I } enum TerminationReasonEnum { V, I, D, R, F, C, T } }