with CallMiner and OTO?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
callminer: {
type: "app",
app: "callminer",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.callminer.$auth.ingestion_api_url}/api/info/callmetadataconfig`,
headers: {
Authorization: `Bearer ${this.callminer.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oto: {
type: "app",
app: "oto",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.oto.$auth.api_url}/rest/v2/accountInfo`,
headers: {
Authorization: `Bearer ${this.oto.$auth.oauth_access_token}`,
},
})
},
})