xero-node
Version:
Xero NodeJS OAuth 2.0 client for xero-node
74 lines (73 loc) • 2.2 kB
TypeScript
export declare class EmployeeLeaveType {
/**
* The Xero identifier for leave type
*/
'leaveTypeID'?: string;
/**
* The schedule of accrual
*/
'scheduleOfAccrual'?: EmployeeLeaveType.ScheduleOfAccrualEnum;
/**
* The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"
*/
'unitsAccruedAnnually'?: number;
/**
* The type of units accrued for the leave annually
*/
'typeOfUnitsToAccrue'?: string;
/**
* The maximum number of units that can be accrued for the leave
*/
'maximumToAccrue'?: number;
/**
* The initial number of units assigned when the leave was added to the employee
*/
'openingBalance'?: number;
/**
* The type of units for the opening balance
*/
'openingBalanceTypeOfUnits'?: string;
/**
* not supported in Payroll NZ
*/
'rateAccruedHourly'?: number;
/**
* Specific for scheduleOfAccrual having percentage of gross earnings. Identifies how much percentage of gross earnings is accrued per pay period.
*/
'percentageOfGrossEarnings'?: number;
/**
* Specific to Holiday pay. Flag determining if pay for leave type is added on each pay run.
*/
'includeHolidayPayEveryPay'?: boolean;
/**
* Specific to Annual Leave. Flag to include leave available to take in advance in the balance in the payslip
*/
'showAnnualLeaveInAdvance'?: boolean;
/**
* Specific to Annual Leave. Annual leave balance in dollars
*/
'annualLeaveTotalAmountPaid'?: number;
/**
* The date when an employee becomes entitled to their accrual.
*/
'scheduleOfAccrualDate'?: string;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export declare namespace EmployeeLeaveType {
enum ScheduleOfAccrualEnum {
AnnuallyAfter6Months,
OnAnniversaryDate,
PercentageOfGrossEarnings,
NoAccruals
}
}