with Smartlead and Smartlead?
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    smartlead: {
      type: "app",
      app: "smartlead",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://server.smartlead.ai/api/v1/client`,
      params: {
        api_key: `${this.smartlead.$auth.api_key}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    smartlead: {
      type: "app",
      app: "smartlead",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://server.smartlead.ai/api/v1/client`,
      params: {
        api_key: `${this.smartlead.$auth.api_key}`,
      },
    })
  },
})