with 8x8 Connect and Extensiv Integration Manager?
Check the status of an SMS Logs export job and to get a download link if its generation has succeeded. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_8x8_connect: {
type: "app",
app: "_8x8_connect",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this._8x8_connect.$auth.base_url}/api/v1/accounts/${this._8x8_connect.$auth.account_id}/balance`,
headers: {
Authorization: `Bearer ${this._8x8_connect.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
extensiv_integration_manager: {
type: "app",
app: "extensiv_integration_manager",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cartrover.com/v1/merchant/inventory`,
auth: {
username: `${this.extensiv_integration_manager.$auth.cartapi_api_user}`,
password: `${this.extensiv_integration_manager.$auth.cartapi_api_key}`,
},
})
},
})