28 lines
883 B
JavaScript
28 lines
883 B
JavaScript
const authentication = require('./authentication');
|
|
const addDocument = require('./creates/add_document');
|
|
const refreshDocument = require('./creates/refresh_document'); // Add this line
|
|
|
|
module.exports = {
|
|
// This is just shorthand to reference the installed dependencies you have.
|
|
// Zapier will need to know these before we can upload.
|
|
version: require('./package.json').version,
|
|
platformVersion: require('zapier-platform-core').version,
|
|
|
|
// Register the authentication
|
|
authentication: authentication,
|
|
|
|
// If you want your trigger to show up, you better include it here!
|
|
triggers: {},
|
|
|
|
// If you want your searches to show up, you better include it here!
|
|
searches: {},
|
|
|
|
// If you want your creates to show up, you better include it here!
|
|
creates: {
|
|
[addDocument.key]: addDocument,
|
|
[refreshDocument.key]: refreshDocument,
|
|
},
|
|
|
|
resources: {},
|
|
};
|