with Fakturoid and Lokalise?
Emit new event when a contact (subject) is added in Fakturoid.
Emit new event when data is imported into a project
Emit new event when a new invoice is created in Fakturoid.
Cancels an existing invoice or revokes previous cancellation. See the documentation
Retrieves and downloads files from a specified Lokalise project. See the documentation
Executes payment for an invoice or removes an already applied payment. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    fakturoid: {
      type: "app",
      app: "fakturoid",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.fakturoid.cz/api/v3/user.json`,
      headers: {
        Authorization: `Bearer ${this.fakturoid.$auth.oauth_access_token}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    lokalise: {
      type: "app",
      app: "lokalise",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.lokalise.com/api2/projects`,
      headers: {
        Authorization: `Bearer ${this.lokalise.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})