-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(destination): onboard marketo static list (#1558)
* feat: onboarding marketo static list destination * feat: added proxy test cases * Update v0/destinations/marketo_static_list/transform.js Co-authored-by: Sudip Paul <[email protected]> * fix: addressed comments * fix: addressed comments+1 * Update index.js * Update index.js * fix: simplified processRouterDest and comments resolve * fix: marketo util code refactor to accomodate marketo static list * fix: event object destructuring at a single level Co-authored-by: Anant <[email protected]> Co-authored-by: Sudip Paul <[email protected]>
- Loading branch information
1 parent
eb198dd
commit db73de9
Showing
22 changed files
with
4,612 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=1&id=2&id=3": { | ||
"data": { | ||
"requestId": "68d8#1846058ee27", | ||
"success": false, | ||
"errors": [ | ||
{ | ||
"code": "601", | ||
"message": "Access token invalid" | ||
} | ||
] | ||
}, | ||
"status": 200 | ||
}, | ||
"https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=1&id=2": { | ||
"data": { | ||
"requestId": "12d3c#1846057dce2", | ||
"result": [ | ||
{ | ||
"id": 1, | ||
"status": "added" | ||
}, | ||
{ | ||
"id": 2, | ||
"status": "skipped", | ||
"reasons": [ | ||
{ | ||
"code": "1004", | ||
"message": "Lead not found" | ||
} | ||
] | ||
} | ||
], | ||
"success": true | ||
}, | ||
"status": 200 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.