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;
};
}
readonly addasasress?: {
value: {
address1?: string;
address2?: string;
city?: string;
country?: string;
state?: string;
};
}
Source§readonly additional Fields?: {
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;
}
readonly additional Fields?: {
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;
};
}
readonly address?: {
value: {
address1?: string;
address2?: string;
city?: string;
country?: string;
state?: string;
};
}
Default: {} Type options: {"multipleValues":false}
Source§readonly binary Property Name?: string
readonly binary Property Name?: string
The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG. Default: "data"
Source§readonly department?: string
readonly department?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getDepartments"}
Source§readonly division?: string
readonly division?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getDivisions"}
Source§readonly format?: "CSV" | "JSON" | "PDF" | "XLS" | "XML"
readonly format?: "CSV" | "JSON" | "PDF" | "XLS" | "XML"
The output format for the report Default: "JSON"
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 5 Type options: {"minValue":1,"maxValue":1000}
Source§readonly location?: string
readonly location?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getEmployeeLocations"}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "upload"
| "download"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "upload"
| "download"
Default: "create"
Source§readonly options?:
| { fields?: unknown[] }
| { share?: boolean }
| { fd?: boolean; onlyCurrent?: boolean }
readonly options?:
| { fields?: unknown[] }
| { share?: boolean }
| { fd?: boolean; onlyCurrent?: boolean }
Default: {}
Source§readonly output?: string
readonly output?: string
The name of the output field to put the binary file data in Default: "data"
Source§readonly pay Rate?: { value: { currency?: string; value?: string } }
readonly pay Rate?: { value: { currency?: string; value?: string } }
Default: {} Type options: {"multipleValues":false}
Source§readonly pay Type?:
| "commission"
| "contract"
| "daily"
| "exceptionHourly"
| "hourly"
| "monthly"
| "pieceRate"
| "proRata"
| "salary"
| "weekly"
readonly pay Type?:
| "commission"
| "contract"
| "daily"
| "exceptionHourly"
| "hourly"
| "monthly"
| "pieceRate"
| "proRata"
| "salary"
| "weekly"
Source§readonly report Id?: string
readonly report Id?: 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"
readonly resource?: "file" | "companyReport" | "employee" | "employeeDocument"
Default: "employee"
Source§readonly simplify Output?: boolean
readonly simplify Output?: boolean
Whether to return a simplified version of the response instead of the raw data Default: true
Source§readonly synced?: boolean
readonly synced?: boolean
Whether the employee to create was added to a pay schedule synced with Trax Payroll
Source§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;
}
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}