Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webmecanik Zapier OAuth2 branded version #2

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
27297b4
Oauth2 for webmecanik
kuzmany Jan 27, 2020
1454730
Add base url to connectionLabel
kuzmany Jan 28, 2020
f49d595
Add help text to clientId and clientSecret
kuzmany Jan 28, 2020
2a4fbc4
Unit test reworked
kuzmany Jan 28, 2020
f452472
Revert back results.should.not.be.empty()
kuzmany Jan 29, 2020
730d769
Add refresh_token to refreshAccessToken method
kuzmany Feb 14, 2020
290bfbd
Rewrite refreshAccessToken
kuzmany Feb 14, 2020
dcbc8dd
Improve comments
kuzmany Feb 14, 2020
8da4294
Change test hook
kuzmany Feb 14, 2020
a8c2985
add refresh_token to store procedure
kuzmany Feb 14, 2020
dcbf17e
Update README.md
kuzmany Feb 14, 2020
6897a80
auth fix again
kuzmany Feb 14, 2020
9b600e1
Bump version to 3.0.0
kuzmany Feb 24, 2020
794052a
test: fails auth on invalid url
kuzmany Mar 26, 2020
76aec60
Fix issue based on validation of project
kuzmany May 1, 2020
7014468
Update .gitignore
kuzmany May 1, 2020
4d20b99
Add docs and Webmecanik Automation branding
kuzmany May 1, 2020
f83fd43
Custom branding
kuzmany May 1, 2020
d113103
Bump to version 1.0.0
kuzmany May 1, 2020
8480186
Add support for segmentChanged
kuzmany Oct 26, 2021
1009715
Fix Abstract import
kuzmany Oct 25, 2021
171de10
Bump to version 1.1.0
kuzmany Dec 14, 2021
8a912cd
Bump to version 1.1.2 - fix segment change load contact custom fields
kuzmany Mar 21, 2023
30ff44b
Increase limit for tags to 500
kuzmany May 3, 2023
191466c
1.1.3
kuzmany May 3, 2023
8435ead
Updated contact.js to handle datetime fields in a more consistent man…
kuzmany Mar 11, 2024
fa117fe
Updated version to 1.1.5 and fixed segmentChanged.js to properly acce…
kuzmany Mar 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated contact.js to handle datetime fields in a more consistent man…
…ner and bumped version to 1.1.4 in package.json.
kuzmany committed Mar 11, 2024
commit 8435ead26104c56b9231bb5091b86e2636ca2a36
9 changes: 7 additions & 2 deletions entities/contact.js
Original file line number Diff line number Diff line change
@@ -41,8 +41,13 @@ Contact = function(z, bundle) {

// The API response has also 'all' fields which are in different format.
if (field && typeof field.alias !== 'undefined') {
contact[field.alias] = field.value;
}
if (field.type === 'datetime' && field.value) {
const dateTime = new Date(field.value);
contact[field.alias] = dateTime.toISOString();
} else {
contact[field.alias] = field.value;
}
}
}
}

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "automation-zapier",
"version": "1.1.3",
"version": "1.1.4",
"description": "An app to integrate a Webmecanik Automation instance with Zapier",
"repository": "webmecanik/automation-zapier",
"homepage": "https://github.com/webmecanik/automation-zapier",