Talenox is a cloud-based HR software designed to manage payroll and leave, and store precious employee details from a central location.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
talenox: {
type: "app",
app: "talenox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.talenox.com/api/v2/employees`,
headers: {
Authorization: `Bearer ${this.talenox.$auth.api_token}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})