xero-node
Version:
Xero NodeJS OAuth 2.0 client for xero-node
46 lines (45 loc) • 1.11 kB
TypeScript
export declare class LeaveType {
/**
* Xero unique identifier for the leave
*/
'leaveID'?: string;
/**
* Xero unique identifier for the leave type
*/
'leaveTypeID'?: string;
/**
* Name of the leave type
*/
'name': string;
/**
* Indicate that an employee will be paid when taking this type of leave
*/
'isPaidLeave': boolean;
/**
* Indicate that a balance for this leave type to be shown on the employee’s payslips
*/
'showOnPayslip': boolean;
/**
* UTC timestamp of last update to the leave type note
*/
'updatedDateUTC'?: Date;
/**
* Shows whether the leave type is active or not
*/
'isActive'?: boolean;
/**
* Shows whether the leave type is a statutory leave type or not
*/
'isStatutoryLeave'?: boolean;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}