with Inferable and Proposify?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
inferable: {
type: "app",
app: "inferable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.inferable.ai/clusters/${this.inferable.$auth.cluster_id}/usage`,
headers: {
Authorization: `Bearer ${this.inferable.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proposify: {
type: "app",
app: "proposify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.proposify.com/user`,
headers: {
Authorization: `Bearer ${this.proposify.$auth.oauth_access_token}`,
},
})
},
})