with Storeganise and Turso?
Adds a payment to the targeted invoice. See the documentation
Creates a new database in a group for the organization or user. See the documentation
Marks the selected invoice as paid in Storeganise. See the documentation
Returns a list of databases belonging to the organization or user. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
storeganise: {
type: "app",
app: "storeganise",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.storeganise.$auth.subdomain}.storeganise.com/api/v1/sites`,
headers: {
"Authorization": `ApiKey ${this.storeganise.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
turso: {
type: "app",
app: "turso",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.turso.tech/v1/organizations`,
headers: {
Authorization: `Bearer ${this.turso.$auth.api_token}`,
},
})
},
})