-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
19 lines (18 loc) · 787 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const authentication = require('./authentication');
const chargeTrigger = require('./triggers/charge.js');
const createChargeCreate = require('./creates/create_charge.js');
const deleteCreate = require('./creates/delete.js');
const createCustomerCreate = require('./creates/create_customer.js');
const chargeRefundCreate = require('./creates/charge_refund.js');
module.exports = {
version: require('./package.json').version,
platformVersion: require('zapier-platform-core').version,
authentication: authentication,
triggers: { [chargeTrigger.key]: chargeTrigger },
creates: {
[createChargeCreate.key]: createChargeCreate,
[deleteCreate.key]: deleteCreate,
[createCustomerCreate.key]: createCustomerCreate,
[chargeRefundCreate.key]: chargeRefundCreate,
},
};