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§
readonly addasasress?: { ... }readonly additional Fields?: { ... }Default: {}
readonly address?: { ... }Default: {} Type options: {"multipleValues":false}
readonly binary Property Name?: stringThe name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG. Default: "data"
readonly category Id?: string§readonly date Of Birth?: string§readonly department?: stringChoose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getDepartments"}
readonly division?: stringChoose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getDivisions"}
readonly employee Id?: string§readonly employee Number?: string§readonly exempt?: "exempt" | "non-exempt"§readonly file Id?: stringID of the employee file
readonly first Name?: string§readonly format?: "CSV" | "JSON" | "PDF" | "XLS" | "XML"The output format for the report Default: "JSON"
readonly gender?: "female" | "male"§readonly hire Date?: string§readonly last Name?: string§readonly limit?: numberMax number of results to return Default: 5 Type options: {"minValue":1,"maxValue":1000}
readonly location?: stringChoose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getEmployeeLocations"}
readonly marital Status?: "single" | "married" | "domesticPartnership"§readonly mobile Phone?: string§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "upload"
| "download"Default: "create"
readonly options?:
| { fields?: unknown[] }
| { share?: boolean }
| { fd?: boolean; onlyCurrent?: boolean }Default: {}
readonly output?: stringThe name of the output field to put the binary file data in Default: "data"
readonly paid Per?: "hour" | "day" | "week" | "month" | "quater" | "year"§readonly pay Rate?: { ... }Default: {} Type options: {"multipleValues":false}
readonly pay Type?:
| "commission"
| "contract"
| "daily"
| "exceptionHourly"
| "hourly"
| "monthly"
| "pieceRate"
| "proRata"
| "salary"
| "weekly"§readonly preferred Name?: string§readonly report Id?: stringID of the report. You can get the report number by hovering over the report name on the reports page and grabbing the ID.
readonly resource?: "file" | "companyReport" | "employee" | "employeeDocument"Default: "employee"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly simplify Output?: booleanWhether to return a simplified version of the response instead of the raw data Default: true
readonly ssn?: stringA standard United States Social Security number, with dashes
readonly synced?: booleanWhether the employee to create was added to a pay schedule synced with Trax Payroll
readonly update Fields?:
| {
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: {}
Default: {} Type options: {"multipleValues":false}