chore: update action and trigger names

This commit is contained in:
Rıdvan Akca
2023-06-01 14:27:44 +03:00
committed by Ali BARIN
parent b43490dd76
commit 1ac423ba56
28 changed files with 94 additions and 89 deletions

View File

@@ -1,12 +1,13 @@
import defineTrigger from "../../../../helpers/define-trigger";
import getBalanceTransactions from "./get-balance-transactions";
import defineTrigger from '../../../../helpers/define-trigger';
import getBalanceTransactions from './get-balance-transactions';
export default defineTrigger({
name: 'New Balance Transactions',
name: 'New balance transactions',
key: 'newBalanceTransactions',
description: 'Triggers when a new transaction is processed (refund, payout, adjustment, ...)',
description:
'Triggers when a new transaction is processed (refund, payout, adjustment, ...)',
pollInterval: 15,
async run($) {
await getBalanceTransactions($)
}
})
await getBalanceTransactions($);
},
});

View File

@@ -1,12 +1,13 @@
import defineTrigger from "../../../../helpers/define-trigger";
import getPayouts from "./get-payouts";
import defineTrigger from '../../../../helpers/define-trigger';
import getPayouts from './get-payouts';
export default defineTrigger({
name: 'New Payouts',
name: 'New payouts',
key: 'newPayouts',
description: 'Triggers when a payout (Stripe <-> Bank account) has been updated',
description:
'Triggers when a payout (Stripe <-> Bank account) has been updated',
pollInterval: 15,
async run($) {
await getPayouts($)
}
})
await getPayouts($);
},
});