-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
28 lines (24 loc) · 1.01 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
const authentication = require('./authentication');
const createEmployeeCreate = require('./creates/create_employee.js');
const findEmployeeSearch = require('./searches/find_employee.js');
const getDepartmentsTrigger = require('./triggers/get_departments.js');
const getLegalEntitiesTrigger = require('./triggers/get_legal_entities.js');
const getPaygroupsTrigger = require('./triggers/get_paygroups.js');
const getWorkLocationsTrigger = require('./triggers/get_work_locations.js');
module.exports = {
version: require('./package.json').version,
platformVersion: require('zapier-platform-core').version,
searches: {
[findEmployeeSearch.key]: findEmployeeSearch
},
creates: {
[createEmployeeCreate.key]: createEmployeeCreate,
},
triggers: {
[getDepartmentsTrigger.key]: getDepartmentsTrigger,
[getLegalEntitiesTrigger.key]: getLegalEntitiesTrigger,
[getPaygroupsTrigger.key]: getPaygroupsTrigger,
[getWorkLocationsTrigger.key]: getWorkLocationsTrigger,
},
authentication: authentication,
};