Interface BambooHrNodeParameters

Source
interface BambooHrNodeParameters {
    addasasress?: {
        value: {
            address1?: string;
            address2?: string;
            city?: string;
            country?: string;
            state?: string;
        };
    };
    additionalFields?: {
        address?: {
            value: {
                address1?: string;
                address2?: string;
                city?: string;
                country?: string;
                state?: string;
            };
        };
        dateOfBirth?: string;
        department?: string;
        division?: string;
        employeeNumber?: string;
        exempt?: "exempt"
        | "non-exempt";
        gender?: "female" | "male";
        hireDate?: string;
        location?: string;
        maritalStatus?:
            | "single"
            | "married"
            | "domesticPartnership";
        mobilePhone?: string;
        paidPer?: | "hour"
        | "day"
        | "week"
        | "month"
        | "quater"
        | "year";
        payRate?: {
            value: { currency?: string; value?: string };
        };
        payType?: | "commission"
        | "contract"
        | "daily"
        | "exceptionHourly"
        | "hourly"
        | "monthly"
        | "pieceRate"
        | "proRata"
        | "salary"
        | "weekly";
        preferredName?: string;
        ssn?: string;
        workEmail?: string;
        workPhone?: string;
    };
    address?: {
        value: {
            address1?: string;
            address2?: string;
            city?: string;
            country?: string;
            state?: string;
        };
    };
    binaryPropertyName?: string;
    categoryId?: string;
    dateOfBirth?: string;
    department?: string;
    division?: string;
    employeeId?: string;
    employeeNumber?: string;
    exempt?: "exempt"
    | "non-exempt";
    fileId?: string;
    firstName?: string;
    format?: "CSV" | "JSON" | "PDF" | "XLS" | "XML";
    gender?: "female" | "male";
    hireDate?: string;
    lastName?: string;
    limit?: number;
    location?: string;
    maritalStatus?:
        | "single"
        | "married"
        | "domesticPartnership";
    mobilePhone?: string;
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "upload"
    | "download";
    options?: | { fields?: unknown[] }
    | { share?: boolean }
    | { fd?: boolean; onlyCurrent?: boolean };
    output?: string;
    paidPer?:
        | "hour"
        | "day"
        | "week"
        | "month"
        | "quater"
        | "year";
    payRate?: {
        value: { currency?: string; value?: string };
    };
    payType?: | "commission"
    | "contract"
    | "daily"
    | "exceptionHourly"
    | "hourly"
    | "monthly"
    | "pieceRate"
    | "proRata"
    | "salary"
    | "weekly";
    preferredName?: string;
    reportId?: string;
    resource?: | "file"
    | "companyReport"
    | "employee"
    | "employeeDocument";
    returnAll?: boolean;
    simplifyOutput?: boolean;
    ssn?: string;
    synced?: boolean;
    updateFields?: | {
        addasasress?: {
            value: {
                address1?: string;
                address2?: string;
                city?: string;
                country?: string;
                state?: string;
            };
        };
        dateOfBirth?: string;
        department?: string;
        division?: string;
        employeeNumber?: string;
        exempt?: "exempt"
        | "non-exempt";
        firstName?: string;
        gender?: "female" | "male";
        hireDate?: string;
        lastName?: string;
        location?: string;
        maritalStatus?:
            | "single"
            | "married"
            | "domesticPartnership";
        mobilePhone?: string;
        paidPer?: | "hour"
        | "day"
        | "week"
        | "month"
        | "quater"
        | "year";
        payRate?: {
            value: { currency?: string; value?: string };
        };
        payType?: | "commission"
        | "contract"
        | "daily"
        | "exceptionHourly"
        | "hourly"
        | "monthly"
        | "pieceRate"
        | "proRata"
        | "salary"
        | "weekly";
        preferredName?: string;
        ssn?: string;
        workEmail?: string;
        workPhone?: string;
    }
    | {
        categoryId?: string;
        name?: string;
        shareWithEmployee?: boolean;
    };
}

Properties§

Source§

readonly addasasress?: {
    value: {
        address1?: string;
        address2?: string;
        city?: string;
        country?: string;
        state?: string;
    };
}

Default: {} Type options: {"multipleValues":false}

Source§

readonly additionalFields?: {
    address?: {
        value: {
            address1?: string;
            address2?: string;
            city?: string;
            country?: string;
            state?: string;
        };
    };
    dateOfBirth?: string;
    department?: string;
    division?: string;
    employeeNumber?: string;
    exempt?: "exempt"
    | "non-exempt";
    gender?: "female" | "male";
    hireDate?: string;
    location?: string;
    maritalStatus?:
        | "single"
        | "married"
        | "domesticPartnership";
    mobilePhone?: string;
    paidPer?: | "hour"
    | "day"
    | "week"
    | "month"
    | "quater"
    | "year";
    payRate?: {
        value: { currency?: string; value?: string };
    };
    payType?: | "commission"
    | "contract"
    | "daily"
    | "exceptionHourly"
    | "hourly"
    | "monthly"
    | "pieceRate"
    | "proRata"
    | "salary"
    | "weekly";
    preferredName?: string;
    ssn?: string;
    workEmail?: string;
    workPhone?: string;
}

Default: {}

Source§

readonly address?: {
    value: {
        address1?: string;
        address2?: string;
        city?: string;
        country?: string;
        state?: string;
    };
}

Default: {} Type options: {"multipleValues":false}

Source§

readonly binaryPropertyName?: string

The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG. Default: "data"

Source§

readonly categoryId?: string

Source§

readonly dateOfBirth?: string

Source§

readonly department?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getDepartments"}

Source§

readonly division?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getDivisions"}

Source§

readonly employeeId?: string

Source§

readonly employeeNumber?: string

Source§

readonly exempt?: "exempt" | "non-exempt"

Source§

readonly fileId?: string

ID of the employee file

Source§

readonly firstName?: string

Source§

readonly format?: "CSV" | "JSON" | "PDF" | "XLS" | "XML"

The output format for the report Default: "JSON"

Source§

readonly gender?: "female" | "male"

Source§

readonly hireDate?: string

Source§

readonly lastName?: string

Source§

readonly limit?: number

Max number of results to return Default: 5 Type options: {"minValue":1,"maxValue":1000}

Source§

readonly location?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getEmployeeLocations"}

Source§

readonly maritalStatus?: "single" | "married" | "domesticPartnership"

Source§

readonly mobilePhone?: string

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "upload"
    | "download"

Default: "create"

Source§

readonly options?:
    | { fields?: unknown[] }
    | { share?: boolean }
    | { fd?: boolean; onlyCurrent?: boolean }

Default: {}

Source§

readonly output?: string

The name of the output field to put the binary file data in Default: "data"

Source§

readonly paidPer?: "hour" | "day" | "week" | "month" | "quater" | "year"

Source§

readonly payRate?: { value: { currency?: string; value?: string } }

Default: {} Type options: {"multipleValues":false}

Source§

readonly payType?:
    | "commission"
    | "contract"
    | "daily"
    | "exceptionHourly"
    | "hourly"
    | "monthly"
    | "pieceRate"
    | "proRata"
    | "salary"
    | "weekly"

Source§

readonly preferredName?: string

Source§

readonly reportId?: string

ID of the report. You can get the report number by hovering over the report name on the reports page and grabbing the ID.

Source§

readonly resource?: "file" | "companyReport" | "employee" | "employeeDocument"

Default: "employee"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly simplifyOutput?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true

Source§

readonly ssn?: string

A standard United States Social Security number, with dashes

Source§

readonly synced?: boolean

Whether the employee to create was added to a pay schedule synced with Trax Payroll

Source§

readonly updateFields?:
    | {
        addasasress?: {
            value: {
                address1?: string;
                address2?: string;
                city?: string;
                country?: string;
                state?: string;
            };
        };
        dateOfBirth?: string;
        department?: string;
        division?: string;
        employeeNumber?: string;
        exempt?: "exempt"
        | "non-exempt";
        firstName?: string;
        gender?: "female" | "male";
        hireDate?: string;
        lastName?: string;
        location?: string;
        maritalStatus?:
            | "single"
            | "married"
            | "domesticPartnership";
        mobilePhone?: string;
        paidPer?: | "hour"
        | "day"
        | "week"
        | "month"
        | "quater"
        | "year";
        payRate?: {
            value: { currency?: string; value?: string };
        };
        payType?: | "commission"
        | "contract"
        | "daily"
        | "exceptionHourly"
        | "hourly"
        | "monthly"
        | "pieceRate"
        | "proRata"
        | "salary"
        | "weekly";
        preferredName?: string;
        ssn?: string;
        workEmail?: string;
        workPhone?: string;
    }
    | {
        categoryId?: string;
        name?: string;
        shareWithEmployee?: boolean;
    }

Default: {}