update connector version add trigger contact

This commit is contained in:
Frédéric FRANCE 2021-06-05 10:09:44 +02:00
parent e79be6f487
commit 69d70d5ea8
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "dolibarr", "name": "dolibarr",
"version": "1.13.0", "version": "1.14.0",
"description": "An app for connecting Dolibarr to the Zapier platform.", "description": "An app for connecting Dolibarr to the Zapier platform.",
"repository": "Dolibarr/dolibarr", "repository": "Dolibarr/dolibarr",
"homepage": "https://www.dolibarr.org/", "homepage": "https://www.dolibarr.org/",
@ -11,7 +11,7 @@
"test": "mocha --recursive" "test": "mocha --recursive"
}, },
"engines": { "engines": {
"node": "8.10.0", "node": "14.0.0",
"npm": ">=5.6.0" "npm": ">=5.6.0"
}, },
"dependencies": { "dependencies": {

View File

@ -52,6 +52,9 @@ const getContact = (z, bundle) => {
zip: bundle.cleanedRequest.zip, zip: bundle.cleanedRequest.zip,
town: bundle.cleanedRequest.town, town: bundle.cleanedRequest.town,
email: bundle.cleanedRequest.email, email: bundle.cleanedRequest.email,
phone_pro: bundle.cleanedRequest.phone_pro,
phone_perso: bundle.cleanedRequest.phone_perso,
phone_mobile: bundle.cleanedRequest.phone_mobile,
authorId: bundle.cleanedRequest.authorId, authorId: bundle.cleanedRequest.authorId,
createdAt: bundle.cleanedRequest.createdAt, createdAt: bundle.cleanedRequest.createdAt,
action: bundle.cleanedRequest.action action: bundle.cleanedRequest.action
@ -158,6 +161,9 @@ module.exports = {
{key: 'createdAt', label: 'Created At'}, {key: 'createdAt', label: 'Created At'},
{key: 'lastname', label: 'Lastname'}, {key: 'lastname', label: 'Lastname'},
{key: 'firstname', label: 'Firstname'}, {key: 'firstname', label: 'Firstname'},
{key: 'phone', label: 'Phone pro'},
{key: 'phone_perso', label: 'Phone perso'},
{key: 'phone_mobile', label: 'Phone mobile'},
{key: 'authorId', type: "integer", label: 'Author ID'}, {key: 'authorId', type: "integer", label: 'Author ID'},
{key: 'action', label: 'Action'} {key: 'action', label: 'Action'}
] ]