Skip to content

Commit

Permalink
fix: record to audience handling (#2813)
Browse files Browse the repository at this point in the history
  • Loading branch information
utsabc authored Nov 22, 2023
1 parent 761a1f8 commit 996dcc8
Show file tree
Hide file tree
Showing 8 changed files with 3,983 additions and 354 deletions.
51 changes: 51 additions & 0 deletions src/v0/destinations/marketo_static_list/testData/constants.js
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,
};
Loading

0 comments on commit 996dcc8

Please sign in to comment.