-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: record to audience handling (#2813)
- Loading branch information
Showing
8 changed files
with
3,983 additions
and
354 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
src/v0/destinations/marketo_static_list/testData/constants.js
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,51 @@ | ||
const EXTERNAL_ID = 'marketoStaticListId'; | ||
const TOKEN = 'Bearer access_token_success'; | ||
const CONTENT_TYPE = 'application/json'; | ||
const DEST_OBJECT = { | ||
ID: '1zwa1wKshSt81YksKmUdJnr4IOK', | ||
Name: 'test_marketo_rc', | ||
DestinationDefinition: { | ||
ID: '1iVQvTRMsPPyJzwol0ifH93QTQ6', | ||
Name: 'MARKETO', | ||
DisplayName: 'Marketo', | ||
transformAt: 'processor', | ||
transformAtV1: 'processor', | ||
}, | ||
Config: { | ||
clientId: 'marketo_client_id_success', | ||
clientSecret: 'marketo_client_secret_success', | ||
accountId: 'marketo_acct_id_success', | ||
staticListId: 1122, | ||
}, | ||
Enabled: true, | ||
Transformations: [], | ||
IsProcessorEnabled: true, | ||
}; | ||
const DEST_DEFINITION = { | ||
ID: '1iVQvTRMsPPyJzwol0ifH93QTQ6', | ||
Name: 'MARKETO', | ||
DisplayName: 'Marketo', | ||
transformAt: 'processor', | ||
transformAtV1: 'processor', | ||
}; | ||
const MESSAGE_SOURCES_CONTEXT = { | ||
job_id: '2VsZs4hyPpq7f1p8igrpmHsibHl', | ||
job_run_id: 'ck99nbd2kqiljdihhkh0', | ||
task_run_id: 'ck99nbd2kqiljdihhkhg', | ||
}; | ||
const DEST_CONFIG = { | ||
clientId: 'marketo_client_id_success', | ||
clientSecret: 'marketo_client_secret_success', | ||
accountId: 'marketo_acct_id_success', | ||
staticListId: 1234, | ||
}; | ||
|
||
module.exports = { | ||
EXTERNAL_ID, | ||
TOKEN, | ||
CONTENT_TYPE, | ||
DEST_OBJECT, | ||
DEST_DEFINITION, | ||
MESSAGE_SOURCES_CONTEXT, | ||
DEST_CONFIG, | ||
}; |
Oops, something went wrong.