forked from artes-dev/auth0-zapier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
28 lines (27 loc) · 963 Bytes
/
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 createUserCreate = require('./creates/create_user.js');
const getPasswordChangeTicketCreate = require('./creates/get_password_change_ticket.js');
const updateUserCreate = require('./creates/update_user.js');
const findUserSearch = require('./searches/find_user.js');
module.exports = {
version: require('./package.json').version,
platformVersion: require('zapier-platform-core').version,
authentication: authentication,
creates: {
[createUserCreate.key]: createUserCreate,
[getPasswordChangeTicketCreate.key]: getPasswordChangeTicketCreate,
[updateUserCreate.key]: updateUserCreate,
},
searches: { [findUserSearch.key]: findUserSearch },
searchOrCreates: {
find_user: {
key: 'find_user',
display: {
label: 'Find or Create User',
description: 'Find a User in Auth0',
},
search: 'find_user',
create: 'create_user',
},
},
};