with actiTIME and LMNT?
Emit new event when a new customer is created. See the documentation
Emit new event when a new task is created. See the documentation
Emit new event when the user's working time is updated. See the documentation
Generates a custom voice from a batch of input audio data. See the documentation
Generates an audio file from the provided text. See the documentation
Changes the existing leave time record with a given value in actiTIME. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
actitime: {
type: "app",
app: "actitime",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.actitime.$auth.url}/api/v1/users`,
auth: {
username: `${this.actitime.$auth.email}`,
password: `${this.actitime.$auth.password}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lmnt: {
type: "app",
app: "lmnt",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lmnt.com/v1/account`,
headers: {
"X-API-Key": `${this.lmnt.$auth.api_key}`,
},
})
},
})